@charset "UTF-8";

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

html {
    font-size: 62.5%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.8;
    color: #333;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 1s ease;
}

body.is-loaded {
    opacity: 1;
}

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

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

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
    line-height: 1.4;
}

p {
    line-height: 1.9;
}

/* =========================================================
   Layout
========================================================= */
.l-content-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    position: relative;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.15);
}

main {
    display: block;
}

body.is-animate-ready main section:not(.p-future),
body.is-animate-ready .p-future__inner {
    opacity: 0;
    transition: opacity 0.9s ease, transform 0.9s ease;
}

body.is-animate-ready main section:not(.p-story):not(.p-future),
body.is-animate-ready .p-future__inner {
    transform: translateY(30px);
}

body.is-animate-ready main section:not(.p-future).is-visible,
body.is-animate-ready .p-future__inner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   Common
========================================================= */
.green-txt {
    color: #339F3A;
}

.u-mb30 {
    margin-bottom: 30px;
}

.u-mb50 {
    margin-bottom: 50px !important;
}

.c-btn {
    display: block;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 7px rgba(50, 80, 30, 0.7));
}

.c-btn:hover {
    opacity: 1;
    filter: drop-shadow(0 4px 7px rgba(50, 80, 30, 0));
}

.c-btn img {
    width: 100%;
}

.p-scroll {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: #333;
    text-align: center;
    letter-spacing: 0.15em;
    padding-bottom: 70px;
    margin: 0 auto 0;
    display: block;
    width: fit-content;
    position: absolute;
    top: -55px;
    left: 50%;
    transform: translateX(-50%);
}

.p-scroll::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 1px;
    height: 60px;
    background: #333;
    transform: translateX(-50%);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        transform: translateX(-50%) scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: translateX(-50%) scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: translateX(-50%) scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: translateX(-50%) scaleY(0);
        transform-origin: bottom;
    }
}

/* =========================================================
   Main content wrapper with intro background
========================================================= */
.p-main-content {
    position: relative;
    border-radius: 0 0 30px 30px;
    z-index: 1;
    overflow: hidden;
}

.p-main-content::before {
    width: 100%;
    height: calc(100% - 550px);
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    background-image: url("../img/intr_bg.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom center;
}

/* 500px以下 */
@media screen and (max-width: 500px) {
    .p-main-content::before {
        height: calc(100% - 95vw);
    }
}

/* =========================================================
   MV
========================================================= */
.mv {
    width: 100%;
    margin: 0;
    position: relative;
    z-index: 2;
}

.mv img {
    width: 100%;
}

.p-mv__txt {
    text-align: center;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 1.6rem;
    line-height: 2.1;
    color: #333;
    letter-spacing: 0.05em;
    margin-top: -38vw;
    padding: 0 30px;
    font-weight: 500;
    position: relative;
    z-index: 3;
}

/* =========================================================
   Message
========================================================= */
.p-message {
    padding: 90px 40px 90px;
    position: relative;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50vw 50vw 30px 30px;
    margin-top: 80px;
}

.p-message__ttl {
    text-align: center;
    margin-bottom: 20px;
    font-family: "Cormorant Garamond", serif;
    font-weight: 300;
    font-size: 5.5rem;
    color: #654321;
    line-height: 1;
    letter-spacing: 0.02em;
    font-style: italic;
}

.p-message__ttl--middle {
    text-align: center;
    font-family: "Zen Old Mincho", serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: #333;
    letter-spacing: 0.04em;
    line-height: 1.6;
    padding-bottom: 10px;
    margin: 0 auto 20px;
    border-bottom: 1px solid #333;
    display: table;
}

.p-message__main-txt {
    font-size: 1.6rem;
    line-height: 2.1;
    color: #333;
    margin-bottom: 60px;
    letter-spacing: 0.04em;
}

.p-message__ttl--small {
    text-align: center;
    font-family: "Zen Old Mincho", serif;
    font-size: 2.2rem;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.06em;
    margin-bottom: 25px;
    line-height: 1.5;
    border: 1px solid #339F3A;
    padding: 3px 10px 5px;
    background-color: rgba(255, 255, 255, 0.7);
}

.p-message__ttl--small .green-txt {
    font-size: 2.8rem;
}

.p-message>img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(70, 110, 50, 0.12);
}

.p-message__txt {
    font-size: 1.5rem;
    line-height: 2.1;
    color: #333;
    margin-bottom: 1em;
    letter-spacing: 0.03em;
}

