@charset "UTF-8";

/* ========================================================
   Botanical & Organic Style
======================================================== */

/* --------------------------------------------------------
   00. Web Fonts
-------------------------------------------------------- */
/* Weight: 700 (Bold) */
@font-face {
    font-family: 'M PLUS Rounded 1c';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('./fonts/m-plus-rounded-1c-v22-latin-700.woff2') format('woff2');
}

/* Weight: 800 (ExtraBold) */
@font-face {
    font-family: 'M PLUS Rounded 1c';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('./fonts/m-plus-rounded-1c-v22-latin-800.woff2') format('woff2');
}

/* Weight: 900 (Black) */
@font-face {
    font-family: 'M PLUS Rounded 1c';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('./fonts/m-plus-rounded-1c-v22-latin-900.woff2') format('woff2');
}

/* --------------------------------------------------------
   01. Variables (変数定義)
-------------------------------------------------------- */
:root {
    /* Colors */
    --leaf-green: #6B8E67;   /* メインのモスグリーン */
    --sage-green: #A3B19B;   /* 淡いセージグリーン（アクセント） */
    --forest-dark: #2E3A2C;  /* テキスト用の深い森の色 */
    --bg-organic: #F9F8F4;   /* 温かみのあるアイボリー（生成り色） */
    --border-soft: #E2DFD6;  /* 馴染む枠線カラー */
    --white: #FFFFFF;

    /* Typography */
    --font-body: 'M PLUS Rounded 1c', sans-serif;

    /* Shadows */
    --shadow-organic: 0 10px 30px rgba(46, 58, 44, 0.06);
    --shadow-btn: 0 4px 12px rgba(107, 142, 103, 0.2);
}


/* --------------------------------------------------------
   02. Base & Reset (基本設定)
-------------------------------------------------------- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--forest-dark);
    background-color: var(--bg-organic);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;

}

a {
    text-decoration: none;
    color: inherit;
}


/* --------------------------------------------------------
   03. Utilities (汎用クラス)
-------------------------------------------------------- */
.container { width: 100%; margin-right: auto; margin-left: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

.max-w-6xl { max-width: 72rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }

.w-full { width: 100%; }
.h-auto { height: auto; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.font-bold { font-weight: 600; }
.hidden { display: none !important; }


/* --------------------------------------------------------
   04. Components (共通コンポーネント)
-------------------------------------------------------- */
/* --- Boxes --- */
.brutal-box {
    background-color: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    box-shadow: var(--shadow-organic);
}

.brutal-box-sm {
    background-color: var(--sage-green);
    color: var(--white);
    border-radius: 50px;
}

/* --- Buttons --- */
.brutal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    color: var(--leaf-green);
    border: 1px solid var(--leaf-green);
    border-radius: 8px;
    box-shadow: var(--shadow-btn);
    cursor: pointer;
    transition: all 0.3s ease;
}

.brutal-btn:hover {
    background-color: var(--leaf-green);
    color: var(--forest-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(107, 142, 103, 0.3);
}

.brutal-btn:active {
    transform: translateY(0);
}

/* --- Titles --- */
.section-title {
    display: inline-block;
    padding: 0.75rem 2.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--leaf-green);
    background-color: rgba(107, 142, 103, 0.1);
    border-radius: 50px;
    margin-bottom: 2.5rem;
    letter-spacing: 0.1em;
}

/* --- iFrames --- */
.iframe-container,
.form-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-organic);
}

.iframe-container {
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.form-container {
    height: 900px;
    margin-top: 1rem;
}

.iframe-container iframe,
.form-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* --------------------------------------------------------
   05. Header & Navigation (ヘッダー・ナビ)
-------------------------------------------------------- */
.fixed-header {
    position: fixed;
    width: 100%;
    background-color: rgba(249, 248, 244, 0.95);
    backdrop-filter: blur(8px);
    z-index: 50;
}

.header-brutal-box {
    background: transparent;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 4px 20px rgba(46, 58, 44, 0.03);
}

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

/* --- Logo --- */
.logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.25rem 0;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-subtext {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--forest-dark);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.logo-maintext {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--leaf-green);
    letter-spacing: 0.05em;
}

/* --- Desktop Nav --- */
.desktop-menu {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--leaf-green);
    border-color: var(--leaf-green);
}

.nav-btn {
    padding: 0.5rem 1.75rem;
}

/* --- Mobile Nav --- */
.mobile-menu-btn {
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--leaf-green);
}

.mobile-menu-btn svg {
    width: 1.75rem;
    height: 1.75rem;
}

.mobile-menu-panel {
    display: none;
    position: absolute;
    left: 0;
    width: 100%;
    background-color: var(--bg-organic);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow-organic);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.mobile-link {
    padding: 0.75rem 0;
    transition: color 0.2s;
}

.mobile-link:hover {
    color: var(--leaf-green);
}

.mobile-btn {
    padding: 0.75rem 0;
    margin: 0.5rem 2rem;
}


