@charset "UTF-8";
/* ==========================================================
   テックキャンパス行政書士事務所（仮） スタイルシート
   ・紺／青系で誠実さを表現
   ・文字は大きめ（基本18px）でシニア層にも読みやすく
   ・スマホ優先（モバイルファースト）
   ========================================================== */

/* ---------- 色・サイズの設定（ここを変えると全体が変わります） ---------- */
:root {
  --navy: #14284b;        /* メインの紺 */
  --navy-dark: #0c1a33;   /* フッターなど濃い紺 */
  --blue: #2563a8;        /* アクセントの青 */
  --blue-light: #e8f0fa;  /* 薄い青の背景 */
  --gold: #b8913a;        /* 差し色（控えめなゴールド） */
  --orange: #d9661f;      /* 電話ボタンなど行動を促す色 */
  --text: #1f2933;        /* 本文の文字色 */
  --text-sub: #52606d;    /* 補足の文字色 */
  --border: #d5dde8;      /* 罫線 */
  --bg: #ffffff;
  --bg-gray: #f5f7fa;

  --font-base: 18px;      /* 基本の文字サイズ */
  --radius: 10px;
  --shadow: 0 4px 16px rgba(20, 40, 75, 0.08);
  --container: 1100px;
}

/* ---------- リセット・基本 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* 固定ヘッダーの分だけずらす */
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: var(--font-base);
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
}

h1, h2, h3, h4 {
  line-height: 1.5;
  margin: 0;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
}

.section--gray {
  background: var(--bg-gray);
}

.section--blue {
  background: var(--blue-light);
}

/* ---------- 見出し ---------- */
.section-title {
  text-align: center;
  margin-bottom: 44px;
}

.section-title__en {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 700;
}

.section-title__ja {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 1.7rem;
  color: var(--navy);
  font-weight: 700;
  margin-top: 4px;
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--blue);
  margin: 16px auto 0;
}

.section-lead {
  text-align: center;
  margin: -20px auto 40px;
  max-width: 760px;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn--tel {
  background: var(--orange);
  color: #fff;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
}

.btn--outline {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--block {
  display: flex;
  width: 100%;
}

/* ---------- ヘッダー ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  text-decoration: none;
  color: var(--navy);
  line-height: 1.3;
}

.logo__sub {
  display: block;
  font-size: 0.72rem;
  color: var(--text-sub);
}

.logo__main {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.header__tel {
  display: none;
}

/* ハンバーガーメニュー（CSSのみで開閉） */
.nav-toggle {
  display: none;
}

.nav-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  font-size: 0.65rem;
}

.nav-button span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
}

.nav {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 3px solid var(--navy);
  box-shadow: var(--shadow);
}

.nav-toggle:checked ~ .nav {
  display: block;
}

.nav__list a {
  display: block;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

/* ---------- ファーストビュー ---------- */
.hero {
  background:
    linear-gradient(135deg, rgba(12, 26, 51, 0.92), rgba(37, 99, 168, 0.85)),
    repeating-linear-gradient(45deg, #1d3561 0 20px, #20396a 20px 40px); /* 写真差し替え前の仮背景 */
  color: #fff;
  padding: 64px 0 56px;
}

.hero__label {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 2px 16px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.hero__title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.hero__text {
  font-size: 1.05rem;
  margin-bottom: 32px;
}

/* 入口分岐ボタン（3つ） */
.entry {
  display: grid;
  gap: 14px;
}

.entry__item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  color: var(--navy);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  border-left: 6px solid var(--gold);
  transition: transform 0.2s;
}

.entry__item:hover {
  transform: translateY(-2px);
}

.entry__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-light);
  font-size: 1.6rem;
}

.entry__body {
  flex: 1;
}

.entry__target {
  display: block;
  font-size: 0.8rem;
  color: var(--text-sub);
}

.entry__name {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
}

.entry__arrow {
  font-size: 1.4rem;
  color: var(--blue);
}

/* ---------- 安心ポイント（バッジ） ---------- */
.badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: -28px;
  position: relative;
}

.badge {
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  padding: 14px 10px;
  text-align: center;
  box-shadow: var(--shadow);
}

.badge__main {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

.badge__sub {
  display: block;
  font-size: 0.8rem;
  color: var(--text-sub);
  line-height: 1.5;
}

/* ---------- お悩みチェックリスト ---------- */
.worries {
  display: grid;
  gap: 24px;
}

.worries__box {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.worries__title {
  font-size: 1.15rem;
  color: var(--navy);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--blue-light);
}

.checklist li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 8px;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 3px;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-size: 0.85rem;
  line-height: 24px;
  text-align: center;
  font-weight: 700;
}

.worries__message {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 36px;
}

