#main_visual {
    display: none;
}

/* ==================================================
   TOP | FV
================================================== */

.top-fv {
    position: relative;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
	margin-bottom: 0;
    aspect-ratio: 1840 / 832;
    background-image: url("../images/fv-pc.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


/* ----------------------------------------
   FV内部
---------------------------------------- */

.top-fv__inner {
    position: relative;
    width: min(1200px, calc(100% - 40px));
    height: 100%;
    margin-inline: auto;
}


/* ----------------------------------------
   テキストエリア
---------------------------------------- */

.top-fv__content {
    position: absolute;
    top: 50%;
    left: 135px;
    width: 580px;
    transform: translateY(-50%);
}


/* ----------------------------------------
   キャッチコピー
---------------------------------------- */

h1.top-fv__catch {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--color-text);
    font-family: var(--font-mincho);
    font-size: var(--font-h1);
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0.06em;
}

.top-fv__catch::before,
.top-fv__catch::after {
    content: none;
    display: none;
}


/* ----------------------------------------
   サブキャッチ
---------------------------------------- */

.top-fv__subcatch {
    margin: 28px 0 0;
    color: var(--color-text);
    font-family: var(--font-mincho);
    font-size: var(--font-large);
    line-height: 1.8;
}


/* ----------------------------------------
   説明文
---------------------------------------- */

.top-fv__text {
    margin: 22px 0 0;
    color: var(--color-text);
    font-family: var(--font-mincho);
    font-size: 18px;
    line-height: 2;
}


/* ----------------------------------------
   ボタン
---------------------------------------- */

.top-fv__buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.top-fv__buttons .tada-button-link {
    width: 230px;
}


/* ==================================================
   SP | TOP FV
================================================== */

@media (max-width: 899px) {
    .top-fv {
        position: relative;
        width: 100vw;
        max-width: none;
        margin-left: calc(50% - 50vw);
        aspect-ratio: 612 / 935;
        background-image: url("../images/fv-sp.png");
        background-repeat: no-repeat;
        background-position: center top;
        background-size: cover;
    }


    /* ----------------------------------------
       FV内部
    ---------------------------------------- */

    .top-fv__inner {
        position: relative;
        width: 100%;
        height: 100%;
        margin: 0;
    }


    /* ----------------------------------------
       テキストエリア
    ---------------------------------------- */

    .top-fv__content {
        position: absolute;
        top: 21%;
        left: 0;
        width: 100%;
        margin: 0;
        padding: 0 20px;
        box-sizing: border-box;
        transform: none;
    }


    /* ----------------------------------------
       キャッチコピー
    ---------------------------------------- */

    h1.top-fv__catch {
        margin: 0;
        line-height: 1.6;
        letter-spacing: 0.05em;
		text-shadow:
            -1px -1px 0 rgba(255, 255, 255, 0.3),
             1px -1px 0 rgba(255, 255, 255, 0.3),
            -1px  1px 0 rgba(255, 255, 255, 0.3),
             1px  1px 0 rgba(255, 255, 255, 0.3),
             0 2px 4px rgba(0, 0, 0, 0.08);
    }


    /* ----------------------------------------
       サブキャッチ
    ---------------------------------------- */

    .top-fv__subcatch {
        margin-top: 20px;
        line-height: 1.8;
		word-break: keep-all;
    }


    /* ----------------------------------------
       説明文
    ---------------------------------------- */

    .top-fv__text {
        margin-top: 18px;
        line-height: 1.9;
    }

    .top-fv__text br {
        display: none;
    }


    /* ----------------------------------------
       ボタン
    ---------------------------------------- */

    .top-fv__buttons {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 10px;
        margin-top: 26px;
    }

    .top-fv__buttons .tada-button-link {
        width: calc(50% - 5px);
        min-width: 0;
        padding-inline: 8px;
    }

}

@media (min-width: 640px) and (max-width: 899px) {
	    .top-fv__content {
        top: 34%;

    }
}

/* ==================================================
   TOP | History
   1960年から続く、地元の味
================================================== */

/* ----------------------------------------
   セクション
---------------------------------------- */

/* FV直後のTOP本文余白を調整 */
.top #content {
    padding-top: 0;
    margin-bottom: 0;
}

