@charset "utf-8";

/* --------------------------------------------

index

---------------------------------------------- */

/* --------------------------------------------
    ファーストビュー
---------------------------------------------- */

.mv {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 1;
}

.mv__video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

.mv__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mv__mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 32, 68, 0.4);
    z-index: -1;
}

.mv__logo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.mv__logo img {
    max-width: 350px;
}

.mv__copy {
    position: absolute;
    top: 10%;
    left: 10%;
    z-index: 3;
}

.mv__copy img {
    max-width: 180px;
}

/* スクロールバー */
.scroll {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2px;
    flex-direction: column;
    align-items: center;
    z-index: 3;
}

.scroll::after {
    content: "";
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 0 10px 1px rgba(160, 200, 240, 0.7);
    opacity: 0;
    animation: scrollRipple 2.2s ease-out infinite;
    pointer-events: none;
    z-index: 4;
}

/* 波紋アニメーション */
@keyframes scrollRipple {
    0%, 10% {
        transform: translate(-50%, -50%) scale(0.1);
        opacity: 0;
    }

    75% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.scroll > img {
    display: inline-block;
    width: 12px;
    animation: scrollDown 2.2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        transform: translateY(-22px);
        opacity: 1;
    }
    40% {
        transform: translateY(-2px);
        opacity: 1;
    }
    /* ここでサッと消える（短め） */
    90% {
        transform: translateY(0);
        opacity: 0;
    }
    /* 上に戻って、少し長く消えたまま待つ */
    100% {
        transform: translateY(-22px);
        opacity: 0;
    }
}

.scroll span {
    letter-spacing: 0.15em;
	font-size: var(--fz-xs);
    color: var(--c-white);
}

@media only screen and (max-width:1300px) {
    .mv__logo img {
        max-width: 320px;
    }

    .mv__copy img {
        max-width: 160px;
    }
}


@media only screen and (max-width:640px) {
    .mv__logo img {
        max-width: 300px;
    }

    .mv__copy img {
        max-width: 150px;
    }
}

@media only screen and (orientation: landscape) and (max-width: 1024px) {
    .mv__logo img {
        max-width: 260px;
    }

    .mv__copy img {
        max-width: 130px;
    }
}


/* --------------------------------------------
    冒頭のメッセージ
---------------------------------------------- */

.brand {
    position: relative;
    padding: 600px 0 160px;
    z-index: 10;
}

/* 背景グラデーション */
.brand::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 32, 68, 0) 0%,
        rgba(0, 32, 68, 0.6) 25%,
        rgba(0, 32, 68, 1) 80%
    );
    pointer-events: none;
    z-index: -1;
}

.brand__container {
    max-width: 960px;
    margin: 0 auto;
    color: var(--c-white);
}

.brand__containerInner {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    max-height: 405px;
    margin-bottom: 160px;
}

.brand__leadText {
    font-size: var(--fz-leadText);
    line-height: 3;
}

@media only screen and (max-width:640px) {
    .brand {
        padding: 400px 0 120px;
    }

    .brand::before {
        background: linear-gradient(
            to bottom,
            rgba(0, 32, 68, 0) 0%,
            rgba(0, 32, 68, 0.6) 20%,
            rgba(0, 32, 68, 1) 50%
        );
    }

    .brand__container {
        width: 90%;
    }

    .brand__containerInner {
        display: block;
        max-height: none;
    }

    .brand__containerInner .indexTitle {
        margin: 0 auto 120px;
        white-space: nowrap;
    }

    .brand__leadText {
        display: flex;
        gap: 60px;
        width: 100%;
        line-height: 2.5;
        white-space: nowrap;
    }

    .textWrap {
        display: flex;
    }

    .textWrap:first-child {
        align-self: flex-start;
    }

    .textWrap:last-child  {
        align-self: flex-end;
    }
}


/* --------------------------------------------
    ブランドロゴ
---------------------------------------------- */

.brandLogo {
    margin-bottom: 60px;
    text-align: center;
}

.brandLogo img {
    max-width: 300px;
}

@media only screen and (max-width:640px) {
    .brandLogo img {
        max-width: 400px;
    }
}


/* --------------------------------------------
    ブランドの基準
---------------------------------------------- */

.linkBtn.-modal {
    border: solid 3px #fff;
}

/* モーダル内 */
.modal__standard {
    max-width: 1400px;
	padding:  150px 100px;
    box-shadow: 0 0 15px rgba(0, 32, 68, 0.3);
}

