@charset "UTF-8";
 .mail-btn{display: none;}
     .sp-btns{display:  none;}
header .header-inner{   display: flex;
align-items: center;
justify-content: space-between;
   list-style: none;
    margin: 20px auto;
}
header .right-link{   display: flex;
align-items: center;
   list-style: none;}
.header-inner {
            margin: 20px auto;
                 width: 95%;
}
.header-inner .logo{
margin-left: inherit;
}
.top-page .fixed .header-inner .logo {
 margin-left: 40px;
}
.right-link a{
    text-decoration: none;
}
header .contact-btn{
     background-color: #FFBF34;
    padding: 35px;
    display: inline-block;
    width: 250px;
    text-align: center;
    margin: 0 auto;
    color: #fff;
}
nav .right-link .contact-btn{
    background-color: #FFBF34;
    padding: 35px;
    display: inline-block;
  width: 250px;
    text-align: center;
    margin: 0 auto;
    border-radius: 50px;
    color: #fff;
        margin-right: -1px;
}

header .fixed .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
    max-width: inherit;
  margin: 0 auto ;
  width: 98%;
}
 header .right-link {
      margin-top: 0;
  padding-left: 50px;
  border-radius: 50px;
  background-color: #fff;
  width: 810px;
  height: 89px;
  border-radius: 50px;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1);
  margin-left: auto;
  margin-right: 0;
  transition: all 0.3s ease; /* スムーズなアニメーションを追加 */
  display: flex;
    align-items: center;
    list-style: none;
    margin: 0 auto;
    justify-content: space-between;
}
header {
  position: absolute; /* FVにある間は絶対位置で配置 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background-color 0.3s ease;
}
/* スクロール後に追加されるクラス */
.top-page header.fixed {
  position: fixed; /* ページ上部に固定 */
  background-color: #fff; /* 白い背景 */
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.1); /* 影を追加 */
}
header.fixed {
  position: fixed; 
}
.page-posts header.fixed {
  box-shadow: inherit; /* 影を追加 */
}
/* スクロール後のメニューのスタイル */
.top-page .fixed .right-link {
  background-color: transparent; /* 背景を透過に */
  box-shadow: none; /* 影を消す */
}

/* ロゴのスタイル (必要に応じて) */
.logo {
  color: #000;
  font-size: 24px;
}
/* ファーストビューのコンテンツの高さ */
.fv-content {
  height: 100vh; /* 画面全体の高さをFVとする */
  /* ここに背景画像などを設定 */
}
.wp-block-latest-posts__post-author, .wp-block-latest-posts__post-date {
    display: block;
    font-size: 16px;
}
    /* PC表示時の非表示設定 */
