/* =============================
基本設定
============================== */
:root {
    --font-base: 'Noto Sans JP', sans-serif;
    --font-title: 'Playfair Display', serif;
    --color-text: #333;
    --color-primary: #b48c61; /* 温かみのあるブラウン */
    --color-dark: #2c3e50;    /* 引き締め色のダークブルーグレー */
    --color-bg-light: #f9f8f6; /* 少し黄みがかった白 */
    --container-width: 1100px;
}

body {
    font-family: var(--font-base);
    color: var(--color-text);
    line-height: 1.8;
    margin: 0;
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.4;
}

.section-text {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.bg-light {
    background-color: var(--color-bg-light);
}

/* =============================
アニメーション（スクロールで表示）
【修正済み】
============================== */
.section-title,
.section-text,
.solution-flow > .flow-item,
.interview-box,
.project-img,
.entry-grid > .entry-card,
.entry-action {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* =============================
ヘッダー（透過 ⇔ 白背景の切り替え）
============================== */
.header {
    background-color: transparent; /* 初期状態は透明 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* 薄い線 */
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: all 0.4s ease; /* 滑らかに変化 */
}

/* スクロールされた時のスタイル（JSで付与） */
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-bottom: none;
}

/* ロゴの色調整などは画像なので不要ですが、もしテキストなら色変更が必要 */

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* PC用ナビゲーション */
.header-nav {
    display: none; /* スマホでは非表示 */
}
@media (min-width: 769px) {
    .header-nav {
        display: block;
    }
    .nav-list {
        display: flex;
        list-style: none;
        gap: 30px;
        margin: 0;
        padding: 0;
    }
    .nav-list a {
        text-decoration: none;
        color: #fff; /* 初期は白文字 */
        font-weight: bold;
        font-size: 0.95rem;
        transition: color 0.3s;
        text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    }
    /* スクロール時は黒文字に */
    .header.scrolled .nav-list a {
        color: var(--color-text);
        text-shadow: none;
    }
}

.header-button {
    /* 既存のスタイルを維持しつつ、少し調整 */
    background-color: var(--color-primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px; /* 角丸を強くしてモダンに */
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(180, 140, 97, 0.4);
}
.header-button:hover {
    background-color: #fff;
    color: var(--color-primary);
    transform: translateY(-2px);
}


/* =============================
1. ヒーローセクション（フルスクリーン＋動的背景）
============================== */
.hero {
    height: 100vh; /* 画面いっぱいの高さ */
    min-height: 600px;
    position: relative; /* 子要素の基準点 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 0; /* ヘッダーの透明化に伴いマージン削除 */
    overflow: hidden; /* はみ出し防止 */
}

/* 背景スライドショーエリア */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

/* 背景画像アイテム（ケン・バーンズ効果） */
.hero-bg-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: zoomFade 18s infinite; /* 18秒でループ */
}

/* 画像ごとのアニメーション遅延 */
.hero-bg-item:nth-child(1) { animation-delay: 0s; }
.hero-bg-item:nth-child(2) { animation-delay: 6s; }
.hero-bg-item:nth-child(3) { animation-delay: 12s; }

/* ズーム＆フェードのアニメーション定義 */
@keyframes zoomFade {
    0% { opacity: 0; transform: scale(1); }
    5% { opacity: 1; }
    33% { opacity: 1; }
    38% { opacity: 0; transform: scale(1.1); }
    100% { opacity: 0; transform: scale(1.1); }
}

/* オーバーレイ（文字を見やすく） */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    z-index: -1;
}

/* コンテンツ装飾 */
.hero-lead {
    font-family: var(--font-title);
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    color: var(--color-primary);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s; /* ふわっと出現 */
}

.hero-title {
    font-size: 4.5rem; /* さらに大きく */
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.title-line {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}
.title-line:nth-child(1) { animation-delay: 0.8s; }
.title-line:nth-child(3) { animation-delay: 1.2s; } /* brタグの次は3番目扱い */

.hero-subtitle {
    font-size: 1.4rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.6s;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* スクロールダウンアイコン */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    opacity: 0.8;
}
.scroll-down span {
    margin-bottom: 10px;
}
.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
}
.wheel {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelDrop 1.5s infinite;
}

@keyframes wheelDrop {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* スマホ対応 */
@media (max-width: 768px) {
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1rem; padding: 0 10px; }
    .hero { height: 100svh; /* スマホのアドレスバー対策 */ }
}
/* =============================
3. 解決策
============================== */
.solution-flow {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 60px;
}

.flow-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 23%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.flow-item h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
}

