/* 色と文字の基本設定
   ナチュラルな温かさ(クリーム・リネン・蜂蜜色・やわらかい緑)約70%
   ホテルライクな上品さ(深いオリーブ・シャンパン色・濃い茶)約30% */
:root {
  --ivory: #FAF6EE;      /* 背景:クリーム */
  --linen: #F3EBDC;      /* 帯・囲み:リネン */
  --honey: #F0DDB3;      /* 温かいアクセント:蜂蜜色 */
  --sage: #A3AD8C;       /* 飾り:やわらかい緑 */
  --sage-deep: #565F47;  /* ボタン:深いオリーブ */
  --champagne: #7D6639;  /* 小さな見出し・アイコン:シャンパン色 */
  --greige: #E4D9C6;     /* 境界線 */
  --brown: #4A3F36;      /* 本文 */
  --brown-soft: #6B5E50; /* 補足の文字 */
  --ink: #3A3128;        /* フッターの背景:濃い茶 */
  --white: #FFFDF9;      /* カード:温かみのある白 */
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --script: "Allura", cursive;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(92, 70, 40, .09);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--brown);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  word-break: auto-phrase;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--mincho); font-weight: 600; line-height: 1.5; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.section { padding-block: 72px; }
.nb { display: inline-block; }
.script { font-family: var(--script); font-weight: 400; color: var(--champagne); font-size: 34px; line-height: 1; letter-spacing: 0; }

.section-title { display: flex; align-items: center; justify-content: center; gap: 20px; font-size: 26px; text-align: center; margin-bottom: 36px; }
.section-title::before, .section-title::after { content: ""; width: 48px; height: 1px; background: var(--champagne); }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 28px;
  border: 1px solid var(--sage-deep); border-radius: 999px;
  font-size: 15px; font-weight: 500; line-height: 1.5; text-align: center; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.btn::after { content: "→"; font-size: 14px; }
.btn-primary { background: var(--sage-deep); color: var(--white); }
.btn-primary:hover { background: #454D39; }
.btn-outline { background: var(--white); color: var(--brown); }
.btn-outline:hover { background: var(--linen); }
.btn-sm { min-height: 40px; padding: 6px 20px; font-size: 14px; }
.btn-sm::after { content: none; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(250, 246, 238, .96); border-bottom: 1px solid var(--greige); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { width: 36px; height: 36px; flex: none; }
.brand-name { display: block; font-family: var(--mincho); font-weight: 600; font-size: 17px; line-height: 1.3; }
.brand-tag { display: block; font-size: 11px; line-height: 1.4; color: var(--brown-soft); }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.site-nav a:not(.btn) { text-decoration: none; padding-block: 6px; border-bottom: 1px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--sage-deep); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; background: none; border: 0; color: var(--brown); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 24px; height: 2px; margin-inline: auto; background: currentColor; }
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* ファーストビュー */
.hero { position: relative; overflow: hidden; background: var(--ivory); }
.hero-media { position: absolute; inset: 0 0 0 44%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26%); mask-image: linear-gradient(to right, transparent 0, #000 26%); }
.hero-inner { position: relative; padding-block: 64px 56px; }
.hero-copy { max-width: 600px; }
.hero-vision { font-family: var(--mincho); font-size: 15px; color: var(--champagne); margin-bottom: 14px; }
.hero h1 { font-size: 38px; line-height: 1.55; }
.hero-lead { margin-top: 18px; max-width: 480px; }
.themes { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 32px; max-width: 500px; }
.themes li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-inline: 8px; font-size: 13px; line-height: 1.5; text-align: center; }
.themes li + li { border-left: 1px solid var(--greige); }
.themes svg { width: 34px; height: 34px; color: var(--champagne); }

/* 2つの事業領域 */
.domains { padding-block: 40px 56px; }
.domains-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.domain .script { display: block; margin: 0 0 10px 12px; }
.domain-card { display: grid; grid-template-columns: 42% 1fr; height: calc(100% - 44px); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.domain-card img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.domain-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; }
.domain-body h2 { font-size: 21px; }
.domain-body p { font-size: 14px; flex: 1; }

/* 5つのサービス */
.services { background: var(--linen); }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.service-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; transition: transform .2s; }
.service-card:hover { transform: translateY(-2px); }
.service-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-card-body { display: flex; flex-direction: column; flex: 1; align-items: center; gap: 8px; padding: 16px 14px 18px; text-align: center; }
.service-tag { font-size: 11px; line-height: 1.5; padding: 1px 10px; border-radius: 999px; background: var(--honey); color: var(--brown); }
.service-card h3 { font-size: 16px; }
.service-card p { font-size: 13px; line-height: 1.75; flex: 1; }
.arrow { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--champagne); border-radius: 50%; color: var(--champagne); font-size: 13px; line-height: 1; }

/* 私について */
.about { padding-block: 72px; }
.about-inner { display: grid; grid-template-columns: 38% 1fr; gap: 48px; align-items: center; }
.about-photo { width: 100%; aspect-ratio: 8 / 9; object-fit: cover; border-radius: var(--radius); }
.about h2 { font-size: 26px; margin-top: 6px; }
.about-sub { font-family: var(--mincho); font-size: 17px; color: var(--sage-deep); margin-block: 10px 14px; }
.about-body p + p { margin-top: 10px; }
.about .btn { margin-top: 22px; }

