/* =========================================================
   STORY 01
   story.css
   LP05「書くこと、話すこと、残すこと」の設計基準に統一
   ========================================================= */


/* =========================================================
   COCOON / GRAYISH RESET
   ========================================================= */

.header-container,
#header-container,
#navi,
.breadcrumb,
#breadcrumb {
    display: none !important;
}

.mobile-menu-buttons,
.mobile-menu-content {
    display: none !important;
}

#sidebar {
    display: none !important;
}

#content,
#content-in,
.content-in,
#main,
.main {
    width: 100% !important;
    max-width: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.article {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.article-header,
.entry-title {
    display: none !important;
}

#footer,
.footer {
    margin-top: 0 !important;
}


/* =========================================================
   PAGE BASE
   ========================================================= */

#plv-story {
    --story-text: #171717;
    --story-subtext: #625d55;
    --story-gold: #b98537;
    --story-bg: #f5f1ea;
    --story-bg-soft: #faf8f4;
    --story-white: #ffffff;
    --story-line: #ded7cc;
    --story-dark: #25231f;

    position: relative;

    width: 100vw;
    max-width: none;

    margin-top: 0 !important;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    padding: 0;
    overflow: hidden;

    background: var(--story-white);
    color: var(--story-text);

    font-family:
        "Yu Mincho",
        "YuMincho",
        "Hiragino Mincho ProN",
        "Hiragino Mincho Pro",
        serif;
}

#plv-story *,
#plv-story *::before,
#plv-story *::after {
    box-sizing: border-box;
}


/* =========================================================
   STORY HEADER
   LP05と同じ基本設計
   ========================================================= */

#plv-story .plv-header {
    width: 100%;
    height: 76px;

    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e8e4dd;

    position: relative;
    z-index: 10;
}

#plv-story .plv-header__inner {
    width: calc(100% - 80px);
    max-width: 1240px;
    height: 100%;

    margin: 0 auto;

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

#plv-story .plv-header__brand {
    display: flex;
    align-items: baseline;
    gap: 14px;

    color: #171717;
    text-decoration: none;
}

#plv-story .plv-header__sub {
    font-size: 14px;
    letter-spacing: 0.05em;
}

#plv-story .plv-header__name {
    font-size: 20px;
    letter-spacing: 0.12em;
}

#plv-story .plv-header__nav {
    display: flex;
    align-items: center;
    gap: 38px;
}

#plv-story .plv-header__nav a {
    position: relative;

    color: #252525;
    text-decoration: none;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    letter-spacing: 0.03em;

    transition: opacity 0.25s ease;
}

#plv-story .plv-header__nav a:hover {
    opacity: 0.55;
}

#plv-story .plv-header__nav a[aria-current="page"]::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: -10px;

    width: 22px;
    height: 1px;

    transform: translateX(-50%);

    background: var(--story-gold);
}


/* =========================================================
   HERO
   LP05基準：42 / 58、540px
   ========================================================= */

.plv-story-hero {
    display: grid;
    grid-template-columns: 42% 58%;

    width: 100%;
    min-height: 540px;

    background:
        linear-gradient(
            90deg,
            #f5f1ea 0%,
            #f5f1ea 84%,
            #f1ece4 100%
        );
}

.plv-story-hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 62px clamp(42px, 5.5vw, 88px);
}

.plv-story-eyebrow {
    margin: 0 0 27px !important;
    padding: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .12em;

    color: var(--story-gold);
}

.plv-story-title {
    margin: 0 0 29px !important;
    padding: 0;

    font-size: clamp(37px, 3.55vw, 54px);
    font-weight: 400;
    line-height: 1.36;
    letter-spacing: .025em;

    color: var(--story-text);
}

.plv-story-line {
    display: none;
}

.plv-story-hero__lead {
    max-width: 550px;

    margin: 0;
    padding: 0;

    font-size: 13px;
    line-height: 2;
    letter-spacing: .025em;

    color: var(--story-subtext);
}

.plv-story-hero__lead p {
    margin: 0 0 17px !important;
}

.plv-story-hero__lead p:last-child {
    margin-bottom: 0 !important;
}

