@charset "UTF-8";
/* =========================================================
   スマホのハンバーガーメニュー（2026-11 改修）
   ・上：ページへのリンク（5つ）
   ・中：お申込み／パックの追加・変更 のボタン
   ・下：お電話でのお問合せ（押すと電話がかかる）
   ========================================================= */
@media screen and (max-width: 960px){
  .header .mobile-nav{
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid #e3e9ec;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
  }
  /* 元のメニューの指定（高さ40px・下線など）を打ち消す */
  .header .mobile-nav a{
    height: auto;
    line-height: 1.4;
    padding-left: 0;
    border-bottom: 0;
    text-decoration: none;
  }

  /* ページへのリンク */
  .mnav-list{
    margin: 0;
    padding: 4px 0;
    list-style: none;
  }
  .header .mobile-nav .mnav-list a{
    position: relative;
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 0 48px 0 22px;
    font-size: 16px;
    font-weight: bold;
    color: #2b2f31;
    letter-spacing: .04em;
    border-bottom: 1px solid #edf1f3;
    transition: background-color .15s ease, color .15s ease;
  }
  .mnav-list li:last-child a{ border-bottom: 0 !important; }
  .header .mobile-nav .mnav-list a::after{
    content: "";
    position: absolute;
    right: 24px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #1a8fc4;
    border-right: 2px solid #1a8fc4;
    transform: translateY(-50%) rotate(45deg);
  }
  .header .mobile-nav .mnav-list a:active{
    background-color: #eef7fc;
    color: #1a8fc4;
  }

  /* お申込み・パックの追加・変更 */
  .mnav-cta{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 20px 4px;
    background: #f2f7fa;
  }
  .header .mobile-nav .mnav-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 56px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: bold;
    letter-spacing: .06em;
    transition: background-color .15s ease, transform .1s ease;
  }
  .header .mobile-nav .mnav-btn--main{
    background: #1a8fc4;
    color: #fff;
    box-shadow: 0 3px 8px rgba(26, 143, 196, .3);
  }
  .header .mobile-nav .mnav-btn--sub{
    background: #fff;
    color: #1a8fc4;
    border: 2px solid #1a8fc4;
  }
  .header .mobile-nav .mnav-btn:active{ transform: translateY(1px); }
  .mnav-btn svg{ width: 18px; height: 18px; flex-shrink: 0; }

  /* お電話でのお問合せ */
  .header .mobile-nav .mnav-tel{
    display: block;
    padding: 20px 20px 24px;
    background: #f2f7fa;
    text-align: center;
    color: #2b2f31;
  }
  .mnav-tel__lead{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 15px;
    font-weight: bold;
  }
  .mnav-tel__lead img{ width: 20px; height: auto; }
  .mnav-tel__num{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 6px 0 4px;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: .02em;
    line-height: 1.1;
  }
  .mnav-tel__num img{ width: 26px; height: auto; }
  .mnav-tel__time{
    display: block;
    font-size: 12px;
    color: #5c666b;
  }
}

