@charset "UTF-8";
/* stylelint-disable length-zero-no-unit, media-feature-range-notation, order/properties-order, shorthand-property-no-redundant-values -- Retain legacy layout rules; typography is centralized in legacy/typography.scss. */
/* stylelint-disable length-zero-no-unit, shorthand-property-no-redundant-values -- Preserve the legacy declaration exactly during the namespace-only migration. */
/* ====== コンテナ ====== */
.sub-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 20px 20px;
}

/* ==========================================
 2. パンくずリスト
 ========================================== */
.section-breadcrumb {
  background: var(--c-paper);
  overflow-x: hidden;
}

/* ==========================================
 3. 追従ナビゲーション（!importantを全撤廃）
 ========================================== */
.section-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.75);
  overflow-x: hidden;
}

.header-container {
  display: block;
  width: 100%;
  max-width: 1200px;
  /* ★1200px幅に固定しつつ */
  margin: 0 auto;
  padding: 15px 40px;
  box-sizing: border-box;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-item a {
  color: #fff;
  text-decoration: none;
  text-align: center;
}

.nav-item:hover a,
.nav-item:hover .arrow {
  color: var(--ct-branch-accent);
}

.nav-item .arrow {
  font-size: 10px;
  font-weight: 400;
  color: #fff;
}

/* ==========================================
 4. スマホ・タブレット用レスポンシブ（追加補正）
 ========================================== */
@media (max-width: 992px) {
  /* メイン画像の高さをスマホ向けに自動調整 */
  .sub-hero-photo {
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 0;
  }
  /* ナビゲーションメニューをスマホで溢れさせないための調整 */
  .header-container {
    padding: 15px 20px;
  }
}
/* ==========================================================================
 aboutセクション
 ========================================================================== */
/* ==========================================================================
 サービス内容セクション
 ========================================================================== */
.sub-info-section {
  width: 100%;
  background-color: var(--c-paper);
}

.sub-info-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px 60px;
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
}

.sub-info-row {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid #222;
}

.sub-info-container ul {
  padding: 0 0 0 18px;
}

.sub-info-container li {
  padding: 3px 0;
  position: relative;
}

.sub-info-title {
  width: 170px;
  color: var(--ct-branch-accent);
  margin: 0;
  padding-left: 20px;
  flex-shrink: 0;
}

.sub-info-content {
  flex: 1;
  margin: 0;
  padding-left: 20px;
}

.sub-info-content .sub-main-text,
.sub-info-content .sub-sub-text {
  color: var(--c-ink-body);
  margin: 0;
}

.sub-info-content:has(.sub-comment-text) .sub-main-text {
  margin-top: 10px;
}

.sub-info-content .sub-comment-text {
  display: block;
  color: var(--c-ink-strong);
  margin: 4px 0 0 0;
  padding-left: 1.2em;
  text-indent: -1.2em;
}

.sub-info-content .sub-highlight {
  color: var(--ct-branch-accent);
}

.sub-info-content .sub-main-text2 {
  color: var(--c-ink-body);
  margin: 0 0 15px 0;
}

/* stylelint-disable-next-line selector-class-pattern -- sub-info-content is a shared legacy class outside this tranche. */
.sub-info-content .ct-p-support-date-notes {
  color: var(--c-ink-strong);
  margin-top: 15px;
}

/* ====== Calendar ====== */
@media (width >= 768px) {
  .ct-p-kotonone-calendar iframe {
    --ct-calendar-width: 66%;
  }
}
@media (768px <= width < 1024px) {
  .ct-p-kotonone-calendar iframe {
    display: block;
    margin-inline: auto;
  }
}
.ct-p-kotonone-calendar {
  padding: 0px 0 0px;
  background: var(--c-paper);
}

.ct-p-kotonone-calendar iframe {
  width: var(--ct-calendar-width, 100%);
  max-width: none;
  height: 400px;
}

iframe {
  border: none;
  /* 枠線なし */
  border-radius: 15px;
  /* 角を丸くする */
  margin-top: 5px;
  background-color: #fff;
}

/* ==========================================================================
  とある利用者の1日セクション（!importantを安全に撤廃）
 ========================================================================== */
.ct-p-support-day {
  width: 100%;
  background-color: var(--c-paper);
}

.swiper.mySwiper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.swiper-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  box-sizing: border-box;
  gap: 20px;
}

/* PC：4列がぴったり収まる設定（詳細度を上げて上書き） */
.swiper.mySwiper .swiper-slide {
  height: auto;
  flex-shrink: 0;
  box-sizing: border-box;
  width: calc((100% - 60px) / 4);
}

.card-content {
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: 15px;
  padding: 30px 20px;
  height: 100%;
  box-sizing: border-box;
}

.card-num {
  color: var(--ct-branch-accent);
  margin-bottom: 15px;
}