/* お問い合わせ */
.cta { background: linear-gradient(180deg, var(--linen), var(--honey)); padding-block: 56px; text-align: center; }
.cta h2 { font-size: 24px; margin-bottom: 24px; }
.cta-main { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.cta-main .btn { min-width: 280px; }
.cta-sub-title { margin-top: 32px; font-size: 14px; }
.cta-sub { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 8px; font-size: 14px; }
.cta-sub a { display: inline-block; padding-block: 6px; text-underline-offset: 4px; }

/* フッター */
.site-footer { background: var(--ink); color: #F3EBDC; padding-block: 40px 24px; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.footer-title { font-weight: 500; margin-bottom: 6px; }
.site-footer ul a { display: inline-block; padding-block: 4px; text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.footer-note { color: #D9CDB8; font-size: 13px; }
.copyright { margin-top: 28px; padding-top: 16px; border-top: 1px solid #6B5E50; text-align: center; font-size: 12px; color: #D9CDB8; }

/* 下層ページ */
.page-head { padding-block: 56px 40px; text-align: center; }
.page-head h1 { font-size: 30px; margin-top: 8px; }
.page-head p { margin: 14px auto 0; max-width: 640px; }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; font-size: 13px; }
.jump a { display: inline-block; padding: 6px 16px; background: var(--white); border: 1px solid var(--greige); border-radius: 999px; text-decoration: none; }
.jump a:hover { background: var(--linen); }

.domain-head { padding-block: 40px 8px; border-top: 1px solid var(--greige); }
.domain-head h2 { font-size: 24px; margin-top: 4px; }
.detail { padding-block: 36px 48px; }
.detail-top { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.detail-top img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.detail-label { font-size: 13px; color: var(--champagne); font-weight: 500; }
.detail h3 { font-size: 24px; margin-block: 4px 12px; }
.detail .btn { margin-top: 20px; }
.detail h4 { font-size: 18px; margin-block: 32px 14px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card { position: relative; background: var(--white); border: 1px solid var(--greige); border-radius: var(--radius); padding: 20px; font-size: 14px; }
.card h5 { font-family: var(--mincho); font-size: 17px; font-weight: 600; margin: 0 0 8px; line-height: 1.5; }
.card.is-recommended { border-color: var(--sage-deep); }
.badge { display: inline-block; margin-left: 8px; padding: 0 10px; border-radius: 999px; background: var(--sage-deep); color: var(--white); font-family: var(--gothic); font-size: 11px; font-weight: 500; vertical-align: 2px; }
.dot-list li { position: relative; padding-left: 16px; }
.dot-list li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 5px; height: 5px; border-radius: 50%; background: var(--sage); }
.note { margin-top: 12px; font-size: 13px; color: var(--brown-soft); }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: step; }
.flow li { counter-increment: step; background: var(--white); border: 1px solid var(--greige); border-radius: var(--radius); padding: 14px; font-size: 14px; line-height: 1.7; }
.flow li::before { content: counter(step); display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 8px; border-radius: 50%; background: var(--sage-deep); color: var(--white); font-size: 13px; line-height: 1; }
.quote { margin-top: 20px; padding: 20px 24px; background: var(--linen); border-radius: var(--radius); }
.quote strong { font-family: var(--mincho); font-weight: 600; font-size: 17px; display: block; margin-bottom: 4px; }

.profile-top { display: grid; grid-template-columns: 38% 1fr; gap: 48px; align-items: center; padding-bottom: 56px; }
.profile-block { padding-block: 28px; border-top: 1px solid var(--greige); }
.profile-block h2 { font-size: 21px; margin-bottom: 12px; }
.narrow { max-width: 800px; margin-inline: auto; }
.timeline li { padding: 14px 0 14px 20px; border-left: 2px solid var(--sage); }
.timeline strong { display: block; font-weight: 500; }

/* 準備中のお知らせ */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 30; width: max-content; max-width: calc(100% - 32px); padding: 10px 20px; border-radius: 999px; background: var(--brown); color: var(--white); font-size: 14px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* タブレット */
@media (max-width: 960px) {
  .site-nav { gap: 18px; }
  .hero h1 { font-size: 32px; }
  .domains-grid { grid-template-columns: 1fr; }
  .domain-card { height: auto; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .flow li { display: flex; align-items: center; gap: 12px; }
  .flow li::before { flex: none; margin: 0; }
}

/* スマートフォン */
@media (max-width: 720px) {
  .section { padding-block: 52px; }
  .container { width: calc(100% - 32px); }
  .nav-toggle { display: block; flex: none; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: var(--ivory); border-bottom: 1px solid var(--greige); box-shadow: var(--shadow); font-size: 16px; }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding-block: 13px; border-bottom: 1px solid var(--greige); }
  .site-nav a[aria-current="page"] { font-weight: 500; }
  .site-nav .btn { margin-top: 16px; min-height: 48px; }

  .hero-media { position: static; }
  .hero-media img { aspect-ratio: 4 / 3; height: auto; -webkit-mask-image: linear-gradient(to top, transparent 0, #000 22%); mask-image: linear-gradient(to top, transparent 0, #000 22%); }
  .hero-inner { padding-block: 12px 40px; }
  .hero h1 { font-size: 27px; }
  .themes li { padding-inline: 4px; font-size: 12px; }

  .domain-card { grid-template-columns: 1fr; }
  .domain-card img { min-height: 0; aspect-ratio: 16 / 9; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { display: grid; grid-template-columns: 112px 1fr; }
  .service-card img { height: 100%; aspect-ratio: auto; }
  .service-card-body { align-items: flex-start; text-align: left; padding: 14px; }
  .arrow { display: none; }
  .section-title { font-size: 23px; }

  .about-inner, .profile-top, .detail-top { grid-template-columns: 1fr; gap: 24px; }
  .cta-main .btn { width: 100%; min-width: 0; }
  .cta-sub { flex-direction: column; gap: 2px; }
  .card-grid, .card-grid.two { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .page-head h1 { font-size: 26px; }
  .detail h3 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
