@charset "UTF-8";
/*----------------------------------------
  CLOVER  D案「ひらかれた余白」
  うすい灰緑の地に、文字も線も緑で組む
----------------------------------------*/
:root {
  --bg: #E7EAE4;
  --surface: #FBFCF9;
  --ink: #2D5A28;
  --sub: #426B3C;
  --accent: #2E7325;
  --tint: #DCE6D6;
  --line: #B3CDAB;
  --line-strong: #8DB884;
  --focus: #1F5A1A;
  --error: #A8321F;
  --white: #FFFFFF;
  --font: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --en: "Nunito", "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --radius: 14px;
  --gutter: 40px;
}

/*----------------------------------------
  base
----------------------------------------*/
html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 2.1;
  letter-spacing: .05em;
  overflow-x: hidden;
}

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

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

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

h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.6;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

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

time {
  font-family: var(--en);
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  ::before,
  ::after {
    transition-duration: 0s !important;
  }
}

/*----------------------------------------
  utility
----------------------------------------*/
.visually-hidden,
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--surface);
  border-radius: 999px;
}

.skip-link:focus {
  top: 16px;
}

.sp-only {
  display: none;
}

.container {
  width: 100%;
  max-width: calc(1120px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: calc(840px + var(--gutter) * 2);
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
  }

  body {
    font-size: 14.5px;
  }

  .sp-only {
    display: inline;
  }
}

/*----------------------------------------
  parts
----------------------------------------*/
/* 「news ● お知らせ」の小見出し */
.label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: .08em;
}

.label span[lang="en"] {
  font-family: var(--en);
}

.label i {
  font-style: normal;
  font-size: 7px;
}

.section {
  position: relative;
  padding-block: 112px;
  overflow: hidden;
}

main > .section + .section,
.intro + .section {
  border-top: 1px solid var(--line-strong);
}

.section-head {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 52px;
  text-align: center;
}

.section-title {
  font-size: 24px;
  letter-spacing: .12em;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  min-height: 52px;
  padding: 12px 52px;
  background: var(--accent);
  color: var(--white);
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.5;
  transition: background-color .2s, color .2s;
}

/* 文字はボタンの真ん中、矢印だけ右端に置く */
.btn::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  font-family: var(--en);
}

.btn:hover {
  background: var(--ink);
}

.btn--white {
  background: var(--surface);
  color: var(--ink);
}

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

.btn--light {
  background: var(--white);
  color: var(--ink);
}

.btn--line {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8);
}

.btn--light:hover,
.btn--line:hover {
  background: var(--white);
  color: var(--accent);
}

.more {
  margin-top: 48px;
  text-align: center;
}

.chip {
  display: inline-block;
  padding: 2px 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.8;
  white-space: nowrap;
}

.cat {
  display: inline-block;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.6;
}

.empty {
  text-align: center;
}

/* 線で描いたクローバー */
.art {
  position: absolute;
  z-index: 0;
  color: var(--accent);
  opacity: .55;
  pointer-events: none;
  /* スクロールに合わせて script.js が --py（上下）と --pr（回転）を変える */
  translate: 0 var(--py, 0px);
  rotate: var(--pr, 0deg);
  will-change: translate, rotate;
}


@media (max-width: 767px) {
  .section {
    padding-block: 72px;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 21px;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

}

/*----------------------------------------
  header
----------------------------------------*/
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 24px;
}

.header__icon {
  display: grid;
  justify-items: center;
  gap: 2px;
  color: var(--accent);
  font-family: var(--en);
  font-size: 13px;
  letter-spacing: .1em;
  line-height: 1.4;
  cursor: pointer;
}

.header__lines {
  position: relative;
  display: block;
  width: 30px;
  height: 26px;
}

.header__lines::before,
.header__lines::after {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  height: 1.3px;
  background: currentColor;
  top: 9px;
}

.header__lines::after {
  top: 16px;
}

.header__logo {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}

.header__logo a {
  position: relative;
  display: grid;
  place-items: center;
  width: 200px;
  height: 200px;
}

/* クローバーの葉の形の土台（ロゴを真ん中に横に通す） */
.header__leaf {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  color: var(--accent);
  transition: transform .6s ease;
}

