@charset "utf-8";

/* =========================
   Base / Variables
   ========================= */
:root {
  --maxw: 1100px;
  --bp-sp: 566px;

  --c-main: #1e78d7;
  --c-main-deep: #165db4;
  --c-sub: #69b7ff;

  --c-bg: #f5faff;
  --c-card: #ffffff;
  --c-text: #1c2b3a;
  --c-muted: #5a6b7c;
  --c-border: #dbe8f6;

  --c-danger: #c43b3b;

  --radius: 14px;
  --shadow: 0 10px 28px rgba(23, 72, 133, .10);
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--c-text);
  background: linear-gradient(180deg, #f8fcff 0%, #f2f8ff 100%);
  line-height: 1.9;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.inner {
  width: min(100% - 48px, var(--maxw));
  margin-inline: auto;
}

/* 汎用画像 */
.topic_img{
  max-height: 250px;
  height: 100%;
  width: auto;
  margin-right: auto;
  margin-left: auto;
  display: block;
  margin-bottom: 1rem;
}
.topic_img2{
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  display: block;
  margin-bottom: 1rem;
  max-width: 600px;
  height: auto;
}
.topic_img3{
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  display: block;
  margin-bottom: 1rem;
  max-width: 800px;
  height: auto;
}
.topic_img4{
    margin-right: auto;
    margin-left: auto;
    display: block;
    margin-bottom: 1rem;
    max-height: 350px;
    height: 100%;
    width: auto;
}
.topic_img5{
    display: block;
    margin-bottom: 0;
    max-height: 100px;
    height: 100%;
    width: auto;
    margin-right: 5px;
    margin-left: auto;
}
/* =========================
   Header
   ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid #e6eef8;
}

.topline {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0;
}

.topline h1 {
  margin: 0;
  font-size: clamp(1rem, 4vw, 1.8rem);
  line-height: 1;
  color: #555;
  letter-spacing: .01em;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: bold;
}

.color_red { color: #C42626; }
.color_blue { color: var(--c-main); }

.com {
  font-weight: normal;
  font-size: clamp(0.8rem, 4vw, 1.4rem);
  letter-spacing: -.05em;
}

.logo-link { flex-shrink: 0; }

.subtitle {
  margin: 0;
  font-size: 0.92rem;
  color: #2d4d70;
  font-weight: normal;
  text-align: right;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.global-nav {
  background: linear-gradient(90deg, var(--c-main) 0%, #2f90f5 100%);
  border-top: 1px solid rgba(255, 255, 255, .35);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.global-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.global-nav li {
  flex: 1;
  border-right: 1px solid rgba(255, 255, 255, .25);
}

.global-nav li:first-child { border-left: 1px solid rgba(255, 255, 255, .25); }

.global-nav a {
  display: block;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 12px 10px;
  transition: background .2s ease;
  letter-spacing: .08em;
}

.global-nav a:hover { background: rgba(255, 255, 255, .13); }

/* =========================
   Hero
   ========================= */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eef7ff 0%, #e8f4ff 100%);
  border-bottom: 1px solid #d8e9fb;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 220px at 10% 0%, rgba(115, 185, 255, .16), transparent 65%),
    radial-gradient(900px 180px at 90% 20%, rgba(54, 146, 233, .12), transparent 70%);
  pointer-events: none;
}

.page-hero-inner {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  padding: 38px 0 34px;
  position: relative;
  z-index: 1;
}

.hero-icon-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-icon { max-height: 250px; height: 100%; width: auto; }

.eyebrow {
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 0px;
    color: #CF2E2E;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.page-title {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.3;
  color: #175ba8;
  font-weight: 800;
}

.page-title ruby rt {
  font-size: .42em;
  letter-spacing: .03em;
  color: #C42626;
  font-weight: 700;
}

.page-hero .lead {
  margin: 0;
  color: #295981;
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.82;
}

/* =========================
   Wave divider
   ========================= */
