/* ===============================================
 * 自分史づくりページ スタイル
 * =============================================== */

 /* 全画面動画のコンテナ */
.fullscreen-video-container {
    position: fixed; /* 画面に固定 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* 他のコンテンツより背面に配置 */
    overflow: hidden; /* コンテナからはみ出た動画を隠す */
}

/* 動画要素のスタイル */
#fullscreen-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* アスペクト比を維持したまま、コンテナ全体を覆う */
}

/* 動画の上に重ねるコンテンツのスタイル */
.overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex; /* Flexboxを使用して中央揃え */
    flex-direction: column; /* 要素を縦に並べる場合 */
    justify-content: center; /* 垂直方向中央 */
    align-items: center; /* 水平方向中央 */
    text-align: center;
    color: #ffffff; /* 文字色（動画に合わせて調整してください） */
}

.overlay-content h1 {
    font-size: clamp(2.5rem, 6vw, 5rem); /* レスポンシブなフォントサイズ (最小, 推奨, 最大) */
    font-weight: bold;
    margin: 0 0 20px 0; /* 下に少しマージン */
    padding: 0 20px; /* 左右にパディング */
    line-height: 1.3;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* 文字の視認性を高める影 */
    /*
    よりくっきりさせたい場合：
    text-shadow:
        0 0 5px rgba(0,0,0,0.7),
        0 0 10px rgba(0,0,0,0.7),
        0 0 15px rgba(0,0,0,0.7);
    */
}

/*
.overlay-content p {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin: 0;
    padding: 0 20px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}
*/

/* 画面幅が小さい場合の調整例 */
@media (max-width: 768px) {
    .overlay-content h1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    /*
    .overlay-content p {
        font-size: clamp(0.9rem, 4vw, 1.2rem);
    }
    */
}

/* ----- 共通スタイル ----- */
.main-content-area {
    /* メインコンテンツエリア全体 */
    width: 100vw;
    overflow: hidden;
    /* はみ出し防止 */
}

.container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

.bg-light-beige {
    background-color: var(--bgColorSection);
    /* 温かみのある薄いベージュ系（仮） */
    /* または既存のCSS変数 var(--bgColorSection) などを使用 */
    /* background-color: var(--bgColorSection); */
}

.section-title-animal {
    height: 120px;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--subColor);
}

span.section-title-animal-sub {
    display: block;
    font-size: 0.9rem;
    /* margin-top: 5px; */
    font-family: sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
}

.section-lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--textColor, #6e6d6d);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button,
.cta-button--secondary {
    /* 共通ボタンスタイルを流用・調整 */
    display: inline-block;
    padding: 12px 35px;
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    border: none;
    background-image: linear-gradient(to bottom, #feb12c, #fc5903);
    /* サイト共通カラー */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15);
    transition: transform 0.1s ease, filter 0.2s ease;
    cursor: pointer;
}

.cta-button:hover,
.cta-button:focus,
.cta-button--secondary:hover,
.cta-button--secondary:focus {
    color: #ffffff;
    filter: brightness(110%);
}