.header__logo a:hover .header__leaf {
  transform: rotate(8deg);
}

.header__logo img {
  position: relative;
  width: 124px;
}

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

  .header__logo {
    top: 22px;
  }

  .header__logo a {
    width: 140px;
    height: 140px;
  }

  .header__logo img {
    width: 88px;
  }
}

/* メニュー：右側に緑のパネル、後ろはぼかす */
.gmenu {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.gmenu[hidden] {
  display: none;
}

.gmenu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(231, 234, 228, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: gmenu-fade .3s ease;
}

.gmenu__panel {
  position: absolute;
  top: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  width: 400px;
  max-width: calc(100% - 48px);
  padding: 26px 24px 24px;
  overflow-y: auto;
  background: var(--accent);
  color: var(--white);
  border-radius: 0 0 40px 0;
  animation: gmenu-in .35s ease;
}

.gmenu__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.gmenu__logo img {
  width: 112px;
}

.gmenu__close {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--white);
  font-family: var(--en);
  font-size: 13px;
  letter-spacing: .1em;
  line-height: 1.2;
  cursor: pointer;
}

.gmenu__close .gmenu__x {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
  --x-size: 130%;
}

.gmenu__list {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: start;
  gap: 34px 52px;
  margin: 84px 0 0 22px;
}

.gmenu__list a {
  display: block;
  line-height: 1.3;
}

.gmenu__list span[lang="en"] {
  font-family: var(--en);
  font-weight: 300;
  font-size: 30px;
  letter-spacing: .14em;
}

.gmenu__list small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .08em;
}

.gmenu__list a:hover span[lang="en"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.gmenu__catch {
  margin-top: auto;
  padding: 48px 0 0 22px;
  font-size: 18px;
  letter-spacing: .16em;
  line-height: 1.8;
}

.gmenu__copy {
  margin-top: 36px;
  font-family: var(--en);
  font-size: 12.5px;
  letter-spacing: .08em;
}

@keyframes gmenu-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes gmenu-fade {
  from {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gmenu__backdrop,
  .gmenu__panel {
    animation: none;
  }
}

@media (max-width: 767px) {
  .gmenu__panel {
    top: 15px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    width: auto;
    max-width: none;
    padding: 20px 18px 20px;
  }

  .gmenu__list {
    gap: 28px 44px;
    margin: 64px 0 0 18px;
  }

  .gmenu__list span[lang="en"] {
    font-size: 26px;
  }

  .gmenu__catch {
    padding-left: 18px;
    font-size: 16px;
  }
}

/*----------------------------------------
  top：写真と案内
----------------------------------------*/
.fv {
  position: relative;
  padding-top: 112px;
}

.fv__stage {
  position: relative;
  width: calc(100% - 340px);
  max-width: 1280px;
  margin: 0 auto;
}

.fv__photo {
  position: relative;
  aspect-ratio: 962 / 660;
  overflow: hidden;
}

.fv__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.fv__photo img.is-active {
  opacity: 1;
}

/* 写真の下の言葉：何のお店かを最初の画面で伝える */
.fv__meta {
  display: grid;
  gap: 4px;
  width: calc(100% - 340px);
  max-width: 1280px;
  margin: 28px auto 0;
}

.fv__catch {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.6;
}

.fv__sub {
  color: var(--sub);
  font-size: 14px;
  line-height: 1.8;
}

.fv__caption {
  margin-top: 10px;
}

.fv__vertical {
  position: absolute;
  right: 28px;
  top: 300px;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: .32em;
  line-height: 1.6;
  writing-mode: vertical-rl;
}

.fv__news {
  position: absolute;
  right: -24px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 500px;
  padding: 22px 52px 22px 24px;
  background: var(--surface);
  border-radius: 0 0 28px 0;
}

.fv__news[hidden] {
  display: none;
}

.fv__news-mark {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
}

.fv__news-leaf {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--accent);
}

.fv__news-mark img {
  position: relative;
  width: 48px;
}

.fv__news .label {
  font-size: 13px;
}

.fv__news a {
  display: block;
  margin-top: 2px;
  font-size: 14.5px;
  line-height: 1.6;
  text-wrap: balance;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.fv__news-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
}

/* 閉じるボタンの×は、文字ではなく線2本で丸の中心に描く */
.x-mark {
  --x-size: 40%;
}

.x-mark > [aria-hidden="true"] {
  display: none;
}

.x-mark::before,
.x-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--x-size);
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
}

