/* 関西テクノデザイン 名刺サイト（1ページ）サンプル */
:root {
  --green: #1F6F3E; --green-accent: #277645; --green-house: #16302A; --green-light: #DCEEE2;
  --gold: #B8924F; --gold-light: #DCC59A; --gold-lightest: #FAF5EC;
  --bg: #FAF8F2; --bg-soft: #F1EEE6; --ink: rgba(20,24,21,.87); --ink-soft: rgba(20,24,21,.62);
  --line: #E4DFD2; --white: #fff;
  --font: "Inter","Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  --mono: "Roboto Mono","Noto Sans JP",monospace;
  --r: 12px; --pill: 50px;
  --shadow: 0 1px 3px rgba(0,0,0,.10), 0 2px 2px rgba(0,0,0,.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.8; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }
.wrap { width: min(1080px, 100% - 3.2rem); margin-inline: auto; }
section[id] { scroll-margin-top: 76px; }

/* ---- サンプル表示帯 ---- */
.sample-bar { background: var(--green-house); color: #fff; font-size: .78rem; text-align: center; padding: .55rem 1rem; line-height: 1.6; }
.sample-bar a { color: #F3D58F; text-decoration: underline; }

/* ---- ヘッダー ---- */
.hd { position: sticky; top: 0; z-index: 20; background: rgba(250,248,242,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.hd__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.hd__logo img { height: 38px; width: auto; }
.hd__nav { display: flex; gap: 1.6rem; font-size: .88rem; font-weight: 500; }
.hd__nav a { text-decoration: none; padding: .3rem 0; border-bottom: 2px solid transparent; }
.hd__nav a:hover { border-color: var(--green-accent); }
.hd__tel { font-family: var(--mono); font-weight: 700; font-size: 1rem; text-decoration: none; color: var(--green); white-space: nowrap; }

/* ---- ボタン ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .95em 1.9em; border-radius: var(--pill); font-weight: 600; font-size: .98rem; text-decoration: none; transition: transform .2s, box-shadow .2s; border: 2px solid transparent; }
.btn:active { transform: scale(.96); }
.btn--primary { background: var(--green-accent); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--green); }
.btn--ghost { border-color: var(--green-accent); color: var(--green); background: transparent; }
.btn--ghost:hover { background: var(--green-light); }

/* ---- ヒーロー ---- */
.hero { position: relative; padding-block: clamp(3.5rem, 9vw, 7rem); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 8%, rgba(250,248,242,.86) 48%, rgba(250,248,242,.25) 100%); }
.hero .wrap { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; color: var(--green); font-weight: 700; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.hero h1 { text-wrap: balance; margin-top: 1rem; font-size: clamp(1.9rem, 4.6vw, 3.2rem); line-height: 1.4; font-weight: 700; letter-spacing: -.01em; max-width: 20em; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero__lead { margin-top: 1.2rem; max-width: 38em; text-wrap: pretty; color: var(--ink-soft); font-size: 1.02rem; }
.hero__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__facts { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 2.2rem; }
.fact b { display: block; font-family: var(--mono); font-size: 1.9rem; color: var(--green); line-height: 1.2; }
.fact b small { font-size: .9rem; margin-left: .15em; }
.fact span { font-size: .8rem; color: var(--ink-soft); }

/* ---- 共通セクション ---- */
.sec { padding-block: clamp(3.2rem, 7vw, 5.5rem); }
.sec--soft { background: var(--bg-soft); }
.sec__head { max-width: 40em; margin-bottom: 2.4rem; }
.sec__head h2 { margin-top: .6rem; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.5; font-weight: 700; }
.sec__head p { margin-top: .8rem; color: var(--ink-soft); }

.cards { display: grid; gap: 1.2rem; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; }
.card .no { font-family: var(--mono); font-size: .78rem; font-weight: 700; color: var(--green); letter-spacing: .06em; }
.card h3 { margin-top: .5rem; font-size: 1.08rem; line-height: 1.5; }
.card p { margin-top: .6rem; font-size: .9rem; color: var(--ink-soft); line-height: 1.85; }
.card .tag { display: inline-block; margin-top: .9rem; font-family: var(--mono); font-size: .74rem; background: var(--green-light); color: var(--green); padding: .3em .8em; border-radius: var(--pill); }

/* ---- 料金 ---- */
.table-scroll { overflow-x: auto; }
.price { width: 100%; min-width: 560px; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.price th, .price td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: top; }
.price thead th { background: var(--bg-soft); font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; color: var(--ink-soft); }
.price tbody tr:last-child td { border-bottom: 0; }
.price .yen { font-family: var(--mono); font-weight: 700; font-size: 1.15rem; color: var(--green); white-space: nowrap; }
.price .sub { display: block; font-size: .8rem; color: var(--ink-soft); margin-top: .2rem; }
.note { margin-top: 1rem; font-size: .82rem; color: var(--ink-soft); }

/* ---- 作成例 ---- */
.works figure { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.works img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #111; }
.works figcaption { padding: 1rem 1.2rem 1.3rem; }
.works figcaption b { display: block; font-size: 1rem; }
.works figcaption span { font-size: .84rem; color: var(--ink-soft); }

/* ---- 流れ ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: s; }
.step { border-top: 3px solid var(--green-accent); padding-top: 1rem; }
.step .no { font-family: var(--mono); font-weight: 700; font-size: .8rem; color: var(--green); }
.step h3 { margin-top: .4rem; font-size: 1.02rem; }
.step p { margin-top: .5rem; font-size: .88rem; color: var(--ink-soft); line-height: 1.85; }

/* ---- 会社情報 ---- */
.company { display: grid; grid-template-columns: 1.25fr .75fr; gap: 2.4rem; align-items: start; }
.dl { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.dl div { display: grid; grid-template-columns: 8.5em 1fr; border-bottom: 1px solid var(--line); }
.dl div:last-child { border-bottom: 0; }
.dl dt { background: var(--bg-soft); padding: .9rem 1.1rem; font-weight: 600; font-size: .86rem; }
.dl dd { padding: .9rem 1.1rem; font-size: .92rem; }
.office { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.office img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: center 30%; }
.office p { padding: .7rem 1rem; font-size: .8rem; color: var(--ink-soft); }
.map { margin-top: 1.6rem; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 320px; border: 0; }
.philosophy { margin-top: 2.2rem; background: var(--gold-lightest); border: 1px solid var(--gold-light); border-radius: var(--r); padding: 1.4rem 1.6rem; }
.philosophy h3 { font-size: .95rem; color: #8A6A2C; font-family: var(--mono); letter-spacing: .06em; }
.philosophy ul { margin-top: .6rem; display: grid; gap: .3rem; font-size: .95rem; font-weight: 500; }
.philosophy li::before { content: "一、"; color: var(--gold); font-weight: 700; }

/* ---- お問い合わせ ---- */
.contact { background: var(--green-house); color: #fff; text-align: center; padding-block: clamp(3.2rem, 7vw, 5rem); }
.contact h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.5; }
.contact p { margin-top: .8rem; color: rgba(255,255,255,.78); }
.contact__tel { display: inline-block; margin-top: 1.6rem; font-family: var(--mono); font-weight: 700; font-size: clamp(1.9rem, 5vw, 2.8rem); color: #F3D58F; text-decoration: none; letter-spacing: .02em; }
.contact__hours { font-size: .85rem; color: rgba(255,255,255,.7); }
.contact__cta { margin-top: 1.6rem; }
.contact .btn--primary { background: #F3D58F; color: var(--green-house); font-weight: 700; }
.contact .btn--primary:hover { background: #FFE4A6; }

.ft { background: #0F211D; color: rgba(255,255,255,.65); font-size: .78rem; text-align: center; padding: 1.4rem 1rem; line-height: 1.8; }

@media (max-width: 960px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .company { grid-template-columns: 1fr; }
  .hd__nav { display: none; }
}
@media (max-width: 700px) {
  .cards--3 { grid-template-columns: 1fr; }
  .cards--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero::after { background: linear-gradient(180deg, rgba(250,248,242,.92) 0%, rgba(250,248,242,.8) 100%); }
  .hero__facts { gap: 1.4rem 2rem; }
  .dl div { grid-template-columns: 1fr; }
  .dl dt { padding-bottom: .4rem; }
  .dl dd { padding-top: .6rem; }
  .hd__logo img { height: 32px; }
}
