@charset "UTF-8";

html, body {
    margin: 0;
    padding: 0;
}

#header, h1 {
    margin: 0;
    padding: 0;
}

body {
    line-height: 1.7;
    background-color: #ffffff;
    font-family: sans-serif;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    object-fit: cover;
}

/* コンテナの共通設定 */
.container {
    max-width: 1200px;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: auto;
    margin-right: auto;
}

/* ヘッダー -----------------------------------------------------------*/

#header {
    background-color: #1a1818;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 20;
}

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

#header h1 img {
    /* プレースホルダーのサイズに合わせて調整 */
    width: auto;
    height: 40px;
}

.nav-menu {
    list-style: none;
    display: flex;
    padding: 0;
}

.nav-menu li a {
    color: #ffffff;
    margin-left: 40px;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    padding: 5px 0;
    position: relative;
    opacity: 0.8;
    display: block;
    transition: opacity 0.3s;
}

.nav-menu li a:hover {
    opacity: 1;
}

/* ------------------- 下線アニメーション ------------------- */

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    /* 下線の太さ */
    width: 100%;
    /* ★幅は常に100%に設定 */
    background-color: #ffffff;
    /* 1. 初期状態：線は非表示だが、消える時の準備として右を起点にする */
    transform-origin: right;
    transform: scaleX(0);
    /* 横方向のスケールをゼロ（非表示） */
    /* 2. トランジション（アニメーション）は transform にのみ適用 */
    transition: transform 0.3s ease-out;
}

/* ------------------- ホバー時の動作 ------------------- */

.nav-menu li a:hover::after {
    /* ★ホバー時：起点を左に切り替える */
    transform-origin: left;
    /* ★ホバーで scaleX を 1 に戻し、左から右へスッと伸びて表示 */
    transform: scaleX(1);
}

/* ーーーーーーーーーーーーーーーメインーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
/* スライドコンテナ：ズームで画像がはみ出す部分を隠す設定 */
.swiper-slide {
    /* ズームで画像がはみ出ても見えないようにクリップする */
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: bottom;
    /* 初期状態を少し拡大しておく */
    transform: scale(1.05);
    /* ゆっくりとズームアウトするトランジションを設定 */
    /* ズームインさせるため、非ホバー時(初期状態)にトランジションを設定します */
    transition: transform 6s ease-out;
    /* 6秒かけてズームイン/アウトする */
}

/* ホバー時の設定（スライドが表示されている状態） */
.swiper-slide-active img {
    /* ホバー時ではなく、アクティブなスライドで元のサイズに戻す（=ズームインに見える） */
    transform: scale(1);
    /* 105%から100%に戻すことで、わずかにズームインしたように見せる */
}

.swiper {
    /* スライダーを画面幅いっぱいに広げる */
    width: 100%;
    height: 650px;
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    vertical-align: bottom;
    object-fit: cover;
}

/* ------------------- キャッチフレーズ表示とアニメージョン ------------------- */

.anim-box {
    position: absolute;
    top: 50%;
    /* 垂直方向の中央 */
    left: 50%;
    /* 水平方向の中央 */
    transform: translate(-50%, -50%);
    /* 完璧に中央に配置 */
    z-index: 10;
    /* 写真より手前に表示 */
    width: 90%;
    /* コンテンツ幅を制限 */
    max-width: 1100px;
    text-align: center;

    /* テキストのスタイル */
    color: #e0e0e0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 1), 0 0 10px rgba(255, 255, 255, 0.05);
}

/* アニメーション前の初期状態 */
.anim-box p {
    opacity: 0;
}

/* フォントファミリーと大きなサイズは共通で定義 */
.catch-line-1,
.catch-line-2 {
    font-family: 'Shippori Mincho', serif;
    font-size: 3.8rem;
    font-weight: 700;
}

