body {
  font-family: 'Zen Maru Gothic', sans-serif;
}
html, body {
  overflow-x: hidden;
}

.content,
.qa-section,
.business-info,
.contact-section {
  display: block;
  width: auto;
  clear: both;
}

/* レイアウト崩れ防止 */
#landing {
  display: block;
  width: auto;
}

/* Astraテーマの影響を除去 */
.page-template-page-scroll-landing .site-content,
.page-template-page-scroll-landing .ast-container,
.page-template-page-scroll-landing .entry-content {
display: block;
  width: 100%;
  max-width: 100%;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;    
  margin-left: calc(50% - 50vw);
}

.hero-logo {
  position: fixed;
  bottom: 10%;
  right: 0;
  width: auto;
  max-width: 80vw;  /* 画面幅に応じて調整 */
  height: auto;
  display: block;
  z-index: 1;
opacity: 0.9;
}


.hero-bg {
  position: absolute;
  width: 100%;
  top: 80px;

  max-width: none; /* ← Astra対策 */
  object-fit: contain ; /* ← contain → cover に変更 */

  border-radius: 80px; /* 丸みをつける */
  
  border-radius: 40px;

-webkit-mask-image: radial-gradient(
  circle at center,
  rgba(0, 0, 0, 1) 35%,
  rgba(0, 0, 0, 0.5) 55%,
  rgba(0, 0, 0, 0.1) 70%,
  rgba(0, 0, 0, 0) 90%
);
mask-image: radial-gradient(
  circle at center,
  rgba(0, 0, 0, 1) 35%,
  rgba(0, 0, 0, 0.5) 55%,
  rgba(0, 0, 0, 0.1) 70%,
  rgba(0, 0, 0, 0) 90%
);
filter: blur(1px);

  opacity: 0;
  animation: fadeIn 5s ease forwards;
}

/* フェードイン */
@keyframes fadeIn {
  to { opacity: 1; }
}

.hero-logo.fixed {
  position: fixed;
  top: 0;
  bottom:  3%;
  right: 0;
  width: auto;
}



.block {
  min-height: 100vh; /* 画面いっぱいを最低高さとする */
  height: auto;      /* 内容に応じて伸縮 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 20px;
  box-sizing: border-box;
}


/* 初期状態（右に隠す） */
.subtitle,
.text,
.image {
  transform: translateX(100%);
  opacity: 0;
}

/* 見出し（h2）をスタイリッシュに */
h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase; /* 英字のみ有効 */
  color: #2c3e50;
  margin-bottom: 15px;
}

.b-red {
  color: #d60000;      /* 赤色 */
  font-weight: bold;   /* 太字 */
}

/* 表示状態 */
.show .subtitle {
  transform: translateX(0);
  opacity: 1;
  transition: 1s;

}

.show .text {
  transform: translateX(0);
  opacity: 1;
  transition: 3s;
}

.show .image {
  transform: translateX(0);
  opacity: 1;
  transition: 2s;
}

