@charset "UTF-8";

/* --- CSS Variables & Reset --- */
:root {
    --primary-orange: #FF6B00; /* 鮮やかなオレンジ */
    --dark-orange: #E65100;
    --accent-black: #222222;
    --text-color: #333333;
    --bg-light: #FFF5F0; /* 極薄いオレンジ */
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* --- Utilities --- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-orange { color: var(--primary-orange); }
.bg-black { background-color: var(--accent-black); color: var(--white); }
.bg-orange { background-color: var(--primary-orange); color: var(--white); }

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

.btn-main {
    background: linear-gradient(45deg, var(--primary-orange), #FF8C00);
    color: var(--white);
    border: 2px solid var(--primary-orange);
    width: 100%;
    max-width: 400px;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.6);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 107, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

/* --- Header --- */
header {
    background-color: var(--white);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--accent-black);
}

.logo span { color: var(--primary-orange); }
.reco-box { background-color: #4f505b; width: 100%; padding: 0 8px; line-height: 1.7; text-align: center;}
.reco-box p { font-size: 0.95rem; color: #ffffff; font-weight: 500;}
.reco-box p span { font-weight: bold; color: #ffd700; font-size: 110%;}

.header-cta {
    display: none;
}

@media (min-width: 768px) {
    .header-cta {
        display: block;
    }
}

.br-pc {
    display: block;
}

.br-sp {
    display: none;
}

@media (max-width: 768px) {
    .container {
        padding: 0 3%;
    }

    .logo {
        font-size: 4vw;
    }

    .reco-box p {
        font-size: 3.4vw;
    }

    .br-pc {
        display: none;
    }

    .br-sp {
        display: block;
    }

    .btn-main {
        width: 95%;
        font-size: 5vw;
    }
}

/* --- Hero Section (FV) --- */
.hero {
    margin-top: 60px;
    position: relative;
    height: 100vh; /* 画像に合わせて調整 */
    min-height: 600px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/3.jpg') center 30%/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

/* 斜めカットのデザイン */
.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--white);
    transform: skewY(-3deg);
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    line-height: 1.3;
    font-feature-settings: "palt";
    letter-spacing: 0.06em;
}

.hero-content h1 span {
    color: #ffd700;
}

.hero-content .sub-catch {
    font-size: 1.2rem;
    background-color: var(--primary-orange);
    display: inline-block;
    padding: 5px 15px;
    margin-bottom: 15px;
    font-weight: bold;
}

.sub-catch2 {
    margin-bottom: 30px; font-size: 1.1rem; font-weight: bold;
}

@media (min-width: 768px) {
    .hero-content h1 { font-size: 4rem; }
    .hero-content .sub-catch { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    .hero-content .sub-catch {
        font-size: 4vw;
    }

    .hero-content h1 {
        font-size: 7vw;
        margin-bottom: 6%;
    }

    .sub-catch2 {
        font-size: 4.3vw;
    }
}

.reco-width {
    width: 80%;
    margin: 0 auto;
}

.reco-list {
    margin-bottom: 130px;
}

.reco-item {
    margin: 50px 0;
}

@media (max-width: 768px) {
    .reco-width {
        width: 100%;
    }

    .reco-item {
        margin: 8% 0;
    }

    .reco-list {
        margin-bottom: 30%;
    }
}

/* --- Problem Section --- */
.problem {
    padding: 10px 0 110px;
    background-color: var(--white);
}

.section-title {
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
    line-height: 1.5;
    font-feature-settings: "palt";
    letter-spacing: 0.08em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-orange);
}

.problem .section-title {
    margin-bottom: 20px;
}

/* サブタイトルを吹き出し風にして視線誘導 */
.prob-sub {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--text-color);
    background-color: var(--bg-light); /* 薄いオレンジ背景 */
    border: 2px solid var(--primary-orange); /* オレンジの枠線 */
    padding: 15px 35px;
    border-radius: 50px;
    margin: 0 auto 50px;
    width: fit-content; /* テキストの長さに合わせる */
    position: relative;
    line-height: 1.6;
}

/* 下向きの三角形（吹き出しのしっぽ部分） */
.prob-sub::before, .prob-sub::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-style: solid;
}
/* 外側の線（オレンジ） */
.prob-sub::before {
    bottom: -14px;
    border-width: 14px 14px 0 14px;
    border-color: var(--primary-orange) transparent transparent transparent;
}
/* 内側の背景色（薄いオレンジ） */
.prob-sub::after {
    bottom: -11px;
    border-width: 12px 12px 0 12px;
    border-color: var(--bg-light) transparent transparent transparent;
}

/* リストを2x2のグリッドに */
.problem-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px; /* カードが綺麗に収まる横幅 */
    margin: 0 auto;
}

