@charset "UTF-8";
/* =========================================================
   しらかわぐらし  style.css
   PC: 1280px デザイン / SP: 375px デザイン（〜767px）
   ========================================================= */

/* ---------- tokens ---------- */
:root {
  --c-green-dark: #3D6B4F;
  --c-green: #75ac6c;
  --c-green-pale: #e8f3e6;
  --c-orange: #fe8d54;
  --c-orange-pale: #ffefe0;
  --c-text: #6C5454;
  --c-beige: #f6f2e6;
  --c-bg: #fefcf6;
  --c-blue: #85b8dd;
  --c-blue-dark: #4e8bd1;
  --c-pink: #ec9094;
  --c-yellow: #dba737;
  --c-pink-dark: #e27880;
  --c-yellow-dark: #c9952a;
  --f-sans: "Noto Sans JP", sans-serif;
  --f-maru: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --f-en: "National Park", "Noto Sans JP", sans-serif;
  --inner: 1080px;
  --gutter: 40px;
}

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

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

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .05em;
  font-feature-settings: normal;
  text-spacing-trim: space-all;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  letter-spacing: inherit;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

small {
  font-size: inherit;
}

[hidden] {
  display: none !important;
}

@media (min-width: 768px) {
  .u-sp {
    display: none !important;
  }
}

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

a,
button {
  transition: opacity .2s;
}

a:hover,
button:hover {
  opacity: .8;
}

:focus-visible {
  outline: 2px solid var(--c-orange);
  outline-offset: 2px;
}

.l-inner {
  width: min(var(--inner), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* ---------- common text ---------- */
.c-heading {
  font-family: var(--f-maru);
  font-weight: 700;
  font-size: 24px;
  line-height: 35px;
  letter-spacing: .05em;
  color: var(--c-green-dark);
  text-align: center;
}

.c-heading--left {
  text-align: left;
}

/* ---------- icons ---------- */
.c-icon {
  flex: none;
}

/* ---------- logo ---------- */
.c-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.c-logo__main {
  font-family: var(--f-maru);
  font-weight: 700;
  font-size: 24px;
  line-height: 35px;
  letter-spacing: 0;
  color: var(--c-green-dark);
}

.c-logo__sub {
  margin: 4px 0 0 5px;
  font-size: 13px;
  line-height: 16px;
  color: var(--c-text);
}

/* ---------- buttons ---------- */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  height: 50px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: .05em;
  color: #fff;
  white-space: nowrap;
}

.c-btn--orange {
  background: var(--c-orange);
}

.c-btn--green {
  background: var(--c-green);
}

.c-btn--dark {
  background: var(--c-green-dark);
}

.c-btn--outline {
  background: #fff;
  color: var(--c-orange);
  box-shadow: inset 0 0 0 1px var(--c-orange);
}

.c-btn--header {
  width: 227px;
  padding: 0 20px;
  justify-content: space-between;
  font-size: 13px;
  line-height: 16px;
}

.c-btn--cta {
  width: 250px;
}

.c-btn--chevron {
  justify-content: space-between;
  padding: 0 45px;
  font-size: 13px;
  line-height: 16px;
}

.c-btn--menu {
  width: 250px;
}

/* circle arrow link  「〇〇を見る ⊙→」 */
.c-more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  color: var(--c-green-dark);
}

.c-more__circle {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #fff;
}

.c-more--white {
  color: #fff;
}

.c-more--white .c-more__circle {
  background: transparent;
}

/* tag pill */
.c-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  padding: 0 15px;
  border: 1px solid var(--c-green);
  border-radius: 50px;
  background: #fff;
  color: var(--c-green);
  font-weight: 700;
  font-size: 10px;
  line-height: 12px;
  white-space: nowrap;
}

/* ---------- header ---------- */
.l-header {
  position: relative;
  z-index: 30;
  padding: 30px 30px 0;
}

.l-header__inner {
  display: flex;
  align-items: center;
  height: 80px;
  padding: 0 30px;
  border-radius: 10px;
}

.l-header--white .l-header__inner {
  background: #fff;
}

.l-header__logo {
  align-self: flex-start;
  padding-top: 14px;
}

.l-header--white .l-header__logo {
  padding-top: 11px;
}

.l-header__cta {
  margin-left: auto;
}

.l-header__toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 35px;
  height: 19px;
  margin-left: 30px;
}

.l-header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--c-green-dark);
}

/* 下層ページはヘッダー背景を透明にする（TOPは白のまま） */
body:not(.p-top) .l-header--white .l-header__inner {
  background: transparent;
}

/* TOPはヘッダーをメインビジュアルに重ねる */
.p-top .l-header {
  margin-bottom: -110px;
}

/* ---------- global menu ---------- */
.l-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.l-menu__panel {
  margin: 30px;
  padding: 0 20px 40px;
  border-radius: 10px;
  background: #fff;
}

.l-menu__head {
  display: flex;
  align-items: center;
  height: 80px;
  padding: 0 15px 0 10px;
  border-bottom: 1px solid var(--c-green);
}

.l-menu__logo {
  align-self: flex-start;
  padding-top: 14px;
}

.l-menu__logo .c-logo__main {
  line-height: 35px;
}

.l-menu__cta {
  margin-left: auto;
}

.l-menu__close {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-left: 35px;
  color: var(--c-green-dark);
}

.l-menu__consult {
  display: none;
}

.l-menu__nav {
  padding: 40px 0 0 77px;
}

.l-menu__sns {
  justify-content: flex-end;
  margin: -30px 77px 0 0;
}

/* sitemap (menu / footer) */
.c-sitemap {
  display: grid;
  grid-template-columns: minmax(0, 302px) minmax(0, 227px) minmax(0, 204px) minmax(0, 191px) minmax(0, 1fr);
  row-gap: 30px;
}

.c-sitemap__title {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.c-sitemap__en {
  font-family: var(--f-en);
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: .05em;
  color: var(--c-green-dark);
}

.c-sitemap__ja {
  font-size: 12px;
  line-height: 14px;
  color: var(--c-green);
}

.c-sitemap__links {
  display: grid;
  gap: 15px;
  margin-top: 22px;
}

.c-sitemap__links li {
  line-height: 14px;
}

.c-sitemap__links a {
  display: inline-block;
  font-size: 12px;
  line-height: 14px;
  color: var(--c-text);
  white-space: nowrap;
}

/* sns */
.c-sns {
  display: flex;
  gap: 20px;
}

.c-sns__item img {
  width: 40px;
  height: 40px;
}

/* ---------- footer ---------- */
.l-footer {
  position: relative;
}

.l-footer__contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 520px));
  justify-content: center;
  gap: 40px;
  width: min(var(--inner), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.c-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 250px;
  padding-top: 40px;
  border-radius: 10px;
  text-align: center;
}

.c-cta-card--line {
  background: var(--c-green-pale);
}

.c-cta-card--concierge {
  background: var(--c-orange-pale);
}

.c-cta-card__title {
  font-family: var(--f-maru);
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: .05em;
}

.c-cta-card--line .c-cta-card__title {
  color: var(--c-green);
}

.c-cta-card--concierge .c-cta-card__title {
  color: var(--c-orange);
}

.c-cta-card__text {
  margin-top: 20px;
  font-size: 12px;
  line-height: 20px;
}

.c-cta-card .c-btn {
  margin-top: 34px;
}

.l-footer__body {
  margin-top: 54px;
}

.l-footer__illust {
  position: relative;
  z-index: 1;
  width: min(var(--inner), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.l-footer__illust img {
  width: 240px;
  margin-left: auto;
  margin-right: -20px;
}

.l-footer__wave {
  height: 65px;
  margin-top: -95px;
  background: url(../img/common/footer-wave.svg) center bottom / 100% 100% no-repeat;
}

.l-footer__main {
  padding: 30px 0 20px;
  background: var(--c-green-pale);
}

.l-footer__top {
  display: flex;
  justify-content: space-between;
  width: min(var(--inner), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.l-footer__logo .c-logo__sub {
  margin-left: 6px;
}

.l-footer__sns {
  margin-top: 15px;
}

.l-footer__nav {
  width: min(1200px, calc(100% - var(--gutter)));
  margin: 26px auto 0;
  padding: 40px 0 41px 87px;
  border-top: 1px solid var(--c-green);
  border-bottom: 1px solid var(--c-green);
}

.l-footer__nav .c-sitemap {
  row-gap: 20px;
}

.l-footer__privacy {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  line-height: 14px;
}

.l-footer__copy {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  background: var(--c-green-dark);
  color: #fff;
  font-size: 12px;
  line-height: 18px;
}

/* LINE tab (follow) */
.c-line-tab {
  position: fixed;
  right: var(--sbw, 0px);
  top: 50%;
  z-index: 50;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60px;
  min-height: 250px;
  padding: 15px 0 12px;
  border-radius: 10px 0 0 10px;
  background: var(--c-green);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0;
}

.c-line-tab__main,
.c-line-tab__sub {
  flex: none;
  white-space: nowrap;
}

.c-line-tab__main {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 3px;
}

.c-line-tab__sub {
  writing-mode: vertical-rl;
  letter-spacing: 3.5px;
}

.c-line-tab:hover {
  opacity: .9;
}

.c-sp-bar {
  display: none;
}

/* =========================================================
   SP
   ========================================================= */
@media (max-width: 767px) {
  :root {
    --gutter: 15px;
  }

  .u-pc {
    display: none !important;
  }

  .c-heading {
    font-size: 20px;
    line-height: 29px;
  }

  .c-logo__main {
    font-size: 16px;
    line-height: 23px;
  }

  .c-logo__sub {
    margin: 2px 0 0 4px;
    font-size: 10px;
    line-height: 12px;
  }

  .l-header {
    padding: 15px 15px 0;
  }

  .l-header__inner {
    height: 60px;
    padding: 0 15px 0 10px;
  }

  .l-header__logo,
  .l-header--white .l-header__logo {
    padding-top: 12px;
  }

  .l-header__cta {
    display: none;
  }

  .l-header__toggle {
    width: 30px;
    height: 16px;
    margin-left: auto;
  }

  .l-header__toggle span {
    height: 1.5px;
  }

  .p-top .l-header {
    margin-bottom: -75px;
  }

  .l-menu {
    background: #fff;
  }

  .l-menu__panel {
    margin: 0;
    padding: 0 15px 30px;
    border-radius: 0;
  }

  .l-menu__head {
    height: 90px;
    padding: 0 19px 0 10px;
  }

  .l-menu__logo {
    padding-top: 27px;
  }

  .l-menu__logo .c-logo__main {
    line-height: 23px;
  }

  .l-menu__cta {
    display: none;
  }

  .l-menu__close {
    width: 22px;
    height: 22px;
    margin-left: auto;
  }

  .l-menu__close svg {
    width: 22px;
    height: 22px;
  }

  .l-menu__consult {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding: 25px 0 25px;
    border-radius: 10px;
    background: var(--c-beige);
  }

  .l-menu__consult-title {
    margin-bottom: 0;
    font-family: var(--f-maru);
    font-weight: 700;
    font-size: 15px;
    line-height: 22px;
    color: var(--c-green-dark);
  }

  .l-menu__consult .c-btn {
    font-size: 13px;
  }

  .l-menu__consult .c-btn--orange {
    justify-content: space-between;
    padding: 0 22px;
  }

  .l-menu__nav {
    padding: 30px 0 29px 35px;
    border-bottom: 1px solid var(--c-green);
  }

  .l-menu__sns {
    justify-content: center;
    margin: 20px 0 0;
  }

  .l-menu .c-sitemap {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }

  .l-menu .c-sitemap__group {
    display: grid;
    grid-template-columns: 174px 1fr;
  }

  .l-menu .c-sitemap__title {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .l-menu .c-sitemap__ja {
    padding: 0;
  }

  .l-menu .c-sitemap__links {
    margin-top: 0;
  }

  .l-footer__contact {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .c-btn--cta {
    width: 275px;
  }

  .l-footer__body {
    margin-top: 40px;
  }

  .l-footer__illust {
    width: 100%;
    padding-right: 22px;
  }

  .l-footer__illust img {
    width: 164px;
    margin-right: 0;
  }

  .l-footer__wave {
    height: 38px;
    margin-top: -79px;
    background-image: url(../img/common/footer-wave-sp.svg);
  }

  .l-footer__main {
    padding: 61px 0 25px;
  }

  .l-footer__top {
    flex-direction: column;
    align-items: center;
  }

  .l-footer__logo {
    align-items: center;
  }

  .l-footer__logo .c-logo__main {
    font-size: 20px;
    line-height: 29px;
  }

  .l-footer__logo .c-logo__sub {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 14px;
  }

  .l-footer__sns {
    margin-top: 25px;
  }

  .l-footer__nav {
    width: calc(100% - 30px);
    margin-top: 25px;
    padding: 30px 0 35px 25px;
  }

  .l-footer__nav .c-sitemap {
    grid-template-columns: minmax(0, 182fr) minmax(0, 138fr);
    row-gap: 35px;
  }

  .l-footer .c-sitemap__title {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .l-footer .c-sitemap__ja {
    padding: 0;
    font-size: 10px;
    line-height: 12px;
  }

  .l-footer .c-sitemap__links {
    margin-top: 20px;
  }

  .l-footer__privacy {
    margin-top: 24px;
  }

  .l-footer__copy {
    font-size: 10px;
    line-height: 12px;
  }

  .l-footer {
    padding-bottom: 60px;
  }

  .c-line-tab {
    display: none;
  }

  .c-sp-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 60px;
  }

  .c-sp-bar__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 8px;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    line-height: 14px;
  }

  .c-sp-bar__item--concierge {
    background: var(--c-orange);
    box-shadow: inset -1px 0 0 #fff;
  }

  .c-sp-bar__item--line {
    gap: 15px;
    background: var(--c-green);
    font-size: 13px;
    line-height: 16px;
  }
}

/* =========================================================
   Components
   ========================================================= */
.l-main {
  padding-bottom: 80px;
}

/* story card (hero slider) */
/* 画像の上に再生ボタン・説明を重ねる（grid の同一セルに配置） */
.c-story {
  display: grid;
  width: 253px;
  height: 450px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .25);
  outline: 2px solid #fff;
  outline-offset: -2px;
  text-align: left;
}

.c-story>*,
.c-movie>* {
  grid-area: 1 / 1;
}

.c-story__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-story__play {
  display: grid;
  place-items: center;
  place-self: center;
  width: 80px;
  height: 80px;
  padding-left: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .51);
  color: #fff;
}

.c-story__info {
  align-self: end;
  display: flex;
  margin: 0 2px 2px;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100px;
  padding: 22px 0 10px 6px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(rgba(117, 172, 108, 0), #75ac6c);
  color: #fff;
}

.c-story__tag {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 4px 10px;
  border-radius: 5px;
  background: var(--c-green-dark);
  font-size: 13px;
  line-height: 20px;
}

.c-story__text {
  margin: 11px 0 0 10px;
  font-size: 13px;
  line-height: 16px;
}

.c-story:hover {
  opacity: 1;
}

.c-story:hover .c-story__play {
  background: rgba(255, 255, 255, .7);
}

/* marquee (auto slide) */
.js-marquee {
  overflow: hidden;
}

.js-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-duration, 40s) linear infinite;
}

.p-top-hero__slider:hover .js-marquee-track,
.js-marquee:focus-within .js-marquee-track,
.js-marquee.is-paused .js-marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(calc(var(--marquee-distance, 0px) * -1));
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-marquee-track {
    animation: none;
  }
}

/* gallery (くらし) */
.c-gallery__item {
  flex: none;
  width: 340px;
  height: 215px;
  background: var(--c-green-pale);
}

.c-gallery__item figure {
  display: grid;
  /* 行の高さを枠に固定する。無いと枠より縦長の写真で行が伸び、下端に付けた説明文が写真ごとにずれる */
  grid-template-rows: minmax(0, 1fr);
  height: 100%;
}

.c-gallery__item figure>* {
  grid-area: 1 / 1;
}

.c-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-gallery__item figcaption {
  align-self: end;
  height: 44px;
  padding: 15px 15px 0;
  background: linear-gradient(rgba(43, 43, 43, 0), rgba(43, 43, 43, .8));
  color: #fff;
  font-size: 12px;
  line-height: 14px;
}

/* style card */
.c-style-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 164px;
  padding-top: 29px;
  border-radius: 10px;
  background: var(--c-green-pale);
  text-align: center;
}

