@charset "UTF-8";

/* ==========================================================================
   ヴァイオリン教室のホームページ制作 LP
   --------------------------------------------------------------------------
   ブレイクポイント（デスクトップファースト）
     900px 以下 : タブレット
     680px 以下 : スマートフォン
     360px 以下 : 小型スマートフォン
   ========================================================================== */


/* ==========================================================================
   Variables
   ========================================================================== */
:root {
  --ink: #382b25;
  --muted: #73655b;
  --paper: #faf7f1;
  --white: #fffdf9;
  --line: #ded5c8;
  --gold: #a37e43;
  --dark: #3c3029;
  --sage: #e9ece3;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  /* 番号・料金・電話番号用（index.html で数字と記号のみ読み込み） */
  --num: "Noto Serif JP", serif;
}


/* ==========================================================================
   Base
   ========================================================================== */
* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .025em;
}

h2 {
  font-size: clamp(25px, 3vw, 36px);
}

h3 {
  font-size: 22px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: .65;
}

button,
a,
input,
textarea,
summary {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 80px;
  }

  body {
    font-size: 14px;
  }

  h2 {
    font-size: 25px;
    line-height: 1.7;
    letter-spacing: .005em;
  }

  h3 {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}


/* ==========================================================================
   Layout
   ========================================================================== */
.wrap {
  width: min(1120px, calc(100% - 64px));
  margin: auto;
}

.narrow {
  width: min(870px, calc(100% - 64px));
  margin: auto;
}

.section {
  padding: 88px 0;
}

.section-head {
  margin-bottom: 32px;
}

.section-head .eyebrow {
  margin-bottom: 16px;
}

@media (max-width: 680px) {
  .wrap,
  .narrow {
    width: calc(100% - 40px);
  }

  .section {
    padding: 53px 0;
  }

  .section-head {
    margin-bottom: 27px;
  }
}

@media (max-width: 360px) {
  .wrap,
  .narrow {
    width: calc(100% - 32px);
  }
}


/* ==========================================================================
   Common parts
   ========================================================================== */
/* 見出し上の英字ラベル */
.eyebrow {
  font-size: 11px;
  letter-spacing: .17em;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
}

/* 見出し下のリード文 */
.intro {
  color: var(--muted);
  margin-top: 18px;
}

/* 注釈テキスト */
.small {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  min-height: 54px;
  padding: 13px 23px;
  border: 1px solid var(--dark);
  background: var(--dark);
  color: var(--white);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
  border-radius: 2px;
}

.btn::after {
  content: "↗";
  font-size: 20px;
}

.btn:hover {
  background: #544237;
}

.btn[hidden] {
  display: none;
}

/* 下線付きテキストリンク */
.textlink {
  border-bottom: 1px solid var(--gold);
  padding-bottom: 5px;
  font-size: 13px;
}

/* スキップリンク */
.skip {
  position: fixed;
  left: 12px;
  top: -100px;
  z-index: 100;
  background: #fff;
  padding: 10px;
}

.skip:focus {
  top: 12px;
}

@media (max-width: 680px) {
  .intro {
    font-size: 13px;
    margin-top: 13px;
  }
}


/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 241, .97);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* タイトル上のキャッチ */
.site-catch {
  margin-bottom: 4px;
  color: var(--gold);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.6;
}

/* サイトタイトル（PCは1行、スマホは2行） */
.site-title {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.4;
}

.nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 12px;
}

.nav .btn {
  min-height: 42px;
  font-size: 12px;
  padding: 10px 16px;
  gap: 12px;
}

@media (max-width: 900px) {
  .nav > a:not(.btn) {
    display: none;
  }
}

@media (max-width: 680px) {
  .header-inner {
    height: auto;
    min-height: 64px;
    padding: 8px 0;
  }

  .site-catch {
    margin-bottom: 1vw;
    font-size: 2.6vw;
    letter-spacing: .04em;
  }

  .site-title {
    font-size: 4vw;
    letter-spacing: .04em;
    line-height: 1.3;
  }

  .site-title-line {
    display: block;
  }

  .nav .btn {
    font-size: 11px;
    padding: 9px 12px;
    gap: 10px;
    min-height: 40px;
  }
}

