/* ----------------------------------------
  Setting
-------------------------------------------*/
*, *::before, *::after{
  box-sizing: border-box;
}
html{
  scroll-behavior: smooth;
}
body,
h1,h2,h3,h4,h5,h6,
p,ul,ol,dl,dd,
figure{
  margin: 0;
}
ul,ol{
  list-style: none;
  padding: 0;
}
img{
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
table{
  border-collapse: collapse;
}
button,
input,
select,
textarea{
  font: inherit;
  color: inherit;
}
button{
  border: none;
  background: none;
  cursor: pointer;
}
address{
  font-style: normal;
}
a{
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
a:visited{
  color: inherit;
}
a,
a img{
  transition:
    color .15s ease-out,
    background-color .15s ease-out,
    opacity .15s ease-out,
    transform .15s ease-out;
}
a:hover img{
  opacity: var(--hover);
}
svg{
  display:block;
}

/* YouTube埋め込み用 */
iframe{
  max-width: 100%;
}

/* 上付き文字 */
sup{
  vertical-align: super;
  font-size: .75em;
  line-height: 0;
}

.pc{ display: block; }
.sp{ display: none; }

@media (max-width: 650px){
  .pc{ display: none; }
  .sp{ display: block; }
}

/* ----------------------------------------
  Common
-------------------------------------------*/

:root{
  --hover: 0.6;
  --normal-font-size: clamp(13px,2.0vw,17px);
  --large-font-size: clamp(15px,2.308vw,19px);
  --font-en: "Josefin Sans",sans-serif;
  --page-width: min(86%,1100px);
  --page-1000: min(92%,1000px);
  --sp-width: 96%;
  --sec-margin: min(12%,100px);
  --main-color: #009dda;
  --main-color-rgb: 0,157,218;
  --black: #222222;
  --black-rgb: 34,34,34;
  --beige: #fdf4ec;
  --beige2: #e9dcce;
  --gray: #625c57;
  --gray-rgb: 98,92,87;
  --orange: #dc813e;
  --orange-rgb: 220,129,62;
}

html,body{
  height: 100% !important;
}
html{
  font-size: 17px;
  font-feature-settings: 'palt';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  overflow-y: scroll;
}
/* ページ内リンク用（固定ヘッダー120px） */
html{
  scroll-behavior: smooth;
}
:target{
  scroll-margin-top: min(90px,140px);
}
body{
  position: relative;
  /*  overflow-x: hidden; */
  color: var(--black);
  background-color: #fff;
  font-family: "Zen Kaku Gothic New","Josefin Sans",sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  text-align: center;
  word-wrap: break-word;
  font-size: var(--normal-font-size);
  line-height: 2;
  letter-spacing: .03em;
}
#wrapper{
  position: relative;
  overflow: hidden;
  width: 100%;
}
@media (max-width: 650px){
  
  body{
    line-height: 1.75;
  }
}

/* contents
-------------------------------------------*/
#main{
  position: relative;
  width: 100%;
  margin-top: calc(120px + 4rem);/* ヘッダー + white分 */
  background-color: var(--beige);
}
.h2_tit{
  display: flex;
  align-items: center;
  flex-direction: column;
  row-gap: 1rem;
  padding-bottom: 4rem;
}
.h2_tit img{
  width: auto;
  height: clamp(24px,5vw,42px);
}
.h2_tit h2{
  font-size: var(--large-font-size);
  letter-spacing: .075em;
  font-weight: 500;
}

@media (max-width: 650px){
  #main{
    margin-top: calc(60px + 4rem);/* ヘッダー + white分 */
  }
  .h2_tit{
    row-gap: .5rem;
    padding-bottom: 2.5rem;
  }
}

