/*
Theme Name:   ベーステーマ
Version:    1.0
*/

/* 変数 */
:root {
  --white: #fff;
  --black: #333;
  --gray: #999;
  --gray-light: #ebebeb;
  --text-color: #000;
  --main-color: #003f7e;
  --light-color:#5397d4;
  --diff-color: #668cb2;
  --sep-color: #ccd9e5;
  --hover-color:#ec6d00;
  --header-height-pc:106px;
  --header-height-sp:72px;
}

/*= reset =*/
@charset "UTF-8";
html {
	font-size: 62.5%;  /* 10px */
  @media screen and (min-width:1024px) {
    font-size: 15px;
  }
	margin:0;
	padding:0;
	border:0;
	outline:0;
	vertical-align:baseline;
	background:transparent;
	box-sizing:border-box;
	line-height:1;
}
body, div, span, object, iframe, main,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin:0;
	padding:0;
	border:0;
	outline:0;
	background:transparent;
	box-sizing:border-box;
	font-size: 1rem;
  font-weight: normal;
	line-height:1;
  letter-spacing: .05rem;
  font-style:normal;
  @media screen and (max-width:499px) {
    font-size: 1.4rem; 
  }
  @media screen and (min-width:500px){
    font-size: 1.6rem; 
  }
  @media screen and (min-width:1024px){
    font-size: 1rem;
  }
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,main,section { 
	display:block;
}
p {
	text-align: justify;
}
img {
	vertical-align:bottom;
}
ul,ol,li {
	list-style:none;
	box-sizing: border-box;
}
blockquote, q {
	quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content:'';
	content:none;
}
a {
	margin:0;
	padding:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
	text-decoration:none;
	color: #000000;
	box-sizing: border-box;
}
ins {
	background-color:#ff9;
	color:#000;
	text-decoration:none;
}
mark {
	background-color:#ff9;
	color:#000; 
	font-style:italic;
	font-weight:bold;
}
del {
	text-decoration: line-through;
}
abbr[title], dfn[title] {
	border-bottom:1px dotted;
	cursor:help;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
hr {
	display:block;
	height:1px;
	border:0;   
	border-top:1px solid var(--sep-color);
	margin:0;
	padding:0;
}
input, select {
	vertical-align:middle;
}
.cf {
	zoom: 1;
}
.cf:before, .cf:after {
	content: "";
	display: table;
}
.cf:after {
	clear: both;
}
sup {
	vertical-align: text-top;
	font-size: 50%;
}
em {
	font-style: normal;
}
a[href^="tel:"] {
	pointer-events: none;
}
input, button, textarea, select {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
	outline: none;
	box-sizing: border-box;
}
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

::placeholder {
  color: var(--gray);
}

@media screen and (max-width:767px) {
	a[href^="tel:"] {
		pointer-events: auto;
	}
}

/*= 全体設定 =*/
body {
  font-family: 'Noto Sans JP',"游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  font-weight: 400;
  background: var(--white);
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
input,button,select,textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}
textarea {
  resize: vertical;
}
input[type='checkbox'],input[type='radio'] {
  display: none;
}
input[type='submit'],  input[type='button'],
label,button,select {
  cursor: pointer;
}
select::-ms-expand {
  display: none;
}

.large_only,
.tablet_only,
.mid_only {
  display: none;
}
@media screen and (min-width:375px) {
  .sm_only {
    display: none;
  }
}
@media screen and (min-width:414px) {
  .min_only {
    display: none;
  }
  .mid_only {
    display: inline-block;
  }
}
@media screen and (min-width:768px) {
  .mid_hide {
    display: none;
  }
}
@media screen and (min-width:768px) and (max-width:1023px) {
  .tablet_hide {
    display: none;
  }
  .tablet_only {
    display: inline-block;
  }
}
@media screen and (max-width:1023px) {
  .pc_only {
    display: none;
  }
}
@media screen and (min-width:1024px) {
  .sp_only {
    display: none;
  }
}
@media screen and (min-width:1110px) {
  .large_only {
    display: inline-block;
  }
}

.show_tiny,
.show_small,
.show_middle,
.show_large {
  display: none;
}

@media screen and (max-width:413px) {
  .show_tiny {
    display: inline-block;
  }
}
@media screen and (min-width:414px) and (max-width:767px) {
  .show_small {
    display: inline-block;
  }
}
@media screen and (min-width:768px) and (max-width:1023px) {
  .show_middle {
    display: inline-block;
  }
}
@media screen and (min-width:1024px){
  .show_large {
    display: inline-block;
  }
}

img {
  max-width:100%;
  height: auto;
  vertical-align:bottom;
}
a {
  text-decoration:none;
  color: var(--text-color);
  opacity: 1;
  transition: color .25s ease, opacity .25s ease, background .25s ease;
}
a:hover {
  opacity: .5;
}
.section-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: content-box;
  @media screen and (max-width:1023px) {
    padding: 0 2rem;
  }
}
.grid-box {
  @media screen and (min-width:1024px) {
    display: grid;
    grid-template-columns: 1fr 640px;
  }
}
.button-wrapper .button{
  padding: 1rem calc(2rem + 24px);
  border-radius: 9999px;
  position: relative;
  display: inline-block;
  background: var(--main-color);
  color: var(--white);
}
.button-wrapper .button:before,
.button-wrapper .submit-wrapper:before{
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 6px;
  background:var(--white);
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  right: 24px;
  z-index: 1;
  @media screen and (min-width:1024px) {
    width: 8px;
    height: 8px;
  }
}
.button-wrapper .button:hover{
  opacity: 1;
  background: var(--hover-color);
}