@media (max-width: 360px) {
  .nav .btn {
    font-size: 10px;
    padding: 9px;
  }
}


/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 58px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 55px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 3.75vw, 48px);
  line-height: 1.35;
  margin: 0 0 40px;
}

.hero h1 span {
  display: block;
}

.hero h1 .hero-service {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 2;
  letter-spacing: .025em;
  margin-bottom: 16px;
  color: var(--gold);
  font-weight: 600;
}

.hero-copy {
  font-size: 15px;
  color: var(--muted);
}

/* 料金の要約 */
.hero-plan {
  padding-top: 18px;
  font-size: 13px;
  line-height: 1.8;
}

/* 初期制作費・月額の枠 */
.hero-plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  margin-bottom:16px;
  padding: 12px 24px;
  border: 1px solid #c8b68f;
  background: var(--white);
  font-size: .9375rem;
  line-height: 1.6;
}

.hero-plan-item {
  white-space: nowrap;
}

.hero-plan-price strong {
  font-family: var(--sans);
  font-size: 1.625rem;
  font-weight: 600;
  color: var(--ink);
}

.hero-plan-price strong small {
  font-size: .75rem;
  font-weight: 400;
}

.hero-plan-divider {
  margin: 0 12px;
  color: var(--muted);
}

.hero-plan-terms {
  margin-top: 3px;
  font-size: 11px;
}

.hero-plan-terms a {
  margin-left: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero .btn {
  margin-top: 18px;
}

.hero-note {
  font-size: 11px;
  margin-top: 12px;
  color: var(--muted);
}

.hero-design-link {
  display: block;
  width: max-content;
  margin-top: 12px;
  padding: 5px 0;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-note + .hero-design-link {
  margin-top: 18px;
}

/* メイン画像 */
.hero-image {
  position: relative;
  margin: 0;
  padding-bottom: 18px;
}

/* 透過イラストのため、切り抜かずに全体を表示 */
.hero-image img {
  height: 560px;
  width: 100%;
  object-fit: contain;
  border-radius: 2px;
}

.hero-caption {
  position: absolute;
  bottom: 34px;
  left: 20px;
  background: rgba(255, 253, 249, .93);
  padding: 12px 18px;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.7;
}

/* 特長の帯 */
/* 訴求ポイント（左右が丸いピル型） */
.hero-bottom {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-point {
  flex: 1 1 auto;
  padding: 12px 24px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

.hero-point strong {
  color: #f66;
  font-weight: 700;
}

.hero-point-design {
  background: #f6efe2;
}

.hero-point-renewal {
  background: #e9ece3;
}

.hero-point-update {
  background: #f3e6e0;
}

@media (max-width: 900px) {
  .hero-grid {
    gap: 30px;
  }

  .hero h1 {
    font-size: 37px;
  }

  /* 2カラムで幅が狭いため、初期制作費と月額を2段に */
  .hero-plan-price {
    flex-direction: column;
    align-items: center;
  }

  .hero-plan-divider {
    display: none;
  }

  .hero-image img {
    height: 480px;
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 33px 0 38px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 29px;
  }

  .hero h1 {
    font-size: 33px;
    line-height: 1.65;
    margin: 0 0 17px;
    letter-spacing: .01em;
  }

  .hero h1 .hero-service {
    font-size: 12px;
  }

  .hero-copy {
    font-size: 13px;
    line-height: 1.95;
    max-width: none;
  }

  .hero-plan {
    margin-top: 19px;
    font-size: 11px;
    padding-top: 14px;
  }

  .hero-plan-price {
    flex-direction: row;
    align-items: baseline;
    margin-bottom: 3.1vw;
    padding: 3.1vw 4.1vw;
    font-size: 3.3vw;
  }

  .hero-plan-price strong {
    font-size: 5.6vw;
  }

  .hero-plan-price strong small {
    font-size: 2.8vw;
  }

  .hero-plan-divider {
    display: inline;
    margin: 0 1.5vw;
  }

  .hero-plan .small {
    font-size: 10px;
  }

  .hero-plan-terms a {
    margin-left: 5px;
  }

  .hero .btn {
    width: 100%;
    margin-top: 17px;
    gap: 18px;
  }

  .hero-note {
    text-align: center;
    font-size: 10px;
    margin-top: 8px;
  }

  .hero-design-link {
    margin: 10px auto 0;
  }

  .hero-note + .hero-design-link {
    margin-top: 14px;
  }

  .hero-image {
    padding-bottom: 12px;
  }

  .hero-image img {
    height: auto;
    aspect-ratio: 1;
  }

  .hero-caption {
    bottom: 24px;
    left: 12px;
    padding: 8px 12px;
    font-size: 11px;
  }

  .hero-bottom {
    margin-top: 6.2vw;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.1vw;
  }

  .hero-point {
    padding: 2.6vw 4.1vw;
    font-size: 3.6vw;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 29px;
  }
}


/* ==========================================================================
   Design examples（#examples）
   ========================================================================== */
.works {
  background: var(--white);
  border-block: 1px solid var(--line);
}

/* 360px以下でのみ見出しを改行 */
.narrow-heading-break {
  display: none;
}

.design-hint {
  margin-top: 16px;
}

.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.design-card {
  min-width: 0;
}

/* 拡大ボタンを兼ねたサムネイル */
.design-shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid #d6d2c7;
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
  text-align: left;
  box-shadow: 0 12px 24px #382b2508;
  transition: box-shadow .2s;
}

.design-shot:hover {
  box-shadow: 0 16px 32px #382b2518;
}

.design-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 1360 / 963;
  object-fit: contain;
  background: #f5f3ea;
}

.window-bar {
  height: 26px;
  background: #ecebe6;
  display: flex;
  align-items: center;
  padding: 0 11px;
  gap: 4px;
}

.window-bar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #bbb7ad;
}

.window-bar span {
  margin: auto;
  font-size: 8px;
  letter-spacing: .12em;
  color: #776e63;
}

.design-zoom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: .75rem;
  color: var(--ink);
}

