body{
  margin: 0;
  
}
/* ===== グローバルナビを游ゴシックに ===== */


@font-face{
  font-family: "HiraSansW4-local";
  src: local("Hiragino Sans W4"), local("HiraginoSans-W4");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body::before{ pointer-events: none; }          /* 非表示時はクリック通す */
body.nav-open::before{ pointer-events: auto; } /* 表示中だけ遮断 */

.global-nav a .ja { font-weight: 600 !important;
  font-family: "Yu Gothic", "YuGothic", "游ゴシック体",
               "Hiragino Sans", "Meiryo", sans-serif;
  
  } /* 日本語行 */
.global-nav a .en { 
font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;

  
    } /* 英語行（細め） */


 .footer-top.show{
  opacity: 1;
    transform: translateY(0);
 }

 .footer-top{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
 }

/* === ヘッダー全体 === */
.header-area {
 display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0em 2em;
    flex-wrap: wrap;
    font-size: 1em;
    background-color: transparent;
    position: fixed;
    z-index: 100;
    width: 100%;
    box-sizing: border-box;
    font-family: var(--font-ja) !important;
}

/* デフォルト：デスクトップ用 */
.hamburger {
  display: none;
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 0.5em;
}

.hamburger .bar {
  width: 24px;
  height: 2px;
  background-color: #333;
  border-radius: 1px;
  transition: 0.3s ease;
}

/* === ロゴ周辺 === */


.logo img {
  height: 4.5em;
}



/* === ナビゲーション === */
nav {
  display: flex;
  gap: 4em; 
  margin-left: 8em;
  font-size: 8px;
}

.global-nav a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #000;
  line-height: 1.4;
  position: relative;
  text-align: left;
  font-weight: 600;
}

.global-nav a {
  display: flex;
  flex-direction: column;
  justify-content: center;

}

.global-nav a .en{
font-size: 1em;
 text-decoration: none;
 color: #000000;
 margin-bottom: 0.2em;
}

.global-nav a .ja{
font-size: 2em;
  
}
.global-nav a .ja::after {
    content: "";
    position: absolute;
    left: -6px;
    right: -6px;
    bottom: -2px;
    height: 1.5px;
    background: currentColor;
    opacity: .5;
    pointer-events: none;
}


.header-tel-box {
  border-radius: 9999px;
  padding: 1em 2em !important;
  box-sizing: border-box; /* ← これ大事 */
  gap: 1em;
    margin: 0 auto;
    font-size: 1.2em;
}

.header-tel-box img{
  width: 20px;
}

.header-tel-box small {
  margin-top: 0.5em; /* ← 下のテキストに余白をつける */
  display: block;
  white-space: nowrap;
  font-family: "Noto Sans JP", sans-serif !important;
}


.header-tel-box .tel-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  text-align: center;
}

.close-btn{
  margin-left: 95%;
  font-size: 2em;
  display:none;
}

/* === 電話番号 === */
.tel {
  display: flex;
  align-items: flex-start;   /* 上揃えに */   
  text-align: right;
}

.tel-icon {
  font-size: 2em;   
  margin-top: 0.3em;   
}
.tel img{
    width: 30px;
}

.tel-text {
  display: flex;
  flex-direction: column;   /* ←縦並びにするポイント */
  line-height: 1.4;
}

.tel strong {
  color: #000;
  margin-bottom: -0.2em;
  font-family: "游ゴシック体B", "游ゴシック体 B", "Yu Gothic B", "Yu Gothic", "YuGothic", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    font-weight: 700;
}

.hours {
  font-size: 12px;        
  color: #555;
    font-family:
    "游ゴシック体D","游ゴシック体 D","Yu Gothic D",
    "Yu Gothic","YuGothic","Yu Gothic UI",
    "Hiragino Kaku Gothic ProN","Meiryo",sans-serif;
  font-weight: 400;     /* 中太～本文向け（400～500で調整可） */
}

.main-visua{
    width: 100vw;
    height: auto;
}



.global-nav .tel{
  align-items: center;          /* アイコンと列も縦中央で揃える */
  gap: .6em;                    /* お好みで */
}

.global-nav .tel .tel-text{
  display: flex;
  flex-direction: column;
  align-items: center;          /* ← これで横方向が中央に */
  justify-content: center;
  text-align: center;           /* 行内テキストも中央に */
  line-height: 1.3;
  gap: .2em;
  font-family: "Yu Gothic";
}

.footer-section {
  background-color: #54c0c0!important;
  color: #fff;
  font-family: sans-serif;
  text-align: center;
  padding-bottom: 1em;
  font-family: var(--font-ja);
}