/* =============================
4. インタビュー / 5. 社長メッセージ
============================== */
.interview-box {
    display: flex;
    gap: 40px;
    align-items: center;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.interview-box.reverse {
    flex-direction: row-reverse;
}

.interview-img {
    width: 40%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.interview-content {
    width: 60%;
}
.interview-content h3 {
    font-size: 1.8rem;
    margin-top: 0;
}
.interview-profile {
    font-weight: bold;
    color: #777;
    margin-bottom: 20px;
}
.interview-content dl dt {
    font-weight: bold;
    color: var(--color-primary);
    margin-top: 15px;
}
.interview-content dl dd {
    margin-left: 0;
}
.interview-message {
    margin-top: 20px;
    font-weight: bold;
}

/* =============================
5. プロジェクト
============================== */
.project-story {
    margin-bottom: 80px;
}
.project-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* =============================
6. 募集要項
============================== */
.entry-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 50px;
}
.entry-card {
    background: var(--color-bg-light);
    padding: 30px;
    border-radius: 8px;
}
.entry-card h3 {
    margin-top: 0;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 10px;
}
.entry-card ul {
    padding-left: 20px;
}
.requirements dt {
    font-weight: bold;
    margin-top: 15px;
    color: var(--color-primary);
}
.requirements dd {
    margin-left: 0;
}
.location-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 10px;
}
.location-list li {
    background-color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 8px;
    border-left: 4px solid var(--color-primary);
    font-size: 0.95rem; /* 少し文字サイズを調整 */
}
.location-list li:last-child {
    margin-bottom: 0;
}
.location-list b {
    color: var(--color-dark);
}
.entry-action {
    text-align: center;
}
.entry-button {
    display: inline-block;
    background-color: var(--color-primary);
    color: #fff;
    padding: 20px 60px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.entry-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    background-color: #a37b51;
}
.entry-note {
    margin-top: 15px;
    color: #777;
}

/* =============================
フッター
============================== */
.footer {
    background-color: var(--color-dark);
    color: #fff;
    text-align: center;
    padding: 40px 0;
}
.footer p {
    margin: 5px 0;
    opacity: 0.8;
}

/* ▼▼▼【追加箇所】ここから ▼▼▼ */
/* =============================
社長メッセージ全文へのボタン
============================== */
.read-more-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s;
}
.read-more-button:hover {
    background-color: var(--color-primary);
    color: #fff;
}
/* ▲▲▲【追加箇所】ここまで ▲▲▲ */


/* =============================
レスポンシブ（スマホ対応）
============================== */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }

    .solution-flow {
        flex-direction: column;
    }
    .flow-item {
        width: auto;
    }

    .interview-box, .interview-box.reverse {
        flex-direction: column;
        padding: 20px;
    }
    .interview-img, .interview-content {
        width: 100%;
    }
    .interview-content h3 {
        font-size: 1.5rem;
    }
    
    .entry-grid {
        grid-template-columns: 1fr;
    }
    
    .header-button {
        display: none; /* スマホではヘッダーのボタンを非表示に */
    }
}


/* ===================================================
【追記】社長メッセージ詳細ページ (`president-message.html`)
=================================================== */

/* ページ全体の余白調整 */
.message-page-content {
    padding-top: 140px; /* ヘッダー分を考慮 */
    padding-bottom: 100px;
}

/* メッセージのヘッダー部分 */
.message-header {
    text-align: center;
    margin-bottom: 40px;
}
.message-title {
    font-size: 3rem; /* ページの主役となるタイトル */
    margin: 0;
    line-height: 1.4;
}
.message-header p {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-text);
    margin-top: 10px;
}

/* メッセージのメイン写真 */
.message-photo {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* メッセージ本文エリア */
.message-body {
    max-width: 800px; /* 1行が長くなりすぎないように */
    margin: 0 auto;   /* 中央寄せ */
    font-size: 1.1rem; /* 少し大きめの文字で読みやすく */
}
.message-body h3 {
    font-size: 1.8rem;
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary);
    color: var(--color-dark);
}
.message-body p {
    margin-bottom: 25px;
}

/* 採用ページへ戻るボタン */
.back-to-top-action {
    text-align: center;
    margin-top: 60px;
}

/* スマホ表示の調整 */
@media (max-width: 768px) {
    .message-page-content {
        padding-top: 100px;
    }
    .message-title {
        font-size: 2rem;
    }
    .message-body h3 {
        font-size: 1.5rem;
    }
    .message-body {
        font-size: 1rem;
    }
}


/* ===================================================
【追記】社長メッセージ詳細ページ用 追加デザイン
=================================================== */