.design-zoom > span {
  font-size: 1.25rem;
  color: var(--gold);
}

/* カード下のテキスト */
/* 数字と見出しはベースラインで揃える（行の高さ・字面の差で中央揃えだとずれるため） */
.sample-label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 25px;
}

.sample-label .num {
  font-family: var(--num);
  font-size: 25px;
  line-height: 1;
  color: var(--gold);
}

.sample-label h3 {
  font-size: 1.5rem;
  line-height: 1.4;
}

.sample-desc {
  font-size: 13px;
  margin-top: 10px;
  color: var(--muted);
}

.sample-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 13px;
}

.sample-tags span {
  font-size: 10px;
  border: 1px solid var(--line);
  padding: 2px 8px;
  color: var(--muted);
}

.design-inquiry {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gold);
  font-size: 13px;
  line-height: 1.6;
}

.works-note {
  margin-top: 30px;
  border-left: 2px solid var(--gold);
  padding-left: 14px;
}

@media (max-width: 680px) {
  .works-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sample-label {
    margin-top: 17px;
  }

  .sample-label h3 {
    font-size: 6.4vw;
  }

  .sample-desc {
    font-size: 12px;
  }

  .design-inquiry {
    font-size: 12px;
  }

  .works-note {
    font-size: 10px;
    margin-top: 25px;
  }
}

@media (max-width: 360px) {
  .narrow-heading-break {
    display: block;
  }
}


/* ==========================================================================
   Pain（習い始める前の疑問）
   ========================================================================== */
.pain .section-head {
  text-align: center;
}

.pain-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 36px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pain-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.pain-list li::before {
  content: "✓";
  color: var(--gold);
  font-size: 20px;
}

.pain-end {
  text-align: center;
  font-family: var(--serif);
  font-size: 24px;
  margin-top: 48px;
}

@media (max-width: 680px) {
  .pain .section-head {
    text-align: left;
  }

  .pain-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pain-list li {
    font-size: 12px;
    padding: 15px 0;
    gap: 10px;
  }

  .pain-end {
    font-size: 17px;
    text-align: left;
    margin-top: 23px;
  }
}


/* ==========================================================================
   Approach（#approach）
   ========================================================================== */
.approach {
  background: var(--sage);
}

