/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo,
    sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.header {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: #08956C;
  text-decoration: none;
  transition: opacity 0.3s;
}

.logo:hover {
  opacity: 0.8;
}

/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  transition: all 0.3s;
  border-radius: 2px;
}

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

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

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

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.nav a:hover {
  color: #08956C;
}

/* ======================================================
   HERO SLIDER BASE
   ------------------------------------------------------
   - PC / SP 共通
   - 背景画像 or カラーパネル
   - テキストセンター配置
====================================================== */

.hero-slider {
  position: relative;
  width: 100%;
  height: 86vh;
  min-height: 520px;
  overflow: hidden;
}


/* ----------- スライド個別 ----------- */
.bg-heya01,
.bg-heya02 {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* ================================
   画像スライド文字 じわ?っと発色
================================ */
.bg-heya01 .hero-title,
.bg-heya02 .hero-title,
.bg-heya01 .hero-subtitle,
.bg-heya02 .hero-subtitle {
  color: rgba(255,255,255,0);                     /* 最初は透明 */
  text-shadow: 0 0 20px rgba(0,0,0,0.6);           /* ぼんやり影 */
  transition: color 2.2s ease-out, text-shadow 2.2s ease-out; /* ← ゆっくり */
  transition-delay: 0.4s;                          /* ← 少し間を置く */
}
.bg-heya01,
.bg-heya02 {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* スライドが active になったときに発動 */
.hero-slide.active .hero-title,
.hero-slide.active .hero-subtitle {
  color: rgba(255,255,255,1);                      /* はっきり白に */
  text-shadow: 0 3px 6px rgba(0,0,0,0.45);         /* 通常の影 */
}

.hero-slide {
  position: absolute;     /* ← ここを relative から absolute にする */
  inset: 0;               /* top:0, left:0, width/height100% */
  width: 100%;
  height: 86vh;
  min-height: 520px;

  display: block !important;
  opacity: 0;
  visibility: hidden;     /* ここも必須（クリック対策） */
  transition: opacity 0.8s ease-in-out, visibility 0.8s;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ----------- 1枚目（背景カラー仕様） ----------- */
.hero-slide:first-child {
  background: #08956C;
}
.hero-slide:first-child::after {
  background: none;       /* 暗いフィルターなし */
}
/* 画像なし（グリーン背景）のスライド専用 */
.hero-slide.no-image {
  background: #08956C !important;
}

.hero-slide.no-image::after {
  background: none !important;
}
.hero-image-slide {
  background-size: cover;
  background-position: center center;
	  background-repeat: no-repeat !important;
}
/* 画像トリミング位置を固定する */
.bg-heya01 {
  background-position: center -60%;
}

.bg-heya02 {
  background-position: center center;
}
/* ----------- 背景を暗くするフィルター ----------- */
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;

}

/* ----------- 表示状態（JSで付与） ----------- */
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;   /* 必ず前に表示 */
}

/* ----------- テキスト位置（中央） ----------- */
.hero-slide .container {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1200px;

  text-align: center;
  z-index: 2;
}

/* ======================================================
   HERO TEXT STYLE
====================================================== */

.hero {
  background: none;              /* 旧レイアウト無効化 */
  padding: 0;                    /* スライダー専用化 */
  text-align: center;
}

/* キャンペーンタグ（任意利用） */
.campaign-badge {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 20px;

  background-color: #fff;
  color: #08956C;

  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
}

/* タイトル・サブタイトル */
.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 32px;
}

/* 価格表示（利用時のみ適用） */
.hero-price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}
/* ===============================
   画像スライダーのトリミング固定
   PC/SP 共通で中央表示
================================= */
/* ===== 画像トリミング位置 固定 ===== */
.hero-image-slide {
  background-size: cover;
  background-position: center center !important;
}

/* heya01（全画面でズレない） */
.bg-heya01 {
  background-position: center center !important;
}

/* heya02（変更不要だけど念のため保持） */
.bg-heya02 {
  background-position: center center !important;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 34px;
  color: #fff;
  background: rgba(0,0,0,0.35);
  border: none;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 6px;
  z-index: 5;
  transition: 0.25s;
}

.slider-prev { left: 16px; }
.slider-next { right: 16px; }

.slider-arrow:hover {
  background: rgba(0,0,0,0.55);
  transform: translateY(-50%) scale(1.06);
}

.price-label {
  font-size: 16px;
  color: #fff;
}