.card-content h3 {
  color: var(--c-ink-body);
  margin: 0 0 12px 0;
}

.card-content p,
.card-content li {
  color: var(--c-ink-strong);
  margin: 0;
}

.card-content ul {
  margin-top: 3px;
  padding-left: 15px;
}

/* ==========================================================================
 ご利用の流れセクション
 ========================================================================== */
.ct-p-support-flow {
  width: 100%;
  background-color: var(--c-paper);
}

.ct-p-support-speech-balloon {
  position: relative;
  display: inline-block;
  width: fit-content;
  align-self: center;
  margin-left: auto;
  margin-right: auto;
  padding: 0px 10px;
  background: var(--c-theme-kakeru-bgata);
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border: 1px solid transparent;
  z-index: 2;
}

.ct-p-support-speech-balloon::after {
  content: "";
  position: absolute;
  top: 100%;
  margin-top: 0;
  left: 30%;
  transform: translateX(-50%);
  border: 10px solid transparent;
  border-top-color: var(--c-theme-kakeru-bgata);
  transition: border-top-color 0.3s ease;
}

.ct-p-support-flow .ct-p-support-flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
  gap: 30px;
  position: relative;
}

.ct-p-support-flow .ct-p-support-step-headline {
  color: var(--c-ink-body);
  margin: 20px 0 12px 0;
  text-wrap: balance;
}

.ct-p-support-step-headline > span {
  display: inline-block;
}

.ct-p-support-flow .ct-p-support-step-text {
  color: var(--c-ink-body);
  margin: 0;
  word-break: normal;
  overflow-wrap: anywhere;
}

/* ==========================================================================
  スマートフォン・タブレット用レスポンシブ設定（統合・一元管理）
 ========================================================================== */
/* ── PC時のみ適用する装飾設定（バッジの貫通横線） ── */
@media (min-width: 992px) {
  .ct-p-support-flow .ct-p-support-flow-steps::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--c-theme-kakeru-bgata);
    z-index: 1;
    pointer-events: none;
  }
}
/* ── タブレット（1023px以下） ── */
@media (max-width: 1023px) {
  /* 利用者の1日：2列に折り返し */
  .swiper.mySwiper .swiper-slide {
    width: calc((100% - 20px) / 2);
  }
}
/* ── スマホ中型（991px以下でのタイムライン縦型化） ── */
@media (max-width: 991px) {
  .ct-p-support-flow .ct-p-support-flow-steps {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-left: 0;
  }
  .ct-p-support-flow .ct-p-support-flow-steps::before {
    content: "";
    position: absolute;
    top: 15px;
    bottom: 20px;
    left: 42px;
    width: 2px;
    background: var(--c-theme-kakeru-bgata);
    pointer-events: none;
  }
  .ct-p-support-flow-step {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }
  .ct-p-support-flow .ct-p-support-step-headline {
    margin-top: 5px;
  }
  .ct-p-support-flow .ct-p-support-speech-balloon {
    width: 84px;
    align-self: start;
    padding-inline: 4px;
    margin: 0;
    font-size: var(--ct-text-small);
    text-align: center;
  }
}
/* ── スマホ標準（768px以下） ── */
@media (max-width: 768px) {
  /* サービス内容：はみ出し・横揺れ防止のための余白縮小 */
  .sub-info-container {
    padding: 30px 20px;
    /* 左右を20pxに引き締めて安全に収めます */
  }
  .sub-info-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0;
  }
  .sub-info-title {
    width: 100%;
    border-right: none;
    border-bottom: 1px dashed #cccccc;
    padding-right: 0;
    padding-bottom: 10px;
    margin-bottom: 12px;
  }
  .sub-info-content {
    width: 100%;
    padding-left: 0;
  }
}
/* ── スマホ小型（767px以下） ── */
@media (max-width: 767px) {
  .swiper-wrapper {
    gap: 15px;
  }
  /* 利用者の1日：1列の縦並びに変更 */
  .swiper.mySwiper .swiper-slide {
    width: 100%;
  }
}
/* ==========================================================================
 5. 画像デザインを完全再現：アコーディオンFAQ（!importantを撤廃）
 ========================================================================== */
.sub-faq-section {
  width: 100%;
  background-color: var(--c-paper);
}