.worries__message strong {
  background: linear-gradient(transparent 60%, #f6e3b4 60%);
}

/* ---------- 業務内容 ---------- */
.service {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 32px;
}

.service__head {
  background: var(--navy);
  color: #fff;
  padding: 20px 24px;
}

.service__target {
  display: inline-block;
  background: var(--gold);
  font-size: 0.8rem;
  padding: 0 12px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.service__title {
  font-size: 1.4rem;
}

.service__body {
  padding: 24px;
  display: grid;
  gap: 24px;
}

.service__list li {
  padding: 10px 0 10px 24px;
  border-bottom: 1px dashed var(--border);
  position: relative;
}

.service__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.service__price {
  margin-top: 16px;
  font-weight: 700;
  color: var(--navy);
}

.service__price span {
  font-size: 1.4rem;
  color: var(--orange);
}

/* 仮の写真枠（フリー素材に差し替える場所） */
.photo-dummy {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 99, 168, 0.15), rgba(20, 40, 75, 0.25)),
    var(--blue-light);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  padding: 12px;
}

.photo-dummy--portrait {
  aspect-ratio: 3 / 4;
}

/* ---------- 代表あいさつ ---------- */
.greeting {
  display: grid;
  gap: 32px;
  align-items: start;
}

.greeting__photo {
  max-width: 320px;
  margin: 0 auto;
  width: 100%;
}

