/**************************************************
 * Foundation
 **************************************************/

html {
  /* 1rem = 10px ベース */
  font-size: 62.5%;
}

body.is-menu-open {
  overflow: hidden;
}

:root {
  /* Colors */
  --color-text-main: #093725;
  --color-bg-base: #ffffff;
  --color-bg-soft: #DBECD0;
  --color-accent-deep: #003b2e;
  --color-brand-deep: #1E4638;
  --hero-overlay-start: rgba(2, 32, 19, 0.1);
  --hero-overlay-end: rgba(1, 26, 37, 0.65);
  --layout-max-width: 112rem;
  --layout-side-padding: clamp(1.6rem, 4.8vw, 4rem);

  /* Typography */
  --font-ja-base: "BIZ UDPMincho", "Hiragino Mincho ProN",
    "Yu Mincho", "游明朝", serif;
  --font-en-script: "Playfair Display", serif;
  --font-en-display: "Playfair Display", serif;

  /* Font sizes (rem) */
  --fs-body: 1.6rem;       /* 16px：本文 */
  --fs-small: 1.4rem;      /* 14px：補足・日付など */
  --fs-button: 1.5rem;     /* 15px：ボタン */
  --fs-title-ja: 2.4rem;   /* 24px：日本語タイトル */
  --fs-title-en: 3.6rem;   /* 34px：英字タイトル */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--color-text-main);
  background-color: var(--color-bg-base);
  font-family: var(--font-ja-base);
  font-size: var(--fs-body);
  line-height: 1.8;
}

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

a {
  color: inherit;
}

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

/**************************************************
 * Layout
 **************************************************/

.l-section {
  padding: 6rem 0;
}

.l-section--soft {
  background-color: var(--color-bg-soft);
}

/**************************************************
 * Typography templates
 **************************************************/

.heading-en {
  font-family: var(--font-en-script);
  font-size: var(--fs-title-en);      /* PC時は 3.4rem */
  font-style: italic;
  letter-spacing: 0.05em;
}


.heading-ja {
  font-family: var(--font-ja-base);
  font-size: var(--fs-title-ja);
  font-weight: 600;
}

.text-body {
  font-size: var(--fs-body);
  line-height: 1.8;
}

.text-small {
  font-size: var(--fs-small);
  line-height: 1.8;
}

.text-button {
  font-size: var(--fs-button);
  font-weight: 500;
}

/**************************************************
 * Header
 **************************************************/

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  color: var(--color-brand-deep);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.08);
  transform: translateY(0);
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.site-header--prefade {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  box-shadow: none;
}