.remodal-close:before,
.remodal-close:after {
	background: var(--c-text);
}

.modalInner {
    display: flex;
    gap: 100px;
}

.modalInner .indexTitle {
    letter-spacing: 0.1em;;
}

.timeLine__container {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-left: 60px;
}

.timeLine__container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 29.5px;
    width: 1px;
    background-color: var(--c-blue);
}

.timeLine__container > p:not(.note) {
    margin: 0 0 80px 0;
}

.timeLine__item {
    position: relative;
    margin-bottom: 120px;
}

.timeLine__item:last-child {
    margin-bottom: 0;
}

.timeLine__number {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-100%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: var(--fz-timeLine__number);
    color: var(--c-white);
    background-color: var(--c-blue);
}

.timeLine__content {
    display: flex;
    justify-content: end;
    gap: 5%;
}

.timeLine__image {
    width: 25%;
    max-width: 330px;
    height: fit-content;
}

.timeLine__text {
    width: 65%;
}

@media only screen and (max-width:1300px) {
    .modal__standard {
        padding:  120px 60px;
    }

    .modalInner {
        gap: 60px;
    }

    .timeLine__content {
        align-items: center;
    }
}

@media only screen and (max-width:1200px) {
    .timeLine__container {
        padding-left: 50px;
    }

    .timeLine__container::before {
        left: 24.5px;
    }

    .timeLine__number {
        width: 50px;
        height: 50px;
        font-size: var(--fz-xxl);
    }
}

@media only screen and (max-width:1000px) {
    .timeLine__container > p:not(.note) {
        margin: 0 0 40px 0;
    }

    .timeLine__item {
        margin-bottom: 60px;
    }

    .timeLine__content {
        flex-direction: column;
    }

    .timeLine__image {
        width: 100%;
        margin-bottom: 30px;
    }

    .timeLine__text {
        width: 80%;
    }
}

@media only screen and (max-width:640px) {
    .modal__standard {
        padding: 120px 30px 60px;
    }

    .remodal-close {
        top: 25px;
        right: 20px;
        width: 2.5em;
        height: 2.5em;
    }

    .modalInner {
        display: block;
    }

    .modalInner .indexTitle { 
        margin: 0 auto 60px;
        font-size: var(--fz-indexTitle-s);
    }

    .timeLine__container {
        padding-left: 0;
    }

    .timeLine__container::before {
        content: none;
    }

    .timeLine__item {
        margin-bottom: 120px;
    }

    .timeLine__item::before {
        content: "";
        position: absolute;
        top: 40px;
        left: 0;
        right: 0;
        height: 1px;
        background-color: var(--c-blue);
        z-index: 0;
    }

    .timeLine__number {
        position: relative;
        transform: none;
        margin: 0 auto 40px;
        width: 80px;
        height: 80px;
    }

    .timeLine__image {
        max-width: none;
        margin: 0 0 60px auto;
    }

    .timeLine__text {
        width: 100%;
    }
}


/* --------------------------------------------
    ギャラリー
---------------------------------------------- */

.gallery {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 2%;
    padding-bottom: 160px;
    background: var(--c-bg);
    z-index: 10;
}

.gallery img {
    width: 32%;
}

@media (max-width: 640px) {
    .gallery {
        display: block;
        width: 100%;
        padding: 0;
        aspect-ratio: 3/2;
        overflow: hidden;
    }

    .gallery img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        animation: fadeSlide 9s infinite ease-in-out;
    }

    /* 各画像の開始位置（3枚の場合） */
    .gallery img:nth-child(1) { animation-delay: 0s; }
    .gallery img:nth-child(2) { animation-delay: 3s; }
    .gallery img:nth-child(3) { animation-delay: 6s; }

    /* フェードを長めにして滑らかに */
    @keyframes fadeSlide {
        0%   { opacity: 0; }
        8%   { opacity: 1; }
        33%  { opacity: 1; }
        41%  { opacity: 0; }
        100% { opacity: 0; }
    }
}


/* --------------------------------------------
    フェア
---------------------------------------------- */

.fair {
    position: relative;
    padding-bottom: 160px;
    background: var(--c-bg);
    z-index: 10;
}

.fair__container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    color: var(--c-white);
}

.fair__container .indexTitle {
    margin-bottom: 60px;
    text-align: center;
}

