body {
    width: 100%;
    font-family: 'Noto Sans JP', sans-serif;
    box-sizing: border-box;
}

img {
    display: block;
}

a {
    display: block;
    cursor: pointer;
    transition: all 0.3s ease-out;
    text-decoration: none;
    color: inherit;
}

a:hover {
    opacity: .5;
}

section {
    width: 100%;
}

/* .movie-box, */
.features-box,
.thoughts,
.story,
.summary-box {
    width: 90%;
    max-width: 1520px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    font-size: clamp(1.25rem, 0.917rem + 1.67vw, 2.5rem);
    font-weight: bold;
    text-align: center;
}

h3 {
    font-size: 2.5rem;
    font-size: clamp(1.25rem, 0.917rem + 1.67vw, 2.1rem);
    font-weight: bold;
    text-align: center;
    color: #000000;
}


.spOnly {
    display: none;
}


/* =================================== 【OP動画_FV_video】 */
.sp-video {
    display: none;
}

.pc-video {
    display: block;
}

.video-container {
    margin: 0 auto;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.video-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    height: 100svh;
    background: #333;
}

video {
    min-width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    position: absolute;
}

/*画面サイズが変わっても常に動画の中央が表示されるようにする*/
/*動画よりも画面が横に長くなるとき用*/
@media (aspect-ratio: 16/9), (min-aspect-ratio: 16/9) {
    video {
        width: 100%;
        top: 50%;
        transform: translateY(-50%);
    }
}

