/*
  Plus+One コーポレートサイト
  役割：色・余白・文字サイズ・レスポンシブ表示など、見た目を整えるCSSファイルです。
  初心者の方が編集しやすいよう、セクションごとにコメントを分けています。
*/

/* よく使う色やサイズをまとめて管理します。 */
:root {
  --color-navy: #1B2A4E;
  --color-gold: #B8965A;
  --color-white: #FFFFFF;
  --color-off-white: #FBFAF7;
  --color-text: #1A1A1A;
  --color-subtext: #6B7280;
  --color-border: #E5E5E5;

  --font-heading: "Noto Serif JP", serif;
  --font-body: "Noto Sans JP", system-ui, sans-serif;
  --font-accent: "Inter", "Noto Sans JP", system-ui, sans-serif;

  --header-height: 82px;
  --section-space: 112px;
  --container-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 2;
  background: var(--color-white);
}

body.nav-open {
  overflow: hidden;
}

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

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

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

p {
  margin-bottom: 1em;
}

ul {
  margin: 0;
  padding-left: 1.2em;
}

li {
  margin-bottom: 6px;
}

.container {
  width: min(100% - 40px, var(--container-width));
  margin: 0 auto;
}

.section {
  padding: var(--section-space) 0;
}

.section-soft {
  background: var(--color-off-white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-label,
.eyebrow {
  margin-bottom: 18px;
  color: var(--color-gold);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* 修正：英語タグライン下に短いゴールド線を表示 */
.eyebrow::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 14px;
  background: var(--color-gold);
}

h1,
h2,
h3,
h4 {
  color: var(--color-navy);
  line-height: 1.45;
}

h1 {
  margin-bottom: 28px;
  font-family: var(--font-heading);
  font-size: 58px;
  font-weight: 700;
  letter-spacing: 0;
}

h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
}

h2 {
  margin-bottom: 24px;
  font-size: 40px;
}

h3 {
  margin-bottom: 16px;
  font-size: 24px;
}

h4 {
  margin-bottom: 12px;
  font-size: 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ヘッダー */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(229, 229, 229, 0.85);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(27, 42, 78, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, 1180px);
  min-height: var(--header-height);
  margin: 0 auto;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--color-navy);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

/* 修正：ロゴテキストは将来のロゴ画像に合わせてサンセリフに統一 */
.logo-text {
  font-family: var(--font-accent);
  font-weight: 700;
}

.logo-plus {
  color: var(--color-gold);
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  width: 100%;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 700;
}

.nav-list a {
  transition: color 0.2s ease;
}

.nav-list a:hover {
  color: var(--color-gold);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  cursor: pointer;
}

.menu-line {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--color-navy);
}

/* ボタン */
.button-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.button-row-center {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 30px;
  border: 1px solid var(--color-navy);
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button-primary {
  color: var(--color-white);
  background: var(--color-navy);
}

.button-primary:hover {
  background: #111D36;
  border-color: #111D36;
  box-shadow: 0 10px 22px rgba(27, 42, 78, 0.16);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--color-navy);
  background: var(--color-white);
}

.button-secondary:hover {
  color: var(--color-white);
  background: var(--color-navy);
  transform: translateY(-1px);
}

.button-small {
  min-height: 42px;
  padding: 8px 16px;
  font-size: 13px;
}

/* Hero */
.hero {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: calc(92vh - var(--header-height));
  border-bottom: 1px solid var(--color-border);
}

/* 修正：FV背景 右側に鳥居と山を超薄く表示 */
.hero::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 62%;
  height: 78%;
  pointer-events: none;
  background-image: url("images/hero-bg-torii.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: cover;
  /* 修正：鳥居画像自体が淡いため、CSS側では透明にしすぎない */
  opacity: 1;
  filter: blur(1px) grayscale(100%) contrast(1.08);
}

.hero-inner {
  position: relative;
  z-index: 1;
  /* 修正：FVだけ右寄りに見えないよう、他セクションと同じ幅に揃える */
  max-width: var(--container-width);
  padding-top: 74px;
  padding-bottom: 86px;
}

.hero h1,
.hero-sub,
.hero-lead {
  max-width: 720px;
}

.hero-sub {
  margin-bottom: 12px;
  color: var(--color-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
}

.hero-lead {
  max-width: 700px;
  margin-bottom: 40px;
  color: var(--color-subtext);
  font-size: 18px;
}

/* About */
.about-layout {
  display: flex;
  gap: 68px;
  align-items: flex-start;
}

.about-text {
  flex: 1 1 58%;
}

/* 修正：About冒頭リード */
.about-intro {
  margin-bottom: 32px;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
}

.wordplay-box {
  margin: 34px 0;
  padding: 24px 28px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-navy);
  background: var(--color-white);
}

.wordplay-box p:last-child {
  margin-bottom: 0;
}

.profile-box {
  flex: 1 1 42%;
  padding: 36px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
}

.profile-photo {
  display: block;
  width: 180px;
  height: 180px;
  margin-bottom: 28px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-off-white);
}

.profile-name {
  margin-bottom: 4px;
  color: var(--color-navy);
  font-weight: 700;
}

