@import url('https://fonts.googleapis.com/css?family=Sawarabi+Mincho');

html {
    color: #3e3a39;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: sans-serif;
    overflow-y: scroll;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

h1 {
    font-size: 2vw;
}

h2 {
    font-size: 2.5vw;
}

h3 {
    font-size: 1.5vw;
}

p {
    font-size: 1.1vw;
    font-weight: bold;
}

a {
    text-align: 1.1vw;
    text-decoration: none;
    color: #3e3a39;
}

header {
    position: fixed;
    /* 固定 */
    top: 0;
    left: 0;
    width: 100%;
    height: 140px;
    background-color: #fff;
    z-index: 10;
}


.title_area {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    width: 86%;
}

.logo img {
    width: 6%;
}

.logo h1 {
    font-family: 'Sawarabi Mincho', sans-serif;
}

.contact_btn {
    width: 14%;
    text-align: center;
}

.contact_btn_link {
    display: inline-block;
    padding: 5% 10%;
    background-color: #ffb040;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.1vw;
}

.contact_btn_link:hover {
    background-color: #d0d0d0;
}

.contact {
    font-size: 1vw;
    display: block;
}

button {
    background: #ffb040;
    border-radius: 10px;
    border: none;
    padding: 15px 50px;
    font-weight: bold;
    cursor: pointer;
    /* マウスオーバーで手のアイコン */
}

button a {
    color: #fff;
}

nav {
    width: 100%;
    background: #00ada9;
    color: #fff;
    padding: 6px 0;
    box-shadow: 0px 5px 6px rgba(0, 0, 0, 0.5);
    /* X座標 Y座標 ぼかし色 */
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 3%;
    list-style: none;
    padding: 0;
    width: 85%;
    margin: 10px auto;
}

nav ul li a {
    font-size: 16px;
    color: #fff;
}

main {
    padding-top: 140px;
    width: 100%;
    margin: 0 auto;
}

.left-bg {
    position: fixed;
    top: 0;
    left: -150px;
    width: 600px;
    height: 90vh;
    opacity: 0.1;
    background: url('../images/logo.png') no-repeat center/cover;
    z-index: -1;
}

article {
    padding-top: 100px;
}

.container {
    max-width: 100%;
    text-align: right;
}

.top_img {
    max-width: 100%;
    /* 画像の横幅 */
    height: 450px;
    /* 画像の縦幅 */
    overflow: hidden;
    /* はみ出した部分を隠す */
    position: relative;
    display: block;
    z-index: -1;
}

.top_img img {
    width: 100%;
    object-fit: cover;

    /* 滑らかな境界 */
    -webkit-mask-composite: destination-in;
    mask-composite: intersect;
}

/* 下からフェードイン */
.fade-bottom {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 2s ease;
}

.fade-bottom.show {
    opacity: 1;
    transform: translateY(0);
}

/* 左からフェードイン */
.fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease, transform 2s ease;
}

.fade-left.show {
    opacity: 1;
    transform: translateX(0);
}

/* 右からフェードイン */
.fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease, transform 3s ease;
}

.fade-right.show {
    opacity: 1;
    transform: translateX(0);
}

.top_area {
    width: 100%;
    padding-top: 0;
    position: relative;
}

