@charset "utf-8";

/* =========================================
   Variables (カラー、フォント等の定義)
   ========================================= */
:root {
    --primary-color: #2b4c3b;
    /* 深緑 */
    --accent-color: #1a1a1a;
    /* 漆黒 */
    --bg-color: #fcfbf9;
    /* 和紙のような柔らかい白系 */
    --bg-light: #f5f3ee;
    /* 背景のバリエーション */
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --border-color: #dddddd;

    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

/* =========================================
   Reset & Base
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-serif);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.8;
    font-size: 16px;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

ul {
    list-style: none;
}

/* =========================================
   Layout (コンテナ等の共通クラス)
   ========================================= */
.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--primary-color);
    color: var(--white);
}

.section-title {
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 60px;
    color: var(--accent-color);
    position: relative;
}

.section-title span {
    display: block;
    font-size: 0.9rem;
    font-family: var(--font-sans);
    color: var(--primary-color);
    margin-top: 5px;
    letter-spacing: 0.1em;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background-color: var(--primary-color);
    margin: 20px auto 0;
}

/* =========================================
   Header
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 40px;
}

.logo a {
    display: inline-flex;
    align-items: center;
}

.header-logo-img {
    height: 45px;
    /* ヘッダーの高さ（80px）に対してバランスの良いサイズ */
    width: auto;
    object-fit: contain;
}

.global-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.global-nav a {
    font-size: 1rem;
    font-weight: 500;
}

.global-nav .nav-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.95rem;
}

.global-nav .nav-btn:hover {
    background-color: var(--accent-color);
    opacity: 1;
}

/* スマホ用メニューボタン (PCでは非表示) */
.nav-toggle,
.nav-toggle-btn {
    display: none;
}

/* =========================================
   1. Home (Hero)
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 80px;
    /* Header height */
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    backface-visibility: hidden;
    animation: kenBurns 10s linear infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.06);
    }
}

.hero-text {
    position: absolute;
    top: 15%;
    right: 8%;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 50px;
    border-left: 4px solid var(--primary-color);
}

.hero-message {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 2.0;
    color: var(--accent-color);
}

/* =========================================
   2. News (Simple List)
   ========================================= */
.simple-news-list {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
}

.simple-news-list li {
    border-bottom: 1px solid var(--border-color);
}

.simple-news-list a {
    display: flex;
    align-items: center;
    padding: 25px 0;
    font-size: 1.05rem;
    width: 100%;
    color: var(--text-color);
}

.simple-news-list a:hover {
    color: var(--primary-color);
}

.simple-news-list time {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-light);
    width: 130px;
    flex-shrink: 0;
}

.btn-news-more {
    display: inline-block;
    padding: 12px 40px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-news-more:hover {
    background: var(--primary-color);
    color: var(--white);
    opacity: 1;
}

/* =========================================
   2-2. News (Detail List for news.html)
   ========================================= */
.news-detail-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-article {
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
}

.news-article:last-child {
    border-bottom: none;
}

.news-header {
    margin-bottom: 25px;
}

.news-header time {
    display: block;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--accent-color);
}

.news-body p {
    margin-bottom: 1.5em;
    line-height: 1.8;
}

.news-body p:last-child {
    margin-bottom: 0;
}

/* =========================================
   3. Company
   ========================================= */
.info-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 25px 20px;
    border-bottom: 1px solid #e0dfdc;
    text-align: left;
}

.info-table th {
    width: 25%;
    font-weight: 500;
    color: var(--primary-color);
    vertical-align: top;
}

.location-list {
    margin: 0;
}