/* カード全体のスタイル */
.problem-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* 柔らかい影 */
    overflow: hidden; /* 角丸を画像にも適用させる */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent; /* ホバー時の枠線用にあらかじめ確保 */
    display: flex;
    flex-direction: column;
}

/* ホバーエフェクト（PC用） */
.problem-card:hover {
    transform: translateY(-5px); /* 少し上に浮く */
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.15); /* 影がオレンジ色に濃くなる */
    border-color: var(--primary-orange); /* オレンジの枠線が浮き出る */
}

/* 画像エリア */
.problem-img {
    width: 100%;
    aspect-ratio: 16 / 9; /* サムネイルを美しい比率に */
    background-color: #f2f2f2;
    overflow: hidden; /* ズームした画像がはみ出ないようにする */
}

.problem-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像を比率を保ったまま枠いっぱいに */
    transition: transform 0.4s ease; /* ズームアニメーションの時間 */
}

/* ホバー時に画像をゆっくりズームさせる */
.problem-card:hover .problem-img img {
    transform: scale(1.05);
}

/* テキストエリア */
.problem-text {
    padding: 20px 25px;
    display: flex;
    align-items: center; /* アイコンとテキストを中央揃え */
    gap: 15px;
    flex-grow: 1; /* テキスト量が違ってもカードの高さを揃える */
    background-color: #fff;
}

.problem-text i {
    font-size: 1.8rem;
    color: var(--primary-orange);
    flex-shrink: 0;
}

.problem-text p {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
}

/* ボックス全体のスタイル */
.problem-alert-box {
    background-color: #fffaf5; 
    border: 3px solid #f39a3c; 
    border-radius: 12px;       
    padding: 30px 20px;
    box-sizing: border-box;
    text-align: center;
    width: 70%;
    margin: 0 auto;
    margin-top: 50px;
    box-shadow: 0 4px 15px rgba(243, 154, 60, 0.2); 
}

/* テキスト部分 */
.alert-text {
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 24px;
    font-feature-settings: "palt";
    letter-spacing: 0.08em;
}

/* 院名強調部分 */
.alert-text .highlight {
    color: #f39a3c;
    font-size: 1.4rem;
    display: inline-block;
    margin-right: 3px;
    border-bottom: 2px solid #f39a3c; 
}

/* CTAボタンのスタイル */
.alert-cta {
    display: inline-block;
    background-color: #f39a3c;
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
}

.alert-cta:hover {
    background-color: #e08e35;
    transform: translateY(-2px); 
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

@media screen and (min-width: 768px) {
    .br-sp {
        display: none;
    }
}

/* スマホ用レスポンシブの調整 */
@media (max-width: 768px) {
    .section-title {
        font-size: 7vw;
    }

    .section-title::after {
        height: 3px;
    }

    .problem {
        padding-top: 13%;
        padding-bottom: 25%;
    }

    .prob-sub {
        font-size: 4.5vw; /* スマホでもしっかり読める大きさに */
        margin-bottom: 30px;
    }

    .problem-list {
        grid-template-columns: 1fr; /* スマホでは2列ではなく縦1列にする */
        gap: 20px;
        padding: 0 5px;
    }

    .problem-item {
        padding: 15px 20px;
    }

    .problem-text {
        padding: 15px 20px;
    }

    .problem-text i {
        font-size: 1.5rem;
    }

    .problem-text p {
        font-size: 1.05rem;
    }

    .problem-item i {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-right: 15px;
    }

    .problem-item p {
        font-size: 4vw;
    }

    .problem-alert-box {
        width: 100%;
        margin-top: 40px;
    }
}

/* --- Solution / USP Section --- */
.solution {
    padding: 100px 0;
    background-color: var(--accent-black);
    color: var(--white);
    transform: skewY(-3deg);
    margin-top: -50px;
}

.solution-inner {
    transform: skewY(3deg); /* 内容を水平に戻す */
}

.solution .section-title { color: var(--white); }

.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

@media (min-width: 768px) {
    .features { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
    background-color: var(--white);
    color: var(--text-color);
    padding: 30px;
    text-align: center;
    border-bottom: 5px solid var(--primary-orange);
}

.feature-num {
    font-size: 3rem;
    font-weight: 900;
    color: #eee;
    line-height: 1;
    display: block;
}

.feature-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background-color: #ccc;
    margin: 10px 0;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-orange);
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .feature-card p {
        text-align: left;
    }
}

