/* ミッドナイト営業ページ（page-midnight.php）専用CSS。2026/11/11 夜テーマへ全面刷新 */
.midnight-page {
  --color-primary: #d9a64d;
  --color-primary-light: #f0cf8e;
  --color-primary-pale: rgba(217, 166, 77, .14);
  --color-text: #eef1f6;
  --color-text-light: #a9b4c4;
  --color-bg: #0e1726;
  --color-bg-light: #15213353;
  --color-bg-card: #16223533;
  --color-line: rgba(255, 255, 255, .1);
  --color-line-green: #0aa956;
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
.midnight-page *, .midnight-page *::before, .midnight-page *::after { box-sizing: border-box; }
.midnight-page img { display: block; max-width: 100%; }
.midnight-page a { color: inherit; text-decoration: none; }
.midnight-page a:focus-visible, .midnight-page summary:focus-visible { outline: 3px solid var(--color-primary-light); outline-offset: 3px; }
.midnight-page .content-width { width: min(1180px, calc(100% - 56px)); margin-right: auto; margin-left: auto; }
.midnight-page .heading-line { display: block; }
.midnight-page .phrase { display: inline-block; white-space: nowrap; }

/* Main visual（全面写真＋オーバーレイのフルブリード構成へ変更） */
.midnight-page .hero { position: relative; overflow: hidden; background: #0a1220; }
.midnight-page .hero-bg { position: absolute; inset: 0; }
.midnight-page .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: .78; }
.midnight-page .hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,13,24,.94) 0%, rgba(8,13,24,.8) 36%, rgba(8,13,24,.38) 68%, rgba(8,13,24,.12) 100%), linear-gradient(0deg, rgba(8,13,24,.55), rgba(8,13,24,0) 45%); }
.midnight-page .hero-inner { position: relative; z-index: 2; padding: 108px 0 64px; }
.midnight-page .hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 7px 16px; border: 1px solid rgba(240,207,142,.4); border-radius: 999px; color: var(--color-primary-light); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.midnight-page .hero-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary-light); box-shadow: 0 0 8px 2px rgba(240,207,142,.7); }
.midnight-page .hero h1 { margin: 0 0 20px; max-width: 13.5em; font-size: clamp(38px, 4.4vw, 58px); font-weight: 800; letter-spacing: -.04em; line-height: 1.4; color: #fff; }
.midnight-page .blue { color: var(--color-primary-light); }
.midnight-page .hero-description { margin: 0 0 28px; max-width: 30em; color: #c7d0dc; font-size: 15px; font-weight: 500; line-height: 1.9; }
.midnight-page .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px 28px; }
.midnight-page .button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 22px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 700; transition: background-color .2s, border-color .2s, transform .2s; }
.midnight-page .button:hover { transform: translateY(-1px); }
.midnight-page .button-line { color: #fff; background: #15ad58; box-shadow: 0 10px 24px -8px rgba(21,173,88,.55); }
.midnight-page .button-line:hover { background: #079949; }
.midnight-page .line-icon { position: relative; display: inline-flex; flex: 0 0 32px; align-items: center; justify-content: center; width: 32px; height: 28px; border-radius: 50%; color: #12a957; background: #fff; font-family: Arial, sans-serif; font-size: 10px; font-weight: 800; letter-spacing: -.07em; line-height: 1; }
.midnight-page .line-icon::after { position: absolute; bottom: -1px; left: 6px; width: 8px; height: 7px; background: #fff; clip-path: polygon(0 0, 100% 0, 0 100%); content: ""; }
.midnight-page .button-arrow { margin-left: 16px; font-size: 21px; font-weight: 400; line-height: 1; }
.midnight-page .hero-phone { display: inline-flex; align-items: center; color: #f0cf8e; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.midnight-page .hero-phone span { margin-right: 6px; }
.midnight-page .hero-phone b { margin-left: 6px; font-size: 16px; font-weight: 800; }
.midnight-page .hero-photo-strip { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; height: clamp(150px, 16vw, 210px); overflow: hidden; background: #0a1220; }
.midnight-page .hero-photo-strip figure { position: relative; min-width: 0; margin: 0; overflow: hidden; }
.midnight-page .hero-photo-strip figure::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,18,32,.45), rgba(10,18,32,0) 55%); content: ""; }
.midnight-page .hero-photo-strip img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); }

/* About and service cards */
.midnight-page .about { padding-top: 64px; padding-bottom: 60px; }
.midnight-page .about-intro { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 55px; }
.midnight-page .section-heading h2, .midnight-page .flow-heading h2, .midnight-page .faq-heading h2 { margin: 0; font-size: clamp(26px, 2.9vw, 38px); font-weight: 700; letter-spacing: -.04em; line-height: 1.56; color: #fff; }
.midnight-page .about-copy { color: var(--color-text-light); font-size: 14px; line-height: 1.95; }
.midnight-page .about-copy p { margin: 0 0 11px; }
.midnight-page .about-copy p:last-child { margin-bottom: 0; }
.midnight-page .service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.midnight-page .service-item { overflow: hidden; border: 1px solid var(--color-line); border-radius: 8px; background: var(--color-bg-light); }
.midnight-page .service-photo { width: 100%; height: 190px; object-fit: cover; filter: brightness(.82) saturate(1.05); }
.midnight-page .service-copy { display: flex; align-items: flex-start; gap: 12px; min-height: 93px; padding: 14px 15px; }
.midnight-page .service-icon { display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--color-primary-light); background: var(--color-primary-pale); }
.midnight-page .service-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.midnight-page .service-copy h3 { margin: 1px 0 3px; color: #fff; font-size: 16px; font-weight: 700; }
.midnight-page .service-copy p { margin: 0; color: var(--color-text-light); font-size: 12px; line-height: 1.7; }

/* Evening service */
.midnight-page .night-service { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 330px; background: #0a111f; }
.midnight-page .night-photo { position: relative; min-height: 330px; overflow: hidden; background: #0a111f; }
.midnight-page .night-photo img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; object-position: center; filter: brightness(.85); }
.midnight-page .night-copy { align-self: center; padding: 37px clamp(28px, 6vw, 84px); }
.midnight-page .night-copy h2 { margin: 0 0 12px; color: #fff; font-size: clamp(23px, 2.6vw, 33px); font-weight: 700; letter-spacing: -.04em; line-height: 1.5; }
.midnight-page .night-copy > p { margin: 0; color: var(--color-text-light); font-size: 13px; line-height: 1.8; }
.midnight-page .night-actions { display: flex; align-items: center; gap: 17px; margin-top: 21px; }
.midnight-page .night-actions .button { min-height: 48px; padding-inline: 14px; font-size: 13px; }
.midnight-page .night-actions .button-arrow { margin-left: 2px; }

/* Reservation steps */
.midnight-page .flow { padding-top: 58px; padding-bottom: 60px; }
.midnight-page .flow-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; }
.midnight-page .flow-heading h2 { font-size: 32px; }
.midnight-page .flow-heading > p { margin: 0 3px 5px 0; color: var(--color-text-light); font-size: 13px; line-height: 1.8; }
.midnight-page .flow-list { display: grid; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr); align-items: center; gap: 13px; }
.midnight-page .flow-item { min-width: 0; padding: 16px; border: 1px solid var(--color-line); border-radius: 8px; background: var(--color-bg-light); }
.midnight-page .step-number { margin: 0 0 8px; color: var(--color-primary-light); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.midnight-page .step-number strong { margin-left: 5px; font-size: 17px; }
.midnight-page .flow-photo { position: relative; height: 165px; overflow: hidden; border-radius: 4px; background: #0a111f; }
.midnight-page .flow-photo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.85); }
.midnight-page .flow-item h3 { margin: 10px 0 4px; color: #fff; font-size: 14px; font-weight: 700; }
.midnight-page .flow-item > p:last-child { margin: 0; color: var(--color-text-light); font-size: 12px; line-height: 1.7; }
.midnight-page .flow-arrow { color: var(--color-primary-light); font-size: 27px; font-weight: 400; text-align: center; }
.midnight-page .flow-note { margin: 15px 0 0; color: #6f7c8c; font-size: 11px; }

/* FAQ */
.midnight-page .faq { padding: 48px 0 52px; background: var(--color-bg-light); }
.midnight-page .faq-inner { display: grid; grid-template-columns: .55fr 1.45fr; align-items: center; gap: 55px; }
.midnight-page .faq-heading h2 { font-size: 30px; }
.midnight-page .faq-heading > p:last-child { margin: 8px 0 0; color: var(--color-text-light); font-size: 12px; line-height: 1.8; }
.midnight-page .faq-list { overflow: hidden; border: 1px solid var(--color-line); border-radius: 8px; background: var(--color-bg); }
.midnight-page .faq-item + .faq-item { border-top: 1px solid var(--color-line); }
.midnight-page .faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 58px; padding: 13px 19px; list-style: none; cursor: pointer; color: #e7ecf2; font-size: 13px; font-weight: 600; }
.midnight-page .faq-item summary::-webkit-details-marker { display: none; }
.midnight-page .faq-plus { position: relative; flex: 0 0 16px; width: 16px; height: 16px; }
.midnight-page .faq-plus::before, .midnight-page .faq-plus::after { position: absolute; top: 7px; left: 2px; width: 12px; height: 2px; background: var(--color-primary-light); content: ""; transition: transform .22s ease; }
.midnight-page .faq-plus::after { transform: rotate(90deg); }
.midnight-page .faq-item[open] .faq-plus::after { transform: rotate(0); }
.midnight-page .faq-answer p { margin: 0; padding: 0 19px; color: var(--color-text-light); font-size: 12px; line-height: 1.8; }
.faq-script-ready .midnight-page .faq-answer { height: 0; overflow: hidden; transition: height .24s ease; }
.faq-script-ready .midnight-page .faq-item[open] .faq-answer p { padding-bottom: 16px; }
.midnight-page .faq-answer a { color: var(--color-primary-light); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* Closing invitation and store information */
.midnight-page .closing { position: relative; display: flex; align-items: center; min-height: 300px; overflow: hidden; background: #0a111f; }
.midnight-page .closing-photo { position: absolute; inset: 0 0 0 52%; overflow: hidden; }
.midnight-page .closing-photo::before { position: absolute; z-index: 1; inset: 0 auto 0 -1px; width: 30%; background: linear-gradient(90deg, #0a111f, rgba(10,17,31,0)); content: ""; }
.midnight-page .closing-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; filter: brightness(.82); }
.midnight-page .closing-copy { position: relative; z-index: 2; padding-top: 41px; padding-bottom: 41px; }
.midnight-page .closing-script { margin: 0 0 2px; color: var(--color-primary-light); font-size: clamp(19px, 2.4vw, 29px); font-weight: 700; letter-spacing: .02em; }
.midnight-page .closing-copy h2 { margin: 0 0 7px; color: #fff; font-size: clamp(36px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.04em; line-height: 1.4; }
.midnight-page .closing-copy > p:not(.closing-script) { margin: 0; color: var(--color-text-light); font-size: 13px; }
.midnight-page .closing-actions { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.midnight-page .closing-actions .button { min-height: 48px; padding-inline: 15px; font-size: 11px; }
.midnight-page .closing-actions .button-arrow { margin-left: 4px; }
.midnight-page .button-phone { border-color: rgba(240,207,142,.45); color: var(--color-primary-light); background: rgba(255,255,255,.04); }
.midnight-page .button-phone:hover { background: rgba(255,255,255,.08); }
.midnight-page .button-phone > span { color: var(--color-primary-light); }
.midnight-page .site-footer { padding-top: 31px; background: var(--color-bg); }
.midnight-page .footer-main { display: grid; grid-template-columns: .95fr 1fr 1fr; gap: 22px; align-items: stretch; padding-bottom: 27px; }
.midnight-page .footer-logo { display: inline-block; width: min(240px, 100%); margin-bottom: 13px; filter: brightness(0) invert(1); }
.midnight-page .footer-logo img { width: 100%; max-height: 60px; object-fit: contain; object-position: left center; }
.midnight-page .shop-name { margin: 0 0 5px; color: #e7ecf2; font-size: 13px; font-weight: 700; }
.midnight-page .shop-address, .midnight-page .shop-hours { margin: 5px 0; color: var(--color-text-light); font-size: 11px; }
.midnight-page .shop-phone { margin: 7px 0; color: #fff; font-size: 18px; font-weight: 800; }
.midnight-page .shop-phone span, .midnight-page .shop-hours span { margin-right: 6px; color: var(--color-primary-light); }
.midnight-page .footer-store-photo, .midnight-page .footer-map { min-height: 154px; overflow: hidden; border: 1px solid var(--color-line); border-radius: 8px; }
.midnight-page .footer-store-photo img { width: 100%; height: 100%; min-height: 154px; object-fit: cover; filter: brightness(.92); }
.midnight-page .footer-map iframe { display: block; width: 100%; height: 100%; min-height: 154px; border: 0; filter: grayscale(.25) invert(.92) contrast(.9); }
.midnight-page .mobile-booking { display: none; }


@media (max-width: 750px) {
  /* このページはページ専用の下部バー（.mobile-booking）を出すため、サイト共通の下部追従ボタンを隠す（このCSSはこのページでのみ読み込む。サイトのJSがスクロール時にインラインで display:block を付けるため !important） */
  .new_top_area .sp .spFooter_button { display: none !important; }
  .midnight-page { padding-bottom: 65px; font-size: 15px; }
  .midnight-page .content-width { width: calc(100% - 40px); }
  .midnight-page .hero-inner { width: calc(100% - 40px); margin: 0 auto; padding: 68px 0 28px; }
  .midnight-page .hero-kicker { margin-bottom: 14px; font-size: 12px; }
  .midnight-page .hero h1 { margin-bottom: 15px; max-width: none; font-size: clamp(30px, 8.4vw, 42px); line-height: 1.45; }
  .midnight-page .hero-description { margin-bottom: 20px; font-size: 13px; }
  .midnight-page .hero-actions { gap: 14px; }
  .midnight-page .hero-actions .button { width: min(100%, 300px); min-height: 52px; }
  .midnight-page .hero-bg img { object-position: center 30%; }
  .midnight-page .hero-photo-strip { height: 112px; }
  .midnight-page .about { padding-top: 39px; padding-bottom: 40px; }
  .midnight-page .about-intro { grid-template-columns: 1fr; gap: 16px; }
  .midnight-page .section-heading h2 { font-size: clamp(24px, 6.6vw, 32px); line-height: 1.52; }
  .midnight-page .about-copy { font-size: 12px; }
  .midnight-page .about-copy br { display: none; }
  .midnight-page .service-list { grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
  .midnight-page .service-item { display: block; }
  .midnight-page .service-photo { height: 190px; min-height: 0; }
  .midnight-page .service-copy { align-items: center; gap: 12px; min-height: 88px; padding: 13px 14px; }
  .midnight-page .service-icon { flex-basis: 36px; width: 36px; height: 36px; }
  .midnight-page .service-icon svg { width: 20px; height: 20px; }
  .midnight-page .service-copy h3 { font-size: 15px; }
  .midnight-page .service-copy p { font-size: 11px; }
  .midnight-page .night-service { grid-template-columns: 1fr; }
  .midnight-page .night-photo { min-height: 220px; }
  .midnight-page .night-photo img { min-height: 220px; max-height: 320px; }
  .midnight-page .night-copy { padding: 27px 20px 32px; }
  .midnight-page .night-copy h2 { font-size: clamp(24px, 6.3vw, 31px); }
  .midnight-page .night-actions { flex-wrap: wrap; gap: 12px; }
  .midnight-page .flow { padding-top: 39px; padding-bottom: 40px; }
  .midnight-page .flow-heading { align-items: flex-start; gap: 10px; margin-bottom: 18px; }
  .midnight-page .flow-heading h2 { font-size: 28px; }
  .midnight-page .flow-heading > p { margin-top: 26px; font-size: 11px; }
  .midnight-page .flow-list { grid-template-columns: 1fr; gap: 0; }
  .midnight-page .flow-item { display: grid; grid-template-columns: 48px 1fr; column-gap: 10px; padding: 12px; }
  .midnight-page .step-number { grid-row: 1 / span 3; margin: 3px 0 0; font-size: 10px; }
  .midnight-page .step-number strong { font-size: 15px; }
  .midnight-page .flow-photo { grid-column: 2; grid-row: 1 / span 2; height: 145px; }
  .midnight-page .flow-item h3 { grid-column: 2; grid-row: 3; margin: 7px 0 2px; font-size: 12px; }
  .midnight-page .flow-item > p:last-child { grid-column: 2; grid-row: 4; font-size: 11px; }
  .midnight-page .flow-arrow { height: 23px; transform: rotate(90deg); font-size: 23px; line-height: 23px; }
  .midnight-page .flow-note { font-size: 10px; }
  .midnight-page .faq { padding: 35px 0 40px; }
  .midnight-page .faq-inner { grid-template-columns: 1fr; gap: 17px; }
  .midnight-page .faq-heading h2 { font-size: 27px; }
  .midnight-page .faq-heading > p:last-child { margin-top: 5px; }
  .midnight-page .faq-heading > p:last-child br { display: none; }
  .midnight-page .faq-item summary { min-height: 58px; padding: 12px 13px; font-size: 12px; }
  .midnight-page .faq-answer p { padding-right: 13px; padding-left: 13px; font-size: 12px; }
  .faq-script-ready .midnight-page .faq-item[open] .faq-answer p { padding-bottom: 13px; }
  .midnight-page .closing { align-items: flex-start; min-height: 430px; }
  .midnight-page .closing-photo { inset: auto 0 0 0; height: 210px; }
  .midnight-page .closing-photo::before { inset: 0 0 auto; width: auto; height: 45%; background: linear-gradient(180deg, #0a111f, rgba(10,17,31,0)); }
  .midnight-page .closing-copy { padding-top: 32px; padding-bottom: 225px; }
  .midnight-page .closing-script { font-size: clamp(18px, 5vw, 25px); }
  .midnight-page .closing-copy h2 { font-size: clamp(34px, 9.4vw, 46px); }
  .midnight-page .closing-actions { flex-wrap: wrap; margin-top: 13px; }
  .midnight-page .closing-actions .button { min-height: 46px; font-size: 12px; }
  .midnight-page .site-footer { padding-top: 25px; }
  .midnight-page .footer-main { grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 20px; }
  .midnight-page .footer-shop { grid-column: 1 / -1; }
  .midnight-page .footer-logo { width: 200px; margin-bottom: 8px; }
  .midnight-page .shop-name { font-size: 11px; }
  .midnight-page .shop-address, .midnight-page .shop-hours { font-size: 10px; }
  .midnight-page .shop-phone { font-size: 17px; }
  .midnight-page .footer-store-photo, .midnight-page .footer-map { min-height: 130px; }
  .midnight-page .footer-store-photo img, .midnight-page .footer-map iframe { min-height: 130px; }
  .midnight-page .mobile-booking { position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 65px; padding: 8px 12px max(8px, env(safe-area-inset-bottom)); border-top: 1px solid var(--color-line); color: #0e1726; background: rgba(238, 241, 246, .98); }
  .midnight-page .mobile-booking > span { font-size: 10px; font-weight: 600; }
  .midnight-page .mobile-booking a { display: flex; align-items: center; gap: 7px; min-height: 43px; padding: 0 11px; border-radius: 5px; color: #fff; background: #15ad58; font-size: 11px; font-weight: 700; white-space: nowrap; }
  .midnight-page .mobile-booking .line-icon { flex-basis: 26px; width: 26px; height: 24px; font-size: 8px; }
  .midnight-page .mobile-booking b { font-size: 18px; font-weight: 400; }
}


@media (prefers-reduced-motion: reduce) {
  .midnight-page *, .midnight-page *::before, .midnight-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
