@charset "UTF-8";

/* =========================================================
   デジ張り 共有スタイル（P0モック）
   Palette: 瀬戸内ブルー / 柑橘オレンジ / 生成りホワイト / 濃紺
   ========================================================= */

:root {
  /* Core palette */
  --c-blue: #1E6FA8;
  --c-blue-dark: #175784;
  --c-blue-light: #E8F1F8;
  --c-orange: #F08C2E;
  --c-orange-dark: #D9761A;
  --c-orange-light: #FDF0E1;
  --c-cream: #FAF7F0;
  --c-navy: #16324A;

  /* Text */
  --c-text: #16324A;
  --c-text-sub: #4C6178;
  --c-text-mute: #7C8CA0;

  /* Surface */
  --c-surface: #FFFFFF;
  --c-bg: #FAF7F0;
  --c-bg-alt: #F2EDE3;
  --c-border: #E3DCCE;

  /* Type */
  --font-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;
  --sp-6: 48px;
  --sp-7: 64px;
  --sp-8: 96px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Shadow */
  --sh-sm: 0 1px 3px rgba(22, 50, 74, 0.05), 0 1px 2px rgba(22, 50, 74, 0.04);
  --sh-md: 0 4px 14px rgba(22, 50, 74, 0.07);
  --sh-lg: 0 10px 30px rgba(22, 50, 74, 0.10);

  --maxw: 1040px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin: 0 0 var(--sp-3);
  font-weight: 700;
}

p { margin: 0 0 var(--sp-3); }

a { color: var(--c-blue); }
a:hover { color: var(--c-blue-dark); }

ul, ol { padding-left: 1.4em; margin: 0 0 var(--sp-3); }
li { margin-bottom: var(--sp-2); }

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

.section {
  padding: var(--sp-6) 0;
}

.section--alt { background: var(--c-bg-alt); }
.section--white { background: var(--c-surface); }

.section__head {
  margin-bottom: var(--sp-5);
}

.section__title {
  font-size: 24px;
  margin-bottom: var(--sp-2);
}

.section__lead {
  color: var(--c-text-sub);
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-blue);
  background: var(--c-blue-light);
  border-radius: var(--r-full);
  padding: 4px 14px;
  margin-bottom: var(--sp-3);
}

.eyebrow--orange {
  color: var(--c-orange-dark);
  background: var(--c-orange-light);
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: rgba(250, 247, 240, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: 60px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: var(--c-navy);
  text-decoration: none;
  white-space: nowrap;
}

.brand__mark {
  width: 30px;
  height: 30px;
  border-radius: var(--r-full);
  background: var(--c-blue);
  color: #fff;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: center;
  justify-content: flex-end;
}

.nav a {
  font-size: 14px;
  color: var(--c-text-sub);
  text-decoration: none;
  padding: 4px 2px;
  white-space: nowrap;
}

.nav a:hover { color: var(--c-blue); }
.nav a[aria-current="page"] {
  color: var(--c-blue);
  font-weight: 700;
  border-bottom: 2px solid var(--c-orange);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, #F6FAFD 0%, var(--c-cream) 60%);
  border-bottom: 1px solid var(--c-border);
  padding: var(--sp-6) 0 var(--sp-5);
}

.hero__grid {
  display: grid;
  gap: var(--sp-4);
  align-items: center;
}

.hero__title {
  font-size: 30px;
  line-height: 1.35;
  margin-bottom: var(--sp-3);
}

.hero__title .accent { color: var(--c-blue); }

.hero__lead {
  font-size: 17px;
  color: var(--c-text-sub);
  margin-bottom: var(--sp-4);
}

.hero__art {
  text-align: center;
}

.hero__art img {
  margin: 0 auto;
  border-radius: var(--r-lg);
}

.hero__ip img { max-width: 200px; }

.hero__band {
  margin-top: var(--sp-5);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
}

/* ---------- Page head (下層ページ) ---------- */
.page-head {
  background: var(--c-blue);
  color: #fff;
  padding: var(--sp-5) 0;
}

.page-head__title {
  font-size: 26px;
  margin-bottom: var(--sp-2);
  color: #fff;
}

.page-head__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.page-head .eyebrow {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  padding: 14px 28px;
  border-radius: var(--r-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

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

.btn--primary {
  background: var(--c-orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(240, 140, 46, 0.30);
}
.btn--primary:hover { background: var(--c-orange-dark); color: #fff; }

.btn--blue {
  background: var(--c-blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(30, 111, 168, 0.25);
}
.btn--blue:hover { background: var(--c-blue-dark); color: #fff; }

.btn--outline {
  background: transparent;
  color: var(--c-blue);
  border-color: var(--c-blue);
}
.btn--outline:hover { background: var(--c-blue-light); color: var(--c-blue-dark); }

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

/* ---------- Cards ---------- */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  box-shadow: var(--sh-sm);
}

.card__title {
  font-size: 19px;
  margin-bottom: var(--sp-2);
}

.card__title .to {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-orange-dark);
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.card p:last-of-type { margin-bottom: var(--sp-3); }

.card--accent {
  border-top: 4px solid var(--c-orange);
}

.card--blue {
  border-top: 4px solid var(--c-blue);
}

.grid {
  display: grid;
  gap: var(--sp-4);
}

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

/* ---------- Link list (imabari) ---------- */
.linklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.linklist li {
  border-top: 1px solid var(--c-border);
  margin: 0;
}
.linklist li:last-child { border-bottom: 1px solid var(--c-border); }

.linklist a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 4px;
  text-decoration: none;
  color: var(--c-text);
}

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

.linklist .label { font-weight: 700; }
.linklist .desc {
  width: 100%;
  font-size: 13px;
  color: var(--c-text-mute);
}

/* ---------- Badge ---------- */
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  padding: 2px 10px;
  border-radius: var(--r-full);
  white-space: nowrap;
}

.badge--pending {
  background: var(--c-orange-light);
  color: var(--c-orange-dark);
  border: 1px solid #F3D2A8;
}

.badge--tmp {
  background: var(--c-blue-light);
  color: var(--c-blue-dark);
  border: 1px solid #C9DEEE;
}

/* ---------- Notice ---------- */
.notice {
  background: var(--c-blue-light);
  border-left: 4px solid var(--c-blue);
  border-radius: var(--r-sm);
  padding: var(--sp-3) var(--sp-4);
  font-size: 14px;
  color: var(--c-text-sub);
  margin-bottom: var(--sp-4);
}

.notice--warm {
  background: var(--c-orange-light);
  border-left-color: var(--c-orange);
}

.notice p:last-child { margin-bottom: 0; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.steps > li {
  position: relative;
  padding: 0 0 var(--sp-4) 48px;
  margin: 0;
}

.steps > li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  background: var(--c-blue);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps > li::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 38px;
  bottom: 6px;
  width: 2px;
  background: var(--c-border);
}

.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }

.steps__title {
  font-size: 17px;
  margin-bottom: var(--sp-1);
}

.steps p { margin-bottom: 0; color: var(--c-text-sub); }

/* ---------- Form ---------- */
.form {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  box-shadow: var(--sh-sm);
}

.field { margin-bottom: var(--sp-4); }

.field > label,
.field > .field__label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: var(--sp-2);
}

.req {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--c-orange);
  border-radius: var(--r-sm);
  padding: 1px 7px;
  margin-left: 6px;
  vertical-align: 2px;
}

.opt {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--c-text-sub);
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 1px 7px;
  margin-left: 6px;
  vertical-align: 2px;
}