/* --- Offer Section --- */
.offer {
    padding: 80px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.offer-box {
    border: 3px solid var(--primary-orange);
    background-color: var(--white);
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.offer-label {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: red;
    color: white;
    padding: 10px 30px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}

.price-area {
    margin: 10px 0 30px;
}

.old-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: #888;
}

.new-price {
    font-size: 3.5rem;
    font-weight: 900;
    color: red;
    line-height: 1;
}

.new-price span { font-size: 1.5rem; color: var(--text-color); }

.limit {
    background-color: #333;
    color: #fff;
    display: inline-block;
    padding: 5px 20px;
    margin-bottom: 20px;
    margin-top: 30px;
}

/* --- CTA Section --- */
.cta-section {
    padding: 10px 0 30px;
    text-align: center;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .cta-buttons { flex-direction: row; }
}

.cta-buttons .btn {
    width: 100%; /* スマホ表示では親要素に合わせる */
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .cta-buttons .btn {
        width: 320px; /* PC表示では横幅を固定して完全にサイズを揃える */
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .offer-label {
        width: 80%;
    }

    .limit {
        margin-bottom: 0;
    }

    .cta-section {
        padding-top: 5%;
    }

    .cta-section .btn {
        padding: 15px 20px;
    }
}

.btn-line {
    background-color: #06C755;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-tel {
    background-color: var(--accent-black);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.access {
    margin-top: 40px;
}

.access-info p {
    text-align: center;
}

@media (max-width: 768px) {
    .access-info p {
        text-align: left;
    }
}

/* --- Profile / Access --- */
.profile, .access {
    padding: 60px 0;
    background-color: var(--white);
}

.map-box {
    width: 100%;
    height: 400px;
    background-color: #eee;
}

/* --- Footer --- */
footer {
    background-color: var(--accent-black);
    color: #888;
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
}

/* --- Floating CTA (Mobile) --- */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 999;
}

.floating-cta a {
    flex: 1;
    padding: 15px;
    text-align: center;
    color: white;
    font-weight: bold;
}

.float-tel { background-color: var(--accent-black); }
.float-line { background-color: var(--primary-orange); }

@media (min-width: 768px) {
    .floating-cta { display: none; }
}


/* --- お客様の声 Section (Voice) --- */
.voice-section {
    padding: 80px 0 0;
    background-color: var(--white);
}

.voice-main-title {
    text-align: center;
    margin-bottom: 60px;
    font-weight: 900;
    line-height: 1.4;
    font-feature-settings: "palt";
}

.voice-title-top {
    font-size: 1.8rem;
    color: var(--text-color);
}

.voice-title-bottom {
    font-size: 2.2rem;
    display: inline-block;
    margin-top: 5px;
}

.voice-card {
    background-color: var(--bg-light); 
    padding: 50px 45px; /* 上下の余白を少し増やしてゆとりを出す */
    margin-bottom: 60px;
    border-radius: 8px; /* 少し丸みをつける */
    box-shadow: 0 4px 20px rgba(0,0,0,0.04); /* ふんわりとした影 */
}

.voice-card-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--dark-orange);
    margin-bottom: 35px;
    text-align: center;
    line-height: 1.6;
}

