/*//////// トップページ　////////CSS */

/* 共通設定 */
body#nts-style p {
    font-weight: 400 !important;
}

* {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 500;
}

p,
li {
    font-size: 16px;
    color: #796A55;
    line-height: 1.7;
}

.center {
    font-size: 22px;
    color: #796A55;
    text-align: center;
}

img {
    max-width: 100%;
}

.bg-blue {
    background-color: #fff;
    background-image: url(https://c48ishigami.cloudfree.jp/test001/wp-content/themes/jin-child/images/bg-blue.png);
    background-size: contain;
}

section {
    padding: 60px 15px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.pc {
    display: block;
}

.tab {
    display: none;
}

.sp {
    display: none;
}

.right {
    text-align: right;
}

.pr-h2 {
    font-size: 32px;
    color: #796A55;
    text-align: center;
    line-height: 0.8;
    margin-bottom: 50px;
}

.pr-h2 span {
    font-size: 18px;
    font-family: "Courgette", cursive;
}

.img-right {
    text-align: right;
}

/* コンセプト */

section.pr-concept {
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
}

.concept-img {
    margin: 30px 0;
}

.concept-text {
    grid-column: 1/3;
    grid-row: 1/2;
    margin: 0;
}

/* PR項目 */
.pr-concept-wrap {
    max-width: 550px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 50px auto 30px;
}

p.concept-text {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    margin: 0;
    font-size: 16px;
}

.pr-concept-img a:hover {
    opacity: 0.7;
}

.img-right {
    text-align: right;
}

.pr-inner {
    max-width: 780px;
    padding-top: 20px;
    margin: 10px auto;
}

.pr-inner h3 {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 32px;
    color: #796A55;
    margin: 15px 0;
}

h3.issues::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    left: -90px;
    background-image: url(https://c48ishigami.cloudfree.jp/test001/wp-content/themes/jin-child/images/pr-h2-issues.png);
    background-size: contain;
    background-repeat: no-repeat;
}

h3.creative::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    left: -90px;
    background-image: url(https://c48ishigami.cloudfree.jp/test001/wp-content/themes/jin-child/images/pr-h2-creative.png);
    background-size: contain;
    background-repeat: no-repeat;
}

h3.support::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    top: 10px;
    left: -90px;
    background-image: url(https://c48ishigami.cloudfree.jp/test001/wp-content/themes/jin-child/images/pr-h2-support.png);
    background-size: contain;
    background-repeat: no-repeat;
}

h3.future::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    left: -90px;
    background-image: url(https://c48ishigami.cloudfree.jp/test001/wp-content/themes/jin-child/images/pr-h2-future.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.pr-item {
    border-top: 1px solid #796A55;
    padding: 25px 50px;
    margin: 20px 0;
}

.pr-item h4 {
    position: relative;
    font-size: 24px;
    color: #796A55;
    padding-left: 65px;
    margin: 10px 0 30px;
}

.pr-item h4::before {
    content: "01";
    position: absolute;
    top: -9px;
    left: 4px;
    font-size: 36px;
    color: #6DCBD1;

}

.pr-item h4::after {
    content: "";
    display: block;
    position: absolute;
    top: -10px;
    left: -10px;
    width: 60px;
    height: 60px;
    border: 2px solid #6DCBD1;
    border-radius: 50%;
}

.pr-item.no2 h4::before {
    content: "02";
    left: 2px;
}

.pr-item.no3 h4::before {
    content: "03";
    left: 2px;
}

.pr-item.no4 h4::before {
    content: "04";
    left: 2px;
}

.pr-wrap {
    display: flex;
    align-items: center;
    gap: 50px;
}

.future-left {
    flex: 6;
}

.future-right {
    flex: 2;
    padding: 10px 0;
    text-align: center;
}

.future-right img {
    margin: 0 0 20px;
}

.pc.bottom-btn {
    text-align: center;
    margin-bottom: 70px;
}


/* サービスのこだわり */
section.commitment {
    position: relative;
}

.commitment-bg img {
    position: absolute;
    max-width: 1300px;
    height: 700px;
    bottom: 0;
}

.container.commitment {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.commitment h2 {
    position: relative;
    margin-bottom: 30px;
}

.commitment-text {
    width: 700px;
    text-align: center;
}

.commitment-left,
.commitment-right {
    width: 250px;
}


/* ご利用の流れ */
.flow-wrap {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 50px;
}

.flow .pr-h2 {
    margin-bottom: 100px;
}

.flow-item {
    position: relative;
    width: 230px;
    height: 240px;
    background: #FFFBEF;
    padding: 60px 10px 25px;
    border-radius: 10px;
    box-shadow: 1px 1px 5px #ccc;
}

.flow-item::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-bottom: 5px solid #c3d7c4;
    border-right: 5px solid #d4efe8;
    transform: rotate(-45deg);
    right: -30px;
    top: 40%;
    font-size: 50px;
}

.flow-item:last-child::after {
    content: none;
}

.flow-item .no-circle,
.flow-item h3 {
    text-align: center;
}

.flow-item .no-circle {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 90px;
    background: #E1EFE2;
    border-radius: 50%;
    font-size: 36px;
    line-height: 1;
    margin: 0;
}

.flow-item .no-circle span {
    font-size: 16px;
}

.flow-item h3 {
    font-size: 24px;
    color: #796A55;
}


.pr-flow-text {
    text-align: justify;
}

/* コンタクト */
.container.pr-contact {
    max-width: 700px;
}

section.contact {
    text-align: center;
    background: rgba(225, 239, 226, 0.5);
}

h3.contact {
    font-size: 32px;
    color: #796A55;
    margin-bottom: 50px;
}

.contact-wrap {
    display: flex;
    justify-content: center;
    gap: 30px;
}



/* 地域密着 */
section.mc-community-base {
    padding-top: 120px;
}

.container.community-base {
    position: relative;
    max-width: 800px;
    padding: 90px 50px 100px;
    margin: 60px auto;
    border: 3px solid #6DCBD1;
    border-radius: 20px;
    background: #fff;
}

.community-img {
    position: absolute;
    top: -90px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, transparent 50%, #fff 50%);
}

.community-grid {
    max-width: 600px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 50px auto;
}

.community-btn {
    text-align: center;
}

/* よくある質問 */
.accordion-button {
    position: relative;
    background-color: #fff;
    cursor: pointer;
    font-size: 18px;
    padding: 15px 50px 15px 100px;
    border: none;
    border-radius: 10px;
    outline: none;
    width: 100%;
    box-shadow: 0 3px 5px #aaa;
    text-align: left;
    display: flex;
    justify-content: space-between;
    transition: background-color 0.3s ease;
}

.accordion-button:hover {
    background-color: #eaf3ff;
}

.accordion-button span.qa-title::before {
    content: "Q";
    font-size: 32px;
    position: absolute;
    top: 3px;
    left: 50px;
    color: #6DCBD1;
}

.icon {
    font-size: 20px;
    /* アイコンサイズ */
    transition: transform 0.3s ease;
}

.accordion-item {
    margin-bottom: 20px;
}

.accordion-content {
    max-height: 0;
    /* デフォルトは非表示 */
    overflow: hidden;
    padding: 0 50px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    transition: max-height 0.3s ease-out, padding 0.5s ease-out;
}

.accordion-content p {
    padding: 15px 0;
    margin: 0 0 15px;
    /* 余白を調整 */
    border-top: 1px solid #aaa;
}

.accordion-button.active .icon {
    content: "ー";
    /* 展開時にアイコンを「ー」に変更 */
    transform: rotate(180deg);
    /* 回転アニメーションも追加可能 */
}






/* タブレット表示（780px） */
@media(max-width:780px) {}

/* スマホ表示 */
@media(max-width:600px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .pr-h2 {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 50px;
    }

    .pr-h2 span {
        font-size: 24px;
    }

    /* 未来へのご提案 */
    .pr-inner h3 {
        flex-direction: column;
        font-size: 25px;
        margin-bottom: 40px;
        left: 30px;
        width: 90%;
    }

    h3.issues {
        left: 40px;
    }

    h3.issues::before {
        width: 60px;
        height: 60px;
        top: -10px;
        left: -40px;
    }

    h3.creative::before {
        width: 60px;
        height: 60px;
        top: -10px;
        left: 0px;
    }

    h3.support::before {
        width: 60px;
        height: 60px;
        top: 0px;
        left: 30px;
    }

    h3.future::before {
        width: 60px;
        height: 60px;
        top: -10px;
        left: 0px;
    }

    .pr-item {
        padding: 25px 40px;
    }

    .pr-item h4 {
        font-size: 24px;
        padding-left: 40px;
    }

    .pr-item h4::before {
        font-size: 30px;
        top: -10px;
        left: -10px;
    }

    .pr-item h4::before {
        top: -5px;
        left: -13px;
    }

    .pr-item.no2 h4::before {
        content: "02";
        left: -15px;
    }

    .pr-item.no3 h4::before {
        content: "03";
        left: -15px;
    }

    .pr-item.no4 h4::before {
        content: "04";
        left: -15px;
    }

    .pr-item h4::after {
        top: -10px;
        left: -30px;
    }

    .pr-wrap {
        flex-direction: column;
        gap: 20px;
    }

    .future-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .future-right .line img {
        width: 60%;
    }

    .future-right .mc img {
        width: 160px;
    }

    .future-right .cs img {
        width: 250px;
    }



    .sp.bottom-btn {
        text-align: center;
    }

    /* サービスのこだわり */
    .container.commitment {
        height: 680px;
    }

    .commitment-bg img {
        position: absolute;
        width: 90%;
        height: auto;
    }

    .commitment-text {
        position: absolute;
        width: 100%;
        z-index: 10;
        top: 0;
    }

    .commitment-left,
    .commitment-right {
        position: absolute;
        bottom: 0;
        width: 50%;
        z-index: 1;
    }

    .commitment-left {
        left: 0;
    }

    .commitment-right {
        right: 0;
    }

    /* ご利用の流れ */
    .flow-wrap {
        flex-wrap: wrap;
    }

    .flow-item {
        width: 90%;
        margin-bottom: 70px;
    }

    .flow-item::after {
        content: "";
        right: 50%;
        top: initial;
        bottom: -40px;
        transform: translateX(50%) rotate(45deg);
    }

    /* お問い合わせ */
    h3.contact {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .contact-wrap {
        flex-direction: column;
        gap: 20px;
    }

    /* 地域密着 */
    .container.community-base {
        padding: 40px 30px 20px;
    }

    .community-grid {
        padding: 0 15px;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* よくある質問 */
    .accordion-button {
        padding: 15px 20px 15px 40px;
    }

    .accordion-button span.qa-title::before {
        font-size: 28px;
        top: 5px;
        left: 10px;
    }

    .accordion-content {
        padding: 0 25px;
    }


}