/* =========================================
   共通
========================================= */

.button {
  background: #6366f1;
}

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

.hero {
  background-color: #FFFCE9;
}

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

/* メイン画像ブロック */
.hero-main-image {
  position: relative;
}
.hero-main-image img {
  width: 100%;
  display: block;
}

/* PC用テキスト */
.hero-pc-text {
  position: absolute;
  left: 6%;
  top: 13%;
  color: #111;
  font-weight: 700;
  line-height: 1.25;
}
.hero-pc-text .area {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}
.hero-pc-text .catch-green {
  display: block;
  font-size: 32px;
  color: #02A16C;
}
.hero-pc-text .catch-main {
  display: block;
  font-size: 28px;
}
.hero-pc-text .catch-main span {
  color: #02A16C;
}

/* SP用テキストブロック（PCでは非表示） */
.hero-sp-top {
  display: none;
}

/* HERO テキスト共通 */
.area {
  color: #000;
  font-size: 14px;
  display: block;
}
.catch-green {
  font-size: 28px;
  font-weight: bold;
  color: #02A16C;
  line-height: 1.3;
  display: block;
}
.catch-main {
  font-size: 28px;
  font-weight: bold;
  color: #000;
}
.catch-main span {
  color: #02A16C;
}

/* 画像切り替え */
.hero-img {
  width: 100%;
  display: block;
}
.hero-img-pc,
.pc-only {
  display: block;
}
.hero-img-sp,
.sp-only {
  display: none !important;
}

/* SP レイアウト */
@media (max-width: 768px) {
  /* PCテキストを隠す */
  .hero-pc-text {
    display: none !important;
  }

  .hero-sp-top {
    display: block;
    padding: 24px 18px 18px;
    background-color: #FFFCE9;
    text-align: center;
  }
  .hero-area {
    font-size: 14px;
    margin-bottom: 6px;
  }
  .hero-main-heading {
    margin: 0;
    line-height: 1.3;
  }
  .hero-main-line {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #02A16C;
  }
  .hero-main-brand {
    font-size: 22px;
    color: #111;
  }
  .hero-main-brand span {
    color: #02A16C;
  }

  .hero-badge-wrapper {
    margin-top: 12px;
  }
  .hero-badges-img {
    width: 95%;
    max-width: 360px;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  .hero-img-pc,
  .pc-only {
    display: none !important;
  }
  .hero-img-sp,
  .sp-only {
    display: block !important;
  }
}

/* =========================================
   HEADER / GLOBAL NAV
========================================= */

.nb-header {
  background: #ffffff;
  font-family: "Hiragino Sans", "Yu Gothic", system-ui, -apple-system,
    BlinkMacSystemFont, sans-serif;
}

.nb-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 0;
}

/* 上段：PCレイアウト */
.nb-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

/* ロゴ */
.nb-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nb-logo img {
  height: 46px;
  width: auto;
  display: block;
}

/* 電話＋メール */
.nb-contact {
  display: flex;
  align-items: center;
  gap: 22px;
}

/* 電話バッジ */
.nb-tel-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nb-badge-free {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  text-align: center;
}
.nb-badge-line {
  display: block;
}
.nb-badge-small {
  font-size: 11px;
  font-weight: 700;
}
.nb-badge-big {
  font-size: 14px;
  font-weight: 800;
}

/* TEL 表示 */
.nb-tel-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.nb-tel-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nb-tel-icon {
  font-size: 22px;
  color: #02A16C;
  line-height: 1;
}
.nb-tel-number {
  font-size: 31px;
  font-weight: 700;
  color: #333333;
  text-decoration: none;
}
.nb-tel-number:hover {
  opacity: 0.8;
}
.nb-tel-info {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nb-tel-time {
  font-size: 20px;
  color: #555555;
}
.nb-tel-holiday {
  font-size: 11px;
  font-weight: 700;
  color: #f15a24;
  border: 1px solid #f15a24;
  border-radius: 3px;
  padding: 2px 6px;
  background: #fff6f0;
}

/* メールボタン */
.nb-mail-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  color: #02A16C;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: #ffffff;
}
.nb-mail-icon {
  height: 18px;
  width: auto;
  display: block;
}