/* テキストのフォントサイズ (ユーザー提供のコードでは 3.5rem と 3.8rem が混在していたため、3.8remを優先し、個別設定はディレイのみに使用) */
.catch-line-1 {
    margin-bottom: 0.5em;
    /* 適切な行間 */
    animation: slideIn 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.catch-line-2 {
    animation: slideIn 2.5s cubic-bezier(0.25, 1, 0.5, 1) 2.0s forwards;
}

/* -------------------キャッチコピースライドイン------------------- */
@keyframes slideIn {
    0% {
        transform: translateX(180px);
        /* 180px右から開始 */
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        /* 最終位置 */
    }

    40%,
    100% {
        opacity: 1;
        /* 40%の時点で不透明度を1にする */
    }
}

/* -----------------------------------------------------------*/
/* 事業のハイライト (OUR BUSINESSES) */
/* -----------------------------------------------------------*/

.content-section {
    /* ページの上下の余白 */
    padding: 80px 0;
    text-align: center;
}

/* 共通コンテナ: ヘッダーと同じ幅の制限と中央寄せ */
#business .container {
    padding: 0 20px;
    margin: 0 auto;
}

/* 共通コンテナ: ヘッダーと同じ幅の制限と中央寄せ */
#business .container {
    padding: 0 20px;
    margin: 0 auto;
}

/* -------------------------------------------------------- */
/* ★2カラムレイアウト (左寄せを実現) */
/* -------------------------------------------------------- */
.business-grid {
    display: grid;
    /* 左: タイトル (約1/3) / 右: 文章 (約2/3) */
    grid-template-columns: 30% 70%;
    gap: 40px;
    /* カラム間の隙間 */
    text-align: left;
}

.section-title {
    font-family: 'Shippori Mincho', serif;
    /* キャッチコピーと統一 */
    font-size: 2.0rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    /* 下部に大きな余白を確保 */
    color: #54493d;
    letter-spacing: 0.05em;
    display: block;
    line-height: 1.1;
    /* 行間を調整して2行を詰める */
}

/* タイトル内に組み込まれたキャッチフレーズのスタイル */
.catch-line-group {
    display: block;
    /* 強制的に改行後にブロックとして扱い、中央寄せを維持 */
    font-size: 0.9rem;
    /* 小さめのサイズ */
    font-weight: 400;
    /* キャッチフレーズは少し軽めに */
    margin-top: 5px;
    /* タイトルとの間隔 */
    color: #54493d;
    letter-spacing: 0.05em;
}

.business-text {
    /* タイトルと高さを揃えるための調整 */
    padding-top: 20px;
    font-size: 1rem;
    color: #333;
    line-height: 1.9;

    /* 右側の文章のフォント設定 */
    font-family: 'Inter', sans-serif;
    align-self: flex-start;
    /* 上端揃えにする */
    text-align: justify;
}

/* 【追加】本文の段落に幅制限と右寄せを適用 */
.business-text p {
    max-width: 450px;
    /* 文字を四角形に収めるために幅を制限 */
    margin-left: auto;
    /* 右に寄せる */
    margin-right: 0;
    /* 右マージンは0 */
    /* 親要素に設定してあるが、念のためここにも均等ぞろえを適用 */
    text-align: justify;
}
/* 【追記】カードコンテンツ内の文章のスタイル調整 */
.card-content p {
    /* ストラテジックコアの本文（.business-text）と文字サイズと太さを統一 */
    font-size: 0.9rem;
    line-height: 1.9;
    font-family: 'Inter', sans-serif;
    color: #333;
    
    /* 左右にマージン（余白）を追加して、文章の幅を制限し、読みやすくする */
    padding: 0 20px 20px 20px; /* 上:0, 右:20px, 下:20px, 左:20px */
    
    /* 左右均等ぞろえ（両端揃え）を適用 */
    text-align: justify;
    
    /* 必要に応じて、最大幅も設定して、さらに読みやすくすることができます */
    max-width: 450px; /* business-text p と同じ幅制限 */
    margin: 0 auto; /* 中央寄せ */
}

/* 最後の段落の下部に余白がないため、少し調整 */
.card-content {
    /* 全体として下に余白を入れるか、pタグの余白で調整します。 */
    /* pタグにbottom padding/margin を設定することで対応済み */
}

/* card-content内を独立させるための微調整 */
.card-content {
    /* カードの角丸と影が連続するように、padding-topを削除 */
    padding-top: 0; 
}
/* -------------------------------------------------------- */
/* ★ワイプアニメーション本体の設定 */
/* -------------------------------------------------------- */

.js-scroll-anim {
    /* 要素全体をテキスト幅に合わせ、中央寄せし、ブロック要素として扱う */
    display: block;
    width: fit-content;
    position: relative;
    overflow: hidden;
}