.p-message .c-btn {
    margin-top: 40px;
}

@media screen and (max-width: 500px) {
    .p-message {
        padding: 60px 6% 80px;
    }
}

/* =========================================================
   Story
========================================================= */
.p-story {
    background-image: linear-gradient(180deg, #ffffff 0%, rgba(101, 67, 33, 0.15) 100%), url("../img/story_bg.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    background-color: #ffffff;
    padding: 80px 30px 200px;
    position: relative;
}

.p-story .p-scroll {
    position: relative;
    transform: none;
    top: auto;
    left: auto;
    margin: 30px auto 30px;
    padding-bottom: 70px;
}

.p-story__ttl {
    text-align: center;
    margin-bottom: 18px;
    font-family: "Cormorant Garamond", serif;
    font-weight: 300;
    font-size: 5.5rem;
    color: #654321;
    line-height: 1;
    letter-spacing: 0.02em;
}

.p-story__ttl--middle {
    text-align: center;
    font-family: "Zen Old Mincho", serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: #333;
    letter-spacing: 0.04em;
    line-height: 1.5;
    margin-bottom: 10px;
}

.p-story__books {
    margin-top: 60px;
    position: relative;
}

.p-story__books::after {
    content: "";
    display: block;
    height: 80vh;
}

.p-story__book--first {
    text-align: center;
    margin: 0 auto 30px;
    position: sticky;
    top: 60px;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.p-story__book--first.is-visible {
    opacity: 1;
}

.p-story__book--first img {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    filter: drop-shadow(8px 14px 18px rgba(40, 60, 30, 0.25));
}

.p-story__book {
    background-image: url(../img/story_bg.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    border: 1px solid rgba(120, 90, 50, 0.15);
    border-radius: 10px;
    padding: 28px 24px 32px;
    box-shadow: 0 8px 24px rgba(80, 60, 30, 0.18);
    position: sticky;
    top: 60px;
    margin-bottom: 30px;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.p-story__book.is-visible {
    opacity: 1;
}

.p-story__book.p1 {
    z-index: 2;
}

.p-story__book.p2 {
    z-index: 3;
}

.p-story__book.p3 {
    z-index: 4;
}

.p-story__book.p4 {
    z-index: 5;
}

.p-story__book.p5 {
    z-index: 6;
    margin-bottom: 0;
}

.p-story__book img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 22px;
}

.p-story__book-ttl {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 500;
    color: #4a3418;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
    line-height: 1.5;
    position: relative;
}

.p-story__book-txt {
    font-size: 1.4rem;
    line-height: 2;
    color: #333;
    letter-spacing: 0.03em;
}

/* =========================================================
   PR (Inochi + Loop)
========================================================= */
.p-pr {
    position: relative;
    padding: 0 0 120px;
    overflow: hidden;
    margin-top: -100px;
}

.p-pr__txt {
    text-align: center;
    font-size: 1.6rem;
    line-height: 2.1;
    color: #333;
    letter-spacing: 0.05em;
    margin: 0 auto;
    padding: 0;
    font-weight: 500;
}

.p-pr h2.p-pr__txt {
    margin: 0 0 50px;
}

.p-pr h2.p-pr__txt img {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.p-pr-swiper {
    width: 100%;
    overflow: hidden;
    margin: -320px auto 50px;
}

.p-pr-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
    -webkit-transition-timing-function: linear !important;
}

.p-pr-swiper .swiper-slide {
    width: auto;
    flex-shrink: 0;
}

.p-pr-swiper .swiper-slide img {
    height: 200px;
    width: auto;
    max-width: none;
}

.p-pr p.p-pr__txt {
    margin-bottom: 40px;
    margin-top: -20px;
}

.p-pr .c-btn {
    width: calc(100% - 80px);
    margin: 0 auto;
}

@media screen and (max-width: 500px) {
.p-pr {
  padding: 0 0 80px;
}
.p-pr-swiper{
  margin: -63vw auto 50px;  
}
}

/* =========================================================
   Commitment
========================================================= */
.p-commit {
    background-image: url("../img/commi_bg.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    padding: 60px 0 100px;
    position: relative;
    color: #fff;
    border-radius: 20px 20px 0 0;
}

.p-commit__ttl {
    text-align: center;
    margin-bottom: 12px;
    padding: 0 30px;
    font-family: "Cormorant Garamond", serif;
    font-weight: 300;
    font-style: italic;
    font-size: 5.5rem;
    color: #fff;
    line-height: 1;
    letter-spacing: 0.04em;
}

.p-commit__ttl--middle {
    text-align: center;
    padding: 0 30px;
    font-family: "Zen Old Mincho", serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.08em;
    line-height: 1.5;
    margin-bottom: 50px;
}

.p-commit>img {
    width: 100%;
    border-radius: 0;
    margin: 0 0 20px;
    position: relative;
    z-index: 1;
}

.p-commit__inner {
    color: #333;
    margin: 0 40px 70px;
    position: relative;
    z-index: 2;
    text-align: left;
}

.p-commit__inner:last-of-type {
    margin-bottom: 0;
}

.p-commit__ttl--small {
    text-align: left;
    font-size: 2.2rem;
    font-weight: 400;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
    color: #fff;
    letter-spacing: 0.04em;
    line-height: 1.55;
    margin-bottom: 20px;
}

.p-commit__txt {
    text-align: left;
    font-size: 1.4rem;
    line-height: 1.85;
    color: #fff;
    letter-spacing: 0.02em;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
    margin-bottom: 0;
}

.p-commit__num {
    line-height: 1;
    margin-top: 4px;
    text-align: right;
}

.p-commit__num img {
    display: inline-block;
    width: auto;
    height: 60px;
    margin: 0 -10px 0 auto;
    border-radius: 0;
    box-shadow: none;
}

@media screen and (max-width: 500px) {
    .p-commit__inner {
        margin: 0 7% 70px;
    }
}

/* =========================================================
   Future Vision
========================================================= */
.p-future {
    background: linear-gradient(180deg, #fff 0%, #fff 50%, #f6fbe8 100%);
    padding: 60px 40px 90px;
    position: relative;
}

.p-future__inner {
    text-align: center;
}

.p-future__ttl {
    text-align: center;
    margin-bottom: 18px;
    font-family: "Cormorant Garamond", serif;
    font-weight: 300;
    font-size: 5.5rem;
    color: #654321;
    line-height: 1;
    font-style: italic;
    letter-spacing: 0.02em;
}

.p-future__ttl--middle {
    text-align: center;
    font-family: "Zen Old Mincho", serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: #333;
    letter-spacing: 0.08em;
    line-height: 1.6;
    margin-bottom: 35px;
}

.p-future__txt {
    font-size: 1.4rem;
    line-height: 2.1;
    color: #333;
    text-align: left;
    letter-spacing: 0.03em;
    margin-bottom: 50px;
}

.p-future__logo {
    text-align: center;
}

.p-future__logo img {
    display: inline-block;
    width: 70%;
    max-width: 320px;
    margin: 0 auto;
}

@media screen and (max-width: 500px) {
.p-future {
  padding: 60px 7% 90px;
}
}

/* =========================================================
   Footer
========================================================= */
footer {
    background: #656565;
    color: #fff;
    text-align: center;
    padding: 40px;
}

.p-footer__link {
    display: inline-block;
    color: #fff;
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    border-bottom: 1px solid #fff;
    padding: 0;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.p-footer__link:hover {
    background: #fff;
    color: #2c2c2c;
}

.p-copy {
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 0.05em;
    line-height: 1.6;
}

/* =========================================================
   Tablet / PC adjustment (max-width 750)
========================================================= */
@media screen and (min-width: 500px) {
    body {
        font-size: 1.6rem;
    }

    .p-mv__txt {
        font-size: 2rem;
        margin-top: -190px;
    }

    .p-message__ttl--middle,
    .p-story__ttl--middle,
    .p-commit__ttl--middle {
        font-size: 3rem;
    }

    .p-message__txt,
    .p-message__main-txt,
    .p-story__book-txt,
    .p-commit__txt,
    .p-future__txt,
    .p-pr__txt {
        font-size: 1.6rem;
    }

    .p-story__book-ttl {
        font-size: 2.3rem;
    }

    .p-commit__ttl--small,
    .p-message__ttl--small {
        font-size: 2.5rem;
    }

    .p-future__ttl--middle {
        font-size: 2.7rem;
    }
}

/* iPhone SE / very small screens */
@media screen and (max-width: 374px) {

    .p-message,
    .p-story,
    .p-future {
        padding-left: 22px;
        padding-right: 22px;
    }

    .p-message__ttl--middle,
    .p-story__ttl--middle,
    .p-commit__ttl--middle,
    .p-future__ttl--middle {
        font-size: 2.6rem;
    }

    .p-mv__txt {
        font-size: 1.5rem;
    }
}