@charset "UTF-8";

:root {
    --primary-color: #81c784;       /* メインの淡いグリーン */
    --accent-color: #2e7d32;        /* 今回使う濃いグリーン */
    --white: #ffffff;
}
/* =========================================================
   1. 基本設定 (Base)
   ========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Shippori Mincho", "Yu Mincho", "游明朝", "Hiragino Mincho ProN", serif;
    color: #333;
    background-color: #fffefa;
    overflow-x: hidden;
}

.wrapper {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

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

/* =========================================================
   2. ヘッダーナビゲーション (Sticky Nav) & メニュー
   ========================================================= */
.sticky-nav {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.sticky-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.sticky-nav li {
    margin: 0 15px;
}

.sticky-nav a {
    color: #555;
    font-size: 14px;
    letter-spacing: 0.05em;
    font-family: "Times New Roman", serif;
}

/* ハンバーガーメニューアイコン（PC表示では隠す） */
.hamburger {
    display: none;
}

/* =========================================================
   3. ヒーローセクション（トップ画像・アニメーション）
   ========================================================= */
.hero-section {
    display: flex;
    width: 100%;
    min-height: 550px;
    position: relative;
    padding-top: 20px;
    overflow: hidden;
}

.hero-text-area {
    width: 45%;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.8;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
    font-weight: 500;
    color: #333;
}

.hero-title br {
    display: block;
    content: "";
    margin: 0;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #666;
}

.hero-divider {
    width: 100%;
    height: 1px;
    background-color: #ddd;
    margin: 20px 0;
}

.hero-brand {
    font-family: "Times New Roman", serif;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

.hero-visual-area {
    width: 55%;
    position: relative;
}

.green-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 100%;
    background-color: #768471;
    z-index: 0;
}

.hero-img {
    position: absolute;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 1;
}

.main-img {
    top: 10%;
    left: 0;
    width: 55%;
    aspect-ratio: 1/1;
}

.sub-img {
    bottom: 15%;
    right: 15%;
    width: 40%;
    aspect-ratio: 3/4;
    border: 8px solid #fff;
}

/* --- アニメーション定義 --- */
.js-text-anim span {
    opacity: 0;
    display: inline-block;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-text-anim span.show {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-in-right.show {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 { transition-delay: 0.3s; }
.delay-2 { transition-delay: 0.6s; }
.delay-3 { transition-delay: 0.9s; }

/* =========================================================
   4. 見出し・本文 (Typography)
   ========================================================= */
h2 {
    margin: 0 0 50px;
    font-size: 2rem;
    font-family: "Times New Roman", serif;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

h2::before, h2::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background-color: #ccc;
    max-width: 100px;
}

h2::before { margin-right: 20px; }
h2::after { margin-left: 20px; }

p {
    line-height: 2.2;
    margin-bottom: 40px;
    color: #555;
    text-align: justify;
}

#message + p {
    text-align: center;
}

.message-text {
    margin-bottom: 0;
}

/* =========================================================
   5. セクション別スタイル (Gallery, Project, Brand)
   ========================================================= */
.sample-link {
    display: inline-flex;
    align-items: center;
    gap: 5px; 
    color: var(--accent-color);
    font-weight: bold;
    text-decoration: none;
    border: none;
    background: none;
    padding: 0;
    font-size: 1rem;
    transition: opacity 0.3s;
}

.sample-link:hover {
    text-decoration: underline; 
    opacity: 0.7;
    background: none;
    color: var(--accent-color);
    text-shadow: none;
}

.sample-link i {
    font-size: 1rem;
}

.text-link-area {
    text-align: left;
    margin-top: 10px;
    margin-bottom: 30px;
    padding-left: 18px; 
}

.gallery-category {
    margin-bottom: 80px;
}

.gallery-cat-title {
    font-family: "Times New Roman", serif;
    font-size: 1.4rem;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
    border-left: 3px solid #768471;
    padding-left: 15px;
    color: #333;
}

.gallery-cat-desc {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0; 
    margin-left: 18px;
    text-align: left;
}

.gallery-cat-desc p {
    margin-bottom: 0; 
    color: #777;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 1220 / 1016; 
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

/* =========================================================
   6. パララックス (Parallax Hero)
   ========================================================= */
.parallax-hero {
    background-color: #ccc; 
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom:60px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.parallax-content img {
    max-width: 250px;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
    transform: translateX(-12px);
}

/* =========================================================
   7. Contact (Company) & Footer
   ========================================================= */
.company-area {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
    background-color: #fff;
    padding: 40px;
    border: 1px solid #eee;
}

.company-info p {
    margin-bottom: 10px;
    text-align: left;
}

.company-map iframe {
    width: 100%;
    height: 350px;
    border: none;
}

footer {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-top: 1px solid #eee;
    font-size: 0.8rem;
    color: #999;
}

.sns-links {
    display: flex;
    align-items: center;
    gap: 15px; 
    margin-top: 15px;
}

.btn-form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: var(--white) !important;
    text-decoration: none;
    font-weight: bold;
    padding: 0 25px;
    height: 50px;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-form i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.btn-form:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.insta-icon {
    height: 50px; 
}

/* =========================================================
   8. NEWSセクション
   ========================================================= */
.news-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0;
    border-top: 1px solid #eee;
}

.news-list li {
    border-bottom: 1px solid #eee;
}

.news-list .news-wrap {
    display: flex;
    align-items: center;
    padding: 25px 10px; 
    color: #333;
    flex-wrap: wrap; 
    gap: 30px; 
}

.news-meta {
    display: flex;
    align-items: center;
    min-width: 180px;
    flex-shrink: 0; 
}

.news-list time {
    font-family: "Lato", sans-serif;
    color: #888;
    font-size: 0.95rem; 
    margin-right: 15px;
    letter-spacing: 0.05em;
}

.news-tag {
    display: inline-block;
    padding: 4px 10px; 
    font-size: 0.75rem;
    color: #fff;
    border-radius: 2px;
    letter-spacing: 0.05em;
    text-align: center;
    min-width: 70px;
}

.news-tag.event { background-color: #e67e22; }
.news-tag.info { background-color: #2e7d32; }
.news-tag.media { background-color: #d81b60; }

.news-text {
    margin: 0 !important;
    font-size: 1rem; 
    line-height: 1.8; 
    flex: 1;
    color: #444;
    text-align: left;
}

.news-more-link {
    text-align: right;
    max-width: 800px;
    margin: 0 auto;
}

.news-more-link a {
    font-size: 0.9rem;
    color: var(--accent-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.news-more-link a i {
    margin-right: 6px;
    font-size: 1.1rem;
}

.news-more-link a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* =========================================================
   9. WORKSHOPカルーセル (Swiper設定)
   ========================================================= */
.workshop-swiper {
    padding: 20px 0 50px !important; 
    position: relative;
}

.swiper-slide {
    padding: 0 12px; 
    box-sizing: border-box;
}

.workshop-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workshop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.workshop-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.workshop-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0 !important;
    padding: 10px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    letter-spacing: 0.05em;
}

.swiper-button-next,
.swiper-button-prev {
    width: 44px !important;
    height: 44px !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transition: background-color 0.3s;
    color: #2e7d32 !important;
    z-index: 10; 
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem !important;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #fff !important;
}

.swiper-pagination-bullet-active {
    background: #2e7d32 !important;
}


/* =========================================================
   スマホ用レスポンシブ設定（全修正・メニュー中央配置版）
   ========================================================= */
@media (max-width: 600px) {

    /* --- 0. ハンバーガーメニューとスマホナビ --- */
    
    /* PC用の横並びメニューの枠をスマホでは透明にする */
    .sticky-nav {
        padding: 0;
        box-shadow: none;
        background-color: transparent;
    }

    /* ▼ ボタンを目立たせる（丸い白背景をつける） ▼ */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        background-color: rgba(255, 255, 255, 0.95); /* 白い丸で目立たせる */
        border-radius: 50%;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        z-index: 1001;
        cursor: pointer;
    }

    .hamburger span {
        display: block;
        position: absolute;
        width: 20px;
        height: 2px;
        background-color: #333;
        transition: 0.3s;
    }

    .hamburger span:nth-child(1) { transform: translateY(-6px); }
    .hamburger span:nth-child(2) { transform: translateY(0); }
    .hamburger span:nth-child(3) { transform: translateY(6px); }

    .hamburger.active span:nth-child(1) { transform: translateY(0) rotate(-45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(0) rotate(45deg); }

    /* ▼ メニューを開いたときの画面（中央揃え） ▼ */
    .sticky-nav ul {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98); /* ほぼ真っ白にして背景を隠す */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center; /* 左右の中央揃え */
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 1000;
    }

    .sticky-nav.open ul {
        opacity: 1;
        visibility: visible;
    }

    .sticky-nav li {
        margin: 20px 0;
        text-align: center; /* 文字の中央揃え */
    }

    .sticky-nav a {
        font-size: 1.5rem; /* 押しやすいように大きく */
        color: #333;
        font-weight: bold;
    }

    /* --- 1. ヒーローセクション（PCデザイン統一） --- */
    .hero-section {
        display: flex;
        flex-direction: column;
        min-height: auto;
        padding-top: 30px;
    }

    .hero-text-area {
        width: 90%; 
        margin: 0 auto;
        padding: 0 0 30px 0;
        text-align: left;
        background-color: transparent; 
    }

    .hero-title {
        color: #333; 
        font-size: 2rem;
        text-shadow: none;
        margin-bottom: 20px;
    }

    .hero-title br {
        display: none;
    }

    .hero-subtitle,
    .hero-brand {
        color: #333;
        text-shadow: none;
    }

    .hero-divider {
        background-color: #ddd;
    }

    .hero-visual-area {
        width: 100%;
        height: 450px;
        position: relative;
    }

    .green-bg {
        width: 80%; 
        height: 100%;
        top: 0;
        right: 0;
        background-color: #768471;
        border-radius: 0; 
    }

    .main-img {
        width: 65%;
        top: 10%;
        left: 5%;
        bottom: auto;
    }

    .sub-img {
        width: 45%;
        top: auto;
        bottom: 5%;
        right: 5%;
    }

    /* --- 2. NEWSセクションの調整 --- */
    .news-list .news-wrap {
        display: block;
        padding: 20px 5px;
        gap: 10px;
    }
    .news-meta {
        margin-bottom: 10px;
    }
    .news-text {
        font-size: 0.95rem;
    }

    /* --- 3. WORKSHOPカルーセルの調整 --- */
    .workshop-card img {
        aspect-ratio: 4/3;
    }
    .workshop-title {
        font-size: 0.9rem;
        padding: 8px 10px;
    }
    .swiper-button-next,
    .swiper-button-prev {
        width: 35px !important;
        height: 35px !important;
        margin-left: -5px;
        margin-right: -5px;
    }
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 1rem !important;
    }

    /* --- 4. CONTACT（フッター）の修正 --- */
    .company-area {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    .company-map iframe {
        height: 300px;
    }
    .sns-links {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        margin-top: 25px;
    }
    .btn-form {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
        padding: 0 15px;
    }
    .insta-icon {
        height: 50px;
        width: auto;
    }
    .sns-links a:not(.btn-form) {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}