.text-inner {
    opacity: 0;
    display: block;
    transition: opacity 0.3s ease-in;
    transition-delay: 0.8s;
}

.js-scroll-anim::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #54493d;
    z-index: 5;
    transform: translateX(0) scaleX(0);
    transform-origin: left;
}

.js-scroll-anim.is-active::before {
    animation: revealBox 1.3s cubic-bezier(0.8, 0.0, 0.2, 1.0) forwards;
}

.js-scroll-anim.is-active .text-inner {
    opacity: 1;
}

/* フェードアップ（下からふわっと） */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.3s ease, transform 1.3s ease;
  will-change: opacity, transform; /* アニメーションを滑らかに */
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes revealBox {
    0% {
        transform: translateX(0) scaleX(0);
        transform-origin: left;
    }

    50% {
        transform: translateX(0) scaleX(1);
        transform-origin: left;
    }

    50.1% {
        transform: translateX(0) scaleX(1);
        transform-origin: right;
    }

    100% {
        transform: translateX(0) scaleX(0);
        transform-origin: right;
    }
}

/* -------------------------------------------------------- */
/* ★ビジネスカードセクション (オンボーディング風) */
/* -------------------------------------------------------- */

.card-section {
    padding-top: 0;
    /* businessセクションと連続させるため上部の余白を削除 */
    background-color: #f7f7f7;
    /* 背景色を少し変えて区別 */
}

.card-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 80px;
    /* ★追記★ 要素が互いの高さに合わせて伸びるのを防ぎます */
    align-items: flex-start;
}

