@charset "UTF8";

:root {
    --fs-h1: 20px;
    --fs-h2: 20px;
    --fs-body: 15px;
    --fs-note: 13px;
}

@media (min-width: 768px) {
    :root {
        --fs-h1: 32px;
        --fs-h2: 28px;
        --fs-body: 16px;
    }
}

.header {
    padding: 10px 14px;
    background: #1E2D3D;
    color: #FFF;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-inner img {
    display: block;
}

.header-inner .clinic_name,
.header-inner p {
    margin: 0;
    font-size: 14px;
    line-height: 1;
}

.header-inner p {
    margin-left: 30px;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    background-color: #fafafa;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    color: #333;
    line-height: 1.7;
    letter-spacing: 0.02em;
}

h1 {
    font-size: var(--fs-h1);
    text-align: center;
    color: #fff;
}

h2 {
    font-size: var(--fs-h2);
    text-align: center;
    font-weight: 700;
}

p {
    font-size: var(--fs-body);
}

.small {
    font-size: var(--fs-small);
}

/* トップビューの設定ここから========================================================================================================= */
.fv {
    background: url(../images/top-mobile.webp) center / cover no-repeat;
    height: 500px;

}

.top-section {
    /* padding:30px 0; */
}

.top-bk {
    background-color: #1E2D3D;
}

/* top値段設定ここから topprice price========================================================================================================= */
.topprice-section {
    /* padding: 20px 0; */
    text-align: center;
}

.topprice-wrap {
    display: inline-flex;
    width: auto;
    background: #0090C8;
    justify-content: center;
    align-items: center;
    padding: 10px 28px;
    margin: 20px 10px 10px 10px;
    color: #FFF;
    border-radius: 5px;
}

.topprice-inner {
    display: inline-block;
    max-width: 420px;
    text-align: center;
    max-width: none;
}

.topprice-flex {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.topprice-inner h2 {
    font-size: 30px;
}

.tag-pill {
    display: inline-block;
    background: #f8f8f8;
    color: #444D57;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
}

.topprice-box {
    border: 1px solid;
    display: inline-block;
    padding: 2px 7px;
    font-size: 14px;
}

.price-main {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 0;
}

.yen {
    font-size: 18px;
}

.toppriceBox-flex {
    display: flex;
    gap: 5px;
    justify-content: center;
    width: 100%;
}

.toppriceBox-flex>p {
    display: inline-block;
    background-color: #DAE6EA;
    color: #444D57;
    padding: 2px 5px;
    font-size: 14px;
    border-radius: 3px;
}

/* top値段設定ここまで========================================================================================================= */
/* topcta設定ここからtopcta cta========================================================================================================= */
.topcta-section {
    text-align: center;
    padding: 50px;
}

.topcta-text {
    color: #1E2D3D;
    font-weight: 800;
}

.cta-tel {
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    color: #C8A559;
    line-height: 1.3;
    padding: 10px;
}

.cta-tel>a {
    font-size: 20px;
}

.telnumber {
    font-size: 30px;
}

.cta-btn {
    display: inline-block;
    font-size: 24px;
    background-color: #0D7C86;
    color: #fff;
}

.cta-btn a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 46px 12px 18px;
    /* 右多め：白丸分の余白 */
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    background: #0D7C86;
    text-decoration: none;
    border-radius: 4px;
    position: relative;
    box-sizing: border-box;
    transition: transform 0.25s ease;
}