.x-mark::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.x-mark::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.intro {
  position: relative;
  padding-block: 150px 120px;
  overflow: hidden;
  text-align: center;
}

.intro p {
  position: relative;
  z-index: 1;
  font-size: 15.5px;
  line-height: 2.4;
}

.intro p + p {
  margin-top: 20px;
}

.intro__btns {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

@media (max-width: 767px) {
  .fv {
    padding-top: 88px;
  }

  .fv__stage,
  .fv__meta {
    width: calc(100% - 32px);
  }

  .fv__meta {
    margin-top: 20px;
  }

  .fv__catch {
    font-size: 20px;
    letter-spacing: .1em;
  }

  .fv__sub {
    font-size: 13px;
  }

  .fv__photo {
    aspect-ratio: 4 / 5;
  }

  .fv__vertical {
    display: none;
  }

  .fv__news {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin: 16px 0 0;
    padding: 18px 48px 18px 16px;
    gap: 14px;
  }

  .fv__news-mark {
    width: 66px;
    height: 66px;
  }

  .fv__news-mark img {
    width: 42px;
  }

  .fv__news-close {
    top: 10px;
    right: 10px;
  }

  .intro {
    padding: 130px 20px 140px;
  }

  .intro p {
    font-size: 14.5px;
  }

  .intro__btns {
    flex-direction: column;
  }
}

/*----------------------------------------
  top：よくあるお悩み
----------------------------------------*/
.worries__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.worries__list li {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}

.worries__list li + li {
  border-left: 1px solid var(--line);
}

.worries__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  font-family: var(--en);
  font-size: 13px;
}

.worries__answer {
  padding-top: 56px;
  text-align: center;
}

.worries__answer-title {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.8;
}

.worries__answer p:not(.worries__answer-title) {
  color: var(--sub);
}

@media (max-width: 767px) {
  .worries__list {
    grid-template-columns: 1fr;
  }

  .worries__list li {
    justify-content: flex-start;
    padding: 18px 8px;
  }

  .worries__list li + li {
    border-left: 0;
  }

  .worries__answer-title {
    font-size: 19px;
  }
}

/*----------------------------------------
  top：おすすめポイント
----------------------------------------*/
.points__list {
  display: grid;
  gap: 72px;
}

.points__item {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 56px;
}

.points__item:nth-child(even) .points__img {
  order: 2;
}

.points__img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius);
}

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

.points__num {
  color: var(--accent);
  font-family: var(--en);
  font-size: 14px;
  letter-spacing: .1em;
}

.points__title {
  margin-top: 6px;
  font-size: 21px;
}

.points__text {
  margin-top: 14px;
  color: var(--sub);
}

