@charset "UTF-8";

/* =====================================================
   オハナホーム 共通スタイル
   ・フェーズ1：静的レイアウト（演出なし）
   ・ブレークポイント：1140px／840px／540px（すべて max-width）
   ・クローン元（kids-house.co.jp）の実測値。本件で決めた値はコメントで明記
   ===================================================== */

/* ===== 色・フォント（CSS変数） ===== */
:root {
  --color-text: #4b3c2e;
  --color-text-sub: #8a7663;
  --color-base: #ffffff;
  --color-sub: #f4f0ec;
  --color-sub-deep: #e9e1d7; /* 本件で決めた値：About の色の板（サブ色を少し濃くした） */
  --color-accent: #b98d58;
  --color-accent-dark: #946b3e;
  --color-green: #66795f;
  --color-line: #e3d8cb;
  --color-overlay: rgba(75, 60, 46, 0.5);
  --color-leaf-green: #93a38b;
  --color-leaf-terra: #c38b72;
  --color-sample: #a89a8c;
  --font-jp: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --font-en: "Sora", "Helvetica Neue", Arial, sans-serif;
  --font-copy: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --ease: cubic-bezier(0.4, 0.4, 0, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
li,
dl,
dt,
dd,
table,
th,
td,
figure {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

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

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

table {
  border-collapse: collapse;
}

/* ===== 基本 ===== */
body {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.02em;
  color: var(--color-text);
  background: var(--color-base);
  overflow-x: hidden;
}

@media (max-width: 540px) {
  body {
    font-size: 15px;
    line-height: 2.1;
  }
}

/* すべての要素に既定の変化（クローン元の既定値） */
a,
button,
.btn,
.btn__arrow,
.wcard,
.wcard__icon img,
.list-card,
.list-card__photo img {
  transition: all 0.3s var(--ease);
}

.inner {
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
  padding: 0 56px;
}

@media (max-width: 1140px) {
  .inner {
    padding: 0 40px;
  }
}

@media (max-width: 540px) {
  .inner {
    padding: 0 16px;
  }
}

.u-sp {
  display: none;
}

@media (max-width: 540px) {
  .u-pc {
    display: none;
  }

  .u-sp {
    display: inline;
  }
}

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

/* ===== イラスト（共通の置き方。位置は各ページのCSS） ===== */
.il {
  position: absolute;
  z-index: 1;
  height: auto;
  max-width: none;
  pointer-events: none;
}

/* ===== 地の質感：紙のざらつき ===== */
.u-texture {
  position: relative;
  isolation: isolate;
}

.u-texture::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/common/texture_paper.webp") center / cover no-repeat;
  mix-blend-mode: soft-light;
  opacity: 0.5;
  pointer-events: none;
}

/* ===== 地の質感：白のドット柄 ===== */
.u-dots {
  position: relative;
  isolation: isolate;
}

.u-dots::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(
    circle,
    var(--dots-color, #ffffff) 17%,
    transparent 18%
  );
  background-size: 1vw 1vw;
  opacity: var(--dots-opacity, 0.25);
  pointer-events: none;
}

@media (max-width: 840px) {
  .u-dots::after {
    background-size: 2vw 2vw;
  }
}

@media (max-width: 540px) {
  .u-dots::after {
    background-size: 3vw 3vw;
  }
}

/* ===== 波（SVGをマスクにして色を塗る） ===== */
.wave {
  display: block;
  width: 100%;
  background-color: var(--wave-color, var(--color-sub));
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  pointer-events: none;
}

.wave--top1 {
  -webkit-mask-image: url("../images/common/wave_top1.svg");
  mask-image: url("../images/common/wave_top1.svg");
}

.wave--top2 {
  -webkit-mask-image: url("../images/common/wave_top2.svg");
  mask-image: url("../images/common/wave_top2.svg");
}

.wave--large {
  aspect-ratio: 2516 / 483;
  -webkit-mask-image: url("../images/common/wave_large.svg");
  mask-image: url("../images/common/wave_large.svg");
}

/* 細かい波：本件で決めた値（1山 160px・高さ 40px を横にくり返す） */
.wave--small {
  height: 40px;
  -webkit-mask-image: url("../images/common/wave_small.svg");
  mask-image: url("../images/common/wave_small.svg");
  -webkit-mask-size: 160px 40px;
  mask-size: 160px 40px;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
}

/* ===== ヘッダー ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: transparent;
  pointer-events: none;
}

.header > * {
  pointer-events: auto;
}

.header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 12px;
  background: #ffffff;
  border-radius: 8px;
  line-height: 1;
}

.header__logo img {
  width: 176px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 10px 22px;
  background: var(--color-green);
  border-radius: 10px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.header__contact::after {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url("../images/common/icon_mail.svg") center / contain no-repeat;
  mask: url("../images/common/icon_mail.svg") center / contain no-repeat;
}

.header__contact:hover {
  background: var(--color-accent);
}

.menu-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--color-accent-dark);
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: #ffffff;
}

.menu-btn:hover {
  background: var(--color-text);
}

.menu-btn--close {
  position: relative;
}

.menu-btn--close span {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -1px 0 0 -10px;
}

.menu-btn--close span:first-child {
  rotate: 45deg;
}

.menu-btn--close span:last-child {
  rotate: -45deg;
}

@media (max-width: 1140px) {
  .header {
    padding: 16px 24px 16px 16px;
  }

  .header__logo img {
    width: 160px;
  }

  .header__actions {
    gap: 12px;
  }

  .header__contact {
    height: 50px;
    font-size: 15px;
  }

  .header__contact::after {
    width: 19px;
    height: 19px;
  }

  .menu-btn {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 840px) {
  .header__logo {
    padding: 6px 12px;
  }
}

@media (max-width: 540px) {
  .header {
    padding: 12px 16px 12px 8px;
  }

  .header__logo img {
    width: 120px;
  }

  .header__actions {
    gap: 8px;
  }

  .header__contact {
    gap: 7px;
    height: 44px;
    padding: 8px 16px;
    font-size: 14px;
  }

  .header__contact::after {
    width: 18px;
    height: 18px;
  }

  .menu-btn {
    width: 44px;
    height: 44px;
  }
}

/* ===== メニューパネル（開閉のJSはフェーズ2。.is-open で表示） ===== */
.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.menu.is-open {
  display: block;
}

.menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.16);
}