.plv-story-hero__lead strong {
    font-weight: 500;
    color: var(--story-text);
}

.plv-story-period {
    margin: 25px 0 0 !important;
    padding: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: .14em;

    color: var(--story-gold);
}


/* HERO IMAGE
   黒い余白を出さないため背景画像方式を継続 */

.plv-story-hero__visual {
    position: relative;

    min-height: 540px;

    overflow: hidden;

    background-color: #d9d2ca;
    background-image: url("../images/story/story01-hero.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.plv-story-hero__visual::before {
    content: "";

    position: absolute;
    z-index: 2;

    top: 0;
    bottom: 0;
    left: 0;

    width: 120px;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            #f5f1ea 0%,
            rgba(245, 241, 234, .70) 28%,
            rgba(245, 241, 234, 0) 100%
        );
}

/* PHPにあるimgは残すが、表示は背景画像に任せる */
.plv-story-hero__visual img {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* =========================================================
   COMMON / CHAPTER
   LP05の本文サイズ・余白へ統一
   ========================================================= */

.plv-story-chapter {
    width: 100%;

    padding: 72px 40px 78px;

    border-bottom: 1px solid var(--story-line);
}

.plv-story-chapter--01 {
    background: var(--story-white);
}

.plv-story-chapter--02 {
    background: var(--story-bg);
}

.plv-story-chapter--03 {
    background: var(--story-white);
}

.plv-story-chapter--04 {
    background: var(--story-bg-soft);
}

.plv-story-chapter--05 {
    background: var(--story-bg);
}

.plv-story-inner {
    display: grid;
    grid-template-columns: minmax(300px, 40%) minmax(0, 60%);

    width: min(1120px, 100%);
    margin: 0 auto;
}

.plv-story-chapter__head {
    padding-right: 45px;
}

.plv-story-chapter__number {
    position: relative;

    margin: 0 0 25px !important;
    padding: 0 0 15px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: .14em;

    color: var(--story-gold);
}

.plv-story-chapter__number::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 34px;
    height: 1px;

    background: var(--story-gold);
}

.plv-story-chapter__head h2 {
    margin: 0;
    padding: 0;

    font-size: clamp(28px, 2.6vw, 38px);
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: .035em;

    color: var(--story-text);
}

.plv-story-chapter__body {
    max-width: 680px;
    padding-top: 3px;
}

.plv-story-chapter__body p {
    margin: 0 0 17px !important;

    font-size: 14px;
    line-height: 2;
    letter-spacing: .02em;

    color: var(--story-subtext);
}

.plv-story-chapter__body p:last-child {
    margin-bottom: 0 !important;
}

.plv-story-chapter__body strong {
    font-weight: 500;
    color: var(--story-text);
}


/* 強調文：LP05と同じ左金ライン */

.plv-story-emphasis {
    position: relative;

    margin: 31px 0 32px !important;
    padding-left: 19px;

    font-size: 20px !important;
    font-weight: 500;
    line-height: 1.85 !important;

    color: var(--story-text) !important;
}

.plv-story-emphasis::before {
    content: "";

    position: absolute;

    top: .2em;
    bottom: .2em;
    left: 0;

    width: 2px;

    background: var(--story-gold);
}


/* =========================================================
   MID VISUAL / THAILAND
   LP05の中間画像基準
   ========================================================= */

.plv-story-midvisual {
    width: 100%;

    margin: 0 !important;
    padding: 34px 40px 0;

    background: var(--story-bg);
    border-top: 1px solid var(--story-line);
}

.plv-story-midvisual__image {
    width: min(1280px, 100%);
    height: clamp(340px, 30vw, 460px);

    margin: 0 auto;

    overflow: hidden;
}

.plv-story-midvisual__image img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover;
    object-position: center center;
}

.plv-story-midvisual__caption {
    width: min(1120px, 100%);

    margin: 20px auto 0;
    padding-bottom: 34px;

    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 40px;
}

.plv-story-midvisual__caption p {
    margin: 0 !important;
}

.plv-story-midvisual__year {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: .14em;

    color: var(--story-gold);
}

.plv-story-midvisual__caption p:last-child {
    max-width: 680px;

    font-size: 13px;
    line-height: 1.95;
    letter-spacing: .02em;

    color: var(--story-subtext);
}


