@charset "UTF-8";
/* CSS Document */
html {
    font-family: "Noto Sans JP", sans-serif;
}
body {
    line-height: 1.5;
    animation: loading 3s;
}
@keyframes loading {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
section {
    width: 100%;
    overflow: hidden;
}
div, dl, dt, dd {
    box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6, h7 {
    white-space: nowrap
}
ul {
    list-style: none;
}
img {
    width: 100%;
}
a {
    text-decoration: none;
}
.red {
    color: #C03335;
}
.blue {
    color: #3D8FCB;
}
.darkblue {
    color: #315A81;
}
.steelBlue {
    color: #3A5362;
}
.black {
    color: #000;
}
.GraOrange {
    background: linear-gradient(-120deg, rgba(227, 79, 93, 1), rgba(246, 104, 90, 1) 50%, rgba(227, 79, 93, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.block {
    display: block;
}
.w600 {
    font-weight: 600;
}
.w700 {
    font-weight: 700;
}
.w900 {
    font-weight: 900;
}
.pt1 {
    padding-top: 1em;
}
.txt14 {
    font-size: clamp(12px, 1.3vw, 14px);
}
.txt12 {
    font-size: clamp(10px, 1.1vw, 12px);
}
.txt18 {
    font-size: clamp(16px, 1.8vw, 18px);
}
.txt20 {
    font-size: clamp(16px, 1.8vw, 20px);
}
.txt24 {
    font-size: clamp(18px, 2.2vw, 24px);
}
.txt28 {
    font-size: clamp(1.313rem, 1.154rem + 0.64vw, 1.75rem);
}
.txt32 {
    font-size: clamp(1.25rem, 0.977rem + 1.09vw, 2rem);
}
.txt36 {
    font-size: clamp(1.125rem, 0.716rem + 1.64vw, 2.25rem);
}
.txt40 {
    font-size: clamp(1.75rem, 1.477rem + 1.09vw, 2.5rem);
}
.txt42 {
    font-size: clamp(1.125rem, 0.58rem + 2.18vw, 2.625rem);
}
.txt45 {
    font-size: clamp(1.313rem, 0.768rem + 2.18vw, 2.813rem);
}
.txt47 {
    font-size: clamp(1.625rem, 1.148rem + 1.91vw, 2.938rem);
}
.txt53 {
    font-size: clamp(2rem, 1.523rem + 1.91vw, 3.313rem);
}
.txt60 {
    font-size: clamp(1.875rem, 1.193rem + 2.73vw, 3.75rem);
}
.txt62 {
    font-size: clamp(2.25rem, 1.659rem + 2.36vw, 3.875rem);
}
.txt70 {
    font-size: clamp(2.375rem, 1.648rem + 2.91vw, 4.375rem);
}
.txt75 {
    font-size: clamp(2.375rem, 1.534rem + 3.36vw, 4.688rem);
}
.txt80 {
    font-size: clamp(2.375rem, 1.42rem + 3.82vw, 5rem);
}
.txt105 {
    font-size: clamp(2.375rem, 0.852rem + 6.09vw, 6.563rem);
    line-height: 1;
}
.txt115 {
    font-size: clamp(3.125rem, 1.648rem + 5.91vw, 7.188rem);
}
.txt140 {
    font-size: clamp(3.875rem, 2.102rem + 7.09vw, 8.75rem);
}
.fadein {
    opacity: 0;
    transform: translate(0, 30px);
    transition: all 1.8s;
}
.fadein.scrollin {
    opacity: 1 !important;
    transform: translate(0, 0);
    ;
}
@media screen and (max-width: 768px) {}
.Roboto {
    font-family: "Roboto", sans-serif;
    font-style: normal;
}
.M1p {
    font-family: "M PLUS 1p", sans-serif;
    font-style: normal;
}
.Mochiy {
    font-family: "Mochiy Pop One", sans-serif;
    font-style: normal;
}
.ZenMaru {
    font-family: "Zen Maru Gothic", serif;
    font-style: normal;
}
.Btn {
    display: block;
    width: 80%;
    background-image: linear-gradient(135deg, rgba(240, 144, 46, 1) 10%, rgba(236, 135, 11, 1), rgba(255, 195, 111, 1), rgba(236, 135, 11, 1));
    text-align: center;
    color: #fff;
    margin: 0 auto;
    padding: 0.75rem;
    position: relative;
    border: 1px solid #fff;
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.25);
    background-size: 200% 200%;
    animation: bggrdAnime 3s linear infinite;
}
@keyframes bggrdAnime {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}
.CT3-Btn {
    max-width: 243px;
    border-radius: 50px;
}
.CT3-Btn::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10%;
    width: 25px;
    height: 25px;
    margin: auto;
    border-radius: 13px;
    border: 2px solid #fff;
    box-sizing: border-box;
}
.CT3-Btn::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 13.5%;
    width: 8px;
    height: 8px;
    margin: auto;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    box-sizing: border-box;
}
.CT3-Btn::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10%;
    width: 21px;
    height: 21px;
    margin: auto;
    border-radius: 11px;
    border: 2px solid #fff;
    box-sizing: border-box;
}
.CT3-Btn::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 13.5%;
    width: 8px;
    height: 8px;
    margin: auto;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    box-sizing: border-box;
}
.CT-Btn {
    max-width: 780px;
    border-radius: 50px;
}
.CT-Btn::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 15%;
    width: 48px;
    height: 48px;
    margin: auto;
    border-radius: 24px;
    border: 2px solid #fff;
    box-sizing: border-box;
}
.CT-Btn::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 17.5%;
    width: 15px;
    height: 15px;
    margin: auto;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    box-sizing: border-box;
}
.max1900, .max768, .max650 {
    display: none;
}
@media screen and (max-width: 1900px) {
    .max1900 {
        display: block;
    }
}
@media screen and (max-width: 768px) {
    .max1900 {
        display: none;
    }
    .max768 {
        display: block;
    }
    .CT3-Btn::before {
        right: 10.5%;
        border: 1px solid #fff;
    }
    .CT3-Btn::after {
        border-top: 1px solid #fff;
        border-right: 1px solid #fff;
    }
    .TI-btn::before {
        right: 9.5%;
        border: 1px solid #fff;
    }
    .TI-btn::after {
        border-top: 1px solid #fff;
        border-right: 1px solid #fff;
    }
    .CT-Btn::before {
        right: 8%;
        width: 40px;
        height: 40px;
    }
    .CT-Btn::after {
        right: 10.5%;
        width: 13px;
        height: 13px;
    }
}
@media screen and (max-width: 650px) {
    .max650 {
        display: block;
    }
}
@media screen and (max-width: 550px) {
    .CT-Btn::before {
        right: 8%;
    }
    .CT-Btn::after {
        right: 11.5%;
    }
}
@media screen and (max-width: 450px) {
    .CT-Btn::before {
        right: 8%;
    }
    .CT-Btn::after {
        right: 13%;
    }
}
/*------------------------------------
TOP
-------------------------------------*/
#Top {
    background-image: url("../img/bg-first.svg");
    background-size: cover;
    background-repeat: no-repeat;
    width: 100vw;
    height: calc(100vw * 0.5625);
    position: relative;
    overflow: hidden;
}
#Top::after {
    content: "";
    background-image: url("../img/top_docter.svg");
    background-repeat: no-repeat;
    background-size: contain;
    width: 17vw;
    height: calc(17vw * 1.32117);
    position: absolute;
    bottom: -10px;
    right: 10%;
}
#Top h1 {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url("../img/mag.svg");
    background-size: contain;
    background-repeat: no-repeat;
    max-width: 1830.9px;
    max-height: 1269.5px;
    width: 95vw;
    height: calc(95vw * 0.69444);
}
.pretitleWrap {
    position: relative;
}
.pretitleWrap::before {
    content: "";
    background-image: url("../img/flag.svg");
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: -23%;
    bottom: -30%;
    max-width: 620px;
    max-height: 399px;
    width: 29vw;
    height: calc(29vw * 0.6435);
}
.pretitleWrap::after {
    content: "";
    background-image: url(../img/question.svg);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 95%;
    bottom: 70%;
    max-width: 572px;
    max-height: 238px;
    width: 25vw;
    height: calc(25vw * 0.416);
}
.pretitleWrap .blue {
    font-weight: 800;
    position: relative;
}
.threeline::before, .threeline2::before {
    content: "";
    position: absolute;
    bottom: 90%;
    left: 50%;
    transform: translateX(-50%);
    background-repeat: no-repeat;
    background-size: contain;
    width: 53px;
    height: 45px;
    z-index: -1;
}
.threeline::before {
    background-image: url("../img/threeline.svg");
}
.threeline2::before {
    background-image: url("../img/threeline2.svg");
}
.maintitleWrap {
    font-weight: 900;
    position: relative;
}
.maintitleWrap::before {
    content: "";
    background-image: url("../img/sballoon.svg");
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: -36%;
    bottom: 0;
    max-width: 392px;
    max-height: 397px;
    width: 25vw;
    height: calc(25vw * 1.0127);
    animation: balloon ease 2s;
}
@keyframes balloon {
    0% {
        transform: scale(1)
    }
    20% {
        transform: scale(1)
    }
    40% {
        transform: scale(1, 0.9)
    }
    60% {
        transform: scale(1)
    }
    80% {
        transform: scale(1, 0.9)
    }
    100% {
        transform: scale(1)
    }
}
.maintitleWrap .txt140 {
    color: #315A81;
}
.maintitleWrap .txt115 {
    color: #518AB4;
}
.txtboxWrap {
    display: flex;
    column-gap: 20px;
    margin-bottom: 3rem;
}
.txtboxItem {
    background-color: #E34F5D;
    padding: 0.25em;
    line-height: 1;
    color: #fff;
    font-weight: 900;
}
.txtrotate {
    transform: rotate(6.62deg);
}
.rotation {
    animation: rotate ease 2.5s;
}
@keyframes rotate {
    0% {
        transform: rotateY(0);
    }
    100% {
        transform: rotateY(360deg);
    }
}
.TopCatch {
    width: 45%;
    text-align: center;
    font-weight: 900;
}
@media screen and (max-width: 1280px) {
    #Top::after {
        bottom: -10px;
        right: 3%;
    }
    .pretitleWrap::before {
        left: -23%;
        bottom: -30%;
        width: 29vw;
        height: calc(29vw * 0.6435);
    }
    .pretitleWrap::after {
        left: 103%;
        bottom: -410%;
        max-width: 572px;
        max-height: 238px;
        width: 25vw;
        height: calc(25vw * 0.416);
    }
    .maintitleWrap::before {
        left: -30%;
    }
    .txtboxWrap {
        margin-bottom: 1.5rem;
    }
}
@media screen and (max-width: 768px) {
    #Top {
        background-image: url("../img/bg-first-sp.svg");
        height: 100vh;
        max-height: 667px;
    }
    #Top::after {
        min-width: 150px;
        min-height: 198px;
        width: 30vw;
        height: calc(30vw * 1.32117);
        right: 1%;
    }
    #Top h1 {
        width: 120vw;
        height: calc(120vw * 0.69444);
        text-align: center;
    }
    .pretitleWrap {
        margin-top: 1em;
    }
    .pretitleWrap::before {
        left: -20%;
        bottom: -50%;
        min-width: 320px;
        min-height: 206px;
        width: 50vw;
        height: calc(50vw * 0.6435);
        z-index: -1;
        transform: rotate(5deg);
    }
    .pretitleWrap::after {
        background-image: url(../img/question-sp.svg);
        left: 71%;
        bottom: 80%;
        min-width: 243.24px;
        min-height: 96.64px;
        width: 35vw;
        height: calc(35vw* 0.416);
    }
    .threeline2::before {
        background-image: url("../img/threeline2-sp.svg");
    }
    .maintitleWrap {
        line-height: 1;
        margin: 1em 0;
    }
    .maintitleWrap::before {
        background-image: url(../img/sballoon-sp.svg);
        left: -22%;
        bottom: 30%;
        min-width: 135px;
        min-height: 140px;
        width: 25vw;
        height: calc(25vw * 1.037);
        z-index: -1;
    }
    .txtboxWrap {
        margin-bottom: 1em;
    }
}
@media screen and (max-width: 650px) {
    #Top h1 {
        width: 140vw;
        height: calc(140vw* 0.69444);
        top: 50%;
    }
    .pretitleWrap::before {
        left: -20%;
        bottom: -50%;
        width: 55vw;
        height: calc(55vw* 0.6435);
        transform: rotate(0);
    }
    .pretitleWrap::after {
        left: 60%;
    }
    .TopCatch {
        position: absolute;
        bottom: 0;
        left: 10%;
    }
}
@media screen and (max-width: 500px) {
    #Top h1 {
        width: 175vw;
        height: calc(175vw* 0.69444);
        top: 45%;
    }
    .pretitleWrap::after {
        left: -18%;
        bottom: -800%;
        min-width: 243.24px;
        min-height: 96.64px;
        width: 35vw;
        height: calc(35vw* 0.416);
    }
    .pretitleWrap::before {
        left: -22%;
    }
    .threeline::before, .threeline2::before {
        width: 33px;
        height: 28px;
    }
    .TopCatch {
        bottom: -10%;
        left: 26%;
        width: fit-content;
    }
}
@media screen and (max-width: 450px) {
    .pretitleWrap::after {
        left: -8%;
        bottom: -800%;
    }
    .TopCatch {
        bottom: -22%;
        left: 24%;
    }
    .txtboxWrap {
        column-gap: 10px;
    }
}
/*------------------------------------
絞り込み検索欄
-------------------------------------*/
#SearchBox {
    background-color: #EFEFEF;
    padding-bottom: 6rem;
}
#SearchBox h2 {
    display: block;
    position: relative;
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1.5em;
    background-color: #315A81;
    font-size: clamp(18px, 2vw, 36px);
    color: #fff;
    text-align: center;
}
#SearchBox h2::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20%;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(-45deg) translateY(-50%);
    width: 15px;
    height: 15px;
}
#SearchBox .Age, #SearchBox .Level, #SearchBox .Conditions, #SearchBox .Purpose {
    max-width: 984px;
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    column-gap: 5px;
    margin: 0 auto;
    margin-bottom: 0.5em;
}
#SearchBox h3 {
    width: 100%;
    display: block;
    text-align: center;
    background-color: #315A81;
    padding: 1em;
    color: #fff;
}
.SearchRadio, .SearchCheck {
    display: block;
    width: calc((100% - 15px) / 4);
    margin: 1em 0;
}
.Purpose .SearchCheck {
    width: calc((100% - 10px) / 3);
}
#SearchBox label {
    display: block;
    width: 100%;
    padding: 1em 0;
    box-sizing: border-box;
    border: 1px solid #A8A8A8;
    border-radius: 10px;
    background-color: #fff;
    transition: all 0.2s ease-in;
    color: #000;
    font-size: clamp(15px, 1.5vw, 16px);
    text-align: center;
}
input[type="radio"], input[type="checkbox"] {
    display: none;
}
#SearchBox input:checked + label {
    background-color: #ABC9DF;
}
#SearchBox .Level label img {
    max-width: 98px;
    max-height: 108px;
}
.SearchBoxBtn {
    display: flex;
    justify-content: center;
    column-gap: 2em;
    flex-wrap: wrap;
}
.SearchBoxBtn button {
    display: inline-block;
    padding: 0.5rem 2rem;
    border: 1px solid #A8A8A8;
    border-radius: 10px;
    background-color: #fff;
}
#searchButton {
    max-width: 356px;
    min-width: 335px;
    width: 90%;
    background-color: #518AB4;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}