.approach-grid {
  --approach-gap: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--approach-gap);
}

.approach-card {
  position: relative;
}

.approach-card h3 {
  margin: 0 0 14px;
}

.approach-card p {
  font-size: 13px;
  color: #59634f;
}

.approach-card p + p {
  margin-top: 16px;
}

@media (max-width: 900px) {
  .approach-grid {
    --approach-gap: 32px;
  }
}

@media (max-width: 680px) {
  .approach-grid {
    --approach-gap: 32px;
    grid-template-columns: 1fr;
  }

  .approach-card h3 {
    margin: 0 0 10px;
    font-size: 21px;
  }

  .approach-card p {
    font-size: 12px;
  }
}


/* ==========================================================================
   Team（#team）
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 80px;
}

.team-grid .intro {
  margin-bottom: 24px;
}

.team-ill {
  width: 50%;
  margin: 0 auto;
}

.team-ill img {
  display: block;
  width: 100%;
  height: auto;
}

.team-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 番号＋本文の2カラム（番号とh3の1行目をベースラインで揃える） */
.team-point {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: baseline;
  gap: 16px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.team-points li:last-child{
  padding-bottom:0;
  border-bottom:0;
}

.team-point .num {
  font-family: var(--num);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--gold);
}

.team-point h3 {
  font-size: 1.375rem;
  line-height: 1.4;
  color: var(--ink);
}

.team-point p {
  margin-top: 12px;
  font-size: .875rem;
  line-height: 1.75;
  color: var(--muted);
}

@media (max-width: 900px) {
  .team-grid {
    gap: 40px;
  }
}

@media (max-width: 680px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .team-grid .section-head {
    margin-bottom: 0;
  }

  .team-grid .intro {
    margin-bottom: 6.4vw;
  }

  .team-point {
    grid-template-columns: 8vw 1fr;
    gap: 3.2vw;
    padding: 6.4vw 0;
  }

  .team-point .num {
    font-size: 6.4vw;
  }

  .team-point h3 {
    font-size: 5.1vw;
  }

  .team-point p {
    margin-top: 2.1vw;
    font-size: 3.5vw;
  }
}


/* ==========================================================================
   Pricing（#pricing）
   ========================================================================== */
.pricing {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* 見出し内の（税込）を小さく表示（h2の可変サイズに追従させるためemで指定） */
.price-tax {
  font-size: .6em;
  letter-spacing: 0;
}

/* 左側のeyebrow分を空けて、金額の1行目を見出し（h2）の高さに揃える */
.price-box {
  padding-top: 32px;
}

.price-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 17px;
}

.price-line .label {
  font-size: 13px;
}

.price-line .amount {
  font-family: var(--num);
  font-size: 40px;
  line-height: 1.2;
}

.price-line .amount small {
  font-family: var(--sans);
  font-size: 12px;
  margin-left: 4px;
}

/* 月額料金の「（税込）」と同じ幅を確保し、初期制作費の「円」の位置を揃える */
.price-spacer {
  visibility: hidden;
}

