@charset "UTF-8";
/* ===================================================================
   陳麻家 西五反田さくら通り店 — style.css
   =================================================================== */

:root{
  --red:        #c1121f;
  --red-dark:   #7a0c14;
  --red-deep:   #5c090f;
  --gold:       #c9a24a;
  --cream:      #fbf5e9;
  --cream-2:    #f4ead6;
  --ink:        #2a2320;
  --ink-soft:   #5a4f47;
  --white:      #ffffff;
  --radius:     16px;
  --shadow:     0 10px 30px rgba(46, 15, 10, 0.12);
  --maxw:       1080px;
  --header-h:   72px;
}

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

html{ scroll-behavior: smooth; }

section[id],
.menu-group[id]{ scroll-margin-top: calc(var(--header-h) + 16px); }

body{
  margin:0;
  padding:0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
  line-height: 1.85;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}

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

a{ color: var(--red); text-decoration: none; }
a:hover{ color: var(--red-dark); }

h1, h2, h3{ font-family: "Shippori Mincho", "Noto Sans JP", serif; margin: 0; }

.clearfix::after{ content:""; display:block; clear:both; }

/* ===================== HEADER ===================== */

#site-header{
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
  height: var(--header-h);
}

.header-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-logo img{ height: 40px; width: auto; }

