@charset "UTF-8";

/* =========================================================
   株式会社広宣産業 LP  共通スタイル（レスポンシブ）
   PC / SP を index.html 1枚に統合
   ブレークポイント: 768px 以上を PC レイアウトとして扱う
   ========================================================= */

/* ---------- デザイントークン ---------- */
:root {
  --primary: #002d20;
  --on-primary: #ffffff;
  --primary-container: #1a4335;
  --on-primary-container: #85af9d;
  --secondary: #47645b;
  --secondary-container: #c7e7db;
  --on-secondary-container: #4b685f;
  --secondary-fixed-dim: #aecdc2;

  --surface: #f8fafb;
  --surface-lowest: #ffffff;
  --surface-low: #f2f4f5;
  --surface-variant: #e1e3e4;

  --on-surface: #191c1d;
  --on-surface-variant: #414844;
  --outline-variant: #c1c8c3;

  --accent: #cbb89a;          /* ゴールド系アクセント */
  --footer-bg: #4a675e;

  --container-max: 1200px;
  --section-gap: 80px;
  --margin-mobile: 16px;
  --margin-desktop: 32px;

  --radius-sm: 0.125rem;
  --radius-lg: 0.25rem;
  --radius-xl: 0.5rem;
  --radius-full: 0.75rem;

  --font-sans: "Noto Sans JP", sans-serif;
  --font-serif: "Noto Serif JP", serif;

  --shadow-ambient: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-ambient-hover: 0 4px 8px rgba(0, 0, 0, 0.1), 0 12px 28px rgba(0, 0, 0, 0.1);
}

/* ---------- リセット / ベース ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--on-surface);
  background-color: var(--surface-lowest);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul {
  padding: 0;
  list-style: none;
}

/* Material Symbols アイコン */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
}

.material-symbols-outlined.is-filled {
  font-variation-settings: "FILL" 1;
}

/* ---------- レイアウト共通 ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--margin-mobile);
}

.section {
  padding-block: var(--section-gap);
}

.section--lowest {
  background-color: var(--surface-lowest);
}

.section--surface {
  background-color: var(--surface);
}

.section--primary {
  background-color: var(--primary);
  color: var(--on-primary);
}

.section--above {
  position: relative;
  z-index: 10;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 28px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.section--primary .section-title {
  color: var(--on-primary);
}

.section-subtitle {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--on-surface-variant);
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background-color: var(--surface-lowest);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__bar {
  width: 6px;
  height: 32px;
  background-color: var(--primary);
  border-radius: var(--radius-sm);
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.nav {
  display: none;
  align-items: center;
  height: 100%;
}

.nav__link {
  padding-inline: 24px;
  font-weight: 700;
  color: var(--on-surface-variant);
  transition: color 0.2s;
  border-right: 1px solid var(--outline-variant);
}

.nav__link:last-child {
  border-right: none;
}

.nav__link:hover {
  color: var(--primary);
}

.header-tel {
  display: none;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  border-bottom: 4px solid var(--accent);
  padding-bottom: 4px;
  transition: opacity 0.2s;
}

.header-tel:hover {
  opacity: 0.8;
}

/* ---------- ヒーロー ---------- */
/* SP: FV画像の上にテキストを重ねる。PC(768px以上)は従来レイアウト */
.hero {
  position: relative;
  width: 100%;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* オーバーレイなし（写真そのまま）を確認中。下記グラデーションは一旦停止 */
  display: none;
  /* background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 34%,
    rgba(255, 255, 255, 0.45) 58%,
    rgba(255, 255, 255, 0.82) 100%
  ); */
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 人物がFV中央付近に見える位置 */
  object-position: 72% center;
}

.hero__curves {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 76px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__curves svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 0 20px 100px;
}

.hero__content {
  width: 100%;
  padding-top: 0;
}