.c-style-card--trial {
  background: var(--c-orange-pale);
}

.c-style-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 62px;
}

.c-style-card__icon img {
  width: auto;
  height: 100%;
}

.c-style-card__icon--telework img {
  height: 43px;
}

.c-style-card__icon--trial img {
  height: 61px;
}

.c-style-card__title {
  margin-top: 19px;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  color: var(--c-green-dark);
}

.c-style-card--trial .c-style-card__title {
  color: var(--c-orange);
}

.c-style-card__text {
  margin-top: 9px;
  font-size: 12px;
  line-height: 14px;
  white-space: nowrap;
}

/* steps */
/* 番号をつなぐ縦線は背景で描画 */
.c-steps {
  display: grid;
  gap: 35px;
  background: linear-gradient(var(--c-green-dark), var(--c-green-dark)) 17px 36px / 1px calc(100% - 72px) no-repeat;
}

.c-steps__item {
  display: flex;
  gap: 10px;
}

.c-steps__num {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--c-green);
  border-radius: 50%;
  background: #fff;
  color: var(--c-green);
  font-weight: 700;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0;
}

.c-steps__title {
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  color: var(--c-green);
}

.c-steps__text {
  margin-top: 5px;
  font-size: 12px;
  line-height: 14px;
}

.c-steps__text--lh20 {
  line-height: 20px;
}

.c-steps__item.is-current .c-steps__num {
  border-color: var(--c-orange);
  background: var(--c-orange);
  color: #fff;
}

.c-steps__item.is-current .c-steps__title {
  color: var(--c-orange);
}

/* area map + cards */
.c-area-map {
  display: flex;
  justify-content: space-between;
}

.c-area-map__maps {
  display: grid;
  flex: none;
  width: 463px;
}

.c-area-map__img {
  grid-area: 1 / 1;
  width: 455px;
  max-width: none;
  height: 504px;
  margin: -8px;
  opacity: 0;
  transition: opacity .25s;
}

.c-area-map__img.is-active {
  opacity: 1;
}

.c-area-map__img.u-sp {
  opacity: 1;
}

.c-area-map__list {
  display: grid;
  gap: 20px;
}

.c-area-card {
  --rc: var(--c-blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 107px;
  padding: 0 20px;
  border-radius: 10px;
  background: #fff;
  color: var(--c-text);
  transition: background .25s, color .25s;
}

.c-area-card[data-region="omotego"] {
  --rc: var(--c-green);
}

.c-area-card[data-region="taishin"] {
  --rc: var(--c-pink);
}

.c-area-card[data-region="higashi"] {
  --rc: var(--c-yellow);
}

.c-area-card:hover {
  opacity: 1;
}

.c-area-card__title {
  display: block;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
}

.c-area-card__text {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 20px;
}

.c-area-card__text strong {
  font-weight: 700;
}

.c-area-card__arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #fff;
  transition: background .25s;
}

.c-area-card.is-active {
  background: var(--rc);
  color: #fff;
}

.c-area-card.is-active .c-area-card__arrow {
  background: var(--rc);
}

/* event card */
.c-event-card {
  display: block;
}

.c-event-card__img {
  width: 100%;
  aspect-ratio: 255 / 180;
  object-fit: cover;
  border-radius: 10px;
}

.c-event-card__body {
  display: flex;
  flex-direction: column;
  padding: 0 10px;
}

.c-event-card__date {
  margin-top: 15px;
  font-weight: 700;
  font-size: 12px;
  line-height: 14px;
  color: var(--c-green);
}

.c-event-card__title {
  margin-top: 10px;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  color: var(--c-green-dark);
}

.c-event-card__place {
  margin-top: 10px;
  font-size: 12px;
  line-height: 14px;
}

/* =========================================================
   TOP
   ========================================================= */
.p-top-hero {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  grid-template-rows: 140px 452px 1fr;
  height: 691px;
  background: url(../img/top/hero-wave.svg) center bottom / 100% 65px no-repeat, url(../img/top/hero.jpg) center top / cover no-repeat;
}

.p-top-hero__copy {
  grid-area: 1 / 1 / 4 / 2;
  position: relative;
  z-index: 2;
  padding: 248px 0 0 50px;
}

.p-top-hero__title {
  font-family: var(--f-maru);
  font-weight: 700;
  font-size: 28px;
  line-height: 41px;
  letter-spacing: 0;
  color: var(--c-green-dark);
  white-space: nowrap;
}

.p-top-hero__lead {
  margin-top: 15px;
  font-weight: 500;
  font-size: 13px;
  line-height: 22px;
  white-space: nowrap;
}

.p-top-hero__btn {
  width: 271px;
  margin-top: 30px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--c-orange);
  color: var(--c-orange);
  font-size: 13px;
  line-height: 16px;
}

.p-top-hero__slider {
  grid-area: 2 / 2;
  align-self: start;
  padding: 0 0 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px);
  mask-image: linear-gradient(90deg, transparent, #000 12px);
}

.p-top-hero__track {
  gap: 20px;
  padding: 0 20px 0 21px;
}

.p-top-hero__slider .js-marquee-track {
  --marquee-duration: 32s;
}

/* ドラッグで動かす（位置は main.js が動かすので CSS のアニメーションは止める） */
.js-marquee.is-js-driven .js-marquee-track {
  animation: none;
  will-change: transform;
}

.js-marquee-drag {
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.js-marquee-drag.is-dragging {
  cursor: grabbing;
}

.p-top-hero__more {
  grid-area: 3 / 2;
  align-self: start;
  justify-self: end;
  margin: 18px 100px 0 0;
}

.p-top-hero__walk {
  grid-area: 2 / 1 / 4 / 2;
  align-self: end;
  position: relative;
  z-index: 1;
  width: 274px;
  margin: 0 0 -5px 61px;
}

.p-top-style {
  margin-top: 60px;
}

.p-top-style__list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.p-top-style__trial {
  display: flex;
  flex-direction: column;
}

.p-top-style__label {
  margin: -25px 0 8px;
  font-family: var(--f-maru);
  font-weight: 700;
  font-size: 12px;
  line-height: 17px;
  color: var(--c-orange);
  text-align: center;
  white-space: nowrap;
}

.p-top-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 80px;
  background: var(--c-beige);
}

.p-top-steps__body {
  padding: 60px 40px 60px max(var(--gutter), calc(50vw - 540px));
}

.p-top-steps__list {
  margin-top: 50px;
}

.p-top-steps__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(460px, 100%);
  height: 36px;
  margin-top: 25px;
  border-radius: 6px;
  background: var(--c-orange);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  line-height: 16px;
}

.p-top-steps__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.p-top-city {
  margin-top: 80px;
}

.p-top-city__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 500px));
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
}

.p-top-city__row+.p-top-city__row {
  margin-top: 80px;
}

.p-top-city__row--reverse .p-top-city__figure {
  order: 2;
}

.p-top-city__figure img {
  width: 100%;
  border-radius: 10px;
  outline: 1px solid var(--c-green);
  outline-offset: -1px;
}

.p-top-city__body {
  padding: 0 45px;
}

.p-top-city__title {
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  color: var(--c-green);
}

.p-top-city__text {
  margin-top: 15px;
  font-size: 12px;
  line-height: 20px;
}

.p-top-city__note {
  margin-top: 30px;
  font-size: 10px;
  line-height: 12px;
}

