@charset "utf-8";

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

img {
    width: 100%;
    vertical-align: bottom;
}

.mvArea img {
    margin-top: 100px;
}

ul {
    margin-left: 20px;
}



li {
    list-style: none;
}

li a {
    text-decoration: none;
    color: #000;
}

h2 {
    /* color: #971111 !important; */
    /* font-size: 4rem !important; */
    font-weight: 600 !important;
    text-align: center;
    margin-bottom: 50px;
}

#midasi {
    color: #971111 !important;
    font-size: 4.6rem !important;
    font-weight: 600 !important;
    text-align: center;
    margin-bottom: 10px !important;
}

#midasi02 {
    color: #ffffff !important;
    font-size: 4.2rem !important;
    font-weight: 600 !important;
    text-align: center;
    margin-top: 0px !important;
    margin-bottom: 30px !important;
}

.text-m {
    color: #971111;
    font-size: 4rem;
    text-align: center;
    margin-bottom: 50px;
    /* letter-spacing: 1px; */
    /* 文字間を2pxに設定 */
}

.text-s {
    color: #971111;
    font-size: 4rem;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 3px;
    /* 文字間を2pxに設定 */
}

.flex-shindan h2 {
    white-space: nowrap;
}


.margin-top01 {
    margin-top: 30px !important;
}

.margin-top {
    margin-top: 50px !important;
}

.margin-top02 {
    margin-top: 150px !important;

}

.margin-top03 {
    margin-top: 0px !important;

}

.b-cent {
    text-align: center;
}

button {
    text-align: center;
    width: 160px !important;
    margin: 0 auto !important;
    border: none;
    background-color: #971111;
    color: #FFFFFF;
    padding: 8px;
    border-radius: 5px !important;
    font-size: 2.4rem !important;

}

p {
    /* font-size: 25px; */
    font-size: 2.2rem;
}

a {
    text-decoration: none;
    color: #000;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

.pchead {
    display: block;
}

.spfoot {
    display: none;
}

.mail img {
    max-width: 60px !important;
    max-height: 60px !important;
}

@media screen and (max-width: 768px) {
    .pchead {
        display: none;
    }

    .spfoot {
        display: block;
    }

    .mvArea img {
        margin-top: 100px;
    }

    .margin-top02 {
        margin-top: 70px !important;
    }
}




/* body ***********/

body {
    font: ;
}

/* header ***********/

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* height: 120px; */
    position: fixed;
    background-color: #fff;
    width: 100%;
}

header h1 img {
    max-width: 590px;
    margin-left: 20px;
}

header nav ul {
    display: flex;
    max-width: 980px;
    padding: 0 20px;
}

header nav li {
    margin: 0 10px;
}

header nav li img {
    max-width: 300px;
}

/* main ***********/
.w-1000 {
    max-width: 1000px;
    margin: 30px auto 0;
}

.flex-shindan {
    display: flex;
    /* justify-content: space-between; */
    justify-content: center;
    align-items: center;
    /* 縦方向の中央揃え */
    gap: 10px;
    /* 画像とテキストの間に適度な余白を追加 */
}

.flex-shindan img {
    max-width: 180px;
    object-fit: contain;
    height: auto;
}

.flex-shindan h2 {
    /* margin-bottom: 0; */
    margin: 0;
    font-size: ;
}

.flex-shindan h2:nth-child(1) {
    color: #971111;
    border-bottom: #971111 2px solid;
}

.text-large {
    font-size: 5rem;
    font-weight: 600;
}

/* check ******/

.check-parent {
    background-color: #f7c8b0;
    padding: 140px 88px 88px;
    position: relative;
    margin-top: 120px;
    z-index: 0;
}

/* .check-parent p {
    font-size: 25px;
} */

.check-child.check-p {
    background-color: #971111;
    border-radius: 5px;
    max-width: 600px;
    margin: -18px auto 0;
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    padding: 100px auto !important;
    font-weight: 500;
}

.calcuration p:nth-child(1) {
    text-align: center;
    /* font-size: 35px; */
    font-size: 3rem;
    font-weight: 500;
}

.check-contents {
    display: flex;
    /* justify-self: right; */
    justify-content: right;
    align-items: center;
    margin: 30px 0;
}

.check-contents p {
    margin: 0 20px;
    font-weight: 500;
}

.check-contents input,
select {
    width: 200px;
    height: 65px;
    text-align: center !important;
    font-size: 3.5rem !important;
    font-weight: 600;
}

.asult-parent {
    background-color: #fff;
    text-align: center;
    padding: 20px 20px 0px;
    position: relative;
    margin-top: 120px;
    margin-bottom: 30px;
}

.asult-parent p {
    /* font-size: 35px; */
    font-size: 4.0rem;
    /* margin-top: 10px; */
    white-space: nowrap;
}

.zan {
    font-size: 4.2rem !important;
    text-align: right;
    white-space: nowrap;
}

.kome {
    font-size: 2rem !important;
    text-align: right;
    white-space: nowrap;
}



.check-p p {
    font-size: 40px;
    color: #fff;
    text-align: center;
    margin-top: 10px;
}

.asult-parent p:nth-child(3) {
    /* font-size: 100px; */
    color: #FF5600;
    font-weight: 600;
}

.asult-child {
    background-color: #FF5600;
    border-radius: 5px;
    width: 300px;
    /* margin: 0 auto; */
    margin: -15px auto;
    position: absolute;
    top: -25px;
    left: 0;
    right: 0;
}


.en {
    font-size: 47px;
}

.atend-p p {
    /* line-height: 1.8; */
    line-height: 1.5;
    width: 96%;
    margin: 0 auto;
}

/* cta ******/

.cta-main {
    border-bottom: #707070 2px solid;
    padding-bottom: 30px;
    max-width: 1000px;
    width: 96%;
    margin: 0 auto;
}

.cta h2 {
    color: #000;
    font-size: 60px;
    margin: 0 auto 10px;
    text-align: center;
}


.flex-0 {
    display: flex;
    color: #971111;
    justify-content: center;
    align-items: last baseline;
    /* align-items: center; */
    height: 160px;
    font-size: 60px;
}

.flex-0 p {
    font-size: 50px;
    margin-bottom: -15px;
}

.flex-0 .flex0-p {
    font-size: 160px;
    letter-spacing: -0.1em;
}