/* タイトルとリード文を1つの白背景で囲むカード */
.hero__card {
  display: inline-block;
  margin-bottom: 40px;
  padding: 16px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* スマホ：カードの左右paddingでタイトルが折り返さないよう、
   横paddingを負マージンでhero__innerの余白側へ逃がし、
   テキスト用の幅を従来（カード無し）と同じだけ確保する */
@media (max-width: 767px) {
  .hero__card {
    display: block;
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
  }
}

.hero__title {
  /* 狭い画面では縮小して「困った！」を解決する を常に1行に収める。
     375px以上では30pxで固定（利用可能幅 = 画面幅 - hero__innerの左右余白40px） */
  font-size: clamp(20px, calc((100vw - 40px) / 11.17), 30px);
  line-height: 1.3;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero__nowrap {
  /* 「困った！」を解決する は常に1行に固定 */
  white-space: nowrap;
}

/* バッジは白背景カードの外・見出しの上に配置 */
.hero__badge-row {
  margin: 0 0 14px;
}

.hero__badge {
  display: inline-block;
  background-color: var(--accent);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  /* h1の外に出したため、従来h1から継承していた値を明示指定。
     タイトルと同じ比率（1.05倍）で狭い画面では連動して縮小 */
  font-size: clamp(21px, calc((100vw - 40px) / 10.64), 31.5px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
}

.hero__lead {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.625;
  color: var(--on-surface-variant);
}

.hero__lead-emph {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  border-bottom: 4px solid var(--accent);
  padding-bottom: 4px;
}

/* リード文の改行位置を画面幅で切り替える */
.hero__br--md,
.hero__br--lg {
  display: none;
}

.hero__lead-nowrap {
  white-space: normal;
}

/* 768〜1023px：「創業35年。」で改行し、続く一文は1行に収める */
@media (min-width: 768px) {
  .hero__lead-nowrap {
    white-space: nowrap;
  }
  .hero__br--md {
    display: inline;
  }
}

/* 1024px以上：「…「おもてなしの心」で」までを1行目に置き、その後で改行 */
@media (min-width: 1024px) {
  .hero__br--md {
    display: none;
  }
  .hero__br--lg {
    display: inline;
  }
}

/* 実績カード（ヒーロー内） */
.stats {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.stat-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background-color: #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  border-bottom: 4px solid var(--accent);
}

.stat-card__label {
  font-size: 10px;
  font-weight: 700;
  color: var(--on-surface-variant);
  margin-bottom: 4px;
  text-align: center;
}

.stat-card__value {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat-card__num {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--primary);
  white-space: nowrap;
}

.stat-card__unit {
  font-size: 10px;
  font-weight: 700;
  color: var(--on-surface-variant);
}

/* ---------- お困りごと ---------- */
.pain-grid {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.card {
  background-color: var(--surface-low);
  border: 1px solid var(--surface-variant);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-ambient);
  transition: box-shadow 0.3s, transform 0.3s;
}

.card:hover {
  box-shadow: var(--shadow-ambient-hover);
}

.pain-card {
  padding: 32px;
  width: 100%;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--on-surface);
  margin-bottom: 12px;
}

.card-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--on-surface-variant);
}

/* ---------- 選ばれる理由 ---------- */
.reasons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.reason-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 32px;
  background-color: var(--surface-lowest);
  border: 1px solid var(--surface-variant);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-ambient);
}

.reason-card__icon {
  flex-shrink: 0;
  padding: 16px;
  background-color: var(--primary-container);
  color: var(--on-primary-container);
  border-radius: var(--radius-sm);
}

.reason-card__icon .material-symbols-outlined {
  font-size: 30px;
}

/* ---------- サービス ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--surface-low);
  border: 1px solid var(--surface-variant);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-ambient);
}

.service-card__media {
  position: relative;
  width: 100%;
  height: 192px;
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(248, 250, 251, 0.2);
  mix-blend-mode: multiply;
}

.service-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 24px;
}

.service-card__text {
  flex-grow: 1;
  margin-bottom: 16px;
}

.service-list {
  border-top: 1px solid var(--outline-variant);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--on-surface-variant);
}

.service-list .material-symbols-outlined {
  font-size: 14px;
  color: var(--primary);
}

/* ---------- 代表挨拶 ---------- */
.message {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
  padding: 32px;
  background-color: var(--surface-lowest);
  border: 1px solid var(--surface-variant);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-ambient);
}