/* リンクボタン */
.morebtn a{
  display: inline-flex;
  align-items: center;
  gap: 30px;
  text-decoration: none;
  letter-spacing: .1em;
  font-weight: bold;
}
.morebtn a span{
  transition: transform .2s ease;
}
.morebtn a:hover span{
  transform: translateX(2px);
}
/* 矢印 */
.morebtn a::after{
  content: "";
  width: 38px;
  height: 38px;
  background: url(../img/cmn/ic_morelink.svg) no-repeat center / contain;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.morebtn a:hover::after{
  transform: scale(1.2);
}

/* フェード */
.fade{
  opacity: 0;
  transform: translateY(16px);/* 下にずれる幅 */
  transition: opacity 1.025s, transform 1.0s;
}
.fade.active{
  opacity: 1;
  transform: translateY(0px);
}
.fade.delay1{ transition-delay: .1s; }
.fade.delay2{ transition-delay: .2s; }
.fade.delay3{ transition-delay: .3s; }
.fade.delay4{ transition-delay: .4s; }
.fade.delay5{ transition-delay: .5s; }

/* スクロールテキスト */

.autoscroll{
  position: absolute;
  left: 0;
  bottom: -3rem;
  z-index: 10;
  overflow: hidden;
  display: flex;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.autoscroll__loop{
  display: flex;
  gap: 60px;
  flex-shrink: 0;
  animation: loopAnimation 35s linear infinite;
}
@keyframes loopAnimation{
  from{
    transform: translateX(0);
  }
  to{
    transform: translateX(-50%);
  }
}
.autoscroll__loop li{
  flex-shrink: 0;
}
.autoscroll__loop img{
  height: clamp(50px, 8vw, 64px);
  width: auto;
}

/* gallery */

.galleries{
  display: flex;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-bottom: calc(var(--sec-margin)*2);
}
.gallery{
  display:flex;
  overflow:hidden;
  gap: 0;
}
.gallery ul{
  display: flex;
  gap: clamp(22px,3.5vw,3rem);
  width: max-content;
  flex-shrink: 0;
  animation: scroll-slide 45s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.gallery ul li{
  width: 220px;
}
.gallery ul li:nth-child(even){
  margin-top: 3rem;
}
.gallery ul img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 26px;
}
@keyframes scroll-slide{
  from{
    transform: translateX(0);
  }
  to{
    transform: translateX(-50%);
  }
}

@media (max-width: 650px){
  
  .gallery ul li{
    width: 140px;
  }
  .gallery ul img{
    border-radius: 18px;
  }
}


/* ----------------------------------------
  Main Header
-------------------------------------------*/

.g_nav{
  z-index: 100;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background-color: #fff;
}
.g_nav__in{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  font-weight: bold;
  white-space: nowrap;
}
/* ロゴ */
.h1_logo{
  position: relative;
  display: flex;
  align-items: center;
  width: clamp(240px,35vw,420px);
  height: auto;
  line-height: 1;
  margin-right: auto; /* 左揃え */
  z-index: 100;
}
.h1_logo a{
  margin-left: 30px;
}
/* メニュー */
.g_nav__main{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  column-gap:clamp(.75rem,1vw,1.75rem);
  margin: 0 clamp(.75rem,1.5vw,2rem);
}
.g_nav__main > li{
  position: relative;
}
.g_nav__main li a:hover{
  color: var(--main-color);
}

/* contact */
.h_contact{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 100px;
  flex-shrink:0; /*幅固定*/
  color: #fff;
  font-size: 14px;
  line-height: 2;
  border-end-start-radius: 14px;
  background-color: var(--main-color);
  transition: .2s ease;
}
.h_contact img{
  display: block;
  max-width: none;
  width: 110px;
}
.h_contact:hover{
  filter: brightness(1.1);
}
.h_contact:hover img{
  opacity: 1;
}

/* SP用 */
.mobile_nav{
  display:none;
}

@media (max-width: 1024px){
    
  .g_nav__main{
    display: none;
  }
  
  /* SPメニュー */
  
  .mobile_nav{
    display: flex;
  }
  #drawer_nav{
    display: block;
  }
  /* アクティブ時のラッパー */
  #drawer_nav.panelactive{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
  }
  #drawer_nav__list{
    display: none;
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  #drawer_nav.panelactive #drawer_nav__list{
    display: block;
  }
  
  /* ハンバーガーライン */
  .openbtn{
    position: relative;
    cursor: pointer;
    z-index: 9999;
    width: 100px;
    height: 100px;
    background-color: #4cbae5;
    border: 1px solid #4cbae5;
    transition: transform .3s ease, background-color .3s ease;
  }
  .openbtn:hover{
    background-color: #fff;
  }
  .openbtn.active{
    border-end-start-radius: 14px;
    background-color: #fff;
  }
  .openbtn span{
    position: absolute;
    left: 50%;
    width: 40%;
    height: 2px;
    background-color: #fff;
    transform: translate(-50%, -50%);
    transition: transform .3s ease;
  }
  .openbtn:hover span{
    background-color: var(--main-color);
  }
  .openbtn span:nth-of-type(1){ top: calc(50% - 11px); }
  .openbtn span:nth-of-type(2){ top: 50%; }
  .openbtn span:nth-of-type(3){ top: calc(50% + 11px); }
  
  /* active時の × 形状 */
  .openbtn.active span:nth-of-type(1){
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  .openbtn.active span:nth-of-type(2){
    opacity: 0;
  }
  .openbtn.active span:nth-of-type(3){
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .openbtn.active span:nth-of-type(1),
  .openbtn.active span:nth-of-type(2),
  .openbtn.active span:nth-of-type(3){
    background-color: var(--main-color);
  }
  
  .drawer_nav_wrap{
    position: relative;
    overflow: hidden;
    display: block;
    margin: calc(100px - 14px/* radius分 */) 0px;
    margin-left: auto;
    width: min(420px,70%);
    height: auto;
    padding: 4rem 0;
    border-radius: 20px;
    border-start-end-radius: 0;
    background-color: rgba(var(--main-color-rgb),.95);
  }
  .drawer_fade{
    opacity: 0;
    transform: translate(2px,-2px);
    transition: opacity 0.3s, transform 0.5s;
  }
  .drawer_fade.active{
    opacity: 1;
    transform: translateY(0px);
  }
  #main_nav{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    width: 80%;
    height: 100%;
    margin: 0 auto;
    text-align: left;
  }
  #main_nav a{
    color: #fff;
    font-weight: bold;
  }
  #main_nav a:hover{
    opacity: var(--hover);
  }
  #main_nav dl{
    width: 100%;
  }
  #main_nav dl dt{
    padding: .4rem 0;
    font-size: clamp(14px,2.154vw,20px);
  }
  #main_nav .f_nav{
    display: flex;
    padding-top: 1rem;
  }
  #main_nav .f_nav dd + dd::before{
    content: '|';
    opacity: .5;
    color: #fff;
    padding: 0 1rem;
  }
  #main_nav .f_nav dd a{
    font-size: clamp(11px,1.692vw,13px);
  }
}

