@charset "utf-8";

#mainVisual {
	padding: 20px 5% 50px;
	align-items: center;
	text-align: center;
}

.annotationBtnWrapper {
	font-size: 0.9em;
}
.annotationBtn {
	border-bottom: 1px solid #0054a6;
	color: #0054a6 !important;
	margin-right: 10px;
	line-height: 1.2;
}
@media screen and (max-width: 767px) {
    #mainVisual {
        padding: 0px 5% 50px;
    }
	.annotationBtnWrapper {
		font-size: 1rem;
		line-height: 1.4;
        margin-top: 5px;
	}
	.annotationBtn{
		font-size: 1rem;
	}
	.annotation {
		padding: 20px;
	}
}

.fv-fullwidth-section {
  width: 100vw; /* vw = viewport width（表示画面の幅） */
  max-width: none; /* 元のCSSのmax-widthを上書き */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  padding-left: 0;
  padding-right: 0;
  background-color: #7fcde7;
  padding-top: 8%;
  padding-bottom: 5%;
}

.fv-content-inner {
  max-width: 1180px; /* <--- 元のサイトの最大幅に合わせる */
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px; /* <--- 元のサイトの余白に合わせる */
  padding-right: 20px; /* <--- 元のサイトの余白に合わせる */
  box-sizing: border-box;
}

/*
.half-color-bg {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(to right, 
    #bee0c2 50%,
    #eaeea2 50%
  );
  padding-top: 5%;
  padding-bottom: 5%;
}
*/

@media screen and (min-width: 1025px) {
    .fv-content-inner img {
       width:70vw;
    }
    .half-color-bg img {
        width:70vw;
     }
   }

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .fv-content-inner img {
        width:65vw;
    }
    .half-color-bg img {
        width:65vw;
     }
   }
    
@media screen and (min-width: 481px) and (max-width: 768px){
    .fv-content-inner img {
        width:70vw;
    }
    .half-color-bg img {
        width:70vw;
     }
   }

  @media screen and (max-width: 480px) {
    .fv-content-inner img {
       width:80vw;
    }
    .half-color-bg img {
       width:80vw;
    }
   }


   /* --- ヘッダーとハンバーガーメニュー --- */
   body {
    margin: 0;
    /* プッシュ動作のための設定を削除 */
    position: relative; 
    overflow-x: hidden; 
    /* transition: transform 0.4s ease-in-out;  <-- 削除 */
}

/* body.menu-open { ... } <-- 削除 */

/* --- ヘッダーとハンバーガーメニュー --- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: none;
    border-bottom: none;
    position: fixed;
    width: 100%;
    top: 80px;
    left: 0;
    box-sizing: border-box; 
    z-index: 100;
    background: transparent; /* 背景を透明に */
    /* transition: transform 0.4s ease-in-out; <-- 削除 */
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

/* ハンバーガーボタン */
.hamburger-menu {
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 均等＞space-between */
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 210; /* メニュー本体より手前に */
    /* ▼▼ 変更点 ▼▼ */
    background: #fff;         /* 背景を白に */
    border: 2px solid #333; /* 枠線を追加 (線の色と合わせる) */
    padding: 5px;             /* 内側に余白を追加 */
    border-radius: 4px;
    transition: transform 0.4s ease-in-out; /* 左に動くアニメーション */
}

.hamburger-menu .line {
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease-in-out; /* ×印へのアニメーション */
    transform-origin: center; 
}

.hamburger-menu .line:not(:last-child) {
  margin-bottom: 10px; /* 3線の間隔 */
}

/* ×印アニメーション */
.hamburger-menu.is-active .line:nth-child(1) {
    transform: translateY(13px) rotate(45deg);
}
.hamburger-menu.is-active .line:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.is-active .line:nth-child(3) {
    transform: translateY(-13px) rotate(-45deg);
}

/* ▼▼ 追加 ▼▼ */
/* ボタン自体を左に動かす */
.hamburger-menu.is-active {
    transform: translateX(-280px); /* メニューの幅(280px)だけ左にスライド */
}