.top-history .swell-block-fullWide__inner.l-container {
    padding-bottom: 120px;
}

.top-history {
    position: relative;
    z-index: 1;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    overflow: visible;
}

/* セクション上部の竹ライン */
.top-history::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 10;
    width: 1600px;
    height: 16px;
    background-image: url("../images/section__line.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 16px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* SWELL フルワイドブロックの標準余白を調整 */
.top-history>.swell-block-fullWide__inner {
    padding-top: 0;
    padding-bottom: 0;
}


/* ----------------------------------------
   のれん
---------------------------------------- */

.top-history__noren {
    position: relative;
    width: min(1200px, 92%);
    min-height: 470px;
    margin-inline: auto;
    padding: 58px 60px 80px;
    box-sizing: border-box;
}

/* のれん画像 */
.top-history__noren::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("../images/noren-blue.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 100%;

    pointer-events: none;
}


/* ----------------------------------------
   コンテンツ
---------------------------------------- */

.top-history__title,
.top-history__text {
    position: relative;
    z-index: 1;
    font-family: var(--font-mincho);
}


/* ----------------------------------------
   見出し
---------------------------------------- */

h2.top-history__title {
    margin: 0 0 40px !important;
    color: #fff !important;
    text-align: center;
    font-size: var(--font-h2);
    font-weight: 500;
    line-height: 1.5;
}


/* ----------------------------------------
   本文
---------------------------------------- */

.top-history__text {
    position: relative;
    z-index: 1;
    width: fit-content;
    height: 330px;
    /* 縦書き時は物理方向で中央揃え */
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    color: #fff;
    writing-mode: vertical-rl;
    text-orientation: upright;
    text-align: start !important;
    font-size: var(--font-base);
    font-weight: 400;
    line-height: 2.2;
    letter-spacing: 0.08em;
}


/* ==================================================
   SP
================================================== */

@media (max-width: 767px) {
    .top-history {
        overflow: visible;
    }

    /* セクション上部の竹ライン */
    .top-history::after {
        height: 13px;
        background-size: auto 13px;
    }

    /* のれん */
    .top-history__noren {
        position: relative;
        width: 680px;
        min-height: 550px;
        margin-left: 50%;
        padding: 52px 38px 95px;
        transform: translateX(-50%);
    }

    /* SPでは専用のれん画像に切り替え */
    .top-history__noren::before {
        background-image: url("../images/noren-blue-sp.png");
    }

    /* 見出し */
    h2.top-history__title {
        margin-bottom: 38px !important;
        line-height: 1.5;
        white-space: nowrap;
    }

    .top-history__text {
        width: 100%;
        height: auto;
        margin: 0;
        color: #fff;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        line-height: 2.4;
        letter-spacing: 0.03em;
        text-align: center !important;
    }

}

/* ==================================================
   TOP | History Photo
================================================== */

figure.wp-block-image.alignfull.size-large.top-history-photo img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    object-position: center;
}


/* ==================================================
   TOP | Concept
================================================== */

.top-concept {
    position: relative;
    padding: 110px 0;
}

.top-concept::after {
    content: "";
    position: absolute;
    left: -18%;
    bottom: 20px;
    z-index: 0;
    width: 400px;
    height: 520px;
    background-image: url(./images/mugi.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
    pointer-events: none;
}

.top-concept__inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    align-items: stretch;
    gap: 30px;
    margin-inline: auto;
}

.top-concept__inner .tada-button-link {
    margin: 50px auto;
}

.top-concept__content {
    display: flex;
    flex-direction: column;
}

.top-concept__text {
    margin: 0;
    font-family: var(--font-mincho);
    font-size: var(--font-base);
    line-height: 2;
}

.top-concept__image {
    position: relative;
    min-height: 0;
    overflow: hidden;
    filter: drop-shadow(3px 6px 6px rgba(0, 0, 0, 0.2));
}

