/* ふたいピアノ教室 — styles */

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

body {
  margin: 0;
  font-family: 'Zen Maru Gothic', 'Kosugi Maru', sans-serif;
  color: #5b4a3e;
  line-height: 1.85;
  background: linear-gradient(180deg, #fdeef0 0%, #fdf4ee 45%, #fcf0ee 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
}

.link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  transition: transform .18s ease, filter .18s ease;
}
.link:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.nav-link:hover {
  transform: translateY(-3px);
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 249, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #f4dbe0;
  box-shadow: 0 2px 14px rgba(214, 140, 150, .1);
}

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

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.brand-name {
  display: flex;
  align-items: center;
  gap: 7px;
}
.brand-name span:first-child {
  font-weight: 900;
  font-size: 23px;
  color: #5b4a3e;
  letter-spacing: .02em;
}
.brand-icon {
  font-size: 20px;
}
.brand-tagline {
  font-size: 12px;
  color: #c98a99;
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-nav img {
  height: 54px;
  display: block;
}

.header-line-btn img {
  height: 62px;
  display: block;
}

/* ===== HERO ===== */
.hero-section {
  padding: 18px 22px 6px;
  scroll-margin-top: 82px;
}

.hero-panel {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, #fde3e6 0%, #fcece4 55%, #f9e6ef 100%);
  box-shadow: 0 12px 36px rgba(214, 140, 150, .18);
  padding: 42px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 430px;
}

.hero-flower {
  position: absolute;
  top: 0;
  right: 0;
  width: 260px;
  opacity: .7;
  transform: scaleX(-1);
  pointer-events: none;
}

.hero-copy {
  flex: 1.05;
  position: relative;
  z-index: 2;
}

.hero-vase {
  position: absolute;
  top: -18px;
  left: -6px;
  width: 96px;
  opacity: .95;
}

.hero-copy h1 {
  margin: 84px 0 0;
  font-weight: 900;
  font-size: 40px;
  line-height: 1.4;
  color: #5b4a3e;
  letter-spacing: .01em;
}
.hero-copy h1 .accent {
  color: #e26b86;
  font-size: 50px;
}
.hero-copy h1 .note {
  color: #e8aa3e;
  font-size: 44px;
}

.hero-copy p {
  margin: 22px 0 0;
  font-size: 22px;
  font-weight: 500;
  color: #6b5848;
  line-height: 1.75;
}

.hero-figure {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-figure img {
  width: 100%;
  max-width: 480px;
  filter: drop-shadow(0 14px 26px rgba(120, 80, 60, .22));
}

/* ===== INTRO 3 CARDS ===== */
.intro-section {
  padding: 40px 22px 10px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr 1.05fr;
  gap: 20px;
  align-items: stretch;
}

.card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  border: 1.5px solid #f6dee2;
  box-shadow: 0 10px 26px rgba(214, 140, 150, .13);
  padding: 56px 26px 30px;
  margin-top: 30px;
}

.card-ribbon {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.card-greeting p {
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
}
.card-greeting .highlight {
  color: #e26b86;
}

.card-classroom {
  border-color: #d9ecdf;
}
.card-classroom .card-ribbon {
  width: 214px;
}
.check-list {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.check-list li {
  display: flex;
  gap: 9px;
}
.check-list li .mark {
  color: #7bbf8e;
}
.card-classroom img {
  display: block;
  margin: 18px auto 0;
  width: 170px;
}

.card-recommend {
  border-color: #d8e6f3;
  padding-top: 62px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.card-recommend .card-ribbon {
  top: -34px;
  width: 232px;
}
.tick-list {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 15.5px;
  line-height: 1.55;
}
.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}
.tick-list li .tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  margin-top: 2px;
  background: #ef93a4;
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}
.card-recommend img {
  width: 230px;
  align-self: center;
  margin-top: 22px;
}

/* ===== レッスン案内 ===== */
.section-heading {
  text-align: center;
  font-weight: 900;
  font-size: 30px;
  color: #6b5848;
  margin: 0 0 28px;
  letter-spacing: .06em;
}
.section-heading .star {
  color: #e8aa3e;
}

.lesson-section {
  padding: 46px 22px 10px;
  scroll-margin-top: 82px;
}

.lesson-panel {
  background: #fff;
  border-radius: 28px;
  border: 1.5px solid #f6dee2;
  box-shadow: 0 12px 30px rgba(214, 140, 150, .13);
  padding: 30px 26px;
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.lesson-card {
  position: relative;
  background: #fdf8f3;
  border-radius: 18px;
  padding: 0 18px 26px;
  border: 1px solid #f1e2d3;
}

.lesson-card-title {
  background: #f2ddc9;
  color: #8a6b4f;
  font-weight: 700;
  text-align: center;
  border-radius: 12px;
  padding: 9px 0;
  margin: 14px 0 18px;
  font-size: 17px;
}
.lesson-card-title.compact {
  font-size: 15px;
}

.lesson-card > p {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.8;
}

.target-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15.5px;
}
.target-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.keys {
  display: inline-flex;
  gap: 1.5px;
  background: #fff;
  padding: 2px;
  border-radius: 2px;
  border: 1px solid #d9c3a8;
}
.keys .key {
  display: inline-block;
  width: 3px;
  height: 13px;
  background: #3a3330;
  border-radius: 0 0 1px 1px;
}

.content-list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14.5px;
}
.content-list li {
  display: flex;
  gap: 8px;
}
.content-list li .note {
  color: #e8aa3e;
}
.lesson-card .footnote {
  margin: 0;
  font-size: 14px;
  color: #6b5848;
}

.price-box {
  background: #fff;
  border: 1px solid #f0dccd;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.price-box + .price-box {
  margin-bottom: 14px;
}
.price-box .plan {
  font-weight: 700;
  font-size: 14.5px;
  color: #7a6450;
}
.price-box .price {
  font-size: 14px;
}
.price-box .price b {
  color: #e26b86;
  font-size: 21px;
}
.lesson-card .price-notes {
  margin: 0;
  font-size: 12.5px;
  color: #9a8472;
  line-height: 1.7;
}

.trial-note {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.8;
  color: #6b5848;
}

.line-btn-green img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 5px 11px rgba(80, 180, 90, .25));
}
.line-btn-green {
  display: block;
}

