/* ============================================
   永田建築工芸 - メインスタイルシート
   Color Palette:
   - Primary (木の赤茶): #7B4A2A
   - Secondary (漆喰の白): #F5F2EA
   - Accent (苔の緑): #5C7A4A
   - Text (墨色): #2A2520
   - Background (オフホワイト): #FAFAF6
============================================ */

/* === Reset === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
    color: #2A2520;
    background-color: #FAFAF6;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    opacity: 0.7;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

/* === Layout helpers === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    color: #5C7A4A;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.2rem;
    color: #2A2520;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1rem;
    color: #6B6258;
    max-width: 640px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.6rem;
    }
}

/* === Header === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(250, 250, 246, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(123, 74, 42, 0.1);
    transition: padding 0.3s ease;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo__mark {
    width: 44px;
    height: 44px;
    background-color: #7B4A2A;
    color: #F5F2EA;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Noto Serif JP", serif;
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 4px;
}

.site-logo__text {
    display: flex;
    flex-direction: column;
}

.site-logo__name {
    font-family: "Noto Serif JP", serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #2A2520;
    letter-spacing: 0.1em;
}

.site-logo__sub {
    font-size: 0.7rem;
    color: #6B6258;
    letter-spacing: 0.2em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-nav__list {
    display: flex;
    gap: 28px;
}

.site-nav__link {
    font-size: 0.9rem;
    color: #2A2520;
    position: relative;
    padding: 8px 0;
}

.site-nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: #7B4A2A;
    transition: width 0.3s ease;
}

.site-nav__link:hover::after,
.site-nav__link.is-current::after {
    width: 100%;
}

.site-nav__cta {
    background-color: #7B4A2A;
    color: #F5F2EA !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
}

.site-nav__cta:hover {
    background-color: #5C3820;
    opacity: 1;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.menu-toggle span {
    width: 24px;
    height: 1.5px;
    background-color: #2A2520;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

@media (max-width: 900px) {
    .site-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: #FAFAF6;
        flex-direction: column;
        gap: 0;
        padding: 32px 24px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
        border-bottom: 1px solid rgba(123, 74, 42, 0.1);
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav__list {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 24px;
    }

    .menu-toggle {
        display: flex;
    }
}

/* === Hero === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(135deg, rgba(42, 37, 32, 0.45), rgba(123, 74, 42, 0.35)),
        url('https://images.unsplash.com/photo-1617104678098-de229db51175?w=1920&q=80');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    color: #FAFAF6;
}

.hero__sub {
    font-size: 0.9rem;
    letter-spacing: 0.4em;
    margin-bottom: 24px;
    opacity: 0.85;
}

.hero__title {
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 32px;
    color: #FAFAF6;
}

.hero__title em {
    font-style: normal;
    color: #E8C896;
    display: block;
    margin-top: 8px;
}

.hero__lead {
    font-size: 1.05rem;
    line-height: 2;
    max-width: 520px;
    margin-bottom: 48px;
    opacity: 0.95;
}

.hero__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: #FAFAF6;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    z-index: 1;
    text-align: center;
}

.hero__scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background-color: #FAFAF6;
    margin: 12px auto 0;
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 768px) {
    .hero {
        min-height: 540px;
    }
    .hero__title {
        font-size: 2rem;
    }
    .hero__lead {
        font-size: 0.95rem;
    }
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    border-radius: 4px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    border: 1px solid transparent;
}

.btn::after {
    content: '→';
    transition: transform 0.3s ease;
}

.btn:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.btn:hover::after {
    transform: translateX(4px);
}

.btn--primary {
    background-color: #7B4A2A;
    color: #F5F2EA;
}

.btn--primary:hover {
    background-color: #5C3820;
}

.btn--outline {
    background-color: transparent;
    color: #FAFAF6;
    border-color: #FAFAF6;
}

.btn--outline:hover {
    background-color: #FAFAF6;
    color: #2A2520;
}

.btn--dark-outline {
    background-color: transparent;
    color: #2A2520;
    border-color: #2A2520;
}

.btn--dark-outline:hover {
    background-color: #2A2520;
    color: #FAFAF6;
}

/* === Strengths === */
.strengths {
    background-color: #FAFAF6;
}

.strengths__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 24px;
}