.site-header--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.site-header__inner {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 2rem var(--layout-side-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
}

.site-header__logo {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.site-header__nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.site-header__nav-link {
  text-decoration: none;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--color-brand-deep);
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.2rem;
}

.site-header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.1rem;
  background-color: var(--color-brand-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.site-header__nav-link:hover::after,
.site-header__nav-link:focus-visible::after {
  transform: scaleX(1);
}

.site-header__nav-link:hover,
.site-header__nav-link:focus-visible {
  color: var(--color-brand-deep);
}

.site-header__drawer-sns {
  display: inline-flex;
  align-items: center;
}

.site-header__sns {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 999px;
  border: 0.1rem solid rgba(16, 53, 42, 0.22);
  text-decoration: none;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.site-header__instagram:hover,
.site-header__instagram:focus-visible {
  opacity: 0.72;
  border-color: rgba(16, 53, 42, 0.4);
}

.site-header__sns-icon {
  width: 2.2rem;
  height: 2.2rem;
}
/* PCでは非表示 */
.site-header__burger {
  display: none;
}

/**************************************************
 * Hero (Home)
 **************************************************/

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 56rem;
  overflow: hidden;
  color: #ffffff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: none;
  pointer-events: none;
}

.hero__sky,
.hero__building {
  position: absolute;
  inset: 0;
  opacity: 1;
  filter: blur(0);
  transition: opacity 0.95s ease, filter 0.95s ease, transform 0.95s ease;
}

.hero__sky {
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
}

.hero__cloud {
  position: absolute;
  inset: auto;
  z-index: 2;
  top: 13vh;
  left: 0;
  width: 200%;
  height: 34vh;
  min-height: 17.6rem;
  opacity: 0.66;
  mix-blend-mode: screen;
  animation: heroCloudDrift 25s linear infinite;
  will-change: transform;
  pointer-events: none;
  display: flex;
  filter: saturate(1.08) brightness(1.14);
  transition: opacity 0.95s ease;
}

.hero__cloud::after {
  content: "";
  flex: 0 0 50%;
  background: url("img/cloud.webp") center/cover no-repeat;
}

.hero__cloud--back {
  z-index: 1;
  top: 5vh;
  left: 22vw;
  width: 170%;
  height: 26vh;
  min-height: 14rem;
  filter: saturate(1.02) brightness(1.08);
  opacity: 0.42;
}

.hero__cloud--back img,
.hero__cloud--back::after {
  transform: scaleY(-1);
  transform-origin: center;
}

.hero__cloud img {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.hero__building {
  --hero-building-shift: 0px;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transform: translate3d(0, var(--hero-building-shift), 0);
  transform-origin: center bottom;
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-content: center;
  text-align: center;
  padding: clamp(10rem, 12vw, 18rem) clamp(2rem, 6vw, 8rem);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease, transform 1s ease;
}

.hero__content--topleft {
  display: block;
  position: absolute;
  top: clamp(1.5rem, 3vh, 6.5rem);
  left: clamp(2rem, 6vw, 8rem);
  right: auto;
  bottom: auto;
  text-align: left;
  max-width: 60rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease, transform 1s ease;
}

.hero__eyebrow {
  font-size: 2.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 1.2rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.hero__tagline {
  font-family: var(--font-en-script);
  font-size: clamp(1.6rem, 1.8vw, 2.05rem);
  font-weight: 100;
  font-style: normal;
  margin: 0;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: #ffffff;
  opacity: 0.85;
  white-space: nowrap;
  transition: opacity 1s ease 0.6s;
}

.hero__tagline span {
  display: block;
}

@media (min-width: 769px) {
  .hero__tagline {
    text-align: center;
  }
}

.hero__content--topleft .hero__eyebrow,
.hero__content--topleft .hero__tagline {
  font-family: "筑紫明朝N", "Tsukushi Mincho N", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "YuMincho", serif;
  font-weight: 300;
}

.hero__content--topleft .hero__tagline span {
  display: inline;
}

.hero__tagline .is-accent {
  display: inline;
  color: #7ecf8e;
  font-style: normal;
}

@media (max-width: 768px) {
  .hero__content--topleft {
    top: clamp(4.6rem, 6.8vh, 9.6rem);
    left: clamp(1.2rem, 3.6vw, 2.4rem);
  }

  .hero__eyebrow {
    margin-bottom: 0.8rem;
  }

  .hero__eyebrow {
    white-space: normal;
  }

  .hero__tagline {
    white-space: normal;
    font-size: clamp(1rem, 3vw, 1.3rem);
    letter-spacing: 0.06em;
    text-align: center;
  }
}

.hero--bg-visible .hero__sky,
html.is-hero-intro-done .hero__sky,
body.is-hero-done .hero__sky {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.hero--bg-visible .hero__building,
html.is-hero-intro-done .hero__building,
body.is-hero-done .hero__building {
  opacity: 1;
  filter: blur(0);

}

.hero--bg-visible .hero__cloud,
html.is-hero-intro-done .hero__cloud,
body.is-hero-done .hero__cloud {
  opacity: 0.66;
}

.hero--bg-visible .hero__cloud--back,
html.is-hero-intro-done .hero__cloud--back,
body.is-hero-done .hero__cloud--back {
  opacity: 0.42;
}

.hero--text-visible .hero__content,
html.is-hero-intro-done .hero__content,
body.is-hero-done .hero__content {
  opacity: 1;
  transform: translateY(0);
}

.hero--text-visible .hero__content--topleft {
  opacity: 0;
  transform: translateY(6px);
}

.hero--bg-visible .hero__content--topleft,
html.is-hero-intro-done .hero__content--topleft,
body.is-hero-done .hero__content--topleft {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroCloudDrift {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/**************************************************
 * Copy section 
 **************************************************/
.copy {
  background-color: var(--color-bg-soft);
  padding: 6rem 0 8rem;
  position: relative;
  overflow: clip;
  --breeze-speed: 1;

  /* 波の周期（px）＝ここが“綺麗な周期”の本丸 */
  --wave-a: 520px;
  --wave-b: 460px;

  /* 波の高さ感（見た目の“うねり”） */
  --wave-height: 70%;
  --wave-top: 15%;
}

.copy__inner {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.copy__lead {
  font-family: var(--font-en-script);
  font-size: 3.2rem;
  color: var(--color-text-main);
  margin: 0 0 4rem;
  font-style: italic;
  letter-spacing: 0.05em;
}

.copy__panel {
  position: relative;
  padding: 5rem 3rem;
}

.copy__panel::before {
  content: none;
}

.copy__panel > * {
  position: relative;
  z-index: 1;
}

/* ===== スマホだけ改行するスイッチ ===== */
.br { display: none; }
@media (max-width: 768px){ .br { display: inline; } }
.sp-only { display: none; }
@media (max-width: 768px){ .sp-only { display: block; } }

/* ===== panel内を左右レイアウトにする ===== */
.copy__panel{
  display: grid;
  grid-template-columns: 1fr 1fr;     /* 左：見出し / 右：本文 */
  gap: clamp(20px, 3vw, 56px);
  align-items: start;
  text-align: left;                   /* スクショ寄せ */
}

/* 左の見出し：大きく、行間気持ちよく */
.copy__title{
  margin: 0;
  color: var(--color-text-main);
  line-height: 1.2;
  letter-spacing: 0.02em;
  font-size: clamp(36px, 4.2vw, 64px);
  text-wrap: balance;
}

/* 右本文：読みやすい行幅に絞る */
.copy__text{
  margin: 0;
  max-width: 42ch;                    /* ←読みやすさの核 */
  line-height: 2.0;
  letter-spacing: 0.02em;
  font-size: 1.8rem;
}

/* SPは縦積み + 文字サイズ調整 */
@media (max-width: 768px){
  .copy__panel{
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: left;
    padding: 3.2rem 2rem;             /* 既存より少し詰めると綺麗 */
  }

  .copy__title{
    font-size: clamp(24px, 7.4vw, 34px);
    line-height: 1.3;
  }

  .copy__text{
    max-width: 34ch;
    line-height: 2.05;
  }
}

/* キャッチコピー背景の波アニメーションは無効化 */
.copy::before,
.copy::after {
  content: none;
}

/* Text */
.copy__title {
  margin: 0 0 2.4rem;
  font-family: var(--font-ja-base);
  font-size: 2.4rem;
  font-weight: 600;
}

.copy__text { font-size: 1.6rem; line-height: 1.8; }
.copy__text--left { text-align: left; }

.copy__text--tsukushi {
  font-family: "Tsukushi Mincho", "筑紫明朝", var(--font-ja-base);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.br { display: none; }
.br--always { display: block; height: 0; }

/* =========================
   Loading
========================= */
#loading {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  background: #f7f7f4;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  pointer-events: auto;
}

#loading.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 中央コンテンツ */
.loading__inner {
  text-align: center;
}

/* 事務所名 */
.loading__text {
  margin: 0 0 1.2rem;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: #2f3a33; /* 濃すぎない */
}

/* ドット */
.loading__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.loading__dots span {
  display: block;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #2f3a33;
  opacity: 0.22;
  animation: loadingDotPulse 1.8s ease-in-out infinite;
}

/* 遅延 */
.loading__dots span:nth-child(2) {
  animation-delay: 0.24s;
}
.loading__dots span:nth-child(3) {
  animation-delay: 0.48s;
}

/* アニメーション */
@keyframes loadingDotPulse {
  0%,
  100% {
    opacity: 0.22;
    transform: translateY(0);
  }

  35% {
    opacity: 0.9;
    transform: translateY(-1px);
  }

  55% {
    opacity: 0.45;
    transform: translateY(0);
  }
}

@media (min-width: 769px) {
  .copy {
    padding: 9rem 0 10rem;
  }

  .copy__inner {
    max-width: 110rem;
    padding: 0 clamp(4rem, 8vw, 10rem);
    text-align: left;
  }

  .copy__panel {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(3.6rem, 7vw, 7.2rem);
    align-items: center;
    padding: 4.8rem 0;
  }

  .copy__panel::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 4rem;
    bottom: 4rem;
    width: 1px;
    background: rgba(15, 74, 54, 0.18);
    transform: translateX(-50%);
  }

  .copy__title {
    margin: 0;
    font-size: clamp(2.5rem, 1vw, 5.18rem);
  }

  .copy__text {
    max-width: 40ch;
  }

  .copy__text .copy__quote {
    display: block;
    font-size: 1em;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin: 0 0 1.2rem;
  }

  .copy__text .copy__quote:last-of-type {
    margin-bottom: 2.4rem;
  }

  .copy__text .copy__note {
    display: block;
    font-size: 1em;
    color: inherit;
  }
}

@media (max-width: 768px) {
  .copy__text .copy__quote {
    display: block;
    margin: 0 0 1.2rem;
  }

  .copy__text .copy__quote:last-of-type {
    margin-bottom: 2.4rem;
  }

  .copy__text .copy__note {
    display: block;
  }
}



/**************************************************
 * Note section
 **************************************************/

.note {
  background-color: #F6F8F4; /* 薄い背景（しんゆり会計専用） */
  padding: 6rem 0 0;
  position: relative;
}

.note__inner {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 4rem var(--layout-side-padding) 4.8rem;
}

.note__header {
  margin-bottom: 2.8rem;
}

.note__label {
  margin: 0 0 0.4rem;
  font-family: var(--font-en-display);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.note__lead {
  margin: 0;
  color: #2F3E37;
}

/* カード一覧（PC基本レイアウト：3列） */
.note__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.2rem;
  align-items: stretch;
}

/* NOTEカード本体 */
.note-card {
  background: #ffffff;
  border-radius: 2rem;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.05),
    0 2px 4px rgba(0, 0, 0, 0.03);
  border: 1px solid #E4ECE3;
  padding: 2.8rem 2.4rem 2.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.note-card__link {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* カード上部：日付タグ + NEWバッジ */
.note-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 0.4rem;
}

/* 日付タグ */
.note-card__date-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #E5EFE9;
  color: #1E4638;
  padding: 0.4rem 1rem;
  border-radius: 0.8rem;
  font-size: 1.2rem;
}

.note-card__date-icon {
  font-size: 1.3rem;
}

/* NEWバッジ（基本は非表示。--new が付いたときだけ表示） */
.note-card__badge {
  display: none;
  padding: 0.2rem 0.8rem;
  font-size: 1rem;
  border-radius: 0.8rem;
  font-weight: 700;
}

.note-card__badge--new {
  display: inline-block;
  background:  #003b2e;
  color: #ffffff;
}

/* タイトル */
.note-card__title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.5;
  color: #1E4638; /* 濃い緑（ブランドカラー） */
  font-family: "Noto Serif JP", var(--font-ja-base, system-ui);
  display: -webkit-box;
  -webkit-line-clamp: 2;      /* 2行まで */
  line-clamp: 2;              /* 標準プロパティ（互換性のため） */
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.note-card__title-link {
  text-decoration: none;
  display: inline-block;
}

/* リード文（説明文） */
.note-card__excerpt {
  margin: 0;
  font-size: 1.4rem;
  color: #2F3E37;
  line-height: 1.7;
  max-height: 3.4em; /* だいたい2行分 */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 続きを読むリンク */
.note-card__more {
  margin-top: auto;
  font-size: 1.3rem;
  color: #1E4638;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.note__archive {
  margin: 3.2rem 0 0;
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding: 2.4rem 0 0;
}

.note__archive-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.1rem 2.4rem;
  border-radius: 1.4rem;
  background: rgba(15, 74, 54, 0.92);
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.6;
  min-height: 4.4rem;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.note__archive-link span {
  font-size: 1.4rem;
}

.note__archive-link:hover,
.note__archive-link:focus-visible {
  background: rgba(13, 60, 44, 0.98);
  transform: translateY(-1px);
  opacity: 0.92;
}

.note__archive-link:focus-visible {
  outline: 0.2rem solid rgba(15, 74, 54, 0.4);
  outline-offset: 0.2rem;
}

/* ホバー演出（PCメイン） */
.note-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.04);
}

/* 下部の芝生（既存仕様） */
.note__grass {
  height: clamp(10rem, 12vw, 18rem);
  background-color: var(--color-bg-soft);
  background-image: url("img/kusa.webp");
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top center;
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
}

.note__grass::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1rem;
  height: clamp(4rem, 8vw, 8rem);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    #E6F2E6 100%
  );
}


/**************************************************
 * Services section
 **************************************************/

.services {
  position: relative;
  background-color: #E6F2E6;
  z-index: 2;
  margin-top: -2px;
  padding: 2rem 0 4rem;
  overflow: visible;
  box-shadow:
    0 -2px 0 #E6F2E6,
    0 2px 0 #E6F2E6;
  --wave-h: clamp(90px, 12vw, 180px);
}

.services::before,
.services::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--wave-h);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}

.services::before {
  top: 0;
  transform: translateY(calc(var(--wave-h) * -1 + 2px));
  /*
   * 右肩上がりを強めたい場合:
   * - 先頭の M0,154 の y 値を大きくする（左をさらに下げる）
   * - 終端の 1440,48 の y 値を小さくする（右をさらに上げる）
   */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'><defs><linearGradient id='svTopG1' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23BEE4B9'/><stop offset='1' stop-color='%239ECF9A'/></linearGradient><linearGradient id='svTopG2' x1='0' y1='0.15' x2='1' y2='0.95'><stop offset='0' stop-color='%23CAEBC4'/><stop offset='1' stop-color='%23A6D3A0'/></linearGradient><linearGradient id='svTopG3' x1='0.15' y1='0.05' x2='0.95' y2='0.95'><stop offset='0' stop-color='%23D7F0D0'/><stop offset='1' stop-color='%239FCE99'/></linearGradient></defs><path d='M0,154 C210,218 470,198 700,132 C940,64 1160,24 1440,48 L1440,220 L0,220 Z' fill='url(%23svTopG1)' opacity='0.55'/><path d='M0,170 C240,210 510,188 760,124 C1010,58 1230,34 1440,58 L1440,220 L0,220 Z' fill='url(%23svTopG2)' opacity='0.40'/><path d='M0,138 C220,198 500,176 740,114 C980,54 1210,18 1440,40 L1440,220 L0,220 Z' fill='url(%23svTopG3)' opacity='0.30'/><path d='M0,160 C220,226 500,204 742,132 C994,58 1220,24 1440,46 L1440,220 L0,220 Z' fill='%23E6F2E6'/><rect x='0' y='216' width='1440' height='4' fill='%23E6F2E6'/></svg>");
}

.services::after {
  bottom: 0;
  transform: translateY(calc(var(--wave-h) - 2px));
  /*
   * 右肩上がりを弱めたい場合:
   * - 先頭の M0,160 の y 値を小さくする（左を上げる）
   * - 終端の 1440,44 の y 値を大きくする（右を下げる）
   */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'><defs><linearGradient id='svBottomG1' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23C3E6BE'/><stop offset='1' stop-color='%23A3D39D'/></linearGradient><linearGradient id='svBottomG2' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23D4F0CF'/><stop offset='1' stop-color='%23A9D6A3'/></linearGradient><linearGradient id='svBottomG3' x1='0.05' y1='0.1' x2='0.95' y2='0.95'><stop offset='0' stop-color='%23BFE2BA'/><stop offset='1' stop-color='%239ED09A'/></linearGradient></defs><path d='M0,154 C210,214 470,194 702,128 C954,58 1172,20 1440,44 L1440,0 L0,0 Z' fill='url(%23svBottomG1)' opacity='0.55'/><path d='M0,170 C250,206 522,184 770,120 C1020,58 1240,30 1440,50 L1440,0 L0,0 Z' fill='url(%23svBottomG2)' opacity='0.40'/><path d='M0,136 C232,194 508,174 744,112 C984,50 1220,18 1440,40 L1440,0 L0,0 Z' fill='url(%23svBottomG3)' opacity='0.28'/><path d='M0,160 C228,226 504,202 744,128 C988,54 1220,22 1440,46 L1440,0 L0,0 Z' fill='%23E6F2E6'/><rect x='0' y='0' width='1440' height='4' fill='%23E6F2E6'/></svg>");
}

.services__inner {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 var(--layout-side-padding);
  text-align: center;
  position: relative;
  z-index: 2;
}


.services__label {
  margin: 0 0 2.4rem;
  font-family: var(--font-en-display);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.services__lead {
  margin: 0 0 4.8rem;
}

/* ★ PC 基本：横並び3つ / 折り返し2つを中央揃え */
.services__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3.2rem;
  justify-content: center; /* ここで中央揃え */
}

.service-card {
  display: block;
  background-color: #fff;
  width: 26rem;          /* 1カードの幅を固定 26rem */
  max-width: 100%;
  padding: 4rem 2rem;
  border-radius: 2rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(9, 55, 37, 0.06);
  transition:
    transform 0.32s cubic-bezier(0.25, 0.8, 0.35, 1),
    box-shadow 0.32s cubic-bezier(0.25, 0.8, 0.35, 1);
  box-shadow: 0 6px 18px rgba(9, 55, 37, 0.08);
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(9, 55, 37, 0.14);
}

.service-card:active {
  transform: scale(0.99);
}

.service-card__icon {
  width: 6rem;
  margin: 0 auto 2rem;
  transition: transform 0.32s cubic-bezier(0.25, 0.8, 0.35, 1);
}

.service-card:hover .service-card__icon,
.service-card:focus-visible .service-card__icon {
  transform: scale(1.03);
}

.service-card__title {
  margin: 0 0 1.2rem;
  font-size: 2.1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.6rem;
}

.service-card__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 60%;
  height: 0.2rem;
  background: rgba(15, 74, 54, 0.4);
  transform: translateX(-50%) scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.35, 1);
}