.concept {
    width: 35%;
    height: 100%;
    padding: 8% 1%;
    background-color: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    z-index: -1;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

#text {
    opacity: 0;
    transform: translateY(1px);
    animation: fadeUp 4s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sub_text {
    font-size: 1.5vw;
    font-weight: bold;
    margin: 0;
    text-align: center;
}

.concept h2 {
    font-weight: bold;
    margin: 0;
    color: #00ada9;
    text-align: center;
}

.concept p {
    font-size: 1.2vw;
    text-align: center;
    line-height: 1.5;
}

.reservation_btn {
    text-align: center;
}

.reservation_btn button {
    width: 30%;
    align-items: center;
    background: #00ada9;
    border-radius: 20px;
    border: solid 3px #00ada9;
    color: #fff;
    padding: 2% 1%;
    font-size: 1.2vw;
    font-weight: bold;
    cursor: pointer !important;
    /* マウスオーバーで手のアイコン */
}

.btn_main:hover {
    background: #fff;
    color: #00ada9;
}

.reservation_btn .btn_treatment {
    margin-left: 15px;
    border: solid 3px #ffb040;
    background: #ffb040;
}

.reservation_btn a:last-child button:hover {
    background: #fff;
    color: #ffb040;
}

.reservation_area {
    margin: 0 auto;
    text-align: center;
}

.sub_concept {
    padding-top: 50px;
}

.reservation_area h2 {
    padding: 1rem 0;
    padding-top: 50px;
    margin-bottom: 0.2rem;
    background-image: linear-gradient(90deg, #b2d5de 0 25%, #ddcfb3 25% 50%, #b3ddb4 50% 75%, #ddbab3 75%);
    background-repeat: no-repeat;
    background-size: 35% 0.1rem;
    background-position: bottom;
    color: #353535;
    font-weight: bold;
    text-align: center;
}

.reservation_area h3 {
    line-height: 2;
}

.point {
    padding-top: 50px;
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.point h3 {
    line-height: normal;
}

.point div {
    width: 31%;
    border: solid 1px #00ada9;
    border-radius: 5%;
    padding: 4% 1% 2% 1%;
}

.point img {
    width: 20%;
}

.copyRight {
    text-align: center;
    background: #3e3a39;
    font-size: small;
    color: #fff;
    padding: 10px 0;
    margin: 0;
}

.online_area,
.treatment_area,
.reason_area,
.clinic_area {
    width: 100%;
    margin: 0 auto;
}

.online_area h2,
.treatment_area h2,
.reason_area h2,
.clinic_area h2 {
    font-size: 2vw;
}

.online_area .area_title,
.treatment_area .area_title,
.reason_area .area_title,
.clinic_area .area_title {
    font-size: 1.5vw;
    padding: 0.1rem 0;
    margin-bottom: 0.2rem;
    background-image: linear-gradient(90deg, #ddd 0 20%, rgba(0, 173, 169, 0.5) 20%);
    background-repeat: no-repeat;
    background-size: 100% 5%;
    background-position: bottom;
}

.area_title {
    width: 60%;
    margin: 0 auto;
}

.online_area section {
    width: 65%;
    margin: 0 auto;
    padding: 1% 0;
    border-radius: 30px;
}

.detail_text {
    display: flex;
    align-items: center;
    width: 90%;
    padding: 1em 1.5em;
    margin: 1em auto;
    color: #353535;
    border-bottom: solid 1px #dbdbdb;
}

.detail_text img {
    width: 4%;
    margin-right: 25px;
}

.detail_text p {
    font-size: 1.5vw;
    margin: 0;
}

.online_detail {
    text-align: center;
}

.online_detail h3 {
    font-size: 2vw;
    color: #ffb040;
    margin-bottom: 0;
}

.online_detail p {
    font-size: 1.2vw;
    line-height: 2;
}

.area_title {
    display: flex;
    align-items: center;
}

.area_title img {
    width: 5%;
    margin-right: 1%;
}

.treatment_area section {
    width: 65%;
    margin: 0 auto;
}

.treatment_area section div {
    padding: 0 3%;
}

.treatment_area h3 {
    margin: 3% 0 2% 0;
    text-align: center;
}

.treatment_area section p {
    /* font-size: 1.3vw; */
    margin: 0;
    padding-left: 1em;
    text-indent: -1em;
}

.remark {
    margin: 5% 0;
}

.remark p {
    font-weight: normal;
    line-height: 1.8;
}

.treatment_area section h2 {
    text-align: center;
    font-size: 1.5vw;
    position: relative;
    color: #333;
    display: inline-block;
    margin: 100px 30px;
    text-shadow: 0 0 2px white;
}

.treatment_area section h2:before {
    content: "";
    position: absolute;
    background: rgb(0, 173, 169, 0.1);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    top: 50%;
    border: dashed 3px white;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: -1;
    box-shadow: 0px 0px 0px 5px rgb(0, 173, 169, 0.1);
}

.detail_tre {
    font-size: 2vw;
    color: #ffb040;
}

.reason_area {
    overflow: hidden;
}

.reason_area section {
    position: relative;
    padding: 3% 0;
}

.reason_area section::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 70%;
    height: 100%;
    background: rgba(0, 173, 169, 0.1);
    border-bottom-right-radius: 50px;
    border-top-right-radius: 50px;
    z-index: -1;
}

.reason_list {
    width: 100%;
}

.reason_area_title {
    text-align: center;
    width: 100%;
}

.reason_area h2 {
    margin: 0;
}

.box-010 {
    text-align: center;
    position: relative;
    width: 60%;
    margin: 5em auto;
    padding: 2%;
    box-shadow: 0 2px 3px rgb(0 0 0 / 20%);
    background-color: #ffffff;
    color: #333333;
    z-index: 5;
}

.box-010 span {
    position: absolute;
    left: 30px;
    top: -15px;
    transform: translateX(-.3em) rotate(-5deg);
    padding: .5em 2em;
    border-right: 2px dotted rgb(0 0 0 / 10%);
    border-left: 2px dotted rgb(0 0 0 / 10%);
    box-shadow: 0 0 5px rgb(0 0 0 / 20%);
    background-color: rgb(255 255 255 / 40%);
    font-weight: 600;
    font-size: 1.2vw;
}

.box-010 img {
    width: 55%;
    height: 20%;
    margin: 2% 0;
}

.box-010 p {
    margin: 0;
    line-height: 2;
    font-size: 1.2vw;
}

.box-010 h3 {
    margin-top: 0;
}

.heading-6 {
    display: inline-block;
    position: relative;
    padding: 0 2.5em;
}

.heading-6::before,
.heading-6::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 50%;
    width: 45px;
    height: 3px;
    background-color: #ddd;
}

.heading-6::before {
    left: 0;
}

.heading-6::after {
    right: 0;
}

.clinic_area {
    width: 75%;
    border: solid 2px #ddd;
    border-radius: 30px;
    margin: 5% auto;
}

.clinic_area_title {
    text-align: center;
}

.clinic_area_title img {
    margin-right: 15px;
    width: 3%;
}

.clinic_area section {
    width: 90%;
    margin: 0 auto;
    padding: 2% 0;
    margin-bottom: 5%;
}

.clinic_list {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    text-align: center;
    margin: 3% 0;
}

.clinic_list a,
.clinic_list div {
    width: 32%;
}

.clinic_list img {
    width: 70%;
    height: 170px;
}

.heading-29 {
    display: inline-block;
    position: relative;
    margin: calc(3.5em / 2) 0 calc(3.5em / 4) calc(3.5em / 2);
    line-height: 1;
}

.heading-29::before {
    position: absolute;
    bottom: calc(-3.5em / 4);
    left: calc(-3.5em / 2);
    z-index: -1;
    width: 3em;
    height: 3em;
    border-radius: 50%;
    background: rgba(255, 176, 64, 0.2);
    content: '';
}

.button-54 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 250px;
    margin-left: auto;
    margin-right: 0;
    padding: .9em 3em .9em 2em;
    border: 1px solid #00ada9;
    border-radius: 5px;
    background-color: #fff;
    color: #00ada9;
    font-size: 1em;
}

.button-54::after {
    position: absolute;
    right: 2em;
    transform: translateY(-50%);
    transform-origin: left;
    width: 2em;
    height: .5em;
    background-color: #00ada9;
    clip-path: polygon(0 100%, 100% 100%, 70% 40%, 70% 90%, 0% 90%);
    content: '';
    transition: transform .3s;
}

.button-54:hover::after {
    transform: translateY(-50%) scaleX(1.4);
}

.heading-7 {
    display: inline-block;
    position: relative;
    color: #333;
}

.heading-7:before {
    content: '';
    display: inline-block;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #00ada9;
}

/* よくある質問ページ */
.page_title {
    text-align: center;
}

.page_title h1 {
    margin: 0;
    padding: 1rem 0;
    margin-bottom: 100px;
    background-image: linear-gradient(90deg, #b2d5de 0 25%, #ddcfb3 25% 50%, #b3ddb4 50% 75%, #ddbab3 75%);
    background-repeat: no-repeat;
    background-size: 15% 0.1rem;
    background-position: bottom;
    color: #353535;
    font-weight: bold;
    text-align: center;
}

.question_area {
    width: 55%;
    margin: 0 auto;
    margin-bottom: 100px;
}

.question_page .reservation_btn {
    margin-bottom: 5%;
}

.accordion-003 {
    /* max-width: 500px; */
    margin-bottom: 7px;
    border-bottom: 2px solid #d0d0d0;
}

.accordion-003 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 2em 2em;
    color: #333333;
    font-weight: 600;
    font-size: 1.3vw;
    cursor: pointer;
}

.accordion-003 summary::-webkit-details-marker {
    display: none;
}

.accordion-003 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .3s;
}

