@font-face{font-family:"anzu";src:url("../font/APJapanesefont.woff") format("woff"),url("../font/APJapanesefont.ttf") format("ttf")}

#main .custom {
    color: #222222;
}
#main .custom h3 {
    background: none;
    color: currentColor;
}
#main .custom h3::after {
    content: unset;
    background: none;
    border: none;
    margin: 0;
}
#main .custom figure {
    text-align: center;
}
#main .custom h2 {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    text-align: center;
    font-weight: 700;
    line-height: 1.4;
}
#main .custom h2::after {
    content: unset;
    background: none;
}
#main .custom ul>li::before {
    content: unset;
}
#main .custom h4 {
    border: none;
    color: currentColor;
    padding: 0;
}

/* h2共通 */
#main .custom section h2 {
    -webkit-text-stroke-width: .4px !important;
}
#main .custom section .sec-title-side-line {
    font-size: 4.2vw;
    width: 80%;
    margin: .8em auto;
}
#main .custom section .sec-title-side-line::before,
#main .custom section .sec-title-side-line::after {
    content: '';
    width: 1px;
    height: 100%;
    position: absolute;
    bottom: 0;
    transform-origin: left bottom;
    background: currentColor;
}
#main .custom section .sec-title-side-line::before {
    left: 0;
    transform: rotate(-16deg);
}
#main .custom section .sec-title-side-line::after {
    left: 100%;
    transform: rotate(16deg);
}