.top-concept__image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* ==================================================
   SP
================================================== */

@media (max-width: 767px) {

    .top-concept {
        padding: 70px 0 0;
    }

    .top-concept::after {
        top: 10%;
        left: -4%;
        width: 350px;
    }

    .top-concept__inner {
        display: block;
        width: calc(100% - 20px);
    }

    .top-concept__text {
        line-height: 2;
    }

    .top-concept__button {
        margin-top: 28px;
        margin-bottom: 70px;
    }

    .top-concept__image {
        position: relative;
        margin-inline: calc(50% - 50vw);
        margin-top: 80px;
        overflow: visible;
    }

    .top-concept__image img {
        position: static;
        inset: auto;
        display: block;
        width: 100%;
        height: 355px;
        object-fit: cover;
        object-position: center -80px;
    }

}


/* ==================================================
   TOP | Reasons
   多田製麺所が選ばれる理由
================================================== */

.top-reasons {
    position: relative;
    padding: 100px 0;
}

.top-reasons__inner {
    position: relative;
    z-index: 1;
}

/* SP用スライド案内 */
.top-reasons__guide {
    display: none;
}


/* ----------------------------------------
   一覧
---------------------------------------- */

.top-reasons__slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 42px 28px;
}

.top-reasons__item {
    min-width: 0;
}


/* ----------------------------------------
   画像
---------------------------------------- */

.top-reasons__image {
    position: relative;

    width: 100%;
    aspect-ratio: 10 / 7;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}


/* 各画像 */
.top-reasons__image--01 {
    background-image: url("../images/reasons__01.png");
}

.top-reasons__image--02 {
    background-image: url("../images/reasons__02.png");
}

.top-reasons__image--03 {
    background-image: url("../images/reasons__03.png");
}

.top-reasons__image--04 {
    background-image: url("../images/reasons__04.png");
}

.top-reasons__image--05 {
    background-image: url("../images/reasons__05.png");
}

.top-reasons__image--06 {
    background-image: url("../images/reasons__06.png");
}

/* 画像上の縦書きタイトル */
.top-reasons__label {
    position: absolute;
    top: 16%;
    left: 8%;
    z-index: 2;
    margin: 0;
    color: #fff;
    font-family: var(--font-mincho);
    font-size: clamp(20px, 1.8vw, 22px);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.15em;
    writing-mode: vertical-rl;
    text-orientation: upright;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}


/* ----------------------------------------
   説明文
---------------------------------------- */

.top-reasons__text {
    width: 95%;
    margin: 0 auto;
    font-family: var(--font-sans);
    font-size: var(--font-small);
    line-height: 1.8;
}


/* ----------------------------------------
   ドット
   PCでは非表示
---------------------------------------- */

.top-reasons__dots {
    display: none;
}


/* ----------------------------------------
   ボタン
---------------------------------------- */

.top-reasons__buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    width: fit-content;
    margin: 70px auto 0;
}


/* ==================================================
   SP
================================================== */

@media (max-width: 767px) {
    .top-reasons {
        padding: 100px 0 70px;
        overflow: hidden;
    }

    /* ----------------------------------------
       スライド案内
    ---------------------------------------- */

    .top-reasons__guide {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 18px;
        margin: 0 0 50px;
        color: #777777;
        font-family: var(--font-sans);
        font-size: 15px;
        line-height: 1.5;
    }

    .top-reasons__guide-arrow {
        color: var(--color-main);
        font-size: 24px;
        line-height: 1;
    }


    /* ----------------------------------------
       横スライド
    ---------------------------------------- */

    .top-reasons__slider {
        display: flex;
        gap: 25px;

        width: 100%;

        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;

        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .top-reasons__slider::-webkit-scrollbar {
        display: none;
    }

    .top-reasons__item {
        flex: 0 0 85%;
        scroll-snap-align: start;
    }

    .top-reasons__label {
        top: 12%;
        left: 8%;
    }


    /* ----------------------------------------
       画像
    ---------------------------------------- */

    .top-reasons__image {
        aspect-ratio: 16 / 10;
    }


    /* ----------------------------------------
       説明文
    ---------------------------------------- */

    .top-reasons__text {
        margin-top: 16px;

        font-size: 14px;
        line-height: 1.8;
    }


    /* ----------------------------------------
       ドット
    ---------------------------------------- */

    .top-reasons__dots {
        display: flex;
        justify-content: center;
        gap: 8px;

        margin-top: 36px;
    }

    .top-reasons__dots button {
        width: 10px;
        height: 10px;
        padding: 0;

        border: 1px solid var(--color-main);
        border-radius: 50%;

        background-color: transparent;

        cursor: pointer;
    }

    .top-reasons__dots button.is-active {
        background-color: var(--color-main);
    }


    /* ----------------------------------------
       ボタン
    ---------------------------------------- */

    .top-reasons__buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;

        width: 100%;
        margin: 70px auto 0;
    }

    .top-reasons__buttons .tada-button-link {
        width: 100%;
    }

}