@media (max-width: 767px) {
  .points__list {
    gap: 48px;
  }

  .points__item {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .points__item:nth-child(even) .points__img {
    order: 0;
  }

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

/*----------------------------------------
  top：お客様の声（文字だけ）
----------------------------------------*/
.voices__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.voices__item {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 26px 24px;
  background: var(--surface);
  border-radius: 4px;
}

.voices__text {
  flex: 1;
  font-size: 15px;
  line-height: 2;
}

.voices__who {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--sub);
  font-size: 13px;
  line-height: 1.7;
}

.voices__who b {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .voices__list {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/*----------------------------------------
  top：ご利用の流れ
----------------------------------------*/
.flow__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.flow__list li {
  padding-right: 22px;
}

.flow__num {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-family: var(--en);
  font-size: 15px;
  font-weight: 600;
}

.flow__num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}

.flow__list li:last-child .flow__num::after {
  display: none;
}

.flow__list h3 {
  margin-top: 12px;
  font-size: 18px;
}

.flow__list p {
  margin-top: 6px;
  color: var(--sub);
  font-size: 14px;
  line-height: 1.9;
}

@media (max-width: 767px) {
  /* スマホは真ん中にそろえ、手順の間を細い縦線でつなぐ */
  .flow__list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .flow__list li {
    padding-right: 0;
    text-align: center;
  }

  .flow__list li + li::before {
    content: "";
    display: block;
    width: 1px;
    height: 36px;
    margin: 18px auto;
    background: var(--line-strong);
  }

  .flow__num {
    justify-content: center;
  }

  .flow__num::after {
    display: none;
  }

  .flow__list h3 {
    margin-top: 4px;
  }

  .flow__list p {
    text-wrap: balance;
    word-break: auto-phrase;
  }
}

/*----------------------------------------
  料金
----------------------------------------*/
.fee {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 32px;
  text-align: center;
}

.fee b {
  font-family: var(--en);
  font-size: 22px;
  font-weight: 600;
}

.fee span {
  width: 100%;
  color: var(--sub);
  font-size: 14px;
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.price-card {
  position: relative;
  padding: 26px 22px 24px;
  background: var(--surface);
  border-radius: var(--radius);
}

.price-card.is-recommend {
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

.price-card__tag {
  position: absolute;
  top: -13px;
  left: 20px;
  padding: 0 12px;
  background: var(--accent);
  color: var(--white);
  border-radius: 999px;
  font-size: 12px;
  line-height: 26px;
}

.price-card__name {
  font-size: 16.5px;
}

.price-card__price {
  margin-top: 8px;
  font-family: var(--en);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

.price-card__price small {
  margin-left: 2px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
}

.price-card__tax {
  color: var(--sub);
  font-size: 12px;
  line-height: 1.6;
}

.price-card__items {
  display: grid;
  gap: 2px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.9;
}

.price-card__items li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--accent);
}

.price-note {
  margin-top: 24px;
  color: var(--sub);
  font-size: 13.5px;
  text-align: center;
}

.system {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.system__box {
  display: grid;
  justify-items: center;
  min-width: 260px;
  padding: 24px 28px;
  background: var(--surface);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.8;
}

.system__box b {
  font-family: var(--en);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.4;
}

.system__plus {
  font-size: 24px;
}

.system__lead {
  margin-top: 32px;
  color: var(--sub);
  text-align: center;
}

@media (max-width: 1023px) {
  .price-cards {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }
}

@media (max-width: 767px) {
  .price-cards {
    grid-template-columns: 1fr;
  }

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

  .system__box {
    width: 100%;
    min-width: 0;
  }

  .system__lead {
    text-align: left;
  }
}

/*----------------------------------------
  よくある質問
----------------------------------------*/
.faq__list {
  border-top: 1px solid var(--line-strong);
}

.faq__list details {
  border-bottom: 1px solid var(--line-strong);
}

.faq__list summary {
  position: relative;
  display: flex;
  gap: 16px;
  min-height: 64px;
  padding: 18px 48px 18px 0;
  font-weight: 500;
  line-height: 1.8;
  list-style: none;
  cursor: pointer;
}

.faq__list summary::-webkit-details-marker {
  display: none;
}

.faq__list summary::before {
  content: "Q";
  color: var(--accent);
  font-family: var(--en);
}

.faq__list summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 16px;
  color: var(--accent);
  font-family: var(--en);
  font-size: 24px;
  line-height: 1.4;
}

.faq__list details[open] summary::after {
  content: "−";
}

.faq__list details p {
  padding: 0 0 22px 30px;
  color: var(--sub);
  font-size: 14.5px;
}

/*----------------------------------------
  お知らせ・ブログ
----------------------------------------*/
.cms__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.cms__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.cms__head .label {
  font-size: 18px;
}

.cms__head > a {
  font-size: 13.5px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.news-list {
  border-top: 1px solid var(--line-strong);
}

.news-list li {
  border-bottom: 1px solid var(--line-strong);
}

.news-list a {
  display: flex;
  gap: 24px;
  padding-block: 18px;
  font-size: 15px;
  line-height: 1.8;
}

.news-list a:hover span {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.news-list time {
  flex: none;
  color: var(--sub);
  font-size: 13.5px;
}

.blog-mini {
  display: grid;
  gap: 16px;
}

.blog-mini a {
  display: grid;
  grid-template-columns: 128px 1fr;
  align-items: center;
  gap: 18px;
}

.blog-mini figure {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
}

.blog-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-mini b {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.blog-mini time {
  color: var(--sub);
  font-size: 13px;
}

@media (max-width: 767px) {
  .cms__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .news-list a {
    flex-direction: column;
    gap: 2px;
  }

  .blog-mini a {
    grid-template-columns: 104px 1fr;
    gap: 14px;
  }
}

/*----------------------------------------
  申し込み（下部の案内）
----------------------------------------*/
.cta {
  border-top: 1px solid var(--line-strong);
  text-align: center;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta__title {
  font-size: 26px;
  letter-spacing: .12em;
}

.cta__text {
  margin-top: 12px;
}

.cta__btns {
  display: grid;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.cta__btns .btn {
  min-width: 300px;
}

.cta__tel {
  margin-top: 24px;
  color: var(--sub);
  font-size: 13px;
  line-height: 1.8;
}

.cta__tel a {
  display: block;
  color: var(--ink);
  font-family: var(--en);
  font-size: 22px;
  letter-spacing: .06em;
}

@media (max-width: 767px) {
  .cta__title {
    font-size: 21px;
  }

  .cta__btns {
    justify-content: stretch;
  }

  .cta__btns .btn {
    min-width: 0;
  }
}

/*----------------------------------------
  footer
----------------------------------------*/
.footer {
  padding-block: 64px 28px;
  background: var(--accent);
  color: var(--white);
}

.footer .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 44px 56px;
}

.footer__top {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer__logo img {
  width: 120px;
}

.footer__catch {
  font-size: 15px;
  letter-spacing: .14em;
}

.footer__nav ul {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 24px 56px;
}

.footer__nav a {
  display: block;
  line-height: 1.3;
}

.footer__nav span {
  font-family: var(--en);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: .08em;
}

.footer__nav small {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  letter-spacing: .1em;
}

.footer__info {
  display: grid;
  grid-template-columns: auto 1fr;
  align-self: start;
  gap: 6px 20px;
  font-size: 13.5px;
  line-height: 1.8;
  scroll-margin-top: 24px;
}

.footer__copy {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 20px;
  font-size: 12px;
}

.footer__copy a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 767px) {
  .footer .container {
    grid-template-columns: 1fr;
  }

  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer__nav ul {
    grid-template-columns: repeat(2, auto);
    gap: 20px 40px;
  }

  .footer__nav span {
    font-size: 19px;
  }

  .footer__copy {
    text-align: left;
  }
}

/*----------------------------------------
  下層ページ
----------------------------------------*/
.page-top {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 268px var(--gutter) 64px;
  overflow: hidden;
  text-align: center;
}

.page-top .label,
.page-top__title {
  position: relative;
  z-index: 1;
}

.page-top__title {
  font-size: 28px;
  letter-spacing: .12em;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding-bottom: 20px;
  color: var(--sub);
  font-size: 12.5px;
  line-height: 1.8;
}

.breadcrumb__list li + li::before {
  content: "／";
  margin-right: 10px;
}

.breadcrumb__list a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section--page {
  border-top: 1px solid var(--line-strong);
}

@media (max-width: 767px) {
  .page-top {
    padding-top: 188px;
    padding-bottom: 48px;
  }

  .page-top__title {
    font-size: 22px;
  }
}

/* ページ送り */
.pager {
  margin-top: 56px;
}

.pager .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pager .page-numbers {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  background: var(--surface);
  border-radius: 999px;
  font-family: var(--en);
  font-size: 14px;
}

.pager .page-numbers.current {
  background: var(--accent);
  color: var(--white);
}

.pager .page-numbers.dots {
  background: transparent;
}

/* ブログ一覧 */
.cat-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.cat-nav a {
  padding: 6px 16px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 13.5px;
  line-height: 1.6;
}

.cat-nav a[aria-current="page"] {
  background: var(--accent);
  color: var(--white);
}

.post-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
}

.post-card a {
  display: block;
}

.post-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
}

.post-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.post-card a:hover img {
  transform: scale(1.03);
}

.post-card__body {
  padding-top: 14px;
}

.post-card__title {
  font-size: 16px;
  line-height: 1.7;
}

.post-card time {
  color: var(--sub);
  font-size: 13px;
}

@media (max-width: 1023px) {
  .post-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .post-cards {
    grid-template-columns: 1fr;
  }
}

/* 記事 */
.article-head {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-strong);
}

.article-head__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-head__title {
  margin-block: 4px;
  font-size: 26px;
  letter-spacing: .1em;
}

.article-head time {
  color: var(--sub);
  font-size: 13.5px;
}

.article-thumb {
  margin-bottom: 40px;
  overflow: hidden;
  border-radius: var(--radius);
}

.content {
  font-size: 15.5px;
}

.content > * + * {
  margin-top: 1.6em;
}

.content h2 {
  margin-top: 2.4em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 21px;
}

.content h3 {
  margin-top: 2em;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  font-size: 18px;
}

.content a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.content ul,
.content ol {
  padding-left: 1.4em;
}

.content ul {
  list-style: disc;
}

.content ol {
  list-style: decimal;
}

.content li::marker {
  color: var(--accent);
}

.content blockquote {
  padding: 20px 24px;
  background: var(--surface);
  border-radius: 4px;
}

.content blockquote p:empty {
  display: none;
}

.content blockquote cite {
  display: block;
  font-style: normal;
}

.content figure img {
  border-radius: 8px;
}

.content figcaption {
  margin-top: 8px;
  color: var(--sub);
  font-size: 13px;
}

.share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}

.share a {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 13.5px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .article-head__title {
    font-size: 21px;
  }

  .content {
    font-size: 15px;
  }
}

/*----------------------------------------
  お問い合わせ
----------------------------------------*/
.contact__lead {
  text-align: center;
}

.contact__tel {
  margin-top: 20px;
  color: var(--sub);
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}

.contact__tel a {
  display: block;
  color: var(--ink);
  font-family: var(--en);
  font-size: 22px;
  letter-spacing: .06em;
}

.form-wrap {
  margin-top: 48px;
  padding: 44px 48px;
  background: var(--surface);
  border-radius: var(--radius);
}

.demo-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 32px;
  padding: 14px 18px;
  background: var(--tint);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
}

.demo-note b {
  flex: none;
  margin-top: 1px;
  padding: 0 10px;
  background: var(--accent);
  color: var(--white);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 24px;
}

.cf-field {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: start;
  gap: 4px 24px;
  padding-block: 14px;
}

.cf-field > *:not(.cf-label) {
  grid-column: 2;
}

.cf-label {
  padding-top: 12px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.6;
}

.req {
  margin-left: 10px;
  color: var(--error);
  font-size: 12px;
}

.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #8FA88A;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: 3px solid var(--line);
  outline-offset: 0;
  border-color: var(--accent);
}

.cf-help {
  color: var(--sub);
  font-size: 12.5px;
  line-height: 1.8;
}

.cf-err {
  display: none;
  color: var(--error);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.8;
}

.cf-field.is-error .cf-err {
  display: block;
}

.cf-field.is-error input,
.cf-field.is-error textarea {
  border-color: var(--error);
  border-width: 2px;
}

.wpcf7-not-valid-tip {
  margin-top: 4px;
  color: var(--error);
  font-size: 13px;
}

.cf-field.is-error .wpcf7-not-valid-tip {
  display: none;
}

.cf-radios .wpcf7-radio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}