@media (max-width: 768px) {
    .strengths__list {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.strength-item {
    text-align: center;
    padding: 32px 24px;
    background-color: #ffffff;
    border-top: 3px solid #7B4A2A;
    box-shadow: 0 4px 24px rgba(42, 37, 32, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strength-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(42, 37, 32, 0.08);
}

.strength-item__num {
    color: #7B4A2A;
    font-family: "Noto Serif JP", serif;
    font-size: 1rem;
    letter-spacing: 0.3em;
    margin-bottom: 16px;
}

.strength-item__icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
    color: #7B4A2A;
}

.strength-item__title {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: #2A2520;
}

.strength-item__desc {
    font-size: 0.95rem;
    color: #6B6258;
    line-height: 1.9;
}

/* === Concept (about teaser) === */
.concept-intro {
    background-color: #F5F2EA;
}

.concept-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 900px) {
    .concept-intro__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.concept-intro__image {
    position: relative;
    aspect-ratio: 4 / 5;
    background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=800&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    overflow: hidden;
}

.concept-intro__image::before {
    content: '';
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(245, 242, 234, 0.6);
}

.concept-intro__title {
    font-size: 2rem;
    color: #2A2520;
    margin-bottom: 24px;
    line-height: 1.6;
}

.concept-intro__title em {
    font-style: normal;
    color: #7B4A2A;
}

.concept-intro__lead {
    font-size: 1rem;
    color: #4A413A;
    line-height: 2;
    margin-bottom: 32px;
}

/* === Works showcase === */
.works-showcase {
    background-color: #FAFAF6;
}

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

@media (max-width: 900px) {
    .works-grid {
        grid-template-columns: 1fr;
    }
}

.work-card {
    background-color: #ffffff;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(42, 37, 32, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(42, 37, 32, 0.1);
}

.work-card__image {
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
}

.work-card__body {
    padding: 24px;
}

.work-card__category {
    display: inline-block;
    font-size: 0.75rem;
    color: #5C7A4A;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

.work-card__title {
    font-size: 1.15rem;
    color: #2A2520;
    margin-bottom: 12px;
}

.work-card__meta {
    font-size: 0.85rem;
    color: #6B6258;
    border-top: 1px solid #F5F2EA;
    padding-top: 12px;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* === Voice === */
.voice {
    background-color: #2A2520;
    color: #F5F2EA;
    position: relative;
    overflow: hidden;
}

.voice::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background-color: rgba(123, 74, 42, 0.15);
}

.voice .section-title {
    color: #F5F2EA;
}

.voice .section-tag {
    color: #E8C896;
}

.voice__rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.voice__stars {
    color: #FFCC4D;
    font-size: 1.4rem;
    letter-spacing: 0.2em;
}

.voice__rating-text {
    font-size: 1rem;
    opacity: 0.9;
}

.voice__rating-source {
    font-size: 0.8rem;
    opacity: 0.6;
    width: 100%;
    text-align: center;
    letter-spacing: 0.1em;
}

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

@media (max-width: 900px) {
    .voice__list {
        grid-template-columns: 1fr;
    }
}

.voice-card {
    background-color: rgba(245, 242, 234, 0.05);
    border: 1px solid rgba(245, 242, 234, 0.1);
    padding: 32px 28px;
    border-radius: 4px;
    position: relative;
}

.voice-card::before {
    content: '"';
    position: absolute;
    top: -12px;
    left: 24px;
    font-size: 4rem;
    color: rgba(232, 200, 150, 0.5);
    font-family: "Noto Serif JP", serif;
}

.voice-card__stars {
    color: #FFCC4D;
    font-size: 0.9rem;
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}

.voice-card__quote {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 24px;
    color: #F5F2EA;
}

.voice-card__author {
    font-size: 0.85rem;
    color: #B8AE9F;
    border-top: 1px solid rgba(245, 242, 234, 0.1);
    padding-top: 16px;
}

/* === Contact CTA === */
.contact-cta {
    background:
        linear-gradient(135deg, rgba(123, 74, 42, 0.85), rgba(92, 56, 32, 0.9)),
        url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: #F5F2EA;
    text-align: center;
}

.contact-cta__title {
    font-size: 2.2rem;
    margin-bottom: 24px;
    color: #F5F2EA;
}

.contact-cta__lead {
    font-size: 1rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 2;
}

.contact-cta__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-cta__phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #FAFAF6;
    color: #2A2520;
    padding: 16px 32px;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-cta__phone::after {
    content: none;
}

.contact-cta__phone:hover {
    background-color: #E8C896;
}

.contact-cta__phone-icon {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .contact-cta__title {
        font-size: 1.5rem;
    }
}

/* === Footer === */
.site-footer {
    background-color: #1F1A16;
    color: #B8AE9F;
    padding: 64px 0 32px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

@media (max-width: 768px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.site-footer__brand-name {
    font-family: "Noto Serif JP", serif;
    font-size: 1.3rem;
    color: #F5F2EA;
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}

.site-footer__brand-text {
    font-size: 0.85rem;
    line-height: 2;
}

.site-footer__heading {
    font-family: "Noto Serif JP", serif;
    font-size: 1rem;
    color: #F5F2EA;
    margin-bottom: 20px;
    letter-spacing: 0.15em;
}

.site-footer__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.85rem;
}

.site-footer__bottom {
    border-top: 1px solid rgba(184, 174, 159, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.75rem;
    color: #6B6258;
    letter-spacing: 0.1em;
}

/* === Page hero (sub-pages) === */
.page-hero {
    margin-top: 80px;
    padding: 80px 0;
    background-color: #F5F2EA;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1556228720-195a672e8a03?w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.page-hero__inner {
    position: relative;
    z-index: 1;
}

.page-hero__sub {
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    color: #5C7A4A;
    margin-bottom: 12px;
}

.page-hero__title {
    font-size: 2.6rem;
    color: #2A2520;
    margin-bottom: 16px;
}

.page-hero__lead {
    font-size: 1rem;
    color: #4A413A;
    max-width: 640px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-hero__title {
        font-size: 1.8rem;
    }
}

/* === Breadcrumb === */
.breadcrumb {
    padding: 16px 0;
    background-color: #FAFAF6;
    border-bottom: 1px solid rgba(123, 74, 42, 0.08);
    font-size: 0.8rem;
}

.breadcrumb__list {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #6B6258;
}

.breadcrumb__list li::after {
    content: '/';
    margin-left: 12px;
    opacity: 0.5;
}

.breadcrumb__list li:last-child::after {
    content: none;
}

/* === Two-column block (used on About, Concept, Flow) === */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 96px;
}

.two-col:last-child {
    margin-bottom: 0;
}

.two-col--reverse .two-col__image {
    order: 2;
}

@media (max-width: 900px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 48px;
    }
    .two-col--reverse .two-col__image {
        order: 0;
    }
}

.two-col__image {
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

.two-col__body h2 {
    font-size: 1.7rem;
    margin-bottom: 16px;
    color: #2A2520;
}

.two-col__body h2 em {
    font-style: normal;
    color: #7B4A2A;
}

.two-col__body p {
    font-size: 0.95rem;
    color: #4A413A;
    line-height: 2;
    margin-bottom: 16px;
}

/* === Profile (representative card) === */
.profile-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
    background-color: #ffffff;
    padding: 48px;
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(42, 37, 32, 0.05);
    margin-bottom: 64px;
}

@media (max-width: 768px) {
    .profile-card {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 24px;
    }
}

.profile-card__image {
    width: 100%;
    aspect-ratio: 1;
    background-image: url('https://images.unsplash.com/photo-1531746020798-e6953c6e8e04?w=600&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
}

.profile-card__role {
    font-size: 0.85rem;
    color: #5C7A4A;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

.profile-card__name {
    font-size: 1.6rem;
    color: #2A2520;
    margin-bottom: 24px;
}

.profile-card__quote {
    font-size: 1rem;
    line-height: 2;
    color: #4A413A;
}

/* === Info table === */
.info-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: 0 4px 16px rgba(42, 37, 32, 0.05);
}

.info-table th,
.info-table td {
    padding: 20px 24px;
    text-align: left;
    font-size: 0.95rem;
    border-bottom: 1px solid #F5F2EA;
}

.info-table th {
    background-color: #F5F2EA;
    color: #2A2520;
    font-weight: 500;
    width: 200px;
    font-family: "Noto Serif JP", serif;
}

.info-table td {
    color: #4A413A;
}

@media (max-width: 600px) {
    .info-table th, .info-table td {
        display: block;
        width: 100%;
        padding: 12px 16px;
    }
    .info-table th {
        border-bottom: none;
        padding-bottom: 4px;
    }
}

/* === Flow (timeline) === */
.flow-timeline {
    position: relative;
}

.flow-timeline::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #7B4A2A;
    opacity: 0.3;
}

.flow-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    margin-bottom: 48px;
    position: relative;
}

.flow-step:last-child {
    margin-bottom: 0;
}

.flow-step__num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #7B4A2A;
    color: #F5F2EA;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Noto Serif JP", serif;
    font-size: 1.4rem;
    z-index: 1;
}

.flow-step__body {
    background-color: #ffffff;
    padding: 28px 32px;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(42, 37, 32, 0.04);
}

.flow-step__title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #2A2520;
}