/*動画よりも画面が縦に長くなるとき用*/
@media (max-aspect-ratio: 16/9) {
    video {
        height: 100vh;
        height: 100svh;
        object-fit: cover;
        aspect-ratio: 9/16;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* =================================== 【css アニメーション】 */
.mask-bg {
    visibility: hidden;
    transition: visibility 0ms 450ms;
    position: relative;
    overflow: hidden;
}

.mask-bg::after {
    visibility: visible;
    background-image: linear-gradient(90deg, #ae945e, #d5ce90, #ad9241);
    bottom: 0;
    content: '';
    display: block;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(-100%, 0);
}

.mask-bg.is-animated {
    visibility: visible;
}

.mask-bg.is-animated::after {
    animation: mask-bg 1s ease;
}

@keyframes mask-bg {
    0% {
        transform: translate(-101%, 0);
    }

    /* 40%, 60% {
      transform: translate(0%, 0);
    } */
    100% {
        transform: translate(100%, 0)
    }
}

.kira {
    opacity: 1;
    overflow: hidden;
    position: relative;
}

.kira::before {
    background-color: #fff;
    content: "";
    display: block;
    position: absolute;
    top: 0px;
    left: 0;
    width: 30px;
    height: 100%;
    opacity: 0;
    transition: cubic-bezier(0.32, 0, 0.67, 0);
}

.kira.is-animated::before {
    animation: flash 0.5s 200ms linear;
}

@keyframes flash {
    0% {
        transform: scale(2) rotate(45deg);
        opacity: 0;
    }

    20% {
        transform: scale(40) rotate(45deg);
        opacity: 0.6;
    }

    40% {
        transform: scale(60) rotate(45deg);
        opacity: 0.4;
    }

    80% {
        transform: scale(90) rotate(45deg);
        opacity: 0.2;
    }

    100% {
        transform: scale(100) rotate(45deg);
        opacity: 0;
    }
}

.stroke {
    position: relative;
}

.stroke .border {
    content: "";
    position: absolute;
    opacity: 0;
}

.stroke .border.top,
.stroke .border.bottom {
    width: 100%;
}

.stroke .border.top {
    border-top: 5px solid;
    border-image: linear-gradient(to right, #ae945e, #d5ce90, #ad9241) 1;
    right: 0;
    top: 0;
}

.stroke .border.bottom {
    border-bottom: 5px solid;
    border-image: linear-gradient(to right, #ae945e, #d5ce90, #ad9241) 1;
    left: 0;
    bottom: 0;
}

.stroke .border.right,
.stroke .border.left {
    height: 100%;
}

.stroke .border.right {
    border-right: 5px solid #ad9241;
    right: 0;
    top: 0;
}

.stroke .border.left {
    border-left: 5px solid #ae945e;
    left: 0;
    bottom: 0;
}

.stroke.is-animated .border {
    opacity: 1;
}

.stroke.is-animated .border.top,
.stroke.is-animated .border.bottom {
    animation: stroke-width 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.stroke.is-animated .border.right,
.stroke.is-animated .border.left {
    animation: stroke-height 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes stroke-width {
    0% {
        width: 0;
        opacity: 1;
    }

    100% {
        width: 100%;
        opacity: 1;
    }
}

@keyframes stroke-height {
    0% {
        height: 0;
        opacity: 1;
    }

    100% {
        height: 100%;
        opacity: 1;
    }
}

/* =================================== 【トップ画像_opening】 */

header h1,
header h1 img {
    width: 100%;
}

/* =================================== 【イントロ_intro】 */

#intro img {
    width: 100%;
}

/* =================================== 【コラボレーションムービー_movie】 */
/* 斜め背景 */

#movie {
    position: relative;
    margin-bottom: 7%;
    padding-top: 7%;
}

#movie .transform-bg-top {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 38%;
    z-index: -10;
    background: #e1ded7;
    transform: skewY(-15deg);
    /*--傾斜を指定--*/
    transform-origin: top left;
    /*--中心点を指定--*/
}

.movie-title {
    /* width: 80%;
    max-width: 700px; */
    width: clamp(11.25rem, 4.75rem + 32.5vw, 43.75rem);
    height: auto;
    margin: 0 auto 2%;
}

.movie-title img {
    width: 100%;
}

#movie h2 {
    margin-bottom: 3%;
}

.movie-box-wrap {
    width: 70%;
    margin: 0 auto;
}

.movie-box {
    width: 100%;
    position: relative;
    padding-top: 56.25%;
    /* height: 0;
    overflow: hidden; */
    border: 5px solid;
    border-image: linear-gradient(to right, #ae945e, #d5ce90, #ad9241) 1;
}

.movie-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* =================================== 【製品特長_features】 */

#features {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
    padding: 7% 0 7%;
    position: relative;
    z-index: 1;

}


.features-box {
    position: relative;
}

/* ハニカム背景あしらい */
img.features-back-hc-left,
img.features-back-hc-right {
    width: 14%;
    width: clamp(6.25rem, 4.35rem + 9.5vw, 13.375rem);
    height: auto;
    position: absolute;
    /* z-index: -5; */
}

img.features-back-hc-left {
    left: 1%;
    top: 14%;
}

img.features-back-hc-right {
    right: 0.5%;
    top: 45%;
    width: 13%;
    width: clamp(6.25rem, 4.35rem + 9.5vw, 13.375rem);
}

#features img.titleLogo {
    width: 260px;
    width: clamp(5rem, 2.75rem + 11.25vw, 16.25rem);
    height: auto;
    margin: 0 auto 3%;
    margin-bottom: clamp(0.625rem, 0.5rem + 2.5vw, 2.875rem);
}

#features h2 {
    color: #fff;
    margin-bottom: 3%;
}

.features-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

img.nameLogo {
    /* width: 75%;
    max-width: 240px; */
    width: clamp(6.25rem, 4.5rem + 8.75vw, 15rem);
    height: auto;
    margin: 0 auto 3%;
}

img.featuresImg {
    width: 100%;
    height: auto;
    margin-bottom: 4%;
}

.features-item {
    max-width: 46%;
    /* min-width: 320px; */
    height: auto;
    display: flex;
    flex-direction: column;
}

.features-item p {
    /* font-size: 1.25rem;
    font-size: clamp(0.875rem, 0.775rem + 0.5vw, 1.25rem); */
    font-size: clamp(1rem, 0.933rem + 0.33vw, 1.25rem);
    line-height: 1.6;
    color: #000000;
    margin-bottom: 4%;
}

.features-item a {
    width: 100%;
    color: #ffffff;
    padding: 30px;
    padding: clamp(0.875rem, 0.608rem + 1.33vw, 1.875rem);
    text-align: center;
    font-size: 2rem;
    font-size: clamp(1rem, 0.733rem + 1.33vw, 1.9rem);
    font-weight: bold;
    line-height: 1.6;
    border-radius: 0px;
    margin-top: auto;

}

.features-background-color a {
    background-color: #0000ff;

}

/* =================================== 【製品開発_development】 */
#development {
    position: relative;
    margin-bottom: 7%;
    padding: 7% 0 15%;
}