/* --------------------------------------------------------
   06. Sections (各セクション)
-------------------------------------------------------- */

/* --- Hero Section --- */
.hero-section {
    padding-top: 6rem;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 65vh;
    max-height: 600px;
    overflow: hidden;
    border-radius: 30px;
}

.hero-img {
    width: 100%;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(46, 58, 44, 0.1), rgba(46, 58, 44, 0.4));
}

.hero-title {
    margin-bottom: 1rem;
    font-size: 2.75rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.15em;
    text-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* --- News Section --- */
.news-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.news-col {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.news-badge {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.news-item {
    display: block;
    padding: 1.5rem;
    background-color: var(--white);
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-item:hover {
    background-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(46, 58, 44, 0.08);
}

.news-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.news-date {
    align-self: flex-start;
    padding: 0 0.5rem;
    font-size: 0.85rem;
}

.news-text {
    line-height: 1.6;
}

.news-text:hover {
    color: var(--leaf-green);
}

.blog-banner {
    display: block;
    overflow: hidden;
    border: none;
    border-radius: 20px;
    box-shadow: var(--shadow-organic);
    transition: transform 0.3s;
}

.blog-banner:hover {
    transform: translateY(-3px);
}

.blog-img {
    width: 100%;
    height: 9rem;
}

/* --- Menu Section --- */
.menu-section {
    padding: 5rem 0;
    background-color: var(--sage-green);
}

.menu-title {
    background-color: var(--white);
    box-shadow: var(--shadow-organic);
}

.menu-container {
    max-width: 28rem;
    margin: 1rem auto;
}

.menu-link {
    display: block;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.menu-link:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

.menu-img-wrapper {
    position: relative;
    overflow: hidden;
    border: 4px solid var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-organic);
}

.menu-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    opacity: 0;
    z-index: 10;
    transition: opacity 0.3s;
}

.menu-link:hover .menu-overlay {
    opacity: 1;
}

.menu-overlay-text {
    padding: 1rem 2.5rem;
    font-weight: 500;
    color: var(--white);
    background-color: var(--leaf-green);
    border-radius: 50px;
    box-shadow: var(--shadow-btn);
    transition: all 0.3s;
}

/* --- Info Section --- */
.info-section {
    padding-top: 4rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 1rem;
}

.gallery {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.gallery-item {
    overflow: hidden;
    border: none;
}

.gallery-img {
    width: 100%;
    height: 15rem;
    transition: transform 6s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-table-wrapper {
    padding: 2rem;
}

.info-table {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}

.info-tbody > tr:not(:last-child) {
    border-bottom: 1px solid var(--border-soft);
}

.info-th {
    width: 33.333%;
    padding: 1.25rem 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--leaf-green);
    vertical-align: top;
}

.info-td {
    padding: 1.25rem 0;
}

.tel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--leaf-green);
    background-color: transparent;
    border: 1px solid var(--leaf-green);
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tel-link:hover {
    color: var(--white);
    background-color: var(--leaf-green);
}

.tel-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* --- Footer --- */
.footer {
    padding: 5rem 0 3rem;
    text-align: center;
    color: var(--bg-organic);
    background-color: var(--forest-dark);
}

.footer-title {
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--sage-green);
    letter-spacing: 0.15em;
}

.footer-address {
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.8;
    opacity: 0.8;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    font-size: 0.9rem;
}

.footer-link {
    opacity: 0.8;
    transition: color 0.2s, opacity 0.2s;
}

.footer-link:hover {
    color: var(--sage-green);
    opacity: 1;
}

.footer-copy {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(249, 248, 244, 0.4);
}


/* --- トップへ戻るボタン --- */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    color: var(--leaf-green);
    border: 2px solid var(--leaf-green);
    border-radius: 50%;
    box-shadow: var(--shadow-btn);
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--leaf-green);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(107, 142, 103, 0.4);
}

.scroll-to-top.hidden {
    display: flex !important; /* display: noneのオーバーライド */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}


/* --------------------------------------------------------
   07. Media Queries (レスポンシブ対応)
-------------------------------------------------------- */
@media (min-width: 640px) {
    .news-item-content {
        flex-direction: row;
        align-items: center;
    }
}

@media (min-width: 768px) {
    .section-title { font-size: 1.75rem; }
    .logo-maintext { font-size: 1.75rem; }
    
    .desktop-menu { display: flex; }
    .mobile-menu-btn { display: none; }
    
    .hero-title { font-size: 3.5rem; }
    
    .news-grid { flex-direction: row; }
    .news-col { width: 50%; }
    
    .blog-img { height: 9rem; }
    .gallery-img { height: 20rem; }
    
    .info-table-wrapper { padding: 3rem; }
    .tel-link { font-size: 1.25rem; }
}

@media (min-width: 1024px) {
    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .mobile-menu-panel:not(.hidden) {
        display: block;
    }

    .hero-container {
        height: 30vh;
    }

    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 3rem;
        height: 3rem;
    }

    .tel-link {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }

}