.sub-faq-section .faq-container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* 角丸と白背景のボックス本体 */
.sub-faq-section .faq-item {
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 100px;
  /* PC時は画像通りの太い角丸 */
  padding: 25px 40px;
  /* 内側の広い余白 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  border: none;
  margin-bottom: 25px;
}

.sub-faq-section .faq-item:last-child {
  margin-bottom: 0;
}

/* 質問エリア */
.sub-faq-section .faq-question {
  color: var(--c-ink-body);
  display: flex;
  align-items: center;
  position: relative;
  list-style: none;
  user-select: none;
  padding-right: 40px;
  /* アイコンに文字が被るのを防ぐ */
}

/* Safari用の三角形マーカー消し */
.sub-faq-section .faq-question::-webkit-details-marker {
  display: none;
}

/* 「Q.」の文字色 */
.sub-faq-section .faq-q-prefix {
  color: var(--ct-branch-accent);
  margin-right: 12px;
}

/* ── 右側の「＋ / ─」アイコン（位置計算のバグを修正） ── */
/* 横線（マイナス） */
.sub-faq-section .faq-question::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 2px;
  background-color: var(--ct-branch-accent);
  transition: transform 0.3s ease;
}

/* 縦線（プラス） */
.sub-faq-section .faq-question::before {
  content: "";
  position: absolute;
  right: 23px;
  /* 横線の中心にぴったり重なるように配置 */
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 18px;
  background-color: var(--ct-branch-accent);
  transition: opacity 0.2s ease, transform 0.3s ease;
}

/* アコーディオンが開いたとき（open状態）のアイコン切り替え */
details[open] .faq-question::before {
  opacity: 0;
  transform: translateY(-50%) rotate(90deg);
}

/* 回答エリア */
.sub-faq-section .faq-answer {
  margin-top: 24px;
  padding-left: 36px;
  /* 「Q.」の幅に合わせてインデントし、開始位置を再現 */
  padding-right: 40px;
  animation: faqFadeIn 0.35s ease-out;
}

/* ホバー時 */
.sub-faq-section .faq-item:hover {
  background-color: var(--ct-faq-hover, var(--ct-branch-tint));
}

/* 回答の本文テキスト */
.sub-faq-section .faq-answer p {
  color: #222222;
  margin: 0;
}

@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ==========================================================================
 6. アクセス（Access）セクション専用スタイル
 ========================================================================== */
.sub-access-section {
  width: 100%;
  background-color: var(--c-paper);
}

.sub-access-section .access-container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.sub-access-section .access-flex-container {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: flex-start;
}

/* 【Left】マップエリア */
.sub-access-section .access-map-box {
  flex: 1;
  max-width: 550px;
  width: 100%;
  flex-shrink: 0;
}

.sub-access-section .access-map-box iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

/* 【Right】テキストエリア */
.sub-access-section .access-info-box {
  flex: 1;
}

.sub-access-section .access-sub-title {
  color: var(--c-ink-body);
  margin: 0 0 15px 0;
}

.sub-access-section .access-lead-text {
  color: var(--c-ink-body);
  margin: 0 0 25px 0;
}

/* ── 独立した専用テーブル構造（dl / dt / dd） ── */
.sub-access-section .access-table {
  border-top: 1px solid #222;
}

.sub-access-section .access-table-row {
  display: flex;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid #222;
  margin: 0;
}

.sub-access-section .access-table-title {
  width: 120px;
  color: var(--c-ink-body);
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  text-align: left;
}

.sub-access-section .access-table-content {
  flex: 1;
  margin: 0;
  padding: 0 0 0 20px;
}

.sub-access-section .access-main-text {
  margin: 0;
  padding: 0;
  color: var(--c-ink-body);
}

.sub-access-section .access-highlight {
  color: var(--ct-branch-accent);
}

/* フッターへの繋ぎ */
.sub-site-footer {
  background: var(--c-paper);
  padding: 0;
}

/* ==========================================================================
  7. アコーディオン・アクセス専用レスポンシブ設定
 ========================================================================== */
/* ── タブレット（960px以下） ── */
@media screen and (max-width: 960px) {
  /* アクセス：左右2カラムを縦並びに切り替える */
  .sub-access-section .access-flex-container {
    flex-direction: column;
    gap: 40px;
  }
  .sub-access-section .access-map-box,
  .sub-access-section .access-info-box {
    max-width: 100%;
    width: 100%;
  }
}
/* ── スマホ（768px以下） ── */
@media screen and (max-width: 768px) {
  /* FAQ：スマホ画面からはみ出さないように余白と角丸をコンパクト化 */
  .sub-faq-section .faq-item {
    border-radius: 12px;
    padding: 20px;
    /* 左右の余白を縮めて文字幅を確保 */
  }
  .sub-faq-section .faq-answer {
    padding-left: 0;
    /* スマホ時はインデントをリセットして広く使う */
    padding-right: 0;
  }
}
/* ── スマホ小型（576px以下） ── */
@media screen and (max-width: 576px) {
  /* アクセス：テーブル構造を縦並びに崩して画面内に収める */
  .sub-access-section .access-table-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 15px 0;
  }
  .sub-access-section .access-table-title {
    width: 100%;
  }
  .sub-access-section .access-table-content {
    padding-left: 0;
    width: 100%;
  }
}