@charset "UTF-8";

:root {
  --bg: #f6f8f6;
  --paper: #ffffff;
  --ink: #1b1f24;
  --muted: #5d6570;

  /* グラデーション */
  --grad-start: #2af598;
  /* 上（ライトグリーン） */
  --grad-end: #009efd;
  /* 下（ブルー） */

  /* 少し落ち着かせた色 */
  --bg-grad-start: #1fbf8f;
  /* 落ち着いたグリーン */
  --bg-grad-end: #1b66d6;
  /* 深めブルー */

  --line: rgba(15, 61, 46, .14);
  --shadow: 0 18px 50px rgba(27, 31, 36, .10);
  --shadow2: 0 10px 28px rgba(27, 31, 36, .08);
  --radius: 18px;
  --radius2: 26px;
  --max: 1120px;
  --focus: rgba(15, 61, 46, .22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #1b1f24;
  line-height: 1.75;
  letter-spacing: .02em;
  font-family: system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  background: linear-gradient(180deg, var(--bg-grad-start) 0%, var(--bg-grad-end) 100%);
  padding-top: 100px;
  /* ヘッダー高さ分 */

  h2.serif.toptitle {
    font-size: 36px;
    color: red;
   }
  a {
    color: inherit;
    text-decoration: none;
  }

  .container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
  }

  .muted {
    color: var(--muted);
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 10px 0;
    background: transparent;
    transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
    background-color: white;
  }

  /* スクロール後：白背景＋影 */
  .site-header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo_wrapper {
    margin: 0;
    display: flex;
  }

  .logo_img {
    width: 300px;
  }
  
  .brand-tag {
    font-size: 12px;
    color: var(--muted);
  }

  .nav {
    display: flex;
    gap: 10px;
  }

  .nav a {
    font-size: 13px;
    color: var(--muted);
    padding: 8px 10px;
    border-radius: 999px;
    transition: background .2s ease, color .2s ease;
  }

  .nav a:hover {
    background: rgba(15, 61, 46, .06);
    color: var(--ink);
  }

  .header-cta {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 6px 18px rgba(27, 31, 36, .06);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .05em;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    cursor: pointer;
    white-space: nowrap;
    color: black;
  }

  .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(27, 31, 36, .10);
  }

  .btn:active {
    transform: translateY(0px);
  }

  .btn-primary {
    background: linear-gradient(90deg, var(--bg-grad-start), var(--bg-grad-end));
    border: none;
    color: #fff;
    box-shadow: 0 15px 35px rgba(27, 102, 214, .22);
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(27, 102, 214, .30);
  }

  .btn-ghost {
    background: transparent;
    border-color: rgba(15, 61, 46, .22);
  }

  .hero {
    background: linear-gradient(180deg, var(--grad-start), var(--grad-end));
    color: #fff;
    /* 白文字にする */
    text-align: center;
    position: relative;
    padding: 80px 0 30px;
  }

  /* 写真＋グラデを重ねる */
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(31, 191, 143, .85) 0%, rgba(27, 102, 214, .85) 100%),
      url("../img/hero/hero.jpg");
    background-size: cover;
    background-position: center;
    filter: saturate(0.95) contrast(1.05);
    z-index: 0;
  }

  /* 中身を前面に */
  .hero>.container {
    position: relative;
    z-index: 1;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 28px;
    align-items: stretch;
  }

  .hero-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    align-content: center;
    padding: 28px 25px;
    border-radius: var(--radius2);
  }

  .philosophy {
    font-size: 32px;
    color: var(--ink);
    padding-bottom: 20px;
  }

  .hero-card .meta,
  .hero-card .actions {
    justify-content: center;
  }

  .hero-card .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-card:before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
      radial-gradient(520px 240px at 20% 10%, rgba(31, 107, 83, .22), transparent 62%),
      radial-gradient(420px 260px at 82% 25%, rgba(15, 61, 46, .14), transparent 65%),
      linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0));
    pointer-events: none;
  }

  .kicker {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
    border: 1px solid rgba(15, 61, 46, .18);
    background: rgba(255, 255, 255, .70);
    padding: 7px 12px;
    border-radius: 999px;
    letter-spacing: .08em;
  }

  .kicker-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent3);
    box-shadow: 0 0 0 6px rgba(207, 232, 223, .55);
  }

  h2 {
    margin: 18px 0 14px;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.25;
    position: relative;
  }

  .lead {
    color: var(--muted);
    font-size: 15px;
    max-width: 56ch;
    margin: 0 0 20px;
    position: relative;
  }

  .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 24px;
    position: relative;
  }

  .pill {
    font-size: 12px;
    border: 1px solid rgba(15, 61, 46, .18);
    background: rgba(255, 255, 255, .78);
    padding: 8px 12px;
    border-radius: 999px;
    color: black
  }

  .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    position: relative;
  }

  .note {
    color: var(--muted);
    font-size: 12px;
    margin-top: 10px;
    position: relative;
  }

  .side-card {
    background: rgba(255, 255, 255, .78);
    border: 1px solid var(--line);
    border-radius: var(--radius2);
    box-shadow: var(--shadow2);
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
  }

  .side-card:before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
      radial-gradient(360px 260px at 80% 10%, rgba(31, 107, 83, .16), transparent 60%),
      radial-gradient(360px 260px at 10% 85%, rgba(207, 232, 223, .55), transparent 60%);
    pointer-events: none;
  }

  .side-title {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--muted);
    letter-spacing: .08em;
    position: relative;
  }

  .side-price {
    margin: 8px 0 10px;
    position: relative;
  }

  .side-price-big {
    font-size: 28px;
    font-weight: 700;
  }

  .side-price-sub {
    color: var(--muted);
    font-size: 13px;
  }

  .side-list {
    margin: 12px 0 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 13px;
    position: relative;
  }

  .divider {
    height: 1px;
    background: var(--line);
    margin: 18px 0;
    position: relative;
  }

  .section {
    padding: 56px 0;
  }

  .section-head {
    /* display: flex; */
    align-items: flex-end;
    /* justify-content: space-between; */
    gap: 16px;
    margin-bottom: 22px;
  }

  .section-head h2 {
    margin: 0;
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.25;
  }

  .section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    max-width: 60ch;
  }

  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .card {
    background: rgba(255, 255, 255, .82);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 18px;
    box-shadow: 0 10px 28px rgba(27, 31, 36, .06);
  }

  .card h3 {
    margin: 0 0 8px;
    font-size: 15px;
    letter-spacing: .05em;
  }

  .card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
  }

  .quote {
    margin-top: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .70));
    border: 1px solid var(--line);
    border-radius: var(--radius2);
    padding: 22px;
    box-shadow: var(--shadow2);
  }

  .roadmap {
    display: grid;
    gap: 12px;
  }

  .step {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .80);
  }

  .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(15, 61, 46, .20);
    padding: 7px 10px;
    font-size: 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, .75);
  }

  .step h4 {
    margin: 0 0 6px;
    font-size: 14px;
    letter-spacing: .04em;
  }

  .step p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
  }

  .pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .price-card {
    border-radius: var(--radius2);
    padding: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .84);
    box-shadow: var(--shadow2);
  }

  .price-card.featured {
    background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .74));
    border-color: rgba(15, 61, 46, .20);
    box-shadow: var(--shadow);
  }

  .label {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .08em;
    border: 1px solid rgba(15, 61, 46, .20);
    background: rgba(255, 255, 255, .72);
    padding: 7px 12px;
    border-radius: 999px;
  }

  .price-card h3 {
    margin: 14px 0 8px;
    font-size: 18px;
    letter-spacing: .05em;
  }

  .big {
    font-size: 34px;
    margin: 0 0 6px;
  }

  .small {
    color: var(--muted);
    font-size: 13px;
    margin: 0 0 12px;
  }

  .price-card ul {
    margin: 12px 0 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 13px;
    display: grid;
    gap: 10px;
  }

  .small-note {
    margin: 0;
  }

  .faq {
    background: rgba(255, 255, 255, .82);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 10px 28px rgba(27, 31, 36, .06);
  }

  .faq+.faq {
    margin-top: 12px;
  }

  summary {
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    letter-spacing: .04em;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  summary::-webkit-details-marker {
    display: none;
  }

  summary:after {
    content: "＋";
    color: var(--muted);
    font-weight: 700;
    font-size: 18px;
  }

  details[open] summary:after {
    content: "－";
  }

  details p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
  }

  .cta {
    padding: 62px 0;
  }

  .cta-wrap {
    background: linear-gradient(180deg, var(--grad-start), var(--grad-end));
    color: #fff;
    color: #fff;
    border-radius: var(--radius2);
    padding: 34px 26px;
    box-shadow: 0 26px 70px rgba(15, 61, 46, .26);
    border: 1px solid rgba(255, 255, 255, .10);
    position: relative;
    overflow: hidden;
  }

  .cta-wrap:before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
      radial-gradient(600px 260px at 18% 18%, rgba(207, 232, 223, .18), transparent 62%),
      radial-gradient(520px 320px at 84% 18%, rgba(255, 255, 255, .10), transparent 70%);
    pointer-events: none;
  }

  .cta-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 22px;
    align-items: start;
  }

  .cta-lead {
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
    margin: 10px 0 0;
  }

  .cta-sub {
    color: rgba(255, 255, 255, .75);
    font-size: 12px;
    margin: 12px 0 0;
  }

  .form {
    display: grid;
    gap: 12px;
    margin-top: 6px;
  }

  label {
    display: grid;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, .86);
    letter-spacing: .06em;
  }

  input,
  textarea,
  select {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .06);
    /* color: #fff; */
    outline: none;
    transition: box-shadow .15s ease, border-color .15s ease, background .15s ease;
    font-size: 14px;
  }

  input::placeholder,
  textarea::placeholder {
    color: rgba(255, 255, 255, .55);
  }

  input:focus,
  textarea:focus,
  select:focus {
    box-shadow: 0 0 0 6px var(--focus);
    border-color: rgba(255, 255, 255, .30);
    background: rgba(255, 255, 255, .09);
  }

  textarea {
    min-height: 100px;
    resize: vertical;
  }

  .form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 6px;
  }

  .btn-cta {
    background: #fff;
    /* color: var(--accent); */
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
  }

  .btn-cta:hover {
    box-shadow: 0 22px 56px rgba(0, 0, 0, .22);
  }

  .fineprint {
    font-size: 11px;
    color: rgba(255, 255, 255, .72);
    margin: 10px 0 0;
    line-height: 1.7;
  }

  .footer {
    padding: 26px 0 42px;
    color: var(--muted);
    font-size: 12px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .35);
    background-color: white;
  }

  .footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
  }

  .footer-title {
    font-weight: 700;
    letter-spacing: .08em;
  }

  /* Responsive */
  @media (max-width: 960px) {
    .hero-grid {
      grid-template-columns: 1fr;
    }

    .nav {
      display: none;
    }

    .cta-grid {
      grid-template-columns: 1fr;
    }

    .pricing {
      grid-template-columns: 1fr;
    }

    .grid-3 {
      grid-template-columns: 1fr;
    }

    .grid-2 {
      grid-template-columns: 1fr;
    }

    .step {
      grid-template-columns: 1fr;
    }
  }

  /* =========================
   Mobile Menu (Hamburger)
========================= */

  .hamburger {
    /* PCは非表示 */
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .22);
    backdrop-filter: blur(8px);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
  }

  .hamburger-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: rgba(0, 0, 0, .75);
    border-radius: 999px;
  }

  /* ヘッダーがスクロール後（白背景）ならハンバーガーも馴染ませる */
  .site-header.scrolled .hamburger {
    border: 1px solid rgba(0, 0, 0, .10);
    background: rgba(255, 255, 255, .8);
  }

  .site-header.scrolled .hamburger-bar {
    background: rgba(0, 0, 0, .78);
  }

  /* パネル */
  .mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(86vw, 420px);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
    border-left: 1px solid rgba(0, 0, 0, .08);
    box-shadow: -20px 0 80px rgba(0, 0, 0, .18);
    padding: 18px 16px 16px;

    /* ここ重要 */
    transform: translateX(100%);
    opacity: 0;

    transition: transform 0.85s cubic-bezier(.22, 1, .36, 1),
      opacity 0.6s ease;
  }

  .mobile-link:hover {
    background: rgba(0, 0, 0, .04);
  }

  /* CTA */
  .mobile-menu__cta {
    display: grid;
    gap: 10px;
    padding-top: 6px;
  }

  /* 背景（オーバーレイ） */
  .mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .35);
    border: none;
    cursor: pointer;
  }

  /* パネルを前面に */
  /* .mobile-menu__panel{
  z-index: 1;
} */
  .mobile-menu__backdrop {
    z-index: 0;
  }

  /* =========================
   Mobile Menu (Hamburger) - Pro UX
========================= */

  /* モバイル時のみ表示（PCは非表示） */
  .hamburger {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .22);
    backdrop-filter: blur(10px);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
  }

  /* ✅ 3本線を縦に積む */
  .hamburger__lines {
    width: 22px;
    height: 16px;
    display: flex;
    flex-direction: column;
    /* ← これがないと横3本になる */
    justify-content: space-between;
  }

  .hamburger__line {
    height: 2px;
    width: 100%;
    background: rgba(0, 0, 0, .78);
    border-radius: 999px;
    transform-origin: center;
    transition: transform .22s ease, opacity .22s ease;
  }

  /* スクロール後（白ヘッダー）でも馴染む */
  .site-header.scrolled .hamburger {
    border: 1px solid rgba(0, 0, 0, .10);
    background: rgba(255, 255, 255, .85);
  }

  .site-header.scrolled .hamburger__line {
    background: rgba(0, 0, 0, .82);
  }

  /* ✅ 開いている時：×に変形 */
  .hamburger.is-active .hamburger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.is-active .hamburger__line:nth-child(2) {
    opacity: 0;
  }

  .hamburger.is-active .hamburger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ====== Mobile Menu ====== */
  /* =========================
   Mobile Menu (Hamburger) - Pro UX
========================= */

  /* モバイル時のみ表示（PCは非表示） */

  /* ====== Mobile Menu ====== */
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    opacity: 0;
    transition: opacity .6s ease;
  }

  /* 開いた状態 */
  .mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  /* 暗幕 */
  .mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .38);
    border: none;
    cursor: pointer;
    z-index: 0;
  }

  /* 右からスライドするパネル */
  .mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(86vw, 420px);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
    border-left: 1px solid rgba(0, 0, 0, .08);
    box-shadow: -20px 0 80px rgba(0, 0, 0, .18);
    padding: 18px 16px 16px;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.85s cubic-bezier(.22, 1, .36, 1),
      opacity 0.6s ease;
    z-index: 1;
  }

  .mobile-menu.is-open .mobile-menu__panel {
    transform: translateX(0);
    opacity: 1;
  }

  /* パネル内ヘッダー */
  .mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0 12px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    margin-bottom: 12px;
  }

  .mobile-menu__title {
    font-weight: 700;
    letter-spacing: .10em;
    color: rgba(0, 0, 0, .70);
  }

  /* ×ボタン */
  .mobile-menu__close {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, .10);
    background: rgba(0, 0, 0, .02);
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* リンク */
  .mobile-menu__nav {
    display: grid;
    gap: 8px;
    padding: 6px 0 14px;
  }

  .mobile-link {
    display: block;
    padding: 14px 12px;
    border-radius: 14px;
    color: rgba(0, 0, 0, .84);
    background: rgba(0, 0, 0, .02);
    border: 1px solid rgba(0, 0, 0, .06);
  }

  .mobile-link:hover {
    background: rgba(0, 0, 0, .04);
  }

  .mobile-menu__cta {
    display: grid;
    gap: 10px;
    padding-top: 6px;
  }

  /* 開いている間、背景スクロール禁止用 */
  body.is-menu-open {
    overflow: hidden;
  }

  /* レスポンシブ */
  @media (max-width: 960px) {
    .nav-desktop,
    .header-cta-desktop {
      display: none;
    }

    .hamburger {
      display: inline-flex;
    }

  }
}