.p-top-city__routes {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.p-top-city__routes>div {
  display: flex;
  gap: 20px;
}

.p-top-city__routes dd li {
  font-size: 12px;
  line-height: 20px;
}

.p-top-city__routes dd li+li {
  margin-top: 10px;
}

.c-tag--route {
  width: 106px;
  padding: 0;
  font-size: 12px;
  line-height: 14px;
}

.p-top-area {
  margin-top: 80px;
  padding: 60px 0;
  background: var(--c-beige);
}

.p-top-area__body {
  width: min(1020px, 100%);
  margin: 50px auto 0;
}

.p-top-area__body .c-area-map__maps {
  margin-top: 0;
}

.p-top-event {
  margin-top: 80px;
}

.p-top-event__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.p-top-event__more {
  margin-top: 20px;
}

.p-top-kurashi {
  margin-top: 66px;
}

.p-top-kurashi .c-gallery {
  margin-top: 50px;
}

.c-gallery__track {
  margin-left: -210px;
}

@media (max-width: 767px) {
  .l-main {
    padding-bottom: 50px;
  }

  .c-story__info {
    padding-top: 22px;
  }

  .c-gallery__item {
    width: 247.4px;
    height: 155px;
  }

  .c-gallery__item figcaption {
    height: 36px;
    padding: 12px 11px 0;
    font-size: 10px;
    line-height: 12px;
  }

  .c-style-card {
    height: 135px;
    padding-top: 14px;
    border-radius: 8px;
  }

  .c-style-card__icon {
    height: 51px;
  }

  .c-style-card__icon img {
    height: 51px;
  }

  .c-style-card__icon--telework img {
    height: 36px;
  }

  .c-style-card__icon--uturn img {
    height: 52px;
  }

  .c-style-card__icon--kigyo img {
    height: 54px;
  }

  .c-style-card__icon--secondlife img {
    height: 52px;
  }

  .c-style-card__icon--trial img {
    height: 46px;
  }

  .c-style-card__title {
    margin-top: 16px;
  }

  .c-style-card__text {
    margin-top: 4px;
  }

  .c-steps__num {
    width: 35px;
    height: 35px;
    font-size: 11.8px;
  }

  .c-steps__text--lh20 {
    line-height: 14px;
  }

  .c-steps__text {
    white-space: nowrap;
  }

  .c-area-map {
    flex-direction: column;
  }

  .c-area-map__maps {
    width: 100%;
  }

  .c-area-map__img {
    width: calc(100% + 16px);
    height: auto;
  }

  .c-area-map__list {
    width: 100%;
    gap: 15px;
    margin-top: 25px;
  }

  .c-area-card {
    padding: 0 16px;
    border-radius: 8.2px;
  }

  .c-area-card__text {
    margin-top: 5px;
    font-size: 10px;
    line-height: 16.3px;
  }

  .c-area-card__arrow {
    width: 33px;
    height: 33px;
  }

  .c-area-card__arrow svg {
    width: 10px;
    height: 10px;
  }

  .c-event-card__img {
    aspect-ratio: 345 / 244;
  }

  .p-top-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 100px 450px 110px auto;
    height: auto;
    background: url(../img/top/hero-wave-sp.svg) center 622px / 100% 38px no-repeat, url(../img/top/hero-sp.jpg) center top / 100% 660px no-repeat;
  }

  .p-top-hero__copy {
    grid-area: 4 / 1;
    padding: 67px 0 0;
    text-align: center;
  }

  .p-top-hero__lead {
    margin-top: 15px;
    font-weight: 400;
  }

  .p-top-hero__btn {
    margin-top: 30px;
    background: var(--c-orange);
    box-shadow: none;
    color: #fff;
  }

  .p-top-hero__slider {
    grid-area: 2 / 1;
    padding: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .p-top-hero__track {
    padding: 0 20px 0 15px;
  }

  .p-top-hero__more {
    grid-area: 3 / 1;
    margin: 30px 15px 0 0;
    gap: 15px;
    font-size: 12px;
    line-height: 14px;
  }

  .p-top-hero__more .c-more__circle {
    width: 29px;
    height: 29px;
    border-width: .64px;
  }

  .p-top-hero__more .c-more__circle svg {
    width: 9px;
    height: 9px;
  }

  .p-top-hero__walk {
    grid-area: 3 / 1;
    align-self: start;
    width: 165px;
    margin: 40px 0 0 15px;
  }

  .p-top-style {
    margin-top: 60px;
  }

  .p-top-style__title {
    text-align: center;
  }

  .p-top-style__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-top: 25px;
  }

  .p-top-style__label {
    margin: -9px 0 -8px;
    position: relative;
    z-index: 1;
  }

  .p-top-steps {
    display: block;
    margin-top: 60px;
  }

  .p-top-steps__body {
    padding: 30px 15px 0;
  }

  .p-top-steps__title {
    text-align: center;
  }

  .p-top-steps__list {
    margin-top: 25px;
  }

  .p-top-steps__list .c-steps__item {
    min-height: 36px;
  }

  .p-top-steps__btn {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 50px;
    margin-top: 30px;
    border-radius: 4.5px;
    font-size: 12px;
    line-height: 14px;
  }

  .p-top-steps__photo {
    display: block;
    margin-top: -50px;
  }

  .p-top-steps__photo img {
    height: 244px;
  }

  .p-top-city {
    margin-top: 50px;
  }

  .p-top-city__row,
  .p-top-city__row+.p-top-city__row {
    display: block;
    margin-top: 25px;
  }

  .p-top-city__row+.p-top-city__row {
    margin-top: 50px;
  }

  .p-top-city__body {
    padding: 0;
    margin-top: 20px;
  }

  .p-top-city__title {
    font-size: 14px;
    line-height: 17px;
  }

  .p-top-city__text {
    margin-top: 10px;
  }

  .p-top-city__note {
    margin-top: 20px;
  }

  .p-top-city__routes {
    margin-top: 20px;
  }

  .p-top-area {
    margin-top: 50px;
    padding: 30px 0;
  }

  .p-top-area__body {
    margin-top: 25px;
  }

  .p-top-area__body .c-area-map__maps {
    margin-top: 0;
  }

  .p-top-area .c-area-card {
    --active: 1;
    background: var(--rc);
    color: #fff;
  }

  .p-top-area .c-area-card__arrow {
    background: var(--rc);
    border-width: .82px;
  }

  .p-top-event {
    margin-top: 50px;
  }

  .p-top-event__list {
    grid-template-columns: 1fr;
    margin-top: 25px;
  }

  .p-top-event__title {
    white-space: nowrap;
  }

  .p-top-kurashi {
    margin-top: 50px;
  }

  .p-top-kurashi .c-gallery {
    margin-top: 25px;
  }

  .c-gallery__track {
    margin-left: -431px;
  }
}

/* video modal */
.c-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 30, 25, .82);
}

.c-modal__box {
  display: grid;
  height: min(88vh, 760px);
  aspect-ratio: 9 / 16;
  max-width: 92vw;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}

.c-modal__box>* {
  grid-area: 1 / 1;
}

.c-modal__body {
  width: 100%;
  height: 100%;
}

.c-modal__body video,
.c-modal__body iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.c-modal__poster {
  display: grid;
  width: 100%;
  height: 100%;
  background: #333;
}

.c-modal__poster>* {
  grid-area: 1 / 1;
}

.c-modal__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-modal__poster span {
  place-self: end center;
  margin-bottom: 40px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
}

.c-modal__close {
  place-self: start end;
  z-index: 2;
  margin: 14px 14px 0 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--c-green-dark);
  font-size: 26px;
  line-height: 44px;
}

.c-modal__cap {
  align-self: start;
  z-index: 1;
  padding: 16px 64px 30px 18px;
  background: linear-gradient(rgba(0, 0, 0, .55), transparent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  pointer-events: none;
}

/* =========================================================
   Sub pages: common
   ========================================================= */
body {
  --theme-dark: var(--c-green-dark);
  --theme-light: var(--c-green);
}

.t-blue {
  --theme-dark: var(--c-blue-dark);
  --theme-light: var(--c-blue);
}

.t-pink {
  --theme-dark: var(--c-pink-dark);
  --theme-light: var(--c-pink);
}

.t-yellow {
  --theme-dark: var(--c-yellow-dark);
  --theme-light: var(--c-yellow);
}

.c-heading--theme {
  color: var(--theme-dark);
}

.c-more--theme {
  color: var(--theme-dark);
}

.c-page-head {
  padding-top: 40px;
  text-align: center;
}

.c-page-head__title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.c-page-head__en {
  font-family: var(--f-en);
  font-weight: 600;
  font-size: 80px;
  line-height: 106px;
  letter-spacing: .1em;
  color: var(--theme-dark);
  margin-right: -.1em;
}

.c-page-head__ja {
  font-family: var(--f-maru);
  font-weight: 700;
  font-size: 24px;
  line-height: 35px;
  letter-spacing: .05em;
  color: var(--theme-light);
}

.c-page-head__lead {
  margin-top: 20px;
  font-size: 14px;
  line-height: 22px;
}

.c-page-visual {
  display: block;
  margin-top: 40px;
}

.c-page-visual img {
  width: 100%;
}

.c-tag--theme {
  border-color: var(--theme-light);
  color: var(--theme-light);
}

/* voice (interview) card */
.c-voice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 50px;
}

/* 高さは最小値だけ決め、中身が多いときはカードを伸ばす。「全文を読む」の下の余白（本文の下の padding）を常に同じにするため */
.c-voice-card {
  display: flex;
  height: 100%;
  min-height: 200px;
  border-radius: 10px;
  background: var(--c-beige);
  overflow: hidden;
}

/* 縦長の写真がカードの高さを押し広げないように、写真は枠に重ねて置く */
.c-voice-card__img {
  position: relative;
  flex: none;
  width: 200px;
}

.c-voice-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-voice-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
  padding: 20px 30px 20px;
}

.c-voice-card__name {
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  color: var(--theme-dark);
}

.c-voice-card__from {
  margin-top: 5px;
  font-size: 12px;
  line-height: 14px;
}

.c-voice-card__tag {
  flex: none;
  margin-top: 10px;
  border-color: var(--theme-light);
  color: var(--theme-light);
  padding: 0 14px;
}

/* タグが複数あるときは横に並べ、幅が足りなければ折り返す。カードの高さが足りなくても縮ませない */
.c-voice-card__tags {
  display: flex;
  flex-wrap: wrap;
  flex: none;
  gap: 5px;
  max-width: 100%;
  margin-top: 10px;
}

.c-voice-card__tags .c-voice-card__tag {
  margin-top: 0;
}

.c-voice-card__quote {
  max-width: 270px;
  margin-top: 20px;
  font-size: 12px;
  line-height: 14px;
}

.c-voice-card__more {
  align-self: flex-end;
  margin-top: auto;
  /* 上の文章との空きを最低 20px にする。余裕があるときは margin-top: auto で下に寄る */
  padding-top: 20px;
  font-weight: 700;
  font-size: 12px;
  line-height: 14px;
  color: var(--theme-light);
}

/* link cards (お試し移住住宅 / 空き家バンク) */
.c-link-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 520px));
  justify-content: space-between;
  gap: 40px;
}

.c-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 250px;
  padding-top: 40px;
  border-radius: 10px;
  background: var(--c-beige);
  text-align: center;
}

.c-link-card__title {
  font-family: var(--f-maru);
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  color: var(--c-green-dark);
}

.c-link-card__text {
  margin-top: 20px;
  font-size: 12px;
  line-height: 20px;
}

.c-link-card .c-btn {
  margin-top: auto;
  margin-bottom: 40px;
  font-size: 13px;
}

/* =========================================================
   AREA
   ========================================================= */
.p-area-map {
  margin-top: 40px;
}

.p-area-map__body {
  width: min(1020px, 100%);
  margin: 50px auto 0;
}

.c-area-card--page {
  background: var(--c-beige);
}

.c-area-card--page.is-active {
  background: var(--rc);
  color: #fff;
  box-shadow: 0 0 7px rgba(0, 0, 0, .25), inset 0 0 0 2px #fff;
}

.p-area-env {
  margin-top: 80px;
}