/* 斜め背景 */
#development .transform-bg-top {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 16%;
    z-index: -10;
    background: #e1ded7;
    transform: skewY(-15deg);
    /*--傾斜を指定--*/
    transform-origin: top left;
    /*--中心点を指定--*/
}

.transform-bg-bottom {
    position: absolute;
    top: 89.5%;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 16%;
    z-index: -11;
    background: #e1ded7;
    transform: skewY(-15deg);
    /*--傾斜を指定--*/
    transform-origin: top left;
    /*--中心点を指定--*/
}

.thoughts {
    position: relative;
}

/* ハニカム背景あしらい */
img.story-back-hc-left,
img.story-back-hc-right {
    width: 22%;
    width: clamp(11.25rem, 8.75rem + 12.5vw, 20.625rem);
    height: auto;
    position: absolute;
    z-index: -5;
}

img.story-back-hc-left {
    left: 6%;
    top: 9%;
}

img.story-back-hc-right {
    right: 6%;
    /* top: 25%; */
    bottom: -20%;
}

/* ~~~~~~~~~~~~ 製品に込めた思い ~~~~~~~~~~~~ */
.thoughts {
    margin-bottom: 14%;
    margin-bottom: clamp(1.75rem, -0.625rem + 12.5vw, 11.25rem);
    margin-bottom: clamp(4.375rem, 1.708rem + 13.33vw, 14.375rem);
}

.thoughts img.titleLogo {
    /* width: 260px; */
    width: clamp(5rem, 2.75rem + 11.25vw, 16.25rem);
    height: auto;
    margin: 0 auto 30px;
    margin-bottom: clamp(0.625rem, 0.5rem + 2.5vw, 2.875rem);
}

.thoughts h2 {
    margin-bottom: 120px;
    margin-bottom: clamp(0.625rem, -1.208rem + 9.17vw, 7.5rem);
}

.thoughts-box {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.thoughts-item {
    max-width: 46%;
    /* min-width: 320px; */
    border: 5px solid;
    border-image: linear-gradient(to right, #ae945e, #d5ce90, #ad9241) 1;
}

.thoughts-item img {
    width: 100%;
    height: auto;
}

/* ~~~~~~~~~~~~ 開発ストーリー ~~~~~~~~~~~~ */
.story {
    padding-bottom: 17%;
}

.story h2 {
    margin-bottom: 110px;
    margin-bottom: clamp(0.625rem, -1.208rem + 9.17vw, 7.5rem);
}

.story-item h3 {
    font-size: clamp(1.25rem, 1.05rem + 1vw, 2rem);
    font-weight: bold;
    text-align: left;
    color: #736000;
}

.story-box {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 100px;
}

.story-img {
    width: 48%;
}

.story-img img {
    width: 100%;
    height: auto;
}

.story-item {
    width: 48%;
}

.story-hc {
    width: 33%;
    height: auto;
}

.story-item h3 {
    margin-bottom: 30px;
}

.story-item p {
    /* font-size: 1rem; */
    font-size: clamp(0.875rem, 0.842rem + 0.17vw, 1rem);
    line-height: 1.8;
}


/* =================================== 【まとめ_summary】 */
#summary {
    margin-bottom: 80px;
    position: relative;
    background-color: #fff;
    z-index: 2;
    margin-top: -500px;
    padding-top: 100px;
}

.summary-box {
    /* border: 5px solid;
    border-image: linear-gradient(to right, #ae945e, #d5ce90, #ad9241) 1; */
    padding: 80px 100px;
}

.summary-box img {
    width: 25%;
    width: clamp(10rem, 8.417rem + 7.92vw, 15.938rem);
    height: auto;
    margin: 0 auto 20px;
}

.summary-box h2 {
    font-size: 2.5rem;
    font-size: clamp(1.25rem, 0.917rem + 1.67vw, 2.5rem);
    font-weight: bold;
    color: #736000;
    margin-bottom: 36px;
}

.summary-box p {
    font-size: 1.15rem;
    font-size: clamp(0.875rem, 0.802rem + 0.37vw, 1.15rem);
    line-height: 2;
}

/* =================================== 【晴香堂へリンク_toStoreTop】 */

a.toStoreTop {
    background-color: #e5cc72;
    padding: 40px;
    font-size: 2rem;
    text-align: center;
    width: 70%;
    margin: 0 auto;
    border-radius: 80px;
    margin-bottom: 80px;
}

/* =================================== 【footer】 */







/* ============================================================【tablet】*/
@media screen and (max-width: 1024px) {
    #development {
        margin-bottom: 24%;
        padding-bottom: 8%;
    }
}