/* =========================================================
   NEXT STORY
   LP05「FROM HERE」の締め方を基準
   ========================================================= */

.plv-story-next {
    width: 100%;

    padding: 84px 40px 90px;

    background: var(--story-dark);
    color: #ffffff;
}

.plv-story-next__inner {
    width: min(880px, 100%);
    margin: 0 auto;
}

.plv-story-next__label {
    position: relative;

    margin: 0 0 25px !important;
    padding: 0 0 15px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: .14em;

    color: #d1a767;
}

.plv-story-next__label::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 34px;
    height: 1px;

    background: #d1a767;
}

.plv-story-next__number {
    margin: 0 0 18px !important;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: .12em;

    color: #d1a767;
}

.plv-story-next h2 {
    margin: 0 0 24px;

    font-size: clamp(30px, 3vw, 42px);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: .04em;

    color: #ffffff;
}

.plv-story-next__text {
    max-width: 720px;

    margin: 0 !important;

    font-size: 14px;
    line-height: 2;
    letter-spacing: .02em;

    color: #d8d2c8;
}

.plv-story-next__coming {
    display: inline-block;

    margin: 38px 0 0 !important;
    padding: 11px 16px 10px;

    border: 1px solid rgba(209, 167, 103, .55);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 10px;
    line-height: 1;
    letter-spacing: .16em;

    color: #d1a767;
}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 1024px) {

    #plv-story .plv-header__inner {
        width: calc(100% - 40px);
    }

    #plv-story .plv-header__nav {
        gap: 18px;
    }

    #plv-story .plv-header__sub {
        display: none;
    }

    .plv-story-hero {
        grid-template-columns: 46% 54%;
        min-height: 500px;
    }

    .plv-story-hero__copy {
        padding: 55px 38px;
    }

    .plv-story-hero__visual {
        min-height: 500px;
    }

    .plv-story-hero__visual::before {
        width: 75px;
    }

    .plv-story-title {
        font-size: clamp(34px, 4.25vw, 46px);
    }

    .plv-story-chapter,
    .plv-story-next {
        padding-left: 36px;
        padding-right: 36px;
    }

    .plv-story-chapter__head {
        padding-right: 38px;
    }

    .plv-story-midvisual {
        padding-right: 36px;
        padding-left: 36px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 767px) {

    /* HEADER */

    #plv-story .plv-header {
        height: auto;
    }

    #plv-story .plv-header__inner {
        width: calc(100% - 24px);
        height: auto;

        padding: 14px 0 12px;

        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    #plv-story .plv-header__brand {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;

        text-align: center;
    }

    #plv-story .plv-header__sub {
        display: block !important;

        font-size: 11px;
        line-height: 1.4;
        letter-spacing: 0.03em;
        white-space: nowrap;
    }

    #plv-story .plv-header__name {
        display: block;

        font-size: 16px;
        line-height: 1.4;
        letter-spacing: 0.12em;
        white-space: nowrap;
    }

    #plv-story .plv-header__nav {
        width: 100%;

        display: flex;
        justify-content: center;
        flex-wrap: nowrap;

        gap: 13px;
    }

    #plv-story .plv-header__nav a {
        font-size: 12px;
        white-space: nowrap;
        letter-spacing: 0;
    }

    #plv-story .plv-header__nav a[aria-current="page"]::after {
        bottom: -7px;
    }


    /* HERO */

    .plv-story-hero {
        display: flex;
        flex-direction: column;

        min-height: 0;
    }

    .plv-story-hero__copy {
        order: 1;

        padding: 48px 24px 46px;
    }

    .plv-story-eyebrow {
        margin-bottom: 20px !important;

        font-size: 10px;
    }

    .plv-story-title {
        margin-bottom: 25px !important;

        font-size: 34px;
        line-height: 1.42;
    }

    .plv-story-hero__lead {
        max-width: none;

        font-size: 13px;
        line-height: 1.9;
    }

    .plv-story-hero__lead br {
        display: none;
    }

    .plv-story-period {
        margin-top: 22px !important;

        font-size: 10px;
    }

    .plv-story-hero__visual {
        order: 2;

        width: 100%;
        min-height: 0;

        aspect-ratio: 4 / 3;
    }

    .plv-story-hero__visual::before {
        display: none;
    }


    /* CHAPTERS */

    .plv-story-chapter {
        padding: 48px 24px 54px;
    }

    .plv-story-inner {
        display: block;
    }

    .plv-story-chapter__head {
        margin-bottom: 38px;
        padding-right: 0;
    }

    .plv-story-chapter__number {
        margin-bottom: 21px !important;

        font-size: 10px;
    }

    .plv-story-chapter__head h2 {
        font-size: 27px;
        line-height: 1.6;
    }

    .plv-story-chapter__body {
        max-width: none;
        padding-top: 0;
    }

    .plv-story-chapter__body p {
        font-size: 13px;
        line-height: 1.95;
    }

    .plv-story-emphasis {
        font-size: 17px !important;
    }


    /* MID VISUAL
       LP01〜LP05のスマホ基準 */

    .plv-story-midvisual {
        padding: 28px 10px 0;
    }

    .plv-story-midvisual__image {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .plv-story-midvisual__caption {
        width: auto;

        margin: 18px 14px 0;
        padding-bottom: 28px;

        display: block;
    }

    .plv-story-midvisual__year {
        margin-bottom: 9px !important;

        font-size: 10px;
    }

    .plv-story-midvisual__caption p:last-child {
        max-width: none;

        font-size: 13px;
        line-height: 1.9;
    }


    /* NEXT STORY */

    .plv-story-next {
        padding: 60px 24px 66px;
    }

    .plv-story-next__label {
        margin-bottom: 21px !important;

        font-size: 10px;
    }

    .plv-story-next__number {
        font-size: 10px;
    }

    .plv-story-next h2 {
        font-size: 29px;
    }

    .plv-story-next__text {
        font-size: 13px;
        line-height: 1.95;
    }

    .plv-story-next__coming {
        margin-top: 30px !important;
    }
}