.message__photo {
  width: 100%;
  flex-shrink: 0;
}

.message__photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.message__body {
  width: 100%;
}

.message__title {
  font-size: 28px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.message__text {
  color: var(--on-surface-variant);
  line-height: 1.8;
  margin-bottom: 24px;
}

.message__sign {
  float: right;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary);
  border-top: 1px solid var(--outline-variant);
  padding-top: 16px;
  text-align: right;
}

/* ---------- 対応地域 ---------- */
.area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.area__text,
.area__map {
  width: 100%;
}

.area__lead {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 24px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.tag {
  padding: 8px 16px;
  font-size: 12px;
  border-radius: var(--radius-sm);
  background-color: rgba(248, 250, 251, 0.1);
  border: 1px solid rgba(248, 250, 251, 0.3);
}

.area__map {
  display: flex;
  justify-content: center;
}

.area__map-inner {
  width: 100%;
  max-width: 28rem;
  height: 256px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(248, 250, 251, 0.05);
  border: 1px solid rgba(248, 250, 251, 0.2);
  border-radius: var(--radius-sm);
}

.area__map-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- ご依頼の流れ ---------- */
.flow-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.flow-step {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  background-color: var(--surface-low);
  border: 1px solid var(--surface-variant);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-ambient);
}

.flow-step__num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--on-primary);
  background-color: var(--primary);
  border-radius: var(--radius-sm);
}

.flow-step__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 8px;
}

.flow-step__text {
  font-size: 13px;
  color: var(--on-surface-variant);
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--outline-variant);
}

.flow-arrow .material-symbols-outlined {
  font-size: 30px;
}

.flow-arrow--h {
  display: none;
  padding-inline: 4px;
}

.flow-arrow--v {
  padding-block: 8px;
}

.flow-arrow--v .material-symbols-outlined {
  transform: rotate(90deg);
}

/* ---------- 最終CTA ---------- */
.cta {
  padding-block: 64px;
  text-align: center;
  background-color: var(--surface);
  border-block: 1px solid var(--surface-variant);
}

.cta__inner {
  max-width: 48rem;
  margin-inline: auto;
  padding-inline: var(--margin-mobile);
}

.cta__title {
  font-size: 28px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.cta__lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--on-surface-variant);
  margin-bottom: 40px;
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 24px 40px;
  font-size: 24px;
  font-weight: 700;
  color: var(--on-secondary-container);
  background-color: var(--secondary-container);
  border: 1px solid var(--secondary-fixed-dim);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.cta__btn:hover {
  transform: translateY(-4px);
}

.cta__btn .material-symbols-outlined {
  font-size: 36px;
}

.cta__note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--on-surface-variant);
}

/* ---------- 会社概要 ---------- */
.company-table-wrap {
  max-width: 48rem;
  margin-inline: auto;
  overflow: hidden;
  background-color: var(--surface-lowest);
  border: 1px solid var(--surface-variant);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-ambient);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.company-table tr {
  border-bottom: 1px solid var(--surface-variant);
}

.company-table tr:last-child {
  border-bottom: none;
}

.company-table th {
  width: 33.333%;
  padding: 20px 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--on-surface);
  background-color: var(--surface-low);
  border-right: 1px solid var(--surface-variant);
  vertical-align: top;
}

.company-table td {
  padding: 20px 24px;
  font-size: 14px;
  color: var(--on-surface-variant);
  vertical-align: top;
}

/* ---------- フッター ---------- */
.site-footer {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 24px;
  background-color: var(--footer-bg);
}

.site-footer__name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: #fff;
}

/* =========================================================
   PC レイアウト（768px 以上）
   ========================================================= */