.cf-radios .wpcf7-list-item {
  margin: 0;
}

.cf-radios label,
.cf-agree label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  cursor: pointer;
}

.cf-radios label {
  padding: 0 14px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.5;
}

.cf-radios label:has(input:checked) {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.wpcf7 input[type="radio"],
.wpcf7 input[type="checkbox"] {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--accent);
}

.cf-foot {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.cf-agree .wpcf7-list-item {
  margin: 0;
}

.cf-agree label {
  font-size: 14.5px;
}

.wpcf7 [type="submit"].btn {
  justify-content: center;
  padding: 12px 24px;
  min-width: 340px;
  min-height: 58px;
  cursor: pointer;
}

.wpcf7 [type="submit"].btn::after {
  content: none;
}

.wpcf7 [type="submit"]:disabled {
  background: var(--line-strong);
  cursor: not-allowed;
}

.wpcf7-spinner {
  margin: 0;
}

.wpcf7 form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.8;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-color: var(--error);
  color: var(--error);
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--accent);
}

@media (max-width: 767px) {
  .form-wrap {
    margin-top: 36px;
    padding: 24px 18px;
  }

  .contact__lead {
    text-align: left;
  }

  .cf-field {
    grid-template-columns: 1fr;
  }

  .cf-field > *:not(.cf-label) {
    grid-column: 1;
  }

  .cf-label {
    padding-top: 0;
  }

  .cf-radios .wpcf7-radio {
    grid-template-columns: 1fr;
  }

  .wpcf7 [type="submit"].btn {
    min-width: 0;
    width: 100%;
  }
}