.accordion-003[open] summary::after {
    transform: rotate(225deg);
}

.accordion-003 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 2em 1.5em;
    font-size: 1.3vw;
    color: #00ada9;
    transition: transform .5s, opacity .5s;
}

.accordion-003[open] p {
    transform: none;
    opacity: 1;
}

/* トリートメントコンパスページ */
.treatment_page_area section {
    width: 60%;
    margin: 0 auto;
    margin-bottom: 5%;
}

.treatment_page_area .reservation_btn .btn_main {
    /* width: 30%; */
    align-items: center;
    background: #00ada9;
    border-radius: 20px;
    border: solid 3px #00ada9;
    color: #fff;
    padding: 2% 1%;
    font-size: 1.2vw;
    font-weight: bold;
    cursor: pointer !important;
    /* マウスオーバーで手のアイコン */
}

.treatment_page_area .reservation_btn .btn_main:hover {
    background: #fff;
    color: #00ada9;
}

.treatment_page_area .reservation_btn .btn_treatment {
    margin-right: 15px;
    border: solid 3px #ffb040;
    background: #ffb040;
}

.treatment_page_area .btn_treatment:hover {
    background: #fff;
    color: #ffb040;
}



.treatment_concept {
    text-align: center;
    line-height: 2;
    letter-spacing: 0.1em;
}

.treatment_concept p {
    font-size: 1.2vw;
}

.treatment_concept h3 {
    font-size: 2vw;
    margin: 0;
}

.treatment_img {
    text-align: center;
}

.treatment_img img {
    width: 80%;
    /* height: 400px; */
    object-fit: contain;
    margin-bottom: 5%;
}

.treatment_detail {
    width: 90%;
    margin: 0 auto;
    margin-top: 3%;
}

.treatment_detail p {
    font-size: 1.2vw;
}

.treatment_detail {
    width: 100%;
}

.treatment_point {
    width: 70%;
    margin: 0 auto;
    margin-bottom: 5%;
    display: flex;
    justify-content: space-between;
}

.app_list {
    display: flex;
    align-items: center;
    width: 90%;
    margin: 0 auto;
    border-bottom: solid 1px #d0d0d0;
}

.app_list p {
    width: 60%;
}

.appointment {
    background: #ffb040;
    color: #fff;
    font-weight: bold;
    border: solid 2px #ffb040;
    border-radius: 10px;
    padding: 5px 10px;
    margin-left: 30px;
}

.appointment:hover {
    background-color: #fff;
    color: #ffb040;
    font-weight: bold;
}

.app_hp {
    background: #00ada9;
    color: #fff;
    font-weight: bold;
    border: solid 2px #00ada9;
    border-radius: 10px;
    padding: 5px 10px;
    margin-left: 30px;
}

.app_hp:hover {
    background-color: #fff;
    color: #00ada9;
    font-weight: bold;
}

.box-017 {
    width: 30%;
    margin: 0 auto;
    padding: .5em 1.5em 1em;
    border-top: 15px solid #ffb040;
    border-radius: 3px;
    background-color: #f2f2f2;
}

.box-017 h3 {
    font-size: 1.3vw;
}

.box-017>div {
    margin-bottom: .5em;
    margin-top: .5em;
    color: #ffb040;
    text-align: center;
    font-weight: 600;
    font-size: 1.2vw;
}

.box-017>p {
    margin: 0;
    color: #333;
    line-height: 1.8;
}