/* ナビゲーションメニュー本体 */
.nav-menu {
    position: fixed;
    top: 0;
    right: -280px; /* 初期状態は画面外(マイナス指定) */
    width: 280px;  /* メニューの幅 */
    height: 100vh;
    background: #333;
    padding-top: 60px;
    transition: right 0.4s ease-in-out;
    z-index: 200; /* ボタン(210)より後ろ */
}

.nav-menu.is-active {
    right: 0; /* アクティブ時にスライドイン */
}

/* --- 以下、CSSの変更なし --- */

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-menu li a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid #555;
}
.nav-menu li a:hover {
    background: #555;
}
main {
    padding-top: 60px; 
}
#section-tabs {
    padding: 20px;
    background: #fff;
    margin: 20px;
    border-radius: 8px;
}
.tab-buttons {
    display: flex;
    justify-content: center; /* space-around */
    margin-bottom: 20px;
    gap: 20px;
}
.tab-btn {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background: #f0f0f0;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.tab-btn.is-active {
    background: #ffd90d; 
    color: #000;
    border-color: #ffd90d;
    font-weight: bold;
    box-shadow: none;
}
.tab-btn img {
  width: 80%;
  height: 80%;
  object-fit: contain; 
}
.tab-content-container {
    overflow: hidden; 
}
.tab-content-wrapper {
    display: flex;
    width: 400%; 
    transition: transform 0.4s ease-in-out;
}
.tab-panel {
  width: 25%; /* 100% / 4パネル = 25% */
  flex-shrink: 0;
}
.tab-panel img {
  width: 80%; 
  height: auto;
  display: block;
  margin: 0 auto;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 300;
}
.modal-overlay.is-active {
    display: flex;
}
.modal-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}
.modal-close {
    float: right;
    font-size: 1.5rem;
    cursor: pointer;
    border: none;
    background: none;
}


        /* ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ */
        /* --- レスポンシブ対応 (SP) --- */
        /* 画面幅が 768px 以下の場合に適用 */
        /* ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ */
        @media (max-width: 768px) {
            
            /* タブボタン (SP) */
            .tab-buttons {
                gap: 5px;
                display: flex;
                justify-content: space-around; /* 中央均等配置 */
                overflow-x: hidden;
                padding: 5px 5px;
            }

            .tab-btn {
                width: 80px;
                height: 80px;
                border-radius: 8px;
                flex-shrink: 1;
                font-size: 0.7rem; 
            }

            .tab-btn img {
                width: 80%;
                height: 80%;
            }

            /* タブパネル (SP) */
            #section-tabs {
                margin: 10px;
                padding: 10px;
            }

            .tab-panel {
                padding: 0 5px;
            }
            .tab-panel img {
                width: 100%; 
                height: auto;
                display: block;
                margin: 0 auto;
              }

            /* ロゴ (SP) */
            .logo {
                font-size: 1.2rem;
            }
            
            /* ▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼ */
            /* ▼▼ ハンバーガーメニューのSP設定を追加 ▼▼ */

            /* (1) SPのヘッダー
            .header {
                padding: 8px 15px;
            } */
            main {
                /* (8px + 34px + 8px) + 枠2px*2 = 54px */
                padding-top: 46px; /* SPヘッダーの高さに合わせる */
            }

            .hamburger-menu {
                width: 36px; /* 30pxから縮小 */
                height: 36px; /* 24pxから縮小 */
                padding: 5px; /* 5pxから縮小 */
                background-color: gainsboro;
            }
            .hamburger-menu .line {
                height: 3px; /* 3pxから縮小 */
            }
            .hamburger-menu .line:not(:last-child) {
                margin-bottom: 5px; /* 5pxから縮小 */
            }
            /* ×印アニメーション (SP用) */
            .hamburger-menu.is-active .line:nth-child(1) {
                transform: translateY(8px) rotate(45deg);
            }
            .hamburger-menu.is-active .line:nth-child(3) {
                transform: translateY(-8px) rotate(-45deg);
            }

            /* (2) SPのナビメニュー幅 */
            .nav-menu {
                right: -150px; /* SPメニュー幅 */
                width: 150px;  /* SPメニュー幅 */
                padding-top: 46px; /* SPヘッダー高さ */
            }

            /* (3) SPのボタン移動距離 */
            .hamburger-menu.is-active {
                transform: translateX(-150px); /* SPメニュー幅(250px)だけスライド */
            }
            
            
            /* ▲▲ ハンバーガーメニューのSP設定ここまで ▲▲ */
            /* ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲ */

        }

