@charset "utf-8";

/*ーーーーーーーーーーーーーーーーーーーーーーーーーーー
共通
ーーーーーーーーーーーーーーーーーーーーーーーーーーー*/

body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  margin: 0;
  font-size: 16px;
  color: #333;
}

a { 
    text-decoration: none;
    color: #333;
}

a:hover {
    cursor: pointer;
}

a:hover {
    opacity: 0.7;
}

p {
    line-height: 1.8;
}

.oswald {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

.flex{
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    align-items: center;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

main, footer {
    min-width: 1080px;
}

input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

select {
    -webkit-appearance: none;
    appearance: none;
}

/* 既存CSSここまで ----- 以下共通 */

.inner {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
}

.inner02 {
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
}

#header h1 {
    font-size: 12px;
}

#header h1 img {
    width: 210px;
}

#header {
    padding: 10px 30px;
}

.cv {
    background-color: #1F4C32;
    padding: 20px 0 30px;
}

.cv span.middle {
    font-size: 18px;
}

.cv h2 {
    color: #fff;
    font-size: 34px;
}

.cv .flex .flex {
    width: 55%;
    align-items: end;
}

.cv h2 .mv {
    font-size: 30px;
}

.cv h2 .big {
    font-size: 50px;
    margin: 0 4px;
    line-height: 1;
}

.cv .mail {
    width: 48%;
}

.cv .tel {
    width: 48%;
}

