@charset "UTF-8";

p {
    margin: 0;
}

body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-style: normal;
    font-optical-sizing: auto;
}

/* セクションの基本スタイル */
.subsidy {
    position: relative;
    margin: 100px auto;
    width: 960px;
}

/* カードセクション */
.subsidyCards {
    max-width: var(--maxWidthPC);
    margin: 0 auto;
}

.subsidyCards__lead {
    position: relative;
}

.subsidyCards__lead::after {
    position: absolute;
    top: -270px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    display: block;
    width: 200px;
    height: 50px;
    margin: auto;
    content: url("img/questionCards__bigDrop.svg");
}

.subsidyCards__lead h2 {
    margin: 460px 0;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: anywhere;
    text-shadow:
        2px 2px 0 #fff,
        -2px -2px 0 #fff,
        -2px 2px 0 #fff,
        2px -2px 0 #fff,
        0 2px 0 #fff,
        0 -2px 0 #fff,
        -2px 0 0 #fff,
        2px 0 0 #fff;
}

/* カードセクションの見出し */

/* カードセクションのコンテナ */
.subsidyCards__container {
    display: flex;
    flex-wrap: wrap;
    gap: 160px 40px;
    align-items: center;
    justify-content: space-evenly;
    margin: 0 auto;
}

/* カードセクションのラッパー */
.subsidyCards__wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 260px;
    height: 360px;
    padding: 46px;
    border: 3px solid var(--ecColor);
    border-radius: 10px;
}

.subsidyCards__wrapper::before {
    position: relative;
    top: -120px;
    display: block;
    width: 140px;
    height: 140px;
    margin: 0 auto;
    content: "";
}

/* カードセクションのキャプション */
.subsidyCards__caption {
    width: 66px;
    height: 24px;
    margin-top: -140px;
    font-size: 0.875rem;
    font-weight: 900;
    color: #fff;
    text-align: center;
    background: var(--ecColor);
}

/* カードセクションのサブ見出し */
.subsidyCards__subheading {
    flex-grow: 1;
    width: 245px;
    font-size: 1.5rem;
    font-weight: 900;
}

/* カードセクションのテキスト */
.subsidyCards__text {
    flex-grow: 1;
    width: 240px;
    font-size: 1rem;
    font-weight: 400;
}

/* 解決策セクション */
.solution {
    width: 100%;
    margin: 50px 0 0;
}

.solution a {
    text-decoration: none;
}

/* 解決策コンテナ */

/* 解決策テキスト */
.solution__container {
    display: flex;
    background-color: #215aad;
    justify-content: center;
    align-items: center;
    width: 500px;
    padding: 25px 0px;
    margin: 0 auto;
}

.solution__container:hover {
    background-color: #5185c5;
}

.solution__text {
    font-size: 25px;
    color: #fff;
    text-align: left;
}

.solution__text a {
    text-decoration: none;
    color: #fff;
}

.solution__container img {
    width: 50px;
    margin: 0 0 0 30px;
}

.solution__text span {
    font-size: 4.3125rem;
}

/* ブレイクポイント 648px未満のもの */
@media (max-width: 999px) {
    .subsidy {
        margin: 24% 0 0 0;
    }

    .solution {
        width: 90%;
        margin: 200px 5%;
    }
}

/* ブレイクポイント 1000px未満のもの */
@media (max-width: 699px) {
    .subsidyCards__lead h2 {
        font-size: 1.5rem;
    }

    .subsidyCards__wrapper {
        padding: 32px 28px;
        margin: auto;
    }

    .solution {
        width: 90%;
        margin: 200px 5%;
    }

    .solution__text {
        font-size: 2rem;
    }

    .solution__text span {
        font-size: 2.8rem;
    }
}

/*20250909追加*/

.title {
    width: 950px;
    margin: 0 auto;
}

.flow {
    width: 950px;
    margin: 200px auto 0;
}


/*補助金のご紹介*/
.sectionInfo {
    width: 960px;
    margin: 0 auto;
}

.infoTab {
    display: flex;
    width: 950px;
    gap: 5px;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    background-color: #d9f4f2;
    border-radius: 10px 10px 0 0;
    line-height: 30px;
    color: #595959;
}

.tab:hover {
    background-color: #ebf5f1;
}

.tab span {
    font-size: 17px;
    font-weight: normal;
}

.tab.dummy {
    background: transparent;
    border: none;
    cursor: default;
}

.tabSwi a {
    text-decoration: none;
}

.tabSwi>div {
    display: none;
    border-top: none;
}

.tabSwi>div.active {
    display: block;
}

.infoTitle {
    text-align: center;
    font-size: 30px;
    color: #079992;
    font-weight: bold;
    line-height: 35px;
}

.infoTitle span {
    font-size: 15px;
}

.infoBtn {
    background-color: #079992;
    color: #fff;
    font-size: 25px;
    width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto 0;
    padding: 20px 0;
}

.infoBtn:hover {
    background-color: #4fa1a3;
}

.infoBtn span {
    font-size: 15px;
}

.infoBtn img {
    margin: 0 0 0 20px;
    width: 50px;
}

.infoBtn a {
    text-decoration: none;
    color: #fff;
}

/*非破壊糖度計とは*/
.products {
    display: flex;
}

.products img {
    margin: 0 auto;
}

/*非破壊糖度計とは-アコーディオン*/
.accordion {
    max-width: 800px;
    background-color: #f2f2f2;
    margin: 0 auto;
}