/* PC時の動画とテキスト横並びレイアウト */
.voice-card-top {
    display: flex;
    gap: 40px; /* 動画とテキストの隙間を広げる */
    margin-bottom: 35px; /* 下のテキストとの間隔を広げる */
    align-items: flex-start;
}

/* 動画のラッパー */
.video-wrapper {
    position: relative;
    width: 100%;
    flex: 1;
    max-width: 45%; /* 動画サイズを少し抑えてテキスト幅を確保 */
    border-radius: 8px; /* 動画の角を丸くする */
    overflow: hidden; /* 角丸を適用するために必須 */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* 動画に立体感を出す影 */
}

.video-wrapper::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9のアスペクト比 */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* テキスト部分の共通設定 */
.voice-card-text-top,
.voice-card-text-bottom {
    font-size: 1.05rem;
    line-height: 2; /* 行間を広げて窮屈さをなくす */
    color: var(--text-color);
    letter-spacing: 0.03em;
}

.voice-card-text-top {
    flex: 1;
}

.voice-card-text-bottom {
    margin-bottom: 40px; /* 署名部分との間隔 */
}

/* マーカー線の装飾 */
.marker {
    /* 透過部分を70%にして、線を文字の下1/3程度まで細くする */
    background: linear-gradient(transparent 70%, #ffeb3b 70%);
    font-weight: bold;
}

/* メタ情報（お名前・年齢など） */
.voice-meta {
    text-align: right; /* 右寄せにしてプロっぽさを演出 */
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 10px;
}

/* 注意書き */
.voice-note {
    font-size: 0.85rem;
    color: #888; /* 少し薄い色に */
    text-align: right; /* 右寄せ */
}

/* スマホ用レスポンシブ */
@media (max-width: 768px) {
    .voice-main-title {
        margin-bottom: 40px;
    }
    
    .voice-title-top {
        font-size: 1.4rem;
    }

    .voice-title-bottom {
        font-size: 1.6rem;
    }

    .voice-card {
        padding: 30px 20px; /* スマホでは余白を調整 */
        margin-bottom: 40px;
    }

    .voice-card-title {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .voice-card-top {
        flex-direction: column; /* 縦並びに変更 */
        gap: 25px;
        margin-bottom: 25px;
    }

    .video-wrapper {
        max-width: 100%; /* スマホでは動画を横幅いっぱいに */
    }
    
    .voice-card-text-top,
    .voice-card-text-bottom {
        font-size: 1rem;
        line-height: 1.8;
    }

    .voice-meta,
    .voice-note {
        text-align: right; /* スマホでも右寄せで整える */
    }
}




/* --- Google口コミ風デザイン --- */
.google-reviews {
    margin: 60px auto 0; /* 上の動画ブロックとの余白 */
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px 30px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05); /* ほんのり影をつけてカードっぽく */
    transition: box-shadow 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.review-stars {
    color: #fbbc04; /* Googleの星と同じ色 */
    font-size: 1.25rem;
    margin-bottom: 15px;
    display: flex;
    gap: 4px; /* 星同士の隙間 */
}

.review-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #3c4043; /* Googleのテキストと同じ濃いグレー */
    margin: 0;
    letter-spacing: 0.03em;
}

/* スマホ用レスポンシブ（口コミ部分） */
@media (max-width: 768px) {
    .google-reviews {
        margin-top: 40px;
    }
    
    .review-card {
        padding: 20px 20px;
    }
    
    .review-stars {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }
    
    .review-text {
        font-size: 1rem;
        line-height: 1.7;
    }
}



/* Google口コミのタイトル */
.google-reviews-header {
    text-align: center;
    margin-top: 80px; /* 上の動画口コミとの間隔 */
    margin-bottom: 30px;
}

.google-reviews-header h3 {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-color);
    line-height: 1.6;
}

/* スマホ用レスポンシブ（タイトル部分） */
@media (max-width: 768px) {
    .google-reviews-header {
        margin-top: 50px;
        margin-bottom: 25px;
    }
    .google-reviews-header h3 {
        font-size: 4.5vw; /* スマホでも横幅に収まるサイズ */
    }
}