.menu__panel {
  position: relative;
  max-height: 100vh;
  overflow-y: auto;
  background: #ffffff;
}

.menu__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
}

.menu__body {
  padding: 0 88px 40px;
}

.menu__band {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 40px 88px;
  background: var(--color-accent);
}

.menu__ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.menu__cta {
  display: flex;
  padding: 6px;
  background: #ffffff;
  border-radius: 12px;
}

.menu__cta-in {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  border: 2px dashed var(--color-accent);
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

a.menu__cta:hover {
  scale: 1.01;
}

.menu__band .tel-card {
  flex: 1.4;
}

@media (max-width: 1140px) {
  .menu__panel {
    height: 80vh;
  }

  .menu__head {
    padding: 20px 24px 20px 16px;
  }

  .menu__body {
    padding: 0 40px 32px;
  }

  .menu__band {
    padding: 40px;
  }
}

@media (max-width: 840px) {
  .menu__body {
    padding: 0 48px 32px;
  }

  .menu__band {
    flex-direction: column;
    padding: 40px 48px;
  }
}

@media (max-width: 540px) {
  .menu__panel {
    height: 100dvh;
    max-height: none;
  }

  .menu__head {
    padding: 12px 16px 12px 8px;
  }

  .menu__head .header__logo img {
    width: 132px;
  }

  .menu__body {
    padding: 0 32px 48px;
  }

  .menu__band {
    padding: 32px 24px 40px;
  }
}

/* ===== サイトマップ（メニューパネルとフッターで共通） ===== */
.sitemap {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.sitemap__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 40px;
  border-left: 2px dashed var(--color-sub);
}

.sitemap__col:first-child {
  padding-left: 0;
  border-left: 0;
}

.sitemap__head {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

a.sitemap__head:hover,
a.sitemap__link:hover {
  color: var(--color-accent-dark);
}

.sitemap__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sitemap__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  font-feature-settings: "palt" 1;
}

.sitemap__link::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

@media (max-width: 1140px) {
  .sitemap {
    flex-wrap: wrap;
    row-gap: 40px;
  }

  .sitemap__col {
    flex: 0 0 50%;
    padding: 0 0 0 32px;
  }

  .sitemap__col:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 540px) {
  .sitemap {
    row-gap: 24px;
  }

  .sitemap__col,
  .sitemap__col:nth-child(odd) {
    flex: 0 0 100%;
    padding: 24px 0 0;
    border-left: 0;
    border-top: 2px dashed var(--color-sub);
  }

  .sitemap__col:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .sitemap__head {
    font-size: 18px;
  }
}

/* ===== リンク先が未確定の印 ===== */
.soon {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--color-line);
  color: var(--color-text);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  vertical-align: middle;
  white-space: nowrap;
}