/* 送信完了・404 */
.thanks {
  text-align: center;
}

.thanks .container {
  position: relative;
  z-index: 1;
}

.thanks .demo-note {
  justify-content: center;
  width: fit-content;
  margin: 28px auto 0;
}

/*----------------------------------------
  クローバーの飾りの置き場所
  文字やボタンに重ならないよう、幅ごとに決める
----------------------------------------*/
.art--i1 { transform: rotate(-14deg); }
.art--i2 { transform: rotate(22deg); }
.art--c1 { transform: rotate(18deg); }
.art--c2 { transform: rotate(-20deg); }
.art--p1 { transform: rotate(-16deg); }
.art--t1 { transform: rotate(12deg); }

/* 広い画面：文字の左右の余白に置く */
@media (min-width: 1100px) {
  .art--i1 { width: clamp(150px, 15vw, 230px); left: 4vw; top: 80px; }
  .art--i2 { width: clamp(120px, 11vw, 170px); right: 5vw; bottom: 60px; }
  .art--c1 { width: clamp(130px, 13vw, 200px); left: 4vw; bottom: 50px; }
  .art--c2 { width: clamp(110px, 10vw, 150px); right: 5vw; top: 60px; }
  .art--p1 { width: clamp(110px, 10vw, 150px); right: 8vw; top: 130px; }
  .art--t1 { width: clamp(110px, 10vw, 140px); left: 8vw; top: 50px; }
}

