/* ========================================
   Iron Wood 建築株式会社 - 共通設定
======================================== */

:root {
    --color-pink: #e9b8bd;
    --color-pink-light: #fbf0f0;
    --color-beige: #f7f3ed;
    --color-white: #fff;
    --color-text: #514744;
    --color-text-light: #817572;
    --content-width: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-white);
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.8;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(100% - 48px, var(--content-width));
    margin-inline: auto;
}

.section {
    padding: 100px 0;
}

.section-title {
    margin: 0 0 12px;
    text-align: center;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 0.12em;
}

.section-subtitle {
    margin: 0 0 48px;
    color: var(--color-text-light);
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.15em;
}

/* ボタン */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 13px 28px;
    border: 1px solid var(--color-pink);
    border-radius: 30px;
    background: var(--color-pink);
    color: var(--color-white);
    transition: opacity 0.3s ease;
}

.btn:hover {
    opacity: 0.75;
}


/* ========================================
   ヘッダー
======================================== */
.site-header{
	background-color: var(--color-beige);
	display: flex;
	position: fixed;
	width: 100%;
}

.header-logo {
	height: 55px;
}

.hedaer-menu {
    display: flex;
    align-items: center;
    gap: 40px;
	padding-left: 30%;
}

.header-menu-content {
    cursor: pointer;
}

/* ========================================
   メインビジュアル
======================================== */

.hero {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 48px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.hero-content {
    padding-left: 4%;
}

.hero-title {
    margin: 0 0 24px;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0.06em;
}

.hero-description {
    margin: 0 0 32px;
    font-size: 15px;
    line-height: 2.2;
}

.hero-image img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: 4px;
}

/* ========================================
   ABOUT
======================================== */

.about {
    background: var(--color-beige);
}

.about-intro {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 64px;
    margin-bottom: 72px;
}

.about_logo{
	display: block;
    margin-left: auto;
    margin-right: 0;
}

.about-illustration img {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.about-text h3 {
    margin: 0 0 20px;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.8;
}

.about-text p {
    margin: 0;
    font-size: 15px;
    line-height: 2.2;
}

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

.about-feature {
    padding: 28px 24px;
    text-align: center;
    background: var(--color-white);
    border-radius: 8px;
}

.about-feature img {
    width: 90px;
    object-fit: contain;
}

.about-feature h3 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 500;
}

.about-feature p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 14px;
}

/* ========================================
   WORKS
======================================== */

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

.works-item {
    overflow: hidden;
}

.works-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.works-item:hover img {
    transform: scale(1.04);
}

.works-item h3 {
    margin: 14px 0 4px;
    font-size: 17px;
    font-weight: 500;
}

.works-item p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 13px;
}

.works-more {
    margin-top: 44px;
    text-align: center;
}

/* ========================================
   CONTACT
======================================== */

.contact {
    background: var(--color-pink-light);
}

.contact-description {
    margin: 0 0 36px;
    text-align: center;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    padding: 30px 20px;
    border-radius: 8px;
    background: var(--color-white);
    text-align: center;
}

.contact-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 500;
}

.contact-card p {
    margin: 0;
    font-size: 14px;
}

.contact_logo {
	text-align: center;
	width: 45px;
}

/* ========================================
   レスポンシブ：スマートフォン
======================================== */

@media (max-width: 768px) {
    .container {
        width: min(100% - 32px, var(--content-width));
    }

    .section {
        padding: 64px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        margin-bottom: 32px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px 20px 56px;
    }

    .hero-content {
        padding-left: 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 14px;
    }

    .about-intro {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 40px;
    }

    .about-illustration img {
        max-width: 260px;
    }

    .about-text h3 {
        font-size: 23px;
    }

    .about-features,
    .works-grid,
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .works-item img {
        aspect-ratio: 4 / 3;
    }
}