.is-soon {
  cursor: default;
}

/* ===== 仮原稿の「サンプル」札 ===== */
.sample-label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--color-sample);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

/* ===== ボタン ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 16px 24px;
  border-radius: 10px;
  background: var(--color-accent-dark);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.line-box__in > .btn {
  flex: none;
}

.btn__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
}

.btn__arrow::before {
  content: "";
  width: 6px;
  height: 10px;
  background: var(--color-accent-dark);
  -webkit-mask: url("../images/common/icon_arrow.svg") center / contain no-repeat;
  mask: url("../images/common/icon_arrow.svg") center / contain no-repeat;
}

a.btn:hover {
  background: var(--color-text);
}

a.btn:hover .btn__arrow {
  translate: 2px 0;
}

.btn.is-soon {
  opacity: 0.6;
}

.btn--white {
  padding: 18px 32px 20px;
  background: #ffffff;
  color: var(--color-text);
  line-height: 2;
}

.btn--white .btn__arrow {
  width: 26px;
  height: 26px;
  background: var(--color-accent);
}

.btn--white .btn__arrow::before {
  background: #ffffff;
}

a.btn--white:hover {
  background: var(--color-text);
  color: #ffffff;
}

/* ページ内リンクの札（本件で決めた値：枠の色・padding） */
.btn--pill {
  gap: 12px;
  padding: 12px 24px;
  border: 2px solid var(--color-sub);
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.4;
}

.btn--pill::after {
  content: "";
  width: 8px;
  height: 12px;
  rotate: 90deg;
  background: var(--color-accent-dark);
  -webkit-mask: url("../images/common/icon_arrow.svg") center / contain no-repeat;
  mask: url("../images/common/icon_arrow.svg") center / contain no-repeat;
  transition: all 0.3s var(--ease);
}

a.btn--pill:hover {
  border-color: var(--color-accent-dark);
  background: var(--color-accent-dark);
  color: #ffffff;
}