/* メッセージの最後を締めるキャッチフレーズ */
.final-catchphrase {
    text-align: center;
    font-family: var(--font-title); /* タイトル用フォント */
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px; /* 文字間隔を少し広げる */
    color: var(--color-primary);
    margin-top: 60px;
}

/* スマホ表示の調整 */
@media (max-width: 768px) {
    .final-catchphrase {
        font-size: 1.8rem;
    }
}


/* ===================================================
【追記】プロジェクト 横スクロールギャラリー
=================================================== */

/* ギャラリーのコンテナ */
.project-gallery {
    display: flex; /* 横並びにする */
    overflow-x: auto; /* 横方向のスクロールを有効にする */
    gap: 20px; /* 写真と写真の間の隙間 */
    padding: 20px 0;
    margin-top: 20px;
    -webkit-overflow-scrolling: touch; /* スマホでのスクロールを滑らかに */
    scrollbar-width: thin; /* スクロールバーを細く(Firefox) */
    scrollbar-color: var(--color-primary) #eee; /* スクロールバーの色(Firefox) */
}

/* スクロールバーのデザイン (Chrome, Safari) */
.project-gallery::-webkit-scrollbar {
    height: 8px; /* スクロールバーの高さ */
}
.project-gallery::-webkit-scrollbar-track {
    background: #eee; /* スクロールバーの背景 */
    border-radius: 4px;
}
.project-gallery::-webkit-scrollbar-thumb {
    background: var(--color-primary); /* スクロールバーのつまみ部分 */
    border-radius: 4px;
}

/* ギャラリーの各アイテム */
.gallery-item {
    flex: 0 0 auto; /* アイテムが縮まないようにする */
    width: 60%; /* PC表示での写真の幅 */
    max-width: 500px; /* 写真が大きくなりすぎないように */
    background: #fff;
    border-radius: 8px;
    overflow: hidden; /* 角丸を効かせる */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0; /* アニメーションのための初期設定 */
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
/* is-visibleクラスが付いたら表示（スクロールアニメーション用）*/
.project-gallery.is-visible .gallery-item {
    opacity: 1;
    transform: translateY(0);
}
/* アニメーションに時間差をつける */
.gallery-item:nth-child(2) { transition-delay: 0.1s; }
.gallery-item:nth-child(3) { transition-delay: 0.2s; }
.gallery-item:nth-child(4) { transition-delay: 0.3s; }
.gallery-item:nth-child(5) { transition-delay: 0.4s; }


.gallery-item img {
    width: 100%;
    height: 300px; /* ← 写真の高さをここで固定します。お好みで調整してください！ */
    object-fit: cover; /* ← この1行が重要！ボックスに合わせて写真をトリミングします */
    display: block; /* 画像下の余白を消す */
}


/* 写真のキャプション */
.gallery-item .caption {
    padding: 15px;
    margin: 0;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
}

/* スマホ表示の調整 */
@media (max-width: 768px) {
    .gallery-item {
        width: 80%; /* スマホでは写真の幅を広げる */
    }
}

/* ===================================================
【追記】求人カードのデザイン
=================================================== */

/* entry-grid の設定を更新 */
.entry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* 画面幅に応じて列数を自動調整 */
    gap: 30px; /* カード間の隙間 */
}