.onboard-card {
    flex: 1;
    /* 各カードが均等な幅になるように */
    max-width: 380px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    text-align: left;
    transition: box-shadow 0.3s ease;

    /* 初期状態: 左に少し移動させ、透明にする */
    transform: translateY(30px);
    opacity: 0;
    /* トランジション（アニメーション）設定 */
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

/* -------------------------------------------------------- */
/* 【追記】ビジネスカードのスクロールアニメーション */
/* -------------------------------------------------------- */
.onboard-card.is-active {
    /* アクティブ時: 元の位置に戻し、完全に表示する */
    transform: translateY(0);
    opacity: 1;
}

/* 時間差アニメーションの設定 */
.onboard-card:nth-child(1) {
    /* 1枚目: 0.1秒遅延 */
    transition-delay: 0.1s;
}

.onboard-card:nth-child(2) {
    /* 2枚目: 0.5秒遅延 */
    transition-delay: 0.5s;
}

.onboard-card:nth-child(3) {
    /* 3枚目: 0.9秒遅延 */
    transition-delay: 0.9s;
}

/* details/summaryのデフォルトスタイルをリセット */
.accordion-card {
    border: none;
    background-color: #ffffff;
    transition: all 0.4s ease;
}

.card-summary {
    display: block;
    /* summaryをブロック要素として扱い、flex-boxの機能と競合する可能性のあるデフォルトの挙動を避ける */
    padding: 20px;
    padding-bottom: 0;
    cursor: pointer;
    position: relative;
    /* デフォルトの開閉矢印を非表示にする */
    list-style: none;
}

/* デフォルトの矢印を非表示にするためのsafari対応 */
.card-summary::-webkit-details-marker {
    display: none;
}

/* カード番号 (大きな薄い数字) */
.card-number {
    font-size: 8rem;
    font-weight: 700;
    color: #e0e0e0;
    line-height: 0.8;
    position: absolute;
    top: -10px;
    left: 15px;
    z-index: 1;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin: 15px 0 5px;
    position: relative;
    z-index: 2;
    /* 番号の上に重ねる */
    /* アイコン分のスペースを確保 */
    margin-right: 50px;
}

.card-catch {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    min-height: 50px;
    /* キャッチコピーの行数が変わってもカードの高さを揃えるための最低限の高さ */
    position: relative;
    z-index: 2;
    /* アイコン分のスペースを確保 */
    margin-right: 50px;
}

.card-image-box {
    margin-bottom: 20px;
    overflow: hidden;
    height: 250px;
    /* 画像の高さを固定 */
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 開いた状態（[open]）で表示される「閉じる」ボタン風のデザイン */

/* detailsが開いている時のsummaryのスタイル */
.accordion-card.is-active .card-summary {
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    position: relative;
    /* 疑似要素（閉じるボタン）の基準にする */
}

/* -------------------------------------------------------- */
/* 【修正】カードセクションのデザインと開閉アニメーションの土台 */
/* -------------------------------------------------------- */

.onboard-card {
    flex: 1;
    max-width: 380px;
    background-color: #ffffff;
    /* box-shadow, border-radius は .accordion-card.is-active で制御 */
    /* overflow: hidden を削除 */ 
    text-align: left;
    
    /* スムーズな開閉のための transition: height を追加 */
    transition: box-shadow 0.3s ease, 
                transform 0.8s ease-out, 
                opacity 0.8s ease-out, 
                height 0.5s ease-out; /* JavaScriptで制御する高さをアニメーション */

    /* 初期状態: 左に少し移動させ、透明にする */
    transform: translateY(30px);
    opacity: 0;
}

/* 開閉アニメーション中は details 要素のデフォルトの挙動を無効化 */
.accordion-card.is-opening,
.accordion-card.is-closing {
    overflow: hidden; /* アニメーション中は高さを固定するため */
}

/* summaryの共通設定（開閉アイコン用の余白と位置設定） */
.card-summary {
    position: relative;
    padding-right: 50px; /* アイコン分の右側の余白を確保 */
    transition: all 0.3s ease;
}

/* 【重要】開いた状態（.is-active）のカード全体とsummaryのスタイル */

/* 1. カード全体（details）の開いた状態 */
.accordion-card.is-active {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* 開いたら少し強い影 */
    /* ★追記★ 開いているカードの高さを自動で伸ばす */
    height: auto !important;
}

/* 2. summary（開いた状態の上部）のスタイル */
.accordion-card.is-active .card-summary {
    background-color: #f7f7f7; /* summaryの背景色を少し変えて区別 */
    border-radius: 8px 8px 0 0; 
    padding-bottom: 20px; /* 適切な下部余白 */
}

/* 3. content（本文）のスタイル (上部と下部を調整) */
.card-content {
    /* summaryとの間に薄い線を追加 */
    border-top: 1px solid #e0e0e0; 
    padding-top: 20px; /* 本文と上部の線との間の余白 */
    background-color: #ffffff;
    border-radius: 0 0 8px 8px; /* 下側の角を丸く */
}

/* ★ 開閉インジケーター（スタイリッシュな回転矢印に変更） ★ */

/* 1. 共通設定: 矢印（>）の作成と配置 */
.card-summary::after {
    content: '';
    position: absolute;
    top: 30px; 
    right: 20px;
    transform: translateY(-50%) rotate(45deg); /* デフォルト（閉じている状態）: 45度に回転して > を表現 */
    
    /* 矢印の形状をCSSで作成 */
    width: 8px; /* 矢印のサイズ */
    height: 8px; /* 矢印のサイズ */
    border: 2px solid #54493d; /* 線の太さと色 */
    border-left: none; /* 左の線を削除 */
    border-top: none; /* 上の線を削除 */
    
    /* アニメーション設定 */
    transition: transform 0.3s ease-out;
}

/* 2. 開いた状態: 矢印（>）を90度回転させて下に向けたV字（開いている状態）にする */
.accordion-card.is-active .card-summary::after {
    /* 45degから135degに回転させる (90度開く) */
    transform: translateY(-50%) rotate(135deg); 
}

/* 3. 縦線（::before）の定義は不要になったため削除（または、以下の2行を追加して無効化）*/
.card-summary::before {
    content: none;
}


/* ==================== フッター ==================== */
footer {
    background-color: #1a1818;
    color: #ececec;
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .swiper {
        height: 400px;
    }

    .catch-line-1,
    .catch-line-2 {
        font-size: 2.2rem;
    }

    #header img {
        width: 100px;
    }

    .nav-menu {
        /* モバイルでは非表示 */
        display: none;
    }

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

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



/* ========================================================= */
/* ★ ABOUTページ専用スタイル ★ */
/* ========================================================= */

/* 1. ヒーローセクション */
#about-hero {
    background-color: #1a1818; /* ヘッダーと同じダークトーン */
    padding: 60px 0 80px;
    text-align: center;
}

.about-hero-title {
    font-family: sans-serif; /* Interを想定 */
    font-size: 4.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1em;
    margin: 0;
}

.about-hero-catch {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 10px;
}

/* 2. 共通セクション設定 */
.about-section {
    padding: 100px 0;
}

.bg-light-gray {
    background-color: #f7f7f7;
}

/* 2カラムレイアウト（理念セクション用）*/
.grid-2col-center {
    display: grid;
    /* 1/3 と 2/3 の比率 */
    grid-template-columns: 1fr 2fr; 
    gap: 60px;
    text-align: left;
    max-width: 1000px; /* 適切な幅に制限 */
    margin: 0 auto;
}

/* 見出しと本文のスタイル（既存のフォントサイズと統一） */
.about-section-title {
    /* js-scroll-animのスタイルを適用 */
    font-size: 2.0rem;
    line-height: 1.1;
    color: #54493d;
    text-align: left; /* 左寄せに戻す */
    margin-bottom: 20px;
}

.about-subtitle {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-top: 0;
    margin-bottom: 50px;
    line-height: 1.5;
}

.about-main-text {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #333;
    text-align: justify;
}

.about-main-text strong {
    font-weight: 700;
    color: #54493d;
}

/* 3. 事業内容セクション (3カラムグリッド) */
.business-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.business-item {
    text-align: left;
    padding: 20px;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.business-item h4 {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.2rem;
    color: #1a1818;
    margin-top: 10px;
    margin-bottom: 10px;
}

.icon-number {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #54493d; /* アクセントカラー */
    line-height: 1;
}

.business-item p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
}

/* 4. 会社概要 (シンプルなデータテーブル) */
.profile-table-wrapper {
    max-width: 800px;
    margin: 50px auto 0;
    border-top: 1px solid #e0e0e0;
    overflow: hidden;
}

.profile-table {
    width: 100%;
    margin-top: 0px;
}

.profile-table dt {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    width: 30%; /* 項目名の幅を固定 */
    padding: 15px 20px;
    background-color: #fafafa;
    border-bottom: 1px solid #e0e0e0;
    box-sizing: border-box;
    color: #333;
    float: left; /* dtを左に寄せ、ddを右に配置 */
    clear: left; /* dtが前の要素に影響されないように */
}

.profile-table dd {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    width: 70%;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    box-sizing: border-box;
    color: #1a1818;
    overflow: hidden; /* ddがdtの右側に回るように */
}

/* レスポンシブ対応 (768px以下) */
@media (max-width: 768px) {
    #about-hero {
        padding: 80px 0 50px;
    }

    .about-hero-title {
        font-size: 3rem;
    }

    .about-hero-catch {
        font-size: 1rem;
    }

    .grid-2col-center {
        /* モバイルでは1カラムにする */
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .business-grid-3col {
        /* モバイルでは2カラムにするか、縦に並べるか */
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .profile-table dt,
    .profile-table dd {
        width: 100%;
        float: none;
        clear: none;
        padding: 10px 15px;
    }
    
    .profile-table dt {
        /* モバイルでは項目名を強調 */
        background-color: #e0e0e0;
        font-size: 0.85rem;
        padding-bottom: 0;
    }
    
    .profile-table dd {
        /* 項目と値をまとめて表示するスタイルに変更 */
        border-top: none;
        padding-top: 5px;
        margin-bottom: 10px;
    }
}


/* ========================================================= */
/* ★ NEWSページ専用スタイル ★ */
/* ========================================================= */

/* 1. ヒーローセクション (ABOUTページと統一) */
#news-hero {
    background-color: #1a1818;
    padding: 60px 0 80px;
    text-align: center;
}

.news-hero-title {
    font-family: sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1em;
    margin: 0;
}

.news-hero-catch {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-top: 0; 
    margin-bottom: 10px;
}

/* 2. ニュース一覧セクション */
#news-list-section {
    padding: 80px 0;
}