.p-area-env__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.p-area-env__item {
  display: flex;
  align-items: center;
  gap: 41px;
  height: 120px;
  padding-left: 40px;
  padding-right: 10px;
  border-radius: 10px;
  background: var(--c-beige);
}

.p-area-env__item img {
  flex: none;
  width: 50px;
}

.p-area-env__title {
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  color: var(--theme-light);
}

.p-area-env__text {
  margin-top: 10px;
  font-size: 12px;
  line-height: 14px;
}

.p-area-voice {
  margin-top: 80px;
}

.p-area-voice__more {
  margin-top: 30px;
}

.p-area-links {
  margin-top: 80px;
}

.p-area-kurashi {
  margin-top: 80px;
}

.p-area-kurashi .c-gallery {
  margin-top: 50px;
}

@media (max-width: 767px) {
  .c-page-head {
    padding-top: 30px;
  }

  .c-page-head__en {
    font-size: 45px;
    line-height: 60px;
  }

  .c-page-head__ja {
    margin-top: 5px;
    font-size: 18px;
    line-height: 26px;
  }

  .c-page-head__lead {
    margin-top: 23px;
    font-size: 12px;
    line-height: 22px;
  }

  .c-page-head--ja20 .c-page-head__ja {
    font-size: 20px;
  }

  .c-page-visual {
    margin-top: 30px;
  }

  .c-voice-list {
    grid-template-columns: 1fr;
    margin-top: 25px;
  }

  .c-voice-card {
    flex-direction: column;
    min-height: 390px;
  }

  .c-voice-card__img {
    width: 100%;
    height: 200px;
  }

  .c-voice-card__body {
    padding: 20px 20px 20px;
  }

  .c-voice-card__quote {
    max-width: none;
  }

  .c-link-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .c-link-card__text {
    margin-top: 20px;
    padding: 0 20px;
  }

  .c-link-card .c-btn {
    width: 275px;
  }

  .p-area-map {
    margin-top: 30px;
  }

  .p-area-map__body {
    margin-top: 25px;
  }

  .p-area-env {
    margin-top: 50px;
  }

  .p-area-env__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-top: 25px;
  }

  .p-area-env__item {
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    height: 135px;
    padding: 28px 0 0;
    border-radius: 8px;
    text-align: center;
  }

  .p-area-env__item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    object-position: center top;
  }

  .p-area-env__item div {
    margin-top: 17px;
  }

  .p-area-env__title {
    font-size: 12px;
    line-height: 14px;
    white-space: nowrap;
  }

  .p-area-env__text {
    margin-top: 8px;
    font-size: 11px;
    line-height: 13px;
  }

  .p-area-voice {
    margin-top: 50px;
  }

  .p-area-voice__more {
    margin-top: 20px;
  }

  .p-area-links {
    margin-top: 50px;
  }

  .p-area-kurashi {
    margin-top: 50px;
  }

  .p-area-kurashi .c-gallery {
    margin-top: 25px;
  }
}

/* =========================================================
   LIFE
   ========================================================= */
.p-life-style {
  margin-top: 40px;
}

.p-life-style__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.c-life-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  column-gap: 20px;
  height: 163px;
  padding: 25px 30px 0;
  border-radius: 10px;
  background: var(--c-beige);
}

.c-life-card__head {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.c-life-card__icon {
  flex: none;
  width: 50px;
  height: 50px;
}

.c-life-card__head>span {
  padding-top: 3px;
}

.c-life-card__title {
  display: block;
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
  color: var(--c-green-dark);
}

.c-life-card__sub {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 14px;
  color: var(--c-green);
}

.c-life-card__text {
  grid-column: 1;
  grid-row: 2;
  display: block;
  max-width: 373px;
  margin-top: 23px;
  font-size: 12px;
  line-height: 20px;
}

.c-life-card__arrow {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-top: -25px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #fff;
}

@media (max-width: 767px) {
  .p-life-style {
    margin-top: 30px;
  }

  .p-life-style__list {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 25px;
  }

  .c-life-card {
    width: 325px;
    max-width: calc(100% - 20px);
    height: 180px;
    padding: 25px 15px 0;
    column-gap: 0;
  }

  .c-life-card__text {
    max-width: 260px;
    margin-top: 20px;
  }

  .c-life-card__arrow {
    align-self: start;
    margin: 45px -25px 0 0;
  }
}

/* checklist */
.c-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 460px));
  justify-content: center;
  gap: 60px;
  margin-top: 50px;
}

.c-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 0 0 21px 15px;
  font-size: 14px;
  line-height: 17px;
  background: linear-gradient(90deg, var(--c-green) 6px, transparent 6px) 0 100% / 12px 2px repeat-x;
}

.c-checklist li+li {
  margin-top: 19px;
}

.c-checklist .c-icon--check {
  width: 20px;
  height: 13px;
  margin-top: 2px;
  color: var(--c-green-dark);
}

.c-checklist .c-icon--check path {
  stroke-width: 2;
}

/* reasons */
.c-reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 65px;
}

.c-reason {
  height: 177px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--c-beige);
}

.c-reason__num {
  display: block;
  margin-top: -45px;
  font-family: var(--f-maru);
  font-weight: 500;
  font-size: 64px;
  line-height: 93px;
  letter-spacing: 0;
  color: var(--c-green);
}

.c-reason__title {
  margin-top: 5px;
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
  color: var(--c-green-dark);
}

.c-reason__text {
  margin-top: 15px;
  font-size: 12px;
  line-height: 20px;
}

/* faq */
.c-faq-list {
  display: grid;
  gap: 20px;
  margin-top: 50px;
}

.c-faq {
  border-radius: 10px;
  background: var(--c-beige);
}

.c-faq__q {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
  cursor: pointer;
  list-style: none;
}

.c-faq__q::-webkit-details-marker {
  display: none;
}

.c-faq__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-family: var(--f-maru);
  font-weight: 700;
  font-size: 20px;
  line-height: 29px;
}

.c-faq__mark--q {
  background: var(--c-green-dark);
  color: #fff;
}

.c-faq__mark--a {
  box-shadow: inset 0 0 0 1px var(--c-green);
  background: #fff;
  color: var(--c-green);
}

.c-faq__q .c-faq__text {
  flex: 1;
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
  color: var(--c-green-dark);
}

.c-faq__a {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: -10px;
  padding: 0 30px 30px;
}

.c-faq__a .c-faq__text {
  font-size: 16px;
  line-height: 19px;
}

/* 回答の中のリンク：ふつうのウェブと同じく、色と下線でリンクと分かるようにする（全体の a は下線なし・文字色のまま） */
.c-faq__a .c-faq__text a {
  color: var(--c-green-dark);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  /* 長い URL がスマホで枠からはみ出さないように折り返す */
  overflow-wrap: anywhere;
}

.c-faq__a .c-faq__text a:hover,
.c-faq__a .c-faq__text a:focus-visible {
  text-decoration: none;
}

/* 外のサイト（新しいタブで開く）には印を付ける */
.c-faq__a .c-faq__text a[target="_blank"]::after {
  content: "↗";
  margin-left: 0.15em;
  font-size: 0.9em;
}

.c-faq__toggle {
  display: grid;
  flex: none;
  width: 25px;
  height: 25px;
}

.c-faq__toggle::before,
.c-faq__toggle::after {
  content: "";
  grid-area: 1 / 1;
  align-self: center;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--c-green);
}

.c-faq__toggle::after {
  transform: rotate(90deg);
  transition: transform .2s;
}

.c-faq[open] .c-faq__toggle::after {
  transform: rotate(0);
}

/* support boxes */
.c-support-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 520px));
  justify-content: space-between;
  gap: 20px 40px;
  margin-top: 50px;
}

.c-support-box {
  height: 91px;
  padding: 20px 30px 0;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--c-green);
}

.c-support-box__title {
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
  color: var(--c-green-dark);
}

.c-support-box__text {
  margin-top: 15px;
  font-size: 14px;
  line-height: 17px;
}

.c-support-list {
  padding-bottom: 8px;
}

.c-support-list__more {
  align-self: end;
  justify-self: end;
  transform: translateY(8px);
}

.c-text-link {
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  color: var(--c-green);
}

/* =========================================================
   KOSODATE
   ========================================================= */
.p-kosodate-for {
  margin-top: 40px;
}

.p-kosodate-reason {
  margin-top: 80px;
}

.p-kosodate-voice {
  margin-top: 80px;
}

.p-kosodate-voice__more {
  margin-top: 30px;
}

.p-kosodate-voice__empty {
  margin-top: 50px;
  text-align: center;
}

.p-kosodate-faq {
  margin-top: 80px;
}

.p-kosodate-support {
  margin-top: 80px;
}

.c-voice-card__tag--short {
  width: 82px;
  padding: 0;
}

@media (max-width: 767px) {
  .c-checklist {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 25px;
  }

  .c-checklist ul+ul {
    margin-top: 21px;
  }

  .c-checklist li {
    gap: 12px;
    padding: 0 0 23px 10px;
    font-size: 11px;
    line-height: 13px;
  }

  .c-checklist li+li {
    margin-top: 21px;
  }

  .c-checklist .c-icon--check {
    width: 13px;
    height: 9px;
    margin-top: 2px;
  }

  .c-reasons {
    grid-template-columns: 1fr;
    gap: 55px;
    margin-top: 55px;
  }

  .c-faq-list {
    gap: 15px;
    margin-top: 25px;
  }

  .c-faq__q {
    gap: 10px;
    padding: 15px;
  }

  .c-faq__mark {
    width: 30px;
    height: 30px;
    font-size: 15px;
    line-height: 22px;
  }

  .c-faq__mark--a {
    box-shadow: inset 0 0 0 .75px var(--c-green);
  }

  .c-faq__q .c-faq__text {
    margin-right: -5px;
    font-size: 12px;
    line-height: 14px;
  }

  .c-faq__toggle {
    width: 15px;
    height: 15px;
  }

  .c-faq__a {
    align-items: flex-start;
    gap: 10px;
    margin-top: 5px;
    padding: 0 40px 35px 15px;
  }

  .c-faq__a .c-faq__text {
    font-size: 12px;
    line-height: 20px;
  }

  .c-support-list {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 25px;
  }

  .c-support-box {
    height: 86px;
    padding: 20px 15px 0;
  }

  .c-support-box__title {
    font-size: 14px;
    line-height: 17px;
  }

  .c-support-box__text {
    margin-top: 15px;
    font-size: 12px;
    line-height: 14px;
  }

  .c-support-list {
    padding-bottom: 0;
  }

  .c-support-list__more {
    margin: 5px 0 0;
    transform: none;
  }

  .c-text-link {
    font-size: 12px;
    line-height: 14px;
  }

  .p-kosodate-for {
    margin-top: 30px;
  }

  .p-kosodate-reason {
    margin-top: 50px;
  }

  .p-kosodate-reason .c-reasons {
    margin-top: 55px;
  }

  .p-kosodate-voice {
    margin-top: 50px;
  }

  .p-kosodate-voice .c-voice-list {
    margin-top: 30px;
  }

  .p-kosodate-voice__empty {
    margin-top: 30px;
  }

  .p-kosodate-voice__more {
    margin-top: 20px;
  }

  .p-kosodate-faq {
    margin-top: 50px;
  }

  .p-kosodate-support {
    margin-top: 50px;
  }
}

/* =========================================================
   INTERVIEW (list)
   ========================================================= */
.c-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.c-filter__btn {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 20px;
  border-radius: 50px;
  background: var(--c-bg);
  box-shadow: inset 0 0 0 1px var(--c-green);
  color: var(--c-green);
  font-weight: 700;
  font-size: 12px;
  line-height: 14px;
}

.c-filter__btn.is-active {
  background: var(--c-green-dark);
  box-shadow: none;
  color: #fff;
}

.c-filter-select {
  justify-content: flex-end;
}

