/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: #333333;
  background-color: #FFFFFF;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity 0.3s; }
a:hover { opacity: 0.8; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  line-height: 1.4;
}
.lora { font-family: 'Lora', serif; }

/* ============================================
   UTILITY / DISPLAY TOGGLE
   ============================================ */
.u-hidden-sp { display: block; }
.u-hidden-pc { display: none; }
@media (max-width: 768px) {
  .u-hidden-sp { display: none; }
  .u-hidden-pc { display: block; }
}

/* ============================================
   LAYOUT SYSTEM (ly-)
   ============================================ */
.ly-section { width: 100%; position: relative; }
.ly-section-inner { max-width: 1100px; margin: 0 auto; padding: 60px 20px; }
.ly-section--bg-sub { background-color: #F7F9FA; }
.ly-section--bg-green { background-color: #E8F5F0; }
.ly-section--bg-dark { background-color: #0A6E5C; color: #FFFFFF; }

/* ============================================
   HEADING COMPONENT (c-hdg-l2)
   ============================================ */
.c-hdg-l2 { text-align: center; margin-bottom: 48px; }
.c-hdg-l2__title {
  font-size: 2rem; color: #0A6E5C; position: relative;
  display: inline-block; padding-bottom: 16px;
}
.c-hdg-l2__title::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%); width: 60px; height: 3px;
  background: linear-gradient(90deg, #0A6E5C, #F5A623); border-radius: 2px;
}
.c-hdg-l2__sub {
  font-family: 'Lora', serif; font-size: 0.85rem; color: #0A6E5C;
  margin-top: 8px; letter-spacing: 0.05em; opacity: 0.7;
}

/* ============================================
   BUTTON COMPONENT (c-btn)
   ============================================ */
.c-btn { text-align: center; }
.c-btn-lede { font-size: 0.9rem; margin-bottom: 8px; color: #555; }
.c-btn-inner {
  display: inline-block; padding: 16px 40px; border-radius: 50px;
  font-size: 1rem; font-weight: 700; text-align: center;
  transition: all 0.3s ease; cursor: pointer; position: relative; overflow: hidden;
}
.c-btn-inner::after {
  content: '\f054'; font-family: 'Font Awesome 6 Free';
  font-weight: 900; margin-left: 8px; font-size: 0.8em;
}
.c-btn-inner--primary { background-color: #0A6E5C; color: #FFFFFF; border: 2px solid #0A6E5C; }
.c-btn-inner--primary:hover { background-color: #085A4A; opacity: 1; }
.c-btn-inner--accent { background-color: #F5A623; color: #FFFFFF; border: 2px solid #F5A623; }
.c-btn-inner--accent:hover { background-color: #E09510; opacity: 1; }
.c-btn-inner--outline { background-color: transparent; color: #0A6E5C; border: 2px solid #0A6E5C; }
.c-btn-inner--outline:hover { background-color: #0A6E5C; color: #FFFFFF; opacity: 1; }
.c-btn-inner--white { background-color: #FFFFFF; color: #0A6E5C; border: 2px solid #FFFFFF; }
.c-btn-inner--white:hover { background-color: #F7F9FA; opacity: 1; }
.c-btn-inner--wide { padding: 16px 60px; min-width: 280px; }
.c-btn-inner--sm { padding: 10px 24px; font-size: 0.875rem; }

/* ============================================
   HEADER
   ============================================ */
.ly-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: #FFFFFF; box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.ly-header-inner {
  max-width: 1200px; margin: 0 auto; display: flex;
  align-items: center; justify-content: space-between; padding: 0 20px; height: 80px;
}
.ly-header__logo a { display: flex; align-items: center; gap: 10px; }
.ly-header__logo-img {
  width: 50px; height: 50px; background: linear-gradient(135deg, #0A6E5C, #4CAF50);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem;
}
.ly-header__logo-text { display: flex; flex-direction: column; }
.ly-header__logo-name {
  font-family: 'Noto Serif JP', serif; font-weight: 700;
  font-size: 1.4rem; color: #0A6E5C; line-height: 1.2;
}
.ly-header__logo-sub { font-size: 0.65rem; color: #666; line-height: 1.2; }
.ly-header__right { display: flex; align-items: center; gap: 12px; }
.ly-header__phone { text-align: right; margin-right: 12px; }
.ly-header__phone-number { font-family: 'Lora', serif; font-size: 1.1rem; font-weight: 700; color: #0A6E5C; }
.ly-header__phone-number i { margin-right: 4px; color: #F5A623; }
.ly-header__phone-time { font-size: 0.7rem; color: #999; }
.ly-header__cta-btn {
  display: inline-block; padding: 10px 20px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 700; color: #FFFFFF; white-space: nowrap; transition: all 0.3s;
}
.ly-header__cta-btn--primary { background-color: #0A6E5C; }
.ly-header__cta-btn--primary:hover { background-color: #085A4A; opacity: 1; }
.ly-header__cta-btn--accent { background-color: #F5A623; }
.ly-header__cta-btn--accent:hover { background-color: #E09510; opacity: 1; }

/* Global Nav */
.ly-gnav { background: #FFFFFF; border-top: 1px solid #EEE; box-shadow: 0 2px 4px rgba(0,0,0,0.04); }
.ly-gnav-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: center; }
.ly-gnav__list { display: flex; }
.ly-gnav__item a {
  display: block; padding: 14px 22px; font-size: 0.9rem; font-weight: 700;
  color: #333; position: relative; transition: color 0.3s;
}
.ly-gnav__item a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 3px; background: #0A6E5C; transition: width 0.3s;
}
.ly-gnav__item a:hover { color: #0A6E5C; opacity: 1; }
.ly-gnav__item a:hover::after { width: 80%; }
.ly-gnav__item.is-current a { color: #0A6E5C; }
.ly-gnav__item.is-current a::after { width: 80%; }

/* Hamburger */
.ly-header__hamburger {
  display: none; width: 44px; height: 44px; position: relative;
  cursor: pointer; z-index: 1002; background: none; border: none;
}
.ly-header__hamburger span {
  display: block; width: 24px; height: 2px; background: #333;
  position: absolute; left: 10px; transition: all 0.3s;
}
.ly-header__hamburger span:nth-child(1) { top: 13px; }
.ly-header__hamburger span:nth-child(2) { top: 21px; }
.ly-header__hamburger span:nth-child(3) { top: 29px; }
.ly-header__hamburger.is-active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.ly-header__hamburger.is-active span:nth-child(2) { opacity: 0; }
.ly-header__hamburger.is-active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile Menu Overlay */
.ly-mobile-menu {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; transition: opacity 0.3s;
}
.ly-mobile-menu.is-active { display: block; opacity: 1; }
.ly-mobile-menu__panel {
  position: absolute; top: 0; right: 0; width: 85%; max-width: 360px; height: 100%;
  background: #FFFFFF; overflow-y: auto; padding: 80px 20px 40px;
  transform: translateX(100%); transition: transform 0.3s ease;
}
.ly-mobile-menu.is-active .ly-mobile-menu__panel { transform: translateX(0); }
.ly-mobile-menu__nav-item a {
  display: block; padding: 16px 0; border-bottom: 1px solid #EEE;
  font-weight: 700; font-size: 0.95rem;
}
.ly-mobile-menu__cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.ly-mobile-menu__cta .ly-header__cta-btn {
  display: block; text-align: center; padding: 14px 20px; font-size: 0.95rem;
}
.ly-mobile-menu__phone {
  margin-top: 20px; text-align: center; padding: 16px; background: #F7F9FA; border-radius: 8px;
}

/* ============================================
   CTA BLOCK (Shared Component)
   ============================================ */
.c-cta-block {
  text-align: center; padding: 48px 20px;
  background: linear-gradient(135deg, #F7F9FA, #E8F5F0); border-radius: 16px;
}
.c-cta-block__heading { font-size: 1.5rem; color: #0A6E5C; margin-bottom: 24px; }
.c-cta-block__buttons {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px;
}
.c-cta-block__phone { margin-top: 16px; }
.c-cta-block__phone-number { font-family: 'Lora', serif; font-size: 1.4rem; font-weight: 700; color: #0A6E5C; }
.c-cta-block__phone-number i { color: #F5A623; margin-right: 6px; }
.c-cta-block__phone-time { font-size: 0.8rem; color: #999; margin-top: 4px; }

/* ============================================
   FOOTER
   ============================================ */
.ly-footer { background: #1A2332; color: #CCC; }
.ly-footer-inner { max-width: 1100px; margin: 0 auto; padding: 60px 20px 30px; }
.ly-footer__nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 40px; }
.ly-footer__nav-group-title {
  font-weight: 700; color: #FFFFFF; font-size: 0.95rem; margin-bottom: 16px;
  padding-bottom: 8px; border-bottom: 2px solid #0A6E5C; cursor: default;
}
.ly-footer__nav-group-title i { display: none; }
.ly-footer__nav-list a {
  display: block; padding: 4px 0; font-size: 0.8rem; color: #AAA; transition: color 0.3s;
}
.ly-footer__nav-list a:hover { color: #F5A623; opacity: 1; }
.ly-footer__bottom {
  border-top: 1px solid #2A3A4E; padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.ly-footer__logo { display: flex; align-items: center; gap: 10px; }
.ly-footer__logo-icon {
  width: 40px; height: 40px; background: linear-gradient(135deg, #0A6E5C, #4CAF50);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
}
.ly-footer__logo-text { font-family: 'Noto Serif JP', serif; font-weight: 700; color: #FFFFFF; font-size: 1.1rem; }
.ly-footer__sub-nav { display: flex; gap: 20px; }
.ly-footer__sub-nav a { font-size: 0.75rem; color: #888; }
.ly-footer__sub-nav a:hover { color: #F5A623; }
.ly-footer__copyright {
  width: 100%; text-align: center; font-size: 0.75rem; color: #666;
  margin-top: 20px; font-family: 'Lora', serif;
}

/* ============================================
   PAGE TOP BUTTON
   ============================================ */
.c-pagetop {
  position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
  background: #0A6E5C; color: #FFFFFF; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  cursor: pointer; opacity: 0; visibility: hidden; transition: all 0.3s;
  z-index: 900; box-shadow: 0 4px 12px rgba(0,0,0,0.2); border: none;
}
.c-pagetop.is-visible { opacity: 1; visibility: visible; }
.c-pagetop:hover { background: #085A4A; transform: translateY(-3px); }

/* ============================================
   PAGE HERO (sub-pages)
   ============================================ */
.c-page-hero {
  margin-top: 124px; position: relative; overflow: hidden;
  min-height: 260px; display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.c-page-hero__bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, #0A6E5C 0%, #148F78 50%, #4CAF50 100%);
  z-index: 0;
}
.c-page-hero__overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.15); z-index: 1;
}
.c-page-hero__content { position: relative; z-index: 2; padding: 40px 20px; }
.c-page-hero__title {
  font-size: 2.2rem; color: #FFFFFF; text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  margin-bottom: 8px;
}
.c-page-hero__sub {
  font-size: 1rem; color: #FFFFFF; opacity: 0.9;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

/* Breadcrumb */
.c-breadcrumb { background: #F7F9FA; padding: 12px 0; font-size: 0.8rem; }
.c-breadcrumb__inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.c-breadcrumb__list { display: flex; flex-wrap: wrap; gap: 4px; }
.c-breadcrumb__list li::after { content: '>'; margin-left: 4px; color: #CCC; }
.c-breadcrumb__list li:last-child::after { display: none; }
.c-breadcrumb__list a { color: #0A6E5C; }
.c-breadcrumb__list a:hover { text-decoration: underline; }

/* ============================================
   FAQ ACCORDION (shared)
   ============================================ */
.c-faq__item {
  border: 1px solid #E0E0E0; border-radius: 8px; margin-bottom: 12px; overflow: hidden;
}
.c-faq__question {
  display: flex; align-items: center; padding: 20px 24px; cursor: pointer;
  background: #FFFFFF; transition: background 0.3s; gap: 12px;
}
.c-faq__question:hover { background: #FAFAFA; }
.c-faq__q-icon { font-family: 'Lora', serif; font-size: 1.2rem; font-weight: 700; color: #0A6E5C; flex-shrink: 0; }
.c-faq__q-text { flex: 1; font-weight: 700; font-size: 0.95rem; }
.c-faq__q-toggle { width: 24px; height: 24px; position: relative; flex-shrink: 0; }
.c-faq__q-toggle::before, .c-faq__q-toggle::after {
  content: ''; position: absolute; background: #0A6E5C; transition: transform 0.3s;
}
.c-faq__q-toggle::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.c-faq__q-toggle::after { top: 0; left: 50%; width: 2px; height: 100%; transform: translateX(-50%); }
.c-faq__item.is-open .c-faq__q-toggle::after { transform: translateX(-50%) rotate(90deg); }
.c-faq__answer { display: none; padding: 0 24px 20px 56px; }
.c-faq__answer-text { font-size: 0.9rem; line-height: 1.8; color: #555; }
.c-faq__answer-link {
  display: inline-block; margin-top: 10px; color: #0A6E5C; font-weight: 700; font-size: 0.85rem;
}
.c-faq__answer-link::after {
  content: '\f054'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  margin-left: 6px; font-size: 0.7em;
}

/* ============================================
   FORM STYLES (shared)
   ============================================ */
.c-form { max-width: 720px; margin: 0 auto; }
.c-form__group { margin-bottom: 28px; }
.c-form__label {
  display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 8px; color: #333;
}
.c-form__label .c-form__required {
  display: inline-block; background: #E53935; color: #fff; font-size: 0.7rem;
  padding: 1px 8px; border-radius: 3px; margin-left: 8px; font-weight: 700; vertical-align: middle;
}
.c-form__label .c-form__optional {
  display: inline-block; background: #999; color: #fff; font-size: 0.7rem;
  padding: 1px 8px; border-radius: 3px; margin-left: 8px; font-weight: 700; vertical-align: middle;
}
.c-form__input, .c-form__textarea, .c-form__select {
  width: 100%; padding: 14px 16px; border: 2px solid #DDD; border-radius: 8px;
  font-family: 'Noto Sans JP', sans-serif; font-size: 1rem; transition: border-color 0.3s;
  background: #FFFFFF; appearance: none;
}
.c-form__input:focus, .c-form__textarea:focus, .c-form__select:focus {
  outline: none; border-color: #0A6E5C; box-shadow: 0 0 0 3px rgba(10,110,92,0.1);
}
.c-form__input.is-error, .c-form__textarea.is-error, .c-form__select.is-error {
  border-color: #E53935;
}
.c-form__textarea { min-height: 140px; resize: vertical; }
.c-form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.c-form__radio-group { display: flex; gap: 20px; flex-wrap: wrap; }
.c-form__radio-label {
  display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: 0.95rem;
}
.c-form__radio-label input[type="radio"] { width: 20px; height: 20px; accent-color: #0A6E5C; }
.c-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.c-form__error { color: #E53935; font-size: 0.8rem; margin-top: 4px; display: none; }
.c-form__error.is-visible { display: block; }
.c-form__submit { text-align: center; margin-top: 36px; }
.c-form__submit .c-btn-inner { min-width: 280px; }
.c-form__note { font-size: 0.8rem; color: #999; margin-top: 12px; text-align: center; }

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 1024px) {
  .ly-header__phone { display: none; }
  .c-form__row { grid-template-columns: 1fr; }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
  .ly-header-inner { height: 60px; }
  .ly-header__right .ly-header__cta-btn { display: none; }
  .ly-header__hamburger { display: block; }
  .ly-gnav { display: none; }
  .ly-section-inner { padding: 40px 16px; }
  .c-hdg-l2__title { font-size: 1.5rem; }
  .c-btn-inner { padding: 14px 28px; font-size: 0.9rem; }
  .c-btn-inner--wide { min-width: auto; padding: 14px 36px; }
  .c-cta-block__buttons { flex-direction: column; align-items: center; }
  .c-page-hero { margin-top: 60px; min-height: 200px; }
  .c-page-hero__title { font-size: 1.6rem; }
  .ly-footer__nav { grid-template-columns: 1fr; gap: 0; }
  .ly-footer__nav-group-title {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 0; margin-bottom: 0; border-bottom: 1px solid #2A3A4E; cursor: pointer;
  }
  .ly-footer__nav-group-title i { display: block; transition: transform 0.3s; font-size: 0.8rem; }
  .ly-footer__nav-group-title.is-open i { transform: rotate(180deg); }
  .ly-footer__nav-group .ly-footer__nav-list { display: none; padding: 8px 0 16px; }
  .ly-footer__nav-group .ly-footer__nav-list.is-open { display: block; }
  .ly-footer__bottom { flex-direction: column; text-align: center; }
  .ly-footer__sub-nav { flex-wrap: wrap; justify-content: center; }
  .c-pagetop { bottom: 16px; right: 16px; width: 44px; height: 44px; }
}

body.is-menu-open { overflow: hidden; }