/* ---------- グローバルナビ（PC） ---------- */

.nb-global-nav {
  margin-bottom: 10px;
}
.nb-global-nav ul {
  list-style: none;
  margin: 0;
  padding: 0 6px;
  display: flex;
  justify-content: center;
  gap: 55px;
}
.nb-global-nav li {
  position: relative;
}
.nb-global-nav a {
  display: inline-block;
  padding: 11px 0 9px;
  font-size: 15px;
  color: #111827;
  text-decoration: none;
}
.nb-global-nav a:hover {
  color: #02A16C;
}
.nb-global-nav li.is-active a {
  font-weight: 600;
}
.nb-global-nav li.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: #02A16C;
}

/* =========================================
   ハンバーガーボタン（アニメ付き）
========================================= */

/* 基本スタイル（PCでは非表示） */
.nb-nav-toggle {
  position: absolute;
  left: 16px;
  top: 0px;
  width: 40px;
  height: 32px;
  display: none;
  cursor: pointer;
  z-index: 100;
  background: none;
  border: none;
  padding: 0;
}

/* 3本線 */
.nb-nav-toggle span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 2.5px;
  background: #333;
  border-radius: 2px;
  transition:
    top 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

/* 1本目 */
.nb-nav-toggle span:nth-child(1) {
  top: 8px;
}

/* 2本目 */
.nb-nav-toggle span:nth-child(2) {
  top: 15px;
}

/* 3本目 */
.nb-nav-toggle span:nth-child(3) {
  top: 22px;
}

/* 開いたとき → バツ表示 */
.nb-nav-toggle.is-open span:nth-child(1) {
  top: 15px;
  transform: translateX(-50%) rotate(45deg);
}
.nb-nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nb-nav-toggle.is-open span:nth-child(3) {
  top: 15px;
  transform: translateX(-50%) rotate(-45deg);
}

/* =========================================
   HEADER / NAV の SP レイアウト
========================================= */

@media (max-width: 880px) {
  .nb-header-inner {
    padding: 15px 10px 15px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
  }

  /* 上段：ロゴを中央に、ハンバーガー左 */
  .nb-header-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .nb-logo img {
    height: 32px;
  }

  /* 電話・メールはSPでは非表示 */
  .nb-contact {
    display: none;
  }

  /* ハンバーガー表示 */
  .nb-nav-toggle {
    display: block;
  }

  /* メニュー本体：ヘッダー直下に展開 */
  .nb-global-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 0;
    border-top: 1px solid #e5e9ef;
    border-bottom: 1px solid #e5e9ef;
    background: #ffffff;
    display: none;
    z-index: 90;
  }
  .nb-global-nav.is-open {
    display: block;
  }

  .nb-global-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 4px 10px 8px;
  }
  .nb-global-nav li {
    width: 100%;
  }
  .nb-global-nav a {
    display: block;
    width: 100%;
    padding: 9px 0;
    font-size: 14px;
    border-bottom: 1px solid #f1f1f1;
  }
  .nb-global-nav li:last-child a {
    border-bottom: none;
  }
  .nb-global-nav li.is-active::after {
    display: none;
  }
}

/* =========================================
   メイン画像下の帯
========================================= */

.nb-main-message {
  background-color: #02A16C;
  background-image: url("../fuyouhin/images/bg.png");
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 100%;
  color: #ffffff;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .nb-main-message {
    background-image: url("../fuyouhin/images/bg@2x.png");
    background-size: auto 100%;
  }
}

.nb-main-message-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 20px 20px;
}
.nb-main-message-lead {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #F7E354;
  margin: 0 0 4px;
}
.nb-main-message-text {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .nb-main-message-inner {
    padding: 10px 14px 12px;
  }
  .nb-main-message-lead {
    font-size: 15px;
    line-height: 1.4;
  }
  .nb-main-message-text {
    font-size: 14px;
  }
}

