@charset "UTF-8";

/* ==========================================================================
   Variables (カラー・フォント設定)
   後から変更しやすいようにここで一括管理します
   ========================================================================== */
:root {
    /* Colors */
    --color-base: #F5F5F0;
    /* 背景色：やさしい白 */
    --color-main: #4A6F5D;
    /* メインカラー：深めの緑 */
    --color-accent: #B7A36A;
    /* アクセント：和・京都感のある金/土形容 */
    --color-text: #333333;
    /* 通常テキスト：真っ黒にせず目に優しく */
    --color-text-light: #666666;
    --color-white: #ffffff;

    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 40px;
    --spacing-xl: 80px;

    /* Fonts */
    --font-family-base: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --font-family-serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
    /* 和の雰囲気を出す見出し用 */
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-base);
    color: var(--color-text);
    background-color: var(--color-base);
    background-image: url('../images/texture.png');
    /* 生成したテクスチャを使用 */
    background-blend-mode: multiply;
    /* テクスチャを馴染ませる */
    background-size: 500px;
    /* テクスチャのサイズ感調整 */
    line-height: 1.8;
    /* 読みやすく広めに */
    margin: 0;
    padding: 0;
    font-size: 16px;
    letter-spacing: 0.05em;
    /* 少しゆったりと */
}

a {
    color: var(--color-main);
    text-decoration: none;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

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

h1,
h2,
h3 {
    font-family: var(--font-family-serif);
    font-weight: 500;
    margin-top: 0;
}

/* ==========================================================================
   Layout / Common Components
   ========================================================================== */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.9);
    padding: var(--spacing-md) 0;
    box-shadow: 0 2cp 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

/* ★ヘッダーの横幅設定（ロゴを左に寄せたい場合はここを変更） */
.site-header .container {
    max-width: 1280px;
    /* ←ここを「100%」にすると画面端まで広がります。「1280px」だと程よく広がります。 */
    /* 現在はメインコンテンツ(1000px)より広くして、ロゴを左に寄せています */
}


/* Logo Styles (Image) */
.logo {
    display: block;
    /* 画像のみなのでblockでOK */
    text-decoration: none;
    line-height: 1;
    /* 余白をなくす */
}

/* ★PCでのロゴサイズ調整 */
.logo-pc {
    display: block;
    height: 80px;
    /* ←ここにPCでのロゴの高さを指定します（例: 50px〜80px） */
    width: auto;
}

/* スマホ用ロゴはPC表示では隠す */
.logo-sp {
    display: none;
}

/* ロゴテキストのスタイル（今回は画像にするため未使用ですが、念のため残す場合はコメントアウトなど） */
.logo-text-group {
    display: none;
}

.logo-sub {
    display: none;
}

.logo-main {
    display: none;
}

/* 下線アニメーションは削除して、背景色変化に変更 */
.main-nav a::after {
    display: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
    /* ボタン風にするため少し狭める */
    align-items: center;
    /* 上下中央揃え */
}

.main-nav a {
    display: block;
    color: var(--color-main);
    font-weight: 500;
    position: relative;
    white-space: nowrap;

    /* 枠線デザイン */
    border: 1px solid var(--color-main);
    padding: 8px 20px;
    border-radius: 4px;
    /* 角を少し丸く */
    transition: all 0.3s;
}

/* 下線アニメーションは削除して、背景色変化に変更 */
.main-nav a::after {
    display: none;
}

.main-nav a:hover {
    background-color: var(--color-main);
    color: var(--color-white);
    opacity: 1;
    /* 透明度は戻す */
}