/* ==================================================
   TOP | Instagram
================================================== */

.top-instagram {
    position: relative;
    padding: 90px 0 100px;
}

.top-instagram__inner {
    position: relative;
    z-index: 1;
}


/* ----------------------------------------
   カード
---------------------------------------- */

.top-instagram__card {
    position: relative;

    padding: 70px 40px 34px;

    border-radius: 14px;

    background-color: rgba(255, 255, 255, 0.94);

    text-align: center;
}

/* オレンジの内側ボーダー */
.top-instagram__card::before {
    content: "";
    position: absolute;
    inset: 5px;

    border: 1px solid var(--color-main);
    border-radius: 11px;

    pointer-events: none;
}

/* ----------------------------------------
   上部うどん画像
---------------------------------------- */

.top-instagram__udon {
    position: absolute;
    top: 0;
    left: 50%;

    width: 145px;
    height: 110px;

    background-image: url("../images/instagram-udon.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    transform: translate(-50%, -55%);
    pointer-events: none;
}


/* ----------------------------------------
   見出し
---------------------------------------- */

.top-instagram__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.top-instagram__icon {
    flex: 0 0 auto;

    width: 32px;
    height: 32px;

    background-image: url("../images/instagram-icon.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

h2.top-instagram__title {
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    color: var(--color-text);

    font-family: var(--font-mincho);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.5;
}

h2.top-instagram__title::before,
h2.top-instagram__title::after {
    content: none !important;
    display: none !important;
}


/* ----------------------------------------
   本文
---------------------------------------- */

.top-instagram__text {
    margin: 14px 0 0;
    font-family: var(--font-mincho);
    font-size: var(--font-small);
    line-height: 1.8;
}


/* ----------------------------------------
   ボタン
---------------------------------------- */

.top-instagram__button {
    display: flex;
    justify-content: center;

    margin-top: 24px;
}


/* ==================================================
   SP
================================================== */

@media (max-width: 767px) {

    .top-instagram {
        padding: 80px 18px 70px;
    }


    /* ----------------------------------------
       カード
    ---------------------------------------- */

    .top-instagram__card {
        padding: 66px 22px 44px;

        border-radius: 14px;
    }


    /* ----------------------------------------
       うどん画像
    ---------------------------------------- */

    .top-instagram__udon {
        width: 130px;
        height: 100px;

        transform: translate(-50%, -58%);
    }


    /* ----------------------------------------
       見出し
    ---------------------------------------- */

    .top-instagram__heading {
        gap: 8px;
    }

    .top-instagram__icon {
        width: 30px;
        height: 30px;
    }

    h2.top-instagram__title {
        font-size: 21px;
        white-space: nowrap;
    }


    /* ----------------------------------------
       本文
    ---------------------------------------- */

    .top-instagram__text {
        max-width: 240px;
        margin: 30px auto 0;
        line-height: 2;
    }


    /* ----------------------------------------
       ボタン
    ---------------------------------------- */

    .top-instagram__button {
        margin-top: 34px;
    }

    .top-instagram__button .tada-button-link {
        width: 100%;
    }

}