.hamburger-menu, .drawer-menu {
  display: none;
}
.drawer-overlay{display: none!important;}
.drawer-hamburger {
padding: 30px 1.5rem 38px !important;
position: absolute !important;
right: 0 !important;
top: 0 !important;
border-radius: 0 0 0 10px;
background: linear-gradient(45deg, #59BB96, #3E87A2) !important;
}
.drawer-hamburger-icon, .drawer-hamburger-icon:after, .drawer-hamburger-icon:before{background-color: #fff!important;}
.drawer-open .drawer-hamburger-icon,.drawer-open header.fixed .drawer-hamburger-icon {background-color: transparent!important;}
.drawer--right .drawer-nav {right: -100% !important;width: 100% !important;padding-top: 120px;}
.drawer--right.drawer-open .drawer-nav{right: 0 !important;z-index: 200 ;}
.drawer-menu li {width: auto;position: relative;}
.drawer-menu li a {display: block;text-align: center;text-decoration: none;}
.drawer-menu li a p {font-size: 16px;font-weight: 700;color:#1D1D1D;}
.dropdown:hover > a .dot {display: inline-block;}
.sub_menu {
display: none;
    position: absolute;
    top: 100%;
    background: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 10;
    left: 65%;
    transform: translateX(-50%);
    width: 260px;
}
.dropdown:hover .sub_menu {display: block;}
.sub_menu li {list-style: none;}
.drawer-menu li ul.sub_menu li:before{content: none;}
.sub_menu li a {
display: block;
padding: 0.75rem 1rem;
text-decoration: none;
text-align: center;
color: #000;
}
.sub_menu li {padding: 0;}
.sub_menu li a:hover {background-color: #e0e0e0;}
.drawer-menu li {
    width: 100%;
    position: relative;
}
:root {
    /* グラデーションの色定義（変更なし） */
    --gradient-start-light: #90dffe;
    --gradient-end-light: #3cd3ad;  
    --gradient-start-dark: #ffc48d;  
    --gradient-end-dark: #f07470;    
    /* ボタンの共通設定 */
    --button-height: 55px;
    --button-radius: 999px;
    --button-color: #3d3d3d;
    --button-bg: #fff;      
    --border-thickness: 3px; /* 枠線の太さ（この変数で計算を行います） */
}
/* PCメニューのドロップダウン関連のCSS追加 */
/* サブメニューを持つ親の<li> */

.right-link .dropdown {
    /* 絶対配置の基準点とする */
    padding-bottom: 35px;
    padding-top: 35px;
    position: relative;
    /* 既存の padding-right: 50px; は .right-link li にあるため、ここは追加不要 */
}
/* サブメニューの項目 */

.right-link .sub-menu-pc li {
    padding: 0; /* 親メニューのパディングをリセット */
    width: 100%; /* 幅をいっぱいに広げる */
}
/* サブメニューのリンク */
.right-link .sub-menu-pc a {
    display: block;
    padding: 10px 15px; /* クリックしやすいようにパディングを設定 */
    text-align: center;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s;
}
.right-link .sub-menu-pc a:hover {
       background-color: #CFAE67;
}
/* PCメニュー（.right-link内）にあるサブメニューの初期状態 */
.right-link .sub-menu-pc {
    display: none; /* 初期状態で非表示にする */
    position: absolute; /* 親要素基準で配置し、他の要素と重ならないようにする */
    top: 100%;
    left: 30%;
    transform: translateX(-50%);
  background-color: #FFBF34;
    list-style: none;
    z-index: 10;
    min-width: 180px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    margin: 0;
}
/* ホバー時に表示する */
.right-link .dropdown:hover > .sub-menu-pc {
    display: block;
}
/* ------------------------------------------- */

/* ボタン本体のスタイル */

/* ------------------------------------------- */

.gradient-button {
    /* 外観 */
    position: relative;
    /* ボタン全体のサイズを設定（border-containerがこのサイズになる） */
       width: 310px; /* 例として幅を設定。コンテンツに応じて調整してください */
    height: var(--button-height);
    padding: 0;
    border-radius: var(--button-radius);
    border: none;
    outline: none;
    background: transparent;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}
    .button-text{margin: auto 0 auto auto;}

/* 枠線のグラデーションと光るアニメーションのコンテナ */

.border-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    z-index: 1;
    /* 枠線のグラデーション */
    background: linear-gradient(
        135deg,
        #D1FDFF,
        #E0F2DB 40%,
       #F3E3AC  60%,
    #FDDB92
    );
    overflow: hidden;
}
/* 枠線の内側にある、ボタンのコンテンツ領域 - **ここを修正** */
.button-content {
    /* 外観 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
        max-height: 49px;
    /* ボタンの幅に合わせるため、paddingはコンテンツ内で設定 */
    padding: 0 30px;
    height: 100%; /* 高さ100%はここでは使わず、absoluteで調整 */
    /* **絶対位置で枠線から正確に内側へ移動** */
    position: absolute;
    top: var(--border-thickness);
    left: var(--border-thickness);
    right: var(--border-thickness);
    bottom: var(--border-thickness);
    /* border-radiusも正確に計算し直す */
    border-radius: calc(var(--button-radius) - var(--border-thickness));
    /* テキストと背景 */
    font-size: 18px;
    font-weight: 600;
    color: var(--button-color);
    background-color: var(--button-bg);
    z-index: 2; /* 最前面に配置 */
}
/* 矢印アイコンのスタイル（変更なし） */
.arrow-icon {
    width: 18px;
    margin-right: 0;
    margin-left: auto;
    height: 18px;
    color: var(--button-color);
    transition: transform 0.3s ease;
}
/* ------------------------------------------- */

/* ホバーアクションのスタイル（変更なし） */

/* ------------------------------------------- */
.gradient-button:hover {
}
.gradient-button:hover .arrow-icon {
    transform: translateX(3px);
}
/* フチをキラッと光らせるアニメーション要素（変更なし） */
.border-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  z-index: 1;
    /* 白い光のグラデーション */
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.6) 50%,
        transparent 60%
    );
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.3s ease;
}
/* ホバー時にアニメーションを開始（変更なし） */
.gradient-button:hover .border-container::after {
    opacity: 1;
    animation: border-shine 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
/* きらりと光るアニメーションの定義（変更なし） */
@keyframes border-shine {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

@media screen and (max-width: 1480px) {
  header .header-inner{   display: flex;
align-items: center;
justify-content: space-between;
   list-style: none;
       max-width: 1130px;
margin: 20px auto 0 auto;
     width: 95%;
}
}

@media screen and (max-width: 1100px) {
       .mail-btn {
        content: "";
        background-image: url(../images/mail.svg);
        display: block;
        background-size: 60%;
        background-position: center;
        background-repeat: no-repeat;
        cursor: pointer;
        z-index: 200;
        background-color: #fff;
        border: 3px solid #FFBF34;
        width: 70px;
        height: 70px;
        border-radius: 50px;
        margin-right: 20px;
    }
    .mail-btn.tel{background-image: url(../images/tel.svg);transform:rotateY('angle')}
    .sub_menu.js-sub-menu {
        display: none;
        width: 100%;
        position: static;
        box-shadow: none;
        padding: 0;
        margin-top: 0;
    }

    .drawer_nav_header {
        position: relative;
    }

    .active .drawer-nav__margin {
        margin-top: 0px !important;
    }

    .drawer-menu {
     position: fixed;
        top: 0;
        left: 100%;
        width: 100%;
        height: 100vh;
        background-color: #fff;
        transition: left 0.3s ease-in-out;
        z-index: 200; /* ここを十分に大きく */
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow-y: visible; /* 展開時に子要素が隠れないように */
    }

    .drawer_nav_list,
    .drawer_nav_panel {
        list-style: none;
        padding: 0;
    }

    .sub_menu {
        transform: inherit;
    }
body.is-fixed {
  position: fixed; /* これが最も重要 */
  width: 100%;
  height: 100vh; /* height: 100% の代わりに 100vh がより確実 */
  overflow: hidden; /* 念のため残しておきますが、fixedでほぼ機能します */
}
    .drawer_nav_link,
    .drawer_nav_sub-link {
        display: block;
        text-decoration: none;
        padding: 1rem;
        position: relative;
    }
    .top-page .fixed .header-inner .logo {
    margin-left: 0px;
}
    .drawer_nav_panel {
  display: none; /* JS が制御 */
        flex-direction: column;
        width: 100%;
        padding-left: 1rem;
        background-color: #fff;
    }
    .drawer_nav_panel li {
        padding: 0.5rem 0;
    }

    .drawer_nav_panel li a {
        display: block;
        text-decoration: none;
        color: #333;
        font-weight: 600;
    }
    header.fixed .header-inner .logo {
        margin-left: 0px;
    }

    header .right-link {
        display: none;
    }
    .top-page header .header-inner {
        max-width: 1130px;
    }

    /* PC用メニューを非表示に */
    .right-link {
        display: none;
    }

    .hamburger-menu span {
      display: block;
        width: 30px;
        height: 3px;
        background-color: #fff;
        margin: 6px 0;
        transition: transform 0.3s ease-in-out;
    }

    .hamburger-menu.active span:nth-child(1) {
       transform: translateY(9px) rotate(45deg);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* ドロワーメニューのスタイル */
    .drawer-menu {
        position: fixed;
        top: 0;
        left: 100%; /* 初期位置は画面外 */
        width: 100%;
        height: 100vh;
        background-color: #fff;
        transition: left 0.3s ease-in-out;
        z-index: 150;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hamburger-menu {
    display: block;
        cursor: pointer;
        z-index: 200;
        background-color: #FFBF34;
        padding: 20px;
        width: 70px;
        height: 70px;
        border-radius: 90px;
        position: relative;
    }

    .drawer-dropdown {
        margin-top: 50px;
    }

    .drawer-menu.open {
     left: 0;
        overflow-y: visible;
        justify-content: flex-start;
        padding-top: 100px;
    }
html .is-fixed,
html .is-fixed body {
    height: 100%;
    overflow: hidden;
}
.active{position: fixed;}
    .open .drawer-menu {
        justify-content: center;
        height: 100vh;
        left: 0;
        overflow-y: scroll;
         width: 100%;
  overflow: hidden;
  touch-action: none;
  -webkit-overflow-scrolling: auto;
    }

    .open {
        overflow: scroll ;
    }

    .drawer-menu li,
    .drawer-menu li:first-child,
    .drawer-menu li.dropdown {
        margin: 0 auto;
        padding: inherit;
        max-width: inherit;
        text-align: center;
    }

    .drawer-menu li.dropdown::before,
    .dropdown:hover::before {
        display: none;
    }

    .sub_menu {
        display: block;
        width: 100%;
        position: inherit;
        box-shadow: inherit;
    }

    .drawer-menu ul.sub_menu li a {
        font-size: 14px;
        padding: 10px 0;
    }

    header .drawer-menu .menu-item .dropdown-list {
        max-width: inherit;
    }

    .drawer-menu li a {
        padding: 15px 0;
        width: 100%;
        display: inline-block;
    }

    .dropdown li a:hover {
        background-color: inherit;
    }

    .dropdown p {
        margin-left: 0px;
    }

    .drawer-menu ul {
       list-style: none;
        padding: 0;
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
    }
header.fixed {
    background-color: #fff;
}
    /* =============================
       ＋／− オブジェクト＋アニメーション
    ============================= */
    .accordion-toggle {
 position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 1.5rem;
        height: 1.5rem;
        background: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 210;
    }

    /* ＋構成線 */
    .accordion-toggle::before,
    .accordion-toggle::after {
            content: "";
        position: absolute;
        background-color: #FFBF34;
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* 横線 */
    .accordion-toggle::before {
        width: 100%;
        height: 2px;
        transform-origin: center;
    }

    /* 縦線 */
    .accordion-toggle::after {
        width: 2px;
        height: 100%;
        transform-origin: center;
    }

    /* 開いた状態で縦線を縮める＋少し回転アニメで自然に見せる */
    .accordion-toggle.active::after {
        transform: scaleY(0) rotate(90deg);
        opacity: 0;
    }

    /* 横線を少しスムーズに伸縮させる演出 */
    .accordion-toggle.active::before {
        transform: rotate(0deg) scaleX(1);
    }
     .drawer-nav_link {
        display: block;
        text-decoration: none;
        padding: 1rem;
        position: relative; /* アコーディオンボタンの基準 */
    }
    .sp-btns{display: flex;gap: 10px;}
    .mail-btn{margin: 0;}
}

@media screen and (max-width:820px) {
    .footer-front {
        background-image: url(../images/footer-bg-sp.webp);
        width: 95%;
        margin: 0 auto;
        max-height: 580px;
    }

    .footer-front__wrap {
        top: inherit;
    }

    header.fixed .header-inner .logo {
        margin-left: inherit;
    }
}

@media screen and (max-width: 450px) {
  .logo img{max-width: 210px;}
 header .header-inner{margin: 0 auto;}
    .footer-front {
        background-image: url(../images/footer-bg-sp.webp);
        max-height: inherit;
        width: 95%;
        margin: 0 auto;
        height: 100vh;
        max-height: 370px;
    }
.hamburger-menu {
        padding: 15px;
        width: 60px;
        height: 60px;
    }
    .mail-btn {
        width: 60px;
        height: 60px;
    }
    .footer__left_logo nav {
        margin: inherit;
    }

    .nav-links {
        margin: 10px auto 80px auto;
    }

    .page-posts header ul {
        margin: 10px;
    }
}