.service-card:hover .service-card__title::after,
.service-card:focus-visible .service-card__title::after {
  transform: translateX(-50%) scaleX(1);
}

.service-card__text {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.5;
}

.services__note {
  margin: 4rem 0 2.4rem;
  text-align: center;
  color: #21503f;
  line-height: 1.8;
  font-size: 1.4rem;
}


/**************************************************
 * Past blog page
 **************************************************/

.pastblog-body {
  background: var(--color-bg-soft);
  color: var(--color-text-main);
}

.pastblog-skip {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pastblog-skip:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.8rem 1.6rem;
  margin: 1rem;
  background: #ffffff;
  border: 0.2rem solid #0f4a36;
  border-radius: 999px;
  z-index: 10;
}

.pastblog-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}

.pastblog-header__inner {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 1.6rem var(--layout-side-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pastblog-header__logo {
  font-weight: 600;
  text-decoration: none;
  color: var(--color-brand-deep);
  letter-spacing: 0.1em;
}

.pastblog-header__toplink {
  text-decoration: none;
  color: #0f4a36;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.pastblog-main {
  padding-bottom: 6rem;
}

.pastblog-hero {
  background: linear-gradient(135deg, rgba(219, 236, 208, 0.8), rgba(255, 255, 255, 0.95));
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.pastblog-hero__inner {
  max-width: 88rem;
  margin: 0 auto;
  padding: 0 var(--layout-side-padding);
  text-align: center;
}

.pastblog-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 1.2rem;
  margin: 0 0 1rem;
}

.pastblog-hero__title {
  margin: 0 0 1.6rem;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
}

.pastblog-hero__lead {
  margin: 0 0 1.6rem;
  font-size: 1.8rem;
}

.pastblog-hero__text {
  margin: 0 auto 2.4rem;
  max-width: 60rem;
}

.pastblog-hero__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin: 0 auto 2.4rem;
  max-width: 78rem;
}

.pastblog-hero__summary-item {
  display: grid;
  gap: 0.4rem;
  padding: 1.6rem;
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.82);
  border: 0.1rem solid rgba(15, 74, 54, 0.08);
  box-shadow: 0 1rem 2rem rgba(20, 35, 28, 0.06);
}

