:root { --ink: #003f45; --mint: #e6f2ef; --paper: #fffdf8; --coral: #d85c54; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; }
a { color: inherit; }
.demo-ribbon { position: relative; z-index: 2; padding: 10px 20px; background: var(--ink); color: white; text-align: center; font: 700 13px/1.4 system-ui, sans-serif; letter-spacing: .08em; }
.config-warning { position: relative; z-index: 2; padding: 16px 20px; background: var(--coral); color: white; text-align: center; font: 700 14px/1.6 system-ui, sans-serif; letter-spacing: .02em; }
.hero { min-height: 700px; display: grid; align-items: center; background: linear-gradient(90deg, rgba(255,253,248,.97) 0%, rgba(255,253,248,.88) 43%, rgba(255,253,248,.2) 72%), url('../images/orchid-hero.png') center/cover no-repeat; }
.hero__inner { width: min(1180px, calc(100% - 48px)); margin: auto; padding: 84px 0; }
.eyebrow { margin: 0 0 14px; font: 600 12px/1.3 system-ui, sans-serif; letter-spacing: .22em; }
h1 { max-width: 620px; margin: 0; font-size: clamp(36px, 6vw, 72px); line-height: 1.18; letter-spacing: .03em; }
.hero__celebration { margin: 18px 0 0; font-size: clamp(25px, 3.6vw, 44px); }
.hero__title { margin: 8px 0 28px; font-size: clamp(19px, 2vw, 27px); letter-spacing: .12em; }
.hero__lead { margin: 0 0 34px; color: #355b5e; font-size: 16px; line-height: 2; }
.primary-button, .select-button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 0 26px; border: 1px solid var(--ink); background: var(--ink); color: white; text-decoration: none; font: 700 14px/1 system-ui, sans-serif; letter-spacing: .06em; transition: .2s ease; }
.primary-button:hover, .select-button:hover { transform: translateY(-2px); background: #07575e; }
.is-disabled, button:disabled { cursor: not-allowed !important; opacity: .48; pointer-events: none; }
.deadline { width: min(920px, calc(100% - 40px)); margin: -42px auto 0; position: relative; z-index: 3; display: grid; grid-template-columns: auto 1fr; gap: 8px 28px; align-items: center; padding: 27px 42px; border: 1px solid var(--coral); background: rgba(255,255,255,.96); box-shadow: 0 18px 50px rgba(0,63,69,.08); }
.deadline span { grid-row: 1 / 3; font: 700 14px system-ui, sans-serif; }
.deadline strong { color: var(--coral); font-size: 26px; }
.deadline small { font: 500 12px system-ui, sans-serif; }
.deadline--closed { border-color: #9aacab; }
.deadline--closed strong { color: #5d706f; }
.section { width: min(1180px, calc(100% - 40px)); margin: auto; padding: 120px 0; }
.section h2, .order-teaser h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); }
.section-lead { margin: 18px 0 46px; color: #4c696c; line-height: 1.8; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { overflow: hidden; background: white; border: 1px solid #c9dfdb; box-shadow: 0 12px 34px rgba(0,63,69,.07); }
.product-card.is-selected { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink), 0 20px 50px rgba(0,63,69,.13); }
.product-photo { aspect-ratio: .94; background-image: url('../images/orchid-courses.png'); background-size: 300% auto; background-repeat: no-repeat; background-color: #e4f2ef; }
.product-photo--left { background-position: left top; }
.product-photo--center { background-position: center top; }
.product-photo--right { background-position: right top; }
.product-card__body { padding: 25px; }
.product-card__body > p:first-child { margin: 0 0 6px; font: 500 12px system-ui, sans-serif; }
.product-card h3 { margin: 0; font-size: 25px; }
.product-price { margin: 8px 0 0; font: 700 18px/1.4 system-ui, sans-serif; }
.product-price small { font-size: 11px; font-weight: 500; }
.product-description { min-height: 78px; margin: 16px 0 24px; color: #4c696c; font-size: 14px; line-height: 1.8; }
.select-button { width: 100%; background: transparent; color: var(--ink); }
.select-button:hover { color: white; }
.select-button { cursor: pointer; }
.method-section { background: var(--mint); }
.method-section__inner { text-align: center; }
.method-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 50px; border: 1px solid #b7d3ce; background: #b7d3ce; text-align: left; }
.method-grid article { min-height: 280px; padding: 32px; background: #f9fffd; }
.method-grid article > span { color: #73a39c; font: 700 12px/1 system-ui, sans-serif; letter-spacing: .16em; }
.method-grid h3 { margin: 18px 0 12px; font-size: 24px; }
.method-grid p { min-height: 52px; color: #4c696c; font-size: 14px; line-height: 1.8; }
.method-grid a, .method-grid button { display: inline-flex; min-height: 45px; align-items: center; border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink); font: 700 14px system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.method-grid .phone-link { font-size: 23px; letter-spacing: .04em; }
.method-grid .contact-lines { display: flex; flex-wrap: wrap; gap: 4px 24px; min-height: 0; }
.method-grid .contact-lines a { display: inline; min-height: 0; border-bottom: 1px solid var(--ink); }
.form-section { max-width: 980px; scroll-margin-top: 20px; }
.form-section > h2 { margin-bottom: 40px; }
.form-section form { padding: 44px; border: 1px solid #c9dfdb; background: white; box-shadow: 0 15px 45px rgba(0,63,69,.06); }
.selected-course { display: grid; grid-template-columns: 1fr auto; gap: 5px 20px; margin: -44px -44px 42px; padding: 27px 44px; background: var(--ink); color: white; }
.selected-course span { grid-column: 1 / -1; font: 600 11px system-ui, sans-serif; letter-spacing: .12em; opacity: .7; }
.selected-course strong { font-size: 21px; }
.selected-course em { align-self: center; font: 600 14px system-ui, sans-serif; font-style: normal; }
fieldset { margin: 0; padding: 0 0 45px; border: 0; }
/* 区切り線の直後の余白はlegendのmargin-topで付与する（fieldsetのpadding-topに乗せると、
   legend直後要素の位置計算にブラウザ側でこのpadding-topが二重に加算されるため） */
fieldset + fieldset { padding-top: 0; border-top: 1px solid #d9e8e5; }
fieldset + fieldset > legend:first-of-type { margin-top: 44px; }
legend { width: 100%; margin: 0 0 26px; padding: 0; font-size: 22px; font-weight: 700; }
/* 「ご注文内容」内の項目（.form-gridで囲まれていない）の間隔を、下の項目グループのgap(24px)に揃える */
fieldset:first-of-type > .field + .field { margin-top: 24px; }
/* 小見出し（立札に記載する内容について／こちらからのご連絡先にについて）: 上位見出し(22px)より小さく、項目ラベル(13px)より大きい統一サイズ */
legend + legend,
fieldset:last-of-type > legend {
  font-size: 17px;
}
/* 「贈り主様について」と直後の小見出しとの間隔を詰める */
legend + legend { margin-top: -14px; }
/* 「こちらからのご連絡先にについて」と直下の項目との間隔を詰める */
fieldset:last-of-type > legend { margin-bottom: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.field { display: grid; gap: 9px; }
.field--wide { grid-column: 1 / -1; }
.field > span { font: 600 13px/1.4 system-ui, sans-serif; }
.field b, .field i { display: inline-block; margin-left: 6px; padding: 3px 6px; font-size: 10px; font-style: normal; }
.field b { background: #fbe6e3; color: #a33c35; }
.field i { background: #edf2f1; color: #5d706f; }
input, select, textarea { width: 100%; min-height: 48px; border: 1px solid #aac6c2; border-radius: 0; background: #fcfefd; color: var(--ink); font: 16px/1.5 system-ui, sans-serif; }
input, select { padding: 0 14px; }
textarea { padding: 13px 14px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(0,63,69,.16); border-color: var(--ink); }
.field small { color: #68807f; font: 11px/1.5 system-ui, sans-serif; }
.ErrMsg { display: none; background: #FF6B6B; color: #FFF; font: 600 12px/1.5 system-ui, sans-serif; }
.ErrMsg.consent { margin: -12px 0 12px; text-align: center; }
.consent { display: flex; gap: 12px; align-items: flex-start; justify-content: center; margin: 4px 0 25px; font: 13px/1.7 system-ui, sans-serif; }
.consent input { width: 18px; min-height: 18px; margin-top: 2px; }
.submit-button { display: block; width: min(100%, 420px); min-height: 58px; margin: auto; border: 1px solid var(--ink); background: var(--ink); color: white; font: 700 15px system-ui, sans-serif; letter-spacing: .08em; cursor: pointer; }
.form-note { margin: 18px 0 0; color: #6b7f7e; text-align: center; font: 11px/1.7 system-ui, sans-serif; }
.complete-panel, .closed-panel { padding: 75px 30px; border: 1px solid #c9dfdb; background: linear-gradient(145deg, #f2faf7, #fffdf8); text-align: center; }
.complete-panel > span { font: 700 11px system-ui, sans-serif; letter-spacing: .22em; }
.complete-panel h3, .closed-panel h3 { margin: 18px 0; font-size: clamp(24px, 4vw, 38px); line-height: 1.6; }
.complete-panel p, .closed-panel p { color: #4c696c; font-size: 14px; line-height: 1.8; }
.faq-section { background: #f7faf9; }
.faq-section__inner { max-width: 900px; }
.faq-section__inner > .eyebrow, .faq-section__inner > h2 { text-align: center; }
.faq-list { margin-top: 48px; border-top: 1px solid #b9cfcc; }
.faq-list details { border-bottom: 1px solid #b9cfcc; }
.faq-list summary { display: flex; gap: 16px; align-items: center; padding: 24px 8px; font-size: 17px; font-weight: 700; cursor: pointer; }
.faq-list summary span { font: 700 15px system-ui, sans-serif; }
.faq-list details p { margin: 0; padding: 0 42px 24px; color: #4c696c; line-height: 1.9; }
.operator { max-width: 900px; text-align: center; }
.operator > p:not(.eyebrow) { line-height: 2; }
.operator dl { margin: 38px auto; border-top: 1px solid #c9dfdb; text-align: left; }
.operator dl div { display: grid; grid-template-columns: 150px 1fr; padding: 16px 10px; border-bottom: 1px solid #c9dfdb; }
.operator dt { font: 700 13px system-ui, sans-serif; }
.operator dd { margin: 0; font: 14px system-ui, sans-serif; word-break: break-word; }
.operator__demo { padding: 13px; background: #f4e9d9; font: 600 12px/1.7 system-ui, sans-serif !important; }
footer { display: flex; justify-content: space-between; gap: 30px; padding: 30px max(20px, calc((100% - 1180px) / 2)); background: var(--ink); color: white; font-size: 13px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; background: rgba(0,35,39,.68); }
.modal { width: min(100%, 470px); padding: 42px; background: white; box-shadow: 0 28px 80px rgba(0,0,0,.25); text-align: center; }
.modal__badge { display: inline-block; padding: 5px 9px; background: var(--ink); color: white; font: 700 10px system-ui, sans-serif; letter-spacing: .15em; }
.modal h2 { margin: 20px 0 12px; font-size: 27px; }
.modal p { color: #4c696c; font-size: 14px; line-height: 1.8; }
.modal button { min-width: 150px; min-height: 44px; margin-top: 12px; border: 1px solid var(--ink); background: var(--ink); color: white; cursor: pointer; }
@media (max-width: 760px) {
  .hero { min-height: 660px; align-items: end; background: linear-gradient(0deg, rgba(255,253,248,.98) 3%, rgba(255,253,248,.9) 55%, rgba(255,253,248,.1) 100%), url('../images/orchid-hero.png') 67% center/cover no-repeat; }
  .hero__inner { width: calc(100% - 36px); padding: 260px 0 72px; }
  .hero__lead br { display: none; }
  .deadline { grid-template-columns: 1fr; margin-top: -28px; padding: 23px; text-align: center; }
  .deadline span { grid-row: auto; }
  .product-grid { grid-template-columns: 1fr; }
  .section { width: min(100% - 32px, 520px); padding: 84px 0; }
  .product-description { min-height: 0; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article { min-height: 0; }
  .method-grid p { min-height: 0; }
  .form-section form { padding: 25px 18px; }
  .selected-course { grid-template-columns: 1fr; margin: -25px -18px 34px; padding: 23px 18px; }
  .selected-course span { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  footer { flex-direction: column; gap: 8px; text-align: center; }
}


[hidden] { display: none !important; }