.box-017 img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 10% 0;
}

.flow_design09 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flow09 {
    padding-left: 0;
    border-bottom: solid 1px #E1E8ED;
}

.flow09>li {
    list-style-type: none;
    display: flex;
    padding: 20px 0;
    border-top: solid 1px #E1E8ED;
}

.flow09>li dl dt {
    font-size: 1.2em;
    line-height: 2;
    font-weight: bold;
    margin-bottom: 10px;
}

.flow09>li dl {
    display: flex;
    align-items: center;
}

.flow09>li dl img {
    width: 200px;
    margin-right: 20px;
}

.img-box img {
    width: 100%;
    cursor: pointer;
}

/* モーダル */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;

    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, 0.8);
}

.modal-trigger {
    cursor: pointer;
}

/* 閉じる */
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

.flow09>li .icon09 {
    line-height: 1;
    font-size: 2em;
    font-weight: bold;
    color: #00ada9;
    text-align: center;
    width: 70px;
    position: relative;
    margin-top: 0;
}

.flow09>li .icon09::before {
    content: 'STEP';
    font-size: 0.3em;
    display: block;
    margin-bottom: 3px;
    letter-spacing: 1px;
}

.flow09>li .icon09::after {
    content: "";
    display: block;
    width: 1px;
    height: calc(100% - 40px);
    background-color: #858585;
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    margin: auto;
}

.flow09>li dl dd {
    margin: 0;
}

.flow09>li dl {
    width: calc(100% - 70px);
    margin-top: 0.8em;
}

table {
    width: 80%;
    margin: 0 auto;
    border-collapse: collapse;
}

table tr {
    border-bottom: solid 2px white;
}

table tr:last-child {
    border-bottom: none;
}

table th {
    position: relative;
    text-align: left;
    width: 30%;
    background-color: #ffb040;
    color: white;
    text-align: center;
    padding: 20px 0;
}