/*----------------------------------------
  FAQ
------------------------------------------*/

.faqWrap2 {
    width: 80%;
    margin: 0 auto;
}

.faq-category-box {
    margin-bottom: 30px; /* カテゴリ同士の間隔 */
    border-bottom: 1px solid #ccc; /* 区切り線 */
  }
  
  .faq-category-title {
    /* 前回のh4のデザインをベースに調整 */
    margin: 0;
    padding: 15px 10px;
    font-size: 2rem;
    font-weight: bold;
    border-left: 5px solid #009cd0; /* 青い帯 */
    background-color: #fff;
    cursor: pointer; /* 指マークにする */
    list-style: none; /* デフォルトの三角を消す */
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Safari用 デフォルトマーカー消去 */
  .faq-category-title::-webkit-details-marker {
    display: none;
  }
  
  /* 右端の「＋」アイコン */
  .faq-category-title::after {
    content: '＋';
    display: block;
    font-size: 3rem;
    color: #009cd0;
    line-height: 1;
    margin-left: 20px;
    font-weight: normal;
  }
  
  /* 開いている時は「－」にする */
  .faq-category-box[open] > .faq-category-title::after {
    content: '－';
    color: #333;
  }
  
  /* 大項目が開いたときの中身の余白調整 */
  .faq-category-box[open] .faq-list {
    margin-top: 20px;
    margin-bottom: 40px;
    animation: fadeIn 0.3s ease; /* ふわっと表示 */
  }
  
  @keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
  }

.faq-list {
	max-width: 900px;
	width: 90%;
	margin: 2em auto;
	font-size: 1.8rem;
	border-top: 1px solid #e0e0e0;
  }
  
  .faq-item {
	border-bottom: 1px solid #e0e0e0;
	padding: 15px 0;
  }
  
  .faq-question {
	display: block; /* デフォルトの▶マーカー削除 */
	position: relative;
	padding: 10px 40px 10px 60px; /* アイコンや矢印用のスペース */
	font-size: 1.8rem;
	font-weight: 700;
	cursor: pointer; /* クリック */
  }
  /* summary::-webkit-details-marker { display: none; } /* Safari用のマーカー消去 */
  
  /* 「Q」アイコン */
  .faq-question::before {
	content: 'Ｑ';
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	width: 35px;
	height: 35px;
	line-height: 35px;
	text-align: center;
	background-color: #009cd0;
	color: white;
	border-radius: 5px;
  }
  
  /* 右端の「v」矢印アイコン */
  .faq-question::after {
	content: '∨';
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.8rem;
	color: #777;
	transition: transform 0.2s ease-out; /* アニメーション */
  }
  
  
  /* --- 回答部分 --- */
  .faq-answer {
	position: relative;
	padding: 20px 20px 10px 60px;
	line-height: 1.2;
	color: #000;
  }
  .faq-answer p {
	margin: 0 0 1em 0;
  }
  .faq-answer p:last-child {
	margin-bottom: 0;
  }
  
  /* 「A」アイコン */
  .faq-answer::before {
	content: 'Ａ';
	position: absolute;
	left: 10px;
	top: 20px;
	width: 35px;
	height: 35px;
	line-height: 35px;
	text-align: center;
	background-color: #f39800;
	color: #fff;
	border-radius: 5px;
	font-weight: bold;
  }
  
  /* アイテムが開いた時 */
  .faq-item[open] > .faq-question {
	color: #009cd0;
  }
  /* 矢印を180度回転 */
  .faq-item[open] > .faq-question::after {
	transform: translateY(-50%) rotate(180deg);
  }
  
  .dotList_faq {
	position: relative;
	padding-left: 1em;
}
  .dotList_faq::before {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	position: absolute;
	top: 12px;
	left: 0;
	background: #000;
}

  /*  スマホ用  */
  @media (max-width: 767px) {
	.faq-question {
	  font-size: 1.8rem;
	  line-height: 1.4;
	}
	.faq-answer {
	  font-size: 1.8rem;
	  line-height: 1.2;
	}
  }