.c-filter-select__select {
  appearance: none;
  -webkit-appearance: none;
  height: 25px;
  padding: 0 25px 0 15px;
  border: 0;
  border-radius: 50px;
  background: var(--c-green-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='4'%3E%3Cpath d='M.5.5l3.5 3 3.5-3' fill='none' stroke='%23fff'/%3E%3C/svg%3E") right 7px center / 8px 4px no-repeat;
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  line-height: 12px;
  cursor: pointer;
}

.p-interview-list {
  margin-top: 40px;
}

.p-interview-list__items {
  margin-top: 30px;
}

.p-interview-list__items [hidden] {
  display: none;
}

.p-interview-movie {
  margin-top: 80px;
}

.c-movie-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 40px;
}

.c-movie-list>* {
  grid-area: 1 / 1;
}

.c-movie-list__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 253px));
  justify-content: space-between;
  gap: 20px;
}

.c-movie {
  display: grid;
  width: 100%;
  max-width: 253px;
  height: 450px;
  overflow: hidden;
  border-radius: 10px;
}

.c-movie img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-movie:hover {
  opacity: 1;
}

.c-movie:hover .c-story__play {
  background: rgba(255, 255, 255, .7);
}

/* トップのカードは白い縁取りの内側に帯を寄せているが、こちらは縁取りが無いので端まで付ける */
.c-movie .c-story__info {
  margin: 0;
  text-align: left;
}

.c-movie-list__nav {
  align-self: center;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid var(--c-green-dark);
  border-radius: 50%;
  background: #fff;
  color: var(--c-green-dark);
}

.c-movie-list__nav--prev {
  justify-self: start;
  margin-left: 30px;
}

.c-movie-list__nav--prev svg {
  transform: scaleX(-1);
}

.c-movie-list__nav--next {
  justify-self: end;
}

@media (max-width: 767px) {
  .c-filter-select {
    display: flex;
  }

  .p-interview-list {
    margin-top: 30px;
  }

  .p-interview-list__items {
    margin-top: 25px;
  }

  .p-interview-movie {
    width: 100%;
    margin-top: 50px;
  }

  .c-movie-list {
    margin-top: 25px;
  }

  .c-movie-list__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 0 30px;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 30px;
    scrollbar-width: none;
  }

  .c-movie-list__track::-webkit-scrollbar {
    display: none;
  }

  .c-movie-list__item {
    flex: none;
    scroll-snap-align: start;
  }

  .c-movie-list__nav--next {
    margin-right: 15px;
  }
}

/* =========================================================
   INTERVIEW DETAIL (article)
   ========================================================= */
.c-article {
  margin-top: 58px;
  padding: 60px 100px;
  border-radius: 10px;
  background: var(--c-beige);
}

.c-article__main-img img {
  width: 100%;
}

.c-article__inner {
  padding: 0 20px;
}

.c-article__header {
  margin-top: 40px;
  padding-bottom: 40px;
  background: linear-gradient(90deg, var(--c-green) 6px, transparent 6px) -20px 100% / 12px 2px repeat-x;
  margin-inline: -20px;
  padding-inline: 20px;
}

.c-article__title {
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: var(--c-green-dark);
}

.c-article__name {
  margin-top: 15px;
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
}

.c-article__profile {
  display: grid;
  gap: 20px;
  margin-top: 40px;
  font-size: 14px;
  line-height: 17px;
}

.c-article__profile div {
  display: grid;
  grid-template-columns: 177px 1fr;
}

.c-article__profile dt {
  font-weight: 700;
  color: var(--c-green-dark);
}

.c-article__body {
  padding-top: 39px;
}

.c-article__body h2 {
  font-family: var(--f-maru);
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  color: var(--c-green);
}

.c-article__body p {
  margin-top: 20px;
  font-size: 14px;
  line-height: 28px;
}

.c-article__body p+h2,
.c-article__body figure+h2 {
  margin-top: 30px;
}

.c-article__figure, .wp-block-image {
  margin-top: 20px;
}

.wp-block-image img {
  width: 100%;
}

.c-article__placeholder {
  aspect-ratio: 840 / 433;
  background: #c4c4c4;
}

.c-post-nav {
  display: grid;
  /* 記事のタイトルが長くても「一覧に戻る」との間を 40px 空け、タイトルは折り返す */
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: 40px;
  align-items: center;
  margin-top: 30px;
  color: var(--c-green-dark);
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
}

.c-post-nav a {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* タイトルが長くても丸いボタンを縮ませない（正円のまま・タイトルとの間は gap の 20px） */
.c-post-nav .c-more__circle {
  flex: none;
}

.c-post-nav__list {
  white-space: nowrap;
}

/* 前後の記事のタイトルは2行まで。超える分は末尾を「…」で省略する */
.c-post-nav__label {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.c-post-nav__prev .c-more__circle svg {
  transform: scaleX(-1);
}

.c-post-nav__next {
  justify-self: end;
}

@media (max-width: 767px) {
  .c-article {
    width: calc(100% - 30px);
    margin-top: 50px;
    padding: 18px 15px 40px;
  }

  .c-article__inner {
    padding: 0 10px;
  }

  .c-article__header {
    margin-top: 20px;
    padding-bottom: 30px;
    margin-inline: -10px;
    padding-inline: 10px;
    background-position: -10px 100%;
  }

  .c-article__title {
    font-size: 14px;
    line-height: 23px;
  }

  .c-article__name {
    margin-top: 10px;
    font-size: 12px;
    line-height: 14px;
  }

  .c-article__profile {
    margin-top: 30px;
    font-size: 12px;
    line-height: 14px;
  }

  .c-article__profile div {
    grid-template-columns: 135px 1fr;
  }

  .c-article__body {
    padding-top: 29px;
  }

  .c-article__body h2 {
    font-size: 14px;
    line-height: 28px;
  }

  .c-article__body p {
    margin-top: 10px;
    font-size: 12px;
    line-height: 24px;
  }

  .c-article__figure {
    margin-top: 10px;
  }

  .c-article__placeholder {
    aspect-ratio: 295 / 199;
  }

  .c-post-nav {
    margin-top: 20px;
    padding: 0 15px;
    width: 100%;
  }
}

/* =========================================================
   MEET
   ========================================================= */
.c-checklist--meet {
  grid-template-columns: repeat(2, minmax(0, 400px));
  gap: 120px;
  margin-top: 40px;
}

.p-meet-topics {
  margin-top: 80px;
}

.p-meet-topics__catch {
  margin-top: 80px;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
}

.p-meet-topics__photo {
  display: block;
  width: min(920px, 100%);
  margin: 30px auto 0;
}

.p-meet-topics__photo img {
  width: 100%;
  border-radius: 10px;
}

.p-meet-methods {
  margin-top: 80px;
}

.c-method-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.c-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 164px;
  padding-top: 20px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--c-green);
  text-align: center;
}

.c-method img {
  width: 50px;
  height: 50px;
}

.c-method__title {
  margin-top: 20px;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  color: var(--c-green-dark);
  white-space: nowrap;
}

.c-method__text {
  margin-top: 9px;
  font-size: 12px;
  line-height: 14px;
}

.p-meet-form {
  width: min(var(--inner), calc(100% - var(--gutter) * 2));
  margin: 80px auto 0;
}

.p-meet-form__box {
  padding: 60px 100px;
  border-radius: 20px;
  background: var(--c-beige);
}

.p-meet-form__lead {
  margin-top: 20px;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
}

/* form */
.c-form {
  margin-top: 30px;
}

.c-form__row+.c-form__row {
  margin-top: 30px;
}

.c-form__fieldset {
  margin-inline: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.c-form__label {
  display: block;
  padding: 0;
  font-weight: 700;
  font-size: 14px;
  line-height: 22px;
  color: var(--c-green-dark);
}

.c-form__input {
  display: block;
  width: 100%;
  height: 50px;
  margin-top: 10px;
  padding: 0 15px;
  border: 1px solid var(--c-text);
  border-radius: 10px;
  background: var(--c-bg);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: .02em;
}

.c-form__textarea {
  height: 135px;
  padding: 12px 15px;
  resize: vertical;
}

.c-form__input:focus {
  outline: 2px solid var(--c-green);
  outline-offset: 0;
}

.c-form__choices {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.c-form__choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-size: 12px;
  line-height: 15px;
  cursor: pointer;
}

.c-form__choice input {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-items: center;
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid var(--c-text);
  border-radius: 3px;
  background: var(--c-bg);
  cursor: pointer;
}

.c-form__choice input::after {
  content: "";
  width: 10px;
  height: 6px;
  margin-top: -3px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  opacity: 0;
}

.c-form__choice input:checked {
  border-color: var(--c-green-dark);
  background: var(--c-green-dark);
}

.c-form__choice input:checked::after {
  opacity: 1;
}

.c-form__choice input:focus-visible {
  outline: 2px solid var(--c-orange);
  outline-offset: 2px;
}

.c-form__error {
  margin-top: 6px;
  font-size: 12px;
  line-height: 18px;
  color: #d9502b;
}

.c-form .is-invalid {
  border-color: #d9502b;
}

.c-form__hp {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.c-form__submit {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  margin-top: 40px;
}

.c-form__button {
  width: 271px;
  font-size: 16px;
  line-height: 19px;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

.c-form__button[disabled] {
  opacity: .6;
  cursor: wait;
}

.c-form__status {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  color: var(--c-green-dark);
}

.c-form__status.is-error {
  color: #d9502b;
}

@media (max-width: 767px) {
  .c-checklist--meet {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 30px;
  }

  .c-checklist--meet ul+ul {
    margin-top: 21px;
  }

  .c-checklist--meet li {
    gap: 20px;
    padding: 0 0 22px 30px;
    font-size: 12px;
    line-height: 14px;
  }

  .c-checklist--meet li+li {
    margin-top: 21px;
  }

  .c-checklist--meet .c-icon--check {
    width: 15px;
    height: 10px;
  }

  .p-meet-topics {
    margin-top: 50px;
  }

  .p-meet-topics__catch {
    margin-top: 50px;
    font-size: 16px;
    line-height: 19px;
  }

  .p-meet-topics__photo {
    margin-top: 25px;
  }

  .p-meet-methods {
    margin-top: 50px;
  }

  .c-method-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-top: 25px;
  }

  .c-method {
    height: 135px;
    padding-top: 17px;
    border-radius: 8px;
  }

  .c-method img {
    width: 40px;
    height: 40px;
  }

  .c-method__title {
    margin-top: 17px;
  }

  .c-method__text {
    margin-top: 4px;
  }

  .p-meet-form {
    width: 100%;
    margin-top: 60px;
  }

  .p-meet-form__box {
    padding: 30px 15px;
    border-radius: 0;
  }

  .p-meet-form__lead {
    margin-top: 15px;
    font-size: 12px;
  }

  .c-form {
    margin-top: 25px;
  }

  .c-form__submit {
    margin-top: 30px;
  }
}

/* =========================================================
   EVENT
   ========================================================= */
.c-filter--left {
  justify-content: flex-start;
}

.p-event-list {
  margin-top: 40px;
}

.c-event-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

/* 横に並ぶ2枚は、高い方に合わせて同じ高さにする（低い方は紹介文の下が広くあく） */
.c-event-rows > li > a {
  display: block;
  height: 100%;
}

.c-event-row {
  display: flex;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: var(--c-beige);
}

.c-event-row__img {
  position: relative;
  flex: none;
  width: 200px;
}

/* 写真の縦横比でパネルの高さが決まらないよう、写真はパネルの高さに合わせて敷く（パネルの高さは本文で決まる） */
.c-event-row__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 紹介文（紹介文が無ければタイトル）の下の空きを常に 20px にする */
.c-event-row__body {
  flex: 1;
  min-width: 0;
  padding: 20px 30px 20px;
}

.c-event-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 5px;
  margin-top: 10px;
}

/* 並びは 日付 → タイトル → タグ（タグは複数なら横並び・折り返す） */
.c-event-row__date {
  display: block;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  color: var(--c-green);
}

.c-event-row__tag {
  flex: none;
  padding: 0 15px;
}

.c-event-row__date + .c-event-row__title {
  margin-top: 10px;
}

.c-event-row__title {
  max-width: 270px;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  color: var(--c-green-dark);
}

.c-event-row__info {
  margin-top: 21px;
  font-size: 12px;
  line-height: 20px;
}

@media (max-width: 767px) {
  .p-event-list {
    margin-top: 30px;
  }

  .c-filter {
    gap: 7px;
  }

  .c-filter--left {
    flex-wrap: nowrap;
  }

  .c-filter--left .c-filter__btn {
    padding: 0 11.6px;
    white-space: nowrap;
  }

  .c-filter__btn {
    height: 25px;
    padding: 0 12px;
    font-size: 10px;
    line-height: 12px;
    box-shadow: inset 0 0 0 .86px var(--c-green);
  }

  .c-event-rows {
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .c-event-row {
    flex-direction: column;
  }

  .c-event-row__img {
    width: 100%;
    height: 200px;
  }

  .c-event-row__body {
    padding: 20px 20px 20px;
  }

  .c-event-row__title {
    max-width: none;
  }

  .c-event-row__info {
    margin-top: 20px;
  }
}

/* =========================================================
   HOUSE
   ========================================================= */
.p-house-sec {
  margin-top: 80px;
}

.p-house-sec:first-of-type {
  margin-top: 40px;
}

.c-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 500px));
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
}