.fair__containerInner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 60px;
    color: var(--c-text);
    background: var(--c-white);
}

.fair__point {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.pointItem {
    padding: 12px 48px;
    letter-spacing: 0.15em;
    font-size: var(--fz-xxl);
    color: var(--c-white);
    background: linear-gradient(
        135deg,
        #2772b9 20%,
        #09315b 80%
    );
}

.underLine {
    background:linear-gradient(transparent 65%, var(--c-beige) 65%);
}

.fair__schedule {
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    margin-bottom: 20px;
    border-top: solid 2px #fff;
    border-bottom: solid 2px #fff;
}

.schedule__label {
    font-size: var(--fz-xl);
}

.schedule__date {
    line-height: 1;
    font-size: var(--fz-xxl);
}

.number.-bigger {
    padding: 0 5px;
    font-size: var(--fz-4xl);
}

.schedule__date span.-smaller {
    font-size: var(--fz-m);
}

.linkBtn.fair__shops {
    width: auto;
    padding: 25px 100px 25px 75px;
    margin-bottom: 120px;
    background: var(--c-yellow);
    border-top: solid 2px #fff;
    border-bottom: solid 2px #fff;
}

.linkBtn#shops {
    scroll-margin-top: 200px;
}

@media (hover:hover) {
    .linkBtn.fair__shops:hover {
        color: var(--c-text);
        background-color: var(--c-white);
    }
}

/* フェア実施店舗一覧ボタンクローズ時 ここから */
/* .linkBtn.fair__shops.-noLink {
    padding: 25px 75px;
    color: var(--c-text);
    cursor: default;
}

@media (hover:hover) {
    .linkBtn.fair__shops.-noLink:hover {
        background-color: var(--c-yellow);
    }
} */
/* フェア実施店舗一覧ボタンクローズ時 ここまで*/

@media only screen and (max-width:640px) {
    .fair {
        padding-top: 200px;
    }

    .fair__container .indexTitle {
        font-size: var(--fz-indexTitle-s);
    }

    .fair__containerInner {
        width: 100%;
        padding: 40px;
    }

    .fair__point {
        gap: 3%;
        margin-bottom: 30px;
    }

    .pointItem {
        flex: 1;
        padding: 20px 25px;
        line-height: 1.2;
        text-align: center;
    }

    .fair__schedule {
        display: block;
        padding: 25px 0;
    }

    .schedule__label {
        margin-bottom: 15px;
        text-align: center;
    }

    .schedule__date {
        text-align: center;
        font-size: var(--fz-xl);
    }

    .schedule__date .year {
        display: inline-block;
        margin-bottom: 5px;
        transform: scale(0.8);
    }

    .linkBtn.fair__shops {
        padding: 45px 45px 45px 30px;
    }
}


/* --------------------------------------------
    常陸乃国まさばの特長
---------------------------------------------- */

.masaba__features {
    display: flex;
    gap: 120px;
    align-items: stretch;
    max-width: 960px;
    margin: 0 auto 60px;
}

/* YouTube動画クローズ時 ここから */
.masaba__features {
    margin: 0 auto 0;
}
/* YouTube動画クローズ時 ここまで*/

.featuresItem {
    display: flex;
    flex-direction: column; 
    justify-content: space-between;
    width: 50%;
    padding: 0;
    font-size: var(--fz-m);
    background: none;
}

.featuresItem:first-child {
    position: relative;
}

.featuresItem:first-child::after {
    content: "";
    position: absolute;
    top: 0;
    right: -60px;
    width: 1px;
    height: 100%;
    background: var(--c-white);
}

.featuresTitle {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    font-size: var(--fz-indexTitle__inner);
}

/* 数字のあしらい */
.number.-diamond {
    position: relative;
    width: 60px;
    height: 60px;
}

.number.-diamond::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46px;
    height: 46px;
    background: var(--c-yellow);
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: 1;
}

.number.-diamond::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46px;
    height: 46px;
    background: var(--c-white);
    transform: translate(-50%, -50%);
    z-index: 2;
}

.number.-diamond .num {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: var(--fz-3xl);
    color: var(--c-text);
    z-index: 3;
}

.featuresText:last-of-type {
    margin-bottom: 30px;
}

