@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;
}

/* =========================
   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-style: normal;
  font-variant: normal;
  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: 0 0 8px;
  color: #2f7dcf;
  font-size: 0.9rem;
  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(#waveBottomGradKutikamu); }

/* =========================
   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;
}

.flow-box{
  margin-top: 14px;
  border: 1px solid #dbe9f8;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  padding: 12px 14px;
}

.flow-title{
  margin: 0 0 10px !important;
  color: #1f5d9f !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  text-align: center;
}

.flow-list{
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 6px;
  color: #1f4468;
  font-weight: 800;
  line-height: 1.7;
  font-size: .95rem;
}

/* =========================
   Section spacing
   ========================= */
.section-intro {
  padding-top: 54px;
}

.section-control,
.section-position,
.section-others,
.section-solution,
.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;
  }
}

@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;
  }
}

/* =========================
   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;
  }
}

/* =========================
   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-intro {
    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;
  }

  .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;
  }
}