/* 求人カード本体 */
.job-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    display: flex;
    flex-direction: column; /* 中の要素を縦に並べる */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* アニメーションのための初期設定 */
    opacity: 0;
    transform: translateY(30px);
}
.job-card:hover {
    transform: translateY(-5px); /* マウスを乗せると少し浮き上がる */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* is-visibleクラスが付いたら表示（スクロールアニメーション用）*/
.job-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* アニメーションに時間差をつける */
.job-card:nth-child(2) { transition-delay: 0.1s; }
.job-card:nth-child(3) { transition-delay: 0.2s; }


/* カードのタイトル */
.job-card-title {
    font-size: 1.25rem;
    color: var(--color-dark);
    margin-top: 0;
    margin-bottom: 20px;
    flex-grow: 1; /* タイトルの長さが違っても高さを揃えるための工夫 */
}

/* 給与・場所の情報 */
.job-card-details {
    margin-bottom: 25px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}
.job-card-info {
    margin: 10px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
}
/* アイコン風の装飾 */
.job-card-info::before {
    display: inline-block;
    margin-right: 10px;
    font-size: 1.2rem;
    color: var(--color-primary);
}
.job-card-info.salary::before {
    content: '￥'; /* 円マーク */
    font-weight: bold;
}
.job-card-info.location::before {
    content: '📍'; /* 絵文字のピン */
}


/* 詳細・応募ボタン */
.job-card-button {
    display: block;
    width: 100%;
    padding: 15px;
    box-sizing: border-box; /* ← 【追加】この1行で、余白を含めて幅100%に収まります */
    text-align: center;
    background: var(--color-primary);
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}


.job-card-button:hover {
    background: #c8241b; /* メインカラーを少し暗くした色 */
}

/* スマホ表示の調整 */
@media (max-width: 768px) {
    .job-card {
        padding: 20px;
    }
    .job-card-title {
        font-size: 1.1rem;
    }
}

/* ===================================================
【追記】共通の募集概要と見出しのデザイン
=================================================== */

/* 共通の募集概要 全体 */
.entry-summary {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 40px;
    margin-top: 40px;
    margin-bottom: 60px; /* 下の見出しとの余白 */

    /* アニメーションのための初期設定 */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.entry-summary.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.summary-title {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-top: 0;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

/* 概要リスト (dl, dt, dd) */
.summary-list dt {
    font-weight: bold;
    color: var(--color-dark);
    margin-top: 20px;
    padding-left: 1.2em;
    position: relative;
}
.summary-list dt::before {
    content: '■';
    color: var(--color-primary);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.8em;
}
.summary-list dd {
    margin-left: 1.2em;
    padding-top: 8px;
    line-height: 1.8;
}

/* 職種一覧の見出し */
.recruitment-title {
    font-size: 1.8rem;
    font-family: var(--font-title);
    text-align: center;
    margin-bottom: 40px;
    
    /* アニメーションのための初期設定 */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transition-delay: 0.1s; /* 概要より少し遅れて表示 */
}
.recruitment-title.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* スマホ表示の調整 */
@media (max-width: 768px) {
    .entry-summary {
        padding: 25px;
        margin-bottom: 50px;
    }
    .summary-title {
        font-size: 1.3rem;
    }
    .recruitment-title {
        font-size: 1.5rem;
    }
}


/* ===================================================
【追記】先輩の声：集合写真ギャラリー
=================================================== */

/* ギャラリー全体のコンテナ */
.team-gallery {
    margin-top: 80px; /* 上のインタビューとの余白 */

    /* アニメーションのための初期設定 */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transition-delay: 0.2s; /* インタビューより少し遅れて表示 */
}
.team-gallery.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ギャラリーのタイトル */
.gallery-title {
    font-size: 1.8rem;
    font-family: var(--font-title);
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-dark);
}

/* 写真を並べるグリッド */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* PCでは3列表示 */
    gap: 20px; /* 写真と写真の間の隙間 */
}

/* 各写真アイテム */
.photo-item {
    border-radius: 8px;
    overflow: hidden; /* 角丸を効かせる */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: #fff;
    transition: transform 0.3s ease;
}
.photo-item:hover {
    transform: translateY(-5px); /* マウスを乗せると少し浮き上がる */
}

.photo-item img {
    width: 100%;
    height: 250px; /* 高さをここで固定します */
    object-fit: cover; /* 比率を保ったままボックスに合わせてトリミング */
    display: block;
}

/* 写真のキャプション */
.photo-item .photo-caption {
    padding: 15px;
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
    color: #555;
    line-height: 1.6;
}

/* スマホ表示の調整 */
@media (max-width: 768px) {
    .team-gallery {
        margin-top: 60px;
    }
    .gallery-title {
        font-size: 1.5rem;
    }
    .photo-grid {
        grid-template-columns: 1fr; /* スマホでは1列表示 */
        gap: 25px;
    }
    .photo-item img {
        height: 220px; /* スマホでの写真高さを調整 */
    }
}


/* ===================================================
【追記】想いを伝えるセクション
=================================================== */
.belief-section {
    background-color: #fff; /* 背景を白に */
}

.belief-content {
    max-width: 800px; /* 横幅を制限して読みやすく */
    margin: 0 auto;
    padding: 50px;
    border-radius: 8px;
    border: 1px solid #eee;
    background-color: #fcfcfc;

    /* アニメーションのための初期設定 */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.belief-content.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.belief-title {
    font-size: 1.6rem;
    font-family: var(--font-title);
    color: var(--color-primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-primary);
}

.belief-content p {
    line-height: 2.0; /* じっくり読ませるため行間を広めに */
    margin-bottom: 1.5em;
}

.belief-title:not(:first-of-type) {
    margin-top: 50px;
}

@media (max-width: 768px) {
    .belief-content {
        padding: 30px 25px;
    }
    .belief-title {
        font-size: 1.3rem;
    }
    .belief-content p {
        line-height: 1.9;
    }
}
