@charset "UTF-8";

body{
    margin: 0;
}

/* ----------------------------------------------------------------------
 メインビジュアル
---------------------------------------------------------------------- */

/* 全体 */
.acMv {
    position: relative;
    width: 100%;
    min-height: 600px;
    padding-bottom: 100px;
    background-color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.acMv,
.acMv *,
.acMv *::before,
.acMv *::after {
    box-sizing: border-box;
}
/* テーマ側の基本スタイルをリセット */
.acMv h1,
.acMv p {
    margin: 0;
    padding: 0;
}
.acMv h1.acMvTitle {
    margin-bottom: 28px;
}
.acMv p.acMvLead{
    margin-bottom: 0.5em;
}
.acMv img {
    display: block;
    max-width: 100%;
}

/* 方眼模様：FVの下に100pxはみ出す */
.acMv::before {
    content: "";
    position: absolute;
    top: 150px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    background-image:
        linear-gradient(to right, rgba(135, 155, 145, .10) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(135, 155, 145, .10) 1px, transparent 1px);
    background-size: 16px 16px;
    pointer-events: none;
}

/* ----------------------------------------------------------------------
 写真
---------------------------------------------------------------------- */
.acMvPhoto {
    position: absolute;
    top: 0;
    right: 0;
    width: 58%;
    height: 600px;
    z-index: 1;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, .5) 15%,
        #000 38%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, .5) 15%,
        #000 38%
    );
}
.acMvPhoto img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}

/* ----------------------------------------------------------------------
 テキストエリア
---------------------------------------------------------------------- */
.acMvContent {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* 葉の装飾 */
.acMvContent::before {
    content: "";
    position: absolute;
    top: 0;
    left: max(0px, calc((100% - 1110px) / 2));
    width: 300px;
    height: 300px;
    background: url("images/bg_fv_txt01.png") no-repeat center / contain;
    opacity: .65;
    pointer-events: none;
    z-index: -1;
}
.acMvContentInner {
    position: relative;
    width: min(1110px, calc(100% - 60px));
    margin: 0 auto;
    padding: 55px 0;
}

/* リード文 */
.acMvLead {
    color: #187b3d;
    font-size: 17px;
    font-weight: 700;
    line-height: 2;
    letter-spacing: .025em;
    margin-bottom: 22px;
}

/* メインコピー */
.acMvTitle {
    width: fit-content;
    color: #333;
    font-family:
        "Yu Mincho",
        "YuMincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;
    font-size: clamp(25px, 2.5vw, 36px);
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: .12em;
    margin-bottom: 28px;
}
.acMvTitle span {
    display: table;
    border-bottom: 2px solid #f08080;
}

/* ----------------------------------------------------------------------
 4つの特徴ボックス
---------------------------------------------------------------------- */
.acMvFeatures {
    display: grid;
    grid-template-columns: repeat(2, 240px);
    gap: 10px;
}
.acMvFeature {
    min-height: 90px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 9px;
    background: rgba(224, 237, 233, .94);
}
.acMvFeatureIcon {
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
}
.acMvFeatureIcon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.acMvFeatureText {
    color: #454545;
    font-family:
        "Yu Mincho",
        "YuMincho",
        "Hiragino Mincho ProN",
        serif;
    font-size: 17px;
    line-height: 1.8;
    white-space: nowrap;
}
.acMvFeatureText em {
    color: #f27680;
    font-style: normal;
}

/* ----------------------------------------------------------------------
 タブレット
---------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .acMvContentInner {
        width: calc(100% - 50px);
    }
    .acMvPhoto {
        width: 60%;
    }
    .acMvTitle {
        font-size: clamp(25px, 6vw, 32px);
    }
    .acMvFeatures {
        grid-template-columns: repeat(2, 210px);
    }
    .acMvFeature {
        gap: 8px;
        padding: 10px;
    }
    .acMvFeatureIcon {
        flex: 0 0 56px;
        width: 56px;
        height: 56px;
    }
    .acMvFeatureText {
        font-size: 15px;
    }
}

/* ----------------------------------------------------------------------
 スマートフォン
---------------------------------------------------------------------- */
@media (max-width: 767px) {

    /* 全体 */
    .acMv {
        min-height: 0;
        display: flex;
        flex-direction: column;
        padding-bottom: 70px;
    }

    /* 方眼模様：スマホでも下に100pxはみ出す */
    .acMv::before {
        top: 0;
        background-size: 14px 14px;
    }

    /* テキストエリア */
    .acMvContent {
        position: relative;
        order: 1;
        z-index: 3;
        min-height: 0;
        display: block;
    }

    /* 葉の装飾 */
    .acMvContent::before {
        top: 0;
        left: 0;
        width: 200px;
        height: 200px;
        opacity: .5;
    }
    .acMvContentInner {
        width: calc(100% - 36px);
        padding: 45px 0 0;
    }

    /* リード文 */
    .acMvLead {
        font-size: 13px;
        line-height: 1.9;
        margin-bottom: 20px;
    }

    /* メインコピー */
    .acMvTitle {
        font-size: clamp(25px, 6vw, 32px);
        line-height: 1.7;
        letter-spacing: .04em;
        margin-bottom: 25px;
    }
    .acMvTitle span {
        white-space: nowrap;
    }

    /* 特徴ボックス */
    .acMvFeatures {
        position: relative;
        z-index: 3;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: -30px;
    }
    .acMvFeature {
        min-height: 76px;
        gap: 7px;
        padding: 8px;
        border-radius: 7px;
    }
    .acMvFeatureIcon {
        flex: 0 0 45px;
        width: 45px;
        height: 45px;
    }
    .acMvFeatureText {
        font-size: 14px;
        line-height: 1.6;
        white-space: normal;
    }

    /* 写真：特徴ボックスの下に重ねる */
    .acMvPhoto {
        position: relative;
        order: 2;
        z-index: 1;
        top: auto;
        right: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
        margin-top: 0;
        -webkit-mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            #000 30%
        );
        mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            #000 30%
        );
    }
    .acMvPhoto img {
        width: 100%;
        height: 100%;
        object-position: center center;
    }
}

/* ----------------------------------------------------------------------
 小さなスマートフォン
---------------------------------------------------------------------- */
@media (max-width: 380px) {
    .acMvFeature {
        min-height: 76px;
        gap: 7px;
        padding: 8px;
        border-radius: 7px;
    }
    .acMvFeatureIcon {
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
    }
    .acMvFeatureText {
        font-size: 13px;
    }
    .acMvTitle {
        font-size: 23px;
    }
}

body.page-template-page-mv-test .header--row.header-bottom {
    display: none;
}