a.btn--pill:hover::after {
  background: #ffffff;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

@media (max-width: 540px) {
  .btn {
    gap: 12px;
    padding: 14px 20px 14px 22px;
    font-size: 14px;
  }

  .btn__arrow {
    width: 18px;
    height: 18px;
  }

  .btn__arrow::before {
    width: 4px;
    height: 7px;
  }

  .btn--white {
    gap: 16px;
    padding: 18px 24px 19px;
    font-size: 15px;
  }

  .btn--white .btn__arrow {
    width: 24px;
    height: 24px;
  }

  .btn--white .btn__arrow::before {
    width: 6px;
    height: 10px;
  }

  .btn--pill {
    padding: 4px 0;
    border: 0;
    background: transparent;
    font-size: 13px;
  }

  a.btn--pill:hover {
    background: transparent;
    color: var(--color-accent-dark);
  }

  a.btn--pill:hover::after {
    background: var(--color-accent-dark);
  }
}

/* ===== 札 ===== */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 19px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.tag--fill {
  background: var(--color-accent-dark);
  color: #ffffff;
}

.tag--line {
  border: 1px solid var(--color-accent);
  background: #ffffff;
  color: var(--color-accent-dark);
}

@media (max-width: 540px) {
  .tag {
    padding: 3px 10px 4px;
    font-size: 10px;
  }
}

/* ===== 英字ラベル（2文字目ごとに色を変える） ===== */
.en-label {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-align: center;
}

.en-label .is-accent {
  color: var(--color-accent-dark);
}

@media (max-width: 1140px) {
  .en-label {
    font-size: 13px;
  }
}

@media (max-width: 840px) {
  .en-label {
    font-size: 15px;
  }
}

@media (max-width: 540px) {
  .en-label {
    font-size: 12px;
    line-height: 1.8;
  }
}

/* ===== 飾り付きの見出し（h2） ===== */
.h2-deco {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.h2-deco::before,
.h2-deco::after {
  content: "";
  flex: none;
  width: 24px;
  aspect-ratio: 18 / 60;
  background: url("../images/common/heading_left.svg") center / contain no-repeat;
}

.h2-deco::after {
  background-image: url("../images/common/heading_right.svg");
}

.h2-deco__in {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.h2-deco__ja {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-align: center;
}

@media (max-width: 1140px) {
  .h2-deco {
    gap: 48px;
  }

  .h2-deco::before,
  .h2-deco::after {
    width: 16px;
  }

  .h2-deco__ja {
    font-size: 24px;
  }
}

@media (max-width: 840px) {
  .h2-deco {
    gap: 72px;
  }

  .h2-deco::before,
  .h2-deco::after {
    width: 21px;
  }

  .h2-deco__ja {
    font-size: 28px;
  }
}

@media (max-width: 540px) {
  .h2-deco {
    gap: 48px;
  }

  .h2-deco::before,
  .h2-deco::after {
    width: 14px;
  }

  .h2-deco__ja {
    font-size: 24px;
    line-height: 1.6;
  }
}

/* ===== 左寄せの見出し（アイコン付き h2） ===== */
.h2-icon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 0 4px;
}

.h2-icon__main {
  display: flex;
  align-items: center;
  gap: 16px;
}

.h2-icon__main img {
  width: 34px;
  height: auto;
  filter: saturate(122%);
}

.h2-icon__ja {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
}

.h2-icon__en {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--color-text-sub);
}

@media (max-width: 1140px) {
  .h2-icon {
    gap: 24px;
  }

  .h2-icon__main {
    gap: 12px;
  }

  .h2-icon__main img {
    width: 26px;
  }

  .h2-icon__ja {
    font-size: 22px;
  }

  .h2-icon__en {
    font-size: 11px;
  }
}

@media (max-width: 840px) {
  .h2-icon__main img {
    width: 30px;
  }

  .h2-icon__ja {
    font-size: 24px;
  }
}

@media (max-width: 540px) {
  .h2-icon {
    padding: 0;
  }

  .h2-icon__main {
    gap: 10px;
  }

  .h2-icon__main img {
    width: 24px;
  }

  .h2-icon__ja {
    font-size: 20px;
  }

  .h2-icon__en {
    display: none;
  }
}

/* ===== 吹き出し（本件で決めた値） ===== */
.bubble {
  position: absolute;
  z-index: 2;
  padding: 10px 22px;
  border-radius: 999px;
  background: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.bubble::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: -9px;
  border-style: solid;
  border-width: 10px 5px 0 5px;
  border-color: #ffffff transparent transparent transparent;
}

.bubble--static {
  position: relative;
}

@media (max-width: 1140px) {
  .bubble {
    font-size: 14px;
  }
}

@media (max-width: 540px) {
  .bubble {
    padding: 6px 12px;
    font-size: 11px;
  }

  .bubble::after {
    left: 18px;
    bottom: -6px;
    border-width: 7px 4px 0 4px;
  }
}

/* ===== 点線のカード（特徴リスト） ===== */
.dash-cards {
  display: flex;
  gap: 24px;
}

.dash-cards--2col {
  flex-wrap: wrap;
}

.dash-cards--2col .dash-card {
  flex: 0 0 calc((100% - 24px) / 2);
}

.dash-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 40px;
  border: 2px dashed var(--color-accent);
  border-radius: 16px;
}

