/* ========================================
   タブレット版レスポンシブ（768px〜）
   ======================================== */

@media (min-width: 768px) {

  /* ── ヘッダー ── */
  .header {
    height: 80px;
    padding-left: 20px;
  }

  .header-logo-icon {
    width: 41px;
    height: 48px;
  }

  .header-brand-logo {
    width: 250px;
    height: auto;
  }

  .header-brand-tagline {
    display: none;
  }

  /* SP用の小さいアイコン+ラベルを非表示 */
  .header-cta-phone .header-cta-icon,
  .header-cta-phone .header-cta-label {
    display: none;
  }

  /* タブレット用：電話番号展開表示 */
  .header-phone-expanded {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
  }

  .header-phone-meta {
    font-family: var(--font-jp);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    white-space: nowrap;
  }

  .header-phone-number-row {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 25px;
  }

  .header-phone-icon-lg {
    width: 21px;
    height: 25px;
    flex-shrink: 0;
  }

  .header-phone-icon-lg path {
    fill: var(--color-yellow);
  }

  .header-phone-number {
    font-family: var(--font-en);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-yellow);
    text-decoration: underline;
    letter-spacing: -1.2px;
    white-space: nowrap;
  }

  .header-cta-group {
    height: 80px;
  }

  .header-cta-phone {
    width: 250px;
    height: 80px;
    background: var(--color-navy);
    padding: 8px 4px;
  }

  .header-cta-mail {
    width: 80px;
    height: 80px;
    font-size: 12px;
    gap: 5px;
  }

  .header-hamburger {
    width: 80px;
    height: 80px;
  }

  .header-hamburger-lines {
    gap: 7.5px;
  }

  .header-hamburger-line {
    width: 35px;
    height: 3.75px;
  }

  .header-cta-icon--mail {
    width: 20px;
    height: 23px;
  }

  /* ── ヒーロー ── */
  .hero {
    padding: 30px;
    gap: 30px;
    background-color: var(--color-navy);
    background-image: url("../images/s02_hero/hero-bg.webp");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center -250px;
  }

  /* ── 症状グリッド ── */
  .hero-symptoms {
    max-width: 600px;
    gap: 0 20px;
  }

  .hero-symptom-label {
    font-size: 18px;
    padding: 10px 4px;
  }

  .hero-symptom-img {
    height: 96px;
  }

  /* ── メインコピーエリア（写真右配置） ── */
  .hero-main {
    position: relative;
    max-width: 600px;
    width: 100%;
    height: 535px;
  }

  .hero-copy-sub {
    position: absolute;
    top: -6.31px;
    left: calc(50% - 298.95px);
    transform: none;
    width: 451.9px;
    height: auto;
    z-index: 2;
  }

  .hero-copy-main {
    position: absolute;
    top: 44.87px;
    left: -15px;
    width: calc(100% - 120px);
    height: 164.4px;
    margin-top: 0;
    z-index: 2;
  }

  .hero-main > picture {
    position: absolute;
    top: 80px;
    left: 375px;
    width: 350px;
    height: 350px;
    z-index: 1;
  }

  .hero-photo {
    width: 100%;
    height: 100%;
    max-width: none;
    align-self: auto;
    object-fit: contain;
    margin-top: 0;
  }

  .hero-badge {
    position: absolute;
    bottom: 180px;
    left: 0;
    width: 400px;
    max-width: none;
    margin-top: 0;
    z-index: 2;
  }

  /* ── タブレット用キャンペーン画像 ── */
  .hero-campaign {
    display: block;
    position: absolute;
    top: 332px;
    left: 0;
    width: 646px;
    height: auto;
    z-index: 2;
  }

  /* タブレット: SP版キャンペーンセクションを非表示 */
  .campaign {
    display: none;
  }

  .hero-micro {
    font-size: 24px;
  }

  .hero-global {
    gap: 10px;
  }

  .hero-global-text {
    font-size: 24px;
    line-height: 2;
  }

  .hero-global-en {
    font-size: 16px;
  }

  /* ── CTA共通 ── */
  .cta-group {
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 15px;
  }

  .cta-area {
    width: 350px;
    max-width: 350px;
  }

  .cta-bubble {
    display: inline-flex;
    padding: 5px 20px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: -10px;
    border-radius: 20px;
    background: #ffffff;
    z-index: 2;
  }

  .cta-bubble::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .cta-bubble-text {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
  }

  .cta-phone-number-wrap {
    height: auto;
  }

  .cta-phone-btn {
    background: linear-gradient(180deg, #F5D028 0%, #F1C40F 100%);
    box-shadow: 0 4px 12px rgba(241, 196, 15, 0.35);
    width: 350px;
    height: 91px;
    padding: 20px 10px 10px;
    gap: 5px;
    z-index: 0;
  }

  .cta-phone-body {
    gap: 5px;
    z-index: 0;
  }

  .cta-phone-meta {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-navy);
  }

  .cta-phone-number {
    font-size: 36px;
    font-weight: 500;
    font-family: var(--font-en);
    color: var(--color-navy);
    letter-spacing: -0.05em;
    line-height: 100%;
  }

  .cta-phone-icon {
    left: 25px;
    top: calc(50% + 16px);
    transform: translateY(-50%);
    width: 25px;
    height: 30px;
    filter: brightness(0) saturate(100%) invert(15%) sepia(50%) saturate(2000%) hue-rotate(195deg) brightness(95%);
  }

  .cta-tap-icon {
    display: none;
  }

  /* ── ヒーローCTA配色（赤背景・白テキスト） ── */
  .hero .cta-phone-btn {
    background: linear-gradient(180deg, #FF6056 0%, #FF3B30 100%);
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.35);
  }

  .hero .cta-phone-meta,
  .hero .cta-phone-number {
    color: #ffffff;
  }

  .hero .cta-phone-icon {
    filter: none;
  }

  /* ── フォームCTA ── */
  .cta-form-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 344px;
    isolation: isolate;
  }

  .cta-form-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 350px;
    height: 91px;
    padding: 20px 10px 10px;
    background: linear-gradient(180deg, #7AD4E5 0%, #5DC1D6 100%);
    border: 1px solid #ffffff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(93, 193, 214, 0.35);
    text-decoration: none;
    overflow: hidden;
    z-index: 0;
  }

  .cta-form-icon {
    width: 28px;
    height: 32px;
    flex-shrink: 0;
  }

  .cta-form-icon path {
    fill: var(--color-navy);
  }

  .cta-form-text {
    font-family: var(--font-jp);
    font-size: 20px;
    font-weight: 700;
    line-height: 100%;
    color: var(--color-navy);
    text-align: center;
    white-space: nowrap;
  }

  /* ── キャンペーン ── */
  .campaign {
    padding: 40px 30px 25px;
    gap: 25px;
  }

  .campaign-banner {
    max-width: 540px;
  }

  .campaign-note {
    font-size: 11px;
    max-width: 600px;
    align-self: center;
    text-align: right;
    width: 100%;
  }

  /* ── 悩み共感 ── */
  .empathy {
    gap: 40px;
  }

  .empathy-heading {
    padding: 30px 30px;
    gap: 12px;
  }

  .empathy-heading-badge {
    font-size: 20px;
  }

  .empathy-heading-text {
    font-size: 32px;
  }

  .empathy-content {
    padding: 0 15px;
  }

  .empathy-cards-wrap {
    gap: 40px;
  }

  .empathy-symptom-grid {
    gap: 15px;
    padding: 10px 20px;
  }

  .empathy-symptom-card {
    width: 400px;
    max-width: 100%;
    padding: 10px 40px;
    border-radius: 12px;
  }

  .empathy-symptom-sub {
    font-size: 16px;
  }

  .empathy-symptom-main {
    font-size: 20px;
  }

  .empathy-symptom-illust {
    width: 60px;
    height: 60px;
    top: 22px;
  }

  .empathy-symptom-illust--left {
    left: 4px;
  }

  .empathy-symptom-illust--right {
    right: auto;
    left: 341px;
  }

  .empathy-symptom-illust--sm {
    width: 50px;
    height: 50px;
    top: 22px;
  }

  .empathy-concern-line {
    width: 40.5px;
    height: 70px;
  }

  .empathy-concern-text {
    font-size: 22px;
  }

  .empathy-family {
    width: 420px;
  }

  .empathy-error {
    padding: 30px;
    gap: 20px;
    max-width: 540px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  }

  .empathy-error-heading-sub,
  .empathy-error-heading-main {
    font-size: 24px;
  }

  .empathy-error-list {
    gap: 15px;
  }

  .empathy-error-row {
    padding: 14px 20px;
    gap: 8px;
  }

  .empathy-error-badges {
    gap: 6px;
  }

  .empathy-error-desc {
    font-size: 18px;
  }

  .empathy-error-desc .red {
    font-size: 18px;
  }

  /* ── 料金表 ── */
  .pricing-heading {
    padding: 30px 30px 70px;
    gap: 20px;
  }

  .pricing-heading-sub {
    font-size: 22px;
  }

  .pricing-heading-sub-lg {
    font-size: 26px;
  }

  .pricing-content {
    padding: 0 30px;
    max-width: none;
    gap: 35px;
  }

  .pricing-title {
    font-size: 34px;
  }

  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .pricing-card-label {
    font-size: 22px;
    padding: 12px 8px;
  }

  .pricing-card-img {
    height: 140px;
  }

  .pricing-card-price-num {
    font-size: 36px;
  }

  .pricing-card-price-unit {
    font-size: 18px;
  }

  .pricing-card-list-item {
    font-size: 13px;
  }

  .pricing-warn-img {
    max-width: 540px;
  }

  .pricing-banner {
    max-width: 540px;
  }

  .pricing-safe {
    max-width: 540px;
    width: 100%;
  }

  .pricing-safe-text,
  .pricing-safe-sub {
    font-size: 18px;
  }

  .pricing-safe-body {
    padding: 0 30px;
  }

  .pricing-safe-highlight-text {
    font-size: 24px;
  }

  .pricing-safe-highlight-text .tb-br {
    display: inline;
  }

  /* ── サービス概要 ── */
  .service-heading {
    padding: 40px 0;
    gap: 12px;
  }

  .service-content {
    padding: 50px 30px;
    gap: 50px;
    max-width: 760px;
    margin: 0 auto;
  }

  .service-compare-scroll {
    overflow-x: visible;
  }

  .service-compare-img {
    width: 100%;
    min-width: auto;
  }

  .service-promise-img {
    max-width: 700px;
    margin: 0 auto;
  }

  /* ── 中間CTA ── */
  .mid-cta {
    padding: 40px 15px;
    gap: 20px;
  }

  .mid-cta .cta-area {
    width: 344px;
    max-width: 344px;
  }

  .mid-cta-form-card {
    display: none;
  }

  /* TB用見出し */
  .mid-cta-heading-tb {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    gap: 20px;
  }

  .mid-cta-catch-tb {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .mid-cta-catch-text-tb {
    font-family: var(--font-jp);
    font-size: 32px;
    font-weight: 900;
    line-height: 1.3;
    color: #ffffff;
    white-space: nowrap;
  }

  .mid-cta-deco-line {
    width: 28px;
    height: 40px;
    flex-shrink: 0;
  }

  /* ロゴ＋「に」 */
  .mid-cta-brand-tb {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .mid-cta-brand-logo-tb {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 64px;
    padding-right: 30px;
  }

  .mid-cta-brand-icon-tb {
    height: 64px;
    width: 55px;
    object-fit: cover;
  }

  .mid-cta-brand-name-tb {
    height: 64px;
    object-fit: cover;
  }

  .mid-cta-brand-ni-tb {
    position: absolute;
    top: 26px;
    right: 0;
    font-family: var(--font-jp);
    font-size: 30px;
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
  }

  /* 「全てお任せください！」 */
  .mid-cta-entrust-tb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 12px;
    font-family: var(--font-jp);
    font-size: 36px;
    font-weight: 900;
    line-height: 1.3;
    color: var(--color-yellow);
    text-align: center;
    white-space: nowrap;
  }

  .mid-cta-entrust-text {
    font-weight: 900;
    line-height: 1.3;
    flex-shrink: 0;
  }

  .mid-cta-entrust-lg {
    font-size: 48px;
  }

  .mid-cta-entrust-md {
    font-size: 45px;
  }

  .mid-cta-entrust-sm {
    font-size: 36px;
  }

  .mid-cta-entrust-ex {
    font-size: 48px;
    display: inline-block;
    flex-shrink: 0;
    line-height: 1.3;
    transform: rotate(8.266deg);
    position: relative;
    top: 3px;
    left: -6px;
  }

  /* ── 選ばれる理由 ── */
  .reason-heading {
    padding: 50px 0 70px;
    gap: 8px;
  }

  .reason-cards {
    padding: 60px 0 0;
    gap: 50px;
    max-width: 100%;
    width: 100%;
  }

  .reason-card--left {
    padding-right: 100px;
    padding-left: 0;
  }

  .reason-card--right {
    padding-left: 100px;
    padding-right: 0;
  }

  /* カード内をグリッド2列に */
  .reason-card-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    align-content: center;
    padding: 40px;
    gap: 10px 20px;
  }

  .reason-card-img {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    align-self: center;
  }

  /* カード01,03（左寄せ）: 画像=左列、テキスト=右列 */
  .reason-card--left {
    grid-template-columns: 200px 1fr;
  }

  .reason-card--left .reason-card-img {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .reason-card--left .reason-card-title {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
  }

  .reason-card--left .reason-card-body {
    grid-column: 2;
    grid-row: 2;
  }

  /* カード02（右寄せ）: テキスト=左列、画像=右列 */
  .reason-card--right {
    grid-template-columns: 1fr 200px;
  }

  .reason-card--right .reason-card-title {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    text-align: right;
  }

  .reason-card--right .reason-card-body {
    grid-column: 1;
    grid-row: 2;
  }

  .reason-card--right .reason-card-img {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .reason-card-title {
    font-size: 24px;
    white-space: nowrap;
  }

  .reason-card-body {
    font-size: 14px;
  }

  .reason-card-number {
    font-size: 80px;
  }

  /* ── ご利用の流れ ── */
  .flow-heading-group {
    padding: 50px 0 40px;
    gap: 12px;
  }

  .flow-steps {
    padding: 0 30px;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .flow-step {
    padding: 20px;
    gap: 25px;
  }

  .flow-step-icon {
    width: 60px;
    height: 60px;
  }

  .flow-step-title {
    font-size: 18px;
  }

  .flow-step-desc {
    font-size: 14px;
  }

  /* ── お客様の声 ── */
  .voice {
    padding: 50px 0;
    gap: 40px;
  }

  .voice-carousel {
    padding: 50px 0;
  }

  .voice-carousel-track {
    height: 290px;
  }

  .voice-card {
    width: 320px;
    padding: 25px;
  }

  .voice-carousel-arrow--left {
    left: calc(50% - 160px - 10px - 28px);
  }

  .voice-carousel-arrow--right {
    right: calc(50% - 160px - 10px - 28px);
  }

  .voice-card-title {
    font-size: 17px;
  }

  .voice-card-body {
    font-size: 13px;
  }

  /* ── 対応エリア ── */
  .area {
    padding: 50px 30px;
    gap: 40px;
  }

  .area-content {
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
  }

  .area-map {
    width: 540px;
    max-width: 100%;
    margin: 0 auto;
  }

  .area-cards {
    flex-direction: row;
    gap: 20px;
  }

  .area-card {
    flex: 1;
  }

  .area-region-list {
    font-size: 13px;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  /* ── FAQ ── */
  .faq {
    padding: 50px 0;
    gap: 40px;
  }

  .faq-heading-bar {
    padding: 50px 0 40px;
  }

  .faq-list {
    padding: 0 30px;
    gap: 18px;
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }

  .faq-question {
    padding: 18px 20px;
  }

  .faq-question-text {
    font-size: 16px;
  }

  .faq-toggle {
    font-size: 16px;
    width: 16px;
  }

  .faq-answer {
    padding: 20px;
  }

  .faq-answer-text {
    font-size: 16px;
  }

  /* ── 問い合わせフォーム ── */
  .contact-form {
    padding: 60px 30px;
    gap: 40px;
  }

  .contact-form-heading {
    font-size: 30px;
  }

  .contact-form-body {
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
  }

  .contact-form-card {
    padding: 60px 30px;
  }

  .form-field-label-text {
    font-size: 16px;
  }

  .form-field-input,
  .form-field-textarea,
  .form-field-select {
    font-size: 14px;
    padding: 14px;
  }

  .form-chip {
    font-size: 13px;
    padding: 10px 18px;
  }

  .form-submit {
    font-size: 18px;
    padding: 22px 0;
    max-width: 400px;
    margin: 0 auto;
  }

  /* ── フッター ── */
  .footer {
    padding: 40px 15px 30px;
    gap: 20px;
  }

  .footer-heading-area {
    gap: 20px;
  }

  .footer-heading-sub {
    gap: 15px;
  }

  .footer-heading-deco {
    width: 28px;
    height: 40px;
  }

  .footer-heading-sub-text {
    font-size: 32px;
  }

  .footer-heading-main {
    gap: 20px;
    align-items: center;
  }

  /* ロゴ＋に */
  .footer-brand-icon {
    display: block;
    height: 64px;
    width: 55px;
    object-fit: cover;
  }

  .footer-brand-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 64px;
    padding-right: 30px;
  }

  .footer-brand-img {
    width: auto;
    height: 64px;
    object-fit: cover;
  }

  .footer-brand-ni {
    position: absolute;
    top: 26px;
    right: 0;
    font-size: 30px;
  }

  /* 全てお任せください！ */
  .footer-catch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 12px;
    font-size: 36px;
    color: var(--color-yellow);
    width: 100%;
  }

  .footer-catch-text {
    flex-shrink: 0;
  }

  .footer-catch-lg {
    font-size: 48px;
  }

  .footer-catch-md {
    font-size: 45px;
  }

  .footer-catch-sm {
    font-size: 36px;
  }

  .footer-catch-ex {
    font-size: 48px;
    transform: rotate(8.266deg);
    position: relative;
    top: 3px;
    left: -6px;
  }

  .footer-links {
    flex-direction: row;
    gap: 30px;
  }

  .footer-link {
    font-size: 13px;
  }

  .footer-copyright {
    font-size: 11px;
  }

  /* ── フローティングCTA ── */
  .floating-cta {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 30px;
    gap: 20px;
    background: #0F3460;
  }

  /* SP用要素を非表示 */
  .floating-cta-phone {
    display: none;
  }

  .floating-cta-time {
    font-family: var(--font-jp);
    font-size: 24px;
    font-weight: 500;
    line-height: 100%;
    white-space: nowrap;
  }

  .floating-cta-time-bold {
    font-weight: 500;
  }

  /* タブレット用CTAロウ */
  .floating-cta-row {
    display: flex;
    width: 708px;
    justify-content: space-between;
    align-items: center;
  }

  /* タブレット用電話ボタン */
  .floating-cta-phone-tb {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 344px;
    height: 88px;
    padding: 15px 10px;
    background: linear-gradient(180deg, #FF6056 0%, #FF3B30 100%);
    border: 1px solid #ffffff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.35);
    text-decoration: none;
    overflow: hidden;
  }

  .floating-cta-phone-body-tb {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .floating-cta-meta-tb {
    font-family: var(--font-jp);
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
  }

  .floating-cta-number-tb {
    font-family: var(--font-en);
    font-size: 36px;
    font-weight: 500;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -0.05em;
    white-space: nowrap;
  }

  .floating-cta-icon-tb {
    position: absolute;
    left: 26px;
    bottom: 14px;
    width: 25px;
    height: 30px;
  }

  /* タブレット用フォームボタン */
  .floating-cta-form-tb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 344px;
    height: 88px;
    padding: 15px 10px;
    background: linear-gradient(180deg, #7AD4E5 0%, #5DC1D6 100%);
    border: 1px solid #ffffff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(93, 193, 214, 0.35);
    text-decoration: none;
    overflow: hidden;
  }

  .floating-cta-form-icon-tb {
    width: 28px;
    height: 32px;
    flex-shrink: 0;
  }

  .floating-cta-form-text-tb {
    font-family: var(--font-jp);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-navy);
    white-space: nowrap;
  }

  /* ── サンクスモーダル ── */
  .thanks-modal-card {
    max-width: 500px;
    padding: 50px 40px;
  }

  /* ── 法的ページ ── */
  .legal-heading {
    font-size: 28px;
  }

  .legal-body {
    max-width: 680px;
    padding: 40px 30px 60px;
  }
}