@media (min-width: 768px) {
  body {
    font-size: 14px;
  }

  .container {
    padding-inline: var(--margin-desktop);
  }

  .section-title,
  .message__title,
  .cta__title {
    font-size: 32px;
  }

  /* ヘッダー：800px付近でナビ・電話番号が折り返さないよう可変化 */
  .site-header__inner {
    padding-inline: clamp(24px, 3.5vw, 48px);
    gap: 12px;
  }

  .brand {
    flex-shrink: 0;
  }

  .brand__name {
    font-size: clamp(18px, 1.8vw, 24px);
    white-space: nowrap;
  }

  .nav {
    display: flex;
  }

  .nav__link {
    padding-inline: clamp(12px, 1.6vw, 24px);
    font-size: clamp(14px, 1.4vw, 16px);
    white-space: nowrap;
  }

  .header-tel {
    display: block;
    flex-shrink: 0;
    font-size: clamp(16px, 1.6vw, 20px);
    white-space: nowrap;
  }

  /* ヒーロー：PCは画像フルブリードのオーバーレイ */
  .hero {
    /* 画像アスペクト(≒16:9)に高さを追従させ、切り取りを最小化。
       狭い時はテキストが収まる高さを確保し、広い時は上限で頭の見切れを防ぐ */
    height: clamp(640px, 56.25vw, 940px);
    min-height: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
  }

  .hero__bg {
    position: absolute;
    inset: 0;
    height: auto;
  }

  .hero__bg::after {
    display: none;
  }

  .hero__bg-img {
    /* 被写体を右寄せ・やや上に固定（左のテキストと重ならず、頭も切れないよう） */
    object-position: 78% 20%;
  }

  .hero__curves {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 30%;
    margin-top: 0;
  }

  .hero__inner {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 48px 40px;
  }

  .hero__content {
    width: 50%;
    padding-top: 40px;
  }

  .hero__title {
    max-width: none;
    /* 幅に応じて縮小し、狭い時の折り返し・窮屈を防ぐ（約1333pxで48pxに到達） */
    font-size: clamp(28px, 3.6vw, 48px);
  }

  .hero__nowrap {
    /* 「困った！」を解決する を1行に固定 */
    white-space: nowrap;
  }

  .hero__badge {
    /* h1の外に出したため、従来と同じ大きさ（clamp(28px,3.6vw,48px) × 1.05）を明示指定 */
    font-size: clamp(29.4px, 3.78vw, 50.4px);
  }

  .hero__lead {
    margin-bottom: 0;
    /* 狭い幅では縮小し一文を1行に収める（約1111pxで20pxに到達） */
    font-size: clamp(16px, 1.8vw, 20px);
    line-height: 1.7;
  }

  .hero__lead-emph {
    font-size: 24px;
  }

  .stats {
    gap: 16px;
  }

  .stat-card {
    padding: 24px;
    border-bottom-width: 8px;
  }

  .stat-card__label {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .stat-card__num {
    font-size: 36px;
  }

  .stat-card__unit {
    font-size: 16px;
  }

  /* お困りごと：3カラム */
  .pain-grid {
    flex-direction: row;
  }

  .pain-card {
    width: calc(33.333% - 2rem);
  }

  /* 選ばれる理由：2カラム & 横並びカード */
  .reasons-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reason-card {
    flex-direction: row;
  }

  /* サービス：3カラム */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* 代表挨拶：横並び */
  .message {
    flex-direction: row;
    padding: 48px;
  }

  .message__photo {
    width: 33.333%;
  }

  .message__body {
    width: 66.666%;
  }

  /* 対応地域：横並び */
  .area {
    flex-direction: row;
  }

  .area__text,
  .area__map {
    width: 50%;
  }

  /* 流れ：横並び & 横矢印 */
  .flow-steps {
    flex-direction: row;
    align-items: stretch;
    /* 768pxではgap=0、幅が広がるにつれ16pxまで拡大 */
    gap: clamp(0px, calc((100vw - 768px) * 0.09), 16px);
  }

  .flow-step {
    /* 768pxでは横paddingを15pxまで縮小、幅に応じて24pxへ戻す */
    padding: 24px clamp(15px, calc(15px + (100vw - 768px) * 0.05), 24px);
  }

  .flow-arrow--h {
    display: flex;
  }

  .flow-arrow--v {
    display: none;
  }

  /* CTA ボタンを内容幅に */
  .cta__btn {
    width: auto;
  }
}
