/* header/footer/contact */

html {
    font-size: 10px;
  }
body {
  margin: 0;
  background-color: #fff;
  color: #000000;
  font-family: '游明朝','Yu Mincho','YuMincho','Hiragino Mincho Pro',serif;
  font-optical-sizing: auto;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%; 
  word-wrap: break-word;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.spbr {
  display: none;
}
.sp-only {
  display: none;
}

h2 span,
h3 span,
h4 span {
  display: inline-block;
}
    
/*-- header --*/
.header {
  position: fixed;
  display: flex;
  width: 100%;
  height: 100px;
  top: 0;
  z-index: 99;
  background-color: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}
.header-inner {
  width: 100%;
  height: 100%;
  margin: 0;
  padding-left: clamp(20px, 9.375vw, 180px);
  display: flex;
  justify-content: space-between;
}
.header-left {
  width: clamp(120px, 13.54vw, 260px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
h1 {
  font-size: clamp(1rem, 0.8vw, 1.2rem);
  font-weight: 400;
  white-space: nowrap;
}
.header-logo img {
  width: 100%;
  margin-top: 5px;
}
.header-right {
  display: flex;
}
.header-nav {
  display: flex;
  align-items: center;
  margin-left: clamp(20px, 2vw, 40px);
  padding-right: clamp(20px, 3.43vw, 66px);
}
.header-nav-list {
  display: flex;
  column-gap: clamp(20px, 3.645vw, 70px);
  align-items: center;
  list-style: none;
}
.header-nav li {
  text-align: center;
  position: relative;
  }
.header-nav li > a:after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  height: 1px;
  width: 100%;
  background: #B5AA7A;
  transform: scaleX(0);
  transform-origin: left center;
  transition: width 0.3s ease 0s;
  }
.header-nav li > a:hover::after {
  transform: scaleX(1);
}
.header-nav li.current > a:after {
  transform: scaleX(1);
}
.header-nav li > a {
  position: relative;
  display: block;
  transition: all .3s;
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  }
.header-nav ul ul {
  display: block;
  }
.header-nav ul li {
  display: flex;
  align-items: center;
  height: 100%;
  }
.header-nav ul li.has-child::before {
  content:'';
  position: absolute;
  left: -7px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 2px solid #B5AA7A;
  border-right: 2px solid #B5AA7A;
  transform: rotate(135deg) translateY(calc(50% + 4px));
  }
/*下の階層を持っているulの指定*/
.header-nav li.has-child ul{
/*絶対配置で位置を指定*/
  position: absolute;
  left: 0;
  top: 30px;
  padding: 0;
  z-index: 4;
/*はじめは非表示*/
  visibility: hidden;
  opacity: 0;
/*アニメーション設定*/
  transition: all .3s;
  }
.header-nav li.has-child ul li {
  height: auto;
}
/*hoverしたら表示*/
.header-nav li.has-child:hover > ul,
.header-nav li.has-child ul li:hover > ul,
.header-nav li.has-child:active > ul,
.header-nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
  }
/*ナビゲーションaタグの形状*/
.header-nav li.has-child ul li a{
  color: #fff;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  width: 156px;
  padding: 14px 10px;
  border-bottom: solid 1px #B5AA7A;
  background: #918348;
}
.header-nav li.has-child ul li:last-child a{
  border-bottom: none;
  }
.header-nav li.has-child ul li a:hover,
.header-nav li.has-child ul li a:active{
  background: #b4a25a;
  }
.header-nav li.has-child ul li a:after {
  display: none;
}

.header-phone {
  display: flex;
  align-items: center;
}
.header-phone-inner {
  border-left: 1px solid #E6E0C6;
  padding: 0 25px;
  height: fit-content;
}
.header-phone-lead {
  font-size: 1.4rem;
  font-weight: 600;
}
.header-phone-num {
  width: clamp(220px, 20.5vw, 308px);
  margin-top: 9px;
}
.header-phone-worktime {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}


.header-request {
  width: clamp(160px, 13.33vw, 200px);
  height: 100%;
  background: #918348;
}
.header-request:hover {
  background: #b4a25a;
  transition: all 0.3s ease 0s;
}
.header-request a {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 9px;
  width: 100%;
  height: 100%;
}
.header-request img {
  width: 22px;
}
.header-request span {
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
}

.openbtn {
  position: relative;
  cursor: pointer;
  width: 100px;
  height: 100%;
  background: #ffffff;
  z-index: 9999;
  overflow: hidden;
  display: none;
}
.openbtn .openbtn-area{
  transition: all .4s;
}
.openbtn span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  border-radius: 2px;
  background: #505050;
  width: 32px;
}
.openbtn span:nth-of-type(1) {
  top:37px;	
}
.openbtn span:nth-of-type(2) {
  top:49px;
}
.openbtn span:nth-of-type(3) {
  top:61px;
}
.openbtn.active {
  background-color: #918348;
}
.openbtn.active .openbtn-area{
  transform: rotateX(360deg);
}
.openbtn.active span:nth-of-type(1) {
  transform: translate(-50%, 12px) rotate(45deg);
  background: #ffffff;
  
}
.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn.active span:nth-of-type(3){
  transform: translate(-50%, -12px) rotate(-45deg);
  background: #ffffff;
}