.accordion:not([open]) {
    margin: 0 auto;
}

.accordion summary {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    border-radius: 5px;
    background-color: #ffffff;
    color: #595959;
    cursor: pointer;
    font-size: 22px;
}

.accordion summary:hover {
    color: #808080;
}

.accordion summary::-webkit-details-marker {
    display: none;
}

.accordion summary::before {
    position: absolute;
    right: 2em;
    rotate: 90deg;
}

.accordion summary::after {
    transition: rotate .3s;
}

.accordion[open] summary::after {
    rotate: 90deg;
}

.accordion p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

.accordion[open] p {
    transform: none;
    opacity: 1;
    padding: 20px;
}

.fruit {
    display: flex;
    justify-content: center;
}

.accordion img {
    width: 25px;
    margin: 0 0 0 20px;
}

/*申請のための見積書発行いたします*/
.catch {
    width: 960px;
    margin: 0 auto;
}

.catch p {
    text-align: center;
    color: #215aad;
    font-size: 30px;
    font-weight: bold;
}

.catchBox {
    display: flex;
    justify-content: center;
    text-align: center;
    border: solid #eaeaea 3px;
    padding: 30px 0;
    gap: 20px;
    margin: 30px auto;
}

.catchBox_txt {
    color: #595959;
    font-weight: bold;
    font-size: 20px;
    margin: 0 0 15px;
    border-bottom: #eaeaea solid 3px;
    padding-bottom: 10px;
}

.form {
    display: flex;
    flex-direction: column;
    width: 40%;
}

.form img {
    width: 35px;
}

.form_contents {
    font-size: 20px;
    color: #215aad;
    font-weight: bold;
}

.form_contents a {
    color: #215aad;
    text-decoration: none;

}

.tel {
    display: flex;
    flex-direction: column;
    width: 40%;
}

.tel img {
    width: 35px;
}

.tel_contents {
    font-size: 30px;
    color: #215aad;
    font-weight: bold;
}

.tel_contents span {
    font-size: 18px;
}

.sp {
    display: none;
}

/*補助金共通*/
.commonLead {
    font-size: 45px;
    color: #079992;
    font-weight: bold;
    border-left: 10px solid #079992;
    margin: 50px auto;
}

.commonLead_products {
    font-size: 45px;
    color: #215aad;
    font-weight: bold;
    border-left: 10px solid #215aad;
    margin: 50px auto;
}

/*スマホ対応*/
@media (max-width: 960px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .subsidy {
        width: 100%;
        margin: 15% 0 0 0;
    }

    .title {
        width: 100%;
        margin: 0 auto;
    }

    .title img {
        width: 100%;
    }

    .flow {
        width: 100%;
        margin: 0 auto;
    }

    .flow img {
        width: 100%;
    }

    .solution {
        width: 100%;
        margin: 0 auto;
    }

    .solution__container {
        width: 300px;
        padding: 20px 0;
        margin: 20px auto 50px;
    }

    .solution__container img {
        width: 30px;
    }

    .solution__text {
        font-size: 20px;
    }

    .commonLead {
        font-size: 22px;
        margin: 0 0 30px 20px;
    }

    /*補助金のご紹介*/
    .sectionInfo_sp {
        width: 100%;
        margin: 0 auto;
    }

    .tab-wrap {
        width: 95%;
        display: flex;
        flex-wrap: wrap;
        margin: 20px auto;
    }

    .tab-wrap:after {
        content: '';
        width: 100%;
        height: 3px;
        display: block;
        order: -1;
    }

    .tab-label {
        color: #595959;
        background: #d9f4f2;
        font-weight: bold;
        font-size: 18px;
        white-space: nowrap;
        text-align: center;
        padding: 10px .5em;
        order: -1;
        position: relative;
        z-index: 1;
        cursor: pointer;
        border-radius: 5px 5px 0 0;
        flex: 1;
    }

    .tab-label:hover {
        background-color: #ebf5f1;
    }

    .tab-label span {
        font-size: 14px;
        font-weight: normal;
    }

    .tab-label:not(:last-of-type) {
        margin-right: 5px;
    }

    .tab-content {
        width: 100%;
        height: 0;
        overflow: hidden;
        opacity: 0;
    }

    .tab-content img {
        width: 100%;
    }

    /* アクティブなタブ */
    .tab-switch:checked+.tab-label {
        background: #d9f4f2;
        color: #595959;
    }

    .tab-switch:checked+.tab-label:hover {
        background-color: #ebf5f1;
    }

    .tab-switch:checked+.tab-label+.tab-content {
        height: auto;
        overflow: auto;
        padding: 15px;
        opacity: 1;
        transition: .5s opacity;
    }

    .tab-content a {
        text-decoration: none;
        color: #fff;

    }

    /* ラジオボタン非表示 */
    .tab-switch {
        display: none;
    }

    .infoBtn {
        font-size: 20px;
        width: 300px;
    }

    .products {
        width: 100%;
    }

    .products img {
        width: 100%;
    }

    .accordion {
        max-width: 95%;
    }

    .accordion summary {
        padding: 20px 0;
    }

    .accordion[open] p {
        padding: 20px;
        font-size: 14px;
    }

    .catch {
        width: 100%;
    }

    .catch p {
        font-size: 25px;
    }

    .catchBox {
        width: 90%;
        flex-direction: column;
    }

    .form {
        width: 90%;
        margin: 0 auto 30px;
    }

    .tel {
        width: 90%;
        margin: 0 auto;
    }

}