/* ===== EVENT + TEACHER ===== */
.event-teacher-section {
  padding: 42px 22px 10px;
  scroll-margin-top: 82px;
}

.event-teacher-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 22px;
  align-items: stretch;
}

.card-event {
  border-color: #e6def0;
  padding: 54px 28px 28px;
}
.card-event .card-ribbon {
  top: -26px;
  width: 150px;
}

.event-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.event-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}
.event-list li {
  display: flex;
  align-items: center;
  gap: 14px;
}
.event-list li img {
  width: 34px;
}
.event-list li.tree img {
  width: 42px;
}
.event-list li span {
  font-size: 16px;
}
.event-santa {
  width: 126px;
  flex-shrink: 0;
  margin-top: 14px;
}

.event-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
  align-items: end;
}
.event-photos img {
  display: block;
}
.event-photos .hedgehog {
  width: 82%;
  justify-self: center;
}

.card-teacher {
  padding: 54px 30px 28px;
}
.card-teacher .card-ribbon {
  top: -26px;
  width: 262px;
}
.teacher-top {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.teacher-top img {
  width: 118px;
  flex-shrink: 0;
}
.teacher-top div {
  font-size: 15px;
  line-height: 1.85;
}
.teacher-bio {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.9;
}

/* ===== ACCESS + CONTACT ===== */
.access-contact-section {
  padding: 38px 22px 10px;
  scroll-margin-top: 82px;
}

.access-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.card-access,
.card-contact {
  padding: 54px 30px 28px;
}
.card-access .card-ribbon {
  top: -26px;
  width: 230px;
}
.card-contact {
  scroll-margin-top: 82px;
}
.card-contact .card-ribbon {
  top: -26px;
  width: 262px;
}

.access-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
}
.access-row .info {
  font-size: 15px;
  line-height: 1.9;
}
.access-row .note {
  font-size: 13px;
  color: #9a8472;
}
.access-row img {
  width: 128px;
  flex-shrink: 0;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.contact-row p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.85;
}
.contact-row .reply-note {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: #9a8472;
}
.contact-row .line-btn-green {
  display: inline-block;
}
.contact-row .line-btn-green img {
  height: 60px;
  width: auto;
}
.contact-row > img {
  width: 140px;
  flex-shrink: 0;
}

/* ===== FAQ ===== */
.faq-section {
  padding: 46px 22px 20px;
  scroll-margin-top: 82px;
}

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

.faq-card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  border: 1.5px solid #f6dee2;
  box-shadow: 0 10px 26px rgba(214, 140, 150, .13);
  padding: 24px 24px 14px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}
.faq-q {
  display: flex;
  gap: 8px;
  font-size: 16.5px;
  font-weight: 700;
  color: #6b5848;
}
.faq-q .q-mark {
  color: #e26b86;
  font-size: 22px;
  font-weight: 900;
}
.faq-card p {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.85;
}
.faq-card img {
  margin-top: auto;
}
.faq-card.align-right img {
  margin-left: auto;
  margin-right: 0;
}
.faq-card.align-center img {
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER ===== */
.site-footer {
  margin-top: 30px;
  background: linear-gradient(180deg, #fbe6ea, #f7d9e0);
  border-top: 2px solid #f3c9d3;
  padding: 26px 22px 22px;
  text-align: center;
  position: relative;
}
.footer-notes {
  height: 42px;
  position: absolute;
  left: 30px;
  bottom: 18px;
  opacity: .85;
}
.footer-wave {
  height: 70px;
  position: absolute;
  right: 34px;
  bottom: 6px;
}
.footer-name {
  font-weight: 900;
  font-size: 20px;
  color: #5b4a3e;
}
.footer-copy {
  font-size: 12px;
  color: #b07e8c;
  margin-top: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .intro-grid,
  .lesson-grid,
  .event-teacher-grid,
  .access-contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .site-nav img {
    height: 42px;
  }
  .hero-panel {
    flex-direction: column;
    padding: 32px 24px;
  }
  .hero-copy h1 {
    margin-top: 20px;
    font-size: 32px;
  }
  .hero-copy h1 .accent {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .site-header .wrap {
    flex-wrap: wrap;
  }
  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}