.pastblog-hero__summary-value {
  font-size: 2rem;
  font-weight: 700;
  color: #0f4a36;
}

.pastblog-hero__summary-label {
  font-size: 1.3rem;
  color: #52645b;
}

.pastblog-yearnav {
  display: inline-flex;
  gap: 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.6rem 1.2rem;
}

.pastblog-yearnav a {
  text-decoration: none;
  color: #0f4a36;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background 0.2s ease;
}

.pastblog-yearnav a:hover,
.pastblog-yearnav a:focus-visible {
  background: rgba(15, 74, 54, 0.12);
}

.pastblog-archive {
  max-width: var(--layout-max-width);
  margin: clamp(3rem, 6vw, 6rem) auto 0;
  padding: 0 var(--layout-side-padding);
}

.pastblog-archive__head {
  margin-bottom: 2.4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.6rem;
}

.pastblog-archive__head h2 {
  margin: 0;
  font-size: 2.4rem;
}

.pastblog-archive__meta {
  margin: 0.4rem 0 0;
  color: #5a6a60;
  font-size: 1.4rem;
}

.pastblog-archive__hint {
  margin: 0;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: rgba(15, 74, 54, 0.08);
  color: #0f4a36;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.pastblog-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
  gap: 2.4rem;
}

.pastblog-article {
  background: #ffffff;
  border-radius: 2rem;
  padding: 2.4rem;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.35, 1), box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.35, 1);
}