.c-media__img img {
  width: 100%;
  border-radius: 10px;
}

.c-media__body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.c-media__text {
  width: min(410px, 100%);
  font-size: 12px;
  line-height: 20px;
}

.c-media__body .c-btn {
  margin-top: 40px;
  font-size: 13px;
  line-height: 16px;
}

.c-media--reverse .c-media__img {
  order: 2;
}

/* 支援制度の一覧（HOUSE / TRIAL） */
.c-benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 440px));
  justify-content: center;
  gap: 15px 40px;
}

.c-benefit-list--col {
  grid-template-rows: repeat(2, 60px);
  grid-auto-flow: column;
}

.c-benefit {
  display: grid;
  place-items: center;
  height: 60px;
  padding: 0 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--c-green);
  color: var(--c-green);
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.c-benefit--plain {
  box-shadow: none;
}

.p-house-support .c-benefit-list {
  margin-top: 50px;
}

.p-house-support__more {
  width: min(920px, 100%);
  margin: 20px auto 0;
  text-align: right;
}

@media (max-width: 767px) {
  .p-house-sec {
    margin-top: 50px;
  }

  .p-house-sec:first-of-type {
    margin-top: 30px;
  }

  .p-house-support {
    margin-top: 90px;
  }

  .c-media {
    grid-template-columns: 1fr;
    margin-top: 25px;
  }

  .c-media--reverse .c-media__img {
    order: 0;
  }

  .c-media__img img {
    aspect-ratio: 345 / 205;
    object-fit: cover;
  }

  .c-media__text {
    width: 100%;
    margin-top: 20px;
  }

  .c-media__body .c-btn {
    margin-top: 30px;
  }

  .c-benefit-list {
    grid-template-columns: 1fr;
  }

  .c-benefit-list--col {
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .p-house-support .c-benefit-list {
    margin-top: 25px;
  }

  .p-house-support__more {
    margin-top: 20px;
  }
}

/* =========================================================
   WORK
   ========================================================= */
.p-work-nav {
  margin-top: 80px;
}

.p-work-nav__list {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.p-work-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
  height: 120px;
  padding-top: 30px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--c-green);
  color: var(--c-green);
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
  text-align: center;
}

.p-work-nav__link img {
  width: auto;
  height: 32px;
}

.p-work-nav__label {
  margin-top: 16px;
}

.p-work-nav__label--2line {
  margin-top: 6px;
}

.p-work-sec {
  margin-top: 50px;
}

.p-work-sec__title {
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 30px;
  border-radius: 10px;
  background: var(--c-green);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
}

.c-link-table__row {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  padding: 25px 30px;
}

.c-link-table__row:nth-child(even) {
  background: var(--c-beige);
}

.c-link-table dt {
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: var(--c-green-dark);
}

.c-link-table dt a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.c-link-table dd {
  font-size: 14px;
  line-height: 20px;
}

@media (max-width: 767px) {

  .p-work .c-page-head__ja,
  .p-meet .c-page-head__ja {
    margin-top: 7px;
  }

  .p-work-nav {
    margin-top: 40px;
  }

  .p-work-nav__list {
    gap: 15px;
  }

  .p-work-nav__link {
    width: 65px;
    height: 65px;
    padding-top: 16px;
    box-shadow: inset 0 0 0 .55px var(--c-green);
    font-size: 8.67px;
    line-height: 10px;
  }

  .p-work-nav__link img {
    height: 17px;
  }

  .p-work-nav__label {
    margin-top: 9px;
  }

  .p-work-nav__label--2line {
    margin-top: 4px;
  }

  .p-work-sec {
    margin-top: 30px;
  }

  .p-work-sec__title {
    height: 50px;
    padding: 0 15px;
    font-size: 14px;
    line-height: 17px;
  }

  .c-link-table__row {
    display: block;
    padding: 20px 15px;
  }

  .c-link-table dt {
    font-size: 14px;
    line-height: 17px;
  }

  .c-link-table dd {
    margin-top: 15px;
    font-size: 12px;
    line-height: 20px;
  }
}

/* =========================================================
   TRIAL
   ========================================================= */
.c-trial-steps {
  margin-top: 43px;
  margin-bottom: 82px;
}

.c-trial-steps>li+li::before {
  content: "";
  display: block;
  width: 2px;
  height: 98px;
  margin-left: calc(9.26% + 60px);
  background: linear-gradient(var(--c-green) 50%, transparent 50%) 0 4px / 2px 12px repeat-y;
}

.c-trial-step {
  padding: 0 9.26% 30px;
  border-radius: 10px;
  background: var(--c-beige);
}

.c-trial-step--orange {
  background: var(--c-orange-pale);
}

.c-trial-step__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.c-trial-step__badge {
  display: grid;
  place-items: center;
  width: 120px;
  height: 35px;
  margin-top: -18px;
  border-radius: 100px;
  background: var(--c-green);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
}

.c-trial-step__title {
  margin-top: 20px;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  color: var(--c-green);
}

.c-trial-step--orange .c-trial-step__badge {
  background: var(--c-orange);
}

.c-trial-step--orange .c-trial-step__title {
  color: var(--c-orange);
}

.c-trial-step__text {
  margin-top: 10px;
  font-size: 12px;
  line-height: 20px;
}

.c-trial-step__more {
  margin-top: 30px;
  text-align: right;
}

.c-trial-step__text--wide {
  margin-right: -40px;
}

.c-trial-step__btn {
  display: grid;
  place-items: center;
  width: 200px;
  height: 35px;
  margin-top: 20px;
  border-radius: 100px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--c-green-dark);
  color: var(--c-green-dark);
  font-weight: 700;
  font-size: 12px;
  line-height: 14px;
}

.c-trial-step__btn--orange {
  box-shadow: inset 0 0 0 1px var(--c-orange);
  color: var(--c-orange);
}

.c-trial-step__action {
  display: flex;
}

.c-trial-step__action--center {
  justify-content: center;
  margin-top: 10px;
}

/* 4列カード（PC）／1枚スライダー（SP） */
.c-trial-slider {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 20px;
}

.c-trial-slider>* {
  grid-area: 1 / 1;
}

.c-trial-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 200px));
  justify-content: space-between;
  column-gap: 20px;
}

.c-trial-cards img {
  width: 100%;
  /* 記事のアイキャッチは縦横の比率がまちまちなので、見本と同じ 4:3 にそろえる */
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}

.c-trial-card {
  display: block;
}

.c-trial-card__name {
  margin-top: 15px;
  font-weight: 700;
  font-size: 12px;
  line-height: 14px;
  color: var(--c-green-dark);
}

.c-trial-card__tag {
  margin-top: 10px;
  width: 82px;
  padding: 0;
}

.c-trial-event__body {
  padding: 0 10px;
}

.c-trial-event__date {
  margin-top: 15px;
  font-weight: 700;
  font-size: 12px;
  line-height: 14px;
  color: var(--c-green);
}

.c-trial-event__title {
  margin-top: 10px;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  color: var(--c-green-dark);
}

.c-trial-event__place {
  margin-top: 10px;
  font-size: 12px;
  line-height: 14px;
}

.c-trial-house__name {
  margin-top: 15px;
  font-weight: 700;
  font-size: 12px;
  line-height: 14px;
  color: var(--c-orange);
}

.c-trial-house__text {
  margin-top: 7px;
  font-size: 12px;
  line-height: 20px;
}

.c-trial-houses {
  margin-top: 20px;
}

.c-trial-slider__nav {
  display: flex;
  justify-content: space-between;
  align-self: start;
  margin: 77px -10px 0;
  pointer-events: none;
}

.c-trial-slider__btn {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--c-green-dark);
  color: var(--c-green-dark);
  pointer-events: auto;
}

.c-trial-slider__btn--prev svg {
  transform: scaleX(-1);
}