.news-container {
    max-width: 960px; /* ニュース一覧に適した幅に調整 */
    margin: 0 auto;
}

/* ニュースフィルター */
.news-filter {
    text-align: center;
    margin-bottom: 50px;
}

.filter-button {
    background: none;
    border: 1px solid #e0e0e0;
    color: #666;
    padding: 8px 15px;
    margin: 0 5px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
}

.filter-button.is-active,
.filter-button:hover {
    background-color: #54493d; /* アクセントカラー */
    border-color: #54493d;
    color: #ffffff;
}

/* ニュースリスト */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #e0e0e0; /* 上部の区切り線 */
}

.news-item {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s;
}

.news-link {
    display: flex;
    align-items: center;
    padding: 20px 0;
    color: #1a1818;
    transition: color 0.3s;
}

.news-item:hover {
    background-color: #fafafa;
}

.news-item:hover .news-title {
    color: #54493d; /* ホバーでタイトルをアクセントカラーにする */
}

.news-date {
    font-family: sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    width: 100px; /* 日付の幅を固定 */
    flex-shrink: 0;
}

.news-category {
    font-family: sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    margin-right: 20px;
    border-radius: 2px;
    flex-shrink: 0;
    text-align: center;
}

/* カテゴリタグの色分け */
.tag-release {
    background-color: #54493d;
    color: #ffffff;
}