.dash-card--white {
  background: #ffffff;
}

.dash-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.dash-card__line {
  height: 1px;
  border-top: 1px dashed var(--color-accent);
}

.dash-card__text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  font-feature-settings: "palt" 1;
}

@media (max-width: 1140px) {
  .dash-cards {
    flex-direction: column;
    gap: 16px;
  }

  .dash-cards--2col .dash-card {
    flex: none;
  }

  .dash-card__title {
    font-size: 18px;
  }

  .dash-card__text {
    font-size: 15px;
  }
}

@media (max-width: 840px) {
  .dash-card {
    padding: 32px 40px 32px 32px;
  }
}

@media (max-width: 540px) {
  .dash-card {
    gap: 14px;
    padding: 28px;
  }

  .dash-card__title {
    font-size: 17px;
  }

  .dash-card__text {
    font-size: 14px;
    line-height: 2;
  }
}

/* ===== 白いカード（クローン元のコース案内のカード） ===== */
.wcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px;
  border: 5px solid var(--color-sub);
  border-radius: 24px;
  background: #ffffff;
}

.wcard__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 4px;
}

.wcard__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.wcard__titles {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wcard__sub {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.wcard__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.wcard__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-sub);
}

.wcard__icon img {
  width: 48px;
}

.wcard__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

.wcard__photo {
  position: relative;
  height: 240px;
  border-radius: 24px;
  overflow: hidden;
}

.wcard__photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 写真の右下の角：白い四角＋矢印の丸＋逆角丸 */
.wcard__corner {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 68px;
  height: 68px;
  background: #ffffff;
  border-radius: 24px 0 0 0;
}

.wcard__corner::before,
.wcard__corner::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background: radial-gradient(circle at 0 0, transparent 15px, #ffffff 15.5px);
}

.wcard__corner::before {
  left: -15px;
  bottom: 0;
}

.wcard__corner::after {
  right: 0;
  top: -15px;
}

.wcard__corner-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
}

.wcard__corner-arrow::before {
  content: "";
  width: 7px;
  height: 12px;
  background: #ffffff;
  -webkit-mask: url("../images/common/icon_arrow.svg") center / contain no-repeat;
  mask: url("../images/common/icon_arrow.svg") center / contain no-repeat;
}

a.wcard:hover {
  border-color: var(--color-accent);
}

a.wcard:hover .wcard__icon img {
  rotate: 16deg;
  scale: 1.03;
}

@media (max-width: 1140px) {
  .wcard {
    gap: 24px;
  }

  .wcard__title {
    font-size: 24px;
  }

  .wcard__sub {
    font-size: 16px;
  }

  .wcard__photo {
    height: 224px;
  }
}

@media (max-width: 840px) {
  .wcard {
    padding: 24px 32px;
  }

  .wcard__icon {
    width: 64px;
    height: 64px;
  }

  .wcard__icon img {
    width: 42px;
  }

  .wcard__photo {
    height: 200px;
    border-radius: 16px;
  }
}

@media (max-width: 540px) {
  .wcard {
    gap: 20px;
    padding: 24px;
    border-width: 0;
  }

  .wcard__sub {
    font-size: 13px;
  }

  .wcard__title {
    font-size: 20px;
  }

  .wcard__text {
    font-size: 15px;
    line-height: 1.8;
  }

  .wcard__photo {
    height: 176px;
  }

  .wcard__corner {
    width: 64px;
    height: 64px;
  }
}

/* ===== 下層FV（全ページ共通） ===== */
.lower-fv {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  padding: 104px 0 0;
  background: var(--color-sub);
  --dots-opacity: 0.1;
}

.lower-fv__titles {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lower-fv__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.02em;
  text-align: center;
}