.c-method-list--trial {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.c-method--white {
  background: #fff;
  box-shadow: none;
}

.c-method--white .c-method__title {
  margin-top: 15px;
}

.c-benefit-list--trial {
  margin: 20px -20px 0;
}

.c-benefit-list__more {
  align-self: end;
  justify-self: end;
}

@media (max-width: 767px) {
  .c-trial-steps {
    margin-top: 60px;
    margin-bottom: 32px;
  }

  .c-trial-steps>li+li::before {
    height: 68px;
    margin-left: 75px;
  }

  .c-trial-step {
    padding: 0 15px 30px;
  }

  .c-trial-step__text,
  .c-trial-step__text--wide {
    margin-right: -1px;
  }

  .c-trial-step__more {
    margin-top: 30px;
  }

  .c-trial-step__btn {
    width: 100%;
    height: 40px;
  }

  .c-trial-slider .c-trial-cards {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .c-trial-slider .c-trial-cards::-webkit-scrollbar {
    display: none;
  }

  .c-trial-slider .c-trial-cards>li {
    flex: none;
    width: 100%;
    scroll-snap-align: start;
  }

  .c-trial-cards img {
    aspect-ratio: 315 / 200;
    object-fit: cover;
  }

  .c-trial-card__name {
    font-size: 14px;
    line-height: 17px;
  }

  .c-trial-card__tag {
    margin-top: 15px;
  }

  .c-trial-event__body {
    padding: 0;
  }

  .c-trial-event__title {
    font-size: 12px;
    line-height: 14px;
  }

  .c-trial-houses {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .c-trial-houses img {
    aspect-ratio: 315 / 150;
  }

  .c-trial-house__name {
    text-align: center;
  }

  .c-trial-slider__nav {
    margin-top: 77px;
  }

  .c-method-list--trial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-top: 29px;
  }

  .c-method--white {
    padding-top: 19px;
  }

  .c-method--white .c-method__title {
    margin-top: 17px;
    font-size: 12px;
    line-height: 14px;
  }

  .c-method--white .c-method__text {
    margin-top: 7px;
  }

  .c-benefit-list--trial {
    margin: 20px 0 0;
  }

  .c-benefit-list__more {
    margin-top: 15px;
  }
}

/* =========================================================
   中間幅の調整（タブレット・小型スマホ）
   ========================================================= */
@media (min-width: 768px) and (max-width: 1180px) {
  .l-footer__nav {
    padding-left: 40px;
  }

  .l-footer__nav .c-sitemap,
  .l-menu .c-sitemap {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .l-footer .c-sitemap__title,
  .l-menu .c-sitemap__title {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .l-menu__nav {
    padding-left: 40px;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {

  .c-voice-list,
  .c-event-rows {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 989px) {
  .c-area-map {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .p-top-style__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 40px;
  }

  .p-life-style__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {

  .c-trial-cards,
  .c-method-list--trial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 30px;
  }

  .c-method-list--trial {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .c-movie-list__track {
    grid-template-columns: repeat(2, minmax(0, 253px));
    justify-content: space-around;
    row-gap: 30px;
  }

  .c-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
  }
}

@media (max-width: 374px) {

  .c-steps__text,
  .c-area-card__text,
  .p-area-env__title,
  .p-area-env__text,
  .p-top-event__title {
    white-space: normal;
  }

  .c-filter--left {
    flex-wrap: wrap;
  }

  .c-area-card {
    height: auto;
    min-height: 90px;
    padding-block: 12px;
  }
}
/* =========================================================
   INTERVIEW 詳細：記事本文の見出し（h3〜h5）
   ========================================================= */
/* h3：上下に線 */
.c-article__body h3 {
  padding: 12px 0;
  border-top: 1px solid var(--c-green);
  border-bottom: 1px solid var(--c-green);
  font-weight: 700;
  font-size: 16px;
  line-height: 26px;
  color: var(--c-green-dark);
}

/* h4：左に線 */
.c-article__body h4 {
  padding: 2px 0 2px 12px;
  border-left: 4px solid var(--c-green);
  font-weight: 700;
  font-size: 15px;
  line-height: 24px;
  color: var(--c-green-dark);
}

/* h5：下に線 */
.c-article__body h5 {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--c-green);
  font-weight: 700;
  font-size: 14px;
  line-height: 22px;
  color: var(--c-green-dark);
}

/* 見出しまわりの余白 */
.c-article__body :is(p, figure, ul, ol) + :is(h3, h4, h5) {
  margin-top: 30px;
}

.c-article__body :is(h2, h3, h4, h5) + :is(h3, h4, h5) {
  margin-top: 20px;
}

@media (max-width: 767px) {
  .c-article__body h3 {
    padding: 10px 0;
    font-size: 14px;
    line-height: 22px;
  }

  .c-article__body h4 {
    padding-left: 10px;
    border-left-width: 3px;
    font-size: 13px;
    line-height: 21px;
  }

  .c-article__body h5 {
    font-size: 12px;
    line-height: 20px;
  }

  .c-article__body :is(p, figure, ul, ol) + :is(h3, h4, h5) {
    margin-top: 25px;
  }

  .c-article__body :is(h2, h3, h4, h5) + :is(h3, h4, h5) {
    margin-top: 15px;
  }
}

/* 2026.9.29 追記css */
.c-article__inner a {
  text-decoration: underline;
}

.c-article__profile div {
  grid-template-columns: 177px minmax(0, 1fr);
}

.c-article__profile dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .c-article__profile div {
    grid-template-columns: 135px minmax(0, 1fr);
  }
}

.wpcf7-not-valid-tip {
  margin-top: 10px;
}

@media (max-width: 540px) {
    .c-heading {
        font-size: 6.5vw;
        line-height: 1.6;
    }
}

/* ページ内リンクを滑らかにスクロール */
html {
  scroll-behavior: smooth;
}

/* 固定ヘッダーで見出しが隠れないように調整 */
#house,
#kosodate,
#work,
#life,
#faq {
  scroll-margin-top: 50px;
}

/* スマートフォン */
@media (max-width: 767px) {
  #house,
  #kosodate,
  #work,
  #life,
  #faq {
    scroll-margin-top: 50px;
  }
}

/* 動きを抑える設定を利用している場合 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* 支援制度・仕事ページの移動先 */
.p-work-sec[id],
#faq {
  scroll-margin-top: 50px;
}

/* スマートフォン */
@media (max-width: 767px) {
  .p-work-sec[id],
  #faq {
    scroll-margin-top: 50px;
  }
}

.c-article__body-privacy h2 {
  color: var(--c-text);
}

/* ========================================
   子育て支援
======================================== */



.support-section{
  margin-top: 80px;
}

.support-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-section__inner {
  margin-top: 50px;
}

.support-list__item {
  min-width: 0;
}

.support-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #78b66a;
  border-radius: 17px;
  background-color: #fff;
  color: inherit;
  text-decoration: none;
}

.support-card__image {
  aspect-ratio: 12 / 7;
  overflow: hidden;
  background-color: #c2c2c2;
}

.support-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.support-card__body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px 14px;
  text-align: center;
}

.support-card__title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 8px;
  margin: 0;
  color: #3d6d52;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.support-card__number {
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0;
}

.support-card__text {
  margin: 0;
  color: #765e5b;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.support-card__arrow {
  position: absolute;
  right: 16px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #3d6d52;
}

.support-card__arrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateX(-2px) rotate(45deg);
}

.support-card:focus-visible {
  outline: 3px solid #245c3b;
  outline-offset: 4px;
}

@media (hover: hover) {
  .support-card:hover .support-card__image img {
    transform: scale(1.04);
  }
}