.field input[type="email"],
.field input[type="text"],
.field select {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--c-text);
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(30, 111, 168, 0.14);
}

.field__help {
  font-size: 13px;
  color: var(--c-text-mute);
  margin: var(--sp-2) 0 0;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: var(--sp-3);
}

.check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  flex: 0 0 auto;
  accent-color: var(--c-blue);
}

/* ---------- Code chip ---------- */
.codebox {
  background: var(--c-navy);
  color: #fff;
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  text-align: center;
}

.codebox__label {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--sp-2);
}

.codebox__code {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  word-break: break-all;
}

.codebox__note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin: var(--sp-2) 0 0;
}

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; }

table.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--c-surface);
  border-radius: var(--r-md);
  overflow: hidden;
  min-width: 420px;
}

table.tbl th,
table.tbl td {
  border: 1px solid var(--c-border);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

table.tbl th {
  background: var(--c-bg-alt);
  font-weight: 700;
  white-space: nowrap;
  width: 34%;
}

/* ---------- Doc (規約・ポリシー) ---------- */
.doc h2 {
  font-size: 19px;
  margin-top: var(--sp-5);
  padding-bottom: var(--sp-2);
  border-bottom: 2px solid var(--c-border);
}

.doc h2:first-child { margin-top: 0; }

.doc h3 {
  font-size: 16px;
  margin-top: var(--sp-4);
}

.doc {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  box-shadow: var(--sh-sm);
}

.doc p, .doc li { color: var(--c-text-sub); }

/* ---------- Media / IP ---------- */
.ip-inline {
  max-width: 130px;
  margin: 0 auto var(--sp-3);
}

.media-slot img {
  width: 100%;
  border-radius: var(--r-lg);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-navy);
  color: rgba(255, 255, 255, 0.82);
  padding: var(--sp-6) 0 var(--sp-4);
  margin-top: var(--sp-7);
  font-size: 14px;
}

.site-footer__grid {
  display: grid;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}

.site-footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: var(--sp-2);
}

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

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__ip img { max-width: 110px; }

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: var(--sp-3);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer__bottom p { margin: 0 0 4px; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.text-center { text-align: center; }
.small { font-size: 14px; }
.mute { color: var(--c-text-mute); }
.sub { color: var(--c-text-sub); }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .hero__title { font-size: 36px; }
  .section__title { font-size: 27px; }
  .page-head__title { font-size: 30px; }
}

@media (min-width: 900px) {
  .container { padding: 0 32px; }
  .section { padding: var(--sp-7) 0; }
  .hero { padding: var(--sp-7) 0 var(--sp-6); }
  .hero__grid { grid-template-columns: 1.25fr 0.75fr; }
  .hero__title { font-size: 42px; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 0.8fr; }
  .form { padding: var(--sp-5); }
  .doc { padding: var(--sp-6); }
}