.lower-fv__en {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--color-accent-dark);
}

.lower-fv .wave {
  --wave-color: #ffffff;
}

.lower-fv__il--walk {
  left: 104px;
  bottom: 14px;
  width: 88px;
  rotate: -8deg;
}

.lower-fv__il--leaf {
  left: 181px;
  bottom: 71px;
  width: 50px;
}

.lower-fv__il--dot {
  right: 102px;
  bottom: 90px;
  width: 32px;
}

@media (max-width: 1140px) {
  .lower-fv {
    gap: 40px;
  }

  .lower-fv__il--walk {
    left: 33px;
    bottom: 7px;
    width: 64px;
  }

  .lower-fv__il--leaf {
    left: 100px;
    bottom: 54px;
    width: 32px;
  }

  .lower-fv__il--dot {
    right: 57px;
    bottom: 45px;
    width: 24px;
  }
}

@media (max-width: 840px) {
  .lower-fv {
    gap: 56px;
    padding-top: 112px;
  }

  .lower-fv__title {
    font-size: 28px;
  }

  .lower-fv__en {
    font-size: 15px;
  }
}

@media (max-width: 540px) {
  .lower-fv {
    gap: 32px;
    padding-top: 96px;
  }

  .lower-fv__title {
    font-size: 22px;
  }

  .lower-fv__en {
    font-size: 13px;
  }

  .lower-fv__il--walk {
    left: 14px;
    bottom: 4px;
    width: 56px;
  }

  .lower-fv__il--leaf {
    left: 61px;
    bottom: 40px;
    width: 28px;
  }

  .lower-fv__il--dot {
    right: 35px;
    bottom: 32px;
    width: 20px;
  }
}

/* ===== 採用バナー（全ページ共通） ===== */
.recruit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
  margin-bottom: -10px;
  overflow: hidden;
  color: #ffffff;
}

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

.recruit__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1200ms var(--ease);
}

.recruit__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
}

.recruit__dots {
  position: absolute;
  inset: 0;
  z-index: 1;
  isolation: auto;
  --dots-opacity: 0.15;
}

.recruit__dots::after {
  z-index: 0;
}

.recruit__in {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.recruit__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.recruit .en-label .is-accent {
  color: #ffffff;
}

.recruit__il {
  left: 231px;
  top: 333px;
  z-index: 2;
  width: 104px;
  transition: translate 400ms var(--ease) 100ms;
}

a.recruit:hover .recruit__bg img {
  scale: 1.02;
}

a.recruit:hover .recruit__il {
  translate: 6px -163px;
}

.recruit .soon {
  margin: 0;
  padding: 4px 12px;
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-size: 14px;
}

@media (max-width: 1140px) {
  .recruit__il {
    left: 205px;
    top: auto;
    bottom: -176px;
  }
}

@media (max-width: 840px) {
  .recruit {
    height: 376px;
  }

  .recruit__title {
    font-size: 28px;
  }

  .recruit__il {
    left: 229px;
    top: 264px;
    bottom: auto;
  }

  a.recruit:hover .recruit__il {
    translate: 0 -203px;
  }
}

@media (max-width: 540px) {
  .recruit {
    height: 320px;
    margin-bottom: 0;
  }

  .recruit__in {
    gap: 24px;
    margin-bottom: 24px;
  }

  .recruit__title {
    font-size: 26px;
    line-height: 1.6;
  }

  .recruit__il {
    left: auto;
    right: -100px;
    top: auto;
    bottom: -103px;
    width: 82px;
  }

  .recruit__dots {
    --dots-opacity: 0.08;
  }
}

/* ===== お問い合わせの帯（全ページ共通。お問い合わせページでは出さない） ===== */
.contact-band {
  position: relative;
  margin-top: -20px;
}

.contact-band__wave {
  overflow: hidden;
}

.contact-band__body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 56px 56px 0;
  background: var(--color-sub);
  --dots-opacity: 0.2;
}

.contact-band__end {
  position: relative;
  height: 64px;
  background: var(--color-sub);
}