/* お問い合わせと電話ボタンエリア */
.footer-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4em;
  flex-wrap: wrap;
  position: relative;
}

.contact-box,
.tel-box{
  display: flex;
    align-items: center;
    background-color: #fff;
    justify-content: center;
    color: #000000;
    border-radius: 9999px;
    padding: 1em 5em;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    gap: 2em;
    width: 16em;
font-family: "Noto Sans JP", sans-serif;
font-weight: 400;
}



.contact-box img{
width: 15%;
}

.nav-title{
  font-size: 1.2em;
    white-space: nowrap;
    font-family: "Yu Gothic", "YuGothic", "游ゴシック Medium", "Yu Gothic Medium", "Meiryo", sans-serif;
    font-weight: 600;
}

.top-tel-number{
  font-size: 3.5em;
  text-decoration: none;
}


.tel-number span{
  font-weight: bold;
}

.tel-box img{
  width: 12%;
}

.nav-sub02{
font-family: "Noto Sans JP", sans-serif!important;
}

.footer-logo{
  margin-top: 2em;
  margin-bottom: 2em;
}

.footer-logo img{
width: 16%;
}

.footer-nav{
  text-align: left;
}

.footer-nav ul{
display: flex;
justify-content: center;
gap: 8em;
text-decoration: none;
}

.footer-nav ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-nav a {
  text-decoration: none;
  color:#fff;
}

.nav-text{
  font-size: 1.1em;
  font-weight: 600 !important;
    font-family: "Yu Gothic", "YuGothic", "游ゴシック体", "Hiragino Sans", "Meiryo", sans-serif;
}

.nav-sub02{
  font-size: 8px;
}

.footer-info{
  margin-top: 3em;
  margin-bottom: 1em;
   font-weight: 400 !important;
    font-family: "Yu Gothic", "YuGothic", "游ゴシック体", "Hiragino Sans", "Meiryo", sans-serif;
}

.footer-bottom{
  display: flex;
  justify-content: center;
  gap: 2em;
  font-size: 1em;
  font-weight: 400 !important;
    font-family: "Yu Gothic", "YuGothic", "游ゴシック体", "Hiragino Sans", "Meiryo", sans-serif;
}
.footer-tel-number{
  font-size: 1.4em;
  white-space: nowrap;
}
.footer-tel-number span{
  font-family: "Yu Gothic", "YuGothic", "游ゴシック Medium", "Yu Gothic Medium", "Meiryo", sans-serif;
    font-weight: 600;
}
.business-hours{
    font-size: 0.8em;
    white-space: nowrap;
}

    .footer-nav li {
        position: relative;
    }


/* 親：青帯 */
.footer-contact-area{
  --divider: 4px;                 /* 白帯(境目)の太さ。線だけなら 1px〜2px でもOK */
  background-color: #54c0c0;
padding-top: 5vw;
padding-bottom: 5vw;
  position: relative;             /* ← 子absoluteの基準にする */
}

/* 青と白の境目（白帯）を親のボトムに引く。すでに別要素で線を出してるならこのブロックは不要 */
.footer-contact-area::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height: var(--divider);
  background:#fff;
}

/* 人：境目の上に足を置く（下端基準） */
.person-image11,
.person-image12{
  position: absolute;
  bottom: var(--divider);         /* ← 白帯の上端に“底”を合わせる */
  z-index: 2;                     /* 白帯より手前に出す */
  transform: translateX(-50%);    /* 左右位置を中央基準に */
}

@media screen and (min-width:767px){
.person-image11{
bottom: -1px;
}
.person-image12{
bottom: 1px;
}

}

/* 左右の位置（%は親の幅に対する割合） */
.person-image11{ left: 10%; transform: scaleX(-1); }     /* 左の人の位置はお好みで調整 */
.person-image12{ left: 90%; }     /* 右の人の位置はお好みで調整 */

/* 画像サイズは可変に（端末で崩れないよう clamp 推奨） */

.person-image11 img,
.person-image12 img{
  width: 10vw!important;
  position: static !important;  /* 旧 `position:absolute` を上書き */
  top: auto !important; left: auto !important;  /* 旧 `top/left` を無効化 */
  display: block;
  height: auto;
}

/* レスポンシブ1600以上　ヘッダー＆フッター */
@media (min-width: 1601px){
 
nav {
    gap: 9em;
}
.top-tel-number {
    font-size: 28px;
}
}
/* レスポンシブ1281~1600　ヘッダー＆フッター */
@media (min-width: 1281px) and (max-width: 1600px) {
 
nav {
    gap: 8em;
}

}

