@charset "UTF-8";

:root {
  color-scheme: only light;
  --fuji: #6b5b8e;
  --fuji-dark: #4f4270;
  --fuji-pale: #efeaf4;
  --sumi: #201f26;
  --sumi-soft: #4a4854;
  --kinari: #f7f5f0;
  --white: #ffffff;
  --wakaba: #8fa06b;
  --line: #ddd8d0;
  --shadow: 0 2px 10px rgba(32, 31, 38, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--sumi);
  font-family:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 18px;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: var(--fuji-dark);
}

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

p {
  margin: 0;
}

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

/* ===== 提案専用注釈 ===== */

.proposal-note {
  background: var(--sumi);
  color: #f2f0f5;
  padding: 14px 20px;
  font-size: 15px;
  line-height: 1.8;
}

.proposal-note__line {
  max-width: 940px;
  margin: 0 auto;
}

.proposal-note__line strong {
  color: #fff;
}

.proposal-note__line--sub {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: #d9d5e2;
}

.proposal-note a {
  color: #fff;
}

/* ===== ヘッダー ===== */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header__bar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header__name {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.header__place {
  font-size: 15px;
  color: var(--sumi-soft);
  line-height: 1.5;
}

.header__contact {
  text-align: right;
}

.header__tel {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--sumi);
}

.header__tel-label {
  font-size: 15px;
  color: var(--sumi-soft);
}

.header__tel-number {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.header__tel-note {
  font-size: 14px;
  color: var(--sumi-soft);
  line-height: 1.5;
}

.header__menu-button {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--fuji);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.header__menu-bars {
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
  display: block;
}

.header__menu-bars::before,
.header__menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #fff;
}

.header__menu-bars::before {
  top: -6px;
}

.header__menu-bars::after {
  top: 6px;
}

.nav {
  border-top: 1px solid var(--line);
  background: var(--kinari);
}

.nav__list {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
}

.nav__list a {
  display: inline-block;
  padding: 12px 0;
  color: var(--sumi);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
}

.nav__list a:hover {
  color: var(--fuji-dark);
}

/* ===== 共通セクション ===== */

/* ヘッダーが固定されているぶん、リンクで飛んだときの着地点を下げる */
main section[id] {
  scroll-margin-top: 176px;
}

.section__inner {
  max-width: 940px;
  margin: 0 auto;
  padding: 72px 20px;
}

.section__eyebrow {
  font-size: 17px;
  font-weight: 700;
  color: var(--fuji);
  margin-bottom: 10px;
}

.section__title {
  font-size: 32px;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.section__lead {
  font-size: 18px;
  color: var(--sumi-soft);
  margin-bottom: 32px;
}

.note-inline {
  margin-top: 28px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--sumi-soft);
  background: var(--kinari);
  border-left: 4px solid var(--line);
  padding: 12px 16px;
}

/* ===== ボタン ===== */

.button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  border-radius: 8px;
  padding: 14px 32px;
  font-family: inherit;
}

.button--tel {
  background: var(--fuji);
  color: #fff;
  box-shadow: var(--shadow);
}

.button--tel:hover {
  background: var(--fuji-dark);
}

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

.button__big {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.button--large .button__big {
  font-size: 34px;
}

/* ===== ヒーロー ===== */

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(32, 31, 38, 0.06) 0%,
    rgba(32, 31, 38, 0.34) 42%,
    rgba(32, 31, 38, 0.74) 100%
  );
}

.hero__body {
  position: relative;
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  padding: 56px 20px 60px;
  color: #fff;
}

.hero__eyebrow {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #e6e0f0;
}

.hero__title {
  font-size: 46px;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero__title span {
  display: inline-block;
}

.hero__lead {
  font-size: 19px;
  margin-bottom: 28px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.hero__note {
  margin-top: 14px;
  font-size: 16px;
  color: #e6e0f0;
}

/* ===== お困りごと（ギミック） ===== */

.komarigoto {
  background: var(--kinari);
}

.komari {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.komari__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.komari__list li {
  display: flex;
}

.komari__item {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--sumi);
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s,
    color 0.15s;
}

@media (hover: hover) {
  .komari__item:hover {
    background: var(--fuji);
    border-color: var(--fuji);
    color: #fff;
  }
}

.komari__item.is-active {
  background: var(--fuji);
  border-color: var(--fuji);
  color: #fff;
}

.komari__panel {
  background: var(--white);
  border: 2px solid var(--fuji);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  align-items: center;
}

.komari__answer,
.komari__placeholder {
  display: none;
}

.komari__answer.is-shown,
.komari__placeholder.is-shown {
  display: block;
}

.komari__placeholder {
  font-size: 18px;
  color: var(--sumi-soft);
  text-align: center;
  width: 100%;
}

.komari__placeholder span {
  display: inline-block;
}

.komari__answer-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--fuji);
  margin-bottom: 6px;
}