.contact-band__end .wave {
  position: absolute;
  left: 0;
  bottom: -4px;
  --wave-color: #ffffff;
}

/* LINEの箱 */
.line-box {
  position: relative;
  z-index: 1;
  display: block;
  width: 980px;
  max-width: 100%;
  padding: 16px;
  border-radius: 32px;
  background: #ffffff;
}

.line-box__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 56px;
  border: 2px dashed var(--color-accent);
  border-radius: 20px;
}

.line-box__texts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.line-box__title {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  align-self: flex-start;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.line-box__title::after {
  content: "";
  height: 3px;
  border-top: 2px dashed var(--color-accent);
}

.line-box__text {
  width: 264px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.line-box__il {
  position: relative;
  flex: none;
  width: 249px;
  transition: translate 0.3s var(--ease);
}

.line-box__qr {
  flex: none;
  width: 200px;
  padding: 12px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 0 0 2px var(--color-sub);
}

@media (max-width: 1140px) {
  .contact-band__body {
    padding: 40px 40px 0;
  }

  .line-box__in {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
  }

  .line-box__il {
    width: 200px;
  }
}

@media (max-width: 840px) {
  .contact-band__body {
    padding: 64px 40px 0;
    --dots-opacity: 0.1;
  }

  .line-box {
    padding: 12px;
  }

  .line-box__in {
    padding: 40px;
  }
}

@media (max-width: 540px) {
  .contact-band__body {
    padding: 24px 16px 0;
    --dots-opacity: 0.3;
  }

  .line-box__in {
    flex-direction: column;
    gap: 16px;
    padding: 24px 32px 32px;
    text-align: center;
  }

  .line-box__texts {
    align-items: center;
  }

  .line-box__title {
    align-self: center;
    font-size: 20px;
    line-height: 1.6;
  }

  .line-box__text {
    width: auto;
  }

  .line-box__il {
    width: 193px;
  }

  .line-box__qr {
    display: none;
  }
}

/* 電話の箱 */
.tel-box {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 980px;
  max-width: 100%;
  padding: 32px;
  border: 2px dashed var(--color-accent-dark);
  border-radius: 32px;
  background: var(--color-accent);
}

.tel-box__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 32px;
  border-radius: 56px;
  background: #ffffff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.tel-box__head::before {
  content: "";
  flex: none;
  width: 21px;
  height: 21px;
  background: var(--color-text);
  -webkit-mask: url("../images/common/icon_tel.svg") center / contain no-repeat;
  mask: url("../images/common/icon_tel.svg") center / contain no-repeat;
}

.tel-box__head::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  margin-left: -9px;
  border-style: solid;
  border-width: 12px 9px 0 9px;
  border-color: #ffffff transparent transparent transparent;
}

.tel-box__il--left {
  left: -120px;
  bottom: -32px;
  width: 64px;
}

.tel-box__il--right {
  right: -141px;
  bottom: -34px;
  width: 88px;
}

/* 電話の白い箱（メニューパネルでも使う） */
.tel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 480px;
  max-width: 100%;
  padding: 24px;
  border: 4px solid #ffffff;
  border-radius: 20px;
  background: #ffffff;
}

