/* 共通部分 */
body{
    background-color: #F2EFE9;
    color: #0A192F;
    font-size: 16px;
    line-height: 1.4rem;
    font-family: "Zen Old Mincho", serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5rem;
}

ol {
  list-style: decimal;
  margin-left: 2em;
}

.worries-section, .about-section, .value-section, .works-section, .flows-section, .price-section, .faq-section{
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

img{
    max-width: 100%;
    height: auto;
}

.title{
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
  font-size: 32px;
  margin-bottom: 4px;
}

.title-area{
    width: 560px;
    display: flex;
    gap: 32px;
    border-bottom: solid #0A192F 0.7px;
    margin: 80px 0 46px;
}

.btn {
    display: flex;
    flex-direction: column; 
    align-items: center;   
    justify-content: center;
    
    width: 320px;
    height: 100px;
    border-radius:15px;

    background: linear-gradient(to right, #634926, #C9944D, #634926);
    
    color: #ffffff;
    transition: 0.3s;

    margin-left: auto;
    margin-right: auto;
}

.btn .en {
    font-size: 32px;
    letter-spacing: 0.1em;
    line-height: 1.2;
}

.btn .ja {
    font-size: 16px;
    margin-top: 4px; 
}

.btn:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

/* --- スクロールフェードイン（他のセクション用） --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.0s ease-out, transform 1.0s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* スクロールトップ */
.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    background-color: #C9944D; /* ボタンと同じゴールド系 */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    text-decoration: none;
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    
    /* 最初は隠しておく */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}


.scroll-top.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top .arrow {
    width: 12px;
    height: 12px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(-45deg);
    margin-top: 5px;
}

.scroll-top:hover {
    background-color: #634926;
    transform: scale(1.1);
}

/* スマホでは少し小さくする */
@media screen and (max-width: 768px) {
    .scroll-top {
        width: 45px;
        height: 45px;
        right: 15px;
        bottom: 15px;
    }
}


/* 固定エリアのコンテナ */
.fixed-actions {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
    /* 最初は隠しておく */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

/* 表示状態 */
.fixed-actions.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 共通の丸ボタンデザイン */
.fixed-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.fixed-btn .arrow {
    width: 10px;
    height: 10px;
    border-top: 2px solid #C9944D; /* ゴールドの線 */
    border-right: 2px solid #C9944D;
    transform: rotate(-45deg);
    margin-top: 4px; /* 中心にくるよう微調整 */
    display: block;
}

.contact-btn:hover .icon-mail::after {
    border-top-color: #634926; /* ホバー時の濃い色に合わせる */
}

/* お問い合わせボタン（ゴールド系） */
.contact-btn {
    background: linear-gradient(135deg, #C9944D, #634926);
}

/* 上に戻るボタン */
.scroll-top-btn {
    background-color: #0A192F; 
    border: 1px solid #C9944D; 
}

/* --- アイコン：メール --- */
.icon-mail {
    width: 22px; 
    height: 16px;
    border: 2px solid #fff;
    position: relative;
    border-radius: 2px;
    background-color: transparent;
}

/* 封筒の「フタ」のV字部分 */
.icon-mail::before {
    content: "";
    position: absolute;
    top: 1px; 
    left: 50%;
    transform: translateX(-50%);

    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 9px 0 9px; 
    border-color: #fff transparent transparent transparent;
    z-index: 1;
}

/* フタの「内側の色」を抜いて線だけに見せるための重ね技 */
.icon-mail::after {
    content: "";
    position: absolute;
    top: -1px; /* 前の三角形より少し上にずらす */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 8px 0 8px; /* 一回り小さい三角形 */
    border-color: #C9944D transparent transparent transparent; /* ボタンの背景色（ゴールド系）と同じにする */
    z-index: 2;
}

/* ホバー時に背景色が変わる場合は、::afterの色も合わせる */
.contact-btn:hover .icon-mail::after {
    border-color: #634926 transparent transparent transparent; /* ホバー時の濃い茶色 */
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .fixed-actions {
        right: 15px;
        bottom: 15px;
        gap: 10px;
    }
    .fixed-btn {
        width: 45px;
        height: 45px;
    }
}

/* header____________________________________________________________________________________ */

.header{
    background-color: #0A192F;
    display: flex;   
    justify-content: space-between;
    align-items: center;
    padding-left: 32px;
    padding-right: 32px;
}

.header-logo img{
    margin: 22px 0;
    width: 200px;
    height: auto;
    display: block;

}

.header-nav ul{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 32px;
    color: #F2EFE9;
}

.header-nav ul li a.nav-btn {
    background: linear-gradient(to right, #634926, #C9944D, #634926); 
    color: #fff !important;    
    padding: 8px 20px;         
    border-radius: 4px;       
    transition: 0.3s;
}

.header-nav ul li a.nav-btn:hover {
    background-color: #b07d3b; 
    opacity: 1;
}

.hamburger, .nav-logo-sp{
    display: none;
}
/* mainvisial________________________________________________________________________________ */
.main-visual {
    position: relative; 
    overflow: hidden; 
    width: 100%;
}

.main-visual img {
    animation: zoom 20s infinite alternate;
}

.main-visual::after {
    content: ""; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
    rgba(0, 0, 0, 0.7) 0%, 
    rgba(0, 0, 0, 0.7) 30%, 
    transparent 70%
  );
}


.mv-img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- ズーム効果（Ken Burns） --- */
.ken-burns {
    animation: zoom 20s infinite alternate;
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

@keyframes zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* --- キャッチコピー用（読み込み直後にふわっと出す） --- */
.fade-in-text {
    opacity: 0;
    transform: translateY(20px);
    animation: textBlurIn 1.5s forwards 0.5s; /* 0.5秒遅れて開始 */
}

@keyframes textBlurIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.catchcopy{
    position: absolute;
    top: 40%;         
    left: 50%;        
    transform: translate(-50%, -50%); 
    z-index: 2;     
    text-align: start;
    width: 95%;      
}

.mv-copy{
    color: #FFFFFF;    
    font-size: 32px;   
    line-height: 3rem;
    letter-spacing: 0.1em; 
}

.mv-subcopy{
    color: #FFFFFF;

}

.mv-btn {
    position: absolute;
    right: 40px;
    bottom: 5%;
    display: flex;
    flex-direction: column; 
    align-items: center;    
    justify-content: center;

    width: 320px;  
    height: 100px;
    border-radius:15px;

    background: linear-gradient(to right, #634926, #C9944D, #634926);
    
    color: #ffffff;
    transition: 0.3s;
}

.mv-btn .en {
    font-size: 32px;
    letter-spacing: 0.1em;
    line-height: 1.2;
}

.mv-btn .ja {
    font-size: 16px;
    margin-top: 4px; 
}

.mv-btn:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

/* worries___________________________________________________________________________________ */
.worries-title{
    font-size: 24px;
    line-height: 2.5rem;
    text-align: center;
    margin: 80px auto 40px;
}

.font-large{
    font-size: 32px;
}

.worries-content{
    display: flex;
    flex-direction: column; 
    gap: 12px;
    align-items: center;
    max-width: 960px;      /* 画像540px + テキスト464px + 隙間32px ＋ 余裕 */
    margin: 0 auto 32px;
}

.worries-box{
    display: flex;
    align-items: center;
    gap: 32px;
}


.worries-img img{
    width: 480px;
}

.worries-text{
    width: 448px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.worries-text h3{
    font-size: 20px;
}


/* answer-section____________________________________________________________________________ */
.answer-section {
  position: relative;

  background: radial-gradient(
    circle at 50% 40%, 
    #112F5C 0%,   
    #0A192F 60%,  
    #050c18 100%
  );
  color: #F2EFE9;
  padding: 80px 20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.answer-container {
  max-width: 960px;
  width: 100%;
  text-align: center;
}

.vertical-line {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #C9944D);
  margin: 0 auto 40px;
}

/* 導入メッセージ */
.answer-lead {
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.answer-main {
  font-size: 2.2rem;
  line-height: 1.6;
  color: #C9944D;
  margin-bottom: 3rem;
  font-weight: 600;
  /* 文字の背後にわずかな光を纏わせる */
  text-shadow: 0 0 20px rgba(201, 148, 77, 0.4);
  letter-spacing: 0.1em;
}

/* 説明文と結びの言葉 */
.answer-description, .answer-closing {
  font-size: 1rem;
  line-height: 2.2;
  letter-spacing: 0.08em;
  margin-bottom: 3rem;
}

.closing-phrase {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* ABOUTへの誘導線 */
.scroll-guide {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, #C9944D, transparent);
  margin: 40px auto 0;
}



/* about_____________________________________________________________________________________ */
.about-content{
    display: flex;
    flex-direction: column; /* 子要素を縦に並べる */
    gap: 64px;
    align-items: center;
    max-width: 960px;      /* 画像540px + テキスト464px + 隙間32px ＋ 余裕 */
    margin: 0 auto;  
}

.about-box{
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 32px;
}

.about-img img{
    width: 512px;
}

.about-text{
    width: 416px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}


.about-item h3{
    font-family: "Zen Old Mincho", serif;
    font-weight: 600;
    font-style: bold;
    
}

/* value_________________________________________________________________________________________________*/
.value-content{
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.value-box-top, .value-box-bottom{
    display: flex;
    text-align: center;
    gap: 46px;
    justify-content: center;
    align-items: center;
}

.value-item{
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 244px;
}

.value-item h3{
    opacity: 0.8;
}

.value-img img{
    width: 100px;
}

.award-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

/* フレームと文字を重ねるための親 */
.award-frame {
    position: relative; 
    width: 300px;      
}

.award-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* 文字を画像の中央に浮かせる */
.award-text {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

/* 「100%」のデザイン */
.percent {
    font-size: 64px;
    color: #C9944D;        /* 画像の金色に合わせる */
    line-height: 1;
    margin-bottom: 8px;
}

/* 「リピート率」などのデザイン */
.label {
    font-size: 36px;
    color: #0A192F;
    letter-spacing: 0.1em;
}

.award-attention{
    text-align: end;
    margin-top: 32px;
    font-size: 12px;
}

/* works___________________________________________________________________________________________________ */
.works-content{
    display: flex;
    gap: 12px;
    max-width: 960px;
    align-items: flex-start; /* 上揃えにして、縦の引き伸ばしを防ぐ */
}

.works-box{
    display: flex;
    flex-direction: column; 
    gap: 12px;
    flex: 1; /* 3つの幅を「均等」にする魔法の1行 */
    text-align: center;
    flex: 1;
}

.works-img img{
    width: 100%;           /* 親の幅（均等に割られた幅）に合わせる */
    aspect-ratio: 16 / 9;  /* ★横長で統一（1 / 1 なら正方形） */
    object-fit: cover;
    
}
.works-text h3{
    font-family: "Zen Old Mincho", serif;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.works-text p{
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
}

.slider-dots {
    display: none; /* PCではドットを隠す */
}

/* flows_________________________________________________________________________________\ */
.flows-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* 上揃え */
    max-width: 960px;
    margin: 0 auto;
}

.flows-item {
    flex: 1; /* 均等幅 */
    text-align: center;
}

.flows-img {
    height: 100px; /* アイコンの高さを揃える箱 */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.flows-img img {
    width: 80px; /* アイコンのサイズ（適宜調整） */
    height: auto;
}

.flows-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    white-space: nowrap; /* タイトルを改行させない */
}

.flows-item p {
    font-size: 14px;
    line-height: 1.6;
}

/* 矢印の本体（横線） */
.flow-arrow {
    display: block;
    width: 60px;          /* 矢印の長さ */
    height: 3px;           /* 線の太さ */
    background-color: #0A192F; /* 矢印の色（ゴールド系） */
    
    /* ★ここが重要：アイコンの真横（上下中央）に持ってくる */
    position: relative;    /* 先端の基準点になる */
    top: 50px;             /* アイコンの高さ（例：100px）の半分くらい下げる */
    margin: 0 10px;       /* 左右の要素との隙間 */
}

/* 矢印の先端（山型の線） */
.flow-arrow::after {
    content: '';           /* 必須：中身は空っぽ */
    position: absolute;    /* 本体を基準にする */
    top: -3px;             /* 先端の縦位置調整（太さの半分） */
    right: 0;              /* 本体の右端にくっつける */
    
    /* ★四角い箱の右と上だけ線を描き、回転させる */
    width: 10px;          /* 先端の大きさ */
    height: 10px;
    border-top: 3px solid #0A192F; /* 本体の色と合わせる */
    border-right: 3px solid #0A192F;
    transform: rotate(45deg);     /* 45度回転させて「>」にする */
}

/* price____________________________________________________________________________________________ */
.price-container {
    display: flex;
    justify-content: center;
    align-items: stretch; /* 高さを揃える */
    gap: 20px;
    max-width: 1100px;
    margin: 60px auto;
}

.price-card {
    flex: 1;
    background-color: #0A192F; /* 濃い紺色 */
    color: #fff;
    padding: 60px 30px;
    text-align: center;
    position: relative; /* バッジの基準 */
}

.price-card:nth-child(1) { order: 2; } /* 当日エンドロールを真ん中に */
.price-card:nth-child(2) { order: 1; } /* トータルパックを左に */
.price-card:nth-child(3) { order: 3; } /* 総会は右のまま */

/* 中央のカードだけ特別仕様 */
.price-card.is-active {
    background: linear-gradient(135deg, #204F95, #0A192F); /* グラデーション */
}

/* 人気No.1バッジ */
.medal {
    position: absolute;
    top: -40px;
    left: 10%;
    transform: translateX(-50%);
    background-color: #C9944D;
    color: #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.price-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.price-amount {
    font-size: 32px;
    color: #fff;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #fff; /* 金額の下の白い線 */
    display: inline-block;
    width: 80%;
}

.is-active .price-amount {
    color: #C9944D; /* 中央だけ金額をゴールドに */
    border-bottom-color: #fff;
}

.price-detail p {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.price-note {
    margin-top: 40px;
}

.price-dots { display: none; }

/* faq_____________________________________________________________________________________ */
.faq-container{
    max-width: 830px;
    margin: 0 auto;
    width: 100%;
}
/* 答えを最初は非表示にする */
.faq-answer {
    display: grid; /* JavaScriptで制御 */
    grid-template-rows: 0fr; /* 最初は高さを「0」にする */
    transition: 0.3s ease-out; /* ここで滑らかに動かす */
    overflow: hidden; /* はみ出た中身を隠す */
    border-top: none; /* 閉じている時は線も消しておく */
    background-color: #F2EFE9; /* 答えの背景色を変えると見やすい */
    border-top: 1px solid #eee;
    border-bottom: solid 1px #0A192F;
}

/* 質問エリアの設定 */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px;
    cursor: pointer; /* マウスを乗せたら指マークにする */
    background-color: #F2EFE9;
    transition: 0.3s;
    font-size: 20px;
}

.faq-question:hover {
    background-color: #F2EFE9; /* ホバー時に少し色を変える */
}

/* 矢印をCSSで作る（以前の矢印の応用） */
.faq-arrow {
    width: 10px;
    height: 10px;
    border-top: 2px solid #0A192F;
    border-right: 2px solid #0A192F;
    transform: rotate(135deg); /* 下向きの矢印 */
    transition: 0.3s;
}

/* ★開いている時の矢印（JSで付与するクラス名：is-open） */
.faq-item.is-open .faq-arrow {
    transform: rotate(-45deg); /* 上向きに変える */
}

/* 2. 中身が「開いた時」の設定 */
.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr; /* 高さを「中身ぴったり」まで広げる */
    border-top: 1px solid #eee; /* 開いたら線を出す */

}
/* 3. 答えの「中身（テキスト）」の設定 */
/* Gridで高さを0にしても、中の余白(padding)があると隙間ができるので、中のdivにpaddingを振ります */
.faq-answer-inner {
    min-height: 0;
}

.faq-answer-inner p {
    padding: 15px 32px; /* ここで余白を調整 */
}

/* footer________________________________________________________________________________________ */
footer{
    background-color: #0A192F;
}

.footer-area{
    width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-title{
    display: flex;
    justify-content: start;
    align-items: center;
    margin: 24px 0;
    gap: 12px;
    border-bottom: solid 1px #F2EFE9;
}


.footer-logo img{
    margin: 22px 0;
    width: 200px;
    height: auto;
    display: block;
}

.footer-title p{
    color: #F2EFE9;
}

.footer-nav{
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-nav li a{
    color: #F2EFE9;
}

.hvc-logo img{
    width: 200px;
    height: auto;
    display: block;
}

.copyright{
    color: #F2EFE9;
    opacity: 0.7;
    text-align: center;
}


/* レスポンシブ対応＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿*/

/* レスポンシブ調整 */
@media (max-width: 768px) {

    /* 共通____________________________________ */

    .worries-section, .about-section, .value-section, .works-section, .flows-section, .price-section, .faq-section{
        max-width: 375px;
        padding: 0;
    }

    .title{
        font-size: 24px;
    }

    .title-area {
        width: 100%;
        display: block;
        justify-content: center; /* 中央に寄せる */
        text-align: center;
        margin: 60px 0 46px;
    }

    .btn {
        width: 280px;      /* 320pxから少しコンパクトに */
        height: 80px;      /* 高さも少し抑える */
        border-radius: 10px; /* 小さくなる分、角丸も少し抑えるとバランスが良い */
    }

    .btn .en {
        font-size: 24px;   /* 32px → 24px */
        letter-spacing: 0.05em;
    }

    .btn .ja {
        font-size: 13px;   /* 16px → 13px */
        margin-top: 2px;
    }

    /* ヘッダー________________________________________ */
    .hamburger {
        display: block;
        position: relative;
        z-index: 5;
        width: 30px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
    }

    /* ボタンの3本線 */
    .hamburger span {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #C9944D;
        transition: 0.3s;
    }
    .hamburger span:nth-child(1) { top: 0; }
    .hamburger span:nth-child(2) { top: 11px; }
    .hamburger span:nth-child(3) { bottom: 0; }

    /* ★開いた時のボタン（×印にする） */
    .is-open.hamburger span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
    .is-open.hamburger span:nth-child(2) { opacity: 0; }
    .is-open.hamburger span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

    /* 2. ナビゲーションを画面いっぱいの「覆い」に変える */
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%; /* 最初は画面の外（右側）に隠す */
        width: 100%;
        height: 100vh;
        background-color: rgba(10, 25, 47, 0.95); /* 濃い紺の透過 */
        transition: 0.4s;
        z-index: 4;
        display: flex;
        flex-direction: column;
        justify-content: center; /* 上下中央 */
        align-items: center;    /* 左右中央 */
    }

    /* ★開いた時のメニュー（画面内に入れる） */
    .header-nav.is-open {
        right: 0;
    }

    .nav-logo-sp {
        display: block;      /* スマホでは表示 */
        margin-top: 40px; /* メニュー項目との距離 */
        width: 150px;        /* ロゴのサイズ（適宜調整） */
    }

    .nav-logo-sp img {
        width: 100%;
        height: auto;
    }

    .header-nav ul {
        display: flex;
        flex-direction: column; 
        justify-content: center;
        align-items: center;
        text-align: center;
        height: auto;
        gap: 20px;
        margin: 0;
    }

    .header-nav ul li a {
        text-decoration: none;
        font-size: 20px;       /* スマホで押しやすいサイズ */
        letter-spacing: 0.1em;
        display: block;
        padding: 10px 20px;    /* タップ範囲を広げる */
    }

    .header-nav ul li a.nav-btn {
        width: 200px;          /* スマホメニュー内では幅を広げて押しやすく */
        margin-top: 10px;      /* 上の項目と少し距離を置く */
        padding: 15px 0;       /* 高さを出す */
        font-weight: bold;
    }

/* メインビジュアル＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿ */

    /* 1. セクション全体のレイアウト調整 */
    .mainvisual-section {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .main-visual {
        width: 100%;
        height: 88vh;
        position: relative;
    }

    /* 3. 画像本体：枠いっぱいに切り抜いて表示 */
    .mv-img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* 歪ませずに余白を埋める */
        object-position: center; /* 中央を基準にする */
    }

    /* 4. 黒い幕：画像と同じ高さに合わせる */
    .main-visual::after {
        height: 100%;
    }

    /* 5. キャッチコピー：画像の中央付近に配置 */
    .catchcopy {
        position: absolute; /* 画像の上に重ねる */
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
    }

    .mv-copy {
        font-size: 24px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .mv-subcopy {
        font-size: 16px;
        line-height: 1.6;
        color: #FFFFFF;
    }

    /* 6. ボタン：画像の下（または少し被る位置）に配置 */
    .mv-btn {
        position: relative; /* 重なりを解除して縦に並べる */
        right: auto;
        bottom: auto;
        margin-top: -120px; /* 画像の下端に少し被せて一体感を出す */
        z-index: 3;
        width: 280px;
        height: 80px;
    }

    .mv-btn .en {
        font-size: 24px;
    }
    .mv-btn .ja {
        font-size: 14px;
        margin-top: 2px;
    }

/* お悩み＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿ */
    .worries-title {
        font-size: 20px; /* スマホ用に小さく */
        line-height: 1.6;
        margin: 60px 20px 30px; /* 左右に余白を作る */
    }

    .font-large {
        font-size: 24px;
        display: block; 
    }

    /* 2. コンテンツ全体の調整 */
    .worries-content {
        gap: 40px; /* ボックス同士の間隔を広げる */
        padding: 0 20px; /* 画面端に文字がくっつかないように */
    }

    /* 3. 各ボックスの調整（ここが重要！） */
    .worries-box {
        flex-direction: column !important; /* 強制的に縦並びにする */
        gap: 15px;
        width: 100%;
    }

    /* 2つ目のボックス（画像が右にあるもの）の順番を入れ替える */
    .worries-box:nth-child(2) {
        flex-direction: column-reverse !important; /* 画像を上に、テキストを下に */
    }

    /* 4. 画像サイズの調整 */
    .worries-img, 
    .worries-img img {
        width: 100%; /* 画面幅いっぱいに */
        height: auto;
    }

    /* 5. テキスト幅の調整 */
    .worries-text {
        width: 100%; /* 横幅いっぱい */
        text-align: left;
    }

    .worries-text h3 {
        font-size: 16px;
        line-height: 1.4;
        text-align: center;
    }

    .worries-text p {
        font-size: 14px;
        line-height: 1.6;
    }

/* answer */
    .pc-only { 
        display: none;
    }
    .answer-main { 
        font-size: 1.6rem;
    }
    .answer-section { 
        padding: 80px 20px;
    }

/* あばうと＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿ */

.about-content {
        gap: 40px; /* ボックス同士の間隔 */
        padding: 0 20px;
    }

    /* 1つ目のボックス：画像が先、テキストが後の順に「逆転」させる */
    .about-box:nth-child(1) {
        flex-direction: column-reverse !important;
    }

    /* 2つ目のボックス：すでにHTMLで画像が先ならそのままでOK */
    .about-box:nth-child(2) {
        flex-direction: column !important;
    }


    /* 3. 画像を画面いっぱいに */
    .about-img, 
    .about-img img {
        width: 100%;
        height: auto;
    }

    /* 4. テキストエリアの幅を100%に */
    .about-text {
        width: 100%;
        gap: 32px; /* 項目ごとの隙間 */
    }

    /* 5. 見出しと文章の微調整 */
    .about-item h3 {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 10px;
        br { display: none; } /* スマホでは変な位置で改行されないよう br を消すのも手 */
    }

    .about-item p {
        font-size: 14px;
        line-height: 1.7;
    }

    /* 6. ボタン（共通クラス .btn の場合） */
    .about-section .btn {
        margin: 40px auto 0;
        width: 90%; /* スマホでは横幅いっぱいに近くする */
    }

    /* バリュー＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿￥ */
    .value-content {
        gap: 40px;
        padding: 0 20px;
    }

    /* 2. 横並びを解除して縦1列に */
    .value-box-top, 
    .value-box-bottom {
        flex-direction: column;
        gap: 40px;
    }

    /* 3. 各アイテムの幅を100%に */
    .value-item {
        width: 100%;
        gap: 16px;
    }

    .value-item h3 {
        font-size: 20px;
    }

    .value-item p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* 4. 月桂樹（アワード）エリアの調整 */
    .award-container {
        flex-direction: column; /* 縦に並べる */
        align-items: center;    /* 中央寄せ */
        gap: 32px;
        padding: 40px 0;
    }

    /* 月桂樹のフレームサイズをスマホ向けに少し小さく */
    .award-frame {
        width: 260px; 
    }

    /* 中の数字と文字のサイズを微調整（はみ出し防止） */
    .percent {
        font-size: 56px;
    }

    .label {
        font-size: 28px;
    }

    /* ワーク＿＿＿＿＿＿＿＿＿＿＿＿＿＿ */
    .works-content {
        display: flex; /* 縦にせず横並びを維持 */
        gap: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0 20px;
    }

    .works-box {
        flex: 0 0 100%; /* 1枚の幅を固定 */
        scroll-snap-align: center;
        margin-right: 15px;
    }

    .slider-dots {
        display: flex !important; /* ★!importantをつけて強制的に表示させる */
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
        position: relative; /* 他の要素に埋もれないように */
        z-index: 10;
    }

    .dot {
        display: block; /* ★これが必要な場合があります */
        width: 10px;    /* 少し大きくしました */
        height: 10px;
        background-color: #bbbbbb; /* ★薄いグレー（未選択） */
        border-radius: 50%;
    }

    .dot.is-active {
        background-color: #0A192F; /* ★濃い紺（選択中） */
    }

/* フロー＿＿＿＿＿＿＿＿＿＿＿＿ */
    .flows-container {
        flex-direction: column;
        align-items: center;
        gap: 0; /* 矢印で調整するので一旦0に */
    }

    /* 2. 各アイテムの調整 */
    .flows-item {
        width: 100%;
        margin-bottom: 0;
    }

    .flows-img {
        height: 80px; /* 少しコンパクトに */
        margin-bottom: 10px;
    }

    .flows-item h3 {
        font-size: 18px;
        white-space: normal; /* スマホでは改行を許可 */
        margin-bottom: 10px;
    }

    /* 3. 矢印を「下向き」に大改造 */
    .flow-arrow {
        width: 2px;          /* 横幅を細く（縦線の太さ） */
        height: 30px;        /* 縦の長さを指定 */
        top: 0;              /* 位置のリセット */
        margin: 20px auto;   /* 上下に余白を作り、中央寄せ */
    }

    /* 矢印の先端（山型）を下に向ける */
    .flow-arrow::after {
        top: auto;
        bottom: 0;           /* 下端にくっつける */
        right: -4px;         /* 線の中心に合わせる微調整 */
        transform: rotate(135deg); /* 45度から135度に変えて下向きにする */
    }

/* プライス＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿ */

    .price-container {
        /* 横スクロールの設定 */
        display: flex !important;
        justify-content: flex-start !important; 
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        margin: 0 20px 20px; /* 上・左右・下 */
        
        /* スクロールバーを非表示 */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .price-container::-webkit-scrollbar {
        display: none;
    }

    .price-card {
        flex: 0 0 85%; 
        scroll-snap-align: center;
        margin-top: 50px;
        padding: 40px 20px;
        box-sizing: border-box; 
        order: initial !important; /* スマホではHTMLの順（2→1→3）通りに並べる */
    
    }

    /* --- 人気No.1バッジのスマホサイズと位置調整 --- */
    .medal {
        top: -40px; 
        left: 38%; 
        transform: none; 
        font-size: 14px;
        width: 70px;
        height: 70px;
        line-height: 1.2; /* 改行時の行間調整 */
        box-shadow: 0 2px 8px rgba(0,0,0,0.3); /* 影を少し控えめに */
    }

    /* 金額のフォントサイズ調整 */
    .price-title {
        font-size: 20px;
    }
    .price-amount {
        font-size: 28px;
        width: 100%;
    }

    /* ドットインジケーターの表示 */
    .price-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        margin: 20px 0;
    }
    
    .p-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: 1px solid #0A192F;
        background-color: transparent;
        transition: background-color 0.3s;
    }

    .p-dot.is-active {
        background-color: #0A192F;
    }

    /* FAQ____________________________________________ */
.faq-container {
        width: 90%; /* 画面端にくっつきすぎないように */
        margin: 0 auto;
    }

    /* 2. 質問エリア：paddingを減らして文字サイズを調整 */
    .faq-question {
        padding: 20px 15px; /* 上下20px, 左右15pxに削減 */
        font-size: 16px;    /* スマホで見やすいサイズに落とす */
        gap: 10px;          /* 文字と矢印の間の最低限の隙間 */
    }

    .faq-question p {
        line-height: 1.4;
        flex: 1;            /* テキストが長くても矢印を押し出さないようにする */
    }

    /* 3. 矢印：見切れないようにマージンを調整 */
    .faq-arrow {
        flex-shrink: 0;     /* 矢印が潰れないように固定 */
        width: 8px;         /* 少しだけ小さく */
        height: 8px;
        margin-right: 5px;  /* 右端に余裕を持たせる */
    }

    /* 4. 答えのエリア：余白を質問側に合わせる */
    .faq-answer-inner p {
        padding: 15px;      /* 左右の余白を15pxに合わせる */
        font-size: 14px;    /* 答えは少し小さめが読みやすい */
        line-height: 1.6;
    }

    /* フッターーーーーーーーーーーーーーーーーーー */

    .footer-area {
        width: 100%; 
        margin-top:32px;
        padding:20px;
        text-align: center; 
    }

    /* 1. ロゴと説明文のエリア */
    .footer-title {
        flex-direction: column; /* 縦並びに */
        gap: 8px;
        padding-bottom: 20px;
        position: relative;
    }

    /* 境界線を短く中央に出したい場合のおまじない */

    .footer-logo img {
        margin: 0 auto 10px; /* ロゴの中央寄せ */
        width: 180px; /* スマホ用に少し小さく */
    }

    .footer-title p {
        font-size: 14px; /* テキストサイズを微調整 */
    }

    /* 2. ナビゲーション */
    .footer-nav {
        flex-direction: column; /* 縦並びに */
        gap: 15px;
        margin: 30px 0 0;
        padding: 0;
    }

    .footer-nav li a {
        font-size: 13px;
        display: block;
    }

    /* 3. 運営会社ロゴとコピーライト */
    .hvc-logo img {
        margin: 0 auto 20px; /* 中央寄せ */
        width: 150px;
    }

    .copyright {
        font-size: 12px;
    }

    
}


/* プライバシーポリシと利用規約ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
.l-page-privacy, .l-page-terms{
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    color: #333;
    line-height: 1.8;
}

.privacy-section, .terms-section{
    margin: 32px;
}

.privacy, .terms{
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

.privacy-title, .terms-title{
    font-size: 20px;
    font-weight: 600;
}

.privacy-list-head{
    color: #2c3e50;    /* 真っ黒ではなく、少し紺色を混ぜて上品に */
    display: block;
}

/* Contact Page Specific ________________________________________________________________ */

.contact-page-section {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    padding: 120px 32px 100px; /* ヘッダーの高さを考慮した余白 */
    background-color: #F2EFE9;
}

.contact-container {
    max-width: 600px;
    margin: 60px auto 0;
}

.form-group {
    margin-bottom: 32px;
}

.form-group label {
    display: block;
    font-family: "Zen Old Mincho", serif;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0A192F;
}

.badge-req {
    background-color: #C9944D;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    margin-left: 8px;
    vertical-align: middle;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #0A192F;
    background-color: #fff;
    font-family: "Zen Old Mincho", serif;
    font-size: 16px;
}

.form-group textarea {
    height: 200px;
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background: linear-gradient(to right, #634926, #C9944D, #634926);
    color: #F2EFE9;
    width: 100%;
    max-width: 320px;
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

.back-to-top {
    text-align: center;
    margin-top: 32px;
}

.back-to-top a {
    color: #0A192F;
    text-decoration: underline;
    font-size: 14px;
}

/* 同意チェックボックスのスタイリング */
.form-consent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 40px 0 24px;
}

.form-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #0A192F; /* 紺色をアクセントに */
}

.form-consent label {
    font-size: 14px;
    margin-bottom: 0 !important;
    cursor: pointer;
    font-family: "Zen Old Mincho", serif;
}

.form-consent a {
    color: #0A192F;
    text-decoration: underline;
    font-weight: 700;
}

.form-consent a:hover {
    color: #C9944D;
}

@media screen and (max-width: 768px) {
    .contact-page-section { padding: 80px 20px; }
    .submit-btn { width: 100%; }
}