.price-main {
  font-size: 56px;
  font-weight: bold;
  color: #fff;
}

.price-sub {
  font-size: 18px;
  color: #fff;
}

.hero-description {
  font-size: 18px;
  color: #fff;
  margin-bottom: 40px;
  line-height: 1.8;
}

.cta-button-top {
  display: inline-block;
  background-color: #fff;
  color: #08956C;
  padding: 16px 48px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
}

.cta-button-top:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
}

.cta-button {
  display: inline-block;
  background-color: #08956C;
  color: #fff;
  padding: 16px 48px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
  background-color: #ffd28a;
  transform: translateY(-2px);
}

.cta-button-large {
  padding: 20px 64px;
  font-size: 20px;
}

/* Section Styles */
.section {
  padding: 80px 20px;
}

.section:nth-child(even) {
  background-color: #f9f9f9;
}

.section-icon {
  font-size: 48px;
  text-align: center;
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  color: #333;
  margin-bottom: 48px;
}

/* Overview */
.overview-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
}

.overview-content p {
  margin-bottom: 24px;
}

.highlight-box {
  background-color: #fff;
  border: 2px solid #08956C;
  border-radius: 8px;
  padding: 32px;
  margin: 32px 0;
}

.highlight-title {
  font-size: 20px;
  font-weight: bold;
  color: #08956C;
  margin-bottom: 16px;
}

/* Flow */
.flow-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.pc-none{
	display: none;
}


@media (min-width: 768px) {
  .flow-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.flow-step {
  background-color: #fff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: #08956C;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  margin: 0 auto 24px;
}

.step-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 16px;
  line-height: 1.4;
}

.step-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Warranty */
.warranty-table {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(to bottom, #ffffff, #fafafa);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(8, 149, 108, 0.08);
  border: 1px solid rgba(8, 149, 108, 0.1);
}

.warranty-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
}

.warranty-row:hover {
  background-color: rgba(8, 149, 108, 0.02);
  transform: translateX(4px);
}

.warranty-row:hover::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #08956C, #06745A);
}

/*  */
.warranty-row:nth-child(even) {
  background-color: rgba(249, 249, 249, 0.5);
}

.warranty-row:nth-child(even):hover {
  background-color: rgba(8, 149, 108, 0.03);
}

.warranty-note {
  max-width: 900px;
  margin-top: 24px;
  margin-left: auto;
  margin-right: auto;
  padding: 16px 20px;
  font-size: 0.9em;
  color: #666;
  line-height: 1.7;
  background-color: #f8f8f8;
  border-radius: 8px;
  border-left: 4px solid #08956C;
}

.warranty-row:last-child {
  border-bottom: none;
}

.warranty-label {
  background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
  padding: 24px 20px;
  font-weight: 700;
  font-size: 15px;
  color: #08956C;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-start;
  letter-spacing: 0.3px;
}