/* レスポンシブ1280　ヘッダー＆フッター */
@media (min-width: 1280px) and (max-width: 1280.98px) {
  .header-area{
    font-size: 0.9em;}
.top-tel-number {
    font-size: 24px;
}
nav {
    gap: 6em;
}

  .footer-section{
    font-size: 0.9em;
  }
.person-image11 img,
  .person-image12 img{
    top: 96px;

}
}

/* レスポンシブ1024～1280　ヘッダー＆フッター */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .header-area{
    font-size: 0.7em;}
    .hours{
      font-size: 10px;
    }

.top-tel-number {
    font-size: 20px;
}

  .footer-section{
    font-size: 0.7em;
  }
  .person-image11 img,
  .person-image12 img{
    top: 82px;
}
nav {
    font-size: 7px;
    gap: 6em;
}
.tel img {
    width: 25px;
}
}



/* レスポンシブ768～1024　ヘッダー＆フッター */
@media (min-width: 768px) and (max-width: 1023.98px) {
 .header-area{
    font-size: 0.55em;}
    .global-nav a .ja{
      font-size: 1.2em;
    }
    .global-nav{
      gap: 4em;
      margin-left: 4em;
    }
    .global-nav a .en {
    font-size: 0.7em;
}
.top-tel-number {
    font-size: 20px;
    text-decoration: none;
}
nav {
    gap: 4em;
    font-size: 9px;
}
    .hours{
      font-size: 8px;
    }

.nav-sub02{
  font-size: 7px;
}

  .footer-section{
    font-size: 0.65em;
  }
  .person-image11 img,
  .person-image12 img{
   width: 70px;
    top: 84.5px;
}

}

/* レスポンシブ600～768　ヘッダー＆フッター */
@media(min-width: 600px) and (max-width: 767.98px) {
  .logo img{
    height: 8em;
  }
  .header-area{
    font-size: 0.3em;}
    
    .top-tel-number{
      font-size: 3em;
    }



  .footer-section{
    font-size: 1.4vw;
  }
   .person-image11 img,
  .person-image12 img{
   width: 70px;
    top: 73px;
}
  }

/* レスポンシブ768以上　ハンバーガーメニュー非表示 */
@media (min-width: 768px) {
.overlay-header{
    display: none;
  }

 .global-nav .header-tel-box {
    display: none;
  }
  nav {
        align-items: center;
    }
}





/* モバイル用：768px以下のときだけハンバーガー表示 */
@media (max-width: 767.98px) {
  .hamburger {
    display: flex;
  }
.global-nav {
    display: none;
  }
  .tel {
    display: none;
  }
  nav{
    margin: 0;
    gap: 3em;
  }
  .global-nav a .ja::after {
   display: none;
}
   
}



/* オーバーレイメニュー */
@media (max-width: 767.98px) {
  .hamburger{ display:flex; }

  .header-area nav{ margin-left: 0; }  /* ベースの余白を無効化 */

span.overlay-title{
  font-size: 2em;
    font-weight: bold;
}

 .global-nav{
  position: fixed;
  top: 0; right: 0;
  width: min(84vw, 360px);
  height: 100dvh;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1.2rem 1.4rem 2rem;
  z-index: 1000;
    background: rgba(255, 255, 255, .88);    /* ← #fff を置き換え */
    backdrop-filter: saturate(140%) blur(8px);/* お好みで 4〜10px 程度 */
    -webkit-backdrop-filter: saturate(140%) blur(8px); /* Safari用 */

  /* 初期は隠す（←ここはアニメ無し） */
  transform: translateX(100%);
  pointer-events: none;
  transition: none;                /* ← これに変更 */
  
}
.global-nav.show{
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform .35s ease; /* 表示時だけアニメ */
}
.global-nav a .ja{
font-size: 2em;
border-bottom: 1px solid #fff;
 text-underline-offset: 4px;
 text-decoration: none;
}
.global-nav a .en{
font-size: 1em;
 text-decoration: none;
 color: #fff;
}
.global-nav.ready{ transition: transform .35s ease; }



  
  body.nav-open::before{ opacity:1; visibility:visible; }
  body.nav-open{ overflow:hidden; }

/* 閉じるアニメ用：showは残したまま右へ戻す */
.global-nav.show.closing{
  transform: translateX(100%);
  pointer-events: none;
}


  



/* （任意）ブレークポイント切替時のチラ見え防止 */
.global-nav.no-anim{ transition: none !important; }



}


  