.header-nav{ display: none; gap: 28px; }
.header-nav a{
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.header-nav a:hover{ color: var(--red); }

.header-tel{
  display: none;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.3;
}
.header-tel .tel-label{ font-size: 11px; color: var(--ink-soft); }
.header-tel .tel-number{ font-size: 20px; font-weight: 700; color: var(--red); font-family: "Shippori Mincho", serif; }

/* Hamburger toggle (mobile only) */
.nav-toggle{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span{
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 800px){
  .header-nav.is-open{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    padding: 8px 20px 18px;
    box-shadow: 0 14px 26px rgba(30,10,8,0.14);
    gap: 2px;
  }
  .header-nav.is-open a{
    padding: 14px 4px;
    border-bottom: 1px solid #eee2ce;
    font-size: 16px;
    font-weight: 600;
  }
  .header-nav.is-open a:last-child{ border-bottom: none; }
}

@media (min-width: 801px){
  .header-nav{ display: flex; }
  .header-tel{ display: flex; }
  .nav-toggle{ display: none; }
}

/* ===================== HERO ===================== */

.hero{
  position: relative;
  width: 100%;
  background: var(--cream);
  overflow: hidden;
}

/* Desktop full-bleed banner (hidden on mobile) */
.hero-media-desktop,
.hero-overlay-desktop{ display: none; }

/* Mobile photo slideshow */
.hero-slider{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1c1210;
}
.hero-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}
.hero-slide.is-active{ opacity: 1; }
.hero-slide picture{ display: block; width: 100%; height: 100%; }
.hero-slide img{ width: 100%; height: 100%; object-fit: cover; }

.hero-dots{
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hero-dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.hero-dot.is-active{ width: 22px; background: #fff; }

.hero-content{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 20px 8px;
  color: var(--ink);
  text-align: left;
}

.hero-kicker{
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: var(--red-dark);
  font-weight: 700;
  margin: 0 0 14px;
}

.hero-title{
  font-size: 30px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 14px;
  color: var(--ink);
}

.hero-sub{
  font-size: 15px;
  margin: 0;
  color: var(--ink-soft);
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }

.btn-primary{
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(193,18,31,0.45);
}
.btn-primary:hover{ background: #d3202f; color: var(--white); }

@media (min-width: 801px){
  /* PC: same structure as mobile - slideshow on top, text below */
  .hero-slider{
    aspect-ratio: 2 / 1;
    max-height: 78vh;
  }
  .hero-dots{ bottom: 20px; gap: 10px; }
  .hero-dot{ width: 10px; height: 10px; }
  .hero-dot.is-active{ width: 28px; }

  .hero-content{ padding: 44px 24px 16px; }
  .hero-kicker{ font-size: 20px; }
  .hero-title{ font-size: 46px; }
  .hero-sub{ font-size: 19px; }
}

/* ===================== LAYOUT ===================== */

#wrap{ width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.section{ padding: 64px 0; }
.section-alt{
  background: var(--white);
  margin: 0 -20px;
  padding: 64px 20px;
  border-radius: 28px;
}

.section-title{
  text-align: center;
  margin-bottom: 40px;
}
.section-title span{
  display: inline-block;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 14px;
  position: relative;
}
.section-title span::after{
  content:"";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 64px; height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.section-lead{
  text-align: center;
  color: var(--ink-soft);
  max-width: 640px;
  margin: -18px auto 36px;
  font-size: 15px;
}

/* ===================== INTRO ===================== */

.intro{ padding: 48px 0 8px; }

.intro-box{
  background: linear-gradient(135deg, var(--cream-2), #fffdf7);
  border: 1px solid #ecdfc2;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 28px 28px 32px;
  position: relative;
}
.intro-box::before{
  content:"";
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 5px;
  background: var(--gold);
  border-radius: 4px;
}
.intro-box p{ margin: 0; font-size: 16px; color: var(--ink); }
.intro-box strong{ color: var(--red-dark); }

/* ===================== DISHES ===================== */

.dish-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.dish-item{
  margin: 0;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.dish-photo{ aspect-ratio: 1 / 1; overflow: hidden; }
.dish-photo img{ width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.dish-item:hover .dish-photo img{ transform: scale(1.06); }
/* Mobile: center a lone item in the last row */
.dish-item:last-child:nth-child(odd){ grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); }
.dish-name{
  padding: 10px 8px 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

@media (min-width: 801px){
  .dish-grid{ grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .dish-item:last-child:nth-child(odd){ grid-column: auto; justify-self: stretch; width: auto; }
  .dish-name{ font-size: 16px; padding: 14px 10px 16px; }
}

/* ===================== GALLERY ===================== */

.gallery{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 44px;
}
.gallery-item{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.gallery-item img{ width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img{ transform: scale(1.06); }

@media (min-width: 801px){
  .gallery{ grid-template-columns: repeat(4, 1fr); }
}

/* ===================== MENU LIST ===================== */

.menu-group{ margin-bottom: 38px; }
.menu-group:last-child{ margin-bottom: 0; }

.menu-group-title{
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  background: var(--red-dark);
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.menu-list{ list-style: none; margin: 0; padding: 0; }
.menu-list li{
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 4px;
  border-bottom: 1px dashed #d8c9a8;
  font-size: 15px;
}
.menu-list li:last-child{ border-bottom: none; }
.m-name{ color: var(--ink); }
.m-name small{ color: var(--ink-soft); font-size: 12px; }
.m-dots{ flex: 1; border-bottom: 1px dotted #c9b98e; margin-bottom: 5px; }
.m-price{ font-weight: 700; color: var(--red); white-space: nowrap; font-family: "Shippori Mincho", serif; font-size: 16px; }

/* Category quick-nav */
.menu-catnav{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 40px;
  padding-bottom: 24px;
  border-bottom: 1px dashed #d8c9a8;
}
.menu-catnav a{
  font-size: 13px;
  font-weight: 600;
  color: var(--red-dark);
  background: var(--cream-2);
  border: 1px solid #ecdfc2;
  padding: 7px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.menu-catnav a:hover{ background: var(--red-dark); color: var(--white); }

.menu-note{ font-size: 13px; color: var(--ink-soft); margin: -8px 0 16px; }

/* Combo table 1: half-noodle + 陳麻飯 */
.combo-table{ display: flex; flex-direction: column; gap: 2px; }
.combo-row{
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 12px 4px;
  border-bottom: 1px dashed #d8c9a8;
  font-size: 15px;
}
.combo-row:last-child{ border-bottom: none; }
.combo-item{ color: var(--ink); }
.combo-item small{ color: var(--ink-soft); font-size: 12px; }
.combo-plus{ color: var(--gold); font-weight: 700; }
.combo-total{
  margin-left: auto;
  font-weight: 700;
  color: var(--red);
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
  white-space: nowrap;
}

/* Combo table 2: noodle + half/mini 陳麻飯 (responsive table) */
.combo-table-wrap{ overflow-x: auto; -webkit-overflow-scrolling: touch; }
.combo-table2{
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 14px;
}
.combo-table2 th,
.combo-table2 td{
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px dashed #d8c9a8;
  white-space: nowrap;
}
.combo-table2 th{
  color: var(--white);
  background: var(--red-dark);
  font-weight: 700;
  font-size: 13px;
}
.combo-table2 th:first-child{ border-top-left-radius: 10px; }
.combo-table2 th:last-child{ border-top-right-radius: 10px; }
.combo-table2 td:not(:first-child){ color: var(--red); font-weight: 700; font-family: "Shippori Mincho", serif; }
.combo-table2 tbody tr:last-child td{ border-bottom: none; }

/* ===================== COURSE ===================== */

.course-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

@media (min-width: 801px){
  .course-grid{ grid-template-columns: repeat(2, 1fr); }
}

.course-card{
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #ecdfc2;
}
.course-photo{ aspect-ratio: 16/10; overflow: hidden; }
.course-photo img{ width: 100%; height: 100%; object-fit: cover; }
.course-body{ padding: 24px; }
.course-badge{
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.course-price{ font-size: 30px; font-weight: 800; color: var(--red-dark); margin: 0 0 14px; font-family: "Shippori Mincho", serif; }
.course-price small{ font-size: 14px; font-weight: 500; color: var(--ink-soft); margin-left: 4px; }
.course-info{ list-style: none; margin: 0 0 10px; padding: 0; font-size: 14px; color: var(--ink); }
.course-info li{ padding: 3px 0; }
.course-note{ font-size: 12px; color: var(--ink-soft); margin: 0; }

.course-cta{ text-align: center; }

/* ===================== ACCESS ===================== */

.access-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 801px){
  .access-grid{ grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}

.info-list{ margin: 0 0 28px; }
.info-row{
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px dashed #d8c9a8;
}
.info-row:first-child{ padding-top: 0; }
.info-row dt{
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.05em;
}
.info-row dd{ margin: 0; font-size: 15px; color: var(--ink); }
.info-row a{ font-weight: 600; }

.line-box{
  background: #eafaf0;
  border: 1px solid #c9ecd7;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.line-label{ margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--ink); }
.line-link{ display: inline-block; }
.line-link img{ width: 160px; height: auto; max-width: 100%; }
.line-caption{ margin: 12px 0 0; font-size: 13px; color: var(--ink-soft); }

.access-map{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 280px;
}
.access-map iframe{ width: 100%; height: 100%; min-height: 280px; border: 0; display: block; }

/* ===================== SISTER STORE ===================== */

.sister-box{ text-align: center; }
.sister-banner{
  display: inline-block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
  max-width: 420px;
}
.sister-box p{
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  font-size: 15px;
  color: var(--ink);
}

/* ===================== BACK TO TOP ===================== */

#totop_btn{
  position: fixed;
  right: 18px;
  bottom: 86px;
  width: 46px; height: 46px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 400;
  transition: background .2s ease, transform .2s ease;
}
#totop_btn:hover{ background: var(--red-dark); transform: translateY(-2px); color: var(--white); }

@media (min-width: 801px){
  #totop_btn{ bottom: 24px; }
}

/* ===================== MOBILE CTA BAR ===================== */

.mobile-cta{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 450;
  display: flex;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
}
.mobile-cta-btn{
  flex: 1;
  text-align: center;
  padding: 14px 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}
.mobile-cta-btn.call{ background: var(--red); }
.mobile-cta-btn.map{ background: var(--ink); }

@media (min-width: 801px){
  .mobile-cta{ display: none; }
}

/* ===================== FOOTER ===================== */

#footer{
  background: #1c1210;
  color: #e8ddce;
  margin-top: 40px;
  padding: 44px 20px 96px;
  text-align: center;
}
.footer-inner{ max-width: var(--maxw); margin: 0 auto; }
.footer-inner .footer-name{ margin: 0 0 10px; font-size: 16px; font-weight: 700; color: #f4ead6; font-family: "Shippori Mincho", serif; letter-spacing: 0.08em; }
.footer-inner p{ margin: 4px 0; font-size: 13px; }
.footer-inner .copyright{ margin-top: 14px; font-size: 11px; color: #a9998a; }

@media (min-width: 801px){
  #footer{ padding: 44px 20px; }
}

/* ===================== SCROLL FADE-IN ===================== */

.fade-init{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-init.fade-in{
  opacity: 1;
  transform: translateY(0);
}

/* ===================== FAQ ===================== */

.faq-list{ margin: 0; display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-left: auto; margin-right: auto; }
.faq-item{
  background: var(--cream);
  border: 1px solid #ecdfc2;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
}
.faq-item dt{
  font-weight: 700;
  color: var(--red-dark);
  font-size: 15px;
  margin-bottom: 8px;
}
.faq-item dd{ margin: 0; font-size: 14px; color: var(--ink); line-height: 1.8; }
