@charset "UTF-8";

/* ============================================
   トークン（DESIGN.md 案件版の【差し替え】に対応）
   ============================================ */
:root {
  --accent:       #1A2D3E;
  --accent-dark:  #12202D;
  --accent-light: #EDF1F4;
  --accent2:      #C9A87C;
  --ink:          #333333;
  --ink-mid:      #666666;
  --ink-light:    #888780;
  --line:         #E0E0E0;
  --bg:           #FFFFFF;
  --bg-soft:      #F5F5F0;
  --error:        #B3261E;

  --radius:    4px;
  --radius-lg: 4px;
  --container: 1080px;
  --header-h:  65px;

  --font-jp:     "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-serif:  "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en:     "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* ============================================
   ベース
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  overflow-wrap: break-word;
}

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

a {
  color: var(--accent);
  transition: opacity .4s ease;
}
a:hover { opacity: .7; }

/* 送信ボタンは button 要素なので上の a のホバーが効かない。リンクと同じ挙動を与える */
button.btn {
  transition: opacity .4s ease;
  cursor: pointer;
}
button.btn:hover { opacity: .7; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .03em;
  margin: 0;
}

p { margin: 0; }

ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
}
.skip-link:focus { left: 0; }

.br-pc { display: none; }

/* ============================================
   共通パーツ
   ============================================ */
.eyebrow {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--accent2);
  margin-bottom: 8px;
}

.section { padding-block: 64px; }
.section--soft { background: var(--bg-soft); }

.section__title {
  font-size: 24px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.sub-title {
  font-size: 18px;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--accent2);
  border-radius: 0;
}

.note {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-light);
  margin-top: 16px;
}

.list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 1px;
  background: var(--accent2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  text-align: center;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 14px; }

.link-arrow {
  display: inline-block;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.link-arrow::after { content: "→"; margin-left: 8px; }

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

.header__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--accent);
  text-decoration: none;
}

.hamburger {
  width: 48px;
  height: 48px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.hamburger__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  transition: transform .4s ease, opacity .4s ease;
}
.hamburger.is-open .hamburger__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open .hamburger__bar:nth-child(2) { opacity: 0; }
.hamburger.is-open .hamburger__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 30;
  background: rgba(26, 45, 62, .5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }

.nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  z-index: 40;
  width: 78%;
  max-width: 320px;
  height: calc(100% - var(--header-h));
  overflow-y: auto;
  background: var(--accent);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .4s ease, visibility .4s ease;
}
.nav.is-open { transform: translateX(0); visibility: visible; }

.nav__list { padding: 24px; }
.nav__list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  text-decoration: none;
  letter-spacing: .04em;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.nav__cta { margin-top: 24px; }
.nav__cta a {
  border-bottom: 0;
  justify-content: center;
  background: var(--accent2);
  border-color: var(--accent2);
  color: var(--accent);
}

body.is-nav-open { overflow: hidden; }

/* ============================================
   ヒーロー
   ============================================ */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-block: 64px 0;
}
.hero__title { font-size: 28px; margin-bottom: 16px; }
.hero__lead {
  max-width: 720px;
  color: var(--ink-mid);
  margin-bottom: 32px;
}
.hero__actions { display: flex; flex-direction: column; gap: 16px; }

/* ============================================
   WORKS
   ============================================ */
.works { margin-top: 40px; }
.work { margin-bottom: 40px; }
.work:last-child { margin-bottom: 0; }

.work__thumb {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}
.work__thumb img { width: 100%; }

.work__body { padding-top: 16px; }

.work__cat {
  font-size: 13px;
  color: var(--ink-light);
  margin-bottom: 8px;
}

.work__title { font-size: 18px; margin-bottom: 16px; }
.work__text { margin-bottom: 16px; }

.work__meta {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.work__meta dt {
  font-weight: 500;
  color: var(--ink-mid);
  font-size: 13px;
}
.work__meta dd { color: var(--ink-mid); margin-bottom: 8px; }
.work__meta dd:last-child { margin-bottom: 0; }

/* ============================================
   CTA帯
   ============================================ */
.cta-band { background: var(--accent-light); padding-block: 40px; }
.cta-band__inner { display: flex; flex-direction: column; gap: 24px; }
.cta-band__title { font-size: 18px; margin-bottom: 8px; }
.cta-band__text { font-size: 14px; color: var(--ink-mid); }
.cta-band .btn { width: 100%; }

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

.price-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--bg);
}
.price-table th, .price-table td {
  border: 1px solid var(--line);
  padding: 16px;
  text-align: left;
  vertical-align: top;
}
.price-table thead th {
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  font-size: 14px;
}
.price-table tbody th { font-weight: 500; }
.price-table td { white-space: nowrap; }