.g-nav {
  position: fixed;
  z-index: 999; 
  width: 100%;
  height: 100vh;
  background-color: #918348;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: none;
}
.g-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
}
.g-nav li {
  list-style: none;
  position: static;
  padding-top: 30px;
  }
.g-nav li a {
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  padding-left: 1em;
  }
.g-nav li.has-child ul li {
  position: relative;
  text-indent: 2em;
  }
.g-nav li.has-child ul li a::before {
  position: absolute;
  top: 50%;
  left: -2.5em;
  transform: translateY(-50%);
  content: '>';
  font-size: 1.8rem;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  }
.g-nav.panelactive {
  display: block;
  position:fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  }  
.g-nav.panelactive ul {
  opacity:1;
  }
.g-nav.panelactive ul li {
  position: relative;
  width: 100%;
  height: auto;
  white-space: nowrap;
  animation-name:gnaviAnime;
  animation-duration:1s;
  animation-delay:.1s;
  animation-fill-mode:forwards;
  opacity:0;
  display: block;
  }
  @keyframes gnaviAnime {
    0% {
    opacity: 0;
    }
    100% {
    opacity: 1;
    }
  }
.g-nav.panelactive li a {
  font-size: 1.8rem;
}

.g-nav.panelactive ul{
  display: flex;
}

#footer {
  width: 100%;
  background-color: #505050;
  color: #FFFFFF;
  .top {
    width: 100%;
    padding: 74px 20px 216px;
  }
  .wrapper {
    width: 100%;
    max-width: 1000px;
    margin: auto;
    display: flex;
    justify-content: space-between;
  }
  .footer-link {
    display: block;
    width: 100%;
    max-width: 346px;
  }
  .address,
  .phone,
  .time,
  .fax {
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin-top: 14px;
  }
  .address {
    margin-top: 26px;
  }
  .phone a {
    color: #ffffff;
  }
  .container.right {
    width: 100%;
    max-width: 496px;
    display: flex;
    justify-content: space-between;
  }
  .footer-lists {
    display: flex;
    flex-direction: column;
    row-gap: 26px;
    .lists01 {
      row-gap: 30px;
    }
    .child {
      margin-top: 26px;
    }
  }
  .footer-lists a {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #ffffff;
  }
  .footer-lists.child a::before {
    display: inline-block;
    content: '>';
    margin-right: 10px;
  }
  .bottom {
    width: 100%;
    padding: 23px 10px;
    border-top: 1px solid #6C6C6C;
  }
  .attention {
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    line-height: calc(20 / 12);
    color: #ffffff;
  }
  .link {
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    color: #ffffff;
  }
  .copyright,
  .copyright a {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    line-height: 1.3;
    color: #ffffff;
    text-align: center;
  }
  .copyright {
    margin-top: 65px;
  }
}

main {
  width: 100%;
  margin-top: 100px;
  background-image: url(../images/bg_main_01.png);
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 100% 287px;
}