/* =========================================
   お悩みブロック
========================================= */

.nb-trouble {
  background-color: #FFFCE9;
  padding: 20px 0 26px;
}
.nb-trouble-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 40px;
  background-color: #FFFCE9;
  box-sizing: border-box;
}
.nb-trouble-head {
  margin-bottom: 28px;
}
.nb-trouble-label {
  margin: 0;
  font-size: 22px;
  color: #333;
  font-weight: 700;
}
.nb-trouble-title {
  margin: 6px 0 0;
  font-size: 34px;
  font-weight: 700;
  color: #02A16C;
  letter-spacing: 0.05em;
}

/* レイアウト */
.nb-trouble-content {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nb-trouble-list {
  flex: 0 0 60%;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nb-trouble-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 14px;
}
.nb-trouble-icon img {
  width: 28px;
  height: auto;
}
.nb-trouble-illust {
  flex: 0 0 38%;
  text-align: right;
}
.nb-trouble-illust img {
  width: 100%;
  max-width: 340px;
  height: auto;
}

/* SP */
@media (max-width: 768px) {
  .nb-trouble-inner {
    padding: 24px 18px;
  }
  .nb-trouble-title {
    font-size: 20px;
    text-align: center;
  }
  .nb-trouble-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .nb-trouble-list {
    width: 100%;
  }
  .nb-trouble-item {
    font-size: 14px;
    gap: 8px;
  }
  .nb-trouble-icon img {
    width: 20px;
  }
  .nb-trouble-illust {
    text-align: center;
  }
  .nb-trouble-illust img {
    max-width: 220px;
  }
}

/* =========================================
   解決宣言ブロック
========================================= */

.nb-solution {
  position: relative;
  background-color: #02A16C;
  color: #ffffff;
  text-align: center;
  padding: 26px 0 34px;
}
.nb-solution::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -19px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 22px 0 22px;
  border-color: #02A16C transparent transparent transparent;
}
.nb-solution-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.nb-solution-title {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.nb-solution-title-highlight {
  color: #F7E354;
}
.nb-solution-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .nb-solution {
    padding: 20px 0 26px;
  }
  .nb-solution-title {
    font-size: 18px;
    line-height: 1.5;
  }
  .nb-solution-text {
    font-size: 14px;
  }
}

/* =========================================
   選ばれる6つの理由
========================================= */

.nb-reason {
  background-color: #FFFCE9;
  padding: 40px 0 50px;
}
.nb-reason-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.nb-reason-title {
  text-align: center;
  margin: 0 0 30px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.nb-reason-title span {
  color: #02A16C;
  font-size: 40px;
}

/* グリッド */
.nb-reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 26px;
}

/* カード */
.nb-reason-card {
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.nb-reason-card-media {
  position: relative;
}
.nb-reason-card-media img {
  width: 100%;
  display: block;
  border-radius: 24px 24px 0 0;
}
.nb-reason-num {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background-color: #02A16C;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nb-reason-card-body {
  padding: 16px 18px 20px;
}
.nb-reason-card-title {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 700;
  color: #02A16C;
}
.nb-reason-card-sub {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: #f28a34;
}
.nb-reason-card-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #222222;
}

/* SP */
@media (max-width: 768px) {
  .nb-reason {
    padding: 30px 0 36px;
  }
  .nb-reason-inner {
    padding: 0 14px;
  }
  .nb-reason-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .nb-reason-title span {
    font-size: 26px;
  }
  .nb-reason-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .nb-reason-card-body {
    padding: 14px 14px 18px;
  }
  .nb-reason-card-title {
    font-size: 16px;
  }
  .nb-reason-card-text {
    font-size: 14px;
  }
}

/* =========================================
   お問い合わせセクション
========================================= */