@media only screen and (max-width:640px) {
    .masaba__features {
        display: block;
        margin: 0 auto 120px;
    }

    /* YouTube動画クローズ時 ここから */
    .masaba__features {
        margin: 0 auto 0;
    }
    /* YouTube動画クローズ時 ここまで*/

    .featuresItem {
        width: 100%;
        margin-bottom: 40px;
    }

    .featuresItem:first-child {
        padding-bottom: 60px;
    }

    .featuresItem:first-child::after {
        top: auto;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 1px;
    }

    .featuresTitle {
        gap: 30px;
        margin-bottom: 30px;
        line-height: 1.6;
        font-size: var(--fz-indexTitle__inner);
    }

    .number.-diamond {
        width: 70px;
        height: 70px;
    }

    .number.-diamond::before {
        width: 50px;
        height: 50px;
    }

    .number.-diamond::after {
        width: 50px;
        height: 50px;
    }

    .number.-diamond .num {
        font-size: var(--fz-xxl);
    }

    .featuresText:last-of-type {
        margin-bottom: 40px;
    }

}


/* --------------------------------------------
    料理編動画
---------------------------------------------- */

.movieArea {
    max-width: 960px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
}

.movieArea iframe {
    width: 100%;
    height: 100%;
    background-color: var(--c-gray);
}


/* --------------------------------------------
    生産へのこだわりについて
---------------------------------------------- */

.environment {
    position: relative;
    padding-bottom: 160px;
    background: var(--c-white);
    z-index: 10;
}

.environment__container {
    display: flex;
    flex-wrap: wrap;
}

.environment__container .indexTitle {
    display: flex;
    justify-content: center;
    width: 20%;
    padding-top: 100px;
    letter-spacing: 0.1em;
}

.environment__contents {
    display: flex;
    align-items: stretch;
    width: 80%;
    margin-bottom: 120px;
    overflow: hidden;
}

/* YouTube動画クローズ時 ここから */
.environment__contents {
    margin-bottom: 0;
}
/* YouTube動画クローズ時 ここまで*/

.contentsCard {
    display: flex;
    flex-direction: column;
    padding-top: 100px;
    border-left: solid 1px #031424;
    cursor: pointer;
}

.number.-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 30px auto; 
    border-radius: 50%;
    background-color: var(--c-blue);
    color: var(--c-white);
    font-size: var(--fz-timeLine__number);
}

.contentsCard .indexTitle__inner {
    padding: 0 15px;
    margin-bottom: 60px;
    text-align: center;
    font-size: var(--fz-indexTitle__inner);
}

.contentsCard .indexTitle__inner::before {
	content: none;
}

.breakable {
    display: inline-block;
    white-space: normal;
}

.card__imgWrap {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: auto;
    overflow: hidden;
}

.card__imgWrap img {
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card__mask {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    font-size: var(--fz-xl);
    background: rgba(0, 32, 68, 0.6);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.environmentText {
    max-width: 260px;
    line-height: 1.6;
    color: var(--c-white);
}

@media (hover:hover) {
    .contentsCard:hover .card__imgWrap img {
        transform: scale(1.1);
    }

    .contentsCard:hover .card__mask {
        opacity: 1;
    }
}

@media (hover:none) {
        .contentsCard .card__mask {
            opacity: 1;
        }
    }

@media (pointer: coarse) { /* 一部端末で効かない場合の備えて */
    .contentsCard .card__mask {
        opacity: 1;
    }
}

.movieArea.-environment {
    width: 80%;
    max-width: none;
    margin: 0 0 0 auto;
    aspect-ratio: unset;
}

.movieArea.-environment .movieArea__inner {
    max-width: 960px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
}

@media only screen and (max-width:640px) {
    .environment__container {
        display: block;
        flex-wrap: wrap;
    }

    .environment__container .indexTitle {
        width: 100%;
        padding-top: 120px;
        margin-bottom: 60px;
        font-size: var(--fz-indexTitle-s);
    }

    .environment__contents {
        display: block;
        width: 100%;
    }

    .contentsCard {
        padding-top: 0;
        border-left: none;
        cursor: none;
    }

    .contentsCard:not(:last-child) {
        margin-bottom: 120px;
    }

    .number.-circle {
        width: 80px;
        height: 80px;
        font-size: var(--fz-xxl);
    }

    .contentsCard .indexTitle__inner {
        padding: 0;
    }

    .environmentText {
        max-width: 400px;
    }

    .movieArea.-environment {
        width: 90%;
        margin: 0 auto;
    }
}