/*== ヘッダー ==*/
#site-header {
  height: var(--header-height-sp);
  padding: 0;
  margin: 0;
  z-index: 101;
  position: fixed;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr var(--header-height-sp);
  align-items: center;
  transition:background .5s ease,box-shadow .5s ease;
  #site-logo {
    min-height: 100%;
    height: 100%;
    a {
      display: block;
      height: 100%;
    }
    img {
      height: 100%;
      width: auto;
      object-fit: contain;
      display: block;
    }
  }
  .menu_btn_wrapper {
    text-align: center;
    height: 100%;
    width: var(--header-height-sp);
    padding: 2rem;
    cursor: pointer;
    z-index: 50;
    position: relative;
    background: var(--main-color);
    &::before,&::after{
      content: "";
      height: 2px;
      width: calc(100% - 4rem);
      position: absolute;
      left: 0;
      right: 0;
      margin: auto;
      background: var(--white);
      transition: all .25s ease;
      transform-origin: center;
    }
    &::before {
      top: 2rem;
    }
    &::after {
      top: 3rem;
    }
  }
  .menu_btn {
    color:var(--white);
    position: absolute;
    left: 0;
    right: 0;
    top: 4rem;
    text-transform: uppercase;
    font-family: "Oswald";
    letter-spacing: .2rem;
    font-weight: 400;
  }
  .menu-item-link {
    font-family: 'Oswald';
    color: var(--main-color);
  }
  .menu-item-contact .menu-item-link{
    padding: 14px 50px;
    border-radius: 9999px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
  }
  .menu-item-contact .menu-item-link{
    background: var(--white);
    color:var(--main-color);
    font-weight: 300;
  }
  .menu-item-contact .menu-item-link:before{
    background:var(--main-color);
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 6px;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 17px;
  }
}
#site-header.scrolled {
  box-shadow: 0 0 5px rgba(0,0,0,0.25);
}

/*== ヘッダー：スマホメニュー表示 ==*/
@media screen and (max-width:1023px) {
  #site-header {
    .menu-item-link {
      color: var(--white);
      font-size: 2.4rem;
      padding: 2.4rem;
      display: inline-block;
      font-weight: 200;
    }
    .menu-item {
      text-align: center;
      border-bottom: 1px solid var(--diff-color);
    }
    .menu-item-link {
      width: 100%;
    }
    .menu-item-contact {
      border: none;
      margin: 3rem auto 1rem;
      max-width: 90%;
    }
    .menu-item-contact .menu-item-link {
      font-size: 2rem;
    }
    .global_menu_wrap {
      padding-top: 1px;
      background: var(--main-color);
      position: fixed;
      top: var(--header-height-sp);
      width: 100%;
      height: calc(100% - var(--header-height-sp));
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition:opacity .5s ease;
    }
    #header-menu {
      height: 100%;
      overflow-y: scroll;
      border-top: 1px solid var(--diff-color);
    }
  }
  #site-header.open {
    background: var(--white);
    .menu_btn_wrapper:before {
      transform:rotate(45deg);
      top: 2.5rem;
    }
    .menu_btn_wrapper:after {
      transform: rotate(-45deg);
      top: 2.5rem;
    }
    .global_menu_wrap {
      opacity: 1;
      pointer-events: all;
      visibility: visible;
    }
  }
}

