/* =============================================
   page-about.css
   ============================================= */

/* PC専用改行（SPでは非表示） */
br.pc-br { display: none; }
@media (min-width: 768px) { br.pc-br { display: inline; } }

/* ページ背景色 */
body#about,
body#about #wrap {
    background-color: #FCFAF2;
}

/* ── スクロールフェードイン（aboutページ共通） ── */
.fi-up, .fi-left, .fi-right, .fi-fade {
    opacity: 0;
    transition: opacity 1.6s ease, transform 1.6s ease;
}
.fi-up    { transform: translateY(52px); }
.fi-left  { transform: translateX(-60px); }
.fi-right { transform: translateX(60px); }
.fi-fade  { transform: none; transition-duration: 2.2s; }
.fi-up.fi-visible,
.fi-left.fi-visible,
.fi-right.fi-visible,
.fi-fade.fi-visible { opacity: 1; transform: none; }
.fi-delay1 { transition-delay: 0.3s; }
.fi-delay2 { transition-delay: 0.65s; }
.fi-delay3 { transition-delay: 1.0s; }

/* ── Hero ── */
.ab-hero {
    width: 100%;
    line-height: 0;
    overflow: hidden;
}
@keyframes ab-hero-in {
    from { transform: scale(1.08); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}
.ab-hero img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
    animation: ab-hero-in 3.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* ── Shared section heading ── */
.ab-sec-heading {
    margin-bottom: 40px;
}
.ab-sec-title-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 8px;
}
.ab-sec-line {
    display: block;
    width: 48px;
    height: 1px;
    background: #8a7a6a;
    flex-shrink: 0;
}
.ab-sec-en {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    color: #5F6C5B;
    letter-spacing: 0.04em;
    line-height: 1.1;
}
.ab-sec-ja {
    font-size: 12px;
    color: #5F6C5B;
    letter-spacing: 0.1em;
    padding-left: 68px; /* line 48px + gap 20px */
}

/* ── 新しい一歩 ── */
.ab-step {
    padding: 72px 0 80px;
}
.ab-step-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0px;
}
.ab-step-heading {
    font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", serif;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 400;
    color: #2a2018;
    letter-spacing: 0.08em;
    line-height: 1.8;
    margin-bottom: 10px;
    text-align: left;
        padding-left: 10px;
}
.ab-step-layout {
    display: grid;
    grid-template-columns: clamp(240px, 23.5vw, 386px) 1fr 300px;
    /* gap: 40px; */
    align-items: start;
}
.ab-step-photo-left img {
    width: 90%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    display: block;
        margin-top: 40px;
}
.ab-step-text {
    font-size: 15px;
    line-height: 2.3;
    letter-spacing: 0.04em;
}
.ab-step-text p + p {
    margin-top: 20px;
    letter-spacing: 1.5px;
}
.ab-step-photos-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 224px;
}
.ab-step-photos-right img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}
.ab-step-photos-right > div:first-child img {
    transform: translateX(50px);
}
.ab-step-photos-right > div:last-child img {
    transform: translateX(-20px);
}

/* ── Our Story ── */
.ab-story {
    padding: 72px 0 80px;
}
.ab-story-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px;
}
.ab-story-text {
    /* max-width: 680px; */
    font-size: 15px;
    line-height: 2.4;
    letter-spacing: 0.04em;
    margin-bottom: 64px;
    text-align: left;
}
.ab-story-text p + p {
    margin-top: 16px;
        line-height: 2;
}
.ab-story-profile {
    display: flex;
    gap: 56px;
    align-items: flex-start;
}
.ab-story-profile-img {
    flex: 0 0 460px;
}
.ab-story-profile-img img {
    width: 460px;
    height: 340px;
    object-fit: cover;
    display: block;
}
.ab-story-profile-text {
    flex: 1;
    padding-top: 40px;
}
.ab-story-profile-text > p {
    font-size: 15px;
    line-height: 2;
    color: #555;
    letter-spacing: 0.04em;
}
.ab-story-sign {
    margin-top: 36px;
    font-size: 13px;
    color: #666;
    letter-spacing: 0.06em;
    line-height: 2;
    text-align: right;
}

/* ── Story: 見学案内 ── */
.ab-story-visit {
    margin-top: 40px;
    padding: 24px 32px;
    background: #fff;
    font-size: 13px;
    line-height: 2;
    color: #666;
    letter-spacing: 0.04em;
}
.ab-story-visit-lead {
    margin-bottom: 12px;
    color: #555;
}
.ab-story-visit-label {
    color: #555;
    margin-bottom: 4px;
}
.ab-story-visit p + p {
    margin-top: 2px;
}

/* ── Why LDK kakuozan ── */
.ab-why {
    padding: 72px 0 0;
}
.ab-why-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px 64px;
}
.ab-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}
.ab-why-item {
    /* border: 1px solid #dedad4; */
    padding: 32px 36px 40px;
    background: #fff;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
}
.ab-why-num {
    font-size: 64px;
    /* font-style: italic; */
    font-weight: 400;
    color: #d5e1cf;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}
.ab-why-text {
    font-size: 15px;
    line-height: 2.2;
    color: #555;
    letter-spacing: 0.04em;
}
.ab-why-lead {
    display: block;
    font-size: 1.24em;
    line-height: 1.6;
    margin-bottom: 8px;
    color: #3a3028;
}
.ab-why-photo {
    width: 100%;
    line-height: 0;
}
.ab-why-photo img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

/* ── Gallery ── */
.ab-gallery {
    padding: 80px 0 0;
}
.ab-gallery-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px 40px;
}
.ab-gallery-slider {
    width: 100%;
}
.ab-gallery-slide img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    padding: 0 6px;
    box-sizing: border-box;
}