/* Mobile Menu Button (Hidden on Desktop) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 200;
}

.mobile-menu-btn span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-main);
    transition: all 0.3s;
}

.mobile-menu-btn span:nth-of-type(1) {
    top: 0;
}

.mobile-menu-btn span:nth-of-type(2) {
    top: 11px;
}

.mobile-menu-btn span:nth-of-type(3) {
    bottom: 0;
}

/* Mobile Menu Active State (Button Animation) */
.mobile-menu-btn.active span:nth-of-type(1) {
    transform: translateY(11px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-of-type(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-of-type(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Footer */
.site-footer {
    background-color: var(--color-main);
    color: var(--color-white);
    padding: var(--spacing-lg) 0;
    text-align: center;
    margin-top: var(--spacing-xl);
}

.site-footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Section Common */
.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--color-accent);
    margin: var(--spacing-sm) auto 0;
}

/* Button */
.btn {
    display: inline-block;
    background-color: var(--color-main);
    color: var(--color-white);
    padding: 12px 40px;
    border-radius: 50px;
    /* やわらかさ */
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
}

.btn:hover {
    background-color: #3b5a4b;
    /* 少し暗く */
    opacity: 1;
    transform: translateY(-2px);
}

/* ==========================================================================
   Page Specific: Top Page
   ========================================================================== */
/* Main Visual */
.main-visual {
    position: relative;
    height: 60vh;
    /* 画面の6割 */
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-visual img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.8;
    /* 白文字が見やすいように少し暗くするか、 overlayを入れる */
}

.main-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    /* やわらかい光の演出 */
}

.mv-content {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.85);
    /* 読みやすさ確保 */
    padding: var(--spacing-lg);
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.mv-copy {
    font-family: var(--font-family-serif);
    font-size: 2.2rem;
    color: var(--color-main);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.1em;
}

.mv-sub {
    font-size: 1.1rem;
    color: var(--color-text);
}

/* About Short */
.about-short {
    background-color: #fff;
    /* 背景白でメリハリ */
    border-radius: 8px;
    padding: var(--spacing-lg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

/* News (Dummy) */
.news-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    border-bottom: 1px solid #ddd;
    padding: var(--spacing-sm) 0;
    display: flex;
    gap: var(--spacing-md);
}

.news-date {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        /* flex-direction: column; */
        /* スマホでも横並び（ロゴとハンバーガー） */
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-menu-btn {
        display: block;
        /* スマホで表示 */
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        /* 画面外へ隠す */
        width: 100%;
        /* 全画面 */
        height: 100vh;
        background-color: rgba(245, 245, 240, 0.98);
        /* 背景色 */
        z-index: 150;
        transition: right 0.3s;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .main-nav.active {
        right: 0;
        /* 表示 */
    }

    .main-nav ul {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
        width: 100%;
        margin-top: 60px;
        /* ボタンと被らないように */
    }

    .main-nav a {
        font-size: 1.2rem;
        display: block;
        padding: 10px;
    }

    .mv-copy {
        font-size: 1.5rem;
    }

    /* ★スマホでのロゴサイズ調整はここ！ */
    /* PC用ロゴを隠す */
    .logo-pc {
        display: none;
    }

    /* スマホ用ロゴを表示する */
    .logo-sp {
        display: block;
        height: 40px;
        /* ←ここにスマホでのロゴの高さを指定します（例: 30px〜50px） */
        width: auto;
    }

    /* テキストロゴ用スタイル（無効化） */
    .logo {
        gap: 0;
    }

    .logo-sub {
        display: none;
    }

    .logo-main {
        display: none;
    }

    /* About page dl adjustment for mobile */
    .about-dl-responsive {
        grid-template-columns: 1fr !important;
        gap: 5px !important;
    }

    .about-dl-responsive dt {
        margin-top: 15px;
        border-bottom: 1px dotted #ccc;
        padding-bottom: 2px;
    }

    .about-dl-responsive dd {
        margin-left: 0;
        padding-left: 10px;
    }
}

/* News Accordion Styles */
.news-item.accordion {
    flex-direction: column;
    gap: 0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.news-item.accordion:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.news-header {
    display: flex;
    gap: var(--spacing-md);
    align-items: baseline;
    padding: var(--spacing-sm) 0;
    /* padding moved from news-item */
    position: relative;
}

.news-header::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.2rem;
    color: var(--color-main);
    transition: transform 0.3s;
}

.news-item.active .news-header::after {
    transform: rotate(45deg);
}

.news-content {
    display: none;
    /* Default hidden */
    padding: 10px 20px 20px;
    color: var(--color-text);
    background-color: #f9f9f9;
    border-radius: 4px;
    margin-top: 5px;
}

.news-item.active .news-content {
    display: block;
    /* Show when active */
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

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