
/* CSS Variables */
:root {
    --color-bg-base: #FFF8EF;
    --color-bg-sub: #FFFDF9;
    /* ... existing vars ... */
    --color-bg-accent: #FEF0E3;
    --color-primary: #F4A261;
    --color-accent: #C97B3D;
    --color-text: #5C4A3D;
    --color-text-light: #8C7B6D;
    --color-placeholder: #EBDCCB;
    --font-base: "M PLUS Rounded 1c", sans-serif;
    --font-heading: "Kiwi Maru", serif;
    --radius-sm: 8px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --width-content: 1000px;
    --width-narrow: 800px;
    --spacing-sm: 24px;
    --spacing-md: 48px;
    --spacing-lg: 80px;
}

/* Form Styles */
.p-form-container { width: 100%; max-width: 500px; box-sizing: border-box; padding: 30px 20px; background: #fff; margin: 40px auto; border-radius: 10px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); border: 2px solid #f0f0f0; }
.p-form-group { width: 100%; box-sizing: border-box; margin-bottom: 20px; text-align: left; }
.p-form-label { display: block; margin-bottom: 8px; font-size: 0.95rem; color: #444; font-weight: 700; }
.p-form-input, .p-form-textarea, .p-form-select { display: block; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; padding: 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 1rem; background: #fafafa; transition: border 0.2s; }
.p-form-input:focus, .p-form-textarea:focus, .p-form-select:focus { border-color: #F4A261; outline: none; background: #fff; }
.p-form-btn { width: 100%; padding: 14px; background: #F4A261; color: #fff; border: none; border-radius: 50px; font-weight: bold; font-size: 1.1rem; cursor: pointer; transition: opacity 0.2s, transform 0.2s; box-shadow: 0 4px 0 #D68C53; margin-top: 10px; }
.p-form-btn:hover { opacity: 0.9; transform: translateY(-2px); }
.p-form-select { appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 10px center; background-size: 1em; }
/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; }
body { font-family: var(--font-base); color: var(--color-text); background-color: var(--color-bg-base); line-height: 1.9; font-weight: 400; letter-spacing: 0.05em; }
a { text-decoration: none; color: inherit; transition: opacity 0.3s, color 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 500; line-height: 1.5; }
/* Utilities */
.container { max-width: var(--width-content); margin: 0 auto; padding: 0 32px; }
.narrow-container { max-width: var(--width-narrow); margin: 0 auto; padding: 0 32px; }
.section { padding: var(--spacing-lg) 0; }
.section-title { font-size: 1.17rem; text-align: center; margin-bottom: var(--spacing-md); color: var(--color-accent); }
/* SNS */
.info-sns { display: flex; gap: 20px; margin-top: 15px; }
.sns-icon { font-size: 1.4rem; color: var(--color-accent); transition: opacity 0.3s ease, transform 0.3s ease; display: inline-block; }
.sns-icon:hover { opacity: 0.7; transform: translateY(-2px); }
.sns-icon[href="#"], .sns-icon[href=""] { display: none; }
/* Header */
.header { min-height: 90px; display: flex; align-items: center; background-color: var(--color-bg-base); position: sticky; top: 0; z-index: 100; border-bottom: 2px solid rgba(244, 162, 97, 0.2); padding: 18px 0 16px; }
.header-inner { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left; }
.logo { font-family: var(--font-heading); font-size: 1.2rem; color: var(--color-accent); line-height: 1.2; }
.nav { display: flex; justify-content: flex-end; }
.nav ul { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 32px; }
.nav a { color: var(--color-text); font-size: 1rem; }
.nav a:hover { color: var(--color-primary); }
/* Hero */
.hero { padding: 60px 0 0; text-align: center; position: relative; overflow: hidden; }
.hero-title { font-size: 2rem; color: var(--color-accent); margin-bottom: 16px; }
.hero-catch { font-size: 1.1rem; color: var(--color-text-light); margin-bottom: 48px; letter-spacing: 0.1em; }
.hero-image-placeholder { width: 100%; max-width: var(--width-content); aspect-ratio: 16 / 9; height: auto; background-color: var(--color-placeholder); margin: 0 auto; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; position: relative; z-index: 1; overflow: hidden; }
.hero-image-placeholder img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.wave-separator { line-height: 0; margin-top: -60px; position: relative; z-index: 2; }
.wave-separator svg { width: 100%; height: 120px; }
/* About */
.about { text-align: center; }
.about-text { font-size: 1.05rem; text-align: center; line-height: 2.0; white-space: pre-wrap; }
.about-text:empty { display: none; }
.about:has(.about-text:empty) { padding-top: 72px; padding-bottom: 72px; }
/* Service */
.service { padding-bottom: 120px; }
.service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 56px; align-items: stretch; }
.service-card { background-color: #fff; padding: 0 0 28px; border-radius: var(--radius-md); box-shadow: 0 8px 24px rgba(220, 200, 180, 0.2); text-align: center; transition: none; cursor: default; display: flex; flex-direction: column; grid-column: span 2; min-width: 0; overflow: hidden; }
.service-grid > .service-card:only-child { grid-column: 1 / -1; }
.service-grid > .service-card:first-child:nth-last-child(2) { grid-column: span 3; }
.service-grid > .service-card:nth-child(2):last-child { grid-column: span 3; }
.service-image-placeholder { width: 100%; aspect-ratio: 4 / 3; background-color: var(--color-placeholder); border-radius: var(--radius-md) var(--radius-md) 0 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: 20px; overflow: hidden; }
.service-image-placeholder img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.service-card-title { font-size: 1.25rem; color: var(--color-accent); margin-bottom: 12px; padding: 0 24px; }
.service-desc { font-size: 1rem; color: var(--color-text-light); line-height: 1.8; white-space: pre-wrap; padding: 0 24px; }
/* Info */
.wave-separator-top, .wave-separator-bottom { line-height: 0; }
.wave-separator-top svg, .wave-separator-bottom svg { width: 100%; height: 80px; }
.info { background-color: rgba(246, 201, 166, 0.3); padding: 20px 0; }
.info-box { background-color: rgba(255, 255, 255, 0.6); padding: 40px; border-radius: var(--radius-lg); border: 2px dashed rgba(244, 162, 97, 0.4); max-width: 960px; margin: 0 auto; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-grid { padding-left: 20px; padding-right: 0; }
.info-label { font-size: 1rem; color: var(--color-accent); margin-bottom: 18px; display: inline-block; border-bottom: 2px solid var(--color-primary); padding-bottom: 4px; }
.info-value { font-size: 1rem; white-space: pre-wrap; margin: 0 0 12px; line-height: 1.8; }
.info-value:empty { display: none; }
.info-note-line { color: var(--color-text-light); font-size: 0.92em; margin-top: 18px; }
.contact-em { font-size: 1.2rem; font-family: var(--font-heading); color: var(--color-accent); letter-spacing: normal; margin-bottom: 12px; }
.note { font-size: 0.85rem; color: var(--color-text-light); }
.btn-primary { display: inline-block; margin-top: 16px; background-color: var(--color-primary); color: #fff; padding: 10px 28px; border: none; border-radius: 50px; font-size: 0.9rem; box-shadow: none; transition: background-color 0.2s ease, opacity 0.2s ease; }
.btn-primary:hover { background-color: #F7B179; transform: none; box-shadow: none; }
#contact-open-btn,
#booking-open-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 86px !important;
    min-width: 86px !important;
    min-height: 30px !important;
    padding: 3px 7px !important;
    font-size: 0.63rem !important;
    line-height: 1.1 !important;
    transform: scale(0.81);
    transform-origin: left center;
    margin-top: 4px !important;
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
    white-space: nowrap;
    box-shadow: none !important;
}

#contact-open-btn:hover,
#booking-open-btn:hover {
    transform: scale(0.81) translateY(-1px);
    box-shadow: none !important;
}

#contact-open-btn:hover {
    box-shadow: none !important;
}

#booking-open-btn:hover {
    background: #f08a6c !important;
    border-color: #f08a6c !important;
    box-shadow: none !important;
}

.contact-action-buttons {
    gap: 0px !important;
}

.btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding: 10px 24px; box-sizing: border-box; font-size: 1rem; font-weight: 700; line-height: 1.2; letter-spacing: 0; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease; background: #74CF8B; color: #315C43; border: none; border-radius: 999px; box-shadow: 0 8px 18px rgba(82, 174, 106, 0.22); }
.btn-line i { color: #315C43; font-size: 1.25rem; line-height: 1; }
.btn-line:hover { background: #7EDB95; box-shadow: 0 10px 22px rgba(82, 174, 106, 0.26); transform: translateY(-1px); }
.btn-line:focus-visible { outline: 2px solid rgba(201, 123, 61, 0.35); outline-offset: 3px; }
/* Access */
.access { text-align: center; }
.access-address { font-style: normal; font-size: 1.1rem; margin-bottom: 32px; display: block; white-space: pre-wrap; }
.map-placeholder { width: 100%; max-width: 900px; height: 400px; background-color: #E6E1D8; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: #fff; margin: 0 auto; }
/* Footer */
.footer { background-color: #6D5C50; color: #fff; padding: 40px 0; text-align: center; }
.footer-logo { font-family: var(--font-heading); font-size: 1rem; margin-bottom: 8px; }
.footer-copy { font-size: 0.8rem; opacity: 0.7; }
/* Responsive */
@media (max-width: 768px) { html { font-size: 100%; }
  .wave-separator, .wave-separator-top, .wave-separator-bottom { display: none !important; }
  .container, .narrow-container { max-width: 100% !important; padding-left: 20px !important; padding-right: 20px !important; }
  .section { padding: 56px 0 !important; }
  .hero-title { display: none; }
  .service-grid { grid-template-columns: 1fr; gap: 48px; justify-items: stretch; }
  .service-card { width: 100%; margin: 15px 0; padding: 0 0 20px; background: transparent; box-shadow: none; border: none; border-radius: 0; transform: none; }
  .service-image-placeholder { width: 100%; max-width: none; aspect-ratio: 4 / 3; border-radius: 0; margin: 0 0 16px; }
  .service-card-title, .service-desc { padding: 0 20px; text-align: center; }
  .btn-line { width: min(100%, 220px); max-width: 220px; min-height: 40px; padding: 10px 18px; font-size: 0.95rem; line-height: 1.2; white-space: nowrap; }
  .contact-action-buttons { align-items: center; }
  #contact-open-btn,
  #booking-open-btn {
    width: min(100%, 170px) !important;
    max-width: 170px !important;
    min-width: 170px !important;
    min-height: 60px !important;
    padding: 12px 18px !important;
    font-size: 1rem !important;
    transform: none !important;
    margin-top: 8px !important;
  }
  .hero-title { font-size: 2.0rem; }
  .hero-image-placeholder { width: 100%; max-width: none; height: auto; min-height: auto; aspect-ratio: 4 / 3; margin: 0; border-radius: 0; }
  .info-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .info-label { margin-bottom: 20px; }
  .info-grid .info-item + .info-item { margin-top: 24px; }
  .info-item, .info-content { text-align: center; }
  .info-sns { justify-content: center; }
  .header { min-height: 0; padding: 14px 0; position: static; }
  .header-inner { flex-direction: column; gap: 12px; padding: 16px 20px; text-align: center; }
  .nav { width: 100%; justify-content: center; }
  .nav ul { width: auto; justify-content: center; gap: 12px 20px; font-size: 0.9rem; }
}