.h1{
 font-size: 72px; 
}
.subtitle {
  padding: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.text {
  background: #d4fcd8;
  padding: 32px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 400;
  line-height: 1.8;
}

.example {
  transform: translateX(100%);
  opacity: 0;
}
.show .example {
  transform: translateX(0);
  opacity: 1;
  transition: 2.5s;
}
.example {
  background: #f0fff4;
  padding: 20px;
  margin-top: 20px;
  border-radius: 10px;
}


.gonext {
  position: relative;      /* leftを有効にする */
  left: 50%;
  transform: translateX(50%); /* 画面右側へ待機 */
  opacity: 0;
  padding: 20px;
  font-size: 22px;
  text-align: center;
  width: fit-content;
}

/* 表示時：中央へ移動 */
.show .gonext {
  transform: translateX(-50%);
  opacity: 1;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.example li {
  margin-bottom: 10px;
  font-size: 16px;
}
.show .subtitle { transition-delay: 0s; }
.show .text { transition-delay: 2s; }
.show .image { transition-delay: 1s; }
.show .example { transition-delay: 3s; }
.show .gonext{ transition-delay: 4s; }

/* 電話ボタン */
.call-button {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);

  background: linear-gradient(135deg, #28a745, #6fdc8c);
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;

  padding: 14px 22px;
  border-radius: 50px;

  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  z-index: 1100;

  transition: all 0.3s ease;
}

/* ホバー時 */
.call-button:hover {
  background: linear-gradient(135deg, #218838, #57c87a);
  transform: translateY(-3px);
}

/* クリック時 */
.call-button:active {
  transform: translateY(0);
}

/* 事業所情報セクション */
.business-info {
  background: #f7fff9;
  padding: 80px 20px;
  text-align: center;
}

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

.business-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  margin-bottom: 30px;
  letter-spacing: 0.1em;
}

.business-list {
  text-align: left;
}

.business-list dt {
  font-weight: bold;
  border-left: 4px solid #86fd9e;
  padding-left: 10px;
  margin-top: 15px;
}

.business-list dd {
  margin: 5px 0 15px 0;
  padding-left: 14px;
}

.business-list a {
  color: #28a745;
  text-decoration: none;
  font-weight: bold;
}

.business-list a:hover {
  text-decoration: underline;
}

/* お問い合わせフォーム */
.contact-section {
  background: #f9fffb;
  padding: 80px 20px;
  text-align: center;
}

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

.contact-title {
  font-size: 22px;
  margin-bottom: 30px;
  letter-spacing: 0.1em;
}

.contact-form {
  text-align: left;
}

.contact-form label {
  font-weight: bold;
  margin-top: 15px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

.contact-button {
  margin-top: 20px;
  width: 100%;
  padding: 14px;
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-button:hover {
  background: #218838;
}

/* Q&Aセクション */
.qa-section {
  background: #f9fffb;
  padding: 80px 20px;
}

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

.qa-title {
  text-align: center;
  font-size: 22px;
  background: #e8fff0;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  font-family: 'Zen Maru Gothic', sans-serif;
}

/* 質問 */
.qa-question {
  width: 100%;
  background: #55ddff;
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 回答 */
.qa-answer {
  max-height: none;
  overflow: visible;
  padding: 20px;
  background: #ffbbbb;
  padding: 0 20px;
  border-radius: 8px;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

/* 開いた状態 */
.qa-item.active .qa-answer {
  max-height: 300px;
  padding: 15px 20px;
}

/* アイコン */
.qa-icon {
  font-size: 20px;
  transition: transform 0.3s;
}

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

/* スマホ対応 */
@media (max-width: 768px) {

 
body {
    font-size: 16px;
    line-height: 1.8;
  display: block;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 22px;
  }

  .subtitle {
    font-size: 24px;
  }

  .text {
    font-size: 18px;
  }

  .qa-title,
  .business-title,
  .contact-title {
    font-size: 18px;
  }

  .qa-question {
    font-size: 16px;
  }

/* Q&A回答全体 */
.qa-answer {
  max-height: none;
  overflow: visible;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  transition: max-height 0.45s ease, padding 0.3s ease;
}

.qa-item.active .qa-answer {
  max-height: 2000px;
  padding: 20px;
}

.qa-answer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 各小項目 */
.qa-subitem {
  background: #f8fff9;
  border: 1px solid #d8f0dc;
  border-radius: 12px;
  padding: 18px 18px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* 小見出し */
.qa-subtitle {
  margin: 0 0 12px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  color: #1f3b2d;
  border-left: 6px solid #53c66a;
  padding-left: 12px;
}

/* 本文 */
.qa-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.9;
  color: #333;
}

/* 強調 */
.qa-strong {
  font-weight: 700;
  color: #0d7a2f;
  background: linear-gradient(transparent 60%, #d8f6df 60%);
  padding: 0 2px;
}

/* 相談先など重要注記 */
.qa-note {
  margin: 12px 0 0;
  padding: 12px 14px;
  background: #fff8e8;
  border-left: 5px solid #f0b429;
  border-radius: 8px;
  font-size: 17px;
  line-height: 1.8;
  color: #5c4300;
}

.qa-point {
  font-weight: 700;
  color: #c62828;
}

/* 保険の区分 */
.qa-insurance {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}

.qa-insurance-item {
  background: #ffffff;
  border: 1px solid #e2ece3;
  border-radius: 10px;
  padding: 14px 16px;
}

.qa-label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  background: #53c66a;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
}

/* 利用開始までの流れ */
.qa-flow {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.qa-flow-step {
  width: 100%;
  max-width: 680px;
  background: #eaf9ee;
  border: 1px solid #cfe9d5;
  border-radius: 12px;
  padding: 14px 18px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  color: #234;
}

.qa-flow-step-last {
  background: #53c66a;
  color: #fff;
  border-color: #53c66a;
}

.qa-flow-arrow {
  font-size: 28px;
  font-weight: 700;
  color: #53c66a;
  line-height: 1;
}

/* 質問ボタン側も少し整える */
.qa-question {
  width: 100%;
  background: #e8fff0;
  border: 1px solid #cfeede;
  padding: 18px 20px;
  text-align: left;
  font-size: 22px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1f3b2d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .qa-item.active .qa-answer {
    padding: 14px;
  }

  .qa-answer-inner {
    gap: 16px;
  }

  .qa-subitem {
    padding: 14px 14px 12px;
  }

  .qa-question {
    font-size: 18px;
    padding: 14px 16px;
  }

  .qa-subtitle {
    font-size: 18px;
    padding-left: 10px;
    margin-bottom: 10px;
  }

  .qa-text {
    font-size: 16px;
    line-height: 1.8;
  }

  .qa-note {
    font-size: 15px;
    line-height: 1.7;
  }

  .qa-flow-step {
    font-size: 16px;
    padding: 12px 14px;
  }

  .qa-flow-arrow {
    font-size: 24px;
  }

  .qa-label {
    font-size: 13px;
  }
}
}