.price-terms {
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.price-terms span {
  font-size: 12px;
}

.price-foot {
  margin-top: 13px;
}

.fee-note {
  font-size: 12px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 20px;
  color: var(--muted);
}

.price-consult {
  display: inline-block;
  margin-top: 22px;
}

@media (max-width: 900px) {
  .price-grid {
    gap: 35px;
  }
}

@media (max-width: 680px) {
  .price-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .price-grid .section-head {
    margin-bottom: 0;
  }

  .price-box {
    padding-top: 0;
  }

  .price-line .amount {
    font-size: 38px;
  }

  .price-terms {
    font-size: 11px;
  }

  .fee-note {
    font-size: 11px;
  }
}


/* ==========================================================================
   Flow（#flow）
   ========================================================================== */
.flow {
  background: var(--dark);
  color: var(--white);
}

.flow .eyebrow {
  color: #c9ad80;
}

.flow .intro {
  color: #d1c5b7;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 28px;
}

.flow-list li {
  position: relative;
  padding-top: 16px;
  border-top: 1px solid #867563;
}

.flow-list .num {
  font-family: var(--num);
  font-size: 28px;
  color: #c9ad80;
}

.flow-list h3 {
  font-size: 19px;
  margin: 12px 0;
}

.flow-list p {
  font-size: 12px;
  color: #d1c5b7;
}

@media (max-width: 900px) {
  .flow-list {
    gap: 19px;
  }
}

@media (max-width: 680px) {
  .flow-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .flow-list li {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0 13px;
    padding-top: 16px;
  }

  .flow-list .num {
    grid-row: 1 / 3;
    font-size: 26px;
  }

  .flow-list h3 {
    font-size: 19px;
    margin: 0 0 7px;
  }

  .flow-list p {
    font-size: 12px;
  }
}


/* ==========================================================================
   FAQ（#faq）
   ========================================================================== */
.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-of-type {
  border-top: 1px solid var(--line);
}

/* JSでの開閉アニメーション中は中身をはみ出させない */
.faq details.is-animating {
  overflow: hidden;
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  cursor: pointer;
  padding: 21px 0;
  font-size: 14px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "＋";
  flex: none;
  margin-left: auto;
  padding-left: 16px;
  color: var(--gold);
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

/* 閉じるアニメーション中は先に＋へ戻す */
.faq details.is-closing summary::after {
  content: "＋";
}

.faq summary .q {
  flex: none;
  color: var(--gold);
  font-family: var(--num);
  font-size: 22px;
  line-height: 1;
}

.faq details p {
  padding: 0 24px 24px 32px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 680px) {
  .faq summary {
    font-size: 12px;
    line-height: 1.8;
    padding-block: 17px;
    gap: 9px;
  }

  .faq details p {
    font-size: 12px;
    padding-left: 24px;
  }
}


/* ==========================================================================
   Contact（#contact）
   ========================================================================== */
.contact {
  background: #efe8dc;
}

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
}

.contact .intro {
  font-size: 14px;
}

.contact-phone-block {
  margin-top: 24px;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--num);
  font-size: 27px;
  letter-spacing: .035em;
  border-bottom: 1px solid var(--gold);
  line-height: 1.4;
  margin-bottom:16px;
}

.contact-sub {
  margin-top: 27px;
  padding-top: 20px;
  border-top: 1px solid #d3c5af;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .contact-grid {
    gap: 40px;
  }
}

@media (max-width: 680px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact .section-head {
    margin-bottom: 0;
  }
}


/* ==========================================================================
   Form（#consult-form）
   ========================================================================== */
.form {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
}

.required {
  font-size: 9px;
  margin-left: 8px;
  color: #896337;
}

.optional {
  font-size: 9px;
  margin-left: 8px;
  color: var(--muted);
}

input,
textarea {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d5cabc;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  border-radius: 2px;
}

input::placeholder,
textarea::placeholder {
  color: #9c9184;
}

textarea {
  resize: vertical;
  min-height: 134px;
}

select {
  font: inherit;
  width: 100%;
  max-width: 100%;
  padding: 11px 10px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  line-height: 1.6;
}

select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.design-help {
  margin: 0 0 10px;
}

.design-selection-note {
  margin-top: 7px;
}

/* 個人情報の取り扱い */
.privacy-note {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.analytics-notice {
  margin-top: 10px;
}

.privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.8;
  margin: 0 0 22px;
  cursor: pointer;
}

.privacy-consent input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 2px 0 0;
  accent-color: var(--dark);
}

.privacy-consent .required {
  display: inline-block;
  margin-left: 7px;
}

/* スパム対策（画面外に配置） */
.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form .btn {
  width: 100%;
  margin-top: 14px;
}

.form-note {
  margin-top: 12px;
}

@media (max-width: 680px) {
  .form {
    padding: 21px 18px;
  }

  .form-row {
    margin-bottom: 15px;
  }

  .form-row label {
    font-size: 12px;
  }

  input,
  textarea {
    font-size: 16px;
    min-height: 46px;
  }

  select {
    font-size: 16px;
    min-height: 46px;
  }

  .form .btn {
    font-size: 13px;
    gap: 12px;
  }
}


/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  padding: 38px 0;
  background: var(--white);
}

.footer-title {
  margin-bottom: 24px;
}

