/*layout*/
@charset "utf-8";
html{ font-size: 3.7vw; }

@media screen and (min-width: 600px) {
  html { font-size: 16px; }
}

.contents-width-m { width: 90%; max-width: 1200px;  margin: 0 auto; }
.contents-width { width: 90%; max-width: 1000px;  margin: 0 auto; }
.contents-width-s { width: 90%; max-width: 960px;  margin: 0 auto; }


.conts-section { padding: 80px 0; }
.conts-section-t { padding-top: 80px; }

@media screen and (max-width: 900px) {
  .conts-section { padding: 50px 0; }
  .conts-section-t { padding-top: 50px; }
}

.header { position: absolute; top: 0; left: 0; right: 0; z-index: 99; color: #FFF; padding: 2rem; }
.header .sitename { font-size: 1.3rem; font-family: 'Noto Serif JP', serif; }
.header-top { display: flex; justify-content: space-between; align-items: center; }

.g-navi { display: flex; align-items: center; }
.g-navi > li + li { margin-left: 2em;  }
.g-navi .head-contact { background: #FFF; display: flex; align-items: center; color: #0C83D5; border-radius: 2em; padding: .7em 1.5em; font-size: .8375rem; font-weight: bold; box-shadow: 10px 10px 20px rgba(32, 97, 152, 0.18); }
.g-navi .head-contact .icon { margin-left: .5em;}

.btn-hamburger { display: none ;}
@media screen and (max-width: 1000px) {
  .header .sitename { font-size: 1.1rem; }
  .g-navi  { font-size: .9rem; }
  .g-navi .head-contact { font-size: .75rem; }
}
@media screen and (max-width: 900px) {
  .header { padding: 1rem; }
  .btn-hamburger { position: fixed; top: 0; right: 0; display: block; border: none; width: 4rem; height: 4rem; display: block; z-index: 999; background: #2dc2ff; white-space: nowrap; overflow: hidden; text-indent: 200%; }
  .btn-hamburger::before,
  .btn-hamburger::after { 
    content: ''; width: 2rem; height: 1px; background: #FFF; display: block; position: absolute; inset: 0; margin: auto; transition: transform .5s; 
  }
  .btn-hamburger::before { transform: translateY(-8px); box-shadow: 0 8px 0 #FFF; }
  .btn-hamburger::after{ transform: translateY(8px); }
  
  .btn-hamburger.open::before { transform: rotate(45deg); box-shadow: none; }
  .btn-hamburger.open::after { transform: rotate(-45deg); }
  
  
  .g-navi  { position: fixed; right: 0; top: 0; width: 70%; margin: auto; background: #FFF; color: #333; display: block;  padding: 10em 5% 4em; z-index: 998; height: 100%; opacity: 0; transition: opacity .3s, transform .3s; pointer-events: none; transform: translateX(100%); text-align: center; font-size: 1rem; }
  .g-navi > li + li { margin-left: 0; }
  .g-navi > li { margin-bottom: 1em; font-weight: bold; }
  .g-navi .head-contact { background: linear-gradient(to right, #3CCBFF, #0067CE); color: #FFF; text-align: center; font-size: 1rem; justify-content: center; max-width: 200px; margin: 0 auto; }
  .g-navi .head-contact .icon { filter: brightness(5); }
  
  .header.open .g-navi { opacity: 1; pointer-events: none; transform: translateX(0); }
}



.foot-contact { background: url("../img/common/bg-contact.jpg") no-repeat center center / cover; }

.contact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-list .item { background: #FFF; padding: 2rem ; }

.contact-list .line .qr { float: right; width: 30%; }

.contact-list .title { display: grid; align-items: center; grid-template-columns: 60px minmax(0, 1fr); gap: 1rem; margin-bottom: 1em; }
.contact-list .title .text { font-size: 1.5rem; font-weight: bold; }
.contact-list .title .text .recommend { font-family: 'Noto Serif JP', serif; font-weight: normal; font-size: .6em; display: block; font-weight: normal; width: fit-content; padding: .2em 1em; background: #EB8254; color: #FFF; border-radius: 1.5em; }
.contact-list .title .text .sub { font-size: .6em; display: block; font-weight: normal; }


.contact-list .btn { width: 100%; border-radius: 2em; display: block; text-align: center; padding: .5em ; color: #FFF; margin-top: 1em;  }
.contact-list .btn.line { background: #05C654; }
.contact-list .btn.form { background: linear-gradient(to right, #39C5FC, #0169CF); }

.contact-list .telnum { text-align: center; font-size: 2rem; color: #A3CE3F; font-weight: bold; }
.contact-list .telnum span { display: block; font-size: .75rem; color: #222222; font-weight: normal; }

@media screen and (max-width: 1200px) {
  .contact-list .item { padding: 1.5rem; }
  .contact-list .title .text { font-size: 1.2rem;}
}
@media screen and (max-width: 900px) {
  .contact-list { grid-template-columns: 1fr; }
}

.foot-sns { padding: 30px 0; display: flex; justify-content: center; }
.foot-sns > li + li { margin-left: 5px; }

.footer-top { display: flex; justify-content: space-between; }
.footer-top .sitename { font-size: 1.25rem; font-family: 'Noto Serif JP', serif; }

.footer{ padding-bottom: 80px; }
.foot-navi { display: flex; }
.foot-navi > li + li { margin-left: 2em; }

.foot-subnavi { display: flex; align-items: center; justify-content: center; font-size: .8375rem; margin: 2em 0; color: #777777; }
.foot-subnavi > li + li { margin-left: 2em;  }
.copyright{ font-size: .75rem; text-align: center; display: block; color: #333; }

@media screen and (max-width: 900px) {
  .footer-top  { display: block; text-align: center; }
  .footer-top .sitename { margin-bottom: 1em; }
  .foot-navi { justify-content: center; flex-wrap: wrap; font-size: .9rem;}
  .foot-navi > li + li { margin-left: 0; }
  .foot-navi a { display: block; padding: .5em 1em; }
 
  .foot-subnavi { flex-wrap: wrap; font-size: .85rem; }
  .foot-subnavi > li { margin-bottom: 1em;}
}