.flow-step__period {
    font-size: 0.8rem;
    color: #5C7A4A;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.flow-step__desc {
    font-size: 0.95rem;
    color: #4A413A;
    line-height: 1.9;
}

/* === FAQ === */
.faq-item {
    background-color: #ffffff;
    margin-bottom: 16px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(42, 37, 32, 0.04);
}

.faq-item__q {
    padding: 24px 32px;
    font-family: "Noto Serif JP", serif;
    font-size: 1.05rem;
    color: #2A2520;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: background-color 0.3s ease;
}

.faq-item__q:hover {
    background-color: #FAFAF6;
}

.faq-item__q::before {
    content: 'Q';
    color: #7B4A2A;
    font-weight: 700;
    font-size: 1.2rem;
}

.faq-item__q-text {
    flex: 1;
}

.faq-item__toggle {
    width: 16px;
    height: 16px;
    position: relative;
    transition: transform 0.3s ease;
}

.faq-item__toggle::before,
.faq-item__toggle::after {
    content: '';
    position: absolute;
    background-color: #7B4A2A;
    transition: transform 0.3s ease;
}

.faq-item__toggle::before {
    width: 100%;
    height: 1.5px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq-item__toggle::after {
    height: 100%;
    width: 1.5px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.faq-item.is-open .faq-item__toggle::after {
    transform: translateX(-50%) rotate(90deg);
}

.faq-item__a {
    padding: 0 32px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background-color: #FAFAF6;
}

.faq-item.is-open .faq-item__a {
    max-height: 400px;
    padding: 24px 32px;
}

.faq-item__a-content {
    display: flex;
    gap: 16px;
    font-size: 0.95rem;
    color: #4A413A;
    line-height: 1.9;
}

.faq-item__a-content::before {
    content: 'A';
    color: #5C7A4A;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: "Noto Serif JP", serif;
    flex-shrink: 0;
}

/* === Contact form === */
.contact-form {
    background-color: #ffffff;
    padding: 48px;
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(42, 37, 32, 0.05);
}

@media (max-width: 768px) {
    .contact-form {
        padding: 32px 24px;
    }
}

.form-group {
    margin-bottom: 28px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2A2520;
    margin-bottom: 8px;
    font-family: "Noto Serif JP", serif;
}

.form-required {
    background-color: #7B4A2A;
    color: #F5F2EA;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 2px;
    font-family: "Noto Sans JP", sans-serif;
    letter-spacing: 0.05em;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: inherit;
    color: #2A2520;
    background-color: #FAFAF6;
    border: 1px solid #E5DFD3;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #7B4A2A;
}

.form-textarea {
    min-height: 160px;
    resize: vertical;
}

.form-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #FAFAF6;
    border: 1px solid #E5DFD3;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    font-size: 0.9rem;
}

.form-check:hover {
    background-color: #F5F2EA;
    border-color: #7B4A2A;
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.form-submit-btn {
    background-color: #7B4A2A;
    color: #F5F2EA;
    padding: 16px 64px;
    font-size: 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    letter-spacing: 0.1em;
}

.form-submit-btn:hover {
    background-color: #5C3820;
    transform: translateY(-2px);
}

/* === Concept (philosophy) === */
.philosophy-block {
    background-color: #F5F2EA;
    padding: 64px 48px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 64px;
}

@media (max-width: 768px) {
    .philosophy-block {
        padding: 40px 24px;
    }
}

.philosophy-block__title {
    font-size: 2rem;
    color: #2A2520;
    margin-bottom: 24px;
    line-height: 1.6;
}

.philosophy-block__title em {
    font-style: normal;
    color: #7B4A2A;
}

.philosophy-block__text {
    font-size: 1rem;
    color: #4A413A;
    line-height: 2;
    max-width: 720px;
    margin: 0 auto;
}

/* === News list === */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-item {
    display: grid;
    grid-template-columns: 120px 100px 1fr;
    gap: 24px;
    padding: 24px;
    background-color: #ffffff;
    border-radius: 4px;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(42, 37, 32, 0.06);
}

.news-item__date {
    font-size: 0.85rem;
    color: #6B6258;
    font-family: "Noto Serif JP", serif;
    letter-spacing: 0.1em;
}

.news-item__category {
    display: inline-block;
    text-align: center;
    padding: 4px 12px;
    background-color: #5C7A4A;
    color: #F5F2EA;
    font-size: 0.75rem;
    border-radius: 2px;
    letter-spacing: 0.1em;
}

.news-item__category--site {
    background-color: #7B4A2A;
}

.news-item__category--column {
    background-color: #5C7A4A;
}

.news-item__category--info {
    background-color: #6B6258;
}

.news-item__title {
    font-size: 1rem;
    color: #2A2520;
}

@media (max-width: 600px) {
    .news-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .news-item__category {
        justify-self: start;
    }
}

/* === Tags === */
.badge-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 24px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background-color: #ffffff;
    border: 1px solid #5C7A4A;
    color: #5C7A4A;
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

/* === Animation === */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}