/* タブレット：文字の上と下に余白をとり、その角に置く */
@media (max-width: 1099px) {
  .intro { padding-block: 180px 180px; }
  .cta.section { padding-block: 170px 180px; }
  .thanks.section { padding-top: 170px; }

  .art--i1 { width: 120px; left: 3vw; top: 26px; }
  .art--i2 { width: 104px; right: 3vw; bottom: 30px; }
  .art--c1 { width: 112px; left: 3vw; bottom: 28px; }
  .art--c2 { width: 100px; right: 3vw; top: 28px; }
  .art--p1 { width: 96px; right: 4vw; top: 116px; }
  .art--t1 { width: 100px; left: 4vw; top: 30px; }
}

/* スマホ：飾りを小さくし、上下の余白も少し詰める */
@media (max-width: 767px) {
  .intro { padding-block: 140px 150px; }
  .cta.section { padding-block: 136px 150px; }
  .thanks.section { padding-top: 136px; }

  .art--i1 { width: 92px; left: -6px; top: 18px; }
  .art--i2 { width: 84px; right: -4px; bottom: 26px; }
  .art--c1 { width: 92px; left: -6px; bottom: 24px; }
  .art--c2 { width: 80px; right: -4px; top: 26px; }
  .art--p1 { width: 76px; right: 0; top: 98px; }
  .art--t1 { width: 84px; left: -4px; top: 24px; }
}