/*== ヘッダー：PC表示 ==*/
@media screen and (min-width: 1024px){
  #site-header,#site-header.open {
    height: var(--header-height-pc);
    display: inline-flex;
    justify-content: space-between;
    align-items: flex-start;
    #site-logo {
      margin-left: 40px;
      img{
        height: var(--header-height-pc);
        width: auto;
      }
    }
    .menu_btn_wrapper {
      display:none;
    }
    .global_menu_wrap {
      opacity: 1;
      pointer-events: all;
      visibility: visible;
      position: static;
      height: auto;
      background: none;
      margin-right:30px;
      transition: none;
    }
    .menu ul,
    #header-menu {
      margin-top: 34px;
      .sub-menu {
        display: none;
      }
      & > .menu-item {
        display: inline-block;
        vertical-align: middle;
      }
      & > .menu-item .menu-item-link{
        font-weight: 400;
        padding: 8px 1vw;
        display: inline-block;
        position: relative;
        overflow: hidden;
      }
      & > .menu-item .menu-item-link:hover{
        opacity: 1;
      }
      & > .menu-item .menu-item-link::after {
        content: "";
        position: absolute;
        bottom: 0; 
        left: 0;
        transform: scaleX(0);
        width: 100%;
        height: 1px;
        background: currentColor;
        transition: transform .25s ease;
        transform-origin:right;
      }
      & > .menu-item .menu-item-link:hover::after {
        transform: scaleX(1);
        transform-origin:left;
      }
      .menu-item-contact {
        padding: 0 0 0 24px;
      }
      .menu-item-contact .menu-item-link{
        padding: 14px 50px;
      }
      .menu-item-contact .menu-item-link:before{
        background:var(--white);
      }
      .menu-item-contact .menu-item-link:after{
        display: none;
      }
      .menu-item-contact .menu-item-link:hover{
        opacity: .5;
      }
    }
  }
}

/*== 本文 ==*/
#body-wrapper {
  padding-top:56px;
  b, strong {
    font-weight: 700;
  }
  .section_inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px;
  }
  .section-body p {
    line-height: 2;
    margin-bottom: 2rem;
    &:last-child{
      margin-bottom: 0;
    }
  }
  .with_braces {
    font-size: inherit;
    margin-left: -1rem;
  }
  .with_braces_min {
    font-size: inherit;
    margin-left: -.5rem;
  }
  .with_braces_both {
    margin-right: -.5rem;
  }
  .section-header {
    padding: 1rem 0;
    line-height: 2;
  }
  .section-header p,
  .section-footer p{
    line-height: 1.8;
  }
  .grid-box .section-header{
    @media screen and (min-width:1024px) {
      padding-top: 0;
    }
  }
  .section-sep_img ,
  .section-sep_movie{
    margin-bottom: 10rem;
  }
  .section-sep_img img {
    object-fit: cover;
    width: 100%;
  }
}