.nb-contact-section {
  background-color: #02A16C;
  color: #fff;
  text-align: center;
  padding: 40px 0 60px;
}
.nb-contact-title {
  font-size: 26px;
  font-weight: 700;
  border: 3px solid #F7E354;
  color: #F7E354;
  display: inline-block;
  padding: 12px 40px;
  margin-bottom: 18px;
}
.nb-contact-lead {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 28px;
  text-shadow: 0 0 6px #fff;
}

/* メイン枠 */
.nb-contact-box {
  background: #fff;
  border-radius: 14px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* 左画像 */
.nb-contact-left {
  flex: 1;
}
.nb-contact-staff-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* 右側 */
.nb-contact-right {
  flex: 1.2;
  text-align: left;
}

/* 電話番号 */
.nb-contact-tel-block {
  margin-bottom: 14px;
}
.nb-contact-tel-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nb-contact-tel-icon {
  width: 40px;
  height: auto;
}
.nb-contact-tel {
  font-size: 38px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
}
.nb-contact-meta {
  margin-top: 6px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.nb-contact-time {
  font-size: 20px;
  color: #333;
}
.nb-contact-note {
  background: #f28a34;
  color: #fff;
  font-size: 14px;
  padding: 2px 10px;
  border-radius: 5px;
}

/* メールボタン */
.nb-contact-mail-wrap {
  margin-top: 14px;
}
.nb-contact-mail-img {
  width: 100%;
  max-width: 420px;
  display: block;
}

/* SP */
@media (max-width: 768px) {
  .nb-contact-title {
    font-size: 20px;
    padding: 10px 22px;
  }
  .nb-contact-lead {
    font-size: 18px;
  }
  .nb-contact-box {
    flex-direction: column;
    text-align: center;
  }
  .nb-contact-tel-row {
    margin-left: 50px;
  }
  .nb-contact-right {
    text-align: center;
  }
  .nb-contact-tel {
    font-size: 28px;
  }
  .nb-contact-meta {
    justify-content: center;
  }
  .nb-contact-mail-img {
    max-width: 100%;
  }
  .nb-contact-mail-wrap {
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
  }
}

/* =========================================
   作業料金
========================================= */

.nb-price {
  background-color: #FFFCE9;
  padding: 40px 0 50px;
}
.nb-price-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  text-align: center;
}
.nb-price-title {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 20px;
}
.nb-price-title span {
  display: block;
  font-size: 14px;
  font-weight: 400;
  margin-top: 4px;
}
.nb-price-table-wrap {
  overflow-x: auto;
}
.nb-price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto 16px;
  background-color: #ffffff;
}
.nb-price-table th,
.nb-price-table td {
  border: 1px solid #e1e5e8;
  padding: 10px 8px;
  font-size: 15px;
}
.nb-price-table thead th {
  background-color: #02A16C;
  color: #ffffff;
  font-weight: 700;
}
.nb-price-table tbody td:nth-child(3) {
  text-align: right;
}
.nb-price-notes {
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}
.nb-price-notes p {
  margin: 0 0 6px;
}

/* =========================================
   お客様の声
========================================= */

.nb-voice {
  background-color: #FFFCE9;
  padding: 40px 0 10px;
}
.nb-voice-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.nb-voice-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 16px;
}
.nb-voice-label {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 26px;
  color: #02A16C;
}
.nb-voice-label span {
  border-bottom: 2px solid #02A16C;
}