.profile-title {
  margin-bottom: 22px;
  color: var(--color-gold);
  font-size: 14px;
  font-weight: 700;
}

/* Service */
.service-list {
  display: flex;
  gap: 28px;
}

.service-card {
  flex: 1;
  min-width: 0;
  padding: 36px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
}

/* 修正：数字系はロゴと同じサンセリフに統一 */
.card-number,
.stat-number,
.flow-number {
  font-family: var(--font-accent);
  font-weight: 700;
}

.card-number {
  margin-bottom: 18px;
  color: var(--color-gold);
  font-size: 22px;
}

/* Strengths */
.strength-block {
  padding: 56px 0;
  border-top: 1px solid var(--color-border);
}

.strength-block:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.stats-list {
  display: flex;
  gap: 28px;
  margin-top: 32px;
}

.stat-item {
  flex: 1;
  padding: 34px 22px;
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
}

.stat-number {
  margin-bottom: 8px;
  color: var(--color-navy);
  font-size: 42px;
  line-height: 1.2;
}

.note {
  color: var(--color-subtext);
  font-size: 14px;
}

/* 修正：広告成約率の補足テキスト */
.ad-result {
  max-width: 640px;
  margin: 32px auto 0;
  padding: 18px 24px;
  color: var(--color-navy);
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
  font-weight: 700;
}

.reason-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.reason-item {
  padding: 34px 0;
  border-top: 1px solid var(--color-border);
}

.reason-item:first-child {
  border-top: 0;
}

/* Results */
.results-block {
  padding: 46px 0;
  border-top: 1px solid var(--color-border);
}

.results-block:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.results-two-column,
.results-grid {
  display: grid;
  gap: 24px;
}

.results-two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.results-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.result-card {
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
}

.result-card h4 {
  font-size: 19px;
}

.result-card-title {
  color: var(--color-navy);
  font-weight: 700;
}

.result-card p:last-child,
.result-card ul:last-child {
  margin-bottom: 0;
}

/* 修正：支援業種タグ */
.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.industry-tags span {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  color: var(--color-navy);
  font-size: 13px;
  line-height: 1.6;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  background: var(--color-white);
}

/* Flow */
.flow-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.flow-item {
  display: flex;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
}

.flow-number {
  flex: 0 0 auto;
  color: var(--color-gold);
  font-size: 24px;
  line-height: 1.4;
}

.flow-item h3 {
  margin-bottom: 6px;
  font-size: 21px;
}

.flow-item p:last-child {
  margin-bottom: 0;
}

/* Contact */
.contact-section {
  text-align: center;
}

.contact-inner {
  max-width: 860px;
}

.contact-text {
  margin: 32px 0 38px;
}

.business-hours {
  margin-top: 28px;
  margin-bottom: 6px;
  color: var(--color-navy);
  font-weight: 700;
}

/* Footer */
.site-footer {
  padding: 64px 0 40px;
  color: var(--color-white);
  background: var(--color-navy);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-logo {
  color: var(--color-white);
}

.footer-copy,
.footer-info p {
  margin-bottom: 8px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-nav a:hover {
  color: var(--color-gold);
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* タブレット向け：768px〜1023px */
@media (max-width: 1023px) {
  :root {
    --section-space: 80px;
  }

  .header-inner {
    gap: 16px;
  }

  .global-nav {
    gap: 16px;
  }

  .nav-list {
    gap: 14px;
    font-size: 13px;
  }

  .about-layout,
  .service-list,
  .stats-list {
    gap: 20px;
  }

  .profile-box,
  .service-card {
    padding: 28px;
  }
}

/* スマホ向け：767px以下 */
@media (max-width: 767px) {
  :root {
    --header-height: 68px;
    --section-space: 64px;
  }

  body {
    font-size: 15px;
  }

  .container {
    width: min(100% - 28px, var(--container-width));
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .site-logo {
    font-size: 23px;
  }

  .menu-button {
    display: block;
  }

  .global-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: 28px 20px 34px;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 16px 26px rgba(27, 42, 78, 0.08);
  }

  .global-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    font-size: 16px;
  }

  .header-cta {
    flex-wrap: wrap;
  }

  .header-cta .button {
    flex: 1;
  }

  .hero {
    min-height: auto;
  }

  /* 修正：スマホではFV背景画像を非表示 */
  .hero::before {
    display: none;
  }

  .hero-inner {
    padding-top: 52px;
    padding-bottom: 58px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-sub,
  .hero-lead {
    font-size: 16px;
  }

  .button-row,
  .button-row-center {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .about-layout,
  .service-list,
  .stats-list {
    flex-direction: column;
  }

  .results-two-column,
  .results-grid {
    grid-template-columns: 1fr;
  }

  .profile-box,
  .service-card,
  .result-card,
  .flow-item {
    padding: 24px;
  }

  .profile-photo {
    width: 150px;
    height: 150px;
  }

  .stat-item {
    padding: 24px 16px;
  }

  .stat-number {
    font-size: 34px;
  }

  .flow-item {
    gap: 16px;
  }
}

/* とても狭い画面でも文字がはみ出しにくいようにします。 */
@media (max-width: 420px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .flow-item {
    flex-direction: column;
  }
}