@media (max-width: 650px){
  
  .g_nav{
    height: 60px;
  }
  /* ロゴ */
  .h1_logo{
    margin-top: 2px;
  }
  .h1_logo a{
    margin-left: 20px;
  }
  
  /* contact */
  .h_contact{
    position: relative;
    width: 60px;
    height: 60px;
    padding: 0;
    font-size: 11px;
    border-end-start-radius: 10px;
  }
  .h_contact::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    background: url(../img/cmn/ic_mail_wh.svg) no-repeat center / contain;
    transform: translate(-50%, -50%);
  }
  .h_contact img,
  .h_contact span{
    display: none;
  }
  
  /* ハンバーガーライン */
  .openbtn{
    width: 60px;
    height: 60px;
  }
  .openbtn.active{
    border-end-start-radius: 10px;
  }
  
  .drawer_nav_wrap{
    margin: calc(60px - 8px/* radius分 */) 0;
    margin-left: auto;
  }
}


/* ----------------------------------------
  Footer
-------------------------------------------*/

.f_contact,
#footer{
  position: relative;
  width: 100%;
  background-color: var(--beige);
}
.f_contact{
  padding-top: calc(var(--sec-margin)*2);
  padding-bottom: 2.5rem;/* イラスト分 */
}
.f_contact__in{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  width: min(1400px,94%);
  margin: 0 auto;
  padding: 5rem;/* 幅調整 */
  width: min(1400px,94%);
  letter-spacing: .1em;
  font-weight: 500;
  border-radius: 50px;
  text-align: justify;
  background-color: var(--beige2);
}
.f_contact_text .h2_tit{
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  row-gap: .5rem;
  padding-bottom: 1rem;
}
.f_contact_text .h2_tit img{
  width: auto;
  height: 28px;
}
.f_contact_text .morebtn a{
  gap: 0 20px;
  margin: 2rem 0 0 -10px;
  padding: 1.5rem 2.5rem;
  border-radius: 999px;
  background-color: #fff;
}
.f_contact_text .morebtn a::before{
  content: "";
  width: 26px;
  height: 21px;
  background: url(../img/cmn/ic_mail.svg) no-repeat center / contain;
  flex-shrink: 0;
}
.f_contact_tel{
  flex: 1;
  text-align: center;
  font-size: clamp(11px,1.692vw,14px);
  line-height: 1.5;
}
.f_contact_tel .tel{
  font-weight: 600;
  letter-spacing: .1em;
  font-family: var(--font-en);
  font-size: clamp(33px,7vw,51px);
  white-space: nowrap;/* 改行禁止 */
}
.f_contact_tel .tel span{
  font-size: clamp(16px,2.462vw,24px);
  letter-spacing: .075em;
  padding-right: .5rem;
}
.f_contact_tel .open{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 1.5rem;
  width: min(450px,100%);
  margin: 2rem auto 0;
  padding: 1rem 1rem .25em;
  border-top: 1px solid;
  border-left: 1px solid;
  border-start-start-radius: 20px;
}
.f_contact__in .illust{
  position: absolute;
  bottom: -2.5rem;
  right: 15%;
  width: clamp(110px, 20vw, 140px);
}