table th:after {
    display: block;
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    top: calc(50% - 10px);
    right: -9px;
    border-left: 10px solid #ffb040;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

table td {
    text-align: right !important;
    padding-right: 1% !important;
    width: 70%;
    text-align: center;
    font-weight: bold;
    background-color: #eee;
    padding: 10px 0;
}

/* オンライン診療 */
.online_page_area section {
    width: 60%;
    margin: 0 auto;
    margin-bottom: 5%;
}

.online_page_area .heading-29::before {
    background: rgba(0, 173, 169, 0.2);
}

.online_concept {
    text-align: center;
    line-height: 2;
    letter-spacing: 0.1em;
}

.online_concept p {
    font-size: 1.2vw;
}

.online_concept h3 {
    font-size: 2vw;
    margin: 0;
}

.online_page_area .point {
    width: 100%;
    text-align: center;
}

.online_page_area .point h3 {
    font-size: 1.3vw;
}

.precautions {
    width: 75%;
    margin: 0 auto;
    margin-top: 3%;
    background-color: #00ada9;
    color: #fff;
    border-radius: 30px;
    padding: 3% 5%;
}

.precautions h4 {
    font-size: 1.5vw;
    margin: 0;
}

.precautions p {
    font-size: 1.3vw;
}

.item_list {
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
}

.items {
    width: 45%;
    border: solid 3px #ffb040;
    border-radius: 20px;
    padding: 2%;
    margin: 2%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url(../images/logo.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 150px;
}

.none_item {
    width: 45%;
    padding: 2%;
    margin: 2%;
}

.items h3 {
    color: #00ada9;
    margin: 0 auto;
    text-align: center;
}

#on1,
#tre1,
#tre2 {
    scroll-margin-top: 200px;
}

.online_img {
    margin: 2% 0;
    text-align: center;
}

.online_img img {
    width: 80%;
    height: 500px;
    object-fit: cover;
    object-position: top;
}

/* オンライン診療予約ボタン */
.online_btn {
    position: fixed;
    bottom: 25%;
    right: 0;
    transform: translateX(5px);
    width: 50px;
    height: 170px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    background: #00ada9;
    border: solid 2px #00ada9;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    writing-mode: vertical-rl;
}

.online_btn p,
.treatment_btn p {
    font-size: 16px;
}

.online_btn:hover {
    transform: translateX(0);
    background: #fff;
    color: #00ada9;
}

/* トリートメントコンパス予約 */
.treatment_btn {
    position: fixed;
    bottom: 5%;
    right: 0;
    transform: translateX(5px);
    width: 50px;
    height: 170px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    background: #ffb040;
    border: solid 2px #ffb040;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    writing-mode: vertical-rl;
}

.treatment_btn:hover {
    transform: translateX(0);
    background: #fff;
    color: #ffb040;
}

.sp_treatment_concept {
    display: none;
}

/* TOPへ戻るボタン*/
.top-btn {
    position: fixed;
    bottom: 5%;
    right: 4%;
    width: 60px;
    height: 60px;
    line-height: 60px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    background: #858585;
    border: solid 2px #858585;
    border-radius: 50%;
    text-align: center;
}

.top-btn:hover {
    transform: translateX(0);
    background: #fff;
    color: #858585;
}

.sp_nav {
    display: none;
}

.bottom-buttons {
    display: none;
}

.gairai_page_area {
    background: rgb(0, 173, 169, 0.1);
    padding-bottom: 10%;
}

.gairai_page_area .page_title h1 {
    margin-bottom: 0;
}

.gairai {
    width: 75%;
    height: 500px;
    margin: 0 auto;
    margin-top: 3%;
    padding: 5%;
    background: #fff;
    border-radius: 30px;
}

/* スマホ対応 */
@media screen and (max-width: 1024px) {

    nav ul li a {
        font-size: 1.5vw;
        color: #fff;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 80px;
        background-color: #fff;
        z-index: 10;
    }

    main {
        padding-top: 80px;
        padding-bottom: 0;
    }

    .left-bg {
        position: fixed;
        left: -120px;
        bottom: 0;
        top: auto;
        height: 65vh;
        background-size: contain;
    }

    .online_area section {
        width: 80%;
    }

    .button-54 {
        font-size: 1.5vw;
    }

    .treatment_area section {
        width: 80%;
    }

    .clinic_area {
        width: 90%;
    }

    .clinic_list img {
        width: 70%;
        height: 100px;
    }

    .page_title h1 {
        margin-bottom: 50px;
    }

    .online_page_area section {
        width: 80%;
        margin: 0 auto;
        margin-bottom: 5%;
    }

    .heading-29 {
        display: inline-block;
        position: relative;
        margin: calc(3.5em / 2) 0 calc(3.5em / 4) calc(3.5em / 2);
        margin-top: 10%;
        line-height: 1;
    }

    .online_img img {
        width: 90%;
        height: 350px;
        object-fit: cover;
        object-position: top;
    }

    .flow09>li dl dt {
        font-size: 2.2vw;
        line-height: 2;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .flow09>li .icon09 {
        line-height: 1;
        font-size: 2.5vw;
        font-weight: bold;
        color: #00ada9;
        text-align: center;
        width: 70px;
        position: relative;
        margin-top: 0;
    }

    .point {
        padding-top: 3%;
        width: 80%;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
    }

    .treatment_img img {
        width: 80%;
        /* height: 400px; */
        object-fit: contain;
        margin-bottom: 5%;
        margin-top: 5%;
    }

    .treatment_page_area section {
        width: 80%;
        margin: 0 auto;
        margin-bottom: 5%;
    }

    .treatment_point {
        width: 85%;
        margin: 0 auto;
        margin-bottom: 5%;
        display: flex;
        justify-content: space-between;
    }

    .box-017 img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 50%;
        padding: 10% 0;
    }

    .question_area {
        width: 70%;
        margin: 0 auto;
        margin-bottom: 50px;
    }

    .gairai {
        width: 85%;
        height: 500px;
        margin: 0 auto;
        margin-top: 3%;
        padding: 5%;
        background: #fff;
        border-radius: 30px;
    }

    .bottom-buttons {
        display: none;
    }

    .sp_treatment_concept {
        display: none;
    }

}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 4.5vw;
    }

    h2 {
        font-size: 3.5vw;
    }

    h3 {
        font-size: 3vw;
    }

    h4 {
        font-size: 2.8vw;
    }

    p {
        font-size: 2.8vw;
        font-weight: bold;
    }

    html,
    body {
        overflow-x: hidden;
    }

    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    .sub_title {
        display: none;
    }

    .contact_btn {
        display: none;
    }

    header {
        position: fixed;
        /* 固定 */
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background-color: #fff;
        z-index: 10;
    }

    nav ul {
        flex-direction: column;
    }

    main {
        padding-top: 50px;
        padding-bottom: 20%;
    }

    article {
        padding-top: 30px;
    }

    .title_area {
        width: 90%;
    }

    .logo {
        width: 60%;
    }

    .logo img {
        width: 50px;
    }

    .pc_nav {
        display: none;
    }

    .sp_nav {
        display: block;
    }

    /*============
    nav
    =============*/
    nav {
        display: block;
        position: fixed;
        top: 0;
        left: -100px;
        bottom: 0;
        width: 300px;
        background: #ffffff;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: all .5s;
        z-index: 3;
        opacity: 0;
    }

    .open nav {
        left: 0;
        opacity: 1;
    }

    nav .inner {
        padding: 25px;
    }

    nav .inner ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    nav .inner ul li {
        position: relative;
        margin: 0;
        border-bottom: 1px solid #333;
    }

    nav .inner ul li a {
        display: block;
        color: #333;
        font-size: 14px;
        padding: 1em;
        text-decoration: none;
        transition-duration: 0.2s;
    }

    nav .inner ul li a:hover {
        background: #e4e4e4;
    }

    /*============
    .toggle_btn
    =============*/
    .toggle_btn {
        display: block;
        position: fixed;
        top: 10px;
        right: 15px;
        width: 30px;
        height: 30px;
        transition: all .5s;
        cursor: pointer;
        z-index: 3;
    }

    .toggle_btn span {
        display: block;
        position: absolute;
        left: 0;
        width: 30px;
        height: 2px;
        background-color: #333;
        border-radius: 4px;
        transition: all .5s;
    }

    .toggle_btn span:nth-child(1) {
        top: 4px;
    }

    .toggle_btn span:nth-child(2) {
        top: 14px;
    }

    .toggle_btn span:nth-child(3) {
        bottom: 4px;
    }

    .open .toggle_btn span {
        background-color: #fff;
    }

    .open .toggle_btn span:nth-child(1) {
        -webkit-transform: translateY(10px) rotate(-315deg);
        transform: translateY(10px) rotate(-315deg);
    }

    .open .toggle_btn span:nth-child(2) {
        opacity: 0;
    }

    .open .toggle_btn span:nth-child(3) {
        -webkit-transform: translateY(-10px) rotate(315deg);
        transform: translateY(-10px) rotate(315deg);
    }

    /*============
    #mask
    =============*/
    #mask {
        display: none;
        transition: all .5s;
    }

    .open #mask {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000;
        opacity: .8;
        z-index: 2;
        cursor: pointer;
    }

    .top_img {
        max-width: 100%;
        /* 画像の横幅 */
        height: 300px;
        /* 画像の縦幅 */
        overflow: hidden;
        /* はみ出した部分を隠す */
        position: relative;
        display: block;
        z-index: -1;
    }

    .top_img img {
        width: 100%;
        height: 100%;
        object-fit: cover;

        /* 滑らかな境界 */
        -webkit-mask-composite: destination-in;
        mask-composite: intersect;
    }

    .concept {
        width: 90%;
        height: 40%;
        padding: 2% 1%;
        background-color: rgba(255, 255, 255, 0.7);
        position: absolute;
        top: 75%;
        right: 0;
        left: 0;
        margin: 0 auto;
        transform: translateY(-50%);
        z-index: -1;

        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .concept h2 {
        font-size: 3.5vw !important;
    }

    .concept p {
        font-size: 2.5vw !important;
    }

    .left-bg {
        position: fixed;
        left: -120px;
        bottom: 0;
        top: auto;
        width: 500px;
        height: 65vh;
        background-size: contain;
    }

    .container {
        height: 30%;
    }

    .reservation_area {
        width: 85%;
    }

    .reservation_area h2 {
        padding-top: 0;
    }

    .top_area {
        width: 100%;
        padding-top: 0;
        position: relative;
    }

    .point {
        display: block;
    }

    .point div {
        width: 100%;
        margin: 0 auto;
        margin-bottom: 15px;
        border: solid 2px #00ada9;
        border-radius: 5%;
        padding: 5% 3%;
    }

    .reservation_btn {
        text-align: center;
    }

    .reservation_btn button {
        width: 75%;
        align-items: center;
        background: #00ada9;
        border-radius: 20px;
        border: solid 3px #00ada9;
        color: #fff;
        padding: 2% 1%;
        font-size: 3vw;
        font-weight: bold;
        cursor: pointer !important;
        /* マウスオーバーで手のアイコン */
    }

    .reservation_btn .btn_treatment {
        margin-left: 0;
        margin-top: 3%;
        border: solid 3px #ffb040;
        background: #ffb040;
    }

    .reservation_btn a:last-child button:hover {
        background: #fff;
        color: #ffb040;
    }

    .copyRight {
        text-align: center;
        background: #3e3a39;
        font-size: 1.5vw;
        color: #fff;
        padding: 5px 0;
        margin: 0;
    }

    .online_area,
    .treatment_area,
    .reason_area,
    .clinic_area {
        width: 90%;
        margin: 0 auto;
        /* background-color: rgba(0, 173, 169, 0.1); */
    }

    .online_area h2,
    .treatment_area h2,
    .reason_area h2,
    .clinic_area h2 {
        font-size: 3.5vw;
    }

    .online_area .area_title,
    .treatment_area .area_title,
    .reason_area .area_title,
    .clinic_area .area_title {
        font-size: 2.5vw;
        padding: 0.1rem 0;
        margin-bottom: 0.2rem;
        background-image: linear-gradient(90deg, #ddd 0 20%, rgba(0, 173, 169, 0.5) 20%);
        background-repeat: no-repeat;
        background-size: 100% 5%;
        background-position: bottom;
    }

    .area_title {
        width: 85%;
        margin: 0 auto;
    }

    .online_area section {
        width: 100%;
        margin: 0 auto;
        padding: 1% 0;
        border-radius: 30px;
    }

    .detail_text {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 1% 1.5em;
        margin: 1em auto;
        color: #353535;
        border-bottom: solid 1px #dbdbdb;
    }

    .detail_text img {
        width: 5%;
        margin-right: 10px;
    }

    .detail_text p {
        font-size: 2.8vw;
        margin: 0;
    }

    .button-54 {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 150px;
        margin-left: auto;
        margin-right: 0;
        padding: 2% 1%;
        border: 1px solid #00ada9;
        border-radius: 5px;
        background-color: #fff;
        color: #00ada9;
        font-size: 2.8vw;
    }

    .button-54::after {
        position: absolute;
        right: 2em;
        transform: translateY(-50%);
        transform-origin: left;
        width: 1em;
        height: .5em;
        background-color: #00ada9;
        clip-path: polygon(0 100%, 100% 100%, 70% 40%, 70% 90%, 0% 90%);
        content: '';
        transition: transform .3s;
    }

    .online_detail {
        width: 90%;
        margin: 0 auto;
    }

    .online_detail h3 {
        font-size: 3.5vw;
        color: #ffb040;
        margin-bottom: 0;
        padding-top: 5%;
    }

    .online_detail p {
        font-size: 3.5vw;
        line-height: 2;
    }

    .treatment_area section {
        width: 100%;
        margin: 0 auto;
    }

    .treatment_area section div {
        padding: 0 5%;
        margin: 2% 0;
    }

    .treatment_area h3 {
        margin: 3% 0 2% 0;
        text-align: center;
    }

    .treatment_area span {
        font-size: 4vw;
    }

    .remark {
        line-height: 1.5;
    }

    .tre_point {
        display: flex;
        flex-direction: column;
        /* 縦並び */
        align-items: center;
        /* 横方向中央 */
    }

    .treatment_area section h2 {
        text-align: center;
        font-size: 3.5vw;
        line-height: 1.8;
        position: relative;
        color: #333;
        display: block;
        margin: 50px 0;
        text-shadow: 0 0 2px white;
    }

    .treatment_area section h2:before {
        content: "";
        position: absolute;
        background: rgb(0, 173, 169, 0.1);
        width: 200px;
        height: 120px;
        border-radius: 50%;
        top: 50%;
        border: dashed 3px white;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        z-index: -1;
        box-shadow: 0px 0px 0px 5px rgb(0, 173, 169, 0.1);
    }

    .box-010 {
        text-align: center;
        position: relative;
        width: 90%;
        margin: 3em auto;
        padding: 2%;
        box-shadow: 0 2px 3px rgb(0 0 0 / 20%);
        background-color: #ffffff;
        color: #333333;
        z-index: 5;
    }

    .box-010 span {
        position: absolute;
        left: 30px;
        top: -15px;
        transform: translateX(-.3em) rotate(-5deg);
        padding: .5em 2em;
        border-right: 2px dotted rgb(0 0 0 / 10%);
        border-left: 2px dotted rgb(0 0 0 / 10%);
        box-shadow: 0 0 5px rgb(0 0 0 / 20%);
        background-color: rgb(255 255 255 / 40%);
        font-weight: 600;
        font-size: 2.8vw;
    }

    .box-010 img {
        width: 55%;
        height: 20%;
        margin: 3% 0;
    }

    .box-010 p {
        margin: 0;
        line-height: 2;
        font-size: 2.8vw;
        padding: 0 3%;
    }

    .box-010 h3 {
        margin-top: 5%;
    }

    .heading-6 {
        display: inline-block;
        position: relative;
        padding: 0 2em;
    }

    .heading-6::before,
    .heading-6::after {
        content: '';
        display: inline-block;
        position: absolute;
        top: 50%;
        width: 20px;
        height: 3px;
        background-color: #ddd;
    }

    .heading-6::before {
        left: 0;
    }

    .heading-6::after {
        right: 0;
    }

    .reason_area section::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 98%;
        background: rgba(0, 173, 169, 0.1);
        border-bottom-right-radius: 0;
        border-top-right-radius: 0;
        z-index: -1;
    }

    .online_btn,
    .treatment_btn,
    .top-btn {
        display: none;
    }

    .clinic_area {
        width: 90%;
        border: none;
        border-radius: 30px;
        margin: 5% auto;
    }

    .clinic_area_title {
        text-align: center;
    }

    .clinic_area_title img {
        margin-right: 15px;
        width: 3%;
    }

    .clinic_area section {
        width: 100%;
        margin: 0 auto;
        padding: 2% 0;
        margin-bottom: 5%;
    }

    footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 2000;
    }

    .bottom-buttons {
        display: flex;
        justify-content: space-around;
        padding: 10px;
        background-color: #fff;
        /* box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2); */
        z-index: 1000;
    }

    .btn1 {
        flex: 1;
        margin: 0 5px;
        padding: 10px 0;
        font-size: 14px;
        font-weight: bold;
        text-align: center;
        /* aタグは中央寄せ */
        background-color: #00ada9;
        color: white;
        text-decoration: none;
        /* 下線を消す */
        border-radius: 50px;
        display: inline-block;
        /* ボタン風に表示 */
        z-index: 30;
    }

    .btn2 {
        flex: 1;
        margin: 0 5px;
        padding: 10px 0;
        font-size: 14px;
        font-weight: bold;
        text-align: center;
        /* aタグは中央寄せ */
        background-color: #ffb040;
        color: white;
        text-decoration: none;
        /* 下線を消す */
        border-radius: 50px;
        display: inline-block;
        /* ボタン風に表示 */
        z-index: 30;
    }

    .btn:active {
        background-color: #d0d0d0;
    }

    /* オンライン診療ページ */

    .online_page_area section {
        width: 90%;
        padding-bottom: 3%;
    }

    .online_concept h3 {
        font-size: 3.5vw;
        margin: 0;
    }

    .online_concept p {
        font-size: 2.7vw;
    }

    .page_title h1 {
        margin-bottom: 5%;
    }

    .online_page_area .online_point {
        width: 90%;
    }

    .online_page_area .point {
        width: 75%;
        padding-top: 5%;
    }

    .online_page_area .point h3 {
        font-size: 3.5vw;
    }

    .online_img {
        padding-bottom: 3%;
    }

    .online_img img {
        height: 150px;
    }

    .none_item {
        display: none;
    }

    .item_list {
        display: flex;
        flex-direction: column;
        /* ← ここで縦方向に */
        margin: 0 auto;
        justify-content: flex-start;
        /* 上から順に */
        align-items: center;
        /* 横方向を中央揃えにする場合 */
    }

    .items {
        width: 80%;
        /* height: 200px; */
        margin-bottom: 3%;
    }

    .items h3 {
        font-size: 3.5vw !important;
    }

    .items p {
        font-size: 2.8vw !important;
    }

    .items div {
        padding: 10% 5%;
    }

    .flow09>li dl dt {
        font-size: 3.5vw;
        line-height: 2;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .flow09>li .icon09 {
        line-height: 1;
        font-size: 1.5em;
        font-weight: bold;
        color: #00ada9;
        text-align: center;
        width: 70px;
        position: relative;
        margin-top: 0;
    }

    .flow09>li .icon09::before {
        content: 'STEP';
        font-size: 0.3em;
        display: block;
        margin-bottom: 3px;
        letter-spacing: 1px;
    }

    .precautions {
        width: 90%;
        margin: 0 auto;
        margin-top: 3%;
        background-color: #00ada9;
        color: #fff;
        border-radius: 10px;
        padding: 3% 5%;
        margin-bottom: 10%;
    }

    .precautions h4 {
        font-size: 3.5vw;
        margin: 0;
    }

    .precautions p {
        font-size: 3vw;
    }

    /* よくある質問 */
    .question_area {
        width: 90%;
        margin: 0 auto;
        margin-bottom: 100px;
    }

    .accordion-003 {
        /* max-width: 500px; */
        margin-bottom: 7px;
        border-bottom: 2px solid #d0d0d0;
    }

    .accordion-003 summary {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        padding: 2em 1em;
        color: #333333;
        font-weight: 600;
        font-size: 3.5vw;
        cursor: pointer;
    }

    .accordion-003 summary::-webkit-details-marker {
        display: none;
    }

    .accordion-003 summary::after {
        transform: translateY(-25%) rotate(45deg);
        width: 7px;
        height: 7px;
        margin-left: 10px;
        border-bottom: 3px solid #333333b3;
        border-right: 3px solid #333333b3;
        content: '';
        transition: transform .3s;
    }

    .accordion-003[open] summary::after {
        transform: rotate(225deg);
    }

    .accordion-003 p {
        transform: translateY(-10px);
        opacity: 0;
        margin: 0;
        padding: .3em 2em 1.5em;
        font-size: 3.5vw;
        color: #00ada9;
        transition: transform .5s, opacity .5s;
    }

    .accordion-003[open] p {
        transform: none;
        opacity: 1;
    }

    /* トリートメントコンパス */
    .treatment_page_area section {
        width: 90%;
    }

    .treatment_page_area section p {
        font-size: 2.8vw;
    }

    .treatment_detail p {
        font-size: 2.8vw !important;
        padding-left: 2.8vw;
        text-indent: -2.8vw;
    }

    .treatment_concept {
        display: none;
    }

    .sp_treatment_concept {
        display: block;
        width: 90%;
        margin: 0 auto;
        text-align: center;
        line-height: 2;
    }

    .sp_treatment_concept h3 {
        font-size: 3.5vw;
    }

    .sp_treatment_concept span {
        font-size: 3vw;
        padding: 2% 0;
        font-weight: bolder;
    }

    .treatment_img {
        padding-top: 10%;
    }

    .treatment_img img {
        width: 90%;
        height: 30%;
    }

    .treatment_point {
        display: block;
    }

    .box-017 {
        width: 100%;
        margin-bottom: 10%;
    }

    .box-017 img {
        width: 45%;
    }

    .box-017 h3 {
        font-size: 3vw;
    }

    table {
        width: 100%;
    }

    table th {
        position: relative;
        text-align: left;
        width: 35%;
        background-color: #ffb040;
        color: white;
        text-align: center;
        padding: 10px 0;
        font-size: 3vw;
    }

    table th:after {
        display: block;
        content: "";
        width: 0px;
        height: 0px;
        position: absolute;
        top: calc(50% - 10px);
        right: -9px;
        border-left: 10px solid #ffb040;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
    }

    table td {
        text-align: right !important;
        padding-right: 1% !important;
        width: 65%;
        text-align: center;
        font-weight: bold;
        background-color: #eee;
        padding: 5px 0;
        font-size: 3vw;
    }

    .note p {
        text-align: left !important;
        padding-left: 2.8vw;
        text-indent: -2.8vw;

    }

    .notes {
        line-height: 1.8;
    }

    .notes p {
        padding-left: 2.8vw;
        text-indent: -2.8vw;
    }

    .flow09>li dl dd {
        margin: 0;
        font-size: 3.5vw;
        line-height: 1.8;
    }

    .clinic_list img {
        width: 80%;
        height: 70px;
    }

    .modal {
        display: none;
    }

    .modal-trigger {
        display: none;
    }

    .app_list {
        display: flex;
        align-items: center;
        width: 90%;
        margin: 0 auto;
        border-bottom: solid 1px #d0d0d0;
    }

    .app_list p {
        width: 55%;
    }

    .appointment {
        background: #ffb040;
        color: #fff;
        font-weight: bold;
        font-size: 2.8vw;
        border: solid 2px #ffb040;
        border-radius: 10px;
        padding: 5px;
        margin-left: 30px;
    }

    .appointment:hover {
        background-color: #fff;
        color: #ffb040;
        font-weight: bold;
    }

    .app_hp {
        background: #00ada9;
        color: #fff;
        font-weight: bold;
        font-size: 2.8vw;
        border: solid 2px #00ada9;
        border-radius: 10px;
        padding: 5px;
        margin-left: 10px;
    }

    .app_hp:hover {
        background-color: #fff;
        color: #00ada9;
        font-weight: bold;
    }

    .question_page .reservation_btn {
        display: none;
    }

    .treatment_page_area .reservation_btn .btn_main {
        /* width: 30%; */
        align-items: center;
        background: #00ada9;
        border-radius: 20px;
        border: solid 3px #00ada9;
        color: #fff;
        padding: 2% 1%;
        font-size: 3vw;
        font-weight: bold;
        cursor: pointer !important;
        /* マウスオーバーで手のアイコン */
        margin-left: 0;
    }

    .treatment_page_area .reservation_btn .btn_treatment {
        margin-right: 0;
        border: solid 3px #ffb040;
        background: #ffb040;
    }
}