/*== フッター ==*/
#site-footer,
#site-footer a{
  color:var(--white);
}
/* フッター - Contact */
#site-footer .section-contact {
  .grid-box {
    align-items: center;
  }
  padding: 5.3rem 0;
  background: var(--diff-color);
  .section-title_main {
    padding-bottom: 2rem;
    font-size: 4.42rem;
    font-family: "Oswald";
    font-weight: 200;
    letter-spacing: .5rem;
  }
  .section-body p{
    line-height: 2;
  }
  .button-wrapper {
    margin-top: 2.6rem;
  }
  .button-wrapper .button{
    padding: 1.4rem 5rem;
    background-color: var(--white);
    color: var(--main-color);
    font-weight: 500;
  }
  .button-wrapper .button:before{
    background: var(--main-color);
  }
  .button-wrapper .button:hover{
    color: var(--white);
    background: var(--main-color);
  }
  .button-wrapper .button:hover:before{
    background: var(--white);
  }
  @media screen and (max-width: 1023px){
    padding: 7.2rem 0 12rem;
    .section-header {
      margin-bottom: 5rem;
    }
    .section-title_main {
      font-size:6rem;
    }
    .section-inner{
      padding: 0 14%;
    }
    .button-wrapper {
      text-align: center;
      margin-top: 4rem;
    }
    .button-wrapper .button {
      width: 100%;
      padding: 1.75rem 2.25rem;
    }
  }
}
/*= フッター - サイト情報 =*/
#site-footer .footer-info {
  background: var(--main-color);
  .grid-box {
    padding:6rem 0 8rem;
    @media screen and (min-width: 1024px){
      display: inline-flex;
      justify-content: space-between;
      width: 100%;
    }
  }
  @media screen and (max-width: 1023px){
    .section-inner {
      padding: 6% 14%;
    }
  }
  /*== 企業情報 ==*/
  .footer-logo{
    margin-bottom: 2.4rem;
  }
  .footer-site-name {
    padding-top: 2.4rem;
    font-size: 1.2rem;
    @media screen and (max-width:1023px) {
      letter-spacing: .2rem;
    }
    @media screen and (min-width:1024px) {
      padding-top: 1.2rem;
      font-size: .8rem;
    }
  }
  address {
    font-style: normal;
    font-size: 1.2rem;
    line-height: 2;
    @media screen and (max-width:1023px) {
      letter-spacing: .12rem;
    }
    @media screen and (min-width:1024px) {
      font-size: .8rem;
      line-height: 1.8;
    }
  }
  .address-list .address-list-item {
    line-height: 1.4rem;
    display: inline-block;
    padding: 1rem .4rem 0 0;
  }
  .addres-list-label,.addres-list-num {
    line-height: 1;
    font-size: 1.2rem;
    @media screen and (max-width:1023px) {
      letter-spacing: .12rem;
    }
    @media screen and (min-width:1024px) {
      font-size: .8rem;
    }
  }
  /*== サイトマップ ==*/
  #footer-menu {
    @media screen and (min-width:414px) {
      display: grid;
      gap: 4rem 1.4rem;
      grid-auto-flow: column;
      grid-template-rows: repeat(auto-fill, auto); 
    }
    @media screen and (max-width:1023px) {
      margin-top: 6rem;
    }
    @media screen and (min-width:1024px) {
      gap: 2rem 5.3rem;
    }
  }
  #footer-menu > .menu-item {
    grid-column: 1;
    @media screen and (max-width:413px) {
      margin-bottom: 3rem;
    }
  }
  #footer-menu > .menu-item:nth-child(n+6){
    grid-column: 2;
  }
  .menu-item-link {
    letter-spacing: .1rem;
    font-weight: 500;
    @media screen and (max-width:768px) {
      font-weight: 400;
      font-size: 1.4rem;
    }
  }
  /*== 最下部 ==*/
  .footer-info-bottom {
    margin-bottom: 1.6rem;
    @media screen and (min-width:1024px) {
      width: 100%;
      display: inline-flex;
      justify-content: space-between;
    }
    #copyright,
    .footer-link-list,
    .footer-link-list .menu-item-link{
      font-size: 1.4rem;
      @media screen and (min-width:1024px) {
        font-size: .8rem;
      }
    }
    #copyright{
      text-align: center;
      @media screen and (min-width:1024px) {
        order: 1;
      }
    }
    .footer-link-list {
      @media screen and (max-width:1023px) {
        margin-bottom: 10rem;
      }
      @media screen and (min-width:1024px) {
        order: 2;
        text-align: right;
      }
    }
    .footer-link-list .menu-item{
      margin-bottom: 2rem;
      @media screen and (min-width:1024px) {
        padding-left: 2rem;
        display: inline-block;
      }
    }
  }
}