.flow li {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  position: relative;
}
.flow li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.flow__num {
  flex: 0 0 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-en);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow b { display: block; font-weight: 500; }

/* ============================================
   SKILL
   ============================================ */
.skill {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.skill dt {
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--accent);
  margin-bottom: 8px;
}

/* ============================================
   ABOUT
   ============================================ */
.about__text p { margin-bottom: 16px; }
.about__text p:last-child { margin-bottom: 0; }

.profile {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.profile dt {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ink-light);
}
.profile dd { margin-bottom: 16px; }
.profile dd:last-child { margin-bottom: 0; }

/* ============================================
   CONTACT
   ============================================ */
.contact__lead,
.assure,
.form,
#contact .note { max-width: 720px; }

.contact__lead { margin-bottom: 16px; }

.assure {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 32px;
}
.assure li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 15px;
}
.assure li:last-child { margin-bottom: 0; }
.assure li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--accent2);
  border-bottom: 2px solid var(--accent2);
  transform: rotate(-45deg);
}

.form {
  max-width: 720px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.form__row { margin-bottom: 24px; }

.form__fieldset {
  border: 0;
  padding: 0;
  margin-inline: 0;
}

.form__label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  padding: 0;
}

.form__req,
.form__any {
  font-size: 12px;
  font-weight: 400;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: var(--radius);
}
.form__req { background: var(--accent); color: #fff; }
.form__any { background: var(--bg-soft); color: var(--ink-mid); }

.form__input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease;
}
.form__input::placeholder { color: var(--ink-light); }
.form__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.form__textarea { min-height: 120px; resize: vertical; }

.form__input.is-error { border-color: var(--error); }

.form__choices { display: flex; flex-direction: column; gap: 8px; }
.form__choice {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 15px;
  cursor: pointer;
}
.form__choice input { width: 20px; height: 20px; accent-color: var(--accent); }

.form__error {
  font-size: 13px;
  color: var(--error);
  margin-top: 8px;
  display: none;
}
.form__error.is-shown { display: block; }

.form__submit { width: 100%; margin-top: 8px; }

.form__result {
  font-size: 15px;
  margin-top: 16px;
}
.form__result:empty { margin-top: 0; }
.form__result.is-done { color: var(--accent); font-weight: 500; }
.form__result.is-error { color: var(--error); }

#formTarget { display: none; }

/* ============================================
   フッター
   ============================================ */
.footer {
  background: var(--accent);
  color: #fff;
  padding-block: 32px;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__logo {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .08em;
}
.footer small { font-size: 13px; color: rgba(255, 255, 255, .72); }

/* ============================================
   フェードイン
   ============================================ */
.fade-in { opacity: 0; transition: opacity .4s ease; }
.fade-in.is-visible { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transition: none; }
  .nav, .hamburger__bar, a, button.btn { transition: none; }
}

/* ============================================
   640px〜
   ============================================ */
@media (min-width: 640px) {
  .hero__actions { flex-direction: row; }
  .cta-band .btn { width: auto; }
}

/* ============================================
   768px〜
   ============================================ */
@media (min-width: 768px) {
  .container { padding-inline: 24px; }

  .section { padding-block: 96px; }
  .section__title { font-size: 32px; margin-bottom: 40px; }
  .sub-title { font-size: 22px; margin-top: 48px; }

  .header__inner { padding: 8px 24px; }
  .hamburger { display: none; }

  .nav-overlay { display: none; }
  body.is-nav-open { overflow: visible; }

  .nav {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    padding-top: 0;
    overflow: visible;
    transform: none;
    visibility: visible;
    background: transparent;
  }
  .nav__list {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0;
  }
  .nav__list a {
    min-height: 0;
    border-bottom: 0;
    font-size: 14px;
    color: var(--ink);
    letter-spacing: normal;
  }
  .nav__cta { margin-top: 0; }
  .nav__cta a {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }

  .hero { padding-block: 96px 0; }
  .hero__title { font-size: 44px; }

  .work {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 32px;
    align-items: start;
    margin-bottom: 64px;
  }
  .work__body { padding-top: 0; }

  .cta-band { padding-block: 64px; }
  .cta-band__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
  .cta-band__title { font-size: 22px; }
  .cta-band .btn { flex: 0 0 auto; }

  .form { padding: 32px; }
  .form__choices { flex-direction: row; flex-wrap: wrap; gap: 24px; }
  .form__submit { width: auto; min-width: 280px; }

  .about {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }
  .profile {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    border-left: 1px solid var(--line);
    padding-left: 32px;
  }

  .footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ============================================
   1024px〜
   ============================================ */
@media (min-width: 1024px) {
  .br-pc { display: inline; }
  .nav__list { gap: 24px; }
}