/*  */
.warranty-row:nth-child(even) .warranty-label {
  background: linear-gradient(135deg, #ececec, #e5e5e5);
}

.warranty-value {
  padding: 24px 32px;
  color: #555;
  line-height: 1.9;
  font-size: 15px;
}

/* */
.warranty-value ul, 
.warranty-value ul li {
    float: none !important;
    clear: both !important;
}


.warranty-value ul {
    table-layout: auto !important;
    display: block !important;
    width: auto !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.warranty-value ul li {
  margin-bottom: 8px;
  position: relative;
}

.warranty-value ul li::marker {
  color: #08956C;
}

/* */
.warranty-value a {
  color: #08956C;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(8, 149, 108, 0.3);
  transition: all 0.2s ease;
  padding-bottom: 1px;
}

.warranty-value a:hover {
  border-bottom-color: #08956C;
  color: #06745A;
}

/*  */
.warranty-value p {
  margin-bottom: 14px;
}

.warranty-value p:last-child {
  margin-bottom: 0;
}

/* */
.warranty-value strong {
  color: #222;
  font-weight: 700;
  background: linear-gradient(to right, rgba(8, 149, 108, 0.08), transparent);
  padding: 2px 6px;
  border-radius: 3px;
}
.warranty-note-small {
 display: block;            /*  u   b N     ?  ? ?       */
  font-size: 11px;
  line-height: 1.2;
  color: #777;
  margin: 2px 0 0;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-title {
  font-size: 20px;
  font-weight: bold;
  color: #08956C;
  margin-bottom: 16px;
}

.feature-description {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

/* FAQ */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

/* FAQ */
.faq-item {
  background: linear-gradient(to bottom, #ffffff, #fafafa);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(8, 149, 108, 0.08);
  border: 1px solid rgba(8, 149, 108, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

/*  */
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(8, 149, 108, 0.12);
}

.faq-item:hover::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #08956C, #06745A);
}

/* */
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 24px 28px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.faq-question:hover {
  color: #08956C;
  background-color: rgba(8, 149, 108, 0.02);
}

/* */
.faq-icon {
  font-size: 28px;
  font-weight: 300;
  color: #08956C;
  transition: transform 0.3s ease;
  min-width: 28px;
  text-align: center;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: rgba(249, 249, 249, 0.5);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.faq-answer p {
  padding: 24px 28px;
  color: #555;
  line-height: 1.9;
  font-size: 15px;
}

/*  */
.faq-item.active {
  background: linear-gradient(to bottom, #ffffff, #f8f8f8);
  box-shadow: 0 6px 24px rgba(8, 149, 108, 0.12);
}

.faq-item.active .faq-answer {
  max-height: 600px;
}

.faq-item.active .faq-question {
  color: #08956C;
}

/*  */
.faq-answer .warranty-value {
  font-weight: 700;
  color: #222;
  background: linear-gradient(to right, rgba(8, 149, 108, 0.08), transparent);
  padding: 2px 6px;
  border-radius: 3px;
}

/* Summary */
.summary-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.summary-catchphrase {
  font-size: 32px;
  font-weight: bold;
  color: #08956C;
  margin-bottom: 32px;
}

.summary-content p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 24px;
}

.summary-closing {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 40px !important;
}

/* Footer */
.footer {
  background-color: #333;
  color: #fff;
  padding: 32px 20px;
  text-align: center;
}

.footer p {
  font-size: 14px;
}


/* Responsive Design */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  .nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    padding: 16px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 16px;
  }

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

  .bg-heya01 {
    background-position: center center !important;
  }
  .bg-heya02 {
    background-position: center center !important;
  }
  .hero-image-slide {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
  .hero-slide {
    height: 75vh; /* 画面いっぱいに近づける */
    min-height: 420px;
  }
  .hero-title {
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .hero-description {
    font-size: 15px;
    margin-bottom: 28px;
  }

  /*  */
  .hero-price {
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
  }

  .price-main {
    font-size: 36px;
  }

  .price-label {
    font-size: 14px;
  }

  .cta-button-top {
    padding: 12px 32px;
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .warranty-row {
    grid-template-columns: 1fr;
  }

  .warranty-row:hover {
    transform: none;
  }

  .warranty-label {
    border-right: none;
    border-bottom: 2px solid rgba(8, 149, 108, 0.2);
    padding: 18px 20px;
    background: linear-gradient(to right, #f0f0f0, #f8f8f8);
  }

  /*  */
  .warranty-row:nth-child(even) .warranty-label {
    background: linear-gradient(to right, #e8e8e8, #f0f0f0);
  }

  .warranty-value {
    padding: 20px;
    font-size: 14px;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }
  .warranty-note-small {
    font-size: 10px;
    line-height: 1.5;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }

    /* スマ E?EAQの調整 */
  .faq-question {
    padding: 20px;
    font-size: 15px;

  }

  .faq-icon {
    font-size: 24px;
    min-width: 24px;
  }

  .faq-answer p {
    padding: 20px;
    font-size: 14px;
  }
	.staff-comment-inner {
    flex-direction: column;
    text-align: left;
  }
  .staff-comment-icon {
    text-align: center;
  }
  .staff-comment-icon img {
    margin-bottom: 10px;
  }
	 .hero {
    padding: 52px 16px;
  }

  .hero-title {
    font-size: 40px;     
    line-height: 1.4;
    margin-bottom: 18px;
  }

 
  .hero-price {
   display: block;   
    text-align: center;
  }
	 .hero-price > * {
   
    margin-bottom: 4px;
  }

  .price-main {
    font-size: 38px;
  }

  .price-label {
    font-size: 18px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.55;
    max-width: 90%;
    margin-bottom: 24px;
  }

  .cta-button-top {
    padding: 12px 28px;
    font-size: 15px;
  }
	.pc-none {
    display: inline;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }
  .price-main {
    font-size: 34px;
  }
  .hero-description {
    font-size: 14px;
  }
}
