@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;
}


.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.4rem;
}

a {
    text-decoration: none;
    color: #000;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

.pchead {
    display: block;
}

.spfoot {
    display: none;
}

@media screen and (max-width: 768px) {
    .pchead {
        display: none;
    }

    .spfoot {
        display: block;
    }

    .mvArea img {
        margin-top: 100px;
    }
}




/* 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: #FFF6F2;
    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: 0 auto;
    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: 50px;
    position: relative;
    margin-top: 120px;
    margin-bottom: 30px;
}

.asult-parent p {
    font-size: 35px;
}

.check-p p {
    font-size: 40px;
    color: #fff;
    text-align: center;
}

.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;
    position: absolute;
    top: -25px;
    left: 0;
    right: 0;
}

.en {
    font-size: 47px;
}

.atend-p p {
    /* line-height: 1.8; */
    line-height: 1.5;
}

/* 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;
    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: -10px;
}

.flex-0 .flex0-p {
    font-size: 160px;
    letter-spacing: -0.1em;
}

.cta-mark {
    font-size: 120px;
}

.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: red;
    font-weight: 600;
}


.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;
}

/* --- 枠線付きの囲みエリア --- */
.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('/wp-content/themes/overtimeguide/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;
    }
}

.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: 280px;
    max-height: 464px;
    object-fit: contain;
}

.flex1-p {
    max-height: 470px;
}

.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;
}

.ikura-flex {
    justify-content: space-evenly;
    border-color: #fff;
    color: #fff;
}

/* merit ******/

.merit-img {
    max-width: 600px;
    margin: 60px auto 20px;
}

.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;
}

.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: 16px;
}

.about-map {
    background-color: #FF5600;
    border-radius: 30%;
    margin-left: 10px;
    width: 50px;
    text-align: center;
    padding-top: 8px;
}

.about-map p {
    color: #fff;
}

.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;
    }

    .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: 40px;
    }

    .cta-p .zangyou {
        font-size: 3rem;
        color: red;
        font-weight: 600;
    }

    .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;
    } */

}





@media screen and (max-width:768px) {

    /* h2 {
        font-size: 24px;
        /* margin-bottom: 50px; 
}*/

    .syoko {
        padding-right: 0px !important;
    }

    p {
        /* font-size: 16px; */
        font-size: 3rem;
    }

    .screen-reader-response p {
        padding-left: 20px;
        font-size: 2.4rem;
    }

    .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 40px 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: 20px;
    }

    .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: 0 auto;
        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 {
        font-size: 20px;
    }

    .check-p p {
        font-size: 18px;
        /* color: #fff;
        text-align: center; */
    }



    .asult-parent p:nth-child(3) {
        font-size: 60px;
        /* color: #FF5600; */
    }

    .asult-child {
        /* background-color: #FF5600; */
        /* border-radius: 5px; */
        width: 150px;
        /* margin: 0 auto;
        position: absolute;
        top: -25px;
        left: 0;
        right: 0; */
        padding: 5px 0;
    }

    .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: 7rem !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: 150px;
        margin: 10px 10px;
    }

    .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; */
    }

    .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: 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: 16px;
        /* 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: 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: 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: 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;
    }

    .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: 3rem !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: 10px;
    }

    .flex-0 p {
        font-size: 6rem;
        /* margin-bottom: -10px; */
    }

    .cta-mark {
        font-size: 80px;
    }

    .cta-mark02 {
        font-size: 110px;
        height: 100px;
    }

    .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: 140px auto 10px;
    }

    .pchead {
        display: none;
    }

    .spfoot {
        display: block;
    }

}





.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;
    }
}





.page-title {
    text-align: center;
    margin-top: 50px
}



/* ===== ベース ===== */
.contact-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 16px;
    font-size: 16px;
    box-sizing: border-box;
}

.contact-title {
    text-align: center;
    margin: 0 0 14px;
    font-size: 18px;
}

/* 行レイアウト（スマホは縦並び） */
.cf7-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px 16px;
    margin-bottom: 18px;
}

/* ラベル */
.cf7-label {
    font-weight: bold;
    line-height: 1.5;
}

.cf7-label small {
    font-weight: normal;
}

/* バッジ */
.badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
}

.badge.required {
    background: #e53935;
    color: #fff;
}

.badge.optional {
    background: #9e9e9e;
    color: #fff;
}

/* 入力フィールド共通 */
.cf7-field .cf7-input,
.cf7-field .cf7-select,
.cf7-field .cf7-textarea,
.contact-wrap input[type="text"],
.contact-wrap input[type="email"],
.contact-wrap input[type="tel"],
.contact-wrap select,
.contact-wrap textarea {
    width: 100% !important;
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 2.4rem !important;
    line-height: 1.6;
    background: #fff;
    text-align: left;
}