.mail a {
    /* display: inline-block; */
    width: 100%;
    height: 70px;
    text-align: center;
    background-color: #fff;
    border: solid 1px #fff;
    border-radius: 10px;
    color: #376028;
    text-decoration: none;
    /* padding: 15px 0; */
    position: relative;
    transition: 0.3s;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mail a::before {
    position: absolute;
    left: 50px;
    top: 55%;
    transform: translateY(-50%);
    content: '';
    display: block;
    background-image: url(../img/ico_mail.webp);
    background-size: contain;
    background-repeat: no-repeat;
    width: 22px;
    height: 22px;
}

.mail a:hover {
    background-color: #1F4C32;
    color: #fff;
    opacity: 1;
}

.mail:hover a::before {
    background-image: url(../img/ico_mail_wht.webp); 
}

.tel h3 {
    text-align: center;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
    font-size: 16px;
}

.tel a {
    /* display: inline-block; */
    width: 100%;
    height: 70px;
    text-align: center;
    background-color: #DE5A45;
    border: solid 1px #DE5A45;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    /* padding: 15px 0; */
    position: relative;
    transition: 0.3s;
    font-size: 30px;
    /* font-weight: bold; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.tel a::before {
    position: absolute;
    left: 50px;
    top: 55%;
    transform: translateY(-50%);
    content: '';
    display: block;
    background-image: url(../img/ico_tel.webp);
    background-size: contain;
    background-repeat: no-repeat;
    width: 22px;
    height: 22px;
}

.tel a:hover {
    background-color: #fff;
    color: #DE5A45;
    opacity: 1;
}

.tel:hover a::before {
    background-image: url(../img/ico_tel_org.webp); 
    background-size: cover;
    background-repeat: no-repeat;
}

.ttl01 {
    text-align: center;
    font-size: 44px;
    margin: 0 0 10px;
}

.ttl01 .small {
    font-size: 20px;
}

.ttl01 .yellow {
    display: inline-block;
    position: relative;
    z-index: 1;
}

.ttl01 .yellow::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px; /* この値で「どこまで上にいかないか」を調整 */
    width: 100%;
    height: 14px; /* 線の太さ */
    background-color: #FFF500;
    z-index: -1; /* 文字の後ろに */
}

p.small {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin: 0 0 40px;
}

p.small .big {
    font-size: 28px;
}

.subTxt {
    text-align: center;
    margin: 0 0 60px;
}

.ttl01.white {
    color: #fff;
}

.fixedCv {
    position: fixed;
    right: 0;
    bottom: 0;
    background-color: #1f4c32;
    padding: 10px 15px;
    border-radius: 10px 0 0 0;
    z-index: 1111;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.fixedCv.is-show {
    opacity: 1;
    pointer-events: auto;
}

.fixedCv h2 img {
    width: 50%;
    margin: 0 auto;
}

.fixedCv h2 {
    margin: 0 0 10px;
}

.fixedCv .flex {
    align-items: stretch;
}

.fixedCv .flex div {
    width: 48%;
}

.fixedCv .mail a::before {
    left: 15px;
    top: 56%;
    width: 20px;
    height: 20px;
}

.fixedCv .tel a::before {
    left: 15px;
    top: 37%;
    width: 20px;
    height: 20px;
}

.fixedCv .tel a {
    font-size: 24px;
    height: 55px;
}

.fixedCv .mail a {
    height: 55px;
}

.fixedCv .tel a span {
    font-size: 12px;
    display: block;
    font-weight: bold;
    font-family: 'Noto Sans JP';
    margin: 0;
    line-height: 1;
}

.fixedCv .tel a {
    display: block;
}

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

.mv {
    margin-top: -100px;
}

.okomari {
    /* width: max-content; */
    padding: 40px 0 0;
}

.okomari img {
    width: 720px;
    margin: 0 auto;
}

.kaiketsu {
    /* background-image: url(../img/bg_pc.webp); */
    background-color: #EFF7EF;
    padding: 130px 0 60px;
    position: relative;
}

.kaiketsu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px; /* 三角の高さ */
    background-color: #fff; /* 上のセクションの背景色 */
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.kaiketsu .points article {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px 20px 5px;
    width: 29%;
    position: relative;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.08);
}

.kaiketsu .points article h3 {
    text-align: center;
    font-size: 26px;
    margin: 0 0 20px;
}

.kaiketsu .points article h4 {
    font-size: 22px;
    color: #376028;
    text-align: center;
    margin: 10px 0 10px;
}

.points.flex.inner {
    align-items: stretch;
}

.kaiketsu .points article h4 .big {
    font-size: 28px;
    margin: 0 2px;
}

.kaiketsu .points article h3 .big {
    font-size: 34px;
}

.kaiketsu .points article img {
    width: 247px;
    margin: 0 auto;
}

.kaiketsu .points article img {
    width: 247px;
    margin: 0 auto;
}

.number.oswald {
    position: absolute;
    font-size: 45px;
    color: #DE5A45;
    top: -35px;
}

.service {
    padding: 80px 0;
}

.service .pay img {
    width: 920px;
    margin: 40px auto 0;
}

.service .menu {
    width: 49%;
    margin: 0 0 20px;
}

.service .menu img {
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.08);
}

.service .flex {
    flex-wrap: wrap;
}

.hikaku {
    background-color: #718F75;
    padding: 80px 0;
}

.hikaku p {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    line-height: 1.5;
    margin: 0 0 40px;
}

.hikaku p .big {
    font-size: 26px;
}

.hikaku .hyou img {
    width: 1080px;
    margin: 0 auto;
}

.voice {
    padding: 80px 0;
}

.voice .flex img {
    width: 31%;
}

.voice .flex {
    margin: 50px 0 0;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.flows {
    background-color: #EFF7EF;
    padding: 80px 0;
}

.flowDetail {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefoxでスクロールバー非表示 */
    gap: 16px;
    padding-bottom: 24px;
    padding-left: 50px;
    padding-right: 50px;
}

.flowDetail::-webkit-scrollbar {
    display: none; /* Chromeでスクロールバー非表示 */
}

.flowDetail article {
    flex: 0 0 30%; /* 1枚あたりの幅。数値で見え方を調整 */
    scroll-snap-align: center;
}

.flowDetail article img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.08);
}

.bikou img {
    width: 920px;
    margin: 40px auto 0;
}

/* ドット */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.carousel-dots span {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ccc;
    transition: background-color 0.3s;
    cursor: pointer;
}

.carousel-dots span.active {
    background-color: #376028; /* アクティブ色はブランドカラーに合わせて */
}