/* ── Media ── */
.ab-media {
    padding: 80px 0 88px;
}
.ab-media-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px;
}
/* .ab-media-list {
    margin-bottom: 40px;
} */
.ab-media-list p {
    font-size: 15px;
    line-height: 2.4;
    color: #555;
    letter-spacing: 0.04em;
}

.ab-media-photo {
    text-align: center;
    margin-top: 32px;
}
.ab-media-photo img {
    display: inline;
    object-fit: cover;
}
.ab-media-photo img.ab-media-img--pc { max-width: 80%; }
.ab-media-photo img.ab-media-img--sp { display: none; max-width: 320px; }

@media (max-width: 767px) {
    .ab-media-photo img.ab-media-img--pc { display: none; }
    .ab-media-photo img.ab-media-img--sp { display: inline; }
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .fi-up, .fi-left, .fi-right, .fi-fade {
        transition: opacity 1.0s ease, transform 1.0s ease;
    }
    .fi-fade { transition-duration: 1.2s; }
    .fi-delay1 { transition-delay: 0.1s; }
    .fi-delay2 { transition-delay: 0.2s; }
    .fi-delay3 { transition-delay: 0.35s; }

    .ab-hero img { height: 240px; }

    .ab-step { padding: 48px 0 56px; }
    .ab-step-inner { padding: 0 20px; }
    .ab-step-heading { margin-bottom: 12px; }
    .ab-step-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .ab-step-photo-left img {
        width: 60%;
        height: auto;
        margin-left: auto;
        margin-top: 10px;
    }
    .ab-step-photos-right {
        flex-direction: row;
        align-items: flex-start;
        padding-top: 0;
        gap: 12px;
    }
    .ab-step-photos-right > div {
        flex: 1;
    }
    .ab-step-photos-right img {
        height: 160px;
    }
    .ab-step-photos-right > div:first-child img {
        transform: translateY(14px);
    }
    .ab-step-photos-right > div:last-child img {
        transform: translateY(-8px);
    }

    .ab-story { padding: 48px 0 56px; }
    .ab-story-inner { padding: 0 20px; }
    .ab-story-text { margin-bottom: 40px; }
    .ab-story-profile {
        flex-direction: column;
        gap: 24px;
    }
    .ab-story-profile-img { flex: none; width: 100%; }
    .ab-story-profile-img img { width: 100%; height: 260px; }
    .ab-story-profile-text { padding-top: 0; }
    .ab-story-sign { text-align: left; }

    .ab-why { padding: 48px 0 0; }
    .ab-why-text { font-size: 13px; }
    .ab-why-text br { display: none; }
    .ab-why-inner { padding: 0 20px 48px; }
    .ab-why-grid { grid-template-columns: 1fr; }
    .ab-why-photo img { height: 260px; }

    .ab-gallery { padding: 56px 0 0; }
    .ab-gallery-inner { padding: 0 20px 32px; }
    .ab-gallery-slide img { height: 240px; padding: 0 4px; }

    .ab-media { padding: 56px 0 64px; }
    .ab-media-inner { padding: 0 20px; }
}

/* ── タブレット（600px〜950px）── */
@media (min-width: 600px) and (max-width: 950px) {
    .ab-step-inner { padding: 0 24px; }
    .ab-step-layout {
        grid-template-columns: 2fr 3fr;
        grid-template-rows: auto auto;
        gap: 24px;
    }
    .ab-step-photo-left {
        grid-column: 1;
        grid-row: 1;
    }
    .ab-step-photo-left img {
        width: 100%;
        margin-top: 0;
    }
    .ab-step-text {
        grid-column: 2;
        grid-row: 1;
        font-size: 90%;
    }
    .ab-why-text { font-size: 13px; }
    .ab-why-text br { display: none; }
    .ab-step-photos-right {
        grid-column: 1 / -1;
        grid-row: 2;
        flex-direction: row;
        justify-content: flex-end;
        align-items: flex-start;
        gap: 16px;
        padding-top: 0;
        margin-right: 0;
    }
    .ab-step-photos-right > div {
        flex: 0 0 44%;
    }
    .ab-step-photos-right img {
        height: 220px;
    }
    .ab-step-photos-right > div:first-child img {
        transform: translateY(30px);
    }
    .ab-step-photos-right > div:last-child img {
        transform: translateY(-15px);
    }
}

@media (max-width: 950px) {
    .ab-story-profile {
        flex-direction: column;
        gap: 24px;
    }
    .ab-story-profile-img {
        flex: none;
        width: 100%;
    }
    .ab-story-profile-img img {
        width: 100%;
        height: 300px;
    }
    .ab-story-profile-text {
        padding-top: 0;
    }
    .ab-story-sign {
        text-align: left;
    }
}