.cta-button:active,
.cta-button--secondary:active {
    transform: scale(0.98);
    filter: brightness(100%);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* セカンダリボタン（例：枠線のみ） */
.cta-button--secondary {
    background-image: none;
    background-color: #fff;
    color: #fc5903;
    /* メインカラー */
    border: 2px solid #fc5903;
}

.cta-button--secondary:hover,
.cta-button--secondary:focus {
    background-color: #fff7e9;
    /* 薄いオレンジ */
    color: #d94d02;
    /* 濃いオレンジ */
    filter: none;
}

.section-button-area {
    text-align: center;
    margin-top: 40px;
}

.pc-only {
    display: inline;
}

.sp-only {
    display: none;
}

@media screen and (max-width: 767px) {
    .container {
        padding-top: 50px;
    }

    .section-padding {
        padding-top: 0;
        padding-bottom: 0;
    }

    .pc-only {
        display: none;
    }

    .sp-only {
        display: inline;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-lead {
        font-size: 1rem;
    }
}


/* ----- 1. ファーストビュー ------------------------------------------------------ */
/* アニメーション対象要素の共通の初期状態 */
.animal-hero__title,
.animal-hero__subtitle,
.animal-hero__cta,
.section-title-animal,
.animal-about__text {
    opacity: 0; /* 最初は透明 */
    transform: translateY(40px); /* 少し下にずらしておく（スッと上がる演出のため） */
    transition: opacity 1.2s ease-out, transform 1.2s ease-out; /* アニメーション効果 */
}

/* JavaScriptによってこのクラスが追加されると表示される */
.animal-hero__title.is-visible,
.animal-hero__subtitle.is-visible,
.animal-hero__cta.is-visible,
.section-title-animal.is-visible,
.animal-about__text.is-visible {
    opacity: 1; /* 表示 */
    transform: translateY(0); /* 元の位置に戻す */
}


section.animal-hero-video {
    width: 100vw;
    height: 114vh;
}

.animal-hero {
    position: relative;
    padding-top: 210px;
    /* height: 60vh; */
    /* min-height: 580px; */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.animal-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.animal-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 画像をエリアに合わせて調整 */
    object-position: center center;
}

/* スクロールオーバーレイのスタイル */
#scroll-overlay {
    position: fixed; /* 画面に固定 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* 半透明の黒 (0.5の部分で透明度を調整) */
    opacity: 0; /* 初期状態では透明 */
    visibility: hidden; /* 初期状態では見えないし、操作もできない */
    z-index: -1; /* 他の要素より手前に表示（必要に応じて調整） */
    pointer-events: none; /* オーバーレイが下の要素のクリックなどを妨げないように */
    transition: opacity 0.8s ease, visibility 0s ease 0s; /* フェードイン・アウトのアニメーション */
    /* visibilityのtransitionは、opacityが0になった後に非表示にするための設定 */
  }
  
  /* is-activeクラスが付与されたときのスタイル */
  #scroll-overlay.is-active {
    opacity: 1; /* 不透明にする */
    visibility: visible; /* 見えるようにする */
    transition: opacity 0.8s ease, visibility 0s ease 0s; /* visibilityの遅延をなくす */
  }

.animal-hero__content {
    max-width: 800px;
    padding: 20px;
}

.animal-hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 30px;
    line-height: 1.3;
    font-weight: bold;
    /* font-family: var(--notom); */
    text-shadow: 6px 4px 8px rgba(0, 0, 0, 1);
}

.animal-hero__subtitle {
    font-size: clamp(0.95rem, 4vw, 1.3rem);
    margin-bottom: 40px;
    text-shadow: 2px 4px 3px rgba(0, 0, 0, 1);
}

.animal-hero__cta {
    /* CTAボタン用のマージンなど */
}

@media screen and (max-width: 991px) {
    section.animal-hero {
        margin-bottom: 55px;
    }
}

@media screen and (max-width: 767px) {
    section.animal-hero {
        margin-bottom: 25px;
    }
	
	.animal-hero a.cta-button {
    font-size: 0.8rem;
    padding: 12px;
}
}



/* ----- 2. 家族の物語 ----- */
section.animal-about {
    height: 100vh;
    margin-top: 150px;
}

.animal-about__area {
    text-align: center;
}

.animal-about h2 {
    margin-bottom: 50px;
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1.5;
}

.animal-about__text {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: var(--white);
}

.animal-about__image {
    width: 50%;
    text-align: center;
    margin: 40px auto;
}

.animal-about__image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    /* 画像が大きくなりすぎないように */
}