/*----------------------------------------
  アニメーション
  ・ふわっと出す部分の一覧と隠す指定は functions.php（clover_reveal_selectors）
  ・動きを減らす設定の人には動かさない
----------------------------------------*/
:root {
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

@media (prefers-reduced-motion: no-preference) {
  /* 1. トップの最初の画面：写真 → クローバーのロゴ → お知らせの小窓の順に一度だけ */
  .home .fv__photo {
    animation: clover-rise 1.1s var(--ease-out) both;
  }

  .home .header__logo a {
    animation: clover-pop .9s .35s var(--ease-out) both;
  }

  .home .fv__meta,
  .home .fv__vertical {
    animation: clover-fade 1s .7s ease-out both;
  }

  .home .fv__news {
    animation: clover-rise .8s .95s var(--ease-out) both;
  }

  /* 4. 写真：画面に入ったら、少し拡大した状態から元の大きさへ */
  .js :is(.points__img, .post-card__img, .blog-mini figure) img {
    scale: 1.06;
    transition: scale 1.4s var(--ease-out), transform .5s var(--ease-out);
  }

  .js .is-inview :is(.points__img, .post-card__img, .blog-mini figure) img,
  .js :is(.points__item, .post-card, .blog-mini > li).is-inview img {
    scale: 1;
  }

  /* 5. マウスを乗せたとき：矢印や文字が少し右へ動く */
  .btn::after {
    transition: translate .3s var(--ease-out);
  }

  .btn:hover::after {
    translate: 5px 0;
  }

  .news-list a span {
    transition: translate .3s var(--ease-out);
  }

  .news-list a:hover span {
    translate: 4px 0;
  }

  .blog-mini a:hover img {
    transform: scale(1.05);
  }
}

@keyframes clover-rise {
  from {
    opacity: 0;
    translate: 0 16px;
  }
}

@keyframes clover-pop {
  from {
    opacity: 0;
    transform: scale(.82) rotate(-12deg);
  }
}

@keyframes clover-fade {
  from {
    opacity: 0;
  }
}

/*----------------------------------------
  1. 言葉のまとまりで改行する
  ・Chrome / Edge / Android は word-break: auto-phrase
  ・Safari など未対応のブラウザは script.js が BudouX で改行の目印を入れる
----------------------------------------*/
:is(h1, h2, h3, .fv__catch, .fv__sub, .worries__list li, .news-list a span, .blog-mini b, .post-card__title, .points__title, .voices__text, .flow__list p, .cta__title, .cta__text, .info-list dt, .compare__table th, .compare__table td) {
  word-break: auto-phrase;
}

:is(h1, h2, h3, .fv__catch, .post-card__title, .blog-mini b, .points__title, .cta__title) {
  text-wrap: balance;
}

/* BudouX で目印を入れた要素（Safari など） */
.is-phrased {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/*----------------------------------------
  9. スマホのブログ一覧：写真を小さくして文字と横に並べる
----------------------------------------*/
@media (max-width: 767px) {
  .post-cards {
    gap: 16px;
  }

  .post-card a {
    display: grid;
    grid-template-columns: 112px 1fr;
    align-items: center;
    gap: 14px;
  }

  .post-card__img {
    border-radius: 8px;
  }

  .post-card__body {
    padding-top: 0;
  }

  .post-card__title {
    font-size: 15px;
    line-height: 1.6;
  }

  .post-card time {
    font-size: 12px;
  }
}

/*----------------------------------------
  12. 料金ページ：比べ表とお知らせの一覧
----------------------------------------*/
.compare {
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--surface);
}

.compare:focus-visible {
  outline-offset: 4px;
}

.compare__table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.7;
}

.compare__table th,
.compare__table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

.compare__table thead th {
  font-weight: 500;
  border-bottom: 1px solid var(--line-strong);
}

.compare__table thead th.is-recommend {
  color: var(--white);
  background: var(--accent);
}

.compare__table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 250px;
  background: var(--surface);
  font-weight: 500;
  text-align: left;
}

.compare__table tr:last-child > * {
  border-bottom: 0;
}

.compare__price {
  font-family: var(--en);
  font-size: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sp-note {
  display: none;
}

.info-list {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.info-list > div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 8px 32px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line-strong);
}

.info-list dt {
  font-weight: 500;
}

.info-list dd {
  margin: 0;
  color: var(--sub);
}

@media (max-width: 767px) {
  .compare__table {
    min-width: 720px;
    font-size: 13px;
  }

  .compare__table tbody th {
    width: 140px;
  }

  .sp-note {
    display: block;
  }

  .info-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/*----------------------------------------
  16. 送信ボタンの下の案内
----------------------------------------*/
.cf-hint {
  color: var(--sub);
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}

.cf-hint[hidden] {
  display: none;
}

.cf-agree a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/*----------------------------------------
  footer（スマホ：中央揃え）
----------------------------------------*/
@media (max-width: 767px) {
  .footer__top {
    align-items: center;
    text-align: center;
  }

  .footer__nav ul {
    justify-content: center;
    text-align: center;
  }

  .footer__info {
    grid-template-columns: auto auto;
    justify-content: center;
  }

  .footer__copy {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}