.komari__answer-name {
  font-size: 30px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.komari__answer-text {
  font-size: 18px;
  line-height: 1.95;
}

/* ===== できること ===== */

.dekiru__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.dekiru__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--fuji);
  border-radius: 8px;
  padding: 24px 22px 26px;
}

.dekiru__card-title {
  font-size: 23px;
  margin-bottom: 14px;
}

.dekiru__list li {
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px dotted var(--line);
  font-size: 18px;
}

.dekiru__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wakaba);
}

/* ===== 仕事の様子（差し替え枠） ===== */

.jirei {
  background: var(--kinari);
}

.jirei__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.jirei__frame {
  margin: 0;
}

.jirei__box {
  aspect-ratio: 4 / 3;
  border: 2px dashed var(--fuji);
  border-radius: 8px;
  background: var(--fuji-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}

.jirei__box-label {
  font-size: 20px;
  font-weight: 700;
  color: var(--fuji-dark);
}

.jirei__frame figcaption {
  margin-top: 12px;
  font-size: 16px;
  color: var(--sumi-soft);
  line-height: 1.7;
}

/* ===== 藤晴苑について ===== */

.about__table {
  margin: 0;
  border-top: 1px solid var(--line);
}

.about__row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.about__row dt {
  padding: 16px 20px;
  background: var(--kinari);
  font-weight: 700;
}

.about__row dd {
  margin: 0;
  padding: 16px 20px;
}

/* ===== お伺いする地域 ===== */

.area__main {
  display: inline-block;
  background: var(--fuji);
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  padding: 10px 32px;
  border-radius: 8px;
  margin-bottom: 22px;
}

.area__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.area__list li {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 18px;
  background: var(--kinari);
}

.area__text {
  font-size: 18px;
  color: var(--sumi-soft);
}

/* ===== お問い合わせ ===== */

.contact {
  background: var(--sumi);
  color: #fff;
  text-align: center;
}

.contact .section__title {
  color: #fff;
}

.contact__text {
  font-size: 18px;
  color: #ddd9e4;
  margin-bottom: 30px;
}

.contact__note {
  margin-top: 22px;
  font-size: 16px;
  color: #ddd9e4;
}

/* ===== フッター ===== */

.footer {
  background: var(--kinari);
  border-top: 1px solid var(--line);
}

.footer .section__inner {
  padding-top: 44px;
  padding-bottom: 56px;
}

.footer__brand {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.footer__line {
  font-size: 17px;
  margin-bottom: 10px;
}

.footer__copy {
  font-size: 15px;
  color: var(--sumi-soft);
  margin-bottom: 20px;
}

.footer__note {
  font-size: 15px;
  line-height: 1.85;
  color: var(--sumi-soft);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* ===== スマホ固定電話ボタン ===== */

.tel-fixed {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--fuji);
  color: #fff;
  text-decoration: none;
  padding: 10px 16px 12px;
  text-align: center;
  box-shadow: 0 -2px 12px rgba(32, 31, 38, 0.25);
}

.tel-fixed__small {
  display: block;
  font-size: 14px;
  line-height: 1.4;
}

.tel-fixed__big {
  display: block;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

/* ===== タブレット ===== */

@media (max-width: 900px) {
  .komari {
    grid-template-columns: minmax(0, 1fr);
  }

  .dekiru__grid,
  .jirei__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* ===== スマホ ===== */

@media (max-width: 640px) {
  body {
    font-size: 18px;
  }

  .proposal-note {
    font-size: 14px;
    padding: 12px 16px;
  }

  .header__bar {
    padding: 12px 16px;
    gap: 10px;
  }

  .header__name {
    font-size: 22px;
  }

  .header__place {
    font-size: 14px;
  }

  .header__contact {
    display: none;
  }

  .header__menu-button {
    display: inline-flex;
  }

  .nav {
    display: none;
  }

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

  .nav__list {
    flex-direction: column;
    gap: 0;
    padding: 0 16px;
  }

  .nav__list li + li a {
    border-top: 1px solid var(--line);
  }

  .nav__list a {
    padding: 14px 0;
    font-size: 18px;
  }

  main section[id] {
    scroll-margin-top: 92px;
  }

  .section__inner {
    padding: 52px 16px;
  }

  .section__title {
    font-size: 26px;
  }

  .hero {
    min-height: 520px;
  }

  .hero__body {
    padding: 44px 16px 48px;
  }

  .hero__title {
    font-size: 33px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .button {
    width: 100%;
    padding: 14px 20px;
  }

  .button__big,
  .button--large .button__big {
    font-size: 27px;
  }

  .komari__panel {
    padding: 22px 18px;
  }

  .komari__answer-name {
    font-size: 25px;
  }

  .dekiru__grid,
  .jirei__grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .jirei__box {
    aspect-ratio: 16 / 10;
  }

  .about__row dd {
    padding-top: 12px;
  }

  .area__main {
    font-size: 26px;
    padding: 10px 24px;
  }

  .tel-fixed {
    display: block;
  }

  .footer .section__inner {
    padding-bottom: 130px;
  }
}