/* ============================================================【sp】*/
@media screen and (max-width: 768px) {



    .sp-video {
        display: block;
    }

    .pc-video {
        display: none;
    }

    .features-box, .thoughts, .story, .summary-box {
        width: 96%;
    }

    .movie-box-wrap {
        width: 90%;
    }

    #movie .transform-bg-top {
        height: 50%;
    }

    img.features-back-hc-left {
        top: 5%;
    }

    img.features-back-hc-right {
        top: 50%;
    }

    .features-item {
        max-width: 90%;
        margin: 0 auto 60px;
    }

    .features-item:last-of-type {
        margin-bottom: 0;
    }

    .thoughts-item {
        max-width: 90%;
        margin: 0 auto 20px;
    }

    #development {
        margin-bottom: 20%;
        padding-bottom: 40%;
    }

    #development .transform-bg-top {
        height: 7%;
    }

    img.story-back-hc-left {
        left: 2%;
        top: 3%;
    }

    img.story-back-hc-right {
        right: 2%;
        /* top: 22%; */
        bottom: -10%;
    }

    .story-box {
        max-width: 90%;
        /* display: block; */
        margin: 0 auto 30px;
    }

    .story-img,
    .story-item {
        width: 100%;
    }

    .story-box:nth-of-type(odd) .story-img {
        order: 2;
    }

    .story-box:nth-of-type(odd) .story-item {
        order: 1;
    }

    .story-item {
        margin-bottom: 10px;
    }

    .story-hc {
        margin: 0 auto;
    }

    .summary-box {
        width: 92%;
        padding: 20px 30px;
    }

    a.toStoreTop {
        width: 80%;
    }
}

/* ============================================================【sp】*/
@media screen and (max-width: 425px) {
    .spOnly {
        display: block;
    }

    #development {
        margin-bottom: 40%;
        padding-bottom: 82%;
    }

    img.story-back-hc-left {
        top: 1%;
    }

    /* img.story-back-hc-right {
        top: 15%;
    } */

    .story-hc {
        width: 40%;
    }

    .story-item h3 {
        margin-bottom: 20px;
    }

    #summary {
        padding-top: 60px;
        margin-bottom: 60px;
    }

    .summary-box {
        padding: 20px 24px 30px;
    }

    .summary-box h2 {
        margin-bottom: 20px;
    }

    a.toStoreTop {
        width: 85%;
        font-size: 1.5rem;
        margin-bottom: 60px;
        padding: 20px;
    }

}

@media screen and (max-width: 375px) {
    /* img.story-back-hc-right {
        top: 13%;
    } */

}

@media screen and (max-width: 320px) {
    #development {
        margin-bottom: 50%;
        padding-bottom: 100%;
    }

    /* img.story-back-hc-right {
        top: 12%;
    } */

    a.toStoreTop {
        width: 95%;
    }

}

.youtube {
	width: 100%;
	aspect-ratio: 16/9;
    text-align: center;
	}

html {
        scroll-behavior: smooth; /* スムーズなスクロールを有効化 */
      }