#clearButton {
    max-width: 167px;
    min-width: 164px;
    width: 43%;
    font-size: clamp(15px, 1.5vw, 16px);
}
/* ボタンの基本スタイル */
#searchButton, #clearButton {
    transition: all 0.3s ease; /* エフェクトのスムーズな遷移 */
}
/* クリック時に変化するスタイル */
#searchButton:active, #clearButton:active {
    transform: scale(0.95); /* 少し縮める */
    background-color: #5a5a5a; /* クリック時の背景色を変更 */
}
.filtered #ClinicTop3::before, .filtered .bg, .filtered .CT-clifor .Voice, .filtered #ClinicTop3 .RecommendPoint {
    display: none !important;
    content: none !important;
}
.filtered .CT-Box {
    margin-bottom: 3rem !important;
}
@media screen and (max-width: 768px) {
    #SearchBox {
        padding-bottom: 4em;
    }
    #SearchBox h2::after {
        top: 44%;
        right: 5%;
        border-left: 2px solid #fff;
        border-bottom: 2px solid #fff;
        transform: rotate(-45deg) translateY(-50%);
        width: 11px;
        height: 11px;
    }
    #SearchBox .Age, #SearchBox .Level, #SearchBox .Conditions, #SearchBox .Purpose {
        margin-bottom: 1em;
        row-gap: 1em;
    }
    #SearchBox label {
        padding: 1em 0;
    }
    #SearchBox .Conditions {
        margin-bottom: 4em;
    }
    .SearchRadio, .SearchCheck {
        width: calc((100% - 5px) / 2);
        margin: 0;
    }
    .Purpose .SearchCheck {
        width: calc((100% - 5px) / 2);
    }
    .SearchBoxBtn {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        row-gap: 2em;
    }
}
/*---------------------------------
今選ぶべきAGAクリニックTOP3
---------------------------------*/
#CheckTop3 {
    padding: 5% 0;
}
#CheckTop3 .preCatch {
    position: relative;
    display: block;
    width: fit-content;
    margin: 0 auto 2em;
}
#CheckTop3 .preCatch::before, #CheckTop3 .preCatch::after {
    content: "";
    position: absolute;
    bottom: 0;
    background-image: url("../img/best3-smhair.svg");
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 42px;
    max-height: 57px;
    width: 10vw;
    height: calc(10vw * 1.3571);
}
#CheckTop3 .preCatch::before {
    left: -12%;
}
#CheckTop3 .preCatch::after {
    right: -12%;
}
.CT3-Title {
    max-width: 1711px;
    width: 90%;
    height: 152px;
    position: relative;
    margin: 0 auto;
}
.CT3-Title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    clip-path: polygon(8% 0%, 100% 0%, 93% 100%, 0% 100%);
    background-color: #315A81;
    width: 100%;
    max-height: 142px;
    height: 142px;
    z-index: 0;
}
.CT3-Title::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    clip-path: polygon(8% 0%, 100% 0%, 93% 100%, 0% 100%);
    background-color: #699DBC;
    width: 100%;
    max-height: 142px;
    height: 142px;
    z-index: -1;
}
.CT3-Title h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.CT3-Title h2::before {
    content: "";
    display: inline-block;
    background-image: url("../img/best3-hair.svg");
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 318px;
    width: 25vw;
    max-height: 267px;
    height: calc(25vw * 0.8396);
}
.CT3-Title h2::after {
    content: "";
    display: inline-block;
    background-image: url("../img/best3.svg");
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 249px;
    width: 20vw;
    max-height: 249px;
    height: calc(20vw * 1);
}
.CT3-Wrap {
    max-width: 1181px;
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(8, auto);
    grid-template-areas:
        "........ clifor ....."
        "hairtect clifor oncli"
        "hairtect clifor oncli"
        "hairtect clifor oncli"
        "hairtect clifor oncli"
        "hairtect clifor oncli"
        "hairtect clifor oncli"
        "hairtect ...... oncli";
    column-gap: 10%;
    margin-top: 5%;
}
.CT3-WrapItem {
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    box-shadow: 2px 2px 5px 0 rgba(51, 51, 51, 0.33);
    display: grid;
    grid-template-rows: repeat(4, auto);
    padding-bottom: 2em;
}
.CT3-WrapItem:first-child {
    grid-area: hairtect;
}
.CT3-WrapItem:nth-child(2) {
    grid-area: clifor;
    border: 6px solid #58A1D8;
}
.CT3-WrapItem:last-child {
    grid-area: oncli;
}
.CT3-WrapItem h3 {
    padding: 1em 0;
    text-align: center;
    grid-row: 1 / 2;
}
.CT3-WrapItem:first-child h3, .CT3-WrapItem:last-child h3 {
    background-color: #CAD3DB;
}
.CT3-WrapItem:nth-child(2) h3 {
    background-color: #58A1D8;
}
.CT3-img {
    grid-row: 2 / 3;
    width: 80%;
    max-width: 235px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.CT3-img img {
    width: 80%;
}
.CT3-detail {
    grid-row: 3 / 4;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 5px;
    width: 80%;
    margin: 0 auto 2em;
}
.CT3-detail li {
    display: grid;
    grid-template-rows: 30px 50px 50px;
    width: calc((100% - 5px) / 2);
    background-color: #F9F9F9;
    place-items: center;
    align-items: center;
}
.CT3-detail li:first-child h4, .CT3-detail li:nth-child(2) h4 {
    background-color: #315A81;
    color: #fff;
}
.CT3-detail li:nth-child(3) h4, .CT3-detail li:last-child h4 {
    background-color: #BDCDDB;
}
.CT3-detail h4 {
    grid-row: 1 / 2;
    text-align: center;
    padding: 0.25em;
    font-weight: 400;
    width: 100%;
}
.CT3-detail img {
    max-width: 32px;
    grid-row: 2 / 3;
    align-self: flex-end;
}
.CT3-detail p {
    grid-row: 3 / 4;
    line-height: 1.3;
    padding-bottom: 0.25em;
}
.CT3-Note {
    max-width: 1181px;
    width: 90%;
    margin: 1em auto;
}
@media screen and (max-width: 1280px) {
    .CT3-Wrap {
        column-gap: 5%;
    }
}
@media screen and (max-width: 768px) {
    #CheckTop3 .preCatch::before {
        left: -40%;
    }
    #CheckTop3 .preCatch::after {
        right: -40%;
    }
    .CT3-Title {
        width: 95%;
        height: 95px;
    }
    .CT3-Title::before, .CT3-Title::after {
        height: 95px;
    }
    .CT3-Title h2 {
        line-height: 95px;
    }
    .CT3-Title h2::before {
        background-image: url(../img/best3-hair-sp.svg);
        width: 18vw;
        height: calc(18vw * 01.1652);
        margin-top: 15px;
    }
    .CT3-Title h2::after {
        background-image: url(../img/best3-sp.svg);
        width: 20vw;
        height: calc(20vw * 1);
    }
    .CT3-Wrap {
        max-width: 600px;
        grid-template-columns: 100%;
        grid-template-rows: repeat(3, auto);
        grid-template-areas:
            "clifor"
            "hairtect"
            "oncli";
        column-gap: 0;
        margin-top: 5em;
        grid-row-gap: 3em;
    }
    .CT3-Note {
        max-width: 600px;
    }
}
@media screen and (max-width: 400px) {
    .CT3-Title h2 {
        line-height: 1.5;
        bottom: 0;
        top: inherit;
        transform: translate(-50%, 0);
        display: block;
    }
    .CT3-Title h2::before {
        width: 28vw;
        height: calc(28vw* 01.1652);
        position: absolute;
        left: -23%;
        bottom: -35%;
    }
    .CT3-Title h2::after {
        width: 25vw;
        height: calc(25vw* 1);
        position: absolute;
        right: -32%;
        bottom: 0px;
        z-index: -1;
    }
    .CT3-Wrap {
        margin-top: 3em;
    }
}
/*---------------------------------
徹底比較
----------------------------------*/
#Compare {
    background-color: #C7DCEE;
    padding: min(7vw, 150px) 0;
}
.Compare-Title {
    max-width: 1711px;
    width: 90%;
    position: relative;
    margin: 0 auto;
}
.Compare-Title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    clip-path: polygon(8% 0%, 100% 0%, 93% 100%, 0% 100%);
    background-color: #fff;
    width: 100%;
    max-height: 142px;
    height: 142px;
    z-index: 1;
}
.Compare-Title::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    clip-path: polygon(8% 0%, 100% 0%, 93% 100%, 0% 100%);
    background-color: #518AB4;
    width: 100%;
    max-height: 142px;
    height: 142px;
    z-index: 0;
}
.Compare-Title h2 {
    display: block;
    text-align: center;
    position: relative;
    line-height: 142px;
    z-index: 1;
    color: #000;
    margin-bottom: 0.75em;
}
.Compare-Title span {
    position: relative;
}
.Compare-Title span::after {
    content: "";
    position: absolute;
    bottom: -70%;
    right: -100%;
    background-image: url("../img/cmp-hair.svg");
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 249px;
    width: 20vw;
    max-height: 249px;
    height: calc(20vw * 1.55457);
}
.Compare-txt {
    max-width: 978px;
    width: 90%;
    margin: 0 auto;
}
.Table-wrap {
    width: 90%;
    margin: 0 auto;
}
.Compare-Table {
    max-width: 1127px;
    min-width: 850px;
    width: 90%;
    margin: 2em auto 0;
    border-collapse: collapse;
    table-layout: fixed;
    text-align: center;
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.25);
}
.Compare-Table thead {
    border-radius: 10px 0 0 0;
}
.Compare-Table thead th {
    padding: 1em 0.75em;
    border-radius: 0 10px 0 0;
}
.Compare-Table thead th img {
    padding: 30px;
    background-color: #fff;
}
.Compare-Table thead .TableItem-clifor {
    color: #1D418A;
}
.Compare-Table thead .TableItem-title {
    border-radius: 10px 0 0 0;
}
.CTI-radius1 {
    border-radius: 0 0 0 10px;
}
.CTI-radius2 {
    border-radius: 0 0 10px 0;
}
.TableItem-title {
    background-color: #518AB4;
    box-shadow: 4px 0 4px 0 rgba(0, 0, 0, 0.25);
    vertical-align: middle;
    color: #fff;
    width: 15%;
}
.TableItem-clifor {
    background-color: #FFF6D6;
    box-shadow: 4px 0 4px 0 rgba(0, 0, 0, 0.25) inset;
    vertical-align: middle;
}
.TableItem-hairtect {
    background-color: #fff;
    box-shadow: 4px 0 4px 0 rgba(0, 0, 0, 0.25) inset;
    vertical-align: middle;
}
.TableItem-oncli {
    background-color: #fff;
    box-shadow: 4px 0 4px 0 rgba(0, 0, 0, 0.25) inset;
    vertical-align: middle;
}
.Compare-Table td {
    padding: 1em;
}
.Compare-Table td img {
    max-width: 32px;
}
.oneTime {
    position: relative;
}
.oneTime::before {
    content: "初回";
    border: 1px solid #518AB4;
    color: #518AB4;
    position: absolute;
    top: 0;
    left: 10%;
    font-size: 10px;
    padding: 5px 8px;
    border-radius: 10px;
}
#Compare ul {
    max-width: 1127px;
    width: 90%;
    margin: 1em auto;
}
.Attention {
    max-width: 1047px;
    width: 80%;
    margin: 5em auto 3em;
    background-color: #FFD23F;
    padding: 1em 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 2em;
    border-radius: 10px;
}
.Attention div {
    background-color: #fff;
    border-radius: 30px;
    width: 44%;
    padding: 1em;
}
.Attention p {
    width: 54%;
}
.Attention div p {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 2em;
}
.Attention div p::before {
    content: "";
    display: inline-block;
    background-image: url("../img/cmp-note.svg");
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 67px;
    max-height: 67px;
    min-width: 44px;
    min-height: 44px;
    width: 5vw;
    height: 5vw;
}
@media screen and (max-width: 1280px) {
    .Compare-Title span::after {
        bottom: -70%;
        right: -80%;
        width: 20vw;
        height: calc(20vw * 1.55457);
    }
    .Compare-Table {
        width: 100%;
    }
}
@media screen and (max-width: 950px) {
    .Table-wrap {
        overflow-x: auto;
    }
}
@media screen and (max-width: 768px) {
    .Compare-Title::before {
        height: 110px;
    }
    .Compare-Title::after {
        height: 110px;
    }
    .Compare-Title span {
        position: relative;
    }
    .Compare-Title h2 {
        line-height: 55px;
    }
    .Compare-Table {
        margin-top: 0.5em;
    }
    .Attention {
        width: 90%;
        flex-direction: column;
        row-gap: 1em;
        margin: 2em auto 1em;
    }
    .Attention div {
        width: 100%;
    }
    .Attention p {
        width: 100%;
    }
    .Attention div p {
        flex-direction: column;
        row-gap: 0.5em;
    }
    .scroll-txt {
        display: inline-block;
        color: #fff;
        margin-left: 1em;
        margin-top: 1.5em;
    }
    .arrow {
        display: inline-block;
        line-height: 1;
        position: relative;
        margin-left: 1em;
    }
    .arrow span {
        display: inline-block;
        width: 30vw;
        height: 10px;
        border-right: 1px solid #fff;
        border-bottom: 1px solid #fff;
        transform: skew(45deg);
        animation: scrollright 3s cubic-bezier(0.76, 0, 0.3, 1) forwards infinite;
    }
}
@keyframes scrollright {
    0% {
        width: 0;
        height: 0;
    }
    60% {
        width: 30vw;
        height: 10px;
    }
    100% {
        width: 0;
        height: 0;
    }
}
@media screen and (max-width: 400px) {
    .Compare-Title {
        width: 95%;
    }
    .Compare-Title::before {
        height: 95px;
    }
    .Compare-Title::after {
        height: 95px;
        top: 5px;
        left: 5px;
    }
    .Compare-Title h2 {
        line-height: 47px;
    }
    .Compare-Title span::after {
        bottom: -70%;
        right: -63%;
        width: 24vw;
        height: calc(24vw* 1.55457);
    }
    .Compare-txt {
        margin-top: 3.5em;
    }
}
/*---------------------------------
クリニック選びのPOINT
---------------------------------*/
#Point {
    background-image: url("../img/bg-gp.svg");
    clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 15vw), 0% 100%);
    background-repeat: repeat;
    padding: min(22vw, 220px) 0 min(15vw, 300px);
    position: relative;
    z-index: 0;
}
.Point-Container {
    max-width: 1143px;
    width: 90%;
    margin: 0 auto;
    background-image: linear-gradient(60deg, rgba(49, 90, 129, 1), rgba(59, 161, 210, 1));
    border-radius: 30px;
    padding: 10px;
    position: relative;
}
.Point-Container::before, .Point-Container::after {
    content: "";
    background-color: #fff;
    max-width: 120px;
    max-height: 127px;
    width: 10vw;
    height: calc(10vw * 1.05833);
    position: absolute;
}
.Point-Container::before {
    top: 0;
    left: 0;
}
.Point-Container::after {
    bottom: 0;
    right: 0;
}
.Point-Wrap {
    background-color: #fff;
    border-radius: 25px;
    position: relative;
    padding-top: 8em;
}
.Point-Wrap::before, .Point-Wrap::after {
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 80.27px;
    max-height: 70px;
    width: 7vw;
    height: calc(7vw * 0.875);
    position: absolute;
    z-index: 1;
}
.Point-Wrap::before {
    background-image: url("../img/point-Dhair1.svg");
    top: -2%;
    left: -2%;
}
.Point-Wrap::after {
    background-image: url("../img/point-Dhair2.svg");
    bottom: -2%;
    right: -2%;
}
.Point-Title {
    max-width: 875px;
    width: 90%;
    position: absolute;
    top: -3%;
    left: 50%;
    transform: translateX(-50%);
}
.Point-Title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    clip-path: polygon(8% 0%, 100% 0%, 93% 100%, 0% 100%);
    background-color: #F9F0BB;
    max-width: 875px;
    width: 76.5vw;
    max-height: 111px;
    height: calc(76.5vw* 0.1268);
    z-index: 1;
}
.Point-Title::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    clip-path: polygon(8% 0%, 100% 0%, 93% 100%, 0% 100%);
    background-color: #D9D9D9;
    max-width: 875px;
    width: 76.5vw;
    max-height: 111px;
    height: calc(76.5vw* 0.1268);
    z-index: 0;
}
.Point-Title h2 {
    display: block;
    text-align: center;
    position: relative;
    line-height: 111px;
    z-index: 1;
    color: #000;
    margin-bottom: 3rem;
    margin-left: 2em;
}
.Point-Title h2::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -13%;
    background-image: url("../img/point-hair.svg");
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 329px;
    width: 27vw;
    max-height: 204px;
    height: calc(27vw * 0.6257);
}
.TopDot {
    position: relative;
}
.TopDot::before {
    content: "";
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #315A81;
    max-width: 13px;
    max-height: 13px;
    width: 2vw;
    height: 2vw;
    border-radius: 50%;
}
.Point-desc {
    max-width: 545px;
    width: fit-content;
    margin: 0 auto 3em;
}
.Point-detail {
    max-width: 768px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 20%;
    row-gap: 3em;
}
.Point-detail li {
    width: calc((100% - 20%) / 2);
    display: grid;
    grid-template-rows: auto 90px 1fr;
    place-items: center;
    align-items: flex-start;
    grid-row-gap: 20px;
}
.Point-detail li h3 {
    grid-row: 1 / 2;
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    padding-bottom: 0.5rem;
}
.Point-detail li .PD-plan {
    padding-left: 1.5rem;
}
.Point-detail li h3::before {
    content: "";
    display: inline-block;
    background-image: url("../img/check-underline.svg");
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: -5px;
    left: 0;
}
.Point-detail li img {
    grid-row: 2 / 3;
    max-width: 75px;
}
.Point-detail li p {
    grid-row: 3 / 4;
    line-height: 1.75;
}
.Point-last-p {
    max-width: 718px;
    width: 90%;
    padding: 2em 0;
    margin: 0 auto;
}
@media screen and (max-width: 1280px) {
    .Point-detail {
        column-gap: 10%;
        width: 100%;
    }
    .Point-detail li {
        width: calc((100% - 10%) / 2);
    }
}
@media screen and (max-width: 768px) {
    .Point-Wrap {
        padding: 0 2em;
    }
    .Point-Wrap::before {
        z-index: -1;
    }
    .Point-Title {
        width: 95vw;
        top: -3%;
        left: 50%;
        transform: translateX(-50%);
    }
    .Point-Title::before {
        width: 95vw;
        height: calc(95vw* 0.1268);
        z-index: 1;
        max-height: 95px;
    }
    .Point-Title::after {
        width: 95vw;
        height: calc(95vw* 0.1268);
        max-height: 95px;
    }
    .Point-Title h2 {
        line-height: 95px;
        z-index: 1;
        color: #000;
        margin-bottom: 3rem;
        margin-left: 2em;
    }
}
@media screen and (max-width: 650px) {
    .Point-Container {
        max-width: 500px;
    }
    .Point-Wrap {
        max-width: 500px;
        margin: 0 auto;
    }
    .Point-Title {
        max-width: 550px;
        width: 95vw;
    }
    .Point-Title::before {
        max-width: 550px;
        height: calc(95vw* 0.4);
        z-index: 1;
        max-height: 110px;
    }
    .Point-Title::after {
        max-width: 550px;
        height: calc(95vw* 0.4);
        max-height: 110px;
    }
    .Point-Title h2 {
        line-height: 55px;
        letter-spacing: 0.05em;
        margin-left: 0;
        width: 93%;
    }
    .Point-Title h2 .txt62 {
        display: flex;
        justify-content: flex-end;
    }
    .TopDot::before {
        min-width: 8px;
        min-height: 8px;
        width: 1.5vw;
        height: 1.5vw;
    }
    .Point-Title h2::before {
        bottom: -50%;
        left: -2%;
        min-width: 184.57px;
        min-height: 124.68px;
        width: 35vw;
        height: calc(35vw* 0.6257);
    }
    .Point-desc {
        padding-top: 7em;
    }
    .Point-Wrap::before, .Point-Wrap::after {
        width: 10vw;
        height: calc(10vw* 0.875);
    }
    .Point-detail li {
        width: 90%;
        max-width: 300px;
    }
}
@media screen and (max-width: 450px) {
    .Point-desc {
        padding-top: 6em;
        margin: 0 auto 2em;
    }
    .Point-detail li {
        width: 100%;
    }
}
/*---------------------------------
人気のAGAクリニックTOP3
---------------------------------*/
#ClinicTop3 {
    padding: 4rem 0 0;
    position: relative;
}
.PreTitle {
    width: fit-content;
    margin: 0 auto;
    font-weight: bold;
    position: relative;
    padding: 0 2em;
}
.PreTitle::before {
    display: inline-block;
    content: url("../img/titleDeco2.svg");
    position: absolute;
    bottom: -5%;
    left: -20%;
}
.PreTitle::after {
    display: inline-block;
    content: url("../img/titleDeco1.svg");
    position: absolute;
    bottom: -5%;
    right: -20%;
}
#ClinicTop3 h2 {
    color: #315A81;
    text-align: center;
    font-weight: 900;
    position: relative;
    margin: 0 auto;
    width: fit-content;
}
#ClinicTop3 h2::before {
    content: "";
    position: absolute;
    left: -25%;
    bottom: 0;
    background-image: url("../img/pop-hair.svg");
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 204px;
    max-height: 230px;
    width: 20vw;
    height: calc(20vw * 1.127);
}
.CT-clifor, .CT-hairtect {
    position: relative;
    padding-bottom: 3em;
}
.CT-oncli {
    position: relative;
    padding-bottom: min(22vw, 220px);
}
.CT-clifor {
    margin-top: 4rem;
}
.bg {
    clip-path: polygon(0 15vw, 100% 0%, 100% 100%, 0% 100%);
    width: 100%;
    height: calc(100% + 15vw);
    position: absolute;
    display: inline-block;
    padding-bottom: min(15vw, 150px);
    top: 0;
    left: 0;
    z-index: -1;
}
.bg-clifor {
    background-color: #BDCDDB;
}
.bg-hairtect {
    background-color: #DDE1EA;
    margin-top: -7vw;
    padding-bottom: min(22vw, 220px);
    height: calc(100% + 22vw);
}
.bg-oncli {
    background-color: #F9F9F9;
    margin-top: -7vw;
    padding-bottom: min(22vw, 220px);
    height: calc(100% + 22vw);
}
.CT-Box {
    max-width: 1128px;
    width: 95%;
    margin: 0 auto;
    background-color: #EFEFEF;
    border-radius: 10px;
    padding-bottom: 5em;
    margin-bottom: 2em;
    margin-top: 4rem;
}
.CT-Box h3 {
    display: block;
    width: 100%;
    background-image: linear-gradient(105deg, rgba(109, 153, 194, 1), rgba(49, 90, 129, 1) 29%, rgba(24, 49, 74, 1));
    padding: 0.25em;
    text-align: center;
    font-size: clamp(24px, 4vw, 40px);
    color: #fff;
    border-radius: 10px 10px 0 0;
    box-sizing: border-box;
}
.CT-Box p {
    width: fit-content;
    margin: 2.5em auto;
    line-height: 1.7;
}
.BoxInner {
    max-width: 1029px;
    width: 88%;
    background-color: #fff;
    margin: 0 auto;
    padding: 5em 5em 3em;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-areas:
        "BI-img RateWrap"
        "BI-detail BI-detail"
        "BoxNote BoxNote";
    grid-row-gap: 20px;
    place-items: center;
    align-items: center;
}
.BI-img {
    grid-area: BI-img;
    max-width: 250px;
}
.RateWrap {
    grid-area: RateWrap;
    width: 100%;
}
.Total-Rate-Box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: clamp(15px, 1.5vw, 16px);
    border-bottom: 4px solid #BDCDDB;
}
.TR-Title {
    background-color: #315A81;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}
.starGray {
    position: relative;
    display: inline-block;
    background-repeat: repeat-x;
    width: 165px;
    height: 33px;
}
.Rate {
    display: inline-block;
    background-repeat: repeat-x;
    width: 162px;
    height: 33px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: auto;
}
.Rate-ClinicFor {
    width: 155px;
    height: 33px;
}
.Rate-Hairtect {
    width: 123px;
    height: 33px;
}
.Rate-Oncli {
    width: 99px;
    height: 33px;
}
.starGraySmall {
    position: relative;
    display: inline-block;
    background-repeat: repeat-x;
    width: 130px !important;
    height: 26px;
}
.Rate5 {
    width: 130px;
    height: 26px;
}
.Rate4 {
    width: 104px;
    height: 26px;
}
.Rate3 {
    width: 78px;
    height: 26px;
}
.Rate2 {
    width: 52px;
    height: 26px;
}
.Rate1 {
    width: 26px;
    height: 26px;
}
.TR-Num {
    background: linear-gradient(-20deg, rgba(184, 134, 11, 1), rgba(230, 184, 0, 1) 50%, rgba(255, 215, 0, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(50px, 5.2vw, 54px);
    line-height: 1.2;
}
.Num {
    display: flex;
    align-items: center;
    column-gap: 10px;
    font-size: clamp(18px, 2vw, 22px);
}
.RateWrap dl {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.Line-wrap {
    display: flex;
}
.Line {
    background: radial-gradient(#000 10%, transparent 30%) center/ 7px 7px;
    background: -ms-radial-gradient(#000 10%, transparent 30%) center/ 7px 7px;
    content: '';
    display: flex;
    flex: 1 1 auto;
    height: 7px;
    margin: 0 10px;
}
.RateWrap dt {
    font-size: clamp(0.875rem, 0.75rem + 0.53vw, 1.25rem);
}
.RateWrap dd {}
.BoxInner-detail {
    display: flex;
    flex-wrap: wrap;
    grid-area: BI-detail;
    margin-top: 3.5em;
    font-size: clamp(0.75rem, 0.667rem + 0.36vw, 1rem);
}
.BoxInner-detail dt {
    width: 21%;
    padding: 15px;
    background-color: #518AB4;
    text-align: center;
    color: #fff;
    border: 1px solid #A8A8A8;
    border-collapse: collapse;
    margin-bottom: -1px;
}
.BoxInner-detail dd {
    width: 79%;
    padding: 10px 3rem;
    border: 1px solid #A8A8A8;
    border-collapse: collapse;
    margin-bottom: -1px;
    margin-left: -1px;
}
.BoxNote {
    grid-area: BoxNote;
    max-width: 750px;
    width: 100%;
    place-self: start;
}
.RecommendPoint {
    max-width: 1021px;
    width: 90%;
    margin: 4rem auto;
    padding: 100px 7% 3%;
    position: relative;
    background-color: #fff;
    border-radius: 30px;
}
.CT-clifor .RecommendPoint {
    max-width: 766px;
    margin: 4rem 20% 0 auto;
    margin-bottom: 7.75%;
}
.CT-clifor .RecommendPoint::before, .CT-clifor .RecommendPoint::after {
    content: "";
    position: absolute;
    background-image: url("../img/bg-dotted.svg");
    background-repeat: no-repeat;
    background-size: contain;
    width: 25vw;
    height: calc(25vw * 0.8427);
}
.CT-clifor .RecommendPoint::before {
    top: -30%;
    left: -52%;
}
.CT-clifor .RecommendPoint::after {
    bottom: -40%;
    right: -6%;
    z-index: -1;
}
.RecommendPoint h4 {
    position: absolute;
    top: -5%;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    background-color: #E34F5D;
    color: #fff;
    clip-path: polygon(0 0, 100% 0%, 100% 70%, 50% 100%, 0 70%);
    padding: 1rem;
    text-align: center;
}
.RecommendPoint img {
    position: absolute;
    bottom: -50%;
    right: 93%;
    max-width: 322px;
    width: 20vw;
}
.RecommendPoint p {
    line-height: 1.75;
}
.RPCheckBox {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}
.RPCheckBox::before {
    content: url("../img/check.svg");
    display: inline-block;
}
.underlineYellow {
    background: linear-gradient(transparent 70%, rgba(241, 212, 107, 0.65) 70%);
}
.Voice {
    max-width: 1531px;
    width: 95%;
    margin: 0 0 4rem auto;
    background-color: #fff;
    padding: 8% 0 3% 5%;
    position: relative;
    border-radius: 10px 0 0 10px;
}
.VtitleImg {
    position: absolute;
    top: -20%;
    left: 15%;
    max-width: 697px;
    width: 45.5vw;
}
.Voice ul {
    display: grid;
    grid-template-columns: 28% 28% 30%;
    align-items: center;
    column-gap: 7%;
    max-width: 959px;
    width: 70%;
}
.Voice li {
    max-width: 270px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 1rem;
}
.Voice li img {
    max-width: 147px;
}
.underlineImg {
    background-image: url(../img/underline1.svg);
    width: 100%;
    background-repeat: no-repeat;
    background-position: bottom;
    padding-bottom: 20px;
    background-size: contain;
    text-align: center;
}
.Voice li p {
    line-height: 1.75;
}
@media screen and (max-width: 1280px) {
    .Total-Rate-Box {
        margin-bottom: 20px;
    }
    .BoxInner-detail {
        margin: 0 auto;
    }
    .RateWrap dd {
        width: fit-content;
    }
    .CT-clifor .RecommendPoint {
        margin: 4rem auto;
    }
    .RecommendPoint img {
        right: 83%;
        width: 18vw;
    }
    .Voice {
        max-width: 1531px;
        width: 90%;
        margin: 8em auto 4em;
        border-radius: 10px;
        padding: 8% 5% 3%;
    }
    .Voice ul {
        width: 100%;
        align-items: baseline;
    }
    .VtitleImg {
        top: -20%;
        left: 50%;
        transform: translateX(-50%);
        width: 60.5vw;
    }
    .BoxNote {
        padding-top: 1em;
    }
}
@media screen and (max-width: 1000px) {
    .BoxInner {
        width: 93%;
        grid-template-columns: 100%;
        grid-template-rows: repeat(4, auto);
        grid-template-areas:
            "BI-img"
            "RateWrap"
            "BI-detail"
            "BoxNote";
    }
    .Total-Rate-Box {
        justify-content: center;
        column-gap: 1em;
    }
}
@media screen and (max-width: 768px) {
    .CT-Box {
        padding-bottom: 2em;
    }
    .CT-Box p {
        margin: 1.5em auto;
    }
    .BoxInner {
        padding: 3em 1.25em 2em;
    }
    .BoxInner-detail dt {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30%;
        padding: 1em 0;
    }
    .BoxInner-detail dd {
        width: 70%;
        padding: 10px;
    }
    .RecommendPoint {
        margin: 3rem auto 2.5rem;
        padding: 65px 5% 3%;
    }
    .CT-clifor .RecommendPoint {
        padding: 65px 5% 15%;
    }
    .RecommendPoint img {
        right: 0;
        max-width: 230px;
        min-width: 161px;
        width: 35vw;
    }
    .RPCheckBox {
        white-space: normal;
        text-indent: -1.15em;
        padding-left: 1.15em;
        margin-left: 1.2em;
        margin-bottom: 1em;
        margin-right: 1em;
    }
    .VtitleImg {
        display: none;
    }
    .VtitleImg-sp {
        position: absolute;
        top: -20%;
        left: 50%;
        transform: translateX(-50%);
        max-width: 297px;
        width: 85vw;
    }
    .Voice {
        padding: 13% 5% 3%;
    }
    .BoxNote {
        font-size: 12px;
    }
}
@media screen and (max-width: 550px) {
    #ClinicTop3 h2::before {
        left: -10%;
        bottom: -12%;
        min-width: 91.6px;
        min-height: 102px;
        width: 25vw;
        height: calc(25vw* 1.127);
        transform: rotate(-20deg);
    }
    .Voice {
        padding: 25% 5% 3%;
    }
    .Voice ul {
        grid-template-columns: 100%;
        grid-row-gap: 3em;
        margin-bottom: 1em;
    }
    .Voice li {
        margin: 0 auto;
    }
    .VtitleImg-sp {
        top: -6%;
        min-width: 297px;
    }
}
@media screen and (max-width: 450px) {
    .Total-Rate-Box {
        display: grid;
        grid-template-columns: auto auto;
        grid-template-rows: auto auto;
    }
    .TR-Title {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        width: fit-content;
    }
    .starGray {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
    .TR-Num {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
    .RecommendPoint img {
        bottom: -40%;
    }
}
/*------------------------------------
知っておきたいAGAの基礎知識
-------------------------------------*/
#Knowledge {
    clip-path: polygon(0 15vw, 100% 0%, 100% 100%, 0% 100%);
    background-color: #fff;
    margin-top: max(-18vw, -280px);
    margin-bottom: 5em;
    padding: min(22vw, 270px) 0 0;
    overflow-x: hidden;
    height: calc(100% + 22vw);
}
.Knowledge-Title {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    position: relative;
    white-space: nowrap
}
.Knowledge-Title::before, .Knowledge-Title::after {
    content: "";
    width: 24.5vw;
    height: 4px;
    background-color: #4C7CA9;
}
.Knowledge-Title::before {
    margin-right: 2em;
}
.Knowledge-Title::after {
    margin-left: 2em;
}
.About-AGA {
    max-width: 1128px;
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 33% 33% 33%;
    grid-template-rows: repeat(7, auto);
    grid-template-areas:
        "A-img A-h3 A-h3"
        "A-img A-p A-p"
        "..... cloud ....."
        "S-title cloud ....."
        "symptom symptom symptom"
        "cure cure cure"
        "measures measures measures";
    column-gap: 0.5%;
    grid-row-gap: 3rem;
    margin-top: 5em;
}
.About-img {
    grid-area: A-img;
    max-width: 227px;
    justify-self: end;
}
.About-AGA h3 {
    grid-area: A-h3;
    background-color: #315A81;
    max-width: 640px;
    width: 100%;
    padding: 0.75rem;
    height: fit-content;
    text-align: center;
    color: #fff;
    position: relative;
    justify-self: center;
}
.About-AGA h3::after {
    content: "";
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #315A81;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    width: 30px;
    height: 20px;
    z-index: -1;
}
.About-AGA p {
    grid-area: A-p;
    justify-self: center;
}
.Cloud {
    grid-area: cloud;
    justify-self: center;
    background-image: url("../img/cloud.svg");
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 292px;
    width: 100%;
    height: 100%;
    aspect-ratio: 292 / 171;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}
.Cloud::before {
    content: "";
    background-image: url("../img/deadhair.svg");
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    bottom: 65%;
    left: 28%;
    width: 137.7px;
    height: 98.1px;
}
.Symptom-title {
    grid-area: S-title;
    background-color: #315A81;
    max-width: 289px;
    width: 100%;
    padding: 0.75rem;
    text-align: center;
    color: #fff;
}
.Symptom-wrap {
    grid-area: symptom;
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 848px;
    width: 100%;
    margin: 0 auto;
}
.Symptom-wrap li {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 10px;
    position: relative;
}
.Symptom-wrap li p {
    max-width: 186px;
    width: 100%;
    text-align: center;
    border-top: 1px solid #518AB4;
    border-bottom: 1px solid #518AB4;
    padding: 0.5em 0;
}
.Symptom-wrap img {
    max-width: 216px;
}
.Symptom-wrap li h5 {
    position: absolute;
    bottom: -7%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
}
.Cure {
    grid-area: cure;
    border: 1px solid #518AB4;
    position: relative;
    margin-top: 5em;
}
.Cure h4 {
    background-color: #315A81;
    max-width: 289px;
    width: 100%;
    padding: 0.75rem;
    text-align: center;
    color: #fff;
    position: absolute;
    top: -1em;
    left: -1px;
}
.Cure ul {
    display: flex;
    justify-content: center;
    padding: 5em 1em 2em;
}
.Cure li {
    width: calc(100% / 4);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    grid-row-gap: 4em;
    position: relative;
    border-left: 3px dotted rgba(81, 138, 180, 0.2);
}
.Cure li:first-child {
    border: none;
}
.Cure li::before {
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 95px;
    width: 4vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.Cure li:first-child::before {
    background-image: url("../img/treatment1.svg");
    height: calc(4vw * 1.0315);
    max-height: 98px;
}
.Cure li:nth-child(2)::before {
    background-image: url("../img/treatment2.svg");
    height: calc(4vw * 1);
    max-height: 95px;
}
.Cure li:nth-child(3)::before {
    background-image: url("../img/treatment3.svg");
    height: calc(4vw * 0.9894);
    max-height: 94px;
}
.Cure li:last-child::before {
    background-image: url("../img/treatment4.svg");
    height: calc(4vw * 0.7142);
    max-height: 98px;
}
.Measures {
    grid-area: measures;
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 3em;
    margin-top: 3em;
}
.Measures h4 {
    max-width: 294px;
    max-height: 56px;
    width: 100%;
    background-color: #C03335;
    color: #fff;
    text-align: center;
    position: relative;
    padding: 0.25em;
}
.Measures h4::before {
    content: "";
    background-color: #F8E0E0;
    max-width: 294px;
    max-height: 56px;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 7px;
    top: 7px;
    z-index: -1;
}
.Measures p {
    max-width: 800px;
    width: 90%;
}
@media screen and (max-width: 768px) {
    .About-AGA {
        grid-template-columns: 24.5% 24.5% 24.5% 24.5%;
        grid-template-rows: repeat(8, auto);
        grid-template-areas:
            "A-img A-h3 A-h3 A-h3"
            "A-img A-p A-p A-p"
            "..... ..... cloud cloud"
            "S-title S-title cloud cloud"
            "symptom symptom symptom symptom"
            "cure cure cure cure"
            "measures measures measures measures";
        column-gap: 0.5%;
        grid-row-gap: 1.5em;
        margin-top: 3em;
    }
    .Symptom-wrap {
        flex-wrap: wrap;
        row-gap: 2em;
    }
    .Symptom-wrap li {
        width: 45%;
    }
    .Symptom-wrap li img {
        width: 90%;
    }
    .Cure ul {
        flex-wrap: wrap;
    }
    .Cure li {
        width: calc(100% / 2);
        padding: 1em 0;
    }
    .Cure li:first-child {
        border-right: 3px dotted rgba(81, 138, 180, 0.2);
        margin-right: -3px;
    }
    .Cure li:nth-child(2) {
        align-self: baseline;
        border: none;
        margin-right: -3px;
    }
    .Cure li:nth-child(3) {
        border: none;
        border-top: 3px dotted rgba(81, 138, 180, 0.2);
    }
    .Cure li:last-child {
        border-top: 3px dotted rgba(81, 138, 180, 0.2);
    }
    .Cure li::before {
        width: 20vw;
    }
    .Cure li:first-child::before {
        height: calc(20vw * 1.0315);
    }
    .Cure li:nth-child(2)::before {
        height: calc(20vw * 1);
    }
    .Cure li:nth-child(3)::before {
        height: calc(20vw * 0.9894);
    }
    .Cure li:last-child::before {
        height: calc(20vw * 0.7142);
    }
    .Measures {
        flex-direction: column;
        row-gap: 2em;
    }
    .Knowledge-Title {
        display: block;
        width: fit-content;
        margin: 0 auto;
    }
    .Knowledge-Title::before, .Knowledge-Title::after {
        width: 18vw;
        height: 4px;
        display: inline-block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    .Knowledge-Title::before {
        left: -49%;
    }
    .Knowledge-Title::after {
        right: -49%;
    }
    .Cloud::before {
        bottom: 65%;
        left: 35%;
        width: 94.35px;
        height: 51.92px;
    }
    .Symptom-title {
        margin-bottom: 1.5em;
        margin-top: 0.5em;
    }
}
@media screen and (max-width: 500px) {
    .About-AGA {
        grid-template-columns: 24.5% 24.5% 24.5% 24.5%;
        grid-template-rows: repeat(9, auto);
        grid-template-areas:
            "A-img A-img ... ..."
            "A-h3 A-h3 A-h3 A-h3"
            "A-p A-p A-p A-p"
            "..... cloud cloud cloud"
            "..... cloud cloud cloud"
            "S-title S-title ... ..."
            "symptom symptom symptom symptom"
            "cure cure cure cure"
            "measures measures measures measures";
        column-gap: 0.5%;
        grid-row-gap: 0;
        margin-top: 0;
    }
    .About-img {
        max-width: 140px;
        justify-self: center;
    }
    .About-AGA h3 {
        margin-bottom: 1.75em;
    }
    .Cure ul {
        padding: 3em 0.5em 2em;
    }
}
/*---------------------------
ラストセクション
----------------------------*/
#Last {
    background-color: #C7DCEE;
    padding: 3em 3em 5em;
}
#Last div {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 361px;
    width: 90%;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 40px;
    text-align: center;
    padding: 4em 3em;
}
#Last div::after {
    content: "";
    background-image: url("../img/doctor3.svg");
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 244px;
    max-height: 255px;
    width: 20vw;
    height: calc(20vw * 1.0465);
    position: absolute;
    bottom: -42%;
    left: 83%;
}
@media screen and (max-width: 768px) {
    #Last {
        padding: 2em 3em 4em;
    }
    #Last div {
        padding: 2em 1em;
    }
    #Last div::after {
        min-width: 125px;
        min-height: 131px;
        width: 25vw;
        height: calc(25vw* 1.0465);
        bottom: -70%;
        left: 83%;
    }
}
@media screen and (max-width: 400px) {
    #Last div::after {
        bottom: -70%;
        left: 75%;
    }
}
/*-----------------------------
Footer
-----------------------------*/
footer {
    background-color: #315A81;
    padding: 1em;
    text-align: center;
    color: #fff;
}

footer a {
    color: #fff;
}

footer a:hover {
    text-decoration: underline;
}

/* 検索結果一覧のソート機能用スタイル */
.Additional-Title {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    position: relative;
    white-space: nowrap
}

.Additional-Table {
    max-width: 1127px;
    width: 90%;
    margin: 2em auto;
    border-collapse: collapse;
    table-layout: fixed;
    text-align: center;
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.25);
    background-color: #fff;
    border: 1px solid #518AB4;
}

.Additional-Table thead th {
    background-color: #518AB4;
    color: #fff;
    padding: 12px 8px;
    border: 1px solid #315A81;
    position: relative;
}

.Additional-Table tbody td {
    padding: 10px 8px;
    border: 1px solid #BDCDDB;
}

.Additional-Table tbody tr:nth-child(odd) {
    background-color: #F9F9F9;
}

.Additional-Table tbody tr:nth-child(even) {
    background-color: #fff;
}

.Additional-Table th.sortable {
    cursor: pointer;
    position: relative;
    padding-right: 20px;
    user-select: none;
}

.Additional-Table th.sortable:hover {
    background-color: #699DBC;
}

.sort-icon {
    position: absolute;
    right: 5px;
    font-size: 16px;
}

.Additional-Table a {
    color: #315A81;
    font-weight: bold;
    text-decoration: underline;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: #F0F7FF;
    transition: all 0.3s ease;
}

.Additional-Table a:hover {
    background-color: #C7DCEE;
    color: #000;
}

@media screen and (max-width: 768px) {
    .Additional-Table {
        min-width: 650px;
        font-size: 14px;
    }
    
    .Additional-Table th, 
    .Additional-Table td {
        padding: 8px 4px;
    }
}