/* =========================================================
   STORY 01 -> STORY 02 LINK
   ========================================================= */

.plv-story-next__button {
    display: inline-block;

    margin: 38px 0 0;
    padding: 12px 18px 11px;

    border: 1px solid rgba(209, 167, 103, .65);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 10px;
    line-height: 1;
    letter-spacing: .14em;

    color: #d1a767;
    text-decoration: none;

    transition:
        background-color .25s ease,
        color .25s ease,
        border-color .25s ease;
}

.plv-story-next__button:hover {
    background: #d1a767;
    border-color: #d1a767;
    color: #25231f;
}

@media screen and (max-width: 767px) {

    .plv-story-next__button {
        margin-top: 30px;
    }

}

/* =========================================================
   STORY01 TYPOGRAPHY NORMALIZATION
   STORY02 / STORY03 基準へ統一
   ========================================================= */

/* HEROリード */
.plv-story-hero__lead {
    font-size: 13px;
    line-height: 1.9;
    letter-spacing: .02em;
}

/* 各章見出し */
.plv-story-chapter__head h2 {
    font-size: clamp(28px, 2.6vw, 38px);
    line-height: 1.65;
}

/* 本文 */
.plv-story-chapter__body {
    font-size: 14px;
    line-height: 2;
    letter-spacing: .02em;
}

/* 強調文 */
.plv-story-emphasis {
    font-size: 20px;
    line-height: 1.8;
}

/* NEXT STORY本文 */
.plv-story-next__text {
    font-size: 14px;
    line-height: 2;
}


/* SMARTPHONE */

@media screen and (max-width: 767px) {

    .plv-story-eyebrow {
        font-size: 10px;
    }

    .plv-story-hero__lead {
        font-size: 13px;
        line-height: 1.9;
    }

    .plv-story-chapter__number {
        font-size: 10px;
    }

    .plv-story-chapter__head h2 {
        font-size: 27px;
        line-height: 1.6;
    }

    .plv-story-chapter__body {
        font-size: 13px;
        line-height: 1.95;
    }

    .plv-story-emphasis {
        font-size: 17px;
    }

    .plv-story-next__text {
        font-size: 13px;
        line-height: 1.95;
    }

}