@media screen and (max-width: 991px) {
    section.animal-about.section-padding {
        padding-top: 0;
        margin-bottom: 0;
    }

    .animal-about__text {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .animal-about__image {
        width: 80%;
        margin: 30px auto;
    }

    .animal-about__image img {
        margin-top: 25px;
        max-width: 60%;
    }
}

@media screen and (max-width: 767px) {
section.animal-about.section-padding {
    /* padding-bottom: 60px; */
    padding: 0 15px 60px;
}

    .animal-hero__title {
        font-size: clamp(1.5rem, 5vw, 3.5rem);
    }

    h2.section-title-animal {
        height: 95px;
        margin-bottom: 0;
        font-size: clamp(1.4rem, 4vw, 2.3rem);
        margin-bottom: 40px;

    }

    .animal-about__area {
        margin-top: 40px;
    }

    .animal-about__text {
        position: static;
        margin-top: 16px;
        margin-bottom: 0;
        font-size: clamp(0.86rem, 4vw, 1.05rem);
    }

    .animal-about span {
        display: block;
    }

    span.animal-about__text-2 {
        margin-top: 14px;
    }

    .animal-about__image {
        width: 100%;
        text-align: center;
        margin: 40px auto;
    }
}

/* ----- 3. 制作事例・お客様の声 ----- */
.animal-examples {
    background-color: var(--white);
}

.animal-examples .container {
    text-align: center;
}

.animal-examples__voice {
    background-color: #e9e9d8;
    padding: 30px 0 30px 30px;
    border-radius: 8px;
    max-width: 800px;
    margin: 40px auto;
    display: flex;
    gap: 25px;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.animal-examples__voice blockquote {
    margin: 0;
    flex: 1;
    /* テキストが幅を取る */
    font-size: 1.1rem;
    text-align: justify;
    line-height: 1.8;
    position: relative;
    padding-left: 25px;
    /* 引用符用スペース */
}

.animal-examples__voice blockquote::before {
    content: '“';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 2.5em;
    color: var(--subColor, #12372a);
    opacity: 0.5;
    line-height: 1;
}

.animal-examples__voice cite {
    display: block;
    text-align: right;
    margin-top: 15px;
    font-style: normal;
    font-size: 0.9rem;
    color: var(--textColor, #6e6d6d);
}

span.animal-examples-space {
    display: block;
    margin-top: 27px;
}

span.animal-examples-space-2 {
    display: block;
}

.animal-examples__voice .example-image {
    flex-shrink: 0;
    /* 画像が縮まないように */
}

.animal-examples__voice .example-image img {
    width: 260px;
    height: auto;
    border-radius: 3px;
}

@media screen and (max-width: 767px) {
.animal-examples .container {
    padding-bottom: 77px;
    text-align: center;
}

.animal-examples__voice {
    width: 85%;
    margin-bottom: 0;
    padding: 20px;
    /* padding-bottom: 0; */
    flex-direction: column;
}

    .animal-examples .container .animal-examples__voice p {
        text-align: justify;
    }

    .animal-examples__voice .example-image {
        margin-bottom: 20px;
    }

    .animal-examples__voice blockquote {
        padding-left: 0;
        text-align: center;
    }

    .animal-examples__voice blockquote::before {
        display: none;
    }

    .animal-examples__voice cite {
        text-align: center;
    }

    .animal-examples .section-button-area {
        padding-bottom: 50px;
    }
}

/* ----- 4. 制作の流れ ----- */
.animal-process {
    background-color: var(--bgColorSection);
    padding-top: 50px;
    padding-bottom: 50px;
}

.animal-process__steps {
    list-style: none;
    padding: 0;
    margin: 27px auto 27px;
    max-width: 900px;
    position: relative;
}

/* 縦線の例 */
.animal-process__steps::before {
    content: '';
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 30px;
    width: 1px;
    background-color: var(--subColor);
    z-index: 0;
}


.process-step {
    position: relative;
    padding-left: 80px;
    /* 番号とアイコン用のスペース */
    padding-bottom: 40px;
    /* ステップ間のスペース */
    min-height: 60px;
    /* アイコンの高さに合わせる */
}

.process-step:last-child {
    padding-bottom: 0;
}

/* 番号とアイコンを左に配置 */
.process-step__number {
    position: absolute;
    left: -39px;
    top: -5px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--subColor);
    opacity: 0.6;
}

.process-step__icon {
    position: absolute;
    left: 0px;
    /* 番号と重ならないように調整 */
    top: 30px;
    /* アイコンの中心が線に来るように */
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #e0e0e0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.process-step__icon img {
    width: 70%;
    /* アイコン画像サイズ */
    height: auto;
    object-fit: contain;
}

.process-step__title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--subColor, #12372a);
    text-align: left;
}

.process-step p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--textColor, #6e6d6d);
    margin: 0;
    text-align: left;
}

/* ----- レスポンシブ対応 ------------------------------------------------------------------- */
@media screen and (max-width: 991px) {
	
	.animal-process {
    background-color: var(--bgColorSection);
    /* padding-top: 50px; */
    /* padding-bottom: 50px; */
    padding: 50px 20px;
}

    /* タブレットなど (少し狭い画面) */
    .animal-benefits__grid {
        gap: 20px;
        /* 列間の隙間を少し狭く */
    }

    .process-step__number {
        top: -23px;
        left: -20px;
        font-size: 1.3rem;
    }


    .animal-benefits__grid>div:nth-child(2) {
        flex-basis: 300px;
        /* 画像の基準幅を少し小さく */
    }

    .animal-benefits__grid>div:nth-child(2) img {
        width: 300px;
        /* 画像の表示幅も合わせる */
    }

    /* テキスト列内のアイテム間の隙間も調整 */
    .animal-benefits__grid>div:nth-child(1),
    .animal-benefits__grid>div:nth-child(3) {
        /* ネストdiv対応 */
        gap: 20px;
    }
}

@media screen and (max-width: 767px) {
    .animal-process .container {
        padding-left: 15px;
        padding-bottom: 41px;
        padding-right: 15px;
    }

    .animal-process__explain {
        text-align: justify;
    }

    /* スマホでは縦線を中央に */
    .animal-process__steps::before {
        bottom: 77px;
    }

    .process-step {
        padding-left: 80px;
    }

    .process-step__number {
        top: -30px;
        left: 0px;
        font-size: 1.2rem;
        /* top: 0; */
    }

    .process-step__icon {
        left: 0;
        top: 30px;
    }

    .animal-benefits__grid {
        margin-top: 0;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* 各列（今は縦に積まれたブロック）の設定 */
    .animal-benefits__grid>div {
        flex-basis: auto;
        /* flexの基準幅リセット */
        width: 100%;
        /* 幅を100%に */
        max-width: 400px;
        /* でも最大幅は指定して読みやすく */
    }

    /* 画像列の調整 */
    .animal-benefits__grid>div:nth-child(2) {
        order: -1;
        width: auto;
        max-width: 300px;
        margin-bottom: 20px;
    }

    .animal-benefits__grid>div:nth-child(2) img {
        width: 100%;
        /* 画像自体の幅はコンテナに合わせる */
        max-width: 300px;
        /* ただし最大幅は指定 */
    }

    /* テキスト列内のアイテム間隔 */
    .animal-benefits__grid>div:nth-child(1),
    .animal-benefits__grid>div:nth-child(3) {
        gap: 25px;
        /* 縦の隙間を維持 */
    }

    .animal-support__grid {
        padding-bottom: 20px;
        grid-template-columns: 1fr;
    }
}

/* ----- 5. 料金について ----- */
.animal-pricing {
    background-color: var(--white);
    /* padding-top: 50px; */
    /* padding-bottom: 50px; */
    padding: 50px 20px;
}

.animal-pricing .container {
    position: relative;
}

.animal-pricing__image {
    position: absolute;
    right: clamp(-30%, 5vw, -10%);
    bottom: 29%;
    display: inline-block;
    width: 250px;
    height: auto;
}

.animal-pricing__image img {
    width: 100%;
    border-radius: 3%;
}

.animal-pricing p {
    text-align: center;
    margin-bottom: 1.5em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 1350px) {
    .animal-pricing .container {
        position: static;
    }

    .animal-pricing__image {
        position: static;
        display: block;
        margin: 41px auto 0;
    }
}

@media screen and (max-width: 767px) {
.animal-pricing .container {
    padding: 50px 15px 25px;
}

    .animal-pricing p {
        text-align: justify;
    }
}

/* ----- 6. よくあるご質問 (FAQ) ----- */
.faq-item {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #eee;
    text-align: left;
}

.faq-item__q {
    /* h3 */
    font-size: 1.2rem;
    color: var(--subColor, #12372a);
    margin-bottom: 10px;
    position: relative;
    padding-left: 2em;
    /* Q用スペース */
}

.faq-item__q::before {
    content: 'Q.';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--red);
    font-weight: bold;
}


.faq-item__a {
    /* p */
    font-size: 1rem;
    line-height: 1.7;
    color: var(--textColor, #6e6d6d);
    margin: 0;
    padding-left: 2em;
    /* Qと揃える */
}

@media screen and (max-width: 767px) {
.animal-faq .container {
    /* padding-bottom: 70px; */
    padding: 50px 31px;
}

    h3.faq-item__q {
        margin-bottom: 25px;
        font-size: 1.2rem;
        text-align: justify;
        letter-spacing: -1px;
        line-height: 1.4;
    }

}

/* ----- 7. お問い合わせ・無料相談 (CTAセクション) ----- */
.animal-cta {
    background-color: var(--subColor, #12372a);
    /* 背景色 */
    color: #fff;
    text-align: center;
}

.animal-cta .container {
    max-width: 800px;
    /* CTAセクションの幅 */
}

.cta-title {
    /* h2 */
    font-size: 2.2rem;
    margin-bottom: 30px;
    line-height: 1.4;
    font-weight: bold;
    /* CTAは太めに */
}

.cta-text {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

strong.animal-pricing-point {
    font-size: 1.2rem;
    color: var(--red);
}

p.animal-pricing-explain {
    text-align: end;
}

.animal-cta-button {
    display: flex;
    width: 333px;
    height: 50px;
    margin: 30px auto;
    justify-content: center;
    align-items: center;
    color: var(--white);
    background-image: linear-gradient(to bottom, #feb12c, #fc5903);
    border-radius: 20px;
    opacity: 0.92;
}

.animal-cta-button:hover {
    opacity: 1;
}

/* Font Awesome アイコン用 */
.cta-button i.fas {
    margin-right: 8px;
}

.animal-cta-button i.fas {
    margin-right: 8px;
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media screen and (max-width: 767px) {
.animal-cta .container {
    padding: 55px 33px 20px;
}
	
    h2.cta-title {
        padding-bottom: 20px;
        font-size: clamp(1.5rem, 4vw, 2.3rem);
    }

    p.cta-text {
        margin-bottom: 20px;
        font-size: 1.1rem;
        text-align: justify;
        line-height: 1.5;
        opacity: 0.95;
    }

    .consultation-1-link {
        font-size: 0.9rem !important;
    }

.animal-cta-button {
    width: 300px;
    margin-top: 41px;
    font-size: 0.8rem;
    opacity: 1;
}

    p.cta-note {
        padding-bottom: 40px;
        line-height: 1.4;
    }
}


/* ----- 8. 価値・メリット ----- */

.animal-benefits__grid {
    display: flex;
    /* Flexboxを使用して子要素(3つのdiv)を横並びに */
    align-items: center;
    /* 各列の内容を垂直方向に中央揃え */
    gap: 35px;
    /* 列間の隙間 (左右のテキスト列と画像の間) */
    margin-top: 50px;
}

/* テキスト列（1番目と3番目）の共通設定 */
.animal-benefits__grid>div:nth-child(1),
.animal-benefits__grid>div:nth-child(3) {
    flex: 1;
    /* 利用可能なスペースを分け合う (画像の幅を除く) */
    display: flex;
    /* 中の benefit-item を縦に積む */
    flex-direction: column;
    gap: 90px;
    /* 縦に積まれた benefit-item 間の隙間 */
}

/* 画像列（中央の2番目）の設定 */
.animal-benefits__grid>div:nth-child(2) {
    margin-bottom: auto;
    /* 下の余白を自動調整 */
    flex: 0 0 400px;
    /* 幅400pxで固定 (伸び縮みしない) */
    text-align: center;
    /* 画像を中央寄せ */
}

.animal-benefits__grid>div:nth-child(2) img {
    max-width: 100%;
    width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 各メリット項目 (.benefit-item) のスタイル */
/* (内容は基本的に前回と同様、margin-bottom は gap で制御するため不要) */
.benefit-item {
    text-align: center;
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.benefit-item__icon {
    margin-bottom: 20px;
}

.benefit-item__icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.benefit-item__title {
    /* h3 */
    font-size: 1.25rem;
    color: var(--subColor, #12372a);
    margin-top: 0;
    margin-bottom: 10px;
}

.benefit-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--textColor, #6e6d6d);
    margin: 0;
    text-align: justify;
}

/* ----- レスポンシブ対応 ----- */
@media screen and (max-width: 991px) {

    /* タブレットなど (少し狭い画面) */
    .animal-benefits__grid {
        gap: 20px;
        /* 列間の隙間を少し狭く */
    }

    .animal-benefits__grid>div:nth-child(2) {
        flex-basis: 300px;
        /* 画像の基準幅を少し小さく */
    }

    .animal-benefits__grid>div:nth-child(2) img {
        width: 300px;
        /* 画像の表示幅も合わせる */
    }

    /* テキスト列内のアイテム間の隙間も調整 */
    .animal-benefits__grid>div:nth-child(1),
    .animal-benefits__grid>div:nth-child(3) {
        gap: 20px;
    }
}

@media screen and (max-width: 767px) {
    section.animal-benefits.section-padding {
        padding-top: 0;
        margin-bottom: 15px;
    }

    /* スマホなど (狭い画面) */
    .animal-benefits__grid {
        flex-direction: column;
        /* 縦積みに変更 */
        align-items: center;
        /* 中央寄せ */
        gap: 50px;
        /* 縦の隙間 */
    }

    /* 各列（今は縦に積まれたブロック）の設定 */
    .animal-benefits__grid>div {
        flex-basis: auto;
        /* flexの基準幅リセット */
        width: 100%;
        /* 幅を100%に */
        max-width: 400px;
        /* でも最大幅は指定して読みやすく */
    }

    /* 画像列の調整 */
    .animal-benefits__grid>div:nth-child(2) {
        order: -1;
        /* 画像を一番上に表示（デザインによる） */
        width: auto;
        /* 幅は成り行きに */
        max-width: 300px;
        /* 画像の最大幅 */
    }

    .animal-benefits__grid>div:nth-child(2) img {
        width: 100%;
        /* 画像自体の幅はコンテナに合わせる */
        max-width: 300px;
        /* ただし最大幅は指定 */
    }

    /* テキスト列内のアイテム間隔 */
    .animal-benefits__grid>div:nth-child(1),
    .animal-benefits__grid>div:nth-child(3) {
        gap: 30px;
        /* 縦の隙間を維持 */
    }
}


/* ----- 4. こんな方におすすめです (新デザイン) ---------------------------------------------- */
.animal-recommend {
    background-color: var(--bgColor);
    /* 必要なら背景色設定 */
}

.animal-recommend .container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 80px;
    padding-bottom: 100px;
    ;
}

.animal-recommend h2.section-title {
    color: var(--subColor);
}

.animal-recommend span.section-title-sub {
    color: var(--subColor);
}

/* ★ Gridコンテナ設定 */
.recommend-grid {
    list-style: none;
    padding: 0;
    margin: 50px 0 60px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 25px;
}

/* ★ 各カードのスタイル */
.recommend-card {
    display: flex;
    /* アイコンとテキストを横並び */
    align-items: center;
    /* 上下中央揃え */
    background-color: var(--white);
    /* カード背景色 */
    padding: 20px 10px;
    border-radius: 15px;
    /* 角丸 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    /* 影 */
    min-height: 100px;
    /* カードの最小高さ（任意） */
}

/* ★ アイコンエリア（円） */
.recommend-card__icon-area {
    flex-shrink: 0;
    /* アイコンエリアが縮まないように */
    width: 80px;
    height: 80px;
    border-radius: 50%;
    /* 円にする */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    /* アイコンとテキストの間隔 */
    /* --- アイコン背景色 (例: 3色パターン) --- */
    background-color: #FFF5D9;
    /* Soft Yellow */
}

/* 4番目, 3番目のアイテム */
.recommend-grid li:nth-child(6n+3) .recommend-card__icon-area,
.recommend-grid li:nth-child(6n+4) .recommend-card__icon-area {
    background-color: #DEF2E6;
    /* Default: Soft Green */
}

/* 4番目, 5番目のアイテム */
.recommend-grid li:nth-child(6n+5) .recommend-card__icon-area,
.recommend-grid li:nth-child(6n+6) .recommend-card__icon-area {
    background-color: #EAE6F4;
    /* Soft Purple */
}

/* 1番目, 6番目のアイテムはデフォルトの Soft Green */

/* ★ アイコン画像 */
.recommend-card__icon-area img {
    width: 65px;
    height: auto;
    object-fit: contain;
}

/* ★ テキストエリア */
.recommend-card__text {
    flex-grow: 1;
    /* 残りのスペースを埋める */
}

.recommend-card__text p {
    margin: 0;
    font-size: 1rem;
    /* 文字サイズ */
    line-height: 1.6;
    color: var(--textColor, #6e6d6d);
    font-weight: normal;
    /* strong タグを使うので基準は normal */
}

.recommend-card__text p strong {
    font-weight: 600;
    /* 太字 */
    /* 必要であれば color: var(--subColor); などで強調 */
}

p.recommend-text-top {
    text-align: center;
    font-weight: bold;
}

/* ----- レスポンシブ対応 ----- */
@media screen and (max-width: 767px) {
    .animal-recommend .container {
        padding-top: 40px;
        padding-bottom: 20px;
    }

    .recommend-grid {
        margin-top: 27px;
        margin-bottom: 40px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .recommend-card {
        padding: 15px 0px 15px 10px;
        min-height: auto;
    }

    .recommend-card__icon-area {
        width: 50px;
        height: 50px;
        margin-right: 12px;
    }

    .recommend-card__icon-area img {
        width: 35px;
        height: 35px;
    }

    .recommend-card__text p {
        font-size: clamp(0.9rem, 4vw, 1.2rem);
    }

    p.recommend-text-top {
        font-size: clamp(0.83rem, 3.7vw, 0.95rem);
    }

    .recommend-text-bottom {
        margin-top: 13px;
    }

    .sp-only {
        display: inline;
    }

    /* スマホでの改行を有効化 */
}

/* .animal-recommend end */

/* ----- 5. サポート内容 ----- */
.animal-support__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.support-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 5px;
    border-left: 5px solid var(--subColor, #12372a);
    /* 左にアクセント */
}

.support-item__title {
    /* h3 */
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--subColor, #12372a);
}

p.section-lead.animal-support__explain {
    text-align: center;
}

.support-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--textColor, #6e6d6d);
    margin: 0;
}

@media screen and (max-width: 767px) {
    section.animal-support.section-padding.bg-light-beige {
        margin-top: 45px;
        padding-bottom: 50px;
    }

    .animal-support h2.section-title-animal {
        margin-bottom: 20px;
    }
}

