/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap');

/* ===== CSS Variables ===== */
:root {
  --pink-dark:   #9B5C78;
  --pink-light:  #F4C0D1;
  --pink-pale:   #FDF0F5;
  --green-dark:  #3B6D11;
  --green-light: #EAF3DE;
  --green-mid:   #6A9E3A;
  --cream:       #FFFDF9;
  --text-main:   #3A3028;
  --text-sub:    #7A6A60;
  --border:      #E8D8E0;
  --white:       #FFFFFF;
  --shadow:      0 4px 20px rgba(155, 92, 120, 0.10);
  --shadow-sm:   0 2px 8px rgba(155, 92, 120, 0.08);
  --radius:      16px;
  --radius-sm:   8px;
  --font-serif:  'Noto Serif JP', serif;
  --font-sans:   'Noto Sans JP', sans-serif;
  --max-width:   1100px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ===== Typography ===== */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.45; }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--pink-dark);
  text-align: center;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--text-sub);
  text-align: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.section-subtitle::before,
.section-subtitle::after {
  content: '—  ';
}

/* ===== Layout ===== */
.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: 4rem 0; }

/* ===== Header ===== */
#site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1rem;
}

.site-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.2;
  text-decoration: none;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--pink-dark);
  white-space: nowrap;
}

.logo-sub {
  font-size: 0.72rem;
  color: var(--text-sub);
  letter-spacing: 0.05em;
}

/* ===== Nav ===== */
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-list a {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  border-radius: 20px;
  color: var(--text-main);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.active {
  background: var(--pink-pale);
  color: var(--pink-dark);
}

.nav-cta a {
  background: var(--pink-dark);
  color: var(--white) !important;
  padding: 0.45rem 1rem !important;
}

.nav-cta a:hover {
  background: #7d4860 !important;
  color: var(--white) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--pink-dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Mobile Nav ===== */
#mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1rem 1.25rem;
}

#mobile-nav.open { display: block; }

#mobile-nav .nav-list {
  flex-direction: column;
  align-items: stretch;
  gap: 0.1rem;
}

#mobile-nav .nav-list a {
  display: block;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}

#mobile-nav .nav-cta { margin-top: 0.5rem; }
#mobile-nav .nav-cta a {
  text-align: center;
  display: block;
}

/* ===== Page Hero ===== */
.page-hero {
  background: linear-gradient(135deg, var(--pink-pale) 0%, var(--green-light) 100%);
  padding: 3rem 1.25rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--pink-dark);
  margin-bottom: 0.4rem;
}

.page-hero p {
  color: var(--text-sub);
  font-size: 0.92rem;
}

/* ===== Cards ===== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(155, 92, 120, 0.15);
}

/* ===== Placeholder image ===== */
.img-placeholder {
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--green-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-dark);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  border: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--pink-dark);
  color: var(--white);
}

.btn-primary:hover {
  background: #7d4860;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--pink-dark);
  color: var(--pink-dark);
}

.btn-outline:hover {
  background: var(--pink-pale);
}

.btn-green {
  background: var(--green-dark);
  color: var(--white);
}

.btn-green:hover {
  background: #2e5609;
}

/* ===== Divider ===== */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--pink-dark), var(--green-mid));
  border-radius: 3px;
  margin: 0 auto 2rem;
}

/* ===== Footer ===== */
#site-footer {
  background: var(--text-main);
  color: rgba(255,255,255,0.85);
  padding: 3rem 1.25rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo-main { color: var(--pink-light); }
.footer-brand .logo-sub { color: rgba(255,255,255,0.55); }
.footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--pink-light);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.footer-col ul li { margin-bottom: 0.35rem; }

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--pink-light); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-sub);
  padding: 0.75rem 0;
}

.breadcrumb a { color: var(--pink-dark); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 0.35rem; }

/* ===== Form ===== */
.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-group label .required {
  background: var(--pink-dark);
  color: var(--white);
  font-size: 0.7rem;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.form-group input:not([type="radio"]):not([type="checkbox"]),
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  background: var(--white);
  color: var(--text-main);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.form-group input:not([type="radio"]):not([type="checkbox"]):focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--pink-dark);
  box-shadow: 0 0 0 3px rgba(155,92,120,0.12);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.radio-group, .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.radio-group label, .checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  margin-bottom: 0;
}

.radio-group input, .checkbox-group input {
  width: auto;
  accent-color: var(--pink-dark);
}

/* ===== Tables ===== */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.price-table th,
.price-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.price-table thead th {
  background: var(--pink-pale);
  color: var(--pink-dark);
  font-weight: 700;
  font-family: var(--font-serif);
}

.price-table tbody tr:hover { background: #fdf5f8; }

.price-table .price {
  font-weight: 700;
  color: var(--pink-dark);
  white-space: nowrap;
}

/* ===== Tags ===== */
.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.tag-pink { background: var(--pink-light); color: var(--pink-dark); }
.tag-green { background: var(--green-light); color: var(--green-dark); }

/* ===== Notice box ===== */
.notice-box {
  background: var(--green-light);
  border-left: 4px solid var(--green-dark);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-main);
}

.notice-box strong { color: var(--green-dark); }

/* ===== Back to top ===== */
#back-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--pink-dark);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(155,92,120,0.3);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
}

#back-top.visible { opacity: 1; transform: translateY(0); }
#back-top:hover { background: #7d4860; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  #site-nav { display: none; }
  .hamburger { display: flex; }
  section { padding: 2.5rem 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }

  .price-table thead { display: none; }
  .price-table tbody tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
  }
  .price-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.9rem;
    border-bottom: 1px solid var(--border);
  }
  .price-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--text-sub);
    margin-right: 0.5rem;
    flex-shrink: 0;
  }
  .price-table tbody td:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .btn { padding: 0.6rem 1.3rem; font-size: 0.87rem; }
}