/* ===== 2026-11-10 調整：タップの範囲と文字を大きく、メニューは画面いっぱいに ===== */
@media screen and (max-width: 960px){
  .header .mobile-nav{
    display: none;
    min-height: calc(100vh - 60px);
    min-height: calc(100dvh - 60px);
    max-height: calc(100dvh - 60px);
    flex-direction: column;
    background: #f2f7fa;
  }
  .mnav-list{ padding: 0; background: #fff; }
  .header .mobile-nav .mnav-list a{
    min-height: 66px;
    padding: 0 56px 0 24px;
    font-size: 18px;
  }
  .header .mobile-nav .mnav-list a::after{
    right: 26px;
    width: 10px;
    height: 10px;
    border-width: 2.5px;
  }
  .mnav-cta{
    gap: 12px;
    padding: 24px 20px 8px;
  }
  .header .mobile-nav .mnav-btn{
    height: 64px;
    border-radius: 10px;
    font-size: 19px;
  }
  .header .mobile-nav .mnav-tel{
    padding: 22px 20px 32px;
  }
  .mnav-tel__lead{ font-size: 16px; gap: 8px; }
  .mnav-tel__lead img{ width: 22px; }
  .mnav-tel__num{ font-size: 34px; gap: 10px; margin: 8px 0 6px; }
  .mnav-tel__num img{ width: 30px; }
  .mnav-tel__time{ font-size: 13px; }
}
@media screen and (max-width: 360px){
  .mnav-tel__num{ font-size: 29px; }
  .mnav-tel__num img{ width: 26px; }
}
/* =========================================================
   水のアニメーション（2026-11-10）
   ・ボタン：押すと中に水がたまり、三本線が × に。押した瞬間に波紋
   ・メニュー：ボタンの位置から、しずくが広がるように丸く開く
   ・中身：下から順にふわっと浮かぶ／波の線がゆれる／泡がのぼる
   ========================================================= */
@media screen and (max-width: 960px){
  html.is-menu-lock, html.is-menu-lock body{ overflow: hidden; }

  /* ---- ボタン ---- */
  .header .menu-btn{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
  }
  .wbtn{
    position: relative;
    display: block;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #59d9da;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 120, 140, .25);
    transform: translateZ(0);
  }
  /* 中の水（大きな角丸を回して、水面をゆらす） */
  .wbtn__water{
    position: absolute;
    left: -50%;
    top: 105%;
    width: 200%;
    height: 200%;
    border-radius: 42%;
    background: #1a8fc4;
    transition: top .7s cubic-bezier(.5, 0, .2, 1);
    animation: wbtn-spin 4s linear infinite;
  }
  .header.is-menu-open .wbtn__water{ top: -62%; }
  @keyframes wbtn-spin{ to{ transform: rotate(360deg); } }

  /* 三本線 → × */
  .wbtn__line{
    position: absolute;
    left: 10px;
    right: 10px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
    transition: top .35s ease, transform .35s ease, opacity .25s ease;
  }
  .wbtn__line:nth-of-type(2){ top: 12.5px; }
  .wbtn__line:nth-of-type(3){ top: 19.5px; }
  .wbtn__line:nth-of-type(4){ top: 26.5px; }
  .header.is-menu-open .wbtn__line:nth-of-type(2){ top: 19.5px; transform: rotate(45deg); }
  .header.is-menu-open .wbtn__line:nth-of-type(3){ opacity: 0; transform: scaleX(0); }
  .header.is-menu-open .wbtn__line:nth-of-type(4){ top: 19.5px; transform: rotate(-45deg); }

  /* 押した瞬間の波紋 */
  .header .menu-btn::after{
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 42px;
    height: 42px;
    margin: -21px 0 0 -21px;
    border: 2px solid #59d9da;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
  }
  .header .menu-btn.is-ripple::after{ animation: wbtn-ripple .7s ease-out; }
  @keyframes wbtn-ripple{
    from{ transform: scale(.9); opacity: .9; }
    to{ transform: scale(2.1); opacity: 0; }
  }

  /* ---- メニューの開き方：しずくが広がるように丸く ---- */
  .header .mask{
    display: block !important;
    visibility: hidden;
    opacity: 0;
    transition: opacity .4s ease, visibility 0s linear .75s;
  }
  .header.is-menu-open .mask{
    visibility: visible;
    opacity: 1;
    transition: opacity .3s ease;
  }
  .header .mobile-nav{
    display: flex !important;
    clip-path: circle(0px at calc(100% - 30px) -30px);
    transition: clip-path .75s cubic-bezier(.7, 0, .25, 1);
  }
  .header.is-menu-open .mobile-nav{
    clip-path: circle(220vh at calc(100% - 30px) -30px);
  }

  /* ---- 中身が下から順に浮かぶ ---- */
  .mnav-list li, .mnav-cta, .mnav-tel{
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .4s ease, transform .55s cubic-bezier(.2, .8, .2, 1);
  }
  .header.is-menu-open .mnav-list li,
  .header.is-menu-open .mnav-cta,
  .header.is-menu-open .mnav-tel{ opacity: 1; transform: none; }
  .header.is-menu-open .mnav-list li:nth-child(1){ transition-delay: .18s; }
  .header.is-menu-open .mnav-list li:nth-child(2){ transition-delay: .23s; }
  .header.is-menu-open .mnav-list li:nth-child(3){ transition-delay: .28s; }
  .header.is-menu-open .mnav-list li:nth-child(4){ transition-delay: .33s; }
  .header.is-menu-open .mnav-list li:nth-child(5){ transition-delay: .38s; }
  .header.is-menu-open .mnav-cta{ transition-delay: .46s; }
  .header.is-menu-open .mnav-tel{ transition-delay: .54s; }

  /* ---- リンクとボタンの境目：ゆっくりゆれる波の線 ---- */
  .mnav-wave{
    display: block;
    flex-shrink: 0;
    height: 16px;
    margin-bottom: -1px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M0 8 C25 0 75 0 100 8 C125 16 175 16 200 8 L200 16 L0 16 Z' fill='%23f2f7fa'/%3E%3Cpath d='M0 8 C25 0 75 0 100 8 C125 16 175 16 200 8' fill='none' stroke='%23bfe0f0' stroke-width='1.5'/%3E%3C/svg%3E") repeat-x 0 0 / 200px 16px;
    animation: mnav-wave 7s linear infinite;
  }
  @keyframes mnav-wave{ to{ background-position: -200px 0; } }

  /* ---- 水色の面にのぼる小さな泡 ---- */
  .header .mobile-nav{ position: absolute; }
  .mnav-cta, .mnav-tel{ position: relative; z-index: 1; }
  .mnav-bubbles{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
  }
  .mnav-bubbles i{
    position: absolute;
    bottom: -24px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.9) 0 18%, rgba(26,143,196,.10) 45%, rgba(26,143,196,.18) 100%);
    border: 1px solid rgba(26,143,196,.22);
    animation: mnav-bubble linear infinite;
    animation-play-state: paused;
  }
  .header.is-menu-open .mnav-bubbles i{ animation-play-state: running; }
  .mnav-bubbles i:nth-child(1){ left: 8%;  width: 10px; height: 10px; animation-duration: 7s;   animation-delay: -1s; }
  .mnav-bubbles i:nth-child(2){ left: 22%; width: 6px;  height: 6px;  animation-duration: 5.5s; animation-delay: -3s; }
  .mnav-bubbles i:nth-child(3){ left: 38%; width: 14px; height: 14px; animation-duration: 9s;   animation-delay: -5s; }
  .mnav-bubbles i:nth-child(4){ left: 55%; width: 8px;  height: 8px;  animation-duration: 6.5s; animation-delay: -2s; }
  .mnav-bubbles i:nth-child(5){ left: 70%; width: 12px; height: 12px; animation-duration: 8s;   animation-delay: -6s; }
  .mnav-bubbles i:nth-child(6){ left: 84%; width: 7px;  height: 7px;  animation-duration: 6s;   animation-delay: -4s; }
  .mnav-bubbles i:nth-child(7){ left: 93%; width: 9px;  height: 9px;  animation-duration: 7.5s; animation-delay: -0.5s; }
  @keyframes mnav-bubble{
    0%  { transform: translate(0, 0);       opacity: 0; }
    10% { opacity: .9; }
    50% { transform: translate(6px, -45vh); }
    90% { opacity: .7; }
    100%{ transform: translate(-4px, -90vh); opacity: 0; }
  }
}

/* 動きを減らす設定の方には動かさない */
@media screen and (max-width: 960px) and (prefers-reduced-motion: reduce){
  .wbtn__water, .mnav-wave, .mnav-bubbles i{ animation: none !important; }
  .mnav-bubbles{ display: none; }
  .header .mobile-nav, .header .mask, .mnav-list li, .mnav-cta, .mnav-tel, .wbtn__water, .wbtn__line{ transition: none !important; }
}