/* テーマやプラグインの干渉を防ぐ */
.contact-wrap input,
.contact-wrap select,
.contact-wrap textarea {
    margin: 0;
}

/* 注意書き */
.cf7-note {
    margin-top: 6px;
    font-size: 13px;
    color: #e53935;
}

/* チェックボックス（□左／テキスト右・上揃えでカッチリ） */
.checkbox-list .wpcf7-list-item {
    display: block;
    margin: 6px 0 !important;
}

.checkbox-list label {
    display: grid !important;
    grid-template-columns: 22px 1fr;
    align-items: start;
    /* ← 上揃え */
    column-gap: 8px;
    line-height: 1.6;
}

.checkbox-list input[type="checkbox"] {
    margin-top: 4px;
    /* テキストと上揃え */
}

/* 電話番号を小さめに */
.tel-narrow {
    max-width: 320px;
}

/* 送信ボタン（中央寄せ＆文字も完全中央） */
.submit-row {
    text-align: center;
}

.cf7-submit,
.submit-row input[type="submit"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    height: 44px;
    padding: 0 28px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: #8bc34a;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.submit-row input[type="submit"]:hover,
.cf7-submit:hover {
    opacity: .9;
}

/* ===== PC（見本通り：ラベル左／フィールド右） ===== */
@media (min-width: 768px) {
    .cf7-row {
        grid-template-columns: 26% 74%;
        align-items: start;
    }

    .cf7-label {
        padding-top: 10px;
    }
}



/* 全体の文字左寄せ */
.contact-wrap {
    text-align: left;
}

/* 送信ボタン中央揃え */
.submit-row {
    text-align: center;
}

.cf7-submit,
.submit-row input[type="submit"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    height: 44px;
    padding: 0 28px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: #8bc34a;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.submit-row input[type="submit"]:hover,
.cf7-submit:hover {
    opacity: .9;
}

/* 送信ボタン中央揃え */
.submit-row {
    display: flex !important;
    justify-content: center !important;
}

.submit-row input[type="submit"],
.cf7-submit {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    height: 44px;
    padding: 0 28px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: #8bc34a;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.submit-row input[type="submit"]:hover,
.cf7-submit:hover {
    opacity: 0.9;
}


/* セレクトボックス内の文字サイズ */
.cf7-field select {
    font-size: 14px;
    /* ← 少し小さく */
}

/* チェックボックスとテキストの上揃え */
.checkbox-list .wpcf7-list-item {
    display: block;
    margin: 6px 0 !important;
}

.checkbox-list label {
    display: grid !important;
    grid-template-columns: 22px 1fr;
    align-items: center;
    /* ← 中央揃え */
    column-gap: 8px;
    /* line-height: 1.6; */
    line-height: 1.6;
}

.checkbox-list input[type="checkbox"] {
    margin-top: 3px;
    /* テキストとのズレ補正 */
}


/* 1. セレクトボックス内の文字サイズを少し小さく */
.cf7-field select {
    font-size: 14px;
    /* デフォルトより少し小さく */
}

/* 2. お悩み内容のチェックボックスとテキストを上揃え */
.wpcf7-checkbox .wpcf7-list-item {
    display: block;
    margin: 6px 0 !important;
}

.wpcf7-checkbox .wpcf7-list-item label {
    display: flex !important;
    align-items: flex-start;
    /* 上揃え */
    gap: 6px;
    line-height: 1.6;
}

.wpcf7-checkbox input[type="checkbox"] {
    margin-top: 3px;
    /* □位置微調整 */
}



/* チェックボックス全体のリスト */
.wpcf7-checkbox .wpcf7-list-item {
    display: block;
    /* 各項目を縦並び */
    margin: 6px 0 !important;
}

/* チェックボックスとテキストを上揃え */
.wpcf7-checkbox .wpcf7-list-item label {
    display: flex;
    /* 横並び */
    align-items: flex-start;
    /* 上揃え */
    gap: 6px;
    /* □とテキストの間隔 */
    line-height: 1.6;
    /* テキストの行間 */
}

/* チェックボックスの位置微調整 */
.wpcf7-checkbox input[type="checkbox"] {
    margin-top: 3px;
    /* テキストの上に揃えるための微調整 */
}


.wpcf7-list-item input {
    margin-top: -7px !important;
    margin-right: 6px;
}

.cf7-wrap h1 {
    font-size: 3rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    .screen-reader-response p {
        text-align: center;
    }
}








/* ボタンエリアを横並びからレスポンシブ対応に */
.cf7-row.submit-row {
    display: flex;
    gap: 10px;
    /* ボタンの間隔 */
    justify-content: center;
    flex-wrap: wrap;
    /* 幅が狭いとき折り返す */
}

/* ボタンの基本サイズ */
.cf7-row.submit-row .cf7-submit {
    flex: 1 1 auto;
    max-width: 220px;
    /* PCでは横に並ぶときの最大幅 */
    text-align: center;
}

/* ボタンエリアの縦並び時の余白を調整 */
@media (max-width: 600px) {
    .cf7-row.submit-row {
        flex-direction: column;
        align-items: center;
        gap: 0px;
        /* ← ボタン間隔を小さく */
    }

    .cf7-row.submit-row .cf7-submit {
        max-width: 100%;
        width: 90%;
        margin: 0;
        /* デフォルトの余白を消す */
    }

}


/* 送信完了: タイトルは中央 */
.page-title.page-title--center {
    text-align: center;
    margin: clamp(16px, 2.5vw, 28px) auto 12px;
}

/* 送信完了: コンテンツカード（全体中央） */
.thanks-card {
    width: min(92vw, 960px);
    margin: 0 auto 72px;
    padding: clamp(16px, 2.6vw, 32px);
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
    line-height: 1.9;
}

/* テキストは左寄せ */
.thanks-card p,
.thanks-card .office,
.thanks-card address {
    text-align: left;
    margin: 0 0 1.1em;
}

/* 罫線 */
.thanks-card .sep {
    border: 0;
    border-top: 1px solid #eee;
    margin: 18px 0 20px;
}

/* 見出し的な一文を少し大きく */
.thanks-card .lead {
    font-size: clamp(16px, 1.8vw, 18px);
}

/* リンク */
.thanks-card a {
    color: #0b76d2;
    text-decoration: underline;
}

/* モバイル微調整 */
@media (max-width: 600px) {
    .thanks-card {
        margin-bottom: 60px;
    }
}




.thanks-card .lead {
    font-size: 2.2rem;
    /* 18px → 最大20px */
    font-weight: 400;
    line-height: 1.9;
}





/* ==== 送信完了ページ：ヘッダー被り対策（768px以上） ==== */
/* ヘッダー高さを変数化（必要に応じて微調整） */
:root {
    --thanks-header-offset: 140px;
}

/* 768px〜1199px */
@media (min-width: 1200px) {
    :root {
        --thanks-header-offset: 160px;
    }

    /* 1200px〜 */
}

@media (max-width: 767.98px) {
    :root {
        --thanks-header-offset: 90px;
    }

    /* 〜767px（参考・既存と整合） */
}

/* タイトルは確実に見える位置へ */
.page-template-contact-thanks .page-title {
    margin-top: var(--thanks-header-offset) !important;
    scroll-margin-top: var(--thanks-header-offset);
}

/* 本文カードがヘッダーの下に潜らないようにする（768px以上） */
@media (min-width: 768px) {
    .page-template-contact-thanks .thanks-card {
        margin-top: 16px;
        /* タイトルと適度に間隔 */
        position: relative;
        z-index: 2;
        /* ヘッダーより下に潜らない */
        color: #222;
        /* 念のため文字色を明示 */
    }
}

/* 親のoverflowが原因でテキストが切れないよう保険 */
.page-template-contact-thanks main,
.page-template-contact-thanks #content,
.page-template-contact-thanks .entry-content {
    overflow: visible !important;
    min-height: 0 !important;
}

/* 固定ヘッダーの基本（既に設定済でもOK）：背景が透けないように */
.inner_header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
}


/* 固定ヘッダーの実高を変数化（数値は実サイトに合わせて微調整） */
:root {
    --thanks-offset-pc: 160px;
    /* 1200px以上 */
    --thanks-offset-tab: 140px;
    /* 768〜1199px */
    --thanks-offset-sp: 90px;
    /* 〜767px */
}

/* 768px以上：タイトルに確実にオフセットを与える（被り防止） */
@media (min-width: 768px) {
    .page-title {
        margin-top: var(--thanks-offset-tab) !important;
        scroll-margin-top: var(--thanks-offset-tab) !important;
        /* アンカー時も隠れない */
    }

    @media (min-width: 1200px) {
        .page-title {
            margin-top: var(--thanks-offset-pc) !important;
            scroll-margin-top: var(--thanks-offset-pc) !important;
        }
    }

    /* タイトル直下の完了本文（thanksカード）も確実に下げる */
    .thanks-card {
        margin-top: 16px !important;
        position: relative;
        /* 念のための重なり対策 */
        z-index: 2;
    }
}

/* 〜767px（スマホ側）の既存調整があるなら維持 */
@media (max-width: 767.98px) {
    .page-title {
        margin-top: var(--thanks-offset-sp) !important;
        scroll-margin-top: var(--thanks-offset-sp) !important;
    }
}

/* 親の overflow が原因で本文が切れないように保険 */
main,
.site-content,
#content,
.entry-content {
    overflow: visible !important;
    min-height: 0 !important;
}

/* 横はみ出しによる見切れを抑止 */
html,
body {
    overflow-x: hidden;
}