.pastblog-article:hover,
.pastblog-article:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 2rem 3.6rem rgba(0, 0, 0, 0.08);
}

.pastblog-article__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 1rem;
  border-radius: 999px;
  background: rgba(15, 74, 54, 0.12);
  color: #0f4a36;
  font-size: 1.2rem;
  font-weight: 600;
  width: fit-content;
}

.pastblog-article__date {
  margin: 0;
  color: #5a6a60;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}

.pastblog-article__title {
  margin: 0;
  font-size: 1.9rem;
}

.pastblog-article__excerpt {
  margin: 0;
  color: #405048;
  line-height: 1.7;
}

.pastblog-article__body {
  display: grid;
  gap: 0.8rem;
  color: #405048;
  line-height: 1.7;
}

.pastblog-article__body p {
  margin: 0;
}

.pastblog-article__link {
  margin-top: auto;
  text-decoration: none;
  color: #0f4a36;
  font-weight: 600;
  letter-spacing: 0.08em;
  align-self: flex-start;
  position: relative;
}

.pastblog-article__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 0.1rem;
  background: rgba(15, 74, 54, 0.4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.pastblog-article__link:hover::after,
.pastblog-article__link:focus-visible::after {
  transform: scaleX(1);
}

.pastblog-articles--horizontal {
  display: flex;
  gap: 1.8rem;
  overflow-x: auto;
  padding: 0.4rem 0.2rem 1rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 74, 54, 0.28) transparent;
}

.pastblog-articles--horizontal::-webkit-scrollbar {
  height: 0.6rem;
}

.pastblog-articles--horizontal::-webkit-scrollbar-thumb {
  background: rgba(15, 74, 54, 0.24);
  border-radius: 999px;
}

.pastblog-articles--horizontal .pastblog-article {
  flex: 0 0 clamp(24rem, 28vw, 31rem);
  margin: 0;
  padding: 0;
  min-height: 24.8rem;
  max-height: 24.8rem;
  border-radius: 1.8rem;
  border: 0.1rem solid rgba(15, 74, 54, 0.08);
  background: #ffffff;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.05);
  scroll-snap-align: start;
  overflow: hidden;
}

.pastblog-articles--horizontal .pastblog-article:hover,
.pastblog-articles--horizontal .pastblog-article:focus-within {
  transform: none;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.05);
}

.pastblog-article--thumbnail .pastblog-article__trigger {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: transparent;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  text-align: left;
  cursor: pointer;
  color: inherit;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.pastblog-article--thumbnail .pastblog-article__trigger:hover,
.pastblog-article--thumbnail .pastblog-article__trigger:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 1.6rem 2.6rem rgba(0, 0, 0, 0.08);
}

.pastblog-article--thumbnail .pastblog-article__trigger:focus-visible {
  outline: 0.2rem solid rgba(15, 74, 54, 0.35);
  outline-offset: -0.2rem;
}

.pastblog-article--thumbnail .pastblog-article__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 5.6rem;
  font-size: 1.8rem;
}

.pastblog-article--thumbnail .pastblog-article__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  color: #405048;
  line-height: 1.7;
  min-height: 7.2rem;
}

.pastblog-article__more {
  margin-top: auto;
  color: #0f4a36;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.is-modal-open {
  overflow: hidden;
}

.pastblog-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(1.6rem, 4vw, 3.2rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 1200;
}

.pastblog-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.pastblog-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.pastblog-modal__dialog {
  position: relative;
  width: min(72rem, 100%);
  max-height: min(84vh, 78rem);
  overflow-y: auto;
  background: #fdfdfb;
  border-radius: 1.8rem;
  border: 0.1rem solid rgba(15, 74, 54, 0.14);
  box-shadow: 0 2.2rem 4rem rgba(20, 35, 28, 0.18);
  padding: clamp(2.4rem, 4vw, 3.2rem);
}

.pastblog-modal__close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 3.2rem;
  height: 3.2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 74, 54, 0.08);
  color: #0f4a36;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.pastblog-modal__date {
  margin: 0 0 0.4rem;
  color: #5a6a60;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}

.pastblog-modal__title {
  margin: 0;
  padding-right: 3.8rem;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.45;
}

.pastblog-modal__body {
  margin-top: 1.6rem;
  color: #33433b;
  line-height: 1.85;
  display: grid;
  gap: 0.9rem;
}

.pastblog-modal__body p {
  margin: 0;
}

.pastblog-cta {
  max-width: 60rem;
  margin: clamp(4rem, 8vw, 6rem) auto 0;
  text-align: center;
  padding: 3rem 2rem;
}

.pastblog-cta p {
  margin: 0 0 1.6rem;
  color: #405048;
}

.pastblog-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.2rem 2.4rem;
  border-radius: 999px;
  border: 0.1rem solid rgba(15, 74, 54, 0.3);
  text-decoration: none;
  color: #0f4a36;
  font-weight: 600;
}

.pastblog-footer {
  text-align: center;
  padding: 2.4rem 1.6rem 3.6rem;
  color: #405048;
  font-size: 1.3rem;
}
/* ボタン（共通） */
.button-primary,
.about__button,
.info__button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  position: relative;
  padding: 1.3rem 3.6rem;
  border-radius: 999px;
  background: #0f4a36;
  border: 0.1rem solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow:
    0 12px 28px rgba(5, 24, 19, 0.25),
    0 3px 8px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button-primary::after,