/* 白丸 */
.cta-btn a::after {
    content: "";
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

/* ▶ */
.cta-btn .arrow {
    color: #0D7C86;
    font-size: 13px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.features span {
    display: block;
}

.cta-btn .arrow {
    transition: transform 0.25s ease;
}

.cta-btn:hover {
    filter: brightness(1.12);
}

.cta-btn a:hover {
    transform: scale(1.03);
}

.cta-btn a:hover .arrow {
    transform: translate(5px, -50%);
}

.cta-btn a:active {
    transform: scale(0.96);
}
.telnumber {
  display:inline-flex;
  align-items:center;
  gap:4px;
  position:relative;
  padding-left:30px;
}


.telnumber::before {
  content: "";
  width: 25px;
  height: 25px;
  background: url("../images/telgold.png") no-repeat center / contain;
  position: absolute;
  left: 0;
  top: 55%;
  transform: translateY(-50%);
}

/* topcta設定ここまで========================================================================================================= */
/* こんなお悩みありませんか？worry================================================================================================== */
.worry-section {
    position: relative;
    padding: 50px 0 30px 0;
    text-align: center;
}

/* 背景画像 */
.worry-bg {
    background: url("../images/worryback.webp") center / cover no-repeat;
    position: absolute;
    inset: 0;
    opacity: 0.25;
    z-index: -1;
}

.worry-item {
    display: inline-block;
    padding: 12px 10px;
    margin: 10px 0;
    background: #fff;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    position: relative;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.worry-topitem {
    padding-top: 40px;
}

.worry-flex {
    padding-bottom: 60px;
}

/* 並びパターン変更 */
.worry-item:nth-of-type(1) {
    text-align: center;
}

.worry-item:nth-of-type(2) {
    text-align: left;
}

.worry-item:nth-of-type(3) {
    text-align: right;
}

.worry-item:nth-of-type(4) {
    text-align: left;
}

.worry-item:nth-of-type(5) {
    text-align: right;
}


.worry-item:nth-of-type(3) {
    margin-bottom: 200px;
    /* 3 番目だけ大きくする */
}

/* 理事長の言葉ここからsolution================================================================================================= */
.solution-section {
    padding: 30px 0;
    background-image: url(../images/back.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.solution-inner {
    padding: 20px;
}

.solution-title1 {
    color: #444D57;
    font-weight: 800;
}

.solution-title2 {
    color: #333;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
}

.rizichousolution-img {
    width: 200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 事長の言葉ここまで================================================================================================= */
/* 包茎とは3種類説明ここからabout============================================================================================ */
.about-section {
    padding: 0 0 50px 0;
    background-color: #DAE6EA;
}

.about-title {
    position: relative;
    background-image: url("../images/arrow.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    color: #fff;
    padding: 10px 0 30px 0;
    width: 100%;
    height: 110px;
    display: flex;
    justify-content: center;
}

.about-title {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.about-title::after {
    content: "？";
    font-size: 32px;
    font-weight: 700;
    color: #C9A25A;
    vertical-align: bottom;
}


.type-card {
    display: flex;
    align-items: center;
    padding: 20px 10px;
    margin: 20px 10px;
    border: 5px solid #0090C8;
    border-radius: 10px;
    background-color: #fafafa;
}

/* 包茎とは3種類説明ここまで============================================================================================ */
/* 治療法ここからope======================================================================================================== */
.ope-section {
    background-image: url(../images/back.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.ope-title {
    background-image: url("../images/arrow.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    color: #fff;
    padding: 10px 0;
    width: 100%;
    /* ←画面いっぱい */
    height: 120px;
}

.ope-article {
    padding: 20px 10px;
    margin: 20px 10px;
    border: 5px solid #0090C8;
    border-radius: 10px;
    background-color: #fff;
}

.ope-imgWrap {
    text-align: center;
    padding-bottom: 20px;
}

.ope-img {
    width: 300px;

}

.ope-subtitle {
    font-size: 20px;
    color: #1E2D3D;
    margin-top: 20px;
    text-align: center;
    padding-bottom: 10px;
}

.ope-textWrap {
    padding: 40px 0;
    margin: 0 20px;
}

.ope-point {
    max-width: 700px;
    text-align: center;
}

.ope-point>p {
    font-size: 20px;
}

.opebox-big {
    font-size: 24px;
    border-bottom: solid 3px #C8A559;
}

/* 治療法ここまで========================================================================================================= */

/* 痛みを減らす工夫ここからeffort============================================================================================ */
.effort-section {
    background-color: #DAE6EA;
    padding-bottom: 30px;
}

.effort-article {
    background-color: #fafafa;
    padding: 20px 10px;
    margin: 30px 10px;
    border-radius: 10px;
}

.effort-title {
    background-image: url("../images/arrow.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    color: #fff;
    padding: 15px 0;
    width: 100%;
    /* ←画面いっぱい */
    height: 130px;
    line-height: 1.4;
}

.effort-img {
    text-align: center;
    padding: 10px 0;
}

.effort-text {
    width: 100%;
    margin: 0 auto;
    padding: 10px;
}

/* 痛みを減らす工夫ここまでeffort============================================================================================ */
/* ctaセクションここから=========================================================================================== */
.cta-section {
    background-color: #1E2D3D;
    padding: 30px 0;
}

.cta-point {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px 0;
}

.point-img {
    width: 120px;
    height: auto;
}

.cta-rizichoubox {
    border: #C8A559 solid 3px;
    background-color: #f8f8f8;
    margin: 20px 10px;
    border-radius: 5px;
}

.cta-rizichouSubtitle {
    color: #1E2D3D;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    padding: 20px;
}

.cta-rizichouImg {
    text-align: center;
}

.cta-rizichouText {
    padding: 20px 10px;
}

.cta-inner {
    color: #fff;
    text-align: center;
    padding: 20px;
}

/* ctaセクションここまで=========================================================================================== */
/* 当院が選ばれ続ける理由ここからreason==================================================================================== */
.reason-section {
    padding: 30px 0;
}

.reasontop5 {
    font-size: 52px;
    color: #C8A559;
    font-family: "Noto Serif JP", serif;
    font-weight: 800;
}

.ribbon-blue {
    display: inline-block;
    padding: 10px 80px 10px 20px;
    margin: 20px 0;
    background: #2E95C8;
    color: #fff;
    min-width: 350px;
    font-weight: 700;
    font-size: 18px;
    clip-path: polygon(0 0,
            /* 左上(まっすぐ) */
            calc(100% - 60px) 0,
            /* 右上(短い) */
            100% 100%,
            /* 右下(長い) */
            0 100%
            /* 左下(まっすぐ) */
        );
}

.ribbon-blue>h3 {
    display: inline-block;
    transform: skewX(12deg);
    /* ←テキストだけ戻す */
    color: #fff;
    font-weight: 700;
}

.ribbon-navy {
    display: block;
    margin-left: auto;
    padding: 14px 20px 14px 80px;
    margin-top: 20px;
    margin-bottom: 20px;
    background: #1E2D3D;
    color: #fff;
    min-width: 350px;
    font-weight: 700;
    font-size: 18px;
    clip-path: polygon(80px 0,
            100% 0,
            100% 100%,
            0 100%);
    max-width: fit-content;
}

.ribbon-navy>h3 {
    display: inline-block;
    transform: skewX(-12deg);
    color: #fff;
    font-weight: 700;
}

.reason-img {
    text-align: center;
    width: 300px;
    margin: 0 auto;
}

.reason-text {
    margin: 20px 15px;
    padding-bottom: 10px;
}

/* 当院が選ばれ続ける理由ここまでreason==================================================================================== */

/* 治療費の設定ここからprice========================================================================================================= */
.price-section {
    padding: 30px 0;
    background-color: #DAE6EA;
}

.price-wrap {
    display: block;
    background-color: #0090C8;
    text-align: center;
    max-width: 400px;
    margin: 30px auto;
    padding-bottom: 10px;
    border-radius: 5px;
}

.price-caption {
    display: inline-block;
    color: #1E2D3D;
    background: linear-gradient(45deg, #ECECEC, #D1D1D1);
    ;
    font-size: 16px;
    padding: 5px 10px;
    margin-top: 20px;
    font-weight: 600;
}

.price-top {
    background: linear-gradient(90deg, #F4E3B2, #D1A96C, #B98642);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 62px;
    font-weight: 900;
}

.price-unit {
    font-size: 24px;
}

.price-sub {
    background-color: #1E2D3D;
    color: #fff;
    padding: 3px 0;
}

.price-options {
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
    line-height: 1.3;
    color: #fff;
}

.price-options>li {
    display: block;
    background-color: #C8A559;
    padding: 5px;
    margin: 10px;
}

.medicine {
    padding: 10px 5px;
    display: inline-block;
}

/* 施術の流れここからflow======================================================================================================== */
.flow-section {
    padding: 30px 0;
    background-color: #DAE6EA;
}

.flow-wrap {
    align-items: center;
    padding: 10px 10px 20px 10px;
    margin: 20px 10px;
    border: 5px solid #0090C8;
    background-color: #fafafa;
    border-radius: 10px;
}

.flow-number {
    font-size: 32px;
    font-family: "Noto Serif JP", serif;
    font-weight: 900;
    /* background: linear-gradient(180deg, #E8D38B 0%, #C19A43 50%, #8A6B2F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; */
    color: #C8A559;
}

.flow-subtitle {
    font-size: 18px;
    color: #1E2D3D;
}

.flow-imgWrap {
    text-align: center;
    padding: 10px;
}

.flow-img {
    width: 250px;
    height: 200px;
    object-fit: cover;
}

.flow-text {
    padding: 10px;
}

/* 施術の流れここまでflow======================================================================================================== */
/* 当院のご紹介ここから=========================================================================================================== */
.introduction_section {
    padding: 30px 10px;
    background-color: #f4f0e9;
}

.introduction_wrap {
    background-color: #f8f8f8;
    padding: 15px;
    margin: 20px auto;
    max-width: 500px;
}

.introduction_img {
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
    margin-top: 10px;
    width: 300px;
    height: 200px;
}

.introduction-subtitle {
    font-size: 20px;
    color: #1E2D3D;
}

.introductionSwiper {
    padding: 20px 10px 40px;
}

.swiper-slide {
    height: auto;
    text-align: center;
    margin: 20px 0;
}

.introduction_wrap {
    height: 100%;
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 16px;
}

.introductionSwiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #D6C7B8;
}

.introductionSwiper .swiper-pagination-bullet-active {
    width: 12px;
    height: 12px;
    background-color: #0D7C86;
}

.introductionSwiper .introduction_wrap {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform: scale(0.92);
    opacity: 0.85;
}

/* 中央スライド */
.introductionSwiper .swiper-slide-active .introduction_wrap {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 14px 36px rgba(87, 106, 133, 0.25);
}

.introductionwiper .swiper-slide-prev .introduction_wrap,
.introductionSwiper .swiper-slide-next .introduction_wrap {
    filter: grayscale(10%);
}

.num {
    font-size: 32px;
    color: #C8A559;
}

/* よくある質問ここからfaq=================================================================================================== */
.faq_section {
    background-color: #DAE6EA;
    padding: 20px 0;
}

.faq_title {
    margin-top: 50px;
    margin-bottom: 20px;
}

.faq_box {
    max-width: 700px;
    margin: 0 auto;
    padding: 10px;
    margin-bottom: 50px;
}

.faq_item {
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 16px;
    overflow: hidden;
    background-color: #f8f8f8;
}

/* 質問 */
.faq_question {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq_question .qa {
    font-weight: bold;
    color: #C8A559;
    margin-right: 10px;
}

.faq_question .text {
    flex: 1;
    font-size: 16px;
}

.faq_question .icon {
    width: 14px;
    height: 14px;
    position: relative;
}

.faq_question .icon::before,
.faq_question .icon::after {
    content: "";
    position: absolute;
    background: #C8A559;
}

.faq_question .icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq_question .icon::after {
    width: 2px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* 回答 */
.faq_answer {
    display: none;
    padding: 10px 20px 20px;
    border-top: 2px solid #eee;
}

.faq_answer .qa {
    font-weight: bold;
    color: #C8A559;
    margin-right: 8px;
}

.faq_answer .a {
    color: #0D7C86;
}

.faq_answer p {
    display: inline;
    font-size: 15px;
    line-height: 1.6;
}

.faq_answer {
    display: none;
}

.faq_item.active .faq_answer {
    display: block;
}

.faq_item.active .icon::after {
    display: none;
}

/* 開いたとき */
.faq_item.active .faq_answer {
    display: block;
}

.faq_item.active .icon::after {
    display: none;
}

/* よくある質問ここまで */
/* footer全体設定ここから================================================================================================= */
.footer-section {
    background-color: #f4f0e9;
    padding: 30px 0;
}

/* .footer-titleWrap{
    padding: 10px 10px 20px 10px;
    margin: 20px 10px !important;
    border: 5px solid #D6C7B8;
    background-color: #fafafa;
    border-radius: 10px;
} */
.footer-article {
    align-items: center;
    background: #fff;
    border-radius: 10px 10px 10px 10px;
    max-width: 400px;
    margin: 20px auto;
    overflow: hidden;
}

.footer-title {
    background-color: #B8B0A8;
    padding: 12px 16px;
  border-radius: 10px 10px 0 0;
  font-weight: 600;
  text-align: center;
}

.footer-subtitle {
    text-align: center;
    font-size: 20px;
    color: #1E2D3D;
    border-radius: 20px 20px 0 0;
}

/* アクセスここからaccess================================================================================================== */
.accessWrap {
    font-weight: 500;
    width: 100%;
    display: inline-block;
    margin: 20px auto;
    text-align: center;
}

.addressInner {
    max-width: 500px;
    margin: 0 auto;
}

.addressName {
    font-size: 18px;
    text-align: left;
    margin-left: 2rem;
}

address {
    font-size: 14px;
    text-align: left;
    margin-left: 2rem;
}

.accessButton {
    display: inline-block;
    background-color: #867664;
    padding: 7px 30px;
    margin: 20px;
}

.accessButton:hover {
    opacity: 0.7;
}

.accessText {
    margin-top: 10px;
    margin-bottom: 5px;
}

/* アクセスここまでaccess================================================================================================== */

/* 診療時間表ここから================================================================================================ */
table {
    font-size: 13px;
    text-align: center;
    color: #323232;
    margin: 0 auto;
}

.timetableInner {
    max-width: 500px;
    margin: 0 auto;
}

.timetableWrap {
    margin: 30px auto;
    padding: 10px 0 20px 0;
    margin-bottom: 20px;
}

.tableLeft {
    background-color: #baaea0;
    padding: 10px;
    text-align: center;
}

.tableTop {
    background-color: #dcd2c7;
    padding: 10px;
}

td {
    padding: 10px;
    border: solid 1px #b4a593;
}

.schedule_table th,
.schedule_table td {
    border: 1px solid #B8B0A8;
}

.timetableWrap>p {
    text-align: center;
}

.timetableText {
    margin-left: 10px;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.timetableInner {
    padding: 0 10px;
}

.timetableInner table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    background-color: #fff;
}

.timetableInner th,
.timetableInner td {
    border: 1px solid #B8B0A8;
    padding: 10px 8px;
    font-size: 14px;
}

/* 曜日（上段） */
.timetableInner .tableTop {
    background-color: #E8DED2;
    font-weight: 600;
    text-align: center;
}

/* 診療時間（左列） */
.timetableInner .tableLeft {
    background-color: #D6CABB;
    font-weight: 600;
    white-space: nowrap;
}

/* 診療時間表ここまで================================================================================================ */

/* snsアイコン設定ここから====================================================================================== */
.snsIcon {
    background-color: #f4f0e9;
    text-align: center;
}

.sns {
    transition: filter 0.3s ease, transform 0.3s ease;
    margin-bottom: 100px;
}

.sns:hover {
    opacity: 0.7;
    color: #867664;
}

/* snsアイコン設定ここまで====================================================================================== */
/* 固定CTAここから===================================================================================================== */
.fixed-cta {
    background-color: #fafafa;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    display: flex;
    z-index: 9999;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
}

.fixed-cta-item {
    flex: 1;
    display: flex;
    flex-direction: column; /* ←番号は下に来る */
    align-items: center;
    justify-content: center;
    padding: 12px 5px;
    text-decoration: none;
    font-weight: 700;
    height: 80px;
    transition: opacity 0.3s ease;
}

.fixed-cta-item:hover {
    opacity: 0.9;
    color: #fff;
}

.fixedcta-tel {
    background-color: #C8A559;
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-web {
    background-color: #0D7C86;
    color: #fff;
}

.fixedtel-text,
.fixednet-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.fixedtel-number,
.fixednet-top {
    font-size: 14px;
    display: block;
    padding-left: 20px;
}

.fixedtel-number {
    font-family: "Noto Serif JP", serif;
    font-size: 18px;
}

/* --- アイコン --- */
.fixedtel-text::before,
.fixednet-top::before {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* 画像パスは必要なら変更 */
.fixedtel-text::before {
    background-image: url("../images/tel.png");
}

.fixednet-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.fixednet-top::before {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    background-image: url("../images/callender.png");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}
/* モーダル背景 */
.clinic-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  z-index: 9998;
  width: 100%;
}

/* モーダル本体 */
.clinic-modal {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -100%;
  background: #fff;
  padding: 20px;
  z-index: 9999;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.2);
  transition: .35s ease;
  width: 100%;
  max-width: 100%;
}

.clinic-modal.show {
  bottom: 80px; /* CTA分あける */
}

.clinic-modal-overlay.show {
  display: block;
}

.clinic-btn {
  display: block;
  margin-top: 14px;
  padding: 14px;
  background: #C8A559;
  color: #fff;
  text-align: center;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.clinic-btn + .clinic-btn {
  background: #0D7C86;
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 10px;
  border: none;
  background: none;
  font-size: 22px;
}

/* 電話ボタンをbutton仕様に */
.fixedcta-tel {
  border: none;
  cursor: pointer;
}

/* 固定CTAここまで===================================================================================================== */

@media (min-width: 768px) {
    .header {
        padding: 10px 14px;
    }

    .header-inner {
        gap: 20px;
    }

    .header-inner img {
        width: 50px;
        display: block;
    }

    .header-inner .clinic_name,
    .header-inner p {
        margin: 0;
        font-size: 20px;
        line-height: 1;
    }

    .header-inner p {
        margin-left: 30px;
    }

    .fv {
        background-image: url(../images/top-tb.webp);
        height: 480px;
    }

    .cta-btn {
        border-radius: 10px;
    }

    .cta-btn a {
        padding: 12px 62px 12px 20px;
        /* 右多め：白丸分の余白 */
        font-size: 30px;
    }

    /* 白丸 */
    .cta-btn a::after {
        width: 40px;
        height: 40px;
        right: 12px;
    }

    /* ▶ */
    .cta-btn .arrow {
        font-size: 20px;
    }

    .worry-list {
        margin: 20px auto;
    }

    .worry-item {
        margin: 20px;
        padding: 10px 20px;
    }

    .worry-topitem {
        max-width: 500px;
        margin: 0 auto;
    }

    .worry-flex {
        display: flex;
        justify-content: center;
        max-width: 1000px;
        padding-bottom: 100px;
    }

    .worry-bg {
        background-image: url(../images/worryback-pc.webp);
    }

    .solution-section {
        background-image: url(../images/back-tb.webp);
    }

    .solution-flex {
        display: flex;
        align-items: center;
        max-width: 500px;
        margin: 0 auto;
        gap: 20px;
    }

    .solution-inner {
        padding-bottom: 80px;
    }

    .type-card {
        max-width: 600px;
        margin: 40px auto;
    }

    .ope-section {
        background-image: url(../images/back-tb.webp);
    }

    .ope-textWrap {
        max-width: 500px;
        margin: 0 auto;

    }

    .ope-point {
        max-width: 400px;
        margin: 20px auto;
    }

    .effort-article {
        max-width: 500px;
        margin: 30px auto;
    }

    .point-img {
        width: 180px;
        height: auto;
    }

    .about-title {
        background-image: url(../images/arrow-tb.webp);
        height: 120px;
        padding-top: 20px;
    }

    .about-title::after {
        right: 320px;
        max-width: 400px;
    }

    .ope-section {
        padding-bottom: 60px;
    }

    .ope-title {
        background-image: url(../images/arrow-tb.webp);
        height: 135px;
        padding-top: 15px;
    }

    .effort-section {
        padding-bottom: 50px;
    }

    .effort-title {
        background-image: url(../images/arrow-tb.webp);
        height: 130px;
        padding-top: 15px;
    }

    .cta-section {
        padding: 50px;
    }

    .cta-rizichoubox {
        max-width: 600px;
        margin: 20px auto;
    }

    .reason-section {
        padding: 50px 0;
    }

    .reason-flex {
        display: flex;
        align-items: center;
        justify-content: space-between;
        /* ← これ */
        margin: 10px 60px;
    }


    .reason-flex.reverse {
        flex-direction: row-reverse;
    }

    .ribbon-blue {
        padding: 10px 80px 10px 250px;
        margin: 20px 0;
        font-size: 24px;
        margin-top: 50px;
    }

    .ribbon-navy {
        font-size: 24px;
        padding: 10px 300px 10px 100px;
        margin-top: 50px;

    }

    .reason4 {
        padding-right: 350px;
    }


    .reason-text {
        max-width: 300px;
    }

    .reason-flex {
        display: flex;
        justify-content: center;
    }

    .flow-wrap {
        max-width: 600px;
        margin: 20px auto;
    }

    .price-section {
        padding: 50px 0;
    }

    .flow-section {
        padding: 50px 0;
    }

    .flow-number {
        font-size: 38px;
    }

    .flow-subtitle {
        font-size: 24px;
    }

    .introduction_section {
        padding: 50px 0;
    }

    .faq_section {
        padding: 50px 0;
    }

    .accessWrap {
        padding-top: 50px;
    }

    .snsIcon {
        padding-bottom: 50px;
    }

    .fixed-cta {
        width: 50%;
        left: auto;
        right: 12%;
        bottom: 25px;
        border-radius: 15px;
        overflow: hidden;
    }

    .fixed-cta-item {
        height: 70px;
    }

    .fixedtel-number,
    .fixednet-bottom {
        font-size: 16px;
    }
    
    .footer-section{
        padding: 80px 0;
    }
    .footer-article {
    border-radius: 10px 10px 10px 10px;
    max-width: 700px;
    margin: 50px auto;
    }
    .footer-title{
        font-size: 24px;
    }
}

@media (min-width: 1025px) {
    .fv {
        background-image: url(../images/top-pc.webp);
        height: 900px;
    }

    .topprice-wrap {
        padding: 20px 32px;
    }

    .topprice-flex {
        gap: 15px;
    }

    .topprice-inner h2 {
        font-size: 42px;
    }

    .tag-pill {

        font-weight: 700;
        padding: 4px 10px;
        border-radius: 2px;
        font-size: 32px;
        font-weight: 600;
    }

    .topprice-box {
        border: 1px solid;
        display: inline-block;
        padding: 2px 7px;
        font-size: 14px;
    }

    .price-main {
        font-size: 58px;
        font-weight: 900;
        letter-spacing: 0;
    }

    .yen {
        font-size: 24px;
    }

    .toppriceBox-flex {
        display: flex;
        gap: 10px;
        justify-content: center;
        width: 100%;
    }

    .toppriceBox-flex>p {
        display: inline-block;
        background-color: #DAE6EA;
        color: #444D57;
        padding: 5px 13px;
        font-size: 16px;
    }

    .cta-btn {
        display: inline-block;
        font-size: 38px;
        background-color: #0D7C86;
        color: #fff;
    }

    .worry-bg {
        background-image: url(../images/worryback-pc.webp);
    }

    .worry-flex {
        width: 1000px;
        margin: 0 auto;
    }

    .solution-section {
        background-image: url(../images/back-pc.webp);
    }

    .solution-section {
        padding-bottom: 100px;
    }

    .about-section {
        padding-bottom: 100px;
    }

    .about-title {
        background-image: url(../images/arrow-pc.webp);
        height: 170px;
        padding-top: 20px;
    }

    .about-title::after {
        right: 320px;
    }

    .ope-section {
        padding-bottom: 80px;
    }

    .ope-textWrap {
        padding: 100px 50px;
        max-width: 900px;
    }

    .ope-point {
        margin: 30px auto;
    }

    .effort-article {
        margin: 50px auto;
    }

    .article-flex {
        display: flex;
        justify-content: space-between;
        max-width: 1000px;
        margin: 50px auto;
        gap: 20px;
        text-align: center;
    }

    .ope-title {
        background-image: url(../images/arrow-pc.webp);
        height: 170px;
        padding-top: 15px;
    }

    .effort-title {
        background-image: url(../images/arrow-pc.webp);
        height: 170px;
        padding-top: 15px;

    }

    .ribbon-blue {
        padding: 10px 80px 10px 500px;
        margin: 20px 0;
        font-size: 24px;
        margin-top: 100px;
    }

    .ribbon-navy {
        font-size: 24px;
        padding: 10px 500px 10px 100px;
        margin-top: 100px;

    }

    .reason4 {
        padding-right: 600px;
    }



    .reason-text {
        min-width: 400px;
    }

    .reason-img {
        width: 400px;
    }

    .reason-flex {
        max-width: 700px;
        margin: 20px auto;
    }

    .timetableInner {
        max-width: 500px;
    }

    .footerWrap {
        display: flex;
        align-items: center;
        max-width: 1200px;
        /* 固定幅 */
        margin: 0 auto;
    }
 .footer-article {
    border-radius: 10px 10px 10px 10px;
    max-width: 1000px;
 }
    .timetableWrap,
    .accessWrap {
        flex: 1;
        min-width: 0;
        /* 地図側が暴れる時の保険 */
    }
.footer-section{
        padding: 100px 0;
    }
    .footerWrap {
        margin: 20px auto !important;
    }

    .fixed-cta {
        width: 40%;
        left: auto;
        right: 5%;
    }
}

@media (min-width: 1600px) {
    .about-title {
        height: 200px;
    }

    .ope-title {
        height: 200px;
    }

    .effort-title {
        height: 200px;
    }
}

/* アニメーションここから================================================================================================ */
.animation {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.animation.show {
    opacity: 1;
    transform: translateY(0);
}

/* トップビュー用・ページロード時のふわっと */
.fade-up {
    opacity: 0;
    transform: translateY(80px);
    /* 下から出てくる感じ */
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 2.5s ease, transform 2.5s ease;
    /* ゆっくり */
}

.timing02 {
    transition-delay: .2s;
}

.timing03 {
    transition-delay: .4s;
}

.timing04 {
    transition-delay: .6s;
}

.timing05 {
    transition-delay: .8s;
}


/* リボンの初期状態（共通：透明にする） */
.ribbon-blue,
.ribbon-navy {
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.2s;
}

/* ブルー：左側にずらしておく */
.ribbon-blue {
    transform: translateX(-100px);
}

/* ネイビー：右側にずらしておく */
.ribbon-navy {
    transform: translateX(100px);
}

/* 画面に入った時にJavaScriptで追加するクラス：どちらも中央(0)に戻る */
.is-active {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* アニメーションここまで============================================================================================== */

.step {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

.step.show {
    opacity: 1;
    transform: translateY(0);
}