/* えんがわサロン HP
   色・文字の決まりは HP管理部/03_デザイン部/デザインの決まり.md */

:root {
  --kinari: #FBF6EC;      /* 生成り：背景 */
  --koge: #4A3B2C;        /* こげ茶：文字 */
  --wakaba: #8DBF7A;      /* 若葉：区切り */
  --hizashi: #F6C85F;     /* 日差しの黄：ボタン */
  --wakaba-pale: #EAF3E2;
  --wood-pale: #EFE3CF;
  --wakaba-deep: #4F7A3F;
  --radius: 16px;
  --wrap: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--kinari);
  color: var(--koge);
  font-family: "Zen Maru Gothic", "BIZ UDPGothic", "Hiragino Maru Gothic ProN", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  -webkit-text-size-adjust: 100%;
}

@media (min-width: 768px) {
  body { font-size: 17px; }
}

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

a { color: var(--wakaba-deep); }
a:hover { color: var(--koge); }

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

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 .6em;
}

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.narrow { max-width: 40em; }

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 246, 236, .94);
  border-bottom: 1px solid var(--wood-pale);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--koge);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .08em;
}

.logo-sun {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--hizashi);
  flex: none;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .9rem;
}

.site-nav a {
  color: var(--koge);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 3px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { border-bottom-color: var(--wakaba); }

/* ---------- ボタン ---------- */

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--hizashi);
  color: var(--koge);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--hizashi);
  transition: transform .15s;
}

.btn:hover { color: var(--koge); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  border-color: var(--koge);
}

.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- トップの大きな絵 ---------- */

.hero { padding: 24px 0 0; }

@media (min-width: 768px) {
  .hero { padding-top: 32px; }
}

.hero-img {
  width: 100%;
  border-radius: var(--radius);
}

.hero-text {
  text-align: center;
  padding-top: 40px;
}

.hero-text .btns { justify-content: center; }

br.sp { display: none; }

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

.hero h1 {
  font-size: clamp(1.9rem, 6vw, 3rem);
  letter-spacing: .06em;
  margin-bottom: .4em;
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--wakaba-deep);
  margin-bottom: 1.2em;
}

.hero-sub mark {
  background: linear-gradient(transparent 60%, var(--hizashi) 60%);
  color: inherit;
}


/* ---------- セクション ---------- */

.section { padding: 72px 0; }

.section-green { background: var(--wakaba-pale); }

.section-title {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  text-align: center;
  margin-bottom: 1.4em;
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--wakaba);
  margin: 12px auto 0;
}

.lead { text-align: center; margin: 0 auto 2em; }

/* ---------- 3つの特徴 ---------- */

.features {
  display: grid;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: #fff;
  border: 2px solid var(--wood-pale);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.feature-num {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--wakaba-deep);
  letter-spacing: .1em;
}

.feature-word {
  font-size: 1.6rem;
  margin: 0 0 .1em;
}

.feature-sub {
  font-weight: 700;
  margin-bottom: .8em;
}

.feature-sub span {
  background: linear-gradient(transparent 60%, var(--hizashi) 60%);
}

/* ---------- 一覧 ---------- */

.places {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .places { grid-template-columns: repeat(3, 1fr); }
}

.places h3 { font-size: 1.15rem; margin-bottom: .3em; }
.places p { margin: 0; }

.prefs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin: 0 0 1.5em;
  padding: 0;
}

.prefs li {
  background: #fff;
  border: 2px solid var(--wakaba);
  border-radius: 999px;
  padding: 6px 22px;
  font-weight: 700;
}

.prefs .home { background: var(--hizashi); border-color: var(--hizashi); }

/* ---------- SNS ---------- */

.sns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .sns { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

.sns a {
  display: block;
  height: 100%;
  background: #fff;
  border: 2px solid var(--wood-pale);
  border-radius: var(--radius);
  padding: 18px 16px;
  color: var(--koge);
  text-decoration: none;
  text-align: center;
}

.sns a:hover { border-color: var(--wakaba); }

.sns strong { display: block; font-size: 1.05rem; }
.sns span { font-size: .85rem; color: var(--wakaba-deep); }

/* ---------- 呼びかけ ---------- */

.cta {
  text-align: center;
  background: var(--wood-pale);
  border-radius: var(--radius);
  padding: 48px 24px;
}

.cta .btns { justify-content: center; }

/* ---------- 下層ページ ---------- */

.page-head {
  padding: 56px 0 32px;
  text-align: center;
}

.page-head h1 {
  font-size: clamp(1.6rem, 5vw, 2.2rem);
}

.page-head h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--wakaba);
  margin: 12px auto 0;
}

.prose h2 {
  font-size: 1.35rem;
  margin-top: 2.2em;
  padding-left: 14px;
  border-left: 6px solid var(--wakaba);
}

.prose h2:first-child { margin-top: 0; }

.prose h3 { font-size: 1.1rem; margin-top: 1.6em; }

.prose ul,
.prose ol { padding-left: 1.4em; margin: 0 0 1em; }

.prose li { margin-bottom: .4em; }

.info {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}

.info th,
.info td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--wood-pale);
  vertical-align: top;
}

.info th {
  width: 7em;
  background: var(--wakaba-pale);
  font-weight: 700;
  white-space: nowrap;
}

.info tr:last-child th,
.info tr:last-child td { border-bottom: 0; }

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0 !important;
}

.steps li {
  counter-increment: step;
  position: relative;
  background: #fff;
  border: 2px solid var(--wood-pale);
  border-radius: var(--radius);
  padding: 16px 20px 16px 64px;
  margin-bottom: 12px !important;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--hizashi);
  font-weight: 700;
  text-align: center;
  line-height: 32px;
}

.form-box {
  background: #fff;
  border: 2px dashed var(--wakaba);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
}

.form-box iframe { width: 100%; border: 0; }

.note { font-size: .9rem; }

/* ---------- フッター ---------- */

.site-footer {
  margin-top: 72px;
  background: var(--koge);
  color: var(--kinari);
  padding: 48px 0 32px;
  font-size: .9rem;
}

.site-footer a { color: var(--kinari); }
.site-footer a:hover { color: var(--hizashi); }

.footer-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

.footer-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: .3em;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li { margin-bottom: .4em; }

.footer-label {
  font-weight: 700;
  color: var(--wakaba);
  margin-bottom: .4em;
}

.copy {
  margin: 32px 0 0;
  text-align: center;
  font-size: .8rem;
  opacity: .8;
}