.about__button::after,
.info__button::after {
  content: "＞";
  font-size: 1.3rem;
  transform: translateX(0);
  transition: transform 0.2s ease;
}

.button-primary:hover,
.about__button:hover,
.info__button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 32px rgba(5, 24, 19, 0.28),
    0 6px 12px rgba(0, 0, 0, 0.14);
  background: #0d3c2c;
}

.button-primary:hover::after,
.about__button:hover::after,
.info__button:hover::after {
  transform: translateX(0.4rem);
}

.button-primary:active,
.about__button:active,
.info__button:active {
  transform: translateY(0);
  box-shadow:
    0 10px 20px rgba(5, 24, 19, 0.24),
    0 3px 6px rgba(0, 0, 0, 0.12);
}

.button-primary:focus-visible,
.about__button:focus-visible,
.info__button:focus-visible {
  outline: none;
  box-shadow:
    0 18px 32px rgba(5, 24, 19, 0.28),
    0 0 0 0.2rem rgba(9, 55, 37, 0.4);
}

.button-primary {
  margin-top: 2rem;
}

/* 右下の銅像画像 */
.services__statue {
  position: absolute;
  right: clamp(1.6rem, 6vw, 8rem);
  bottom: 0;
  width: 20rem;
  pointer-events: none;
}

/**************************************************
 * Branch divider
 **************************************************/

.branch-divider {
  position: relative;
  height: 0;
  z-index: 3;
}

.branch-divider__image {
  position: absolute;
  left: 0;
  top: -30rem;
  width: clamp(14rem, 22vw, 34rem);
  height: auto;
  display: block;
  pointer-events: none;
}

/**************************************************
 * About section
 **************************************************/

.about {
  position: relative;
  width: 100%;
  margin: 0;
  padding: clamp(6rem, 10vw, 10rem) 0;
  z-index: 1;
  background-image:
    linear-gradient(
      to right,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.97) 30%,
      rgba(255, 255, 255, 0.92) 55%,
      rgba(255, 255, 255, 0.70) 75%,
      rgba(255, 255, 255, 0.45) 100%
    ),
    url("img/office.webp");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.about__overlay {
  width: 100%;
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 var(--layout-side-padding);
}

.about__inner {
  max-width: 70rem;
  padding: 4.8rem 4rem;
  position: relative;
  z-index: 6;
}

.about__label {
  margin: 0 0 2.4rem;
}

.about__intro {
  margin: 0 0 1.6rem;
  font-size: clamp(1.6rem, 1.4vw, 1.8rem);
  letter-spacing: 0.08em;
}

.about__message {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
  margin-bottom: 2.4rem;
}

.about__message-line {
  width: 0.3rem;
  background-color: var(--color-text-main);
  border-radius: 0.2rem;
  flex-shrink: 0;
}

.about__values {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 68rem;
  text-align: left;
}

.about__values-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2rem;
}

.about__values-list li {
  margin: 0;
  position: relative;
  padding-left: 0;
  font-size: clamp(1.9rem, 2.1vw, 2.4rem);
  line-height: 1.7;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-break: strict;
}

.br-sp {
  display: none;
}

.br-pc {
  display: inline;
}

@media (max-width: 768px) {
  .br-sp {
    display: inline;
  }

  .br-pc {
    display: none;
  }

  .about__values {
    max-width: 100%;
  }

  .about__values-list {
    gap: 1.6rem;
  }

  .about__values-list li {
    line-height: 1.8;
  }
}

.about__text {
  margin: 0 0 3.2rem;
  font-size: clamp(1.5rem, 1.4vw, 1.7rem);
  line-height: 2;
  letter-spacing: 0.04em;
}

/**************************************************
 * Info section
 **************************************************/

.info {
  background-color: #eff5ef;
  padding: 8rem 0 6rem;
}

.info__inner {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 var(--layout-side-padding);
  display: grid;
  gap: 2.4rem;
  align-items: stretch;
}

.info__media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: stretch;
}

.info__box {
  padding: 2.4rem 1.6rem 3.2rem;
  background-color: transparent;
  background-image: url("img/logo_girl.webp");
  background-repeat: no-repeat;
  background-position: right 2.4rem bottom 0.6rem;
  background-size: clamp(18rem, 38vw, 34rem);
  border-radius: 0;
  box-shadow: none;
  position: relative;
}

.info__text {
  line-height: 1.9;
}

.info__title {
  margin: 0 0 2rem;
}

.info__text {
  margin: 0 0 3.2rem;
}

/* マップ */
.info__map {
  border-radius: 2.4rem;
  overflow: hidden;
  box-shadow: 0 2rem 3.6rem rgba(9, 55, 37, 0.08);
  min-height: 32rem;
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
}

.info__streetview {
  border-radius: 2.4rem;
  overflow: hidden;
  box-shadow: 0 2rem 3.6rem rgba(9, 55, 37, 0.08);
  min-height: 32rem;
}