.tel-card__name {
  padding: 8px 24px;
  border-radius: 32px;
  background: var(--color-text);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.tel-card__num {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  line-height: 1;
}

.tel-card__num small {
  font-size: 16px;
}

.tel-card__num span {
  font-family: var(--font-en);
  font-size: 32px;
  letter-spacing: 0.04em;
}

.tel-card__hours {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 1140px) {
  .tel-box__head {
    gap: 8px;
    font-size: 18px;
  }

  .tel-box__il--left {
    left: -44px;
    bottom: -33px;
    width: 56px;
  }

  .tel-box__il--right {
    right: -48px;
    width: 80px;
  }

  .tel-card__name {
    font-size: 16px;
  }

  .tel-card__num small {
    font-size: 14px;
  }

  .tel-card__num span {
    font-size: 24px;
  }

  .tel-card__hours {
    font-size: 13px;
  }
}

@media (max-width: 840px) {
  .tel-card__num span {
    font-size: 28px;
  }
}

@media (max-width: 540px) {
  .tel-box {
    padding: 32px 24px 24px;
  }

  .tel-box__head {
    padding: 16px 32px;
    font-size: 17px;
  }

  .tel-box__il--left {
    left: -11px;
    bottom: -31px;
    width: 49px;
  }

  .tel-box__il--right {
    right: -7px;
    bottom: -33px;
    width: 70px;
  }

  .tel-card {
    width: 100%;
    gap: 10px;
  }

  .tel-card__name {
    padding: 10px 24px;
    font-size: 15px;
  }

  .tel-card__num span {
    font-size: 24px;
  }
}

/* ===== マーキー（全ページ共通。動きはフェーズ3） ===== */
.marquee {
  overflow: hidden;
  padding: 64px 0 90px;
}

.marquee__track {
  display: flex;
  width: max-content;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: 24px;
  padding-right: 16px;
}

.marquee__text {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.marquee__item img {
  width: auto;
  height: 56px;
  max-width: none;
}

@media (max-width: 840px) {
  .marquee {
    padding: 56px 0 64px;
  }
}

@media (max-width: 540px) {
  .marquee {
    padding: 48px 0 0;
  }

  .marquee__item {
    gap: 24px;
  }

  .marquee__text {
    font-size: 28px;
  }

  .marquee__item img {
    height: 32px;
  }
}

/* ===== フッター ===== */
.footer {
  padding: 56px 88px 40px;
  background: #ffffff;
}

.footer__in {
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: 1280px;
  margin: 0 auto;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo img {
  width: 210px;
}

a.footer__logo:hover {
  opacity: 0.6;
}

.footer__company {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.footer__homes {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 24px 56px;
}

.footer__home-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

.footer__home-address {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

.footer__copy {
  font-family: var(--font-copy);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
  text-align: center;
}

@media (max-width: 1140px) {
  .footer {
    padding: 56px 32px 40px;
  }

  .footer__in {
    gap: 32px;
  }

  .footer__top {
    flex-direction: column;
  }

  .footer__logo img {
    width: 200px;
  }

  .footer__copy {
    font-size: 14px;
  }
}

@media (max-width: 840px) {
  .footer {
    padding: 56px 48px 48px;
  }
}

@media (max-width: 540px) {
  .footer {
    padding: 56px 32px 104px;
  }

  .footer__in {
    gap: 40px;
  }

  .footer__logo img {
    width: 168px;
  }

  .footer__homes {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer__home-name {
    font-size: 16px;
  }

  .footer__home-address {
    font-size: 13px;
  }

  .footer__copy {
    font-size: 12px;
  }
}

/* ===== 右下の追従タブ ===== */
.float-tab {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 24px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  border-top: 2px dotted var(--color-accent);
  border-left: 2px dotted var(--color-accent);
  border-radius: 16px 0 0 0;
  background: var(--color-text);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.float-tab img {
  width: 23px;
}

a.float-tab:hover {
  border-color: var(--color-text);
  background: var(--color-accent-dark);
}

.float-tab.is-soon {
  opacity: 0.6;
}

@media (max-width: 540px) {
  .float-tab {
    padding: 18px 20px 20px;
    font-size: 15px;
  }

  .float-tab img {
    width: 20px;
  }
}

/* ===== 補足 ===== */
[id] {
  scroll-margin-top: 104px;
}

.menu__cta .btn__arrow {
  background: var(--color-accent);
}

.menu__cta .btn__arrow::before {
  background: #ffffff;
}

.menu__cta-in .soon {
  margin-right: auto;
}

.wcard > .sample-label {
  align-self: flex-start;
  margin-bottom: -16px;
}

/* ページ内リンクの段（下層FVの下） */
.page-nav {
  padding: 56px 16px 0;
}

@media (max-width: 540px) {
  .page-nav {
    padding: 32px 16px 0;
  }

  .page-nav .pills {
    gap: 8px 20px;
  }
}