.contact {
  width: 100%;
  padding: 80px 0;
  background-image: url(../images/bg_texture.png);
  background-repeat: repeat;
  background-size: contain;
  overflow: hidden;
  .wrapper {
    width: 100%;
    max-width: 1040px;
    margin: auto;
    padding: 0 20px;
  }
  .title {
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-align: center;
    width: fit-content;
    margin: auto;
    position: relative;
  }
  .title::after {
      position: absolute;
      bottom: -13px;
      left: 0;
      content: '';
      width: 100%;
      height: 2px;
      background-color: #B5AA7A;
  }
  .title::first-letter {
    color: #918348;
  }
  .content {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: calc(40 / 18);
    text-align: center;
    width: 100%;
    margin: 42px auto;
  }
  .contact-cards {
    width: 100%;
    display: flex;
    justify-content: center;
    column-gap: 30px;
  }
  .contact-card {
    width: calc((100% - 30px) / 2);
    max-width: 446px;
    background-color: #fff;
    border: 1px solid #27569D;
    position: relative;
    transition: all 0.3s ease 0s;
  }
  .contact-card::after {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    content: '';
    background-image: url(../images/contact-blue-arrow.svg);
    background-repeat: no-repeat;
    width: 14px;
    height: 24px;
  }
  .contact-card-link {
    display: block;
    width: 100%;
    height: 100%;
    padding: 40px 10px 33px 52px;
    color: #27569D;
  }
  .contact-card:hover {
    transform: translateY(-5px);
    background-color: #27569D;
    border: 1px solid #27569D;
  }
  .contact-card:hover .contact-card-link {
    color: #ffffff;
  }
  .contact-card:hover::after {
    background-image: url(../images/contact-white-arrow.svg);
  }
  .lead {
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    position: relative;
    padding-left: 33px;
  }
  .lead::before {
    position: absolute;
    content:'';
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 14px;
    height: 22px;
    background-image: url(../images/contact-phone-icon.png);
    background-repeat: no-repeat;
    background-size: contain;
  }
  .contact-card:hover .lead::before {
    background-image: url(../images/contact-phone-icon-white.png);
  }
  .lead.mail::before {
    width: 22px;
    height: 17px;
    background-image: url(../images/contact-mail-icon.png);
  }
  .contact-card:hover .lead.mail::before {
    background-image: url(../images/contact-mail-icon-white.png);
  }
  .phone-number {
    font-size: 4.2rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-top: 8px;
  }
  .time {
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    margin-top: 5px;
  }
  .reception {
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-top: 20px;
  }
}

/* -1499px
------------------------------ */
@media screen and (max-width:1499px) {
  .header-nav {
    display: none;
  }
  .openbtn {
    display: block;
  }  
}


/* -1000px
------------------------------ */
@media screen and (max-width:999px) {
  .header-phone {
    display: none;
  }
  .header-request {
    display: none;
  }
}

/* 320px-
------------------------------ */
@media screen and (max-width:767px) { 
  .spbr {
    display: block;
  }
  .sp-only {
    display: block;
  }
  .header {
    height: 68px;
  }
  .header-inner {
    width: 100%;
    padding-left: 20px;
  }  
  .header-logo img {
    width: 117px;
  }
  .openbtn {
    width: 68px;
    height: 100%;
  }
  .openbtn.active {
    position: fixed;
    top: 0;
    right: 0;
    width: 68px;
    height: 100%;
  }
  .openbtn span:nth-of-type(1) {
    top: 21px;
  }
  .openbtn span:nth-of-type(2) {
    top: 33px;
  }
  .openbtn span:nth-of-type(3) {
    top: 45px;
  }
  .g-nav li a {
    font-size: 1.4rem;
  }  
  .g-nav li.has-child ul li a::before {
    font-size: 1.4rem;
  }
  .g-nav.panelactive li a {
    font-size: 1.4rem;
  }  

  main {
    margin-top: 68px;
    background-size: 100% auto;
  }
  .contact {
    padding: 40px 0;
    .title {
      font-size: clamp(2rem, 2.86vw, 2.2rem);
    }
    .content {
      font-size: 1.8rem;
      font-weight: 400;
      letter-spacing: 0.05em;
      line-height: calc(40 / 18);
      text-align: center;
      width: 100%;
      margin: 42px auto;
    }
    .contact-cards {
      flex-direction: column;
      align-items: center;
      row-gap: 30px;
    }
    .contact-card {
      width: 100%;
      display: flex;
      flex-direction: column;
    }
    .contact-card-link {
      padding: clamp(30px, 5.21vw, 40px) 10px clamp(30px, 4.3vw, 33px) clamp(40px, 6.77vw, 52px);
    }
    .lead {
      font-size: clamp(1.6rem, 2.34vw, 1.8rem);
    }
    .phone-number {
      font-size: clamp(2.9rem, 5.47vw, 4.2rem);
    }
    .time {
      font-size: clamp(1.3rem, 1.82vw, 1.4rem);
    }
    .reception {
      font-size: clamp(2.8rem, 5.21vw, 4rem);
    }
  }
  #footer {
    .top {
      padding: 40px 20px 80px;
    }
    .wrapper {
      flex-direction: column;
    }
    .address,
    .phone,
    .time,
    .fax {
      font-size: clamp(1.5rem, 2.08vw, 1.6rem);
    }  
    .container.right {
      margin-top: 40px;
    }
    .footer-lists a {
      font-size: clamp(1.3rem, 1.82vw, 1.4rem);
    }
    .link {
      font-size: clamp(1.3rem, 1.82vw, 1.4rem);
      display: block;
      margin-top: 20px;
    }
    .copyright {
      margin-top: 65px;
    }
  }
}