/* レスポンシブ600以下 */
@media screen and (max-width: 599.98px) {
.nav-sub02{
  font-size: 7px;
}

.footer-logo {
    margin-top: 3em;
    margin-bottom: 1em;
}

.footer-logo img {
    width: 30%;
}
  

  .logo img{
    height: auto;
    width: 50%;
  }
  .header-area{
    font-size: 0.4em;}
    
    .top-tel-number{
      font-size: 3em;
    }



 .footer-section{
    font-size: 1.3vw;
  }
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1em;
    font-size: 2em;
    margin-bottom: 5em;
  }
  .footer-logo
   {
    text-align: left;
    margin-left: 6em;
  }
  .footer-info {
    display:none;
}
  
  .footer-nav {
    width: 48%;
    margin-left: 6em;
  }
  .footer-nav li {
  position: relative;       /* ::after の基準 */
  list-style: none;         /* デフォルトの点を消す */
   margin-bottom: 0.5em;
}


  .footer-nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 2em;
  }
  
  .footer-nav a {
    display: block;
    text-align: left;
  }
  .footer-info address {
    font-size: 0.9em;
    line-height: 1.5;
  } 
  .footer-bottom{
    display: block;
        border-top: 1px solid;
        font-size: 1.5em;
}
  }


  




/* レスポンシブ447.98～600　人調整フッター付近 */
@media(min-width: 447.98px) and (max-width: 599.98px){
   .person-image11 img,
  .person-image12 img{
   width: 60px;
    top: 78px;
}

}


/* レスポンシブ447.98以下　人調整フッター付近 */
@media(max-width: 447.98px){
 .person-image11 img,
  .person-image12 img{
   width: 60px;
    top: 157.5px;
}

.person-image11{
left: 0%;
}
}