.area img {
    width: 1080px;
    margin: 0 auto;
}

.area .ttl01 {
    margin: 80px 0 40px;
}

.faq {
    background-color: #718F75;
    padding: 80px 0;
}

.faq .ttl01.white { 
    margin: 0 0 40px;
}

.faq dl {
    background-color: #fff;
    border-radius: 16px;
    padding: 10px 0;
}

.faqBox {
    border-bottom: 1px solid #ddd;
    margin: 0 50px ;
}

.faqBox:last-child {
    border-bottom: none;
}

.faqBox dt {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 28px 0;
    cursor: pointer;
    position: relative;
    font-size: 18px;
    font-weight: bold;
}

.faqBox dt .oswald {
    color: #D9603B;
    font-size: 24px;
    flex-shrink: 0;
}

.faqBox dt::after {
    content: '+';
    position: absolute;
    right: 0;
    color: #D9603B;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    transition: 0.3s;
}

.faqBox.is-open dt::after {
    content: '−';
}

.faqBox dd {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 0 0 36px;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

.faqBox.is-open dd {
    max-height: 200px;
    padding: 0 0 24px 36px;
    margin: 0;
}

.contact .tel a {
    width: 360px;
    margin: 0 auto;
}

.contact .tel h3 {
    color: #333;
}

.contact .subTxt {
    margin: 0 0 50px;
}

.contact {
    padding: 80px 0;
}

footer {
    background-color: #2B4B34;
    padding: 40px 0;
    background-image: url(../img/bg_footer.webp);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: contain;
}

footer img {
    width: 240px;
    margin: 0 auto;
}

footer p {
    color: #fff;
    text-align: center;
    font-size: 14px;
}

footer small {
    color: #fff;
    font-size: 12px;
    text-align: center;
    display: block;
}



@media screen and (max-width: 768px){

    /* 共通 */
    .pc { display: none; }
    .sp { display: block; }

    p { font-size: 14px; }

    main, footer {
        min-width: unset;
    }

    .inner {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .inner02 {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .flex {
        flex-wrap: wrap;
    }

    .ttl01 {
        font-size: 26px;
        margin: 0 0 10px;
    }

    .ttl01 .small {
        font-size: 16px;
    }

    .ttl01 .yellow::after {
        bottom: 0;
    }

    p.small {
        font-size: 18px;
        margin: 0 0 30px;
        line-height: 1;
    }

    /* ヘッダー */
    #header {
        padding: 10px 16px;
    }

    #header h1 {
        margin: 0;
        font-size: 11px;
    }

    #header h1 img {
        width: 175px;
    }

    /* 固定CV */
    .fixedCv {
        padding: 8px 0;
        border-radius: 10px 10px 0 0;
        width: 100%;
    }

    .fixedCv .flex {
        margin: 0 8px;
    }

    .fixedCv h2 img {
        width: 50%;
    }

    .fixedCv .flex div {
        width: 48.5%;
    }

    .fixedCv .tel a {
        font-size: 22px;
        height: 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        justify-content: flex-start;
    }

    .fixedCv h2 {
        margin: 0 0 6px;
    }

    .fixedCv .mail a {
        height: 50px;
        font-size: 16px;
    }

    .fixedCv .tel a span {
        font-size: 11px;
    }

    .fixedCv .tel a::before {
        top: 36%;
        left: 7px;
        width: 18px;
        height: 18px;
    }

    .fixedCv .mail a::before {
        left: 16px;
        width: 18px;
        height: 18px;
    }

    /* .fixedCv .mail a::before,
    .fixedCv .tel a::before {
        display: none;
    } */

    /* MV */
    .mv {
        margin-top: 0;
    }

    .mv {
        margin-top: -65px;
    }

    /* CV セクション */
    .cv {
        padding: 28px 0 30px;
    }

    .cv .inner.flex {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }

    .cv h2 {
        font-size: 22px;
        text-align: center;
        margin: 0;
    }

    .cv h2 .mv {
        font-size: 20px;
    }

    .cv h2 .big {
        font-size: 26px;
    }

    .cv span.middle {
        font-size: 16px;
        margin: 0 0 12px;
        display: inline-block;
    }

    .cv .flex .flex {
        width: 100%;
        gap: 12px;
        align-items: stretch;
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }

    .cv .mail,
    .cv .tel {
        width: 85%;
        margin: 0 auto;
    }

    .mail a {
        font-size: 20px;
        height: 60px;
    }

    .mail a::before {
        left: 40px;
        width: 18px;
        height: 18px;
    }

    .tel a {
        font-size: 30px;
        height: 60px;
    }

    .tel a::before {
        left: 40px;
        width: 18px;
        height: 18px;
    }

    /* お悩みセクション */
    .okomari {
        padding: 10px 0 0;
    }

    .okomari img {
        width: 98%;
    }

    /* 解決セクション */
    .kaiketsu {
        padding: 60px 0 40px;
    }

    .subTxt {
        margin: 0 0 40px;
        font-size: 14px;
    }

    .points.flex.inner {
        flex-direction: column;
        gap: 35px;
        align-items: center;
    }

    .kaiketsu::before {
        height: 40px;
    }

    .kaiketsu .points article {
        width: 100%;
        box-sizing: border-box;
    }

    .kaiketsu .points article h3 {
        font-size: 22px;
    }

    .kaiketsu .points article h4 {
        font-size: 18px;
    }

    .kaiketsu .points article img {
        width: 180px;
    }

    .kaiketsu .points article h4 .big {
        font-size: 26px;
        margin: 0 2px;
    }

    .kaiketsu .points article h3 .big {
        font-size: 30px;
    }

    /* サービスセクション */
    .service {
        padding: 50px 0;
    }

    .service.inner02 {
        padding-left: 20px;
        padding-right: 20px;
    }

    .service .flex {
        flex-direction: column;
    }

    .service .menu {
        width: 100%;
        margin: 0 0 18px;
    }

    .service .pay img {
        width: 100%;
        margin: 20px auto 0;
    }

    /* 比較表 */
    .hikaku {
        padding: 50px 0 40px;
    }

    .hikaku p {
        font-size: 16px;
        padding: 0 20px;
    }

    .hikaku .hyou img {
        width: 90%;
    }

    .hikaku p .big {
        font-size: 22px;
    }

    /* フローセクション */
    .flows {
        padding: 50px 0;
    }

    .flowDetail {
        padding-left: 20px;
        padding-right: 20px;
    }

    .flowDetail article {
        flex: 0 0 90%;
    }

    .bikou img {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
        margin: 20px auto 0;
    }

    /* エリア */
    .area .ttl01 {
        margin: 50px 0 20px;
    }

    .area img {
        width: 90%;
    }

    /* お客様の声 */
    .voice {
        padding: 50px 0;
    }

    .voice.inner {
        padding: 50px 20px;
    }

    .voice .flex {
        flex-direction: column;
        margin: 40px 0 0;
        gap: 20px;
    }

    .voice .flex img {
        width: 100%;
    }

    /* FAQ */
    .faq {
        padding: 50px 0;
    }

    .faqBox {
        margin: 0 20px;
    }

    .faqBox dt {
        font-size: 15px;
        padding: 20px 0;
    }

    .faq dl {
        width: 90%;
    }

    .faqBox dd {
        padding: 0; /* 閉じた状態は必ず0に */
    }

    .faqBox.is-open dd {
        padding: 0 0 24px 0; /* 開いたときだけ適用 */
    }

    /* コンタクト */
    .contact {
        padding: 50px 20px;
        box-sizing: border-box;
    }

    .contact .tel a {
        width: 85%;
    }

    /* フッター */
    footer {
        padding: 30px 20px;
        box-sizing: border-box;
        margin-bottom: 95px;
        background-image: url(../img/bg_footer_sp.webp);
    }

    footer img {
        width: 180px;
    }

    footer p {
        font-size: 12px;
    }
}


