@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: 2px;
    width: 100%;
    background-color: #ffffff;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform 0.3s ease-out;
}

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

.nav-menu li a:hover::after {
    transform-origin: left;
    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;
}

/* ホバー時の設定（スライドが表示されている状態） */
.swiper-slide-active img {
    transform: scale(1);
}

.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;
}

.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);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
    }

    40%,
    100% {
        opacity: 1;
    }
}

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

.content-section {
    padding: 80px 0;
    text-align: center;
}

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

.business-grid {
    display: grid;
    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;
}

/* タイトル内に組み込まれたキャッチフレーズのスタイル */
.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;
    text-align: justify;
}

/* 【追記】カードコンテンツ内の文章のスタイル調整 */
.card-content p {
    font-size: 0.9rem;
    line-height: 1.9;
    font-family: 'Inter', sans-serif;
    color: #333;
    padding: 0 20px 20px 20px;
    text-align: justify;
    max-width: 450px;
    margin: 0 auto;
}

.card-content {
    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;
    background-color: #f7f7f7;
    min-height: 800px;
}

.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, height 0.5s ease-out;
}

/* -------------------------------------------------------- */
/* 【追記】ビジネスカードのスクロールアニメーション */
/* -------------------------------------------------------- */
.onboard-card.is-active {
    transform: translateY(0);
    opacity: 1;
}

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

.onboard-card:nth-child(2) {
    transition-delay: 0.5s;
}

.onboard-card:nth-child(3) {
    transition-delay: 0.9s;
}

/* details/summaryのデフォルトスタイルをリセット */
.accordion-card {
    border: none;
    background-color: #ffffff;
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.card-summary {
    display: block;
    padding: 20px;
    padding-bottom: 0;
    cursor: pointer;
    position: relative;
    list-style: none;
    padding-right: 50px;
    transition: all 0.3s ease;
}

/* デフォルトの矢印を非表示にするための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: 200px;
}

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

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

/* 【重要】開いた状態（.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;
    border-radius: 8px 8px 0 0; 
    padding-bottom: 20px;
}

/* 3. content（本文）のスタイル (上部と下部を調整) */
.card-content {
    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);
    
    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 {
    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;
}

/* ===== タブレット対応 (1024px以下) ===== */
@media (max-width: 1024px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .card-grid {
        gap: 20px;
    }
    
    .onboard-card {
        max-width: 320px;
    }
    
    .card-number {
        font-size: 6rem;
    }
}

/* ===== レスポンシブ対応 (768px以下) ===== */
@media (max-width: 768px) {
    /* ヘッダー */
    #header {
        padding: 15px 0;
    }
    
    #header h1 img {
        height: 35px;
    }

    .nav-menu {
        gap: 0;
    }
    
    .nav-menu li a {
        margin-left: 20px;
        font-size: 0.85rem;
    }
    
    /* メインビジュアル */
    .swiper {
        height: 400px;
    }

    .catch-line-1,
    .catch-line-2 {
        font-size: 2.2rem;
    }
    
    /* セクションタイトル */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .catch-line-group {
        font-size: 0.85rem;
    }
    
    /* ビジネステキスト */
    .business-text {
        padding-top: 10px;
        font-size: 0.95rem;
    }
    
    .business-text p {
        max-width: 100%;
    }
    
    /* カードグリッド */
    .card-grid {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding-top: 30px;
        padding-bottom: 50px;
    }
    
    .onboard-card {
        max-width: 100%;
        width: 100%;
    }
    
    .card-number {
        font-size: 5rem;
        top: -5px;
        left: 10px;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .card-catch {
        font-size: 0.85rem;
        min-height: auto;
    }
    
    .card-image-box {
        height: 200px;
    }
    
    .card-content p {
        font-size: 0.9rem;
        padding: 0 15px 15px 15px;
    }
    
    /* コンテンツセクション */
    .content-section {
        padding: 50px 0;
    }
}

/* ===== モバイル対応 (480px以下) ===== */
@media (max-width: 480px) {
    /* ヘッダー */
    #header h1 img {
        height: 30px;
    }
    
    .nav-menu li a {
        margin-left: 15px;
        font-size: 0.75rem;
    }
    
    /* メインビジュアル */
    .swiper {
        height: 300px;
    }
    
    .catch-line-1,
    .catch-line-2 {
        font-size: 1.6rem;
    }
    
    /* セクション */
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .catch-line-group {
        font-size: 0.75rem;
        margin-top: 3px;
    }
    
    .business-text {
        font-size: 0.9rem;
        line-height: 1.8;
    }
    
    /* カード */
    .card-number {
        font-size: 4rem;
    }
    
    .card-title {
        font-size: 1.3rem;
        margin-right: 40px;
    }
    
    .card-catch {
        font-size: 0.8rem;
        margin-right: 40px;
    }
    
    .card-summary {
        padding: 15px;
    }
    
    .card-image-box {
        height: 180px;
    }
    
    .card-content p {
        font-size: 0.85rem;
        line-height: 1.8;
        padding: 0 10px 10px 10px;
        max-width: 100%;
    }
    
    /* コンテンツセクション */
    .content-section {
        padding: 40px 0;
    }
    
    /* フッター */
    footer {
        font-size: 0.7rem;
        padding: 15px 0;
    }
}



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

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

.about-hero-title {
    font-family: sans-serif;
    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;
    grid-template-columns: 1fr 2fr; 
    gap: 60px;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}

/* 見出しと本文のスタイル（既存のフォントサイズと統一） */
.about-section-title {
    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;
    clear: left;
}

.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;
}

/* レスポンシブ対応 (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 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .business-grid-3col {
        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;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
    padding: 0 10px;
}

.contact-item dt {
    font-family: sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #54493d;
    width: auto;
    margin-bottom: 5px;
    text-align: center;
}

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

.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: 50px 0 60px; 
    }
    
    .contact-hero-title {
        font-size: 3rem;
    }
    
    .contact-hero-catch {
        font-size: 1rem;
    }

    #contact-info {
        padding: 60px 0;
    }

    .contact-message {
        font-size: 1.2rem;
        margin-bottom: 40px;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 30px;
        padding: 0;
    }
    
    .contact-item dt {
        width: auto;
        margin-bottom: 8px;
        text-align: center;
        font-size: 1rem;
    }
    
    .contact-item dd {
        font-size: 1.1rem;
        text-align: center;
        word-break: break-all;
    }
    
    .contact-note {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    #contact-hero {
        padding: 40px 0 50px;
    }
    
    .contact-hero-title {
        font-size: 2.5rem;
    }
    
    .contact-hero-catch {
        font-size: 0.9rem;
    }

    #contact-info {
        padding: 50px 0;
    }

    .contact-container {
        padding: 0 15px;
    }

    .contact-message {
        font-size: 1.1rem;
        margin-bottom: 35px;
    }

    .contact-item dt {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    
    .contact-item dd {
        font-size: 1rem;
    }
    
    .contact-item dd a {
        display: inline-block;
        padding: 5px 0;
    }
}

.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;
}