/* ===== SP専用（ブレークポイントは任意で変更可） ===== */
@media (max-width: 767px){

  /* 2本線ハンバーガー（HTMLは既存の3本 <span class="bar"> のままでOK） */
.hamburger {
        position: fixed;
        top: 2%;
        right: 16px;
        z-index: 10001;
        width: 45px;
        height: 36px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
        background: transparent;
        border: 0;
        cursor: pointer;
    }
  .hamburger .bar{
    display:block; width:100%; height:2px; background:#222;
    transition: transform .25s ease, opacity .2s ease;
  }
  /* ← 真ん中の線は“常時”非表示＝2本線 */
  .hamburger .bar:nth-child(2){ opacity:0; pointer-events:none; }

  /* 開いた時は2本を45°/ -45°で「×」に */
  .hamburger.is-active .bar:nth-child(1){ transform: translateY(6px) rotate(45deg); }
  .hamburger.is-active .bar:nth-child(3){ transform: translateY(-2px) rotate(-45deg); }

  /* パネル：右→左にスライドイン */
  .global-nav{
    position: fixed; z-index:10000;
    background:#55c3c0; color:#fff;
    transform: translateX(100%); transition: transform .35s ease;
    will-change: transform; overflow:auto;
    padding: clamp(16px,3vw,24px);
    display:block !important; pointer-events:none;
  }
  .global-nav.is-open{ transform: translateX(0); pointer-events:auto; }

  /* ====== 文字の“スライド＋フェード”段階表示 ====== */
  /* 初期状態：少し右に寄せて透明 */
  .global-nav .overlay-header,
  .global-nav > a,
  .global-nav .header-tel-box{
    opacity:0; transform: translateX(14px);
    transition: opacity .35s ease, transform .35s ease;
  }
  /* 開いたら順番に表示（遅延は nth-of-type でスタッガー） */
  .global-nav.is-open .overlay-header{ opacity:1; transform:none; transition-delay:.05s; }
  .global-nav.is-open > a{ opacity:1; transform:none; }
  .global-nav.is-open .header-tel-box{ opacity:1; transform:none; transition-delay:.55s; }

  /* スタッガー（必要数だけ増やしてください） */
  .global-nav.is-open > a:nth-of-type(1){ transition-delay:.15s; }
  .global-nav.is-open > a:nth-of-type(2){ transition-delay:.25s; }
  .global-nav.is-open > a:nth-of-type(3){ transition-delay:.35s; }
  .global-nav.is-open > a:nth-of-type(4){ transition-delay:.45s; }
  .global-nav.is-open > a:nth-of-type(5){ transition-delay:.50s; }

  /* 見た目（添付風） */
  .overlay-title{ font-size:14px; letter-spacing:.2em; opacity:.9; }
  .close-btn{ font-size:28px; line-height:1; background:none; border:0; color:#fff; cursor:pointer; }


  .tel-yohaku{border-top: 1px solid #fff;
    margin-bottom: 3em;
    padding-top: 2em;
    padding-left: 5em;
    padding-right: 5em;}
    
  .global-nav > a{ display:block; color:#fff; text-decoration:none; padding:14px 4px 0px; }
  .global-nav .en{
    display:inline-block; font-size:11px; letter-spacing:.18em; opacity:.85;
    position:relative;
  }
  .global-nav .en::before{
    content:""; position:absolute; left:0; top:50%; transform:translateY(-50%);
    width:34px; height:1px;
  }
  .global-nav .ja{
    display:block; margin-top:4px;
    font-size:clamp(16px,5vw,20px); font-weight:600; line-height:1.8;
    text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px;
  }

  .header-tel-box{
    display:block; color:#fff; text-decoration:none;
    margin-top: clamp(20px, 8vh, 60px);
    padding-top:18px;
  }
  .header-tel-box .tel-inner{ display:flex; align-items:center; gap:12px; }
  .header-tel-box img{ width:22px; height:auto; }
  .header-tel-number{ font-size:12px; opacity:.85;font-family: "Noto Sans JP", sans-serif !important; }
  .header-tel-number span{ font-size: 16px;
        font-weight: 600;
        margin-left: 6px;
        font-family: "Yu Gothic", "YuGothic", "游ゴシック体", "Hiragino Sans", "Meiryo", sans-serif; }
  .header-business-hours{ font-size:10px; opacity:.85;font-family: "Noto Sans JP", sans-serif !important;}
}

/* 共通：開いている間は背面スクロール禁止 */
body.no-scroll{ overflow:hidden; }

  .hamburger .bar{
    transition: transform .25s ease, opacity .2s ease, background-color .2s ease;
    background: #222;            /* 閉じている時＝黒 */
  }
  /* 開いた時＝白（.is-active でも、body.no-scroll でも白に） */
  .hamburger.is-active .bar,
  body.no-scroll .hamburger .bar{
    background: #fff;
  }
/* ===== SP専用：下線をテキストより少し長く ===== */
@media (max-width: 767px){
  /* 既存の下線指定を無効化して、擬似要素でコントロール */
  .global-nav .ja{
    display: inline-block;            /* テキスト幅基準 */
    position: relative;
    margin-top: 4px;
    line-height: 1.8;
    font-weight: 600;
    font-size: clamp(16px,5vw,20px);
    text-decoration: none;            /* 既存の underline をオフ */
    padding-bottom: 6px;              /* 下線との距離 */
  }
  .global-nav .ja::after{
    content: "";
    position: absolute;
    left: -8px;                       /* ← テキストより左右に少しハミ出す */
    right: -8px;
    bottom: 0;
    height: 1px;
    background: rgba(255,255,255,.95);/* 下線色 */
  }

  /* ===== SP専用：TELを最下部へ吸着 ===== */
  /* パネル全体を縦並びレイアウトに（他の見た目はそのまま） */
  .global-nav{                   /* 念のため全面化 */
    display: flex !important;         /* 既存の display:block を上書き */
    flex-direction: column;
    min-height: 100dvh;               /* 端末の表示高に追従 */
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }

  /* 電話ブロックを最下部へ */
  .global-nav .header-tel-box{
    margin-top: auto;                 /* ここで最下段に寄せる */
    padding-top: 18px;

  }

  .tel-inner img{display:none;}
}

/* === SP：ENを上、JPを下に“縦積み”＆左横に回り込まないように === */
@media (max-width: 767px){
  /* a 内は縦方向に並べる前提（既に block ですが明示） */
  .global-nav > a{ display:block; }

  /* ENをブロック化して上に配置。左線装飾は不要なら消す */
  .global-nav .en{
    display:block;                 /* ← これでJPの左横に来なくなる（改行される） */
    margin-bottom: 2px;            /* ENとJPの間のすき間 */
    padding-left: 0;               /* 以前の左インデントを打ち消し */
    position: static;
    padding-left: 0.6em;              /* 相対位置指定を解除 */
  }
  .global-nav .en::before{         /* 左の細線が要らなければ非表示 */
    display:none;
    content:none;
  }

  /* JPは下線を擬似要素で少し長めに（既存設定の再確認） */
  .global-nav .ja{
    display:inline-block;          /* テキスト幅基準 */
    position:relative;
    text-decoration:none;          /* ネイティブ下線はオフ */
    padding-bottom:6px;
    padding: 0em 0.3em 0 0.3em
  }
  .global-nav .ja::after{
    content:"";
    position:absolute;
    left:-8px;                     /* ← 長さの“はみ出し”量（お好みで -6〜-12px） */
    right:-8px;
    bottom:0;
    height:1px;
    background:rgba(255,255,255,.95);
  }
}