/* section装飾 */
#main .custom .case {
    background: repeating-linear-gradient(#f5f5f5, #f5f5f5 1px, rgba(245,245,245,0) 0, rgba(245,245,245,0) 16px),repeating-linear-gradient(90deg, #f5f5f5, #f5f5f5 1px, rgba(245,245,245,0) 0, rgba(245,245,245,0) 16px) #fff;
    padding: .8em;
}
#main .custom .feature .sec-title {
    background: url(../images/back_img_01.png) no-repeat;
    background-size: 100%;
    padding: .8em 0;
    font-size: 4.3vw;
}
#main .custom .feature .list {
    margin: .8em auto;
    padding: 1.2em 1.6em .4em;
    font-size: 3.8vw;
    list-style: none;
    line-height: 1.7;
    font-weight: bold;
    background: #fefaf1;
    margin-top: -3%;
}
#main .custom .matrix .sec-title {
    background: url(../images/back_img_02.png) no-repeat;
    background-size: 100%;
    padding: 1.0em 0;
    font-size: 4.3vw;
}
#main .custom .point .content {
    background: url(../images/back_img_03.png) no-repeat top, #fefaf1;
    background-size: 100%, cover;
    border: 2px solid #b89558;
    padding: .8em;
}
#main .custom .point .content .block {
    width: 47%;
    margin: .2em;
}
#main .custom .point .content .sec-title {
    margin: .4em auto;
}
#main .custom .calendar .balloon {
    background: #fbdad7;
    font-size: 3.8vw;
    border-radius: 5px;
    position: relative;
    margin: .8em auto;
    padding: .8em;
}
#main .custom .calendar .balloon a {
    color: #243d8a;
    text-decoration: underline;
}
#main .custom .calendar .balloon:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -15px;
    border: 15px solid transparent;
    border-top: 15px solid #fbdad7;
}
#main .custom .calendar .table tr th {
    background: #f6edd6;
    border: 1px solid #cccccc;
}
#main .custom .calendar .table tr td {
    background: #fff;
    text-align: center;
}
#main .custom .trouble {
    background: url(../images/back_img_04.png) no-repeat;
    background-size: cover;
    margin: 1.2em auto;
    padding: 0;
}
#main .custom .trouble .sec-title {
    font-size: 4.3vw;
    padding: 1.2em;
}
#main .custom .trouble .list {
    margin: 0 .8em;
    background: #fff;
    padding: .4em 1.4em;
    font-size: 3.6vw;
    list-style: none;
    line-height: 1.4;
    color: #242424;
}
#main .custom .trouble .list li {
    background: url(../images/check_blue.png) no-repeat left .2em;
    padding: .2em 0;
    padding-left: 8%;
    margin: .2em 0;
    background-size: 6%;
}
#main .custom .trouble .photo {
    margin-bottom: 0;
}
#main .custom .arrow {
    width: 60%;
    margin: .2em auto;
}
#main .custom .question_list {
    background: url(../images/back_img_05.png) no-repeat;
    background-size: 100%;
    margin: 0;
    padding: 1.5em 2.4em;
    font-size: 3.6vw;
    list-style: none;
    line-height: 1.4;
    color: #242424;
    padding-top: 11%;
    font-weight: bold;
}
#main .custom .question_list li {
    background: url(../images/check_blue.png) no-repeat left .2em;
    padding: .2em 0;
    padding-left: 8%;
    margin: .2em 0;
    background-size: 6%;
}
#main .custom .cause .box {
    border: 10px solid #dcdbdb;
    padding: .2em .8em;
    margin: 0;
}
#main .custom .cause .box .explain {
    margin: .8em auto;
    font-size: 3.6vw;
}
#main .custom .improve {
    border: 4px double #b89558;
    background: #fefaf1;
    padding: .1em;
}
#main .custom .improve .sec-title {
    background: url(../images/back_img_07.png) no-repeat top, url(../images/back_img_06.png) no-repeat right;
    background-size: 100%, 35%;
    font-size: 4.3vw;
    padding: 1.4em;
    text-align: left;
}
#main .custom .improve .block {
    background: #fffefc;
    padding: .4em;
    margin: 0 .4em;
}
#main .custom .improve .block .explain {
    font-size: 3.6vw;
    margin: .8em auto;
}
#main .custom .before-after {
    background: repeating-linear-gradient(#f5f5f5, #f5f5f5 1px, rgba(245,245,245,0) 0, rgba(245,245,245,0) 16px),repeating-linear-gradient(90deg, #f5f5f5, #f5f5f5 1px, rgba(245,245,245,0) 0, rgba(245,245,245,0) 16px) #fff;
    padding: .8em;
}
#main .custom .reason .sec-title {
    background: url(../images/back_img_08.png) no-repeat;
    background-size: 100%;
    padding: .7em;
    font-size: 4.3vw;
    line-height: 1.3;
}
#main .custom .reason .block {
    background: url(../images/back_img_09.png) no-repeat top;
    background-size: 100%;
    padding: .4em;
    margin: .5em auto;
    border: 1px solid #b89558;
}
#main .custom .reason .block .block-title {
    font-size: 4.3vw;
    text-shadow: 0 0 0.1em #fff, 0 0 0.1em #fff, 0 0 0.1em #fff, 0 0 0.1em #fff, 0 0 0.2em #fff, 0 0 0.2em #fff, 0 0 0.2em #fff, 0 0 0.2em #fff;
    padding: .3em 0;
    padding-left: 17%;
    font-weight: bold;
    -webkit-text-stroke-width: .4px !important;
    margin: 0;
}
#main .custom .reason .block .explain {
    font-size: 3.6vw;
    margin: .8em auto;
}
#main .custom .reason .block .first {
    background: url(../images/reason_num_01.png) no-repeat .3em .4em;
    background-size: 13%;
}
#main .custom .reason .block .second {
    background: url(../images/reason_num_02.png) no-repeat .3em .4em;
    background-size: 13%;
}
#main .custom .reason .block .third {
    background: url(../images/reason_num_03.png) no-repeat .3em .4em;
    background-size: 13%;
}
#main .custom .reason .block .fourth {
    background: url(../images/reason_num_04.png) no-repeat .3em .4em;
    background-size: 13%;
}
#main .custom .reason .block .last {
    background: url(../images/reason_num_05.png) no-repeat .3em .4em;
    background-size: 13%;
}
#main .custom .relax .sec-title {
    background: url(../images/back_img_10.png) no-repeat;
    background-size: 100%;
    padding: 1.1em 0;
    font-size: 4.3vw;
}
#main .custom .flow .sec-title {
    background: url(../images/back_img_10.png) no-repeat;
    background-size: 100%;
    padding: 1.1em 0;
    font-size: 4.3vw;
}
#main .custom .flow .content .photo {
    width: 42%;
    margin: .3em;
    position: relative;
}
#main .custom .flow .content .photo:nth-child(odd) {
    margin-right: .8em;
}
#main .custom .flow .content .photo:nth-child(odd):after {
    background: url(../images/arrow_01.png) no-repeat;
    background-size: 100%;
    position: absolute;
    top: 50%;
    left: 94%;
    content: '';
    width: 30px;
    height: 30px;
}
#main .custom .price .sec-title {
    background: url(../images/back_img_10.png) no-repeat;
    background-size: 100%;
    padding: 1.1em 0;
    font-size: 4.3vw;
}
#main .custom .price .balloon {
    background: #f4f0e7;
    font-size: 4.0vw;
    position: relative;
    margin: 1.2em auto;
    padding: .8em;
}
#main .custom .price .balloon:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -15px;
    border: 9px solid transparent;
    border-top: 13px solid #f4f0e7;
}
#main .custom .price .patient {
    font-size: 3.8vw;
    border: 1px solid #b89558;
    padding: .5em;
    margin: 1.2em auto;
    border-radius: 5px;
}
#main .custom .price .explain {
    font-size: 3.6vw;
    margin: .8em auto;
}
#main .custom .price .table tr th {
    background: #eeeeed;
    text-align: center;
}
#main .custom .price .table tr th,
#main .custom .price .table tr td {
    border: 1.5px solid #cccccc;
}
#main .custom .price .caption {
    text-align: left;
}
#main .custom .price .attention {
    border: 3px solid #fbdad7;
    padding: .8em;
    padding-top: 8%;
    position: relative;
    margin-top: 11%;
}
#main .custom .price .attention .title {
    position: absolute;
    top: -11%;
    left: 26%;
    margin: 0;
    padding: .5em;
    background: #fbdad7;
    width: 45%;
    border-radius: 5px;
}
#main .custom .price .attention .text {
    font-size: 3.6vw;
    margin: .4em auto;
    color: #444444;
}
#main .custom .profile {
    border: 4px double #b89558;
    background: #fefaf1;
    padding: .3em;
}
#main .custom .profile .sec-title {
    background: url(../images/back_img_07.png) no-repeat top;
    background-size: 100%;
    padding: .5em;
}
#main .custom .profile .content {
    background: #fffefc;
    padding: .2em .6em;
    margin: .4em;
}
#main .custom .profile .content .explain {
    font-size: 3.6vw;
    margin: .8em auto;
}
#main .custom .change {
    background: url(../images/back_img_11.png);
    background-size: 100%;
    padding: .8em;
}
#main .custom .change .sec-title {
    font-size: 4.3vw;
    text-shadow: 0 0 0.1em #fff, 0 0 0.1em #fff, 0 0 0.1em #fff, 0 0 0.1em #fff, 0 0 0.2em #fff, 0 0 0.2em #fff, 0 0 0.2em #fff, 0 0 0.2em #fff;
    margin: .4em auto;
}
#main .custom .change .list {
    margin: 0;
    padding: .4em 1.4em;
    font-size: 3.6vw;
    list-style: none;
    line-height: 1.4;
    color: #242424;
    background: #fff;
}
#main .custom .change .list li {
    background: url(../images/check_red.png) no-repeat left .2em;
    padding: .2em 0;
    padding-left: 8%;
    margin: .2em 0;
    background-size: 6%;
}