#footer{
  position: relative;
  width: 100%;
  display: flex;
  flex-flow: column;
}
.footer__in{
  width: 88%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: clamp(30px,4.6vw,3rem);
  margin: 0 auto;
  padding: 5rem 0;
  text-align: left;
  letter-spacing: .075em;
}
.footer_info{
  display: flex;
  flex-flow: column;
  gap: 1.25rem;
  margin-right: auto; /* 左揃え */
  font-size: clamp(12px,1.846vw,16px);
}
.footer_info .logo{
  width: clamp(220px,36.9vw,360px);
  height: auto;
}
.footer_policy{
  display: flex;
  column-gap: 1rem;
  font-size: clamp(10px,1.538vw,12px);
}
.footer_policy a:hover{
  color: var(--main-color);
}
.footer_list{
  display: flex;
  flex-flow: column;
  gap: 1.5rem;
  font-weight: 500;
  font-size: clamp(11px,1.692vw,13px);
}
.footer_list .tit{
  font-weight: bold;
  font-family: var(--font-en);
}
.footer_list ul{
  display: flex;
  flex-flow: column;
  gap: 1rem;
  padding-right: clamp(10px,.5vw,2rem);
}
.footer_list:last-child ul{
  gap: .5rem;
}
.f_sns li{
  position: relative;
  padding-left: 1.65rem;
}
.f_sns li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  height: 16px;
}
.f_sns li:nth-child(1)::before{
  width: 16px;
  background: url(../img/cmn/ic_ig.svg) no-repeat center / contain;
}
.f_sns li:nth-child(2)::before{
  width: 14px;
  background: url(../img/cmn/ic_x.svg) no-repeat center / contain;
}
.f_sns li:nth-child(3)::before{
  width: 16px;
  background: url(../img/cmn/ic_fb.svg) no-repeat center / contain;
}
.f_sns li:nth-child(4)::before{
  width: 20px;
  background: url(../img/cmn/ic_youtube.svg) no-repeat center / contain;
}
.footer_copy{
  display: inline-block;
  margin: 0 0 0 auto;
  text-align: right;
  padding: 1.75rem 3.25rem;
  border-start-start-radius: 30px;
  font-size: clamp(10px,1.538vw,12px);
  letter-spacing: .15em;
  font-weight: 500;
  color: #fff;
  background-color: #434343;
}


@media (max-width: 960px){
  
  .f_contact__in{
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 3rem;
  }
  .f_contact_text .h2_tit{
    row-gap: .5rem;
    padding-bottom: 1rem;
  }
  .f_contact_tel{
    text-align: left;
  }
  .f_contact_tel .text{
    text-indent: -1.1em;
    padding-left: 1.1em;
  }
  .f_contact_tel .open{
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 650px){
  
  .f_contact__in{
    padding: 4rem 3rem;
  }
  .f_contact_text{
    font-size: 12px;
  }
  .f_contact_text br{
    display: none;
  }
  .f_contact_text .h2_tit img{
    height: 20px;
  }
  .f_contact_text .morebtn a{
    justify-content: center;
    width: 100%;
    gap: 0 10px;
    margin: 1rem 0 0 -4px;
    padding: .75rem 1.25rem;
  }
  .f_contact_text .morebtn a::before{
    width: 20px;
  }
  
  /* footer */
  .footer__in{
    flex-flow: column;
    padding: 3rem 0;
  }
  .footer_info{
    gap: .75rem;
  }
  .footer_list{
    gap: 1rem;
  }
  .footer_copy{
    padding: 1.5rem 2rem;
  }
}