/* 各声ブロック */
.nb-voice-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 18px 18px 22px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  margin-bottom: 22px;
}
.nb-voice-header {
  margin-bottom: 12px;
}
.nb-voice-name {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  background-color: #e5f4ff;
  color: #0074c7;
  padding: 2px 10px;
  border-radius: 10px;
  margin: 0 0 6px;
}
.nb-voice-heading {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

/* BEFORE / AFTER 画像 */
.nb-voice-photos {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.nb-voice-photo {
  flex: 1;
  margin: 0;
  border: 1px solid #e1e5e8;
  background-color: #ffffff;
}
.nb-voice-photo figcaption {
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  padding: 4px 8px;
  background-color: #f5f5f5;
}
.nb-voice-photo .red {
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  padding: 4px 8px;
  background-color: #cc1f1f;
  color: #fff;
}
.nb-voice-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.nb-voice-photo .reds {
  display: block;
  width: 100%;
  height: auto;
  border-left: 5px solid #cc1f1f;
  border-right: 5px solid #cc1f1f;
  border-bottom: 5px solid #cc1f1f;
}
.nb-voice-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

/* SP */
@media (max-width: 768px) {
  .nb-price-inner,
  .nb-voice-inner {
    padding: 0 14px;
  }
  .nb-price-title,
  .nb-voice-title {
    font-size: 20px;
  }
  .nb-price-table th,
  .nb-price-table td {
    font-size: 13px;
    padding: 8px 6px;
  }
  .nb-voice-photos {
    flex-direction: column;
  }
  .nb-voice-text {
    font-size: 14px;
  }
}

/* =========================================
   対応エリア
========================================= */

.nb-area {
  background-color: #FFFCE9;
  background-image: url("../fuyouhin/images/area-map.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  padding: 80px 0 120px;
}
.nb-area2 {
  background-color: #FFFCE9;
  background-image: url("../fuyouhin/images/area-map.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  padding: 30px 0 60px;
}
.nb-area-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.nb-area-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 36px;
}
.nb-area-card {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  padding: 36px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(2px);
}
.nb-area-lead {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 700;
  color: #02A16C;
}
.nb-area-text {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.8;
  color: #222;
}
.nb-area-keywords {
  margin: 16px 0;
  color: #02A16C;
  font-weight: 700;
  font-size: 17px;
}
.nb-sp-only {
  display: none;
}

@media (max-width: 768px) {
  .nb-area,
  .nb-area2 {
    background-size: 200%;
    background-position: center 40px;
    padding: 40px 0 80px;
  }
  .nb-area-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .nb-area-card {
    padding: 20px 16px;
  }
  .nb-area-lead {
    font-size: 18px;
  }
  .nb-area-text,
  .nb-area-keywords {
    font-size: 14px;
  }
  .nb-sp-only {
    display: inline;
  }
}

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

.nb-footer {
  border-top: 4px solid #02A16C;
  background-color: #ffffff;
  padding: 32px 0 20px;
  font-size: 14px;
}
.nb-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 上段 */
.nb-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-bottom: 24px;
}

/* ロゴ＋住所 */
.nb-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nb-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nb-footer-logo img {
  height: 42px;
  width: auto;
}
.nb-footer-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #555;
}
.nb-footer-address {
  margin: 0;
  font-size: 13px;
  color: #555;
}

/* 電話＋メール */
.nb-footer-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nb-footer-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}
.nb-footer-tel-icon img {
  width: 28px;
  height: auto;
}
.nb-footer-tel-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nb-footer-tel-number {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}
.nb-footer-tel-number:hover {
  text-decoration: underline;
}
.nb-footer-mail-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #02A16C;
  border-radius: 16px;
  padding: 8px 16px;
  text-decoration: none;
  font-size: 13px;
  color: #02A16C;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.nb-footer-mail-btn img {
  width: 24px;
  height: auto;
}
.nb-footer-mail-btn:hover {
  background-color: #f4fffa;
}

/* フッターナビ */
.nb-footer-nav ul {
  list-style: none;
  padding: 16px 0 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 32px;
}
.nb-footer-nav a {
  font-size: 14px;
  color: #222;
  text-decoration: none;
}
.nb-footer-nav a:hover {
  text-decoration: underline;
}

/* コピーライト */
.nb-footer-copy {
  margin: 32px 0 0;
  text-align: center;
  font-size: 11px;
  color: #999;
}

