@charset "utf-8";

:root {
    /* ==============================
        基準設計
        iPhone 16e 縦向き想定：1170 × 2532px
      ============================== */
    --content-width: 90%;
    --area-gap: 16px;

    /* スライドショー設定：JS側から上書き */
    --fade-duration: 1200ms;

    /* 色 */
    --bg: #f4f1ec;
    --text: #1f1f1f;
    --sub-text: #555;
    --white: #ffffff;
    --line: rgba(0, 0, 0, 0.08);
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
    --radius: 0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.7;
}

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

header {
    border-top: solid 7px #ff0000;
    width: 100%;
    position: fixed;
    z-index: 10;
}

.logo{
    max-width: 80px;
}

/* ==============================
      1. メインエリア：画面一面スライドショー
    ============================== */
.main-visual {
    width: 100%;
    height: 100svh;
    min-height: 640px;
    position: relative;
    overflow: hidden;
    background: #111;
}

.slideshow {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--fade-duration) ease-in-out;
    z-index: 1;
}

.slide.is-active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.18) 0%,
            rgba(0, 0, 0, 0.18) 45%,
            rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
}

.hero-copy {
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: clamp(48px, 9vh, 140px);
    z-index: 10;
    color: #fff;
}

.hero-copy .eyebrow {
    margin: 0 0 16px;
    font-size: clamp(14px, 2vw, 24px);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero-copy h1 {

    font-family: "Manufacturing Consent", system-ui;
    font-weight: 700;
    font-style: normal;


    margin: 0;
    max-width: 800px;
    font-size: clamp(35px, 8.5vw, 118px);
    line-height: 2.04;
    letter-spacing: -0.04em;
}

.hero-copy p {
    margin: 24px 0 0;
    max-width: 760px;
    font-size: clamp(16px, 2.2vw, 30px);
    line-height: 1.8;
    opacity: 0.92;
}

.slide-dots {
    position: absolute;
    left: 5%;
    bottom: 28px;
    z-index: 20;
    display: flex;
    gap: 12px;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
    padding: 0;
}

.slide-dot.is-active {
    background: #fff;
    transform: scale(1.2);
}

/* ==============================
      2. セクションエリア
      メイン下に16pxマージン
      横幅90% / 中央揃え / 2カラム
      左30% / 右60%
    ============================== */
.section-area {
    margin-top: var(--area-gap);
    padding: clamp(48px, 8vw, 112px) 0;
    background: var(--white);
}

.section-inner {
    width: var(--content-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10%;
}

.section-image {
    width: 30%;


}

.section-image img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.section-text {
    width: 60%;
}

.section-text h2 {
    margin: 0 0 24px;
    font-size: clamp(32px, 5.4vw, 72px);
    line-height: 1.18;
    letter-spacing: -0.04em;
}

.section-text p {
    margin: 0;
    color: var(--sub-text);
    font-size: clamp(16px, 2.2vw, 28px);
    line-height: 1.9;
}

.sp-profile-text {
    font-size: 16px;
    line-height: 175%;
    padding: 0 35px;
    margin-top: 20px;
}

/* ==============================
      3. イメージエリア
      セクション下に16pxマージン
      横幅90% / 中央揃え
      複数画像追加対応
    ============================== */
.image-area {
    margin-top: var(--area-gap);
    padding: clamp(48px, 8vw, 112px) 0;
    background: #efe8dc;
}

.image-list {
    width: var(--content-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.6vw, 32px);
}

.image-item {
    overflow: hidden;
    border-radius: var(--radius);
    background: #ddd;
    box-shadow: var(--shadow);
}

.image-item img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.image-item:hover img {
    transform: scale(1.06);
}

.image-caption {
    padding: 20px 22px 24px;
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid var(--line);
}

.image-caption h3 {
    margin: 0 0 6px;
    font-size: clamp(18px, 2vw, 26px);
    line-height: 1.35;
}

.image-caption p {
    margin: 0;
    color: var(--sub-text);
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: 1.7;
}

/* ==============================
      4. footerエリア
      イメージ下に16pxマージン
      中央揃え
    ============================== */
.site-footer {
    margin-top: var(--area-gap);
    padding: 56px 5%;
    background: #1f1f1f;
    color: #fff;
    text-align: center;
}

.site-footer p {
    margin: 0;
    font-size: clamp(13px, 1.8vw, 20px);
    letter-spacing: 0.04em;
}

.section-image,
.section-text {
    width: 100%;
}

.section-image img {
    aspect-ratio: 720 / 1200;
}




/* ==============================
      レスポンシブ対応
    ============================== */
@media (max-width: 820px) {
    .main-visual {
        min-height: 720px;
    }

    .section-inner {
        /* flex-direction: column; */
        /*縦組にする場合*/
        flex-direction: row;
        align-items: stretch;
        gap: 32px;
    }

    .section-image,
    .section-text {
        width: 100%;
    }

    .section-image img {
        aspect-ratio: 720 / 1200;
    }

    .image-list {
        grid-template-columns: 1fr;
    }

    .image-item img {
        aspect-ratio: 1/1;
    }

    .pc-section-text {
        display: none;
    }
}

@media (min-width: 821px) and (max-width: 1180px) {
    .image-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-image,
    .section-text {
        width: 100%;
    }

    .pc-section-text {
        display: none;
    }

    .profile-text {
        font-size: 16px;
        line-height: 175%;
    }

    .section-image img {
        aspect-ratio: 720 / 1200;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .slide,
    .image-item img {
        transition: none;
    }


}