@charset "utf-8";

/* 共通CSSには手を加えず、このページ内だけにレイアウトを適用する */
.ensofic-page { margin: 0; background: #fffafa; color: #6c4548; font-size: 16px; line-height: 1.95; text-align: left; }
.ensofic-page * { box-sizing: border-box; }
.ensofic-page a { color: #974864; }
.ensofic-page a:focus-visible, .ensofic-page summary:focus-visible { outline: 3px solid #974864; outline-offset: 5px; }
.ensofic-page h1, .ensofic-page h2, .ensofic-page h3, .hero-message { font-family: "Sawarabi Mincho", "Yu Mincho", serif; font-weight: 400; line-height: 1.65; }
.ensofic-page h2 { margin: 12px 0 28px; font-size: clamp(26px, 3.4vw, 36px); }
.ensofic-page h3 { font-size: 22px; margin: 12px 0; }
.ensofic-page p { margin: 0 0 20px; }
.skip-link { position: absolute; left: 16px; top: -100px; background: white; padding: 12px; z-index: 5; }
.skip-link:focus { top: 12px; }
.salon-header { background: white; text-align: center; }
.salon-logo { display: inline-block; padding: 22px 15px 16px; }
.salon-logo img { max-width: 100%; height: 35px; width: auto; }
.salon-header nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; padding: 15px; border-top: 1px solid #f4e5e6; border-bottom: 1px solid #ead7d8; }
.salon-header nav a { font-size: 14px; text-decoration: none; }
.ray-hero { max-width: 1120px; margin: 28px auto 0; display: grid; grid-template-columns: 1.15fr 1fr; background: #fff0f0; border: 1px solid #cbb46c; }
.hero-copy { padding: 52px 36px 36px; }
.eyebrow { color: #916f3c; font-size: 12px; letter-spacing: .18em; font-family: Georgia, serif; }
.ensofic-page h1 { font-size: clamp(28px, 3.5vw, 42px); margin: 12px 0 22px; letter-spacing: .04em; }
.hero-message { font-size: 26px; color: #a64e70; }
.hero-photo { background: url('../img/header/01.jpg') left center / auto 100% no-repeat; min-height: 480px; }
.ensofic-page .hero-note { font-size: 12px; margin-top: 20px; margin-bottom: 0; }
.ensofic-page .ray-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 15px 28px; border-radius: 40px; background: linear-gradient(110deg, #ad486e, #8d527e); color: white; font-size: 16px; text-decoration: none; box-shadow: 0 6px 18px #8d527e22; }
.ray-button:hover { filter: brightness(1.08); }
.page-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 28px; padding: 24px 20px; font-size: 13px; border-bottom: 1px solid #ead7d8; }
.ray-section { width: min(940px, 100%); margin: auto; padding: 75px 28px; }
.ray-section > h2, .ray-section > .eyebrow, .section-lead { text-align: center; }
.intro { text-align: center; max-width: 850px; }
.intro p { margin-bottom: 28px; }
.text-link { text-underline-offset: 5px; }
.soft-section { background: #fff0f2; border-top: 1px solid #f3e1e3; border-bottom: 1px solid #f3e1e3; }
.wish-list { list-style: none; padding: 0; max-width: 650px; margin: 35px auto 0; }
.wish-list li { padding: 14px 0 14px 30px; border-bottom: 1px solid #e5cdd3; position: relative; }
.wish-list li::before { content: '✧'; position: absolute; left: 0; color: #a64e70; }
.learning-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 45px 0 25px; }
.learning-grid article { border-top: 2px solid #cbb46c; padding-top: 20px; }
.lesson-number { font: 36px Georgia, serif; color: #bc8295; }
.learning-grid p { font-size: 15px; }
.small-note { font-size: 13px; color: #7d6265; }
.course-path { list-style: none; padding: 0; margin: 40px 0 30px; }
.course-path li { position: relative; background: #fffafa; border: 1px solid #dfcdd2; padding: 26px 30px; margin-bottom: 22px; }
.course-path .current-course { border: 2px solid #ae6682; background: white; }
.step-label { font-size: 13px; letter-spacing: .06em; color: #974864; }
.step-label span { display: inline-block; margin-left: 15px; border: 1px solid #cba5b3; padding: 2px 12px; border-radius: 20px; }
.current-course .step-label span { background: #974864; color: white; }
.course-path .duration { color: #974864; font-size: 14px; margin-bottom: 12px; }
.course-path p:last-child, .hosting-note p { margin-bottom: 0; }
.hosting-note { border-left: 3px solid #ae6682; padding: 5px 0 5px 22px; }
.hosting-note p { margin-top: 12px; }
.class-details { margin: 40px 0 22px; }
.class-details > div { display: grid; grid-template-columns: 160px 1fr; padding: 21px 10px; border-bottom: 1px solid #e8d8dc; }
.class-details dt { font-weight: bold; }
.class-details dd { margin: 0; }
.class-details small { font-size: 13px; }
.faq { margin-top: 70px; }
.faq h2 { text-align: center; }
.faq details { border-bottom: 1px solid #e8d8dc; padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: bold; }
.faq details p { margin: 16px 0 0; padding-left: 20px; }
.reservation { padding: 70px 24px; text-align: center; background: linear-gradient(135deg, #f9e3e8, #f7edf6); border-block: 1px solid #e8d8dc; }
.reservation .ray-button { margin: 12px 0 24px; }
.form-guide { font-size: 13px; max-width: 660px; margin-inline: auto !important; }
.source-note { max-width: 940px; padding: 28px; margin: auto; font-size: 12px; }
.source-note p { margin: 0; }
.salon-footer { padding: 30px 20px; background: #6c4548; text-align: center; font-size: 12px; }
.ensofic-page .salon-footer a { display: inline-block; margin: 0 12px 15px; color: white; }
.salon-footer p { color: white; margin: 0; }
.phrase { display: inline-block; }
.mobile-break { display: none; }
/* スマートフォンでは写真と本文を縦に並べ、横スクロールを避ける */
@media (max-width: 700px) {
  .salon-header nav { gap: 8px 20px; }
  .salon-header nav a { font-size: 12px; }
  .ray-hero { margin: 16px 14px 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 32px 24px; }
  .hero-photo { min-height: 240px; background-size: auto 165%; background-position: left top; }
  /* 狭い画面でも見出しが一文字だけ折り返されないようにする */
  .ensofic-page h1 { font-size: clamp(24px, 6.5vw, 28px); letter-spacing: 0; }
  .ensofic-page h2 { font-size: clamp(22px, 5.8vw, 26px); }
  .hero-message { font-size: clamp(19px, 5.1vw, 24px); }
  .ensofic-page { line-break: strict; overflow-wrap: break-word; }
  .hero-copy, .learning-grid article { min-width: 0; }
  .intro > p:not(.eyebrow), .section-lead, .form-guide { text-align: left; }
  .ensofic-page .ray-button { max-width: 100%; gap: 12px; padding: 15px 18px; font-size: 14px; }
  .step-label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
  .step-label span { margin-left: 0; }
  .faq details p { padding-left: 0; }
  .ray-section { padding: 52px 24px; }
  .learning-grid { grid-template-columns: 1fr; gap: 24px; }
  .course-path li { padding: 22px 18px; }
  .course-path h3 { font-size: clamp(18px, 4.8vw, 20px); }
  .class-details > div { grid-template-columns: 1fr; gap: 6px; }
  .page-nav { gap: 10px 20px; font-size: 12px; }
  .mobile-break { display: inline; }
  .desktop-break { display: none; }
}