/* 調整CSS */
#main .custom .bold {
    font-weight: bold;
}
#main .custom .center {
    text-align: center;
}
#main .custom .content {
    justify-content: center;
    align-items: center;
}
#main .custom .icon-comment::before {
    background-image: url(../images/icon_02.png);
    background-size: 80%;
}
#main .custom .icon-warning::before {
    background-image: url(../images/warning.png);
    background-size: 80%;
}
#main .custom .custom-icon::before {
    content: '';
    display: inline-block;
    width: 1.3333333333em;
    height: 1.3333333333em;
    background-repeat: no-repeat;
    background-position: center center;
    vertical-align: -20%;
    margin: 0 .16em;
}
#main .custom .strong {
    font-size: 130%;
    font-weight: bold;
}
#main .custom figure {
    margin: .8em auto;
    text-align: center;
}
#main .custom .caption {
    color: #3e3e3e;
    text-align: right;
    margin: .2em .4em .2em 0;
    font-size: 70%;
}
#main .custom .flex {
    display: flex;
    flex-wrap: wrap;
}
#main .mincho {
    font-family: '游明朝', '游明朝体', 'Noto Serif JP', 'YuMincho', 'ヒラギノ明朝 Pro W6', 'Hiragino Mincho Pro', 'HGS明朝E', 'ＭＳ Ｐ明朝', serif;
    color: #371c04;
    letter-spacing: -.02em;
}
#main .anzu {
    font-family: anzu, Roboto, "Noto Sans JP", 游ゴシック, 游ゴシック体, YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: #473624;
}
#main .custom .under-line {
    background-image: linear-gradient(rgba(252,235,96,0) 64%, #f4e38a 80%);
}
#main .custom .normal-red {
    color: #a40000 !important;
}
#main .custom .strong-red {
    font-size: 130%;
    font-weight: bold;
    color: #a40000 !important;
}
#main .custom .bottom,
#main .custom section {
   margin-bottom: 7%;
}
#main .custom .strong-blue {
    font-size: 130%;
    font-weight: bold;
    color: #1c3876 !important;
}

/* CSS調整PC */
@media (min-width: 768px) {
    #main .custom .feature .sec-title {
        font-size: 2.3em;
        padding: .6em 0;
    }
    #main .custom .feature .list,
    #main .custom .calendar .balloon,
    #main .custom .trouble .list,
    #main .custom .question_list,
    #main .custom .change .list {
        font-size: 1.8em;
    }
    #main .custom .matrix .sec-title,
    #main .custom .relax .sec-title,
    #main .custom .flow .sec-title,
    #main .custom .price .sec-title {
        font-size: 2.3em;
        padding: .8em 0;
    }
    #main .custom .trouble .sec-title,
    #main .custom .improve .sec-title,
    #main .custom .change .sec-title {
        font-size: 2.3em;
    }
    #main .custom .explain,
    #main .custom .price .attention .text {
        font-size: 1.3em !important;
        margin: .8em !important;
    }
    #main .custom .reason .sec-title {
        font-size: 2.3em;
        padding: .4em;
    }
    #main .custom .reason .block .block-title {
        font-size: 2.0em;
    }
    #main .custom .price .balloon {
        font-size: 2.3em;
        margin: .8em auto;
    }
    #main .custom .price .patient {
        font-size: 1.6em;
    }
    #main .custom .price .attention .title {
        font-size: 1.4em;
    }
}