/* company内の文字色（muted）を引き継がないよう、見出し色に戻す */
.footer-title .site-title {
  color: var(--ink);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.footer-ill {
  flex-shrink: 0;
  width: 400px;
}

.footer-ill img {
  display: block;
  width: 100%;
  height: auto;
}

.company {
  font-size: 11px;
  color: var(--muted);
  line-height: 2;
  margin:0 0
}


.com-name{
  font-size: 13px;
  line-height:2;
}

.tel-caption{
  position:relative;
  padding-left:1.1em;
  margin-bottom:24px;
}
.tel-caption::before{
  content:'※';
  position:absolute;
  top:0;
  left:0;
}


.footer-tel span{
  font-size:21px;
  line-height:1;
}

.copyright {
  margin-top: 25px;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: .04em;
  text-align: center;
}

@media (max-width: 680px) {
  .footer {
    padding: 28px 0 95px;
  }

  .footer-title {
    margin-bottom: 4.1vw;
  }

  .footer-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .footer-ill {
    width: 64vw;
    margin: 0 auto;
  }
}


/* ==========================================================================
   Mobile CTA（画面下部の固定ボタン）
   ========================================================================== */
.mobile-cta {
  display: none;
}

@media (max-width: 680px) {
  .mobile-cta {
    display: block;
    position: fixed;
    z-index: 25;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 20px max(8px, env(safe-area-inset-bottom));
    background: #faf7f1f7;
    border-top: 1px solid var(--line);
  }

  .mobile-cta .btn {
    width: 100%;
    min-height: 45px;
    font-size: 12px;
    gap: 20px;
  }

  .mobile-cta.is-hidden {
    display: none;
  }
}


/* ==========================================================================
   Dialog（共通 / 送信内容の確認 #review-dialog）
   ========================================================================== */
dialog {
  padding: 29px;
  max-width: 550px;
  width: calc(100% - 36px);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

dialog::backdrop {
  background: #382b2580;
}

dialog h2 {
  font-size: 25px;
}

dialog .small {
  margin-top: 8px;
}

dialog dl {
  font-size: 13px;
  margin-block: 20px;
}

dialog dt {
  color: var(--gold);
  font-size: 11px;
  margin-top: 13px;
}

dialog dd {
  margin: 3px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

dialog .btn {
  width: 100%;
}

#review-send {
  margin-right: 12px;
  margin-bottom: 12px;
}


/* ==========================================================================
   Design dialog（デザイン例の拡大表示 #design-dialog）
   ========================================================================== */
.design-dialog {
  max-width: 1180px;
  width: calc(100% - 40px);
  max-height: 90vh;
  padding: 0;
  border-radius: 4px;
}

.design-dialog-bar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.design-dialog-bar h2 {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  white-space: pre-line;
}

.design-dialog-close {
  min-height: 44px;
  flex-shrink: 0;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: .75rem;
}

.design-dialog-note {
  padding: 15px 20px;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}

.design-dialog-note .small {
  margin-top: 7px;
}

.design-dialog-image {
  width: 100%;
  height: auto;
}

.design-dialog-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
}

.design-dialog-nav button {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: .75rem;
}

.design-dialog-count {
  align-self: center;
  font-size: .75rem;
  color: var(--muted);
}

@media (max-width: 680px) {
  .design-dialog {
    width: calc(100% - 24px);
  }

  .design-dialog-bar {
    padding: 12px;
  }

  .design-dialog-bar h2 {
    font-size: .8125rem;
  }

  .design-dialog-note {
    padding: 12px;
  }

  .design-dialog-nav {
    padding: 12px;
  }
}


/* ==========================================================================
   Print
   ========================================================================== */
@media print {
  body {
    background: #fff;
  }

  .header,
  .mobile-cta,
  .skip {
    display: none;
  }

  .section {
    padding: 28px 0;
  }

  .hero {
    padding: 20px 0;
  }

  .hero-grid {
    gap: 20px;
  }

  .hero-image img {
    height: 270px;
  }

  .works-grid,
  .approach-grid,
  .flow-list {
    break-inside: avoid;
  }

  details p {
    display: block !important;
  }

  .form button {
    display: none;
  }

  .footer {
    padding-bottom: 20px;
  }
}