/* タブレット */
@media screen and (max-width: 1199px) {
  .support-section {
    padding: 30px 24px;
  }

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

/* スマートフォン */
@media screen and (max-width: 767px) {
  .support-section {
    padding: 24px 20px;
  }

  .support-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .support-card__title {
    font-size: 22px;
  }

  .support-card__number {
    font-size: 50px;
  }

  .support-card__text {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-card__image img {
    transition: none;
  }
}

/* ========================================
   妊娠・出産の支援
======================================== */

.p-maternity {
  --maternity-pink: #fa4e73;
  --maternity-border: #ffcbd7;
  --maternity-bg: #fff6f8;
  --maternity-text: #332b28;

  padding: 80px 0 0;
  color: var(--maternity-text);
}

.c-system {
  margin-top: 50px;
}

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

.p-maternity .p-maternity__accordion {
  border: 1px solid var(--maternity-border);
  border-radius: 26px;
  background: var(--maternity-bg);
}

/* 見出し・開閉部分 */
.p-maternity .p-maternity__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 28px;
  align-items: center;
  gap: 30px;
  padding: 40px;
  cursor: pointer;
  list-style: none;
}

.p-maternity__summary::-webkit-details-marker {
  display: none;
}

.p-maternity__summary::marker {
  content: "";
}

.p-maternity__heading {
  display: flex;
  align-items: center;
  gap: 27px;
  min-width: 0;
}

.p-maternity__heading-icon {
  display: block;
  flex: none;
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.p-maternity__title {
  color: var(--maternity-pink);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}

.p-maternity__lead {
  font-size: 14px;
}

/* 既存FAQと同じ仕組みで＋／−を切り替え */
.p-maternity .c-faq__toggle {
  display: grid;
  flex: none;
  width: 24px;
  height: 24px;
}

.p-maternity .c-faq__toggle::before,
.p-maternity .c-faq__toggle::after {
  content: "";
  grid-area: 1 / 1;
  align-self: center;
  width: 100%;
  height: 4px;
  border-radius: 0;
  background: var(--maternity-pink);
}

.p-maternity .c-faq__toggle::after {
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.p-maternity .c-faq[open] .c-faq__toggle::after {
  transform: rotate(0deg);
}

/* 展開内容 */
.p-maternity .p-maternity__content {
  display: block;
  margin: 0;
  padding: 0 36px 36px;
}

.p-maternity__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-maternity__item {
  min-width: 0;
}

/* 支援カード */
.p-maternity__card {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 100%;
  padding: 36px 24px;
  border: 1px solid var(--maternity-border);
  border-radius: 20px;
  background: #fff;
}

.p-maternity__icon {
  display: block;
  flex: none;
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.p-maternity__info {
  min-width: 0;
}

.p-maternity__label {
  margin: 0 0 14px;
  color: var(--maternity-pink);
  font-size: 13px;
  font-weight: 500;
}

.p-maternity__card-title {
  margin: 0 0 14px;
  color: var(--maternity-text);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.p-maternity__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  padding: 10px 40px;
  border-radius: 6px;
  background: var(--maternity-pink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.p-maternity__summary:focus-visible,
.p-maternity__button:focus-visible {
  outline: 3px solid #a32347;
  outline-offset: 4px;
}

.p-maternity__summary:focus-visible {
  border-radius: 24px;
}

.p-maternity__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (hover: hover) {
  .p-maternity__button:hover {
    background: #db355b;
  }
}

/* タブレット */
@media screen and (max-width: 1000px) {
  .p-maternity .p-maternity__summary {
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 16px 24px;
    padding: 30px;
  }

  .p-maternity__heading {
    gap: 20px;
  }

  .p-maternity__lead {
    grid-column: 1;
    grid-row: 2;
  }

  .p-maternity .c-faq__toggle {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .p-maternity .p-maternity__content {
    padding: 0 24px 24px;
  }

  .p-maternity__card {
    gap: 20px;
    padding: 24px;
  }

  .p-maternity__icon {
    width: 74px;
    height: 74px;
  }

  .p-maternity__label {
    font-size: 16px;
  }
}

/* スマートフォン */
@media screen and (max-width: 767px) {
  .p-maternity {
    padding: 20px 16px;
  }

  .p-maternity .p-maternity__accordion {
    border-radius: 18px;
  }

  .p-maternity .p-maternity__summary {
    gap: 12px;
    padding: 24px 20px;
  }

  .p-maternity__heading {
    gap: 12px;
  }

  .p-maternity__heading-icon {
    width: 34px;
    height: 34px;
  }

  .p-maternity__title {
    font-size: 20px;
  }

  .p-maternity__lead {
    font-size: 14px;
  }

  .p-maternity .p-maternity__content {
    padding: 0 16px 20px;
  }

  .p-maternity__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .p-maternity__card {
    gap: 18px;
    padding: 24px 18px;
    border-radius: 14px;
  }

  .p-maternity__icon {
    width: 64px;
    height: 64px;
  }

  .p-maternity__info {
    flex: 1;
  }

  .p-maternity__label {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .p-maternity__card-title {
    margin-bottom: 12px;
    font-size: 16px;
  }
  .p-maternity__button {
    padding: 10px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-maternity .c-faq__toggle::after,
  .p-maternity__button {
    transition: none;
  }
}

/* ========================================
   子育ての毎日を支える：オレンジ
======================================== */

.p-maternity .p-maternity__accordion--daily {
  --maternity-pink: #fb8500;
  --maternity-border: #ffd7ad;
  --maternity-bg: #fff9f2;

  margin-top: 30px;
}

.p-maternity__accordion--daily .p-maternity__summary:focus-visible,
.p-maternity__accordion--daily .p-maternity__button:focus-visible {
  outline-color: #a64e00;
}

@media (hover: hover) {
  .p-maternity__accordion--daily .p-maternity__button:hover {
    background-color: #d96e00;
  }
}

@media screen and (max-width: 767px) {
  .p-maternity .p-maternity__accordion--daily {
    margin-top: 20px;
  }
}

/* ========================================
   預けたいときに支える：グリーン
======================================== */

.p-maternity .p-maternity__accordion--care {
  --maternity-pink: #469637;
  --maternity-border: #d4e8ce;
  --maternity-bg: #f5f9f3;

  margin-top: 30px;
}

.p-maternity__accordion--care .p-maternity__summary:focus-visible,
.p-maternity__accordion--care .p-maternity__button:focus-visible {
  outline-color: #2c6522;
}

/* ========================================
   成長・学びを支える：ブルー
======================================== */

.p-maternity .p-maternity__accordion--education {
  --maternity-pink: #0d7acb;
  --maternity-border: #c8e2f8;
  --maternity-bg: #f2f8fe;

  margin-top: 30px;
}

.p-maternity__accordion--education .p-maternity__summary:focus-visible,
.p-maternity__accordion--education .p-maternity__button:focus-visible {
  outline-color: #08558e;
}

/* ボタンのホバー */
@media (hover: hover) {
  .p-maternity__accordion--care .p-maternity__button:hover {
    background-color: #347626;
  }

  .p-maternity__accordion--education .p-maternity__button:hover {
    background-color: #0963a7;
  }
}

/* スマートフォン */
@media screen and (max-width: 767px) {
  .p-maternity .p-maternity__accordion--care,
  .p-maternity .p-maternity__accordion--education {
    margin-top: 20px;
  }
}

.note p {
  font-size: 16px;
  text-align: center;
  margin-top: 40px;
  color: #6C5454;
}

.note p a {
  font-weight: bold;
  text-decoration: underline;
}

/* ========================================
   白河市行政分譲地
======================================== */

.p-housing-land {
  --housing-land-bg: #e8f3e5;
  --housing-land-green: #3d6d52;

  margin-top: 80px;
  padding: 0;
}

.p-housing-land,
.p-housing-land *,
.p-housing-land *::before,
.p-housing-land *::after {
  box-sizing: border-box;
}

.p-housing-land__inner {
  position: relative;
  isolation: isolate;
  max-width: 1840px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 20px;
  background-color: var(--housing-land-bg);
}

/* 文章 */
.p-housing-land__body {
  position: relative;
  z-index: 1;
  width: 52%;
  padding: 68px 5%;
  color: var(--housing-land-green);
  text-align: center;
}

.p-housing-land__title {
  margin: 0 0 32px;
  color: inherit;
  font-size:18px;
  letter-spacing: 0.06em;
}

.p-housing-land__text {
  font-size: 12px;
  font-weight: 700;
  line-height: 2.4;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.p-housing-land__text p {
  margin: 0;
}

/* 外部リンクボタン */
.p-housing-land__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  margin: 52px auto 0;
  padding: 18px 24px;
  border: 2px solid var(--housing-land-green);
  border-radius: 999px;
  background-color: #fff;
  color: var(--housing-land-green);
  font-size:  13px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.p-housing-land__button:focus-visible {
  outline: 3px solid var(--housing-land-green);
  outline-offset: 4px;
}

/* 写真 */
.p-housing-land__image {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: 50%;
}

.p-housing-land__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 写真の左端を背景色になじませる */
.p-housing-land__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--housing-land-bg) 0%,
    rgb(232 243 229 / 80%) 10%,
    rgb(232 243 229 / 30%) 26%,
    rgb(232 243 229 / 0%) 45%
  );
  pointer-events: none;
}

.p-housing-land__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (hover: hover) {
  .p-housing-land__button:hover {
    background-color: var(--housing-land-green);
    color: #fff;
  }
}

/* タブレット */
@media screen and (max-width: 1199px) {
  .p-housing-land__body {
    width: 58%;
    padding: 48px 32px;
  }

  .p-housing-land__image {
    width: 46%;
  }
}

/* スマートフォン */
@media screen and (max-width: 767px) {
  .p-housing-land {
    margin-top: 50px;
    padding: 0;
  }

  .p-housing-land__inner {
    border-radius: 16px;
  }

  .p-housing-land__body {
    width: 100%;
    padding: 32px 24px 24px;
  }

  .p-housing-land__title {
    margin-bottom: 20px;
    font-size: 24px;
  }

  .p-housing-land__text p + p {
    margin-top: 12px;
  }

  .p-housing-land__button {
    margin-top: 24px;
    padding: 14px 16px;
  }

  .p-housing-land__image {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 10;
  }

  /* スマホでは写真の上端をぼかす */
  .p-housing-land__image::after {
    background: linear-gradient(
      to bottom,
      var(--housing-land-bg) 0%,
      rgb(232 243 229 / 65%) 12%,
      rgb(232 243 229 / 0%) 40%
    );
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-housing-land__button {
    transition: none;
  }
}

.p-wave-photo {
  /*
   * SVGの形で画像を切り抜く
   * 波の外側は透明になるため、親要素の背景色が見えます
   */
  --wave-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 500' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 20 C350 -25 650 90 1000 45 L1000 480 C650 525 350 410 0 455 Z'/%3E%3C/svg%3E");

  width: 100%;
  aspect-ratio: 2.2 / 1;
  overflow: hidden;

  -webkit-mask-image: var(--wave-mask);
  mask-image: var(--wave-mask);

  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;
}

.p-wave-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* スマートフォン */
@media screen and (max-width: 767px) {
  .p-wave-photo {
    --wave-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 800' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 45 C350 -45 650 175 1000 90 L1000 760 C650 850 350 630 0 715 Z'/%3E%3C/svg%3E");

    aspect-ratio: 1.25 / 1;
    display: block;
  }

  .p-wave-photo img {
    object-position: center;
  }
}

/* carousel：端まで来たボタンは押せない表示に */
.js-carousel-prev:disabled,
.js-carousel-next:disabled {
  opacity: .3;
  cursor: default;
  pointer-events: none;
}
/* 相談方法の四角：320px 前後の幅で「フォームで問い合わせ」が枠からはみ出すので、文字を少し小さくする */
@media (max-width: 339px) {
  .c-method__title {
    font-size: 12px;
  }

  .c-method--white .c-method__title {
    font-size: 11px;
  }
}

/* YouTube のショート動画（縦長）の埋め込みは幅だけ縮むと縦に間延びするため、比を保ったまま縮める */
.wp-block-embed.wp-embed-aspect-9-16 iframe {
  width: 100%;
  max-width: 422px;
  height: auto;
  aspect-ratio: 9 / 16;
}

/* =========================================================
   ヘッダーの固定（PC は常に。スマホは上へ戻すときだけ）
   ========================================================= */
.l-header {
  position: sticky;
  top: 0;
  /* 上と左右の余白は透明なので、下にあるリンクやボタンを押せるようにする */
  pointer-events: none;
  transition: transform .3s ease;
}

.l-header__inner {
  pointer-events: auto;
  transition: box-shadow .3s ease, background-color .3s ease;
}

/* 下層ページのヘッダーは透明なので、本文に重なったときに読めるよう白にする */
body .l-header.is-floating .l-header__inner {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}

/* ログイン中の管理バーの下に付ける（このテーマの body には admin-bar のクラスが付かないため、管理バーの有無で見る） */
body:has(#wpadminbar) .l-header {
  top: 32px;
}

html {
  scroll-padding-top: 120px;
}

@media (max-width: 782px) {
  body:has(#wpadminbar) .l-header {
    top: 46px;
  }
}

@media (max-width: 767px) {
  .l-header.is-hidden {
    transform: translateY(calc(-100% - 50px));
  }

  html {
    scroll-padding-top: 85px;
  }
}

/* 管理バーはこの幅から固定ではなくなる */
@media (max-width: 600px) {
  body:has(#wpadminbar) .l-header {
    top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .l-header,
  .l-header__inner {
    transition: none;
  }
}

/* =========================================================
   記事の本文の表（ブロックエディタの「テーブル」）
   ========================================================= */
.c-article__body .wp-block-table {
  margin: 20px 0 0;
  overflow-x: auto;
}

.c-article__body .wp-block-table table {
  width: 100%;
  /* 標準の「左右を同じ幅にする」をやめ、項目の列だけ幅を決める */
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  line-height: 26px;
}

.c-article__body .wp-block-table thead {
  border-bottom: 0;
}

.c-article__body .wp-block-table :is(th, td) {
  padding: 16px 24px;
  border: 0;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

/* URL の途中に手で入れた改行を消し、枠の幅で折り返す */
.c-article__body .wp-block-table td a br {
  display: none;
}

.c-article__body .wp-block-table td a {
  color: var(--c-green-dark);
}

/* 項目の列（いちばん左） */
.c-article__body .wp-block-table tbody td:first-child {
  width: 176px;
  font-family: var(--f-maru);
  font-weight: 700;
  color: var(--c-green-dark);
}

.c-article__body .wp-block-table thead th {
  font-family: var(--f-maru);
  font-weight: 700;
}

.c-article__body .wp-block-table thead th:first-child {
  width: 176px;
}

/* 2列の表は「項目／内容」の見出しの行を見た目だけ隠す（読み上げには残す） */
.c-article__body .wp-block-table table:not(:has(tr > :nth-child(3))) thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 3列以上の表は列の幅を中身に合わせる */
.c-article__body .wp-block-table table:has(tr > :nth-child(3)) :is(th, td):first-child {
  width: 22%;
}

@media (max-width: 767px) {
  .c-article__body .wp-block-table {
    margin-top: 10px;
  }

  .c-article__body .wp-block-table table {
    font-size: 12px;
    line-height: 22px;
  }

  .c-article__body .wp-block-table :is(th, td) {
    padding: 12px;
  }

  .c-article__body .wp-block-table tbody td:first-child,
  .c-article__body .wp-block-table thead th:first-child {
    width: 88px;
  }

  .c-article__body .wp-block-table table:has(tr > :nth-child(3)) :is(th, td):first-child {
    width: 64px;
  }

  /* 4列以上の表は、読める幅を保って横に動かす */
  .c-article__body .wp-block-table table:has(tr > :nth-child(4)) {
    min-width: 520px;
  }
}

/* 白いカードと緑の点線（記事の題の下の点線と同じ模様） */
.c-article__body .wp-block-table table {
  padding: 8px 24px;
  border-radius: 10px;
  background: #fff;
}

.c-article__body .wp-block-table :is(th, td) {
  padding-inline: 0 16px;
}

.c-article__body .wp-block-table tr {
  background: linear-gradient(90deg, var(--c-green) 6px, transparent 6px) 0 100% / 12px 2px repeat-x;
}

.c-article__body .wp-block-table tbody tr:last-child {
  background: none;
}

.c-article__body .wp-block-table tbody td:first-child {
  position: relative;
  padding-left: 18px;
}

.c-article__body .wp-block-table tbody td:first-child::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-green);
}

.c-article__body .wp-block-table thead th {
  color: var(--c-green-dark);
}

@media (max-width: 767px) {
  .c-article__body .wp-block-table table {
    padding: 4px 15px;
  }

  .c-article__body .wp-block-table :is(th, td) {
    padding-inline: 0 8px;
  }

  .c-article__body .wp-block-table tbody td:first-child {
    padding-left: 14px;
  }

  .c-article__body .wp-block-table tbody td:first-child::before {
    top: 20px;
    width: 6px;
    height: 6px;
  }
}

/* =========================================================
   お知らせ（トップの欄・詳細）2026.11.27
   ========================================================= */
.p-top-news {
  margin-top: 80px;
}

.p-top-news__list {
  margin-top: 60px;
}

.p-top-news__item {
  padding-bottom: 30px;
  background: linear-gradient(90deg, var(--c-green) 6px, transparent 6px) 0 100% / 12px 2px repeat-x;
}

.p-top-news__item + .p-top-news__item {
  padding-top: 30px;
}

.p-top-news__link {
  display: grid;
  grid-template-columns: 177px minmax(0, 1fr);
  padding-left: 30px;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: .05em;
  color: var(--c-text);
}

.p-top-news__date {
  color: var(--c-green);
}

@media (hover: hover) {
  .p-top-news__link:hover {
    opacity: 1;
  }

  .p-top-news__link:hover .p-top-news__title {
    text-decoration: underline;
  }
}

.c-article--news {
  margin-top: 80px;
}

.c-article__date {
  display: block;
  font-weight: 700;
  font-size: 14px;
  line-height: 28px;
  letter-spacing: .05em;
  color: var(--c-green);
}

.c-article--news .c-article__title {
  margin-top: 10px;
}

.c-article--news .c-article__body {
  padding-top: 40px;
}

.c-article--news .c-article__body h2 + :is(ul, ol) {
  margin-top: 10px;
}

.c-article--news .c-article__body :is(ul, ol) + h2 {
  margin-top: 30px;
}

@media (max-width: 767px) {
  .p-top-news {
    margin-top: 50px;
  }

  .p-top-news__list {
    margin-top: 40px;
  }

  .p-top-news__item {
    padding-bottom: 25px;
  }

  .p-top-news__item + .p-top-news__item {
    padding-top: 25px;
  }

  .p-top-news__link {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 10px;
    padding-left: 10px;
    line-height: 20px;
  }

  .p-top-news__date {
    line-height: 17px;
  }

  .c-article--news {
    margin-top: 50px;
    padding: 30px 15px;
  }

  .c-article__date {
    font-size: 12px;
  }

  .c-article--news .c-article__title {
    margin-top: 5px;
  }

  .c-article--news .c-article__body {
    padding-top: 20px;
  }

  .c-article--news .c-article__body :is(ul, ol) + h2 {
    margin-top: 20px;
  }
}