.section-divider-wave {
  position: relative;
  z-index: 6;
  line-height: 0;
  pointer-events: none;
  height: 92px;
  margin-top: -24px;
  margin-bottom: -22px;
  background: linear-gradient(180deg, rgba(232, 244, 255, 0) 0%, #D9ECFB 62%, #F6FBFF 100%);
}

.section-divider-wave svg { display: block; width: 100%; height: 100%; }

.section-divider-wave .wave-back { fill: #B0D7F5; }
.section-divider-wave .wave-mid  { fill: #C2E1F8; }
.section-divider-wave .wave-front{ fill: url(#waveBottomGradFlbuse); }

/* =========================
   Generic section / card
   ========================= */
.section { padding: 44px 0; }

.card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 28px;
}

.section-title {
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  color: #1968bf;
  line-height: 1.35;
  font-weight: 800;
  border-radius: 100px;
  background: linear-gradient(180deg, rgba(194, 224, 247, 1) 0%, rgba(213, 233, 249, 1) 100%);
  padding: 0.6rem 1rem;
  text-align: center;
}

.card p {
  margin: 0;
  color: #24415f;
  font-size: 1.02rem;
  line-height: 1.9;
}

.card p + p { margin-top: 16px; }
.intro { margin-bottom: 16px !important; }

/* グリッド */
.card-grid {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.grid-2 { grid-template-columns: 1fr 1fr; }

/* ミニカード */
.mini-card {
  border: 1px solid #d9e8f8;
  background: #f8fcff;
  border-radius: 12px;
  padding: 12px;
}

.mini-card h4 {
  margin: 0 0 8px;
  color: #1f5d9f;
  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 800;
  text-align: center;
}

.mini-card p {
  margin: 0;
  color: #2a4f77;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.72;
}

/* ボックス */
.knowledge-box {
  margin-top: 14px;
  border: 1px solid #dbe9f8;
  border-radius: 12px;
  background: #f3f9ff;
  padding: 12px 14px;
}

.knowledge-box p {
  margin: 0;
  color: #214b77;
  font-size: .96rem;
  line-height: 1.8;
  font-weight: 800;
}

.alert-note{
  margin-top: 14px;
  border: 1px solid #f2c9c9;
  border-radius: 12px;
  background: #fff6f6;
  padding: 12px 14px;
  color: #7a2a2a;
  font-weight: 800;
  line-height: 1.75;
}

/* =========================
   Table（推奨スケジュール）
   ========================= */
.table-wrap{
  margin-top: 12px;
  border: 1px solid #dbe8f6;
  border-radius: 12px;
  background: #ffffff;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.schedule-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.schedule-table th,
.schedule-table td{
    padding: 12px 12px;
    border-bottom: 1px solid #e6eef8;
    vertical-align: top;
    text-align: center;
}

.schedule-table thead th{
  background: linear-gradient(180deg, rgba(194, 224, 247, 1) 0%, rgba(213, 233, 249, 1) 100%);
  color: #1f5d9f;
  font-weight: 900;
  border-bottom: 1px solid #d0e4f7;
  text-align: center;
}

.schedule-table tbody th[scope="row"]{
  width: 140px;
  color: #1f5d9f;
  font-weight: 900;
  background: #f6fbff;
  border-right: 1px solid #e6eef8;
}

.schedule-table tbody tr:last-child th,
.schedule-table tbody tr:last-child td{
  border-bottom: none;
}

.schedule-table td{
  color: #2a4f77;
  font-weight: 800;
  line-height: 1.7;
  text-align: center;
}

/* =========================
   FAQ
   ========================= */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid #d9e8f8;
  background: #f8fcff;
  border-radius: 12px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 16px 52px 16px 18px;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 800;
  color: #1f5d9f;
  background: linear-gradient(180deg, #fafdff 0%, #f1f8ff 100%);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  line-height: 1;
  color: #1e78d7;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 18px 16px;
  border-top: 1px solid #e3eef9;
  background: #ffffff;
}

.faq-answer p {
  margin-top: 14px;
  color: #2a4f77;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.82;
}

/* =========================
   Media
   ========================= */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.media-item {
  margin: 0;
  border: 1px solid #d9e8f8;
  background: #f8fcff;
  border-radius: 12px;
  padding: 14px;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-item img {
  display: block;
  max-width: 100%;
  max-height: 200px;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* =========================
   Voices
   ========================= */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.voice-card {
  position: relative;
  border: 1px solid #d9e8f8;
  background: linear-gradient(180deg, #fbfeff 0%, #f4faff 100%);
  border-radius: 12px;
  padding: 20px 18px 16px;
  min-height: 180px;
  box-shadow: 0 6px 16px rgba(30, 120, 215, .06);
}

.voice-card::before {
  content: "“";
  position: absolute;
  top: 8px;
  left: 14px;
  color: rgba(30, 120, 215, .18);
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
}

.voice-text {
    position: relative;
    margin: 0 0 14px;
    padding-top: 10px;
    color: #24415f;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.9;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-style: normal;
    font-variant: normal;
}

.voice-name {
    margin: 0;
    color: #1f5d9f;
    font-size: 0.95rem;
    font-weight: 900;
    text-align: right;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-style: normal;
    font-variant: normal;
}

/* =========================
   Section spacing
   ========================= */
.section-basic { padding-top: 54px; }
.section-menu,
.section-schedule,
.section-caution,
.section-faq,
.section-media,
.section-voices,
.section-method { padding-top: 10px; }

/* =========================
   Method CTA
   ========================= */
.method-card { border-color: #d8e9f8; }

.method-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
}

.method-figure { margin: 0; width: 100%; text-align: center; }
.method-figure img { margin: 0 auto; display: block; }

.method-copy p {
  margin: 0;
  color: #24415f;
  font-size: 1.02rem;
  line-height: 1.9;
  width: 100%;
}

.cta-buttons {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  text-align: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-outline {
  min-width: 270px;
  padding: 12px 18px;
  border: 1px solid #2f8ae8;
  color: #2f8ae8;
  background: #fff;
}

.btn-outline:hover { background: #eef6ff; }

.btn-primary {
  min-width: 270px;
  padding: 12px 18px;
  border: 1px solid #c43838;
  color: #fff;
  background: linear-gradient(180deg, rgba(196, 38, 38, 1) 0%, rgba(220, 77, 77, 1) 68.4%, rgba(196, 38, 38, 1) 100%);
  box-shadow: 0 8px 18px #FCF2F2;
}

/* =========================
   Contact strip
   ========================= */
.contact-strip {
  padding: 36px 0 28px;
  background: linear-gradient(180deg, #eaf5ff 0%, #e2f1ff 100%);
  border-top: 1px solid #d5e8fb;
  border-bottom: 1px solid #d5e8fb;
}

.contact-strip .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.contact-strip p {
  margin: 0;
  color: #244f7b;
  font-weight: 800;
}

.btn-contact {
  flex-shrink: 0;
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  background-image: linear-gradient(180deg, rgba(196, 38, 38, 1) 0%, rgba(220, 77, 77, 1) 68.4%, rgba(196, 38, 38, 1) 100%);
  box-shadow: 0 8px 18px #FCF2F2;
  transition: transform .15s ease, box-shadow .2s ease;
}

.btn-contact:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(196, 38, 38, .35);
}

/* =========================
   Footer
   ========================= */
.site-footer {
  background: #eef6ff;
  border-top: 1px solid #dbeafa;
  padding: 22px 0 24px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
}

.footer-links a {
  color: #2c567f;
  font-weight: 800;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}

.footer-links a:hover {
  color: #1c6cc8;
  border-color: #1c6cc8;
}

.footer-links a[aria-current="page"] {
  color: #1c6cc8;
  border-color: #1c6cc8;
}

.copyright {
  margin: 14px 0 0;
  text-align: center;
  color: #4f6881;
  font-size: .92rem;
  font-weight: 800;
}

/* =========================
   Medium
   ========================= */
@media (max-width: 1024px) {
  .page-hero-inner { align-items: center; gap: 14px; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* =========================
   800px以下
   ========================= */
@media (max-width: 800px) {
  .global-nav a {
    font-size: 0.92rem;
    padding: 11px 8px;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .page-hero-inner { min-height: 220px; }

  .media-grid {
    gap: 12px;
  }

  .media-item {
    padding: 10px;
    min-height: 220px;
  }

  .media-item img {
    max-height: 180px;
  }

  .voice-grid {
    gap: 12px;
  }

  .voice-card {
    min-height: 160px;
    padding: 18px 16px 14px;
  }
}

/* =========================
   700px以下: Heroを縦積み
   ========================= */
@media (max-width: 700px) {
  .page-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    min-height: auto;
  }
  .hero-copy { width: 100%; }
  .hero-icon-wrap {
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 4px;
  }
  .hero-icon { max-height: 220px; width: auto; }

  .voice-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Responsive (SP): 566px以下
   ========================= */
@media (max-width: 566px) {
  body { font-size: 15px; line-height: 1.8; }
  .inner { width: min(100% - 24px, var(--maxw)); }

  .site-header { position: static; }

  .topline {
    min-height: auto;
    display: block;
    padding: 12px 0 10px;
  }

  .topline h1 {
    display: block;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    font-size: 2.5rem;
  }

  .subtitle {
    margin-top: 8px;
    text-align: center;
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .global-nav ul { flex-wrap: wrap; }

  .global-nav li {
    flex: 1 1 50%;
    border-bottom: 1px solid rgba(255, 255, 255, .24);
  }

  .global-nav li:nth-child(3),
  .global-nav li:nth-child(5) {
    border-left: 1px solid rgba(255, 255, 255, .25);
  }

  .global-nav a {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: 0.96rem;
    padding: 12px 10px;
  }

  .page-hero-inner {
    min-height: 180px;
    padding: 22px 0 18px;
    gap: 10px;
  }

  .eyebrow { font-size: .78rem; }

  .page-title {
    font-size: 1.48rem;
    margin-bottom: 6px;
  }

  .page-hero .lead {
    font-size: .96rem;
    line-height: 1.65;
  }

  .hero-icon { max-height: 250px; }

  .section-divider-wave {
    height: 68px;
    margin-top: -24px;
    margin-bottom: -14px;
  }

  .section { padding: 30px 0; }
  .section-basic { padding-top: 40px; }

  .card { padding: 18px 14px; }

  .section-title {
    margin-bottom: 14px;
    font-size: 1.28rem;
    border-radius: 14px;
    padding: .58rem .72rem;
  }

  .card p { font-size: 0.94rem; line-height: 1.72; }

  .faq-item summary {
    padding: 14px 44px 14px 14px;
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .faq-item summary::after {
    right: 14px;
    font-size: 1.3rem;
  }

  .faq-answer {
    padding: 0 14px 14px;
  }

  .faq-answer p {
    font-size: 0.93rem;
    line-height: 1.74;
  }

  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .media-item {
    padding: 8px;
    min-height: 170px;
  }

  .media-item img {
    max-height: 130px;
  }

  .voice-card {
    min-height: auto;
    padding: 16px 14px 14px;
  }

  .voice-card::before {
    left: 10px;
    top: 6px;
    font-size: 2.5rem;
  }

  .voice-text {
    font-size: 0.95rem;
    line-height: 1.8;
    padding-top: 8px;
  }

  .voice-name {
    font-size: 0.9rem;
  }

  .btn-outline, .btn-primary {
    min-width: 0;
    width: 100%;
    padding: 12px 14px;
  }

  .contact-strip { padding: 22px 0; }

  .contact-strip .inner {
    display: block;
    text-align: center;
  }

  .contact-strip p {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }

  .btn-contact {
    width: 100%;
    max-width: 320px;
    padding: 12px 14px;
  }

  .footer-links { gap: 8px 10px; }
  .footer-links a { font-size: 0.88rem; }
  .copyright { font-size: 0.85rem; }

  .schedule-table th,
  .schedule-table td{
    padding: 10px 10px;
  }
}
 .card p a {
    text-decoration: underline !important;
}