/* SP フッター */
@media (max-width: 768px) {
  .nb-footer {
    padding: 24px 0 16px;
  }
  .nb-footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .nb-footer-logo img {
    height: 36px;
  }
  .nb-footer-logo-text {
    font-size: 18px;
  }
  .nb-footer-contact {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .nb-footer-tel {
    padding: 0;
  }
  .nb-footer-tel-number {
    font-size: 20px;
  }
  .nb-footer-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .nb-footer-nav li {
    width: 100%;
    border-top: 1px solid #f0f0f0;
  }
  .nb-footer-nav a {
    display: block;
    padding: 10px 0;
  }
}

/* =========================================
   TABLE / CONTACT など細かい共通
========================================= */

.profile-table tr {
  border-bottom: 1px solid #999999;
}
.profile-table th,
.profile-table td {
  padding: 2rem 0.5rem;
  vertical-align: top;
}
.profile-table th {
  text-align: left;
  font-weight: normal;
}

.contact-table tr {
  border-bottom: 2px solid #E5E7EB;
}
.contact-table th,
.contact-table td {
  padding: 2rem 0.5rem;
}
.contact-table th {
  text-align: left;
}

.contact-form input::placeholder {
  color: #1F2937;
}

.ima {
  background-color: #F9F9F6;
  padding: 40px;
  border-radius: 20px;
}
.sikaku {
  background: #FFFFFF;
  border: 1px solid #B9B9B9;
  padding: 4px 20px;
  font-size: 20px;
  margin-bottom: 20px;
  width: 240px;
}
.soto {
  margin-left: 9px;
  margin-bottom: 5px;
}

.f-contact {
  background: url(../images/f-contact-bg.png) no-repeat;
  background-size: 100% 100%;
  width: 196px;
  padding-left: 10px;
}

.fixedElement {
  background-color: rgba(255, 255, 255, 0.65);
  width: 100%;
  z-index: 100;
  top: 0;
  backdrop-filter: blur(20px);
}

.kenga {
  border: 2px solid #c9c9d0;
  padding: 40px 20px 10px;
  width: 83%;
  margin: 80px auto;
  border-radius: 15px;
}

.cen {
  text-align: center;
}

html {
  scroll-behavior: smooth;
}

.error-message {
  display: none;
}

/* 汎用ライン */
.y-line {
  border-bottom: solid 5px #f7e354;
}

.bg-green-300{
        background-color: rgb(0, 167, 111) !important ;

}



/* headercss開始 */




  /* nav underline like Fukuyosi */
  .nb-navlink{
    position: relative;
    padding: 6px 0;
    opacity: .92;
    transition: opacity .2s ease;
  }
  .nb-navlink:hover{ opacity: 1; }
  .nb-navlink::after{
    content:"";
    position:absolute;
    left:0; bottom:-6px;
    width:0; height:2px;
    background: rgba(255,255,255,.9);
    transition: width .25s ease;
  }
  .nb-navlink:hover::after{ width:100%; }



.header-hours-row{ transition: opacity .2s ease, max-height .2s ease, margin .2s ease; max-height: 40px; }





/* 通常時 */
.header-inner{
  padding-top: 12px;
  padding-bottom: 12px;
  transition: padding .3s ease;
}

/* スクロール後：高さを詰める */

/* 営業時間は消す */
#siteHeader.is-solid .header-hours-row{
  display: none;
}

/* ===== デフォルト（hero上：白文字） ===== */
#siteHeader {
  color: #fff;
}

#siteHeader a,
#siteHeader .nb-navlink {
  color: #fff;
}




/* 右上の営業時間（今 text-white/80 などが効いてても勝つ） */
#siteHeader.is-solid .header-hours {
  opacity: 1 !important;
}

/* ハンバーガーの線も黒に */
#siteHeader.is-solid #navToggle span {
  background-color: #0f172a !important;
}


/* ===== header solid mode: force dark on white background ===== */
#siteHeader.is-solid{
  background: rgba(255,255,255,.92) !important;
  border-bottom-color: rgba(15,23,42,.10) !important;
  color: #0f172a !important;
}