.info__map iframe {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.info__map-caption {
  margin: 0;
  padding: 0.8rem 1.2rem 1rem;
  font-size: 1.3rem;
  color: #4a5b52;
  background: #ffffff;
}

.info__streetview iframe {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/**************************************************
 * Profile & Contact
 **************************************************/

.profile {
  padding: 6rem 0;
}

.profile__inner {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 var(--layout-side-padding);
}

.profile__title {
  margin: 0 0 2rem;
}

.profile__text {
  margin: 0;
}

.contact-page-main {
  padding-top: clamp(9.6rem, 12vw, 13rem);
  background: linear-gradient(180deg, #f8fbf8 0%, #ffffff 38%);
}

.contact-page-header {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(2.4rem, 4vw, 3.6rem);
}

.contact-page-header__inner,
.contact-form-section__inner {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 var(--layout-side-padding);
}

.contact-page-header__title {
  margin: 0 0 1.6rem;
  font-size: clamp(3.2rem, 5vw, 4.2rem);
  color: var(--color-brand-deep);
}

.contact-page-header__intro {
  margin: 0;
  letter-spacing: 0.02em;
}

.contact-form-section {
  padding: 0 0 clamp(8rem, 12vw, 12rem);
}

.contact-form {
  max-width: 74rem;
  margin: 2.4rem auto 0;
  padding: clamp(2.4rem, 4.4vw, 4rem);
  border-radius: 2.4rem;
  background-color: rgba(255, 255, 255, 0.92);
  border: 0.1rem solid rgba(30, 70, 56, 0.14);
  box-shadow: 0 2rem 4rem rgba(10, 42, 32, 0.08);
}

.contact-form-section__lead {
  margin: 0;
}

.contact-form__group {
  margin-bottom: 2.2rem;
}

.contact-form__label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.form-required {
  display: inline-block;
  padding: 0.1rem 0.7rem;
  border-radius: 999px;
  background: rgba(30, 70, 56, 0.12);
  color: var(--color-brand-deep);
  font-size: 1.2rem;
  line-height: 1.5;
}

.contact-form__field {
  width: 100%;
  border: 0.1rem solid rgba(30, 70, 56, 0.28);
  border-radius: 1.2rem;
  background-color: #fff;
  padding: 1.2rem 1.4rem;
  font: inherit;
  line-height: 1.7;
  color: var(--color-text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form__field--textarea {
  resize: vertical;
  min-height: 14rem;
}

.contact-form__field:focus-visible {
  outline: none;
  border-color: var(--color-brand-deep);
  box-shadow: 0 0 0 0.25rem rgba(30, 70, 56, 0.16);
}

.contact-form__error {
  min-height: 1.8rem;
  margin: 0.6rem 0 0;
  font-size: 1.2rem;
  color: #9b3636;
}

.contact-form__actions {
  padding-top: 1.2rem;
}

.contact-form__submit {
  border: none;
  cursor: pointer;
}

/**************************************************
 * Footer
 **************************************************/

.site-footer {
  background-color: var(--color-bg-soft);
  padding: 2rem 0;
}

.site-footer__inner {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 var(--layout-side-padding);
}

.site-footer__copy {
  margin: 0;
  font-size: 1.2rem;
}
/**************************************************
 * Responsive
 **************************************************/
@media (max-width: 60rem) { /* 600px以下：スマホ */

  .site-header {
    z-index: 1300;
  }

  /* ヘッダー縦並び */
  .site-header__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 1.6rem;
  }

  .site-header__logo {
    font-size: 1.3rem;
    letter-spacing: 0.06em;
  }

  /* ハンバーガーボタン */
  .site-header__burger {
    position: relative;
    z-index: 1302;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.4rem;
    height: 4.4rem;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 999px;
    color: var(--color-brand-deep);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .site-header__burger:focus-visible {
    outline: 0.2rem solid rgba(14, 67, 50, 0.45);
    outline-offset: 0.2rem;
  }

  .site-header__burger span {
    position: absolute;
    width: 2.4rem;
    height: 0.2rem;
    background-color: currentColor;
    border-radius: 999px;
    transform-origin: center;
    transition: transform 0.28s ease, opacity 0.2s ease;
  }

  .site-header__burger span:nth-child(1) {
    transform: translateY(-0.72rem);
  }

  .site-header__burger span:nth-child(2) {
    transform: translateY(0);
  }

  .site-header__burger span:nth-child(3) {
    transform: translateY(0.72rem);
  }

  /* active状態（クロスになる） */
  .site-header__burger.active span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
  }

  .site-header__burger.active span:nth-child(2) {
    opacity: 0;
    transform: translateY(0) scaleX(0.65);
  }

  .site-header__burger.active span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
  }

  /* ドロワーメニュー本体 */
  .site-header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(88vw, 33rem);
    height: 100dvh;
    padding: 10.8rem 2.4rem 4rem;
    background-color: #fbfdfb;
    box-shadow: -1.6rem 0 3.8rem rgba(11, 36, 24, 0.14);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transform: translateX(102%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.22s ease, visibility 0.22s ease;
    z-index: 1301;
    overflow-y: auto;
  }

  .site-header__nav.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* ナビのリスト縦並び */
  .site-header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
  }

  .site-header__nav-link {
    display: inline-block;
    padding: 0.6rem 0;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.6;
  }

  .site-header__drawer-sns {
    width: 100%;
    margin-top: 3.2rem;
    padding-top: 2.4rem;
    justify-content: center;
    border-top: 0.1rem solid rgba(16, 53, 42, 0.14);
  }

  .site-header__drawer-sns .site-header__sns {
    width: 3.8rem;
    height: 3.8rem;
  }

  .site-header__drawer-sns .site-header__sns-icon {
    width: 2.6rem;
    height: 2.6rem;
  }

  /* オーバーレイ（背景暗くなる） */
  .site-header__overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 35, 24, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1299;
  }

  .site-header__overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .contact-page-main {
    padding-top: 8.4rem;
  }

  .contact-page-header {
    padding-top: 3.2rem;
  }

  .contact-form {
    border-radius: 1.8rem;
    padding: 2.2rem 1.6rem;
  }

  .contact-form__group {
    margin-bottom: 2rem;
  }

  /* =========================
   * note：1列レイアウト（スマホ）
   * ======================= */

  .note__inner {
    padding: 3.2rem 1.6rem 4rem;
  }

  .note__list {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .note-card {
    padding: 2rem 1.6rem 2.8rem;
    border-radius: 1.6rem;
  }

  .note-card__title {
    font-size: 1.8rem;
  }

  .note-card__excerpt {
    font-size: 1.3rem;
  }

  .note-card__more {
    font-size: 1.2rem;
  }

  .note__grass {
    background-size: cover;
    background-position: center bottom;
    width: 100%;
    left: 0;
    transform: none;
  }
  .note__archive {
    justify-content: center;
    padding: 2.4rem 0 0;
  }

  .note__archive-link {
    width: 100%;
    line-height: 1.7;
    padding: 1.4rem 2.4rem;
  }

  /* services：カードは2列・中央寄せ */
  .services__grid {
    gap: 1.6rem;
  }

  .service-card {
    flex: 0 1 calc(50% - 1.6rem); /* 2列になるように幅調整 */
    width: auto;
    max-width: none;
    padding: 1rem 0.5rem;          /* スマホ時は少しコンパクトに */
  }

  /* 銅像のサイズ＆位置（右下寄せ） */
  .services__statue {
    width: 14rem;
    right: 0;
    bottom: -2rem;
  }

  .branch-divider {
    display: none;
  }

  .pastblog-header__inner {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

  .pastblog-hero__inner {
    text-align: left;
  }

  .pastblog-hero__summary {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pastblog-hero__summary-item {
    padding: 1.4rem;
  }

  .pastblog-yearnav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0.8rem;
    gap: 0.8rem;
    scroll-snap-type: x proximity;
  }

  .pastblog-yearnav a {
    flex: 0 0 auto;
    min-width: 7.2rem;
    text-align: center;
    padding: 0.9rem 1.2rem;
    scroll-snap-align: start;
  }

  .pastblog-archive__head {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 1.6rem;
  }

  .pastblog-archive__hint {
    white-space: normal;
  }

  .pastblog-articles {
    grid-template-columns: 1fr;
  }

  .pastblog-article {
    padding: 2rem 1.6rem;
  }

  .pastblog-articles--horizontal {
    gap: 1.2rem;
    padding: 0 0.4rem 1rem;
    margin: 0 -0.4rem;
    scroll-padding-left: 0.4rem;
  }

  .pastblog-articles--horizontal .pastblog-article {
    flex-basis: min(88vw, 28rem);
    min-height: 22.8rem;
    max-height: none;
  }

  .pastblog-article--thumbnail .pastblog-article__trigger {
    padding: 1.8rem 1.6rem;
  }

  .pastblog-article--thumbnail .pastblog-article__title {
    min-height: auto;
    font-size: 1.7rem;
  }

  .pastblog-article--thumbnail .pastblog-article__excerpt {
    min-height: auto;
    -webkit-line-clamp: 4;
  }

  .pastblog-modal__dialog {
    max-height: 88vh;
    border-radius: 1.4rem;
  }

  .pastblog-cta {
    padding: 2.4rem 1.6rem;
  }

  /* About：スマホは背景画像＋白レイヤーで薄く表示 */
  .about {
    position: relative;
    height: auto;
    background-image: url("img/office.webp");  
    background-size: cover;
    background-position: left -90px center;
    background-repeat: no-repeat;
  }

  /* 背景写真を薄くするレイヤー（SP限定） */
  .about::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1;
  }

  /* テキストはレイヤーより前面へ */
  .about__overlay,
  .about__inner {
    position: relative;
    z-index: 2;
  }

  .about__inner {
    width: 100%;
    max-width: none;
    padding: 3.2rem 2rem 4rem;
  }

  .about__intro {
    font-size: 1.5rem;
    letter-spacing: 0.06em;
  }

  .about__message {
    gap: 1.2rem;
  }

  .about__values-list {
    gap: 0.8rem;
  }

  .about__values-list li {
    font-size: 1.8rem;
    line-height: 1.65;
  }

  .about__break {
    display: block;
  }

  .about__text {
    font-size: 1.5rem;
    line-height: 2.05;
  }

  /* Info：1カラム＋カード間余白 */
  .info__inner {
    grid-template-columns: 1fr;
    padding: 0;
    position: relative;
    z-index: 1;
  }

  .info__media {
    grid-template-columns: 1fr;
  }

  .info {
    position: relative;
    padding-bottom: 0;
  }

  .info::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: clamp(20rem, 52vw, 32rem);
    height: clamp(20rem, 52vw, 32rem);
    background-image: url("img/logo_girl.webp");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
  }

  .info__box {
    padding: 3.2rem 2.4rem 6rem;
    background-image: none;
    background-origin: border-box;
    background-clip: border-box;
    background-size: clamp(14rem, 42vw, 26rem);
  }

  .info__map {
    min-height: 26rem;
  }

  .info__streetview {
    min-height: 22rem;
  }


  /* ヒーロー調整 */
  .hero {
    min-height: 48rem;
    height: 72vh;
  }

  .hero__cloud {
    top: 11vh;
    height: 40vh;
    min-height: 20rem;
  }

  .hero__cloud--back {
    top: 4vh;
    left: 18vw;
    height: 32vh;
    min-height: 16rem;
  }

  .hero--bg-visible .hero__cloud,
  html.is-hero-intro-done .hero__cloud,
  body.is-hero-done .hero__cloud {
    opacity: 0.54;
  }

  .hero--bg-visible .hero__cloud--back,
  html.is-hero-intro-done .hero__cloud--back,
  body.is-hero-done .hero__cloud--back {
    opacity: 0.34;
  }

  .hero__content {
    padding: 10rem 1.6rem;
  }

  .hero__eyebrow {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
  }

  .hero__tagline {
    font-size: 1rem;
    line-height: 1.35;
  }

  .hero__sky,
  .hero__building {
    object-position: center;
  }

  .hero--bg-visible .hero__building,
  html.is-hero-intro-done .hero__building,
  body.is-hero-done .hero__building {
    --hero-building-scale: 1.01;
  }

  /* Copy セクション（キャッチコピー） */
  .copy {
    padding: 4rem 0 5rem;
  }

  .copy__inner {
    padding: 0 1.6rem;
  }

  .copy__lead {
    font-size: 2.4rem;
    line-height: 1.4;
    margin-bottom: 2.8rem;
  }

  .copy__panel {
    padding: 3.2rem 2.4rem 3.6rem;
  }

  .copy__title {
    font-size: 2.0rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

.copy__text {
  font-size: 1.5rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .br-sp {
    display: inline;
  }

  .br-pc {
    display: none;
  }
}

body.is-menu-open {
  overflow: hidden;
}

.br {
  display: block;
  height: 0;
}

/* 英語タイトル共通（note / services / About など） */
.heading-en {
  font-size: 2.4rem;
  line-height: 1.3;
}

}


/**************************************************
 * Scroll reveal motion
 **************************************************/
.scroll-reveal {
  opacity: 0;
  transform: translateY(2.4rem);
  filter: blur(0.6rem);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    filter 0.9s ease var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.note-card.scroll-reveal {
  transform: translateY(2.6rem) scale(0.985);
}

.note-card.scroll-reveal.is-visible {
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .hero__sky,
  .hero__cloud,
  .hero__building,
  .hero__content {
    transition: none !important;
  }

  .hero__cloud {
    animation: none !important;
    transform: none !important;
  }

  .hero__building {
    --hero-building-shift: 0px !important;
  }

  .service-card,
  .service-card__icon,
  .service-card__title::after,
  .pastblog-article,
  .pastblog-article__link::after,
  .scroll-reveal {
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }

}