.cta-mark {
    font-size: 110px;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.cta-mark02 {
    font-size: 160px !important;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.cta .cta-h2 {
    font-size: 80px;
    margin-top: -40px;
}

.cta-p {
    text-align: center;
    line-height: 2;
    padding: 0 5px;
}

.cta-p p:nth-child(1) {
    font-size: 5rem;
}

.cta-p .zangyou {
    font-size: 5rem;
    color: #971111;
    font-weight: 500;
}

.jikou {
    font-size: 6.4rem;
}

.line {
    background-color: #F6F6F6;
    border: #707070 1px solid;
    border-radius: 15px;
    margin-top: 25px;
}

.line p {
    color: #FF5600;
    text-align: center;
    font-size: 60px;
}

.line img {
    max-width: 300px;
    margin: 10px 10px 20px;
}

.line-flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* orange-back お悩み ******/

/* --- 背景ブロック全体 --- */
.orange-back {
    background-color: #FF5600;
    padding: 35px 0 70px;
}

/* --- 背景ブロック全体 --- */
.orange-back02 {
    background-color: #FF5600;
    padding: 5px 0 70px;
}

.orange-back03 {
    background-color: #FF5600;
    margin-top: 50px;

}



/* --- 枠線付きの囲みエリア --- */
.worries-parent {
    border: 2px solid #fff;
    border-radius: 15px;
    background-color: #FF5600;
    color: #fff;
    padding: 3em 1em 2em;
    margin: 0 auto;
    width: 100%;
    /* max-width: 800px; */
    box-sizing: border-box;
    position: relative;
    overflow: visible;
}




/* --- タイトル（見出し） --- */
/* ▼ 全体共通のタイトル設定 */
.worries-child {
    position: absolute;
    top: -1.2em;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FF5600;
    padding: 0 1em;
    font-weight: bold;
    white-space: nowrap;
    /* ← 折り返しなし */
    color: white;
    z-index: 1;
    text-align: center;
    border-radius: 5px;
    font-size: 3.2rem;
    /* スマホ初期サイズ */
}

/* ▼ タブレット以上（768px〜）でサイズUP */
@media screen and (min-width: 768px) {
    .worries-child {
        /* font-size: 3.6em; */
        margin-top: 20px;
    }

}

/* ▼ デスクトップ以上（1024px〜）でさらに大きく */
@media screen and (min-width: 1024px) {
    .worries-child {
        /* margin-top: 20px; */
        text-align: center;
        font-size: 5rem;
    }
}




/* 共通：サイズは文字サイズに追従させる（em使用） */
.worries-parent ul {
    list-style: none;
    margin: 0 0 0 10px;
    padding: 0;
}

.worries-parent li {
    /* 文字サイズ・行送り（お好みで） */
    font-size: 3rem;
    line-height: 1.8;

    /* アイコンを背景で左上配置（少しだけ下げる） */
    background: url('img/check.png') no-repeat;
    background-position: left 0 top .45em;

    /* アイコンの大きさ（行の高さより小さく） */
    --icon: 1em;
    /* ← 1em = 文字サイズ(=3rem) */
    background-size: var(--icon);

    /* 左の余白（アイコン＋間隔） */
    --gap: .6em;
    padding-left: calc(var(--icon) + var(--gap));

    color: #fff;
    margin: 0 0 1em;
}

/* ===== レスポンシブ ===== */
/* タブレット〜ノートPC */
@media (max-width: 1024px) {
    .worries-parent li {
        font-size: 2.4rem;
        --icon: .95em;
        /* 行内でさらに安全に */
        --gap: .55em;
    }
}

/* スマホ大 */
@media (max-width: 768px) {
    .worries-parent li {
        font-size: 1.8rem;
        --icon: .95em;
        --gap: .5em;
    }
}

/* スマホ小 */
@media (max-width: 480px) {
    .worries-parent li {
        font-size: 1.6rem;
        --icon: .9em;
        --gap: .45em;
    }

    header {
        width: 100%;
        height: 60px;
        position: fixed;
        top: 0;
        z-index: 10000 !important;
        background-color: #FFF;
    }


    header .inner_header {
        width: 100%;
        height: 60px;
        position: fixed;
        top: 0;
        z-index: 10000 !important;
        background-color: #FFF;
    }

    .mvArea img {
        margin-top: 60px;
    }

    header .logo img {
        /* width: calc(180/375 * 100vw); */
        /* width: calc(240 / 375 * 100vw); */
        /* 約64vw */
        max-width: 180px;
        height: auto;
    }

    .zan {
        /* font-size: 4.2rem !important; */
        text-align: right;
        white-space: nowrap;
        /* font-size: clamp(2.0rem, 6.2cqi, 4.8rem); */
        letter-spacing: clamp(-0.02em, -0.16cqi, 0em);
    }
}

.no-risk {
    background-color: #fff;
    /* border: #707070 1px solid; */
    border-radius: 15px;
    padding: 25px 0;
    margin-top: 70px;
}

.no-risk h2 {
    margin: 0;
    font-size: 5rem;
    text-align: center;
    color: #971111;
    font-weight: 600;
}

.no-risk h2:nth-child(1) {
    /* font-size: 55px; */
    font-size: 5.4rem;
    text-align: center;
    color: #971111;
    font-weight: 600;
}

.no-risk p {
    text-align: center;
    font-size: 35px;
}

/* flex-1 ******/

.line-height p {
    line-height: 1.5;
}

.flex-1 {
    display: flex;
    align-items: center;
    /* border-bottom: #707070 2px solid; */
}

.flex-1 img {
    /* max-width: 400px;
    max-height: 540px; */
    max-width: 540px;
    max-height: 464px;
    object-fit: contain;
}

.flex1-p {
    max-height: 470px;
}

/* PS セクションをフッター直上に密着 */
.ps {
    margin-bottom: 0 !important;
    /* 下余白を消す */
    padding-bottom: 0 !important;
    /* 下パディングも消す */
}

/* 外枠（テキストコンテナ） */
.ps .inner,
.ps .message {
    box-sizing: border-box;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 8px;
    /* 左右だけパディング */
}

/* レイアウト：縦並びで画像を必ず一番下 */
.flex-2 {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* gap: 16px; */
}

.flex2-p {
    order: 1;
    width: 100%;
    max-height: none;
}

.flex2-p p {
    padding-bottom: 0px !important;
    margin-bottom: -10px !important;

}

.flex-2 img {
    order: 2;
    align-self: center;
    width: 100%;
    max-width: min(480px, 100%);
    height: auto;
    object-fit: contain;
    margin: 0;
    /* ★ 余白をゼロに */
    padding: 0;
    /* 念のためパディングもゼロ */
    display: block;
}

/* フッターとの間隔が出る場合、footerに余白があれば削除 */
footer {
    margin-top: 0 !important;
}







.white-back-p {
    padding: 20px 10px;
    border-bottom: #707070 2px solid;
    max-width: 1000px;
    margin: 0 auto;
}

.white-back-p p {
    font-size: 3rem;
    font-weight: bold;
}

.red {
    color: #971111;
}

.white-back-p2 p:nth-child(2) {
    /* font-size: 21px; */
}

.padding-reset {
    padding: 10px 0 30px;
}

.padding-reset02 {
    padding: 10px 0 0px;
}


/* ==== 伊倉セクション専用 ==== */
.ikura-section .ikura-flex {
    display: flex;
    flex-direction: column;
    /* 縦並び */
    align-items: center;
    /* 横方向は常に中央寄せ */
    justify-content: center;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

/* 左側テキストブロック */
.ikura-section .ikura-flex .flex1-p {
    margin: 0 0 -50px 0;
    /* padding: 20px; */
    padding: 50px 15px 50px;
    width: 100%;
    max-width: 1000px;
    background: #fff;
    border: 6px solid #000;
    color: #ff6600;
    box-sizing: border-box;

    /* はみ出し防止設定 */
    text-align: center;
    /* 中央寄せ */
    word-break: break-all;
    /* 文字単位で強制改行 */
    overflow-wrap: anywhere;
    /* 単語途中でも改行可能 */
    white-space: normal;
    /* 必ず折り返し可能にする */
}

.ikura-section .ikura-flex .flex1-p p {
    margin: 0 0 1em 0;
    line-height: 1.8;
    text-align: center;
}

.ikura-section .ikura-flex .flex1-p p:last-child {
    margin-bottom: 0;
}

/* 伊倉ブロック */
.ikura-section .ikura-flex .ikura-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    /* 中の要素も中央寄せ */
    gap: 10px;
    margin: 0;
    padding: 0;
}

/* 斜めテキスト */
.ikura-section .ikura-flex .ikura-left p {
    transform: rotate(-10deg);
    font-size: 3.6rem;
    line-height: 1.6;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

/* 画像側 */
.ikura-section .ikura-flex .ikura-right {
    margin: 0;
    padding: 0;
    line-height: 0;
    /* 画像下の余白を消す */
}

.ikura-section .ikura-flex .ikura-right img {
    display: block;
    max-width: 300px;
    height: auto;
    margin: 0;
    padding: 0;
}

/* --------------------
   レスポンシブ対応
-------------------- */

/* PC幅 (1024px以上) → 枠を広め */
@media screen and (min-width: 1024px) {
    .ikura-section .ikura-flex .flex1-p {
        max-width: 900px;
        /* PCでは横幅を広く */
        font-size: 18px;
        /* 文字サイズも少し大きめ */
    }
}

/* スマホ幅 (～767px) → 枠を画面いっぱいに */
@media screen and (max-width: 767px) {
    .ikura-section .ikura-flex .flex1-p {
        padding: 50px 15px 50px;
        /* 内側余白を少し狭める */
        font-size: 15px;
        /* 文字を小さくしてはみ出し防止 */
        max-width: 100%;
        /* 画面幅いっぱい */
    }
}





/* スマホでも同じ配置を維持するので、レスポンシブ調整は不要 */
/* merit ******/

.merit-img {
    max-width: 600px;
    margin: -60px auto -40px;
}




.question {
    width: 100%;
    margin: 20px auto 100px;
}

.question__inner {
    width: inherit;
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 600;
}

/* アコーディオン */

/* 質問と回答の見た目 */
.merit .question__text,
.question__reply {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 20px 20px 15px;
    color: #fff;
    box-sizing: border-box;
}

/* 質問の見た目 */
.merit .question__text {
    cursor: pointer;
    position: relative;
    background-color: #971111;
    /* border-bottom: 1px solid #fff; */
}

/* 回答の見た目 */
.merit .question__reply {
    display: none;
    background-color: #F6F6F6;
    border-top: 0px;
    color: #000;
    font-size: 25px;
    font-weight: 400;
    /* border-left: 1px solid #d8d8d8;
    border-right: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8; */
    font-weight: normal;
}

/* プラスマークの横部分 */
/* .question__text::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 24px;
    height: 2px;
    background: #000000;
    transform: translateY(-50%);
} */

/* プラスマークの縦部分 */
/* .question__text::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 31px;
    width: 2px;
    height: 24px;
    background: #000000;
    transform: translateY(-50%);
    transition: .3s;
} */

/* 回答表示時にプラスマークの縦部分を消す */
/* .question__text.open::after {
    top: 25%;
    opacity: 0;
    transform: rotate(90deg);
} */

/* ご覧ください。 ******/

.actual p {
    text-align: center;
    font-weight: bold;
}

/* 解決事例 ******/

.actual-ex table {
    margin: 30px 0;
}

table,
tr {
    border: #FF5600 1px solid;
    border-collapse: collapse;
}

th {
    width: 300px;
    background-color: #FFF6F2;
    vertical-align: top;
    padding: 10px 0;
    /* font-size: 2.1rem !important; */
    font-size: 2.8rem !important;
    text-align: center !important;
}

td {
    padding: 10px 20px;
    text-align: left;
    font-size: 2.8rem;
    line-height: 1.8;
}

.table-top th {
    font-size: 3.6rem;
    background-color: #FF5600;
    color: #fff;
    text-align: center;
}

/* voice ******/

.gray-back {
    background-color: #F6F6F6;
    margin: 50px auto;
    padding: 20px 20px 0px;
}

.flex-voice {
    display: flex;
    align-items: last baseline;
    width: 96%;
    margin: 0 auto;
}

.flex-voice img {
    max-width: 159px;
    margin: 20px 40px;
}

.flex-voice-box {
    width: 300px;
}

.flex-voice-item {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

h3 {
    /* background-color: #971111; */
    color: #fff;
    padding: 10px 20px;
    max-width: 960px;
    margin: 0 auto;
}

.voice-p {
    line-height: 2;
    padding: 10px 40px;
}

.voice-p p {
    font-size: 18px;
}

.voice-more {
    max-width: 200px;
    text-align: center;
}

/* form *******/

form {
    text-align: center;
}

.form-item {
    margin-bottom: 20px;
}

.yokonarabi {
    display: flex;
    justify-content: center;
    align-items: center;
}

form p {
    margin-bottom: 10px;
}

.p-1 {
    color: #FF5600;
    font-size: 14px;
    font-weight: bold;
    margin-left: 10px;
}

form input {
    height: 50px;
    /* width: 300px; */
    text-align: center;
    font-size: 24px;
    margin-top: -15px;
}

form textarea {
    height: 250px;
    width: 1000px;
}

form .submit input {
    max-width: 150px;
    background-color: #971111;
    color: #fff;
    border: none;
    font-size: 30px;
    font-weight: bold;
}

/* syoko ******/

.syoko {
    border: none;
}

.syoko p {
    font-size: 21px;
}

.syoko .red {
    font-weight: bold;
}

/* about ******/

.about table {
    width: 1000px;
}

.about-flex {
    display: flex;
    align-items: last baseline;
}

.about-flex p {
    font-size: 2.4rem;
}

.about-map {
    background-color: #FF5600;
    border-radius: 30%;
    margin-left: 10px;
    width: 60px;
    text-align: center;
    padding-top: 8px;
}

.about-map p {
    color: #fff;
    font-size: 1.8rem;
}

.table-padding th,
td {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* youtube ******/

/* .youtube {
    max-width: 560px;
    margin: 50px auto;
} */

@media screen and (min-width: 768px) {
    .item-iframe {
        display: block;
        margin: 40px auto;
        max-width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .item-movie {
        position: relative;
        width: 100%;
        padding-top: 56.25%;
        margin-top: 60px;
    }

    .item-movie iframe {
        position: absolute;
        top: 0;
        right: 0;
        width: 100% !important;
        height: 100% !important;
    }
}

/* support ******/

.support {
    display: flex;
    justify-content: space-around;
    border: #FF5600 1px solid;
    padding: 20px;
    align-items: center;
}

.step {
    color: #FF5600;
}

.step p:nth-child(2) {
    font-size: 60px;
    line-height: 1;
}

.support h3 {
    background-color: #fff;
    color: #000;
    padding: 0;
    font-size: 30px;
}

.step-text {
    max-width: 770px;
}

.arrow {
    max-width: 100px;
    margin: 30px auto;
}

.support-orange {
    background-color: #FFF6F2;
}

.support-orange h3 {
    background-color: #FFF6F2;
}

/* cost ******/

.cost h2 {
    color: #fff;
}

.cost table td {
    background-color: #fff;
    line-height: 1.5;
}

.cost a {
    text-decoration-line: underline;
}

.cost ul li {
    list-style-type: disc;
    margin-left: 20px;
}

.cost p {
    font-size: 16px;
}

/* question ******/

.question-box p {
    text-align: center;
}


/* アコーディオン */

/* 質問と回答の見た目 */
.question-box .question__text,
.question-box .question__reply {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 20px 10px 0;
    color: #FF5600;
    box-sizing: border-box;
}

/* 質問の見た目 */
.question-box .question__text {
    cursor: pointer;
    position: relative;
    border: #FF5600 1px solid;
    /* border-bottom: 1px solid #fff; */
    border-radius: 10px;
    font-size: 18px;

}

.question-box .question__text .qa {
    background-color: #FF5600;
    color: #fff;
    font-size: 45px;
    padding: 0 20px 20px;
    border-radius: 10px;
    margin-right: 10px;
    margin-top: 120px;
}

.question-box .question__text p {
    padding-right: 20px;
    margin-right: 10px;
}

/* 回答の見た目 */
.question-box .question__reply {
    display: none;
    background-color: #FF5600;
    border-top: 0px;
    color: #fff;
    font-size: 25px;
    /* border-left: 1px solid #d8d8d8;
    border-right: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8; */
    border-radius: 10px;
}

/* プラスマークの横部分 */
.question-box .question__text::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 24px;
    height: 2px;
    background: #FF5600;
    transform: translateY(-50%);
}

/* プラスマークの縦部分 */
.question-box .question__text::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 31px;
    width: 2px;
    height: 24px;
    background: #FF5600;
    transform: translateY(-50%);
    transition: .3s;
}

/* 回答表示時にプラスマークの縦部分を消す */
.question-box .question__text.open::after {
    top: 25%;
    opacity: 0;
    transform: rotate(90deg);
}


/* ps ******/

.ps {
    /* border: #707070 1px solid; */
    padding: 50px 0;
    margin-bottom: 50px;
}

.ps h3 {
    background-color: #fff;
    text-align: center;
    color: #000;
    font-size: 40px;
}

.ps p {
    text-align: center;
}

.ps-div {
    margin-bottom: 30px;
}

/* footer *****/

footer {
    background-color: #FF5600;
    text-align: center;
    padding: 20px 0;
}

footer small {
    color: #fff;
}




/* レスポンシブ *****************************/

@media screen and (max-width:1000px) {

    h2 {
        /* font-size: 40px; */
        /* margin-bottom: 50px; */
    }

    p {
        font-size: 2.1rem;
    }

    .en {
        font-size: 3rem !important;
    }

    /* main ***********/

    .w-1000 {
        max-width: 1000px;
        /* margin: 60px auto 0; */
    }

    .flex-shindan img {
        max-width: 150px;
    }

    /* .text-large {
        font-size: large;
    } */

    /* check ******/

    .check-parent {
        /* background-color: #FFF6F2; */
        padding: 120px 88px 88px;
        /* position: relative; */
        /* margin-top: 120px; */
    }

    .check-child {
        /* background-color: #971111; */
        /* border-radius: 5px;
        max-width: 660px; */
        /* margin: 0 auto; */
        /* position: absolute; */
        /* top: -50px;
        left: 0;
        right: 0; */
    }

    .calcuration p:nth-child(1) {
        /* text-align: center; */
        font-size: 25px;
    }

    .check-contents {
        /* display: flex; */
        /* justify-self: right;
        align-items: center; */
        margin: 20px 0;
    }

    .check-contents p {
        margin: 0 10px;
    }

    /* .check-contents input, select {
        width: 200px;
        height: 65px;
        text-align: right;
        font-size: 30px;
    } */

    .asult-parent {
        /* background-color: #fff; */
        /* text-align: center; */
        /* padding: 50px; */
        /* position: relative; */
        margin-top: 100px;
        /* margin-bottom: 30px; */
    }

    .asult-parent p {
        /* font-size: 25px; */
        font-size: 3.6rem;
    }

    .check-p p {
        font-size: 40px;
        /* color: #fff;
        text-align: center; */
    }

    .asult-parent p:nth-child(3) {
        font-size: 80px;
        /* color: #FF5600; */
    }

    .asult-child {
        /* background-color: #FF5600; */
        /* border-radius: 5px; */
        /* width: 300px; */
        /* margin: 0 auto;
        position: absolute;
        top: -25px;
        left: 0;
        right: 0; */
    }

    /* .en {
        font-size: 47px;
    } */

    .atend-p p {
        /* line-height: 1.8; */

    }

    /* cta ******/

    .cta-main {
        /* border-bottom: #707070 2px solid; */
        padding-bottom: 20px;
    }

    .cta h2 {
        /* color: #000; */
        /* font-size: 60px;
        margin: 0; */
    }

    .flex-0 {
        /* display: flex; */
        /* color: #971111; */
        /* justify-content: center; */
        /* align-items: last baseline; */
        /* height: 200px;
        font-size: 60px; */
    }

    /* .flex-0 p {
        font-size: 50px;
    } */

    /* .flex-0 .flex0-p {
        font-size: 160px;
        letter-spacing: -0.1em;
    } */

    /* .cta-mark {
        font-size: 120px;
    } */

    /* .cta .cta-h2 {
        font-size: 80px;
    } */

    /* .cta-p {
        text-align: center;
        line-height: 2;
    } */

    .cta-p p:nth-child(1) {
        font-size: 3rem;
    }

    .cta-p .zangyou {
        font-size: 3rem;
        color: #971111;
        font-weight: 500;
    }

    .white-back-p2 {
        width: 96%;
        margin: 0 auto;
        padding-left: 10px !important;
    }

    .line {
        /* background-color: #F6F6F6; */
        /* border: #707070 1px solid; */
        /* border-radius: 15px; */
        /* margin-top: 25px; */
        max-width: 1000px;
        width: 96%;
        margin: 0 auto;
    }


    .line p {
        /* color: #FF5600; */
        /* text-align: center; */
        font-size: 48px;

    }

    /* .line img {
        max-width: 300px;
        margin: 10px 10px 20px;
    } */

    /* .line-flex {
        display: flex;
        justify-content: center;
        align-items: center;
    } */

    /* orange-back お悩み ******/

    .orange-back {
        /* background-color: #FF5600; */
        /* padding: 40px 0 70px; */
    }

    .worries-parent {
        /* border: #fff 2px solid; */
        /* border-radius: 15px; */
        /* color: #fff; */
        /* padding: 40px 20px 20px; */
        /* position: relative; */
        width: 90%;
    }

    /* .worries-parent ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .worries-parent ul li {
        position: relative;
        padding-left: 1.2em;
        margin-bottom: 1.2em;
        font-size: 2.4em;
        line-height: 1.8;
    }

    .worries-parent ul li::before {
        content: "●";
        position: absolute;
        left: 0;
        top: 1.2em;
        /* 上揃え微調整 *
        color: #fff;
        font-size: 0.75em;
        line-height: 1;
    } */

    .no-risk {
        /* background-color: #fff; */
        /* border: #707070 1px solid; */
        /* border-radius: 15px;
        padding: 25px 0; */
        /* margin-top: 70px; */
    }

    .no-risk {
        background-color: #fff;
        /* border: #707070 1px solid; */
        border-radius: 15px;
        padding: 25px 0;
        margin-top: 70px;
        width: 96%;
        margin: 60px auto 0;
    }



    .no-risk h2 {
        margin: 0;
        font-size: 5rem;
        text-align: center;
        color: #971111;
        font-weight: 600;
    }

    .no-risk h2:nth-child(1) {
        /* font-size: 55px; */
        font-size: 5.4rem;
        text-align: center;
        color: #971111;
        font-weight: 600;
    }

    /* .no-risk h2 {
        margin: 0;
    } */

    /* .no-risk h2:nth-child(1) {
        font-size: 55px;
    } */

    /* .no-risk p {
        text-align: center;
        font-size: 35px;
    } */

    /* flex-1 ******/

    .line-height p {
        /* line-height: 2; */
    }

    .flex-1 {
        display: flex;
        align-items: end;
        /* border-bottom: #707070 2px solid; */
        /* justify-content: space-between; */
        padding: 0 10px;
        width: 96%;
        margin: 0 auto;

    }

    .flex-1 img {
        /* max-width: 330px;
        max-height: 380px; */
        max-width: 200px;
        max-height: 331px;
        /* object-fit: contain; */
    }

    /* .flex1-p {
        max-height: 470px;

    } */

    .white-back-p {
        padding: 10px 10px;
        border-bottom: #707070 2px solid;
        max-width: 1000px;
        width: 96%;
    }

    .white-back-p p {
        font-size: 24px;
        /* font-weight: bold; */
    }

    /* .red {
        color: #971111;
    } */

    /* p:nth-child(2) {
        font-size: 16px;
    } */

    /* .padding-reset {
        padding: 10px 0 70px;
    } */

    .ikura-flex {
        justify-content: space-around;
        /* border-color: #fff;
        color: #fff; */
    }

    /* merit ******/

    .merit-img {
        max-width: 500px;
        /* margin: 0 auto; */
    }

    /* .question {
        width: 100%;
        margin: 20px auto 100px;
    } */

    .question__inner {
        /* width: inherit; */
        margin-bottom: 5px;
        /* font-size: 2rem;
        font-weight: 600; */
    }


    /* アコーディオン */

    /* 質問と回答の見た目 */
    /* .merit 
    .question__text,
    .question__reply {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 20px 20px;
        color: #fff;
        box-sizing: border-box;
    } */

    /* 質問の見た目 */
    .merit .question__text {
        /* cursor: pointer;
        position: relative;
        background-color: #971111; */
        /* border-bottom: 1px solid #fff; */
    }

    /* 回答の見た目 */
    .merit .question__reply {
        /* display: none;
        background-color: #F6F6F6;
        border-top: 0px;
        color: #000;
        font-size: 25px; */
        /* border-left: 1px solid #d8d8d8;
        border-right: 1px solid #d8d8d8;
        border-bottom: 1px solid #d8d8d8; */
        /* font-weight: normal; */
    }



    /* ご覧ください。 ******/

    .actual p {
        /* text-align: center;
        font-weight: bold; */
        font-size: 28px;
    }

    /* 解決事例 ******/

    .actual-ex table {
        margin: 40px 0;
    }

    table,
    tr {
        /* border: #FF5600 2px solid;
        border-collapse: collapse; */
    }

    th {
        /* width: 300px;
        background-color: #FFF6F2;
        vertical-align: top; */
        padding: 20px 0;
    }

    /* td {
        padding: 10px 20px;
    } */

    .table-top th {
        font-size: 42px;
        /* background-color: #FF5600;
        color: #fff; */
    }

    /* voice ******/

    .gray-back {
        /* background-color: #F6F6F6;
        margin: 50px 0; */
        padding: 10px;
    }

    /* .flex-voice {
        display: flex;
        align-items:last baseline;
    } */

    /* .flex-voice img {
        max-width: 159px;
        margin: 20px 40px;
    } */

    .flex-voice-box {
        width: 250px;
    }

    /* .flex-voice-item {
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
    } */

    /* h3 {
        background-color: #971111;
        color: #fff;
        padding: 10px 20px;
        max-width: 960px;
        margin: 0 auto;
    } */

    .voice-p {
        /* line-height: 2; */
        padding: 10px 20px;
    }

    /* .voice-p p {
        font-size: 18px;
    } */

    /* .voice-more {
        max-width: 200px;
        text-align: center;
    } */

    /* form *******/

    /* form {
        text-align: center;
    } */

    /* .form-item {
        margin-bottom: 20px;
    } */

    /* .yokonarabi {
        display: flex;
        justify-content: center;
        align-items: center;
    } */

    /* form p {
        margin-bottom: 10px;
    } */

    /* .p-1 {
        color: #FF5600;
        font-size: 14px;
        font-weight: bold;
        margin-left: 10px;
    } */

    /* form input {
        height: 50px;
        width: 300px;
        text-align: center;
        font-size: 24px;
    } */

    form textarea {
        /* height: 250px; */
        width: 768px;
    }

    /* form .submit input {
        max-width: 150px;
        background-color: #971111;
        color: #fff;
        border: none;
        font-size: 30px;
        font-weight: bold;
    } */

    /* syoko ******/

    /* .syoko {
        border: none;
    } */

    .syoko p {
        font-size: 18px;
    }

    /* .syoko .red {
        font-weight: bold;
    } */

    /* about ******/

    .about table {
        max-width: 1000px;
        width: 96%;
        margin: 0 auto;
    }

    /* .about-flex {
        display: flex;
        align-items: last baseline;
    } */

    .about-flex p {
        font-size: 14px;
    }

    /* .about-map {
        background-color: #FF5600;
        border-radius: 40%;
        margin-left: 10px;
        width: 40px;
        text-align: center;
    } */

    /* .about-map p {
        color: #fff;
    } */

    /* .table-padding th, td {
        padding-top: 20px;
        padding-bottom: 20px;
    } */

    /* youtube ******/

    /* .youtube {
        max-width: 560px;
        margin: 50px auto;
    } */

    /* support ******/

    .support {
        /* display: flex;
        justify-content: space-around; */
        /* border: #FF5600 1px solid; */
        /* padding: 20px; */
        /* align-items: center; */
    }

    .step {
        /* color: #FF5600; */
    }

    .step p:nth-child(2) {
        font-size: 42px;
        /* line-height: 1; */
    }

    .support h3 {
        /* background-color: #fff;
        color: #000;
        padding: 0; */
        font-size: 28px;
    }

    .step-text {
        max-width: 600px;
    }

    /* .arrow {
        max-width: 100px;
        margin: 30px auto;
    } */

    /* .support-orange {
        background-color: #FFF6F2;
    } */

    /* .support-orange h3 {
        background-color: #FFF6F2;
    } */

    /* cost ******/

    /* .cost h2 {
        color: #fff;
    } */

    /* .cost table td {
        background-color: #fff;
        line-height: 1.5;
    } */

    /* .cost a {
        text-decoration-line: underline;
    } */

    /* .cost ul li {
        list-style-type: disc;
        margin-left: 20px;
    } */

    .cost p {
        font-size: 16px;
    }

    /* question ******/

    .question-box p {
        text-align: center;
    }


    /* アコーディオン */

    /* 質問と回答の見た目 */
    /* .question-box 
    .question__text,
    .question-box 
    .question__reply {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 10px 20px 10px 0;
        color: #FF5600;
        box-sizing: border-box;
    } */

    /* 質問の見た目 */
    .question-box .question__text {
        /* cursor: pointer;
        position: relative;
        border: #FF5600 1px solid; */
        /* border-bottom: 1px solid #fff; */
        /* border-radius: 10px;
        font-size: 18px; */

    }

    .question-box .question__text .qa {
        /* background-color: #FF5600; */
        /* color: #fff; */
        font-size: 30px;
        padding: 0 15px 15px;
        /* border-radius: 10px;
        margin-right: 10px; */
    }

    /* .question-box 
    .question__text p {
        padding-right: 20px;
        margin-right: 10px;
    } */

    /* 回答の見た目 */
    .question-box .question__reply {
        /* display: none;
        background-color: #FF5600;
        border-top: 0px;
        color: #fff;
        font-size: 25px; */
        /* border-left: 1px solid #d8d8d8;
        border-right: 1px solid #d8d8d8;
        border-bottom: 1px solid #d8d8d8; */
        /* border-radius: 10px; */
        padding-left: 35px;
    }

    /* プラスマークの横部分 */
    /* .question-box 
    .question__text::before {
        content: "";
        position: absolute;
        top: 50%;
        right: 20px;
        width: 24px;
        height: 2px;
        background: #FF5600;
        transform: translateY(-50%);
    } */

    /* プラスマークの縦部分 */
    /* .question-box 
    .question__text::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 31px;
        width: 2px;
        height: 24px;
        background: #FF5600;
        transform: translateY(-50%);
        transition: .3s;
    } */

    /* 回答表示時にプラスマークの縦部分を消す */
    /* .question-box 
    .question__text.open::after {
        top: 25%;
        opacity: 0;
        transform: rotate(90deg);
    }
 */

    /* ps ******/

    .ps {
        /* border: #707070 1px solid; */
        padding: 35px 0 50px;
        /* margin-bottom: 50px; */
    }

    /* .ps h3 {
        background-color: #fff;
        text-align: center;
        color: #000;
        font-size: 40px;
    } */

    /* .ps p {
        text-align: center;
    } */

    /* .ps-div {
        margin-bottom: 30px;
    } */

    /* footer *****/

    /* footer {
        background-color: #FF5600;
        text-align: center;
        padding: 20px 0;
    }

    footer small {
        color: #fff;
    } */

    .jikou {
        font-size: 5rem;
    }

}





@media screen and (max-width:768px) {

    /* h2 {
        font-size: 24px;
        /* margin-bottom: 50px; 
}*/

    .syoko {
        padding-right: 0px !important;
    }

    p {
        /* font-size: 16px; */
        font-size: 2.6rem;
    }

    .br {
        display: inline-block;
    }


    /* header ***********/

    header {
        display: block;
        /* justify-content: space-between; */
        /* align-items: center; */
        height: 60px;
        padding-top: 18px;
        z-index: 10000 !important;
    }

    header h1 {
        text-align: center;
    }

    header h1 img {
        max-width: 420px;
        margin: 20px 0;
    }

    header nav {
        position: fixed;
        z-index: 1;
        bottom: 0;
        width: 100%;
        background-color: #fff;
        padding: 10px 0;

    }

    header nav ul {
        /* display: flex; */
        max-width: 420px;
        margin: 0 auto;
        /* padding: 0 20px; */
    }

    /* header nav li {
        margin: 0 10px;
    } */

    /* header nav li img {
        max-width: 300px;
    } */



    /* main ***********/

    .w-1000 {
        max-width: 768px;
        width: 100%;
        margin: 30px auto 0;
    }

    .flex-shindan img {
        max-width: 80px;
    }

    .text-large {
        font-size: 4rem;
    }

    /* check ******/

    .check-parent {
        /* background-color: #FFF6F2; */
        padding: 60px 10px 60px;
        /* position: relative; */
        /* margin-top: 120px; */
    }

    .check-child {
        /* background-color: #971111; */
        /* border-radius: 5px;
        max-width: 660px; */
        /* margin: 0 auto; */
        /* position: absolute; */
        top: -20px;
        /* left: 0;
        right: 0; */
        max-width: 320px;
        padding: 5px 0;
    }

    .calcuration p:nth-child(1) {
        /* text-align: center; */
        font-size: 3.2rem;
    }

    .check-contents {
        /* display: flex; */
        /* justify-self: right;
        align-items: center; */
        /* margin: 20px 0; */
    }

    .check-contents p {
        /* margin: 0 10px; */
        /* max-width: 150px; */
    }

    .check-contents input,
    .check-contents select {
        width: 100px;
        height: 45px;
        /* text-align: right;
        font-size: 30px; */
    }

    .check-child.check-p {
        background-color: #971111;
        border-radius: 5px;
        max-width: 300px;
        margin: 15px auto 0;
        position: absolute;
        top: -50px;
        left: 0;
        right: 0;
        padding: 100px auto !important;
        font-weight: 500;
    }


    .asult-parent {
        /* background-color: #fff; */
        /* text-align: center; */
        padding: 20px;
        /* position: relative; */
        margin-top: 60px;
        /* margin-bottom: 30px; */
    }

    .asult-parent p {
        margin-top: 10px;
        font-size: 3.6rem;
    }

    .check-p p {
        font-size: 18px;
        /* color: #fff;
        text-align: center; */
        margin-top: 5px;
    }

    .kekka-waku {
        text-align: center;
    }

    .zan {
        font-size: 3.6rem !important;
        text-align: right;
        white-space: nowrap;
    }

    .kome {
        font-size: 2rem !important;
        text-align: right;
    }


    .asult-parent p:nth-child(3) {
        font-size: 60px;
        /* color: #FF5600; */
    }

    .asult-child {
        /* background-color: #FF5600; */
        /* border-radius: 5px; */
        max-width: 180px;
        /* margin: 0 auto;
        position: absolute;
        top: -25px;
        left: 0;
        right: 0; */
        /* padding: 5px 10px 5px; */
        font-size: 3.0rem;
        margin-top: -7px;
    }

    .asult-child p {
        padding: 10px 10px 10px;
        font-size: 3rem;
    }


    .en {
        /* font-size: 35px; */
        font-size: 4rem;
    }

    .atend-p p {
        /* line-height: 1.8; */

    }

    /* cta ******/

    .cta-main {
        /* border-bottom: #707070 2px solid; */
        /* padding-bottom: 20px; */
    }

    .cta h2 {
        /* color: #000; */
        font-size: 6rem !important;
        /* margin: 0; */
        white-space: nowrap;
    }

    .flex-0 {
        /* display: flex; */
        /* color: #971111; */
        /* justify-content: center; */
        /* align-items: last baseline; */
        /* height: 200px;
        font-size: 60px; */
    }

    /* .flex-0 p {
        font-size: 50px;
    } */

    /* .flex-0 .flex0-p {
        font-size: 160px;
        letter-spacing: -0.1em;
    } */

    /* .cta-mark {
        font-size: 120px;
    } */

    .cta .cta-h2 {
        font-size: 8rem !important;
    }

    /* .cta-p {
        text-align: center;
        line-height: 2;
    } */

    .cta-p p:nth-child(1) {
        font-size: 3rem;
    }


    .line {
        /* background-color: #F6F6F6; */
        /* border: #707070 1px solid; */
        /* border-radius: 15px; */
        /* margin-top: 25px; */
    }

    .line p {
        /* color: #FF5600; */
        /* text-align: center; */
        font-size: 4rem;
        white-space: nowrap;
    }

    .line img {
        max-width: 96%;
        margin: 10px auto;
    }

    .line-flex {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        /* アイコン間の余白 */
    }

    /* スマホ時に縦並び */
    @media screen and (max-width: 768px) {
        .line-flex {
            flex-direction: column;
        }
    }

    /* orange-back お悩み ******/

    .orange-back {
        /* background-color: #FF5600; */
        /* padding: 40px 0 70px; */
        margin-top: -50px;
    }

    .worries-parent {
        /* border: #fff 2px solid; */
        /* border-radius: 15px; */
        /* color: #fff; */
        /* padding: 40px 20px 20px; */
        /* position: relative; */
        width: 96%;
    }

    .worries-child {
        /* color: #fff; */
        /* position: absolute; */
        margin-top: 10px;
        text-align: center;
        font-size: 3.2rem !important;
        /* left: 0;
        right: 0; */
        background-color: #FF5600;
        /* max-width: 350px; */
        margin: 10px auto 10px;

    }

    .worries-parent ul li {
        /* font-size: 2.8rem; */
        font-size: 3rem;
        /* list-style: disc inside;
        text-indent: 1rem;
        line-height: 2; */
    }

    .no-risk {
        /* background-color: #fff; */
        /* border: #707070 1px solid; */
        /* border-radius: 15px;
        padding: 25px 0; */
        margin-top: 70px;
    }

    .no-risk h2 {
        /* margin: 0; */
        font-size: 28px;
    }

    .no-risk h2:nth-child(1) {
        font-size: 30px;
    }

    .no-risk p {
        /* text-align: center; */
        font-size: 19px;
    }

    /* flex-1 ******/

    .line-height p {
        /* line-height: 2; */
    }

    .flex-1 {
        display: block;
        /* align-items: center;
        border-bottom: #707070 2px solid; */
        /* justify-content: center; */
        text-align: center;
    }

    .flex-1 img {
        /* max-width: 100px; */
        /* max-height: 380px; */
        /* object-fit: contain; */
    }

    /* .flex1-p {
        max-height: 470px;
    } */

    /* .white-back-p {
        padding: 20px 0;
        border-bottom: #707070 2px solid;
    } */

    .white-back-p p {
        font-size: 22px;
        /* font-weight: bold; */
    }

    /* .red {
        color: #971111;
    } */

    .white-back-p2 {
        padding-top: 20px;
        padding-left: 10px !important;
    }

    .white-back-p2 p:nth-child(2) {
        /* font-size: 16px; */
    }

    /* .padding-reset {
        padding: 10px 0 70px;
    } */

    .ikura-flex {
        /* justify-content: space-around; */
        /* border-color: #fff;
        color: #fff; */
    }

    /* merit ******/

    .merit-img {
        max-width: 320px;
        margin: -60px auto -40px;
    }

    /* .question {
        width: 100%;
        margin: 20px auto 100px;
    } */

    .question__inner {
        /* width: inherit; */
        /* margin-bottom: 5px; */
        /* font-size: 2rem;
        font-weight: 600; */
    }


    /* アコーディオン */

    /* 質問と回答の見た目 */
    /* .merit 
    .question__text,
    .question__reply {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 20px 20px;
        color: #fff;
        box-sizing: border-box;
    } */

    /* 質問の見た目 */
    .merit .question__text {
        /* cursor: pointer;
        position: relative;
        background-color: #971111; */
        /* border-bottom: 1px solid #fff; */
    }

    /* 回答の見た目 */
    .merit .question__reply {
        /* display: none;
        background-color: #F6F6F6;
        border-top: 0px;
        color: #000; */
        font-size: 16px;
        /* border-left: 1px solid #d8d8d8;
        border-right: 1px solid #d8d8d8;
        border-bottom: 1px solid #d8d8d8; */
        /* font-weight: normal; */
        line-height: 1.8;
        /* 行間を1.5倍に設定 */
    }



    /* ご覧ください。 ******/

    .actual p {
        /* text-align: center;
        font-weight: bold; */
        font-size: 18px;
    }

    /* 解決事例 ******/

    .actual-ex table {
        /* margin: 40px 0; */
    }

    table,
    tr {
        /* border: #FF5600 2px solid;
        border-collapse: collapse; */
    }

    th {
        width: 150px;
        /* background-color: #FFF6F2;
        vertical-align: top; */
        /* padding: 20px 0; */
    }

    /* td {
        padding: 10px 20px;
    } */

    .table-top th {
        font-size: 30px;
        /* background-color: #FF5600;
        color: #fff; */
    }

    /* voice ******/

    .gray-back {
        /* background-color: #F6F6F6;
        margin: 50px 0; */
        /* padding: 10px; */
        width: 100%;
        margin: 0 auto;
        padding-right: 10px !important;
    }

    /* .flex-voice {
        display: flex;
        align-items:last baseline;
    } */

    .flex-voice img {
        /* max-width: 159px; */
        margin: 20px 10px;
    }

    .flex-voice-box {
        /* width: 250px; */
    }

    /* .flex-voice-item {
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
    } */

    /* h3 {
        background-color: #971111;
        color: #fff;
        padding: 10px 20px;
        max-width: 960px;
        margin: 0 auto;
    } */

    .voice-p {
        /* line-height: 2; */
        /* padding: 10px 20px; */
    }

    /* .voice-p p {
        font-size: 18px;
    } */

    /* .voice-more {
        max-width: 200px;
        text-align: center;
    } */

    /* form *******/

    /* form {
        text-align: center;
    } */

    /* .form-item {
        margin-bottom: 20px;
    } */

    /* .yokonarabi {
        display: flex;
        justify-content: center;
        align-items: center;
    } */

    /* form p {
        margin-bottom: 10px;
    } */

    /* .p-1 {
        color: #FF5600;
        font-size: 14px;
        font-weight: bold;
        margin-left: 10px;
    } */

    /* form input {
        height: 50px;
        width: 300px;
        text-align: center;
        font-size: 24px;
    } */

    form textarea {
        /* height: 250px; */
        width: 420px;
    }

    /* form .submit input {
        max-width: 150px;
        background-color: #971111;
        color: #fff;
        border: none;
        font-size: 30px;
        font-weight: bold;
    } */

    /* syoko ******/

    /* .syoko {
        border: none;
    } */

    .syoko p {
        font-size: 16px;
        text-align: start;
    }

    /* .syoko .red {
        font-weight: bold;
    } */

    /* about ******/

    /* .about table {
        width: 420px;
    } */

    /* .about-flex {
        display: flex;
        align-items: last baseline;
    } */

    .about-flex p {
        font-size: 2.3rem;
    }

    /* .about-map {
        background-color: #FF5600;
        border-radius: 40%;
        margin-left: 10px;
        width: 40px;
        text-align: center;
    } */

    /* .about-map p {
        color: #fff;
    } */

    /* .table-padding th, td {
        padding-top: 20px;
        padding-bottom: 20px;
    } */

    /* youtube ******/

    .youtube {
        max-width: 370px;
        /* margin: 50px auto; */
    }

    .youtube iframe {
        max-width: 370px;
    }

    /* support ******/

    .support {
        /* display: flex;
        justify-content: space-around; */
        /* border: #FF5600 1px solid; */
        padding: 20px 0;
        /* align-items: center; */
    }

    .step {
        /* color: #FF5600; */
        padding: 0 20px;
    }

    .step p:nth-child(2) {
        font-size: 38px;
        /* line-height: 1; */
    }

    .support h3 {
        /* background-color: #fff;
        color: #000;
        padding: 0; */
        font-size: 20px;
    }

    .step-text {
        max-width: 420px;
        padding: 0 10px;
    }

    /* .arrow {
        max-width: 100px;
        margin: 30px auto;
    } */

    /* .support-orange {
        background-color: #FFF6F2;
    } */

    /* .support-orange h3 {
        background-color: #FFF6F2;
    } */

    /* cost ******/

    /* .cost h2 {
        color: #fff;
    } */

    /* .cost table td {
        background-color: #fff;
        line-height: 1.5;
    } */

    /* .cost a {
        text-decoration-line: underline;
    } */

    /* .cost ul li {
        list-style-type: disc;
        margin-left: 20px;
    } */

    /* .cost p {
        font-size: 16px;
    } */

    /* question ******/

    /* .question-box p {
        text-align: center;
    } */


    /* アコーディオン */

    /* 質問と回答の見た目 */
    /* .question-box 
    .question__text,
    .question-box 
    .question__reply {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 10px 20px 10px 0;
        color: #FF5600;
        box-sizing: border-box;
    } */

    /* 質問の見た目 */
    .question-box .question__text {
        /* cursor: pointer;
        position: relative;
        border: #FF5600 1px solid; */
        /* border-bottom: 1px solid #fff; */
        /* border-radius: 10px; */
        font-size: 16px;

    }

    .question-box .question__text .qa {
        /* background-color: #FF5600; */
        /* color: #fff; */
        font-size: 30px;
        padding: 0 15px 15px;
        /* border-radius: 10px;
        margin-right: 10px; */
    }

    /* .question-box 
    .question__text p {
        padding-right: 20px;
        margin-right: 10px;
    } */

    /* 回答の見た目 */
    .question-box .question__reply {
        /* display: none;
        background-color: #FF5600;
        border-top: 0px;
        color: #fff; */
        font-size: 16px;
        /* border-left: 1px solid #d8d8d8;
        border-right: 1px solid #d8d8d8;
        border-bottom: 1px solid #d8d8d8; */
        /* border-radius: 10px; */
        /* padding-left: 35px; */
    }

    /* プラスマークの横部分 */
    /* .question-box 
    .question__text::before {
        content: "";
        position: absolute;
        top: 50%;
        right: 20px;
        width: 24px;
        height: 2px;
        background: #FF5600;
        transform: translateY(-50%);
    } */

    /* プラスマークの縦部分 */
    /* .question-box 
    .question__text::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 31px;
        width: 2px;
        height: 24px;
        background: #FF5600;
        transform: translateY(-50%);
        transition: .3s;
    } */

    /* 回答表示時にプラスマークの縦部分を消す */
    /* .question-box 
    .question__text.open::after {
        top: 25%;
        opacity: 0;
        transform: rotate(90deg);
    }
 */

    /* ps ******/

    .ps {
        /* border: #707070 1px solid; */
        padding: 25px 0 35px;
        /* margin-bottom: 50px; */
    }

    /* .ps h3 {
        background-color: #fff;
        text-align: center;
        color: #000;
        font-size: 40px;
    } */

    /* .ps p {
        text-align: center;
    } */

    /* .ps-div {
        margin-bottom: 30px;
    } */

    /* footer *****/

    /* footer {
        background-color: #FF5600;
        text-align: center;
        padding: 20px 0;
    }

    footer small {
        color: #fff;
    } */

    .text-m {
        color: #971111;
        font-size: 3rem;
        text-align: center;
        margin-bottom: 50px;
        /* letter-spacing: 1px; */
        /* 文字間を2pxに設定 */
    }

    .text-s {
        color: #971111;
        font-size: 3rem;
        text-align: center;
        margin-bottom: 50px;
        letter-spacing: 3px;
        /* 文字間を2pxに設定 */
    }
}


@media screen and (max-width:420px) {

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }


    .ps {
        margin-top: 120px;
    }

    .worries-parent {
        font-size: 0.6rem;
    }

    .worries-parent li {
        font-size: 1rem;
    }

    header {
        height: 60px;
    }

    .inner_header {
        display: flex;
        justify-content: space-between;
        align-items: bottom;
        /* 中央揃え */
        /* padding: 8px 0px; */
        /* 適度な余白 */
        height: 60px;
        /* 固定高さを解除
        box-sizing: border-box;
        box-shadow: none !important;
        border-bottom: none !important;
        margin-bottom: 0;
        padding-bottom: 0; */
    }

    .mvArea img {
        margin-top: 60px;
    }

    .logo img {
        height: 36px;
        /* 少し小さめの高さ */
        width: auto;
    }

    header .logo img {
        max-width: 150px;
        height: auto;
    }

    .head-cta {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .head-cta ul {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .logo img {
        height: 36px;
        /* ロゴサイズ */
        /* margin-top: 20px; */
        /* ★ここで位置を下に */
        position: relative;
    }

    .mail img {
        max-width: 70px !important;
        max-height: 70px !important;
    }

    .text-m {
        color: #971111;
        font-size: 3rem !important;
        text-align: center;
        margin-bottom: 50px;
        letter-spacing: 0.8px;
        /* 文字間を2pxに設定 */
    }

    .text-s {
        color: #971111;
        font-size: 3rem !important;
        text-align: center;
        margin-bottom: 50px;
        letter-spacing: 1.8px;
        /* 文字間を2pxに設定 */
    }

    .flex-shindan {
        width: 80%;
        margin: 0 auto;
    }

    .flex-shindan h2 {
        white-space: nowrap;
    }

    .flex-shindan img {
        max-width: 60px;
    }

    .text-large {
        font-size: 3.6rem !important;
    }

    .cta-h2 {
        /* color: #000; */
        font-size: 3rem !important;
        /* margin: 0; */
        white-space: nowrap;
    }

    .cta h2 {
        /* color: #000; */
        font-size: 6rem !important;
        /* margin: 0; */
        white-space: nowrap;
        margin-bottom: 5px;
    }

    .flex-0 p {
        font-size: 6rem;
        /* margin-bottom: -10px; */
    }

    .cta .cta-h2 {
        font-size: 80px;
        margin-top: -30px;
    }


    .cta-mark {
        font-size: 80px;
        font-family: "M PLUS 1p", sans-serif;
        font-weight: 700;
        font-style: normal;
    }

    .cta-mark02 {
        font-size: 105px !important;
        height: 100px;
        font-family: "M PLUS 1p", sans-serif;
        font-weight: 700;
        font-style: normal;
    }

    .flex-0 {
        display: flex;
        color: #971111;
        justify-content: center;
        align-items: last baseline;
        /* align-items: center; */
        height: 120px;
        font-size: 6rem;
    }

    .line p {
        font-size: 3.4rem !important;
        white-space: nowrap;
    }

    .line {
        width: 96% !important;
        margin: 0 auto;
    }

    .orange-back {
        /* background-color: #FF5600; */
        /* padding: 40px 0 70px; */
        gap: 20px;
        margin-top: 120px;
    }

    .section {
        margin-top: 120px;
    }

    .flow {
        /* margin-top: 120px; */
        text-align: center;
    }

    .merit-img {
        max-width: 340px;
        margin: -60px auto -40px;
    }

    .pchead {
        display: none;
    }

    .spfoot {
        display: block;
    }

    .orange-back {
        /* background-color: #FF5600; */
        /* padding: 40px 0 70px; */
        margin-top: -50px;
    }

    .calcuration p:nth-child(1) {
        /* text-align: center; */
        font-size: 2.8rem;
    }

}





.button-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
    margin-top: 50px;
    /* 上に50pxの余白 */
}

.custom-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 620px;
    /* 最大幅 */
    padding: 18px 28px;
    /* 高さを確保 */
    border-radius: 8px;
    color: #fff !important;
    /* 文字色ホワイト */
    font-weight: bold;
    font-size: 18px;
    line-height: 1.4;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-btn span {
    display: block;
}

.custom-btn img {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.custom-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.orange-btn {
    background-color: #f89e3b;
}

.green-btn {
    background-color: #4caf50;
}

/* スマホ対応 */
@media (max-width: 640px) {
    .custom-btn {
        font-size: 16px;
        padding: 16px 22px;
    }
}











/* ベース：横並び＆可変幅 */
.contact-phonenumber {
    display: flex;
    align-items: center;
    gap: 8px;
    /* 余白。狭い画面ではメディアクエリで詰める */
    flex-wrap: nowrap;
    /* 折り返さない */
    width: 96% !important;
    margin: 0 auto !important;

}

.contact-phonenumber .number {
    margin: 0 !important;
    /* inline の margin を無効化 */
    flex: 1 1 0%;
    /* 残り幅を3等分（可変） */
    width: auto;
    max-width: none;
    min-width: 110px;
    /* デスクトップ目安 */
    padding: 8px 10px;

    /* iOSの自動ズーム防止（16px以上推奨） */
    font-size: 16px;
    box-sizing: border-box;
}

/* 文字ではなく“線”でハイフンを表現（環境依存の崩れを回避） */
.contact-phonenumber .sep {
    flex: 0 0 12px;
    /* ハイフンの“長さ” */
    position: relative;
    height: 0;
}

.contact-phonenumber .sep::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1.5px;
    /* 線の太さ */
    background: #777;
    transform: translateY(-50%);
    border-radius: 1px;
}

/* 375px～420px：横並びキープ & できる限り広げる */
@media (min-width:375px) and (max-width:420px) {
    .contact-phonenumber {
        gap: 6px;
    }

    .contact-phonenumber .number {
        min-width: 100px;
        /* 4桁が打ちやすい下限 */
        padding: 8px 8px;
        /* わずかに詰める */
    }

    .contact-phonenumber .sep {
        flex-basis: 10px;
    }
}

/* ～374.98px（360px含む）：限界まで詰めて横並び維持 */
@media (max-width:374.98px) {
    .contact-phonenumber {
        gap: 4px;
    }

    .contact-phonenumber .number {
        min-width: 92px;
        /* 4桁＋左右パディングの下限 */
        padding: 8px 6px;
        /* さらに詰める */
    }

    .contact-phonenumber .sep {
        flex-basis: 8px;
    }
}


/* ========== 電話番号のハイフンをCSSの線で描く（赤い■対策） ========== */
.contact-phonenumber .hyphen,
.contact-phonenumber .sep {
    /* まず既存テーマの装飾を完全に殺す */
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;

    /* 文字としての "-" が入っていても見えないようにする */
    font-size: 0 !important;
    color: transparent !important;

    /* レイアウト */
    flex: 0 0 12px;
    /* ハイフンの長さ */
    position: relative;
    height: 0;
    /* 自身は高さ0、擬似要素で線を描く */
    line-height: 0;
    align-self: center;
}

.contact-phonenumber .hyphen::before,
.contact-phonenumber .sep::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1.6px;
    /* 線の太さ */
    background: #777;
    /* 線の色（必要なら変更） */
    transform: translateY(-50%);
    border-radius: 1px;
}

/* 画面幅に応じてハイフン長さを微調整 */
@media (min-width:375px) and (max-width:420px) {

    .contact-phonenumber .hyphen,
    .contact-phonenumber .sep {
        width: 96% !important;
        margin: 0 auto !important;
    }
}

@media (max-width:374.98px) {

    /* 360px含む */
    .contact-phonenumber .hyphen,
    .contact-phonenumber .sep {
        flex-basis: 8px;
    }
}

/* ========== 入力欄は横並びを維持しつつ可変幅（前に渡した設定とセットで） ========== */
.contact-phonenumber {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.contact-phonenumber .number {
    margin: 0 !important;
    flex: 1 1 0%;
    width: auto;
    max-width: none;
    min-width: 110px;
    padding: 8px 10px;
    font-size: 16px;
    box-sizing: border-box;
}

@media (min-width:375px) and (max-width:420px) {
    .contact-phonenumber {
        gap: 6px;
    }

    .contact-phonenumber .number {
        min-width: 100px;
        padding: 8px 8px;
    }
}

@media (max-width:374.98px) {
    .contact-phonenumber {
        gap: 4px;
    }

    .contact-phonenumber .number {
        min-width: 92px;
        padding: 8px 6px;
    }
}


/* ===== 電話番号：超小画面(～360px)でも横並びで収める ===== */
@media (max-width: 360px) {

    /* 行そのものの余白を極小に */
    .contact-phonenumber {
        display: flex;
        align-items: center;
        gap: 3px;
        /* ← 余白を最小化 */
        flex-wrap: nowrap;
        /* 折り返さない */
        white-space: normal;
        width: 100%;
    }

    /* 入力3つ：可変幅(3等分)＋最小幅をギリギリまで縮める */
    .contact-phonenumber .number {
        margin: 0 !important;
        box-sizing: border-box;
        flex: 1 1 0% !important;
        /* 残り幅を3等分して配分 */
        width: auto !important;
        max-width: none !important;
        min-width: 86px;
        /* ← 4桁でも打てる下限 */
        padding: 8px 6px;
        /* 左右パディングを少し詰める */
        font-size: 16px;
        /* iOSズーム対策 */
    }

    /* ハイフン（線描画方式にしている場合） */
    .contact-phonenumber .hyphen,
    .contact-phonenumber .sep {
        flex: 0 0 6px;
        /* ← ハイフンの“長さ”を短く */
    }
}

/* 参考：375～420pxは少し余裕を持たせる（すでに入れていなければ） */
@media (min-width:375px) and (max-width:420px) {
    .contact-phonenumber {
        gap: 1px;
    }

    .contact-phonenumber .number {
        min-width: 100px;
        padding: 8px 2px;
    }

    .contact-phonenumber .hyphen,
    .contact-phonenumber .sep {
        flex-basis: 10px;
    }
}


/* ── 1) 全体（フォーム）の左右余白を少し増やす ── */
/* 420px以下だけ 18px に。既存の 14px 指定を上書きします。 */
@media (max-width:420px) {
    .cf7-wrap {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .zan {
        font-size: 3rem !important;
    }
}

/* ── 2) 余白を増やした分、電話番号が確実に収まるよう微調整 ── */
@media (min-width:360px) and (max-width:480px) {
    .contact-phonenumber {
        gap: 5px;
    }

    /* 余白を気持ちだけ詰める */
    .contact-phonenumber .number {
        min-width: 96px;
    }

    /* 3分割でも1行に収まる幅 */
    .contact-phonenumber .hyphen,
    .contact-phonenumber .sep {
        flex-basis: 9px;
    }

    /* ハイフンの長さを少し短く */


    .calcuration p:nth-child(1) {
        /* text-align: center; */
        font-size: 2.8rem;
    }
}

@media (max-width:374.98px) {

    /* 360px含む：ギリギリでフィットさせる */
    .contact-phonenumber {
        gap: 3px;
    }

    .contact-phonenumber .number {
        min-width: 86px;
        /* 4桁が入る下限。はみ出し防止 */
        padding: 8px 6px;
    }

    .contact-phonenumber .hyphen,
    .contact-phonenumber .sep {
        flex-basis: 6px;
    }
}




/* 768px以上：フォーム左右に余白を“必ず”付ける */
@media (min-width:768px) {

    /* 特異性を上げて上書き（どのテーマでも効くように） */
    html body #wrapper #primary .cf7-wrap,
    html body .site-main .cf7-wrap,
    html body .cf7-wrap {
        max-width: 900px;
        /* お好みで */
        margin-left: auto;
        margin-right: auto;
        padding-left: 40px !important;
        /* ← 余白量は調整可 */
        padding-right: 40px !important;
        box-sizing: border-box;
    }

    /* 念のため：内側のフォームが端まで広がるテーマ対策 */
    .cf7-wrap .wpcf7 form {
        padding-left: 4px;
        padding-right: 4px;
        box-sizing: border-box;
    }
}

/* もっと欲しい場合は 40px → 48px/56px に増やしてください */





/*　アコーディオンプラスマイナスマーク　*/
/* 親要素のテキストボックス */
.question__text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    background: #b50000;
    color: #fff;
    font-size: 3rem;
    font-weight: 400;
    cursor: pointer;
}

/* プラスマイナスのボタン */
.qa-icon {
    position: relative;
    width: 40px;
    /* ← アイコンの枠サイズはそのまま */
    height: 40px;
    margin-left: auto;
}

/* 横線と縦線 */
.qa-icon::before,
.qa-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    /* ← 線の長さはそのまま */
    height: 3px;
    /* ← 線を細く (4px → 2px) */
    background: #fff;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease;
}

/* 縦線（＋の縦棒） */
.qa-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* 開いた時（マイナス表示） */
.question__inner.is-open .qa-icon::after {
    width: 0;
    /* 縦棒を消す → －になる */
}







.migizoroe {
    text-align: center;
}


/* 親を“コンテナ化”して子の cqi を有効に */
.kekka-waku {
    container-type: inline-size;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    /* 横余白は器幅に応じて最小化（=テキスト領域を最大確保） */
    padding-inline: clamp(8px, 3cqi, 24px);
    padding-block: 28px;
}

/* 文字をできるだけ詰める（日本語向け） */
.kekka-waku,
.kekka-waku p,
.kekka-waku .red-bold-text,
.kekka-waku .en,
.kekka-waku .migizoroe p {
    font-kerning: normal;
    text-rendering: optimizeLegibility;
    font-feature-settings: "palt" 1;
    /* ← プロポーショナル幅で詰める */
}

/* 1行目（改行しない・器幅で可変・字間も状況で微調整） */
.zan {
    white-space: nowrap;
    font-size: clamp(2.2rem, 6.4cqi, 4.8rem);
    /* font-size: 4.2rem; */
    line-height: 1.45;
    margin: 0 auto 12px;
    /* letter-spacing: clamp(-0.02em, -0.24cqi, 0em); */
    /* 狭い時ほど微小に詰める */
}


/* 金額（改行しない・大きく可変） */
.red-bold-text {
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: clamp(-0.015em, -0.12cqi, 0em);
    line-height: 1.05;
    font-size: clamp(5.2rem, 12.5cqi, 8.4rem);
    text-align: center;
}

.en {
    white-space: nowrap;
    margin-left: .25em;
    vertical-align: baseline;
    font-size: clamp(2.6rem, 4.8cqi, 3.6rem);
}

/* 下段（中央→右）：どちらも改行せず */
.migizoroe {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.migizoroe>p:first-child {
    white-space: nowrap;
    line-height: 1.45;
    margin: 0;
    font-size: clamp(2.0rem, 6.2cqi, 4.8rem);
    letter-spacing: clamp(-0.02em, -0.16cqi, 0em);
}

.zan {
    /* font-size: 4.2rem !important; */
    text-align: right;
    white-space: nowrap;
    font-size: clamp(2.0rem, 6.2cqi, 4.8rem);
    letter-spacing: clamp(-0.02em, -0.16cqi, 0em);
}

.migizoroe .kome {
    white-space: nowrap;
    align-self: flex-end;
    /* 右端に揃える */
    text-align: right;
    /* color: #666; */
    margin: 0;
    font-size: clamp(1.6rem, 4.0cqi, 2.0rem);
    letter-spacing: clamp(-0.01em, -0.10cqi, 0em);
}

/* “最少 350px まで”の安全弁：さらにわずかに詰めて押し込む */
@container (max-width: 350px) {
    .kekka-waku {
        padding-inline: 8px;
    }

    .kekka-waku>p:first-child {
        font-size: clamp(2.0rem, 6cqi, 3.0rem);
    }

    .red-bold-text {
        font-size: clamp(4.8rem, 12cqi, 7.8rem);
    }

    .en {
        font-size: clamp(2.4rem, 4.6cqi, 3.2rem);
    }

    .migizoroe>p:first-child {
        font-size: clamp(1.9rem, 6cqi, 2.6rem);
    }

    .migizoroe .kome {
        font-size: clamp(1.5rem, 3.6cqi, 1.9rem);
    }
}





/* 全体をまとめる */
.check-wrap {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* オレンジ背景 */
.check-panel {
    background: #fbd8c6;
    border-radius: 10px;
    padding: 80px 20px 30px;
    /* 上80pxは赤いボックス分の余白 */
}

/* 基準：オレンジ背景 */
.check-parent {
    position: relative;
    /* ←必須。これが基準 */
    background: #fbd8c6;
    border-radius: 12px;
    padding: 100px 20px 32px;
    /* PC側の逃げ量（必要なら調整） */
}

/* 赤いボックス（PCの高さは従来どおり -30% のまま） */
.check-child.check-p {
    position: absolute;
    /* ← fixed は使わない */
    top: 0;
    left: 50%;
    transform: translate(-50%, -30%);
    /* 横センター＋PC高さ */
    z-index: 5;

    background: #971111;
    color: #fff;
    border-radius: 10px;
    box-sizing: border-box;
    width: clamp(360px, 76vw, 560px);
    padding: clamp(12px, 3vw, 18px) clamp(16px, 4vw, 28px);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: .35em;
}

.check-child.check-p span {
    display: block;
    white-space: nowrap;
    /* 2行固定（1行ずつ折り返さない） */
    font-weight: 400;
    line-height: 1.28;
    letter-spacing: .02em;
    font-size: clamp(1.8rem, 2.7vw, 3.0rem);
}

/* 768px以下：高さだけ上げる（-68%）＆横は常に中央 */
@media (max-width: 768px) {
    .check-parent {
        padding-top: 90px;
    }

    /* 逃げ量を少し縮める */
    .check-child.check-p {
        position: absolute !important;
        /* ← 以前の fixed を無効化 */
        left: 50%;
        right: auto;
        transform: translate(-50%, -68%) !important;
        /* ご指定の高さに */
        width: clamp(340px, 88vw, 520px);
    }

    .check-child.check-p span {
        font-size: clamp(2.0rem, 5.4vw, 2.6rem);
    }
}

/* 幅がさらに狭いときの保険（必要なら） */
@media (max-width: 480px) {
    .check-parent {
        padding-top: 80px;
    }

    .check-child.check-p {
        width: clamp(320px, 94vw, 480px);
    }

}

@media (max-width: 420px) {
    .check-parent {
        padding-top: 74px;
    }

    .zan {
        /* font-size: 4.2rem !important; */
        text-align: right;
        white-space: nowrap;
        /* font-size: clamp(2.0rem, 6.2cqi, 4.8rem); */
        letter-spacing: clamp(-0.02em, -0.16cqi, 0em);
    }

}

@media (max-width: 350px) {
    .check-parent {
        padding-top: 68px;
    }

    .zan {
        font-size: 2.4rem !important;
    }

}















/* 見出しブロックを“幅の基準”にする */
/* 親ボックス：背景＝黒＆はみ出し防止 */
/* 枠 */
/* 黒背景の枠 */
/* 旧ルールの線を無効化（保険） */
.line {
    background: #000;
    border-radius: 16px;
    padding: 20px 6px 20px;
    text-align: center;
    overflow: hidden;
}

.line-head {
    position: relative;
    display: inline-block;

    --color: #fff;
    --thick: 2.5px;
    --angle: 67deg;
    --gap: -2.1em;
    /* テキストとの距離は近め */
    --len: 6.5em;
    /* ★ 5.8em → 4.8em に短縮（左右幅を狭く） */
    --shiftY: -2.8em;
    /* ★ 上に寄せる（マイナスで上方向） */
}

.line-head>p {
    margin: 0;
    color: #fff;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: .05em;
    font-size: clamp(18px, 2.4vw, 28px);
}

.line-head>p:first-child {
    margin-bottom: 6px;
}

.line-head::before,
.line-head::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(calc(-50% + var(--shiftY)));
    /* ★ 上に寄せる */
    width: var(--len);
    border-top: var(--thick) solid var(--color);
}

/* 左＼ */
.line-head::before {
    right: calc(100% + var(--gap));
    transform: translateY(calc(-50% + var(--shiftY))) rotate(var(--angle));
    transform-origin: left center;
}

/* 右／ */
.line-head::after {
    left: calc(100% + var(--gap));
    transform: translateY(calc(-50% + var(--shiftY))) rotate(calc(-1 * var(--angle)));
    transform-origin: right center;
}


@media screen and (max-width:420px) {

    .line p {
        font-size: 2.8rem !important;
    }

}


.tel-tap {
    display: flex;
    flex-direction: column;
    margin-top: 0px;
}

.tap {
    font-size: 1.2rem;
    color: #FFFFFF;
    margin-top: -15px;
}

.tap02 {
    display: block;
    /* インライン要素をブロックにする */
    font-size: 1.8rem;
    margin: -5px auto 15px !important;
    color: #f16036;
}

@media screen and (max-width:768px) {

    .tel-tap {
        margin-top: 10px;
    }


    .tap {
        font-size: 1.6rem;
        color: #FFFFFF;
        margin-top: 0px;
    }

    .line img {
        margin: 0px auto 10px;
    }
}

@media screen and (max-width: 555px) {
    .tap {
        font-size: 2.2rem;
    }
}






/* 追伸ボタン（中身を完全センター） */
.tsuishin {
    display: inline-flex;
    /* 中身をflexで揃える */
    align-items: center;
    /* ★縦中央 */
    justify-content: center;
    /* 横中央 */
    background: #ff4d00;
    color: #fff;
    height: 60px;
    /* ★高さを固定 */
    width: 150px;
    /* 横幅も指定（必要に応じて調整） */
    border-radius: 10px;
    text-align: center;
    margin: 20px auto 15px;
}

.tsuishin p {
    margin: 0;
    /* デフォルト余白を消す */
    padding: 0 !important;
    padding-top: 25px !important;
    font-size: 4rem !important;
    /* テキスト大きさ */
    line-height: 1;
    /* 行の高さを文字の高さに合わせる */
}




@media screen and (max-width: 480px) {

    /* 追伸ボタン（中身を完全センター） */
    .tsuishin {
        display: inline-flex;
        /* 中身をflexで揃える */
        align-items: center;
        /* ★縦中央 */
        justify-content: center;
        /* 横中央 */
        background: #ff4d00;
        color: #fff;
        height: 60px;
        /* ★高さを固定 */
        width: 150px;
        /* 横幅も指定（必要に応じて調整） */
        border-radius: 10px;
        text-align: center;
        margin: 20px auto 15px;
    }

    .tsuishin p {
        margin: 0;
        /* デフォルト余白を消す */
        padding: 0 !important;
        padding-top: 20px !important;
        font-size: 4rem !important;
        /* テキスト大きさ */
        line-height: 1;
        /* 行の高さを文字の高さに合わせる */
    }
}


@media screen and (max-width: 420px) {

    /* 追伸ボタン（中身を完全センター） */
    .tsuishin {
        display: inline-flex;
        /* 中身をflexで揃える */
        align-items: center;
        /* ★縦中央 */
        justify-content: center;
        /* 横中央 */
        background: #ff4d00;
        color: #fff;
        height: 60px;
        /* ★高さを固定 */
        width: 150px;
        /* 横幅も指定（必要に応じて調整） */
        border-radius: 10px;
        text-align: center;
        margin: -250px auto 15px !important;
    }

    .tsuishin p {
        margin: 0;
        /* デフォルト余白を消す */
        padding: 0 !important;
        padding-top: 20px !important;
        font-size: 4rem !important;
        /* テキスト大きさ */
        line-height: 1;
        /* 行の高さを文字の高さに合わせる */
    }

    .ps {
        margin-top: 50px !important;
    }

}



/* タイムカード、日報、シフトとか */
/* ===========================
   utility セクション専用スタイル
   =========================== */
.contents_box_utility {
    width: 100%;
    margin: 0 auto;
}

.contents_box_utility .w-1000 {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px;
}

.flex-1 {
    display: flex;
    flex-direction: column;
    /* スマホでは縦積み */
    align-items: center;
    justify-content: space-between;
    /* ←上下の余白を自動調整 */
    min-height: 100%;
    /* 枠内いっぱいに伸ばす */
}

.flex-1 .line-height {
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
    /* p の margin をリセット */
}

.flex-1 .line-height p {
    margin: 0 0 1em;
    /* 最後の余白だけ制御 */
}

.flex-1 .red {
    color: #d00;
    font-weight: bold;
}

.flex-1 .three-img {
    width: 100%;
    height: auto;
    max-width: 900px;
    display: block;
    margin: 0;
    /* ← 下余白を消す */
    padding: 0;
    /* ← 画像の下に余白が付かないように */
    align-self: center;
}

/* ===========================
   レスポンシブ対応
   =========================== */
@media screen and (min-width: 768px) {
    .flex-1 {
        flex-direction: row;
        /* PCでは横並び */
        align-items: stretch;
        /* 高さを揃える */
    }

    .flex-1 .line-height {
        flex: 1;
        font-size: 1.05rem;
    }

    .flex-1 .three-img {
        flex: 1;
        max-width: 100%;
        object-fit: contain;
        /* 枠に収める */
    }
}

.flex-1.gray-back.syoko {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}