@charset "UTF-8";
/* ==================================================
   トップページ（2エリア構成）
   上=保険診療エリア（青） / 下=自由診療エリア（テラコッタ） / 共通エリア
   画面幅の切り替え: 1251px（ヘッダーと同じ） / 900px（段組み）
   ================================================== */

.ic-top2 {
  --ic-top2-ink: #17212f;
  --ic-top2-sub: #4a5665;
  --ic-top2-navy: #14315e;
  --c: #1f539a;
  --c-text: #1f539a;
  --tint: #f3f6f9;
  --note: #eef4fa;
  --line: #d5dde6;
  padding-top: 90px; /* トップのヘッダーは絶対配置のため、その高さぶん空ける */
  color: var(--ic-top2-ink);
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
}
@media screen and (max-width: 1251px) {
  .ic-top2 { padding-top: 60px; }
}

.ic-top2-area--beauty {
  --c: #a84f43;
  --c-text: #9a4439;
  --tint: #fbf1ee;
  --note: #fbf1ee;
  --line: #e3cdc7;
}

.ic-top2 *,
.ic-top2 *::before,
.ic-top2 *::after { box-sizing: border-box; }
.ic-top2 h2,
.ic-top2 h3,
.ic-top2 p,
.ic-top2 ul,
.ic-top2 ol,
.ic-top2 dl,
.ic-top2 dd { margin: 0; padding: 0; }
.ic-top2 ul,
.ic-top2 ol { list-style: none; }
.ic-top2 a { color: inherit; text-decoration: none; }

/* ---------- エリア切り替えタブ（画面上部に追従） ---------- */
.ic-top2-tabs {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fff;
  box-shadow: 0 1px 0 #d5dde6;
}
.ic-top2 .ic-top2-tabs__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px 16px;
  min-height: 60px;
  padding: 6px 8px;
  line-height: 1.4;
  border-bottom: 3px solid transparent;
}
.ic-top2 .ic-top2-tabs__tab--insurance { color: #1f539a; border-bottom-color: #1f539a; }
.ic-top2 .ic-top2-tabs__tab--beauty { color: #a84f43; border-bottom-color: #a84f43; }
.ic-top2 .ic-top2-tabs__tab--insurance.is-current { background: #1f539a; color: #fff; }
.ic-top2 .ic-top2-tabs__tab--beauty.is-current { background: #a84f43; color: #fff; }
.ic-top2-tabs__name { font-size: 18px; font-weight: 700; letter-spacing: 0.1em; }
.ic-top2-tabs__sub { font-size: 13px; letter-spacing: 0.06em; }
@media screen and (max-width: 900px) {
  .ic-top2 .ic-top2-tabs__tab { flex-direction: column; gap: 0; min-height: 56px; }
  .ic-top2-tabs__name { font-size: 16px; }
  .ic-top2-tabs__sub { font-size: 11px; }
}

/* タブとヘッダーに隠れないよう、ページ内リンクの着地点を下げる */
.ic-top2-area,
.ic-top2-section { scroll-margin-top: 72px; }

/* ---------- FV（バナー画像＋見出しの帯） ---------- */
.ic-top2-fv { background: var(--tint); }
.ic-top2-fv__picture { display: block; }
.ic-top2 .ic-top2-fv__picture img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3840 / 960;
  object-fit: cover;
}
@media screen and (max-width: 1251px) {
  .ic-top2 .ic-top2-fv__picture img { aspect-ratio: 1500 / 1880; }
}
.ic-top2-fv__band {
  display: flex;
  align-items: center;
  gap: 32px 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px 44px;
}
.ic-top2-fv__head { flex: none; width: 42%; }
.ic-top2-fv__body { flex: 1; }
.ic-top2 .ic-top2-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--c-text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.6;
}
.ic-top2-kicker::before { content: ""; flex: none; width: 36px; height: 2px; background: var(--c); }
.ic-top2 .ic-top2-fv__title {
  margin-top: 10px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.ic-top2-fv__title span { display: inline-block; } /* 句の途中で折り返さない */
.ic-top2 .ic-top2-fv__lead { font-size: 15px; line-height: 1.9; }
.ic-top2-buttons { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 18px; }
@media screen and (max-width: 900px) {
  .ic-top2-fv__band { display: block; padding: 28px 20px 36px; }
  .ic-top2-fv__head { width: auto; }
  .ic-top2 .ic-top2-kicker { font-size: 12px; gap: 10px; }
  .ic-top2-kicker::before { width: 24px; }
  .ic-top2 .ic-top2-fv__title { font-size: 26px; letter-spacing: 0.02em; }
  .ic-top2 .ic-top2-fv__lead { margin-top: 14px; }
  .ic-top2-buttons { display: grid; margin-top: 22px; }
}

/* ---------- ボタン・文字リンク ---------- */
.ic-top2 .ic-top2-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 54px;
  padding: 8px 20px;
  border: 1px solid var(--c);
  border-radius: 2px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: center;
  transition: opacity 0.2s;
}
.ic-top2 .ic-top2-button--fill { background: var(--c); color: #fff; }
.ic-top2 .ic-top2-button--line { background: #fff; color: var(--c-text); }
.ic-top2 .ic-top2-button--block { display: flex; min-width: 0; min-height: 48px; font-size: 15px; }
.ic-top2 .ic-top2-button:hover { opacity: 0.8; }
.ic-top2 .ic-top2-textlink {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 0 2px;
  border-bottom: 1px solid var(--c);
  color: var(--c-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

/* ---------- 診療情報の帯（保険診療FVの直下） ---------- */
.ic-top2-info { background: var(--ic-top2-navy); color: #fff; }
.ic-top2 .ic-top2-info__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 40px;
}
.ic-top2-info__item { padding: 0 24px; border-left: 1px solid #47628c; line-height: 1.6; }
.ic-top2-info__item:first-child { padding-left: 0; border-left: 0; }
.ic-top2-info__item dt { color: #c5d6ee; font-size: 12px; letter-spacing: 0.12em; }
.ic-top2-info__item dd { font-size: 18px; font-weight: 700; }
.ic-top2-info__item small { font-size: 12px; font-weight: 400; }
.ic-top2 .ic-top2-info__tel { font-size: 22px; letter-spacing: 0.04em; }
@media screen and (max-width: 900px) {
  .ic-top2 .ic-top2-info__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; padding: 22px 20px; }
  .ic-top2-info__item { padding: 0 0 0 16px; }
  .ic-top2-info__item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .ic-top2-info__item dt { font-size: 11px; }
  .ic-top2-info__item dd { font-size: 15px; }
  .ic-top2 .ic-top2-info__tel { font-size: 19px; }
}

/* ---------- セクション共通 ---------- */
.ic-top2-section { padding: 80px 0; }
.ic-top2-section--tint { background: var(--tint); }
.ic-top2-section--gray { background: #f5f5f5; }
.ic-top2-section--plain { padding: 48px 0; }
.ic-top2-section__inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
@media screen and (max-width: 900px) {
  .ic-top2-section { padding: 56px 0; }
  .ic-top2-section--plain { padding: 32px 0; }
  .ic-top2-section__inner { padding: 0 20px; }
}
.ic-top2 .ic-top2-label { color: var(--c-text); font-size: 13px; font-weight: 700; letter-spacing: 0.16em; line-height: 1.6; }
.ic-top2 .ic-top2-heading__title {
  margin-top: 6px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
}
.ic-top2 .ic-top2-heading__title,
.ic-top2 .ic-top2-note__title { text-wrap: balance; }
.ic-top2 .ic-top2-heading__title--center { margin: 0 0 28px; text-align: center; }
.ic-top2-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 48px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--ic-top2-ink);
}
.ic-top2 .ic-top2-heading__lead { max-width: 520px; font-size: 14px; }
.ic-top2 .ic-top2-caption { margin-top: 24px; color: var(--ic-top2-sub); font-size: 13px; line-height: 1.8; }
@media screen and (max-width: 900px) {
  .ic-top2 .ic-top2-heading__title { font-size: 24px; letter-spacing: 0.02em; }
  .ic-top2-heading { display: block; padding-bottom: 16px; }
  .ic-top2 .ic-top2-heading__lead { margin-top: 10px; }
  .ic-top2 .ic-top2-caption { font-size: 12px; }
}

/* ---------- リンク一覧（症状・疾患 / お悩み・施術） ---------- */
.ic-top2-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 48px;
  margin-top: 36px;
}
.ic-top2 .ic-top2-group__title {
  display: flex;
  align-items: center;
  min-height: 50px;
  border-bottom: 1px solid var(--c);
  color: var(--c-text);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}
.ic-top2 .ic-top2-group__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.5;
}
.ic-top2 .ic-top2-group__list a::after { content: "\203A"; color: var(--c); font-size: 16px; }
.ic-top2 .ic-top2-group__list a:hover { color: var(--c-text); }
.ic-top2-note { align-self: start; padding: 28px; background: var(--note); }
.ic-top2 .ic-top2-note__title { font-size: 19px; font-weight: 700; line-height: 1.5; }
.ic-top2 .ic-top2-note__text { margin-top: 12px; font-size: 14px; }
.ic-top2 .ic-top2-note .ic-top2-button { margin-top: 18px; }
@media screen and (max-width: 900px) {
  .ic-top2-groups { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 24px; }
  .ic-top2 .ic-top2-group__title { font-size: 17px; }
  .ic-top2 .ic-top2-group__list a { min-height: 48px; padding-left: 12px; }
  .ic-top2-note { padding: 22px 20px; }
  .ic-top2 .ic-top2-note__title { font-size: 17px; }
}

/* ---------- 流れ（5ステップ）と補足の枠 ---------- */
.ic-top2-flow { display: flex; gap: 32px 64px; margin-top: 36px; }
.ic-top2 .ic-top2-steps {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 2px solid var(--ic-top2-ink);
  counter-reset: ic-top2-step;
}
.ic-top2-steps li { padding: 20px 16px 0; border-left: 1px solid var(--line); counter-increment: ic-top2-step; }
.ic-top2-steps li:first-child { padding-left: 0; border-left: 0; }
.ic-top2-steps li::before { content: counter(ic-top2-step); display: block; color: var(--c); font-size: 26px; font-weight: 500; line-height: 1.3; }
.ic-top2 .ic-top2-steps h3 { margin-top: 6px; font-size: 16px; font-weight: 700; line-height: 1.6; }
.ic-top2 .ic-top2-steps p { margin-top: 6px; font-size: 13px; line-height: 1.8; }
.ic-top2-box { flex: none; width: 320px; align-self: start; padding: 24px 26px 14px; background: #fff; border: 1px solid var(--c); }
.ic-top2 .ic-top2-box__title { color: var(--c-text); font-size: 17px; font-weight: 700; line-height: 1.6; }
.ic-top2 .ic-top2-box__list { margin-top: 8px; font-size: 14px; line-height: 1.7; }
.ic-top2-box__list li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.ic-top2-box__list li:last-child { border-bottom: 0; }
@media screen and (max-width: 900px) {
  .ic-top2-flow { display: block; margin-top: 22px; }
  .ic-top2 .ic-top2-steps { display: block; }
  .ic-top2-steps li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    column-gap: 16px;
    padding: 14px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .ic-top2-steps li::before { grid-row: 1 / span 2; font-size: 24px; }
  .ic-top2 .ic-top2-steps h3 { margin-top: 0; }
  .ic-top2 .ic-top2-steps p { margin-top: 2px; }
  .ic-top2-box { width: auto; margin-top: 28px; padding: 20px 20px 10px; }
}

/* ---------- 診療時間・アクセス ---------- */
.ic-top2-hours { display: flex; gap: 32px 72px; }
.ic-top2-hours__main { flex: 1; }
.ic-top2 .ic-top2-table { width: 100%; margin-top: 28px; border-collapse: collapse; font-size: 15px; text-align: center; }
.ic-top2-table th,
.ic-top2-table td { padding: 14px 4px; border-bottom: 1px solid var(--line); line-height: 1.5; }
.ic-top2-table tr:first-child th { padding: 10px 4px; background: var(--ic-top2-navy); color: #fff; font-weight: 500; border-bottom: 0; }
.ic-top2-table th:first-child { padding-left: 18px; text-align: left; white-space: nowrap; }
.ic-top2-table td { color: var(--c); }
.ic-top2-note--access { flex: none; width: 380px; padding: 32px; }
.ic-top2 .ic-top2-note__tel { display: block; margin-top: 12px; color: var(--c-text); font-size: 30px; font-weight: 700; line-height: 1.3; letter-spacing: 0.04em; }
@media screen and (max-width: 900px) {
  .ic-top2-hours { display: block; }
  .ic-top2 .ic-top2-table { margin-top: 20px; font-size: 13px; }
  .ic-top2-table th,
  .ic-top2-table td { padding: 12px 2px; }
  .ic-top2-table th:first-child { padding-left: 8px; }
  .ic-top2-note--access { width: auto; margin-top: 26px; padding: 24px 20px; }
  .ic-top2 .ic-top2-note__tel { font-size: 26px; }
}

/* ---------- 医療コラム ---------- */
.ic-top2 .ic-top2-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.ic-top2-columns__item a { display: block; height: 100%; background: #fff; }
.ic-top2 .ic-top2-columns__image { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.ic-top2-columns__title { display: block; padding: 14px 16px 0; font-size: 15px; font-weight: 700; line-height: 1.6; }
.ic-top2-columns__date { display: block; padding: 6px 16px 16px; color: var(--ic-top2-sub); font-size: 12px; line-height: 1.6; }
@media screen and (max-width: 900px) {
  .ic-top2 .ic-top2-columns { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