.tag-info {
    background-color: #e0e0e0;
    color: #333;
}

.tag-ir {
    background-color: #f0f0f0;
    color: #54493d;
    border: 1px solid #54493d;
}

.news-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
    flex-grow: 1;
    text-align: left;
    transition: color 0.3s;
}

/* 3. ページネーション */
.pagination {
    text-align: center;
    margin-top: 50px;
    font-family: sans-serif;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    color: #666;
    border-radius: 4px;
    transition: all 0.3s;
}

.pagination a:hover {
    background-color: #f0f0f0;
}

.pagination .current {
    background-color: #54493d;
    border-color: #54493d;
    color: #ffffff;
    font-weight: 700;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .news-hero-title {
        font-size: 3rem;
    }

    .news-link {
        flex-wrap: wrap; /* 要素を折り返す */
        padding: 15px 0;
    }

    .news-date {
        width: 100%; /* 日付を一行占有させる */
        margin-bottom: 5px;
        order: 1; /* 一番上に表示 */
    }

    .news-category {
        margin-right: 10px;
        order: 2;
    }

    .news-title {
        width: 100%;
        margin-top: 5px;
        font-size: 0.95rem;
        order: 3;
    }

    .news-filter button {
        margin-bottom: 10px;
    }
}


/* ========================================================= */
/* ★ CONTACTページ専用スタイル ★ */
/* ========================================================= */

/* 1. ヒーローセクション (他ページと統一) */
#contact-hero {
    background-color: #1a1818;
    padding: 60px 0 80px; 
    text-align: center;
}

.contact-hero-title {
    font-family: sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1em;
    margin: 0;
}

.contact-hero-catch {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-top: 0; 
    margin-bottom: 10px;
}

/* 2. お問い合わせ情報セクション */
#contact-info {
    padding: 100px 0;
    text-align: center;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-message {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
    line-height: 1.5;
}

.contact-details {
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 10px;
}

.contact-item dt {
    font-family: sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #54493d; /* アクセントカラー */
    width: 100px; /* 見出しの幅を固定 */
    text-align: left;
}

.contact-item dd {
    font-family: sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    flex-grow: 1;
    text-align: left;
}

.contact-item dd a {
    color: #1a1818;
    transition: color 0.3s;
}

.contact-item dd a:hover {
    color: #54493d; /* ホバーでアクセントカラー */
    text-decoration: underline;
}

.contact-note {
    font-size: 0.85rem;
    color: #999;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    #contact-hero {
        padding: 40px 0 50px; 
    }
    
    .contact-hero-title {
        font-size: 3rem;
    }

    .contact-message {
        font-size: 1.2rem;
    }

    .contact-item {
        /* モバイルでは縦並びにする */
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 40px;
        padding-left: 0;
    }
    
    .contact-item dt {
        width: auto;
        margin-bottom: 5px;
        text-align: left;
    }
    
    .contact-item dd {
        font-size: 1.2rem;
        text-align: left;
    }
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
  will-change: opacity, transform;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 遅延（delay）を段階的に設定 ===== */
.delay-1 {
  transition-delay: 0s;
}
.delay-2 {
  transition-delay: 0.4s;
}
.delay-3 {
  transition-delay: 0.8s;
}
.delay-4 {
  transition-delay: 1.2s;
}