@charset "UTF-8";

/* ================================
   基本設定・初期化
================================ */
html {
  -webkit-appearance: none;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  word-break: break-all;
  font-size: 10px; /* rem設計用（必要に応じて16pxでも可） */
}

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

body {
  line-height: 1.6;
  color: #343434;
  font-family: "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: #fff;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ================================
   コンテナ
================================ */
.container {
  width: 100%;
  max-width: 1280px; /* PCでは1280px上限で中央寄せ */
  margin: 0 auto;
  padding: 0 20px;
}

.inner {
  max-width: 1080px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .container,
  .inner {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
  }
}

/* ================================
   改行制御
================================ */
.br-pc {
  display: none;
}

@media (min-width: 769px) {
  .br-pc {
    display: block;
  }
}

.br-sp {
  display: none;
}

@media (max-width: 768px) {
  .br-sp {
    display: block;
  }
}

/* ================================
   タイポグラフィ
================================ */
h2 {
  font-weight: 800;
  font-size: 34px;
  color: #343434;
}

h3 {
  font-weight: 700;
  font-size: 26px;
  color: #343434;
}

p {
  font-size: 16px;
  line-height: 2;
}

@media (max-width: 768px) {
  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  p {
    font-size: 12px;
  }
}

/* 数字（Montserrat） */
.business-tabs .num,
.membership-tabs .num,
h3 .num {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #36c46d;
}

h3 .num {
  font-size: 30px;
  margin-right: 6px;
}

/* セクションラベル */
.section-label {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  color: #36c46d;
  text-transform: uppercase;
  position: relative;
  padding-left: 20px;
}

.section-label::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -15px;
  font-size: 30px;
  color: #36c46d;
}

/* ================================
   HEADER
================================ */
.header {
  width: 100%;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.header-logo {
  min-width: 273px;
  margin: 0 80px 0 30px;
}

.logo img {
  height: 59px;
  width: auto;
}

/* ナビゲーション */
.header-nav {
  position: static;
  margin-right: 30px;
}

.header-nav ul {
  display: flex;
}

.header-nav a {
  color: #000;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 20px 15px;
  white-space: nowrap;
}

.header-nav a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #36c46d;
  position: absolute;
  bottom: 4px;
  left: 0;
  transition: width 0.3s ease;
}

.header-nav a:hover::after {
  width: 100%;
}

/* 電話案内 */
.header-contact {
  background: linear-gradient(135deg, #04762f 0%, #015c24 100%);
  padding: 10px 20px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 418px;
  min-height: 100px;
}

.header-contact .label {
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.header-contact .tel {
  font-size: 30px;
  font-weight: 800;
  color: #fff14a;
}

.header-contact .time {
  font-size: 13px;
  font-weight: 400;
}

.tel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff14a;
  font-size: 30px;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.tel-link:hover {
  opacity: 0.8;
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2000;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #000;
  border-radius: 2px;
  margin: 3px 0;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* スマホナビ */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 10px 16px;
  }

  .header-logo {
    margin: 0;
  }

  .header-contact {
    display: none;
  }

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 20px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 1500;
  }

  .header-nav.active {
    display: flex;
  }

  .header-nav ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .header-nav li {
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
  }

  .header-nav li:last-child {
    border-bottom: none;
  }

  .header-nav a {
    display: block;
    text-align: center;
    padding: 14px 0;
    font-size: 16px;
  }
}

/* ================================
   FOOTER
================================ */
.footer {
  background: #f8f9fa;
  padding: 40px 0 30px;
  color: #333;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  width: auto;
  height: 59px;
}

.footer-logo p {
  font-size: 13px;
  color: #555;
}

.footer-nav ul {
  display: flex;
}

.footer-nav a {
  color: #222;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s ease;
  padding: 20px 15px;
  white-space: nowrap;
}

.footer-nav a:hover {
  color: #36c46d;
}

/* 電話ボックス */
.footer-contact {
  display: flex;
  align-items: center;
  background: #00713a;
  color: #fff;
  border-radius: 16px;
  padding: 20px 28px;
  max-width: 418px;
  max-height: 100px;
}

.footer-contact .label {
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  margin-top: 6px;
}

.footer-contact .tel {
  font-size: 30px;
  font-weight: 800;
  color: #fff14a;
  margin: 6px 0;
  line-height: 1.3;
}

.footer-contact .time {
  font-size: 13px;
  color: #fff;
  line-height: 1;
}

/* コピーライト */
.copyright {
  text-align: center;
  margin-top: 30px;
  font-size: 12px;
  color: #666;
}

.footer-bottom {
  background: #f8f9fa;
  text-align: center;
  font-size: 12px;
  color: #666;
  padding: 16px 0;
  letter-spacing: 0.3px;
  border-top: 1px solid #e0e0e0;
}

/* SP調整 */
@media (max-width: 768px) {
  .footer-bottom {
    font-size: 11px;
    padding: 12px 0;
  }
}

/* SPフッター */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    margin: 0 20px;
  }

  .footer-logo,
  .footer-nav,
  .footer-contact {
    align-items: center;
    text-align: center;
  }

  .footer-contact {
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    max-height: none;
  }

  .footer-contact .tel {
    font-size: 24px;
  }

  .footer-nav ul {
    justify-content: center;
    gap: 5px;
  }

  .footer-nav a {
    padding: 10px 5px;
  }
}