.location-item {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.location-item:last-child {
    margin-bottom: 0;
}

.location-item dt {
    font-weight: 500;
    margin-right: 10px;
}

.location-item dd {
    margin: 0;
}

.mt-15 {
    margin-top: 15px;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.history-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.history-item dt {
    width: 170px;
    font-weight: 500;
    color: var(--text-color);
    flex-shrink: 0;
}

.history-item dd {
    flex-grow: 1;
    width: calc(100% - 170px);
}

/* =========================================
   4. Access
   ========================================= */
.access-section {
    position: relative;
}

.access-block {
    margin-bottom: 40px;
}

.access-info {
    text-align: center;
    font-size: 1.1rem;
    line-height: 2;
}

.head-office .access-info {
    margin-bottom: 0;
}

.factory-retail .access-info {
    margin-bottom: 30px;
}

.location-badge {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 5px 30px;
    margin-bottom: 15px;
    background-color: var(--bg-light);
    letter-spacing: 0.1em;
}

.access-divider {
    width: 60px;
    height: 1px;
    background-color: var(--primary-color);
    margin: 0 auto 50px;
    opacity: 0.3;
}

.map-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background-color: var(--white);
    padding: 10px;
    /* 地図の周りの美しい余白 */
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.shop-hours {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.shop-hours dl {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.shop-hours dt {
    width: 120px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
    border-right: 1px solid var(--border-color);
    padding-right: 15px;
}

.shop-hours dd {
    width: calc(100% - 120px);
    padding-left: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.shop-hours dt:last-of-type,
.shop-hours dd:last-of-type {
    margin-bottom: 0;
}

/* =========================================
   5. Online Shop
   ========================================= */
.shop-section {
    text-align: center;
    padding: 120px 0;
}

.shop-content {
    max-width: 700px;
    margin: 0 auto;
}

.shop-title {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.shop-desc {
    font-size: 1.1rem;
    margin-bottom: 50px;
    opacity: 0.9;
}

.btn-shop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 20px 60px;
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-shop:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
    color: var(--accent-color);
}

.btn-icon {
    margin-left: 15px;
    font-family: var(--font-sans);
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--accent-color);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.copyright {
    font-size: 0.75rem;
    font-family: var(--font-sans);
    color: #999999;
    /* 主張しすぎない落ち着いた色合い（背景に馴染むグレー） */
    letter-spacing: 0.05em;
    line-height: 1.5;
    padding: 0 15px;
    word-break: break-word;
    /* スマホではみ出さないよう改行を許可 */
}

/* =========================================
   Media Queries (レスポンシブデザイン)
   ========================================= */
@media screen and (max-width: 768px) {
    .header-inner {
        padding: 0 15px;
        height: 70px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .header-logo-img {
        height: 35px;
    }

    /* スマホ用メニューボタンのスタイル */
    .nav-toggle-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        cursor: pointer;
        z-index: 101;
    }

    .nav-icon {
        display: block;
        width: 24px;
        height: 2px;
        background-color: var(--primary-color);
        position: relative;
        transition: background-color 0.3s;
    }

    .nav-icon::before,
    .nav-icon::after {
        content: '';
        display: block;
        width: 100%;
        height: 100%;
        background-color: var(--primary-color);
        position: absolute;
        transition: transform 0.3s, top 0.3s;
    }

    .nav-icon::before {
        top: -8px;
    }

    .nav-icon::after {
        top: 8px;
    }

    .nav-text {
        font-size: 0.6rem;
        color: var(--primary-color);
        margin-top: 12px;
        font-family: var(--font-sans);
        font-weight: bold;
    }

    /* メニュー開閉スタイル */
    .global-nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        padding-bottom: 0;
        z-index: 100;
    }

    .global-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .global-nav li {
        border-top: 1px solid var(--border-color);
    }

    .global-nav li:first-child {
        border-top: none;
    }

    .global-nav a {
        display: block;
        padding: 15px 20px;
        text-align: left;
    }

    .global-nav .nav-btn {
        margin: 20px;
        display: block;
        text-align: center;
    }

    /* メニュー展開時 */
    .nav-toggle:checked~.global-nav {
        max-height: 400px;
    }

    /* メニュー展開時のアイコンアニメーション */
    .nav-toggle:checked~.nav-toggle-btn .nav-icon {
        background-color: transparent;
    }

    .nav-toggle:checked~.nav-toggle-btn .nav-icon::before {
        top: 0;
        transform: rotate(45deg);
    }

    .nav-toggle:checked~.nav-toggle-btn .nav-icon::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .hero {
        margin-top: 70px;
        min-height: auto;
        display: flex;
        flex-direction: column;
    }

    .hero-image {
        height: 300px;
        animation: none;
    }

    .hero-text {
        position: relative;
        top: 0;
        left: 0;
        right: auto;
        transform: none;
        width: 100%;
        padding: 40px 20px;
        border-left: none;
        border-top: 4px solid var(--primary-color);
        background-color: var(--white);
    }

    .hero-message {
        font-size: 1.1rem;
        line-height: 1.8;
    }

    .section {
        padding: 60px 0;
    }

    .simple-news-list a {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 20px 0;
    }

    .news-article {
        padding: 30px 0;
    }

    .news-title {
        font-size: 1.25rem;
    }

    .simple-news-list time {
        font-size: 0.95rem;
        margin-bottom: 5px;
    }

    .access-info {
        font-size: 1rem;
    }

    .access-block {
        margin-bottom: 30px;
    }

    .access-divider {
        margin: 0 auto 40px;
    }

    .map-wrapper {
        margin-bottom: 30px;
    }

    .shop-hours {
        padding: 25px 20px;
    }

    .shop-hours dl {
        flex-direction: column;
    }

    .shop-hours dt {
        width: 100%;
        border-right: none;
        padding-right: 0;
        margin-bottom: 5px;
        font-size: 1.05rem;
    }

    .shop-hours dd {
        width: 100%;
        padding-left: 0;
        margin-bottom: 20px;
    }

    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
        padding: 15px 10px;
    }

    .info-table tr {
        display: block;
        border-bottom: 1px solid #e0dfdc;
    }

    .info-table th {
        border-bottom: none;
        padding-bottom: 0;
    }

    .location-item dt {
        width: 100%;
        margin-bottom: 5px;
        margin-right: 0;
        color: var(--primary-color);
    }

    .history-item dt {
        width: 100%;
        margin-bottom: 5px;
        color: var(--primary-color);
    }

    .history-item dd {
        width: 100%;
        padding-left: 15px;
        position: relative;
    }

    .history-item dd::before {
        content: '';
        position: absolute;
        left: 0;
        top: 8px;
        width: 6px;
        height: 1px;
        background-color: var(--border-color);
    }

    .shop-title {
        font-size: 1.6rem;
    }

    .btn-shop {
        padding: 15px 20px;
        font-size: 1.1rem;
        width: 100%;
        border-radius: 8px;
    }
}