/* 営業時間（今 text-white/80 が直書きなので上書き必須） */
#siteHeader.is-solid .header-hours{
  color: rgba(15,23,42,.72) !important;
}

/* ハンバーガー（spanが bg-white 直書きなので上書き必須） */
#siteHeader.is-solid #navToggle span{
  background:#0f172a !important;
}




/* ===== 白背景時は強制的に黒 ===== */
#siteHeader.is-solid{
  background: rgba(255,255,255,.95) !important;
  color: #0f172a !important;
}

/* ナビ */
#siteHeader.is-solid .nb-navlink{
  color: #0f172a !important;
}

/* 電話番号 */
#siteHeader.is-solid .nb-tel-icon img{
  filter: none !important;
}


/* 営業時間 */
#siteHeader.is-solid .header-hours{
  color: #475569 !important;
}

/* ===== header 色設計（通常＝白文字 / is-solid＝黒文字） ===== */
#siteHeader{
  color:#fff;
}
#siteHeader .nb-navlink{ color: inherit; }
#siteHeader .header-burger-line{ background: currentColor; }



/* 営業時間 */
#siteHeader .header-hours{
  color: rgba(255,255,255,.8);
}
#siteHeader.is-solid .header-hours{
  color: #475569 !important;
}

/* is-solid（追随後＝白背景＆黒文字） */
#siteHeader.is-solid{
  background: rgba(255,255,255,.95) !important;
  border-color: rgba(15,23,42,.12) !important;
  color: #0f172a !important;
}

@layer components {
  /* ヒーロー表示中だけ縦を大きく */
  #siteHeader.is-hero .header-contact-btn {
    @apply py-4 text-base;
  }
}

/* 追随(=is-solid)になったら営業時間を消す */
#siteHeader.is-solid .header-hours{
  opacity: 0;
  transform: translateY(-6px);
  height: 0;
  margin-top: 0;
  overflow: hidden;
  pointer-events: none;
}

/* アニメーション */
.header-hours{
  transition: opacity .2s ease, transform .2s ease, height .2s ease, margin .2s ease;
}

/* =========================
   TOPページ（ヒーロー上）
========================= */

/* ナビ文字 */
.is-home #siteHeader nav a {
  color: #fff;
}

/* ロゴ横のテキストがあれば */
.is-home #siteHeader {
  color: #fff;
}



.is-home #siteHeader .header-hours {
  color: #fff !important;
  opacity: 0.9;
}

/* ハンバーガー */
.is-home #siteHeader #navToggle span {
  background-color: #fff;
}

/* TOPヒーロー上：文字を白に（Tailwindの text-black を上書き） */
.is-home #siteHeader.is-hero .text-black {
  color: #fff !important;
}

/* 電話アイコン（SVG/画像が黒系なら反転） */
.is-home .logo {
  filter: brightness(0) invert(1);
}



/* =========================
   Header color switch
   TOP(hero)=white / solid=black
========================= */

/* デフォルト（=下層・追随時）：黒 */
#siteHeader .nb-navlink { color:#111827; }
#siteHeader .header-hours { color:#111827; }
#siteHeader .nb-tel-icon img { filter:none !important; }

/* ハンバーガー線（HTMLで header-burger-line を付けてる前提） */
#siteHeader .header-burger-line { background:#111827; }
#siteHeader.is-home .header-burger-line { background:#ffffff; }

/* TOPのhero上だけ：白 */
#siteHeader.is-home .nb-navlink { color:#ffffff; }
#siteHeader.is-home .header-hours { color:#ffffff; }


/* =========================
   Header color switch
========================= */
/* ===== デフォルト：黒 ===== */
#siteHeader {
  color: #0f172a;
}



/* 電話番号 */
#siteHeader .header-tel-number {
  color: #0f172a;
}

/* ===== TOPの表示直後（追随前）だけ白 ===== */
body.is-home #siteHeader:not(.is-solid) {
  color: #fff;
}