.greeting__caption {
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

.greeting__caption small {
  display: block;
  color: var(--text-sub);
  font-size: 0.85rem;
}

.greeting__caption strong {
  font-family: "Noto Serif JP", serif;
  font-size: 1.3rem;
  color: var(--navy);
}

.greeting__catch {
  font-family: "Noto Serif JP", serif;
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 20px;
}

.profile {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 0.95rem;
}

.profile th,
.profile td {
  border-bottom: 1px solid var(--border);
  padding: 12px 8px;
  text-align: left;
  vertical-align: top;
}

.profile th {
  width: 7em;
  color: var(--navy);
  white-space: nowrap;
}

/* ---------- 料金表 ---------- */
.price-group {
  margin-bottom: 40px;
}

.price-group__title {
  font-size: 1.2rem;
  color: var(--navy);
  border-left: 6px solid var(--blue);
  padding-left: 12px;
  margin-bottom: 12px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.price-table th,
.price-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.price-table th {
  font-weight: 400;
}

.price-table td {
  text-align: right;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  font-size: 1.1rem;
}

.price-table tr:last-child th,
.price-table tr:last-child td {
  border-bottom: none;
}

.note {
  font-size: 0.9rem;
  color: var(--text-sub);
}

/* ---------- ご依頼の流れ ---------- */
.flow {
  display: grid;
  gap: 20px;
  counter-reset: step;
}

.flow__item {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 24px 24px 88px;
  box-shadow: var(--shadow);
}

.flow__item::before {
  counter-increment: step;
  content: "STEP\A" counter(step);
  white-space: pre;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.7rem;
  line-height: 1.3;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.flow__title {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.flow__text {
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- お知らせ（microCMS連携予定） ---------- */
.news-list {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.news-item a {
  display: grid;
  gap: 4px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
}

.news-item:last-child a {
  border-bottom: none;
}

.news-item a:hover .news-item__title {
  color: var(--blue);
  text-decoration: underline;
}

.news-item__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-item__date {
  color: var(--text-sub);
  font-size: 0.95rem;
}

.news-item__category {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 0.75rem;
  padding: 0 10px;
  border-radius: 4px;
}

.news-item__title {
  font-weight: 700;
}

.more {
  text-align: center;
  margin-top: 32px;
}

/* ---------- ブログ・コラム（microCMS連携予定） ---------- */
.blog-list {
  display: grid;
  gap: 24px;
}

.blog-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.blog-card a {
  display: block;
  text-decoration: none;
  color: var(--text);
  height: 100%;
}

.blog-card__thumb {
  border-radius: 0;
  aspect-ratio: 16 / 9;
}

.blog-card__body {
  padding: 20px;
}

.blog-card__category {
  display: inline-block;
  color: var(--blue);
  border: 1px solid var(--blue);
  font-size: 0.75rem;
  padding: 0 10px;
  border-radius: 999px;
}

.blog-card__title {
  font-size: 1.1rem;
  color: var(--navy);
  margin: 8px 0;
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.blog-card__date {
  font-size: 0.85rem;
  color: var(--text-sub);
}

/* ---------- アクセス ---------- */
.access {
  display: grid;
  gap: 32px;
}

.access__map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--radius);
}

/* ---------- お問い合わせ ---------- */
.contact-tel {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  margin-bottom: 40px;
}

.contact-tel__label {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-tel__number {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.contact-tel__hours {
  font-size: 0.9rem;
  margin: 8px 0 0;
  opacity: 0.9;
}

.form {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: var(--shadow);
}

.form__row {
  margin-bottom: 24px;
}

.form__label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.form__required,
.form__optional {
  display: inline-block;
  font-size: 0.75rem;
  color: #fff;
  padding: 0 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.form__required {
  background: #c0392b;
}

.form__optional {
  background: #8a96a3;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
  font-size: 1.05rem; /* 16px以上でiPhoneの自動ズームを防ぐ */
  font-family: inherit;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 168, 0.15);
}

.form textarea {
  min-height: 180px;
  resize: vertical;
}

.form__radios {
  display: grid;
  gap: 10px;
}

.form__radios label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.form__radios input {
  width: 22px;
  height: 22px;
  accent-color: var(--blue);
}

.form__privacy {
  font-size: 0.9rem;
  text-align: center;
}

.form__privacy input {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  accent-color: var(--blue);
}

/* ---------- 行動を促す帯 ---------- */
.cta {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  text-align: center;
  padding: 56px 0;
}

.cta__title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.cta__buttons {
  display: grid;
  gap: 12px;
  max-width: 640px;
  margin: 24px auto 0;
}

/* ---------- フッター ---------- */
.footer {
  background: var(--navy-dark);
  color: #cfd8e3;
  padding: 48px 0 100px; /* スマホ固定バーの分だけ下に余白 */
  font-size: 0.9rem;
}

.footer__name {
  font-family: "Noto Serif JP", serif;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 8px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 24px 0;
}

.footer__nav a {
  color: #cfd8e3;
  text-decoration: none;
}

.footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  font-size: 0.8rem;
  text-align: center;
}

/* ---------- スマホ用 下部固定ボタン ---------- */
.fixed-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.12);
}

.fixed-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.3;
}

.fixed-bar small {
  font-size: 0.7rem;
  font-weight: 400;
}

.fixed-bar__tel {
  background: var(--orange);
}

.fixed-bar__mail {
  background: var(--blue);
}

/* ==========================================================
   タブレット以上（768px〜）
   ========================================================== */
@media (min-width: 768px) {
  .section {
    padding: 96px 0;
  }

  .section-title__ja {
    font-size: 2rem;
  }

  .hero {
    padding: 88px 0 80px;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .entry {
    grid-template-columns: repeat(3, 1fr);
  }

  .entry__item {
    flex-direction: column;
    text-align: center;
    padding: 28px 16px;
    border-left: none;
    border-top: 6px solid var(--gold);
  }

  .badges {
    grid-template-columns: repeat(4, 1fr);
  }

  .worries {
    grid-template-columns: repeat(3, 1fr);
  }

  .service__body {
    grid-template-columns: 1.6fr 1fr;
    padding: 32px;
  }

  .greeting {
    grid-template-columns: 300px 1fr;
    gap: 48px;
  }

  .flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .news-item a {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 24px;
  }

  .access {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .access__map iframe {
    height: 400px;
  }

  .form {
    padding: 40px;
  }

  .form__radios {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta__buttons {
    grid-template-columns: 1fr 1fr;
  }

  .footer {
    padding-bottom: 48px;
  }

  .fixed-bar {
    display: none;
  }
}

/* ==========================================================
   PC（1024px〜）
   ========================================================== */
@media (min-width: 1024px) {
  .flow {
    grid-template-columns: repeat(4, 1fr);
  }

  .flow__item {
    padding: 88px 20px 24px;
    text-align: center;
  }

  .flow__item::before {
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
  }
}

/* ==========================================================
   広いPC（1200px〜）：ヘッダーにメニューを横並びで表示
   ========================================================== */
@media (min-width: 1200px) {
  .header__inner {
    height: 88px;
  }

  html {
    scroll-padding-top: 96px;
  }

  .logo__main {
    white-space: nowrap;
  }

  .nav-button {
    display: none;
  }

  .nav {
    display: block;
    position: static;
    border: none;
    box-shadow: none;
    background: none;
  }

  .nav__list {
    display: flex;
    gap: 4px;
  }

  .nav__list a {
    border: none;
    padding: 8px 10px;
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .nav__list a:hover {
    color: var(--blue);
  }

  .header__tel {
    display: block;
    text-align: right;
    line-height: 1.3;
    text-decoration: none;
    color: var(--navy);
  }

  .header__tel small {
    display: block;
    font-size: 0.72rem;
    color: var(--text-sub);
  }

  .header__tel strong {
    font-family: "Noto Serif JP", serif;
    font-size: 1.4rem;
    color: var(--orange);
    white-space: nowrap;
  }

  .header__tel small {
    white-space: nowrap;
  }
}