/* ロゴ・電話アイコンを白化 */
body.is-home #siteHeader:not(.is-solid) .header-logo,
body.is-home #siteHeader:not(.is-solid) .nb-tel-icon img {
  filter: brightness(0) invert(1);
}

/* 電話番号を白 */
body.is-home #siteHeader:not(.is-solid) .header-tel-number {
  color: #fff;
}

/* ===== 追随時は必ず黒 ===== */
#siteHeader.is-solid {
  background: rgba(255,255,255,.95);
  border-bottom-color: rgba(15,23,42,.12);
  color: #0f172a;
}

/* ロゴ・電話アイコンは通常表示 */
#siteHeader.is-solid .header-logo,
#siteHeader.is-solid .nb-tel-icon img {
  filter: none;
}

/* 電話番号 */
#siteHeader.is-solid .header-tel-number {
  color: #0f172a;
}


/* =========================
   HEADER (final)
   default: dark
   top (body.is-home && not .is-solid): white
   solid: dark
========================= */

/* --- nav underline (共通) --- */
.nb-navlink{
  position: relative;
  padding: 6px 0;
  opacity: .92;
  transition: opacity .2s ease;
}
.nb-navlink:hover{ opacity: 1; }
.nb-navlink::after{
  content:"";
  position:absolute;
  left:0; bottom:-6px;
  width:0; height:2px;
  background: rgba(2,161,108,.9); /* デフォは緑 */
  transition: width .25s ease;
}
.nb-navlink:hover::after{ width:100%; }

/* --- default (下層・追随前の基本は黒) --- */
#siteHeader{
  color:#0f172a;
}

/* ナビは inherit で揃える */
#siteHeader .nb-navlink{ color: inherit; }

/* ハンバーガー線：HTML側が header-burger-line ならこれで統一 */
#siteHeader .header-burger-line{ background: currentColor; }

/* ロゴ・電話アイコンは通常表示（黒） */
#siteHeader .header-logo,
#siteHeader .nb-tel-icon img{
  filter:none;
}

/* 電話番号 */
#siteHeader .header-tel-number{ color:#0f172a; }

/* 営業時間 */
#siteHeader .header-hours{ color: rgba(15,23,42,.7); }

/* --- TOP（表示直後だけ白）--- */
body.is-home #siteHeader:not(.is-solid){
  color:#fff;
}
body.is-home #siteHeader:not(.is-solid) .nb-navlink::after{
  background: rgba(255,255,255,.9); /* TOPだけ白下線 */
}
body.is-home #siteHeader:not(.is-solid) .header-logo,
body.is-home #siteHeader:not(.is-solid) .nb-tel-icon img{
  filter: brightness(0) invert(1);
}
body.is-home #siteHeader:not(.is-solid) .header-tel-number{ color:#fff; }
body.is-home #siteHeader:not(.is-solid) .header-hours{ color: rgba(255,255,255,.85); }
body.is-home #siteHeader:not(.is-solid) #navToggle span{ background:#fff; }

/* --- 追随（必ず黒）--- */
#siteHeader.is-solid{
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(15,23,42,.12);
  color:#0f172a;
}
#siteHeader.is-solid .nb-navlink::after{ background: rgba(2,161,108,.9); }
#siteHeader.is-solid #navToggle span{ background:#0f172a; }
#siteHeader.is-solid .header-logo,
#siteHeader.is-solid .nb-tel-icon img{ filter:none; }
#siteHeader.is-solid .nb-navlink{ color:#0f172a; }
#siteHeader.is-solid .header-tel-number{ color:#0f172a; }
#siteHeader.is-solid .header-hours{ color: rgba(15,23,42,.7); }

/* --- 追随時：営業時間を消す（必要なら）--- */
#siteHeader.is-solid .header-hours-row{
  opacity: 0;
  max-height: 0;
  margin: 0;
  overflow: hidden;
}
.header-hours-row{
  transition: opacity .2s ease, max-height .2s ease, margin .2s ease;
  max-height: 40px;
}