/* ===============================
   共通スタイル
================================ */
body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  color: #4d5156;
  background-color: #fff;
  line-height: 1.5;
  font-weight: 200;
  letter-spacing: 0.05em;
}

* {
  box-sizing: border-box;
}


/* ===============================
   メインコンテンツの初期状態
================================ */

/* ===============================
   ヒーロー画像・テキスト
================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media screen and (max-width: 768px) {
  .hero {
    height: 30vh;
  }

  .hero-img {
    object-position: center top;
  }
}

/* テキストオーバーレイ */
.overlay-text {
  position: absolute;
  top: 12%;
  left: 10%;
  font-size: 3.5rem;
  color: #fff;
  font-weight: 300;
  text-align: left;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-shadow:
    0 4px 10px rgba(0, 0, 0, 0.3),
    0 8px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  animation: fadeIn 2s ease-out forwards;
}

@media screen and (max-width: 768px) {
  .overlay-text {
    font-size: 1.5rem;
    top: 15%;
    left: 8%;
    line-height: 1.3;
    letter-spacing: 0.15em;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    filter: blur(10px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
  }
}


/* ===============================
   ロゴキャプション
================================ */
.logo-caption {
  text-align: center;
  padding: 40px 20px;
}

.logo-caption img[src$="rklwan_logo.jpg"] {
  width: 50%;
  max-width: 170px;
  height: auto;
  display: block;
  margin: 0 auto 30px;
}

.logo-caption p {
  font-size: 1rem;
  line-height: 2.5;
  margin: 0 auto;
  max-width: 600px;
}

@media screen and (max-width: 768px) {
  .logo-caption img[src$="rklwan_logo.jpg"] {
    width: 40%;
    margin: 0 auto 10px;
  }

  .logo-caption p {
    font-size: 0.875rem;
  }
}


/* ===============================
   セクション見出し（共通）
================================ */
h2.section-lead,
h3.section-lead,
h4.section-lead {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 500;
}

h2.section-lead {
  font-size: 1.9rem;
  font-weight: 400;
  margin: 40px 0 20px;
}

h3.section-lead {
  font-size: 1.7rem;
  margin: 40px 0 20px;
}

h4.section-lead {
  font-size: 1.6rem;
  margin: 60px 0 20px;
}

@media screen and (max-width: 768px) {
  h2.section-lead {
    font-size: 1.25rem;
    margin: 0 0 10px;
  }

  h3.section-lead {
    font-size: 1.25rem;
    margin: 0 0 10px;
  }

  h4.section-lead {
    font-size: 1.125rem;
    margin: 0 0 10px;
  }
}


/* ===============================
   セクション全体
================================ */
section {
  padding: 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

section.show {
  opacity: 1;
  transform: translateY(0);
}


/* ===============================
   フル幅画像
================================ */
img.full-width-img {
  width: 100%;
  display: block;
  border-radius: 0;
  margin-bottom: 10px;
}

/* ===============================
   ベージュ背景・メリットセクション
================================ */
.beige-wrapper {
  background-color: #f9f5ef;
}

.beige-section {
  text-align: center;
}

.merit-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.merit-title span {
  display: block;
  font-size: 1.2rem;
  margin-top: 8px;
}

.merit-text {
  font-size: 1rem;
  line-height: 2.3;
}

@media screen and (max-width: 768px) {
  .merit-title {
    font-size: 1.125rem;
    margin: 0;
  }

  .merit-text {
    font-size: 0.875rem !important;
  }
}


/* ===============================
   CTAボタン
================================ */
.cta-button {
  display: inline-block;
  background-color: #f3bbb5;
  color: #fff;
  padding: 12px 25px;
  font-size: 1rem;
  text-decoration: none;
  margin: 30px auto 50px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button:hover,
.cta-button:focus {
  background-color: #e79e96;
  outline: none;
}


/* ===============================
   クーポンモーダル
================================ */
#coupon-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.5s ease;
}

#coupon-modal.visible {
  opacity: 1;
  visibility: visible;
}

.coupon-content {
  background: #fff;
  padding: 40px;
  max-width: 90%;
  width: 500px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(30px);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#coupon-modal.visible .coupon-content {
  opacity: 1;
  transform: translateY(0);
}

.coupon-content button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

.coupon-content button:focus {
  outline: 2px solid #3498db;
  outline-offset: 2px;
}

.coupon-content .coupon-code {
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 10px;
}

.highlight-off {
  color: #e74c3c;
  font-weight: bold;
}

.highlight-code {
  color: #3498db;
  font-weight: bold;
}


/* ===============================
   キャッチコピー・横スライド
================================ */

.catch-text {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: #4d5156;
  line-height: 2.5;
  text-align: center;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.catch-text.in-view {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 480px) {
  .catch-text {
    transform: translateX(-20px);
  }
}


/* ===============================
   モニターの声（VOICE）
================================ */
.monitor-voice {
  background-color: #f8f5ef;
  padding: 40px 20px;
  text-align: center;
}

.voice-heading-en {
  font-size: 36px;
  font-weight: bold;
  color: #555;
  margin-bottom: 8px;
}

.voice-subtitle {
  font-size: 1.1rem;
  color: #777;
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.monitor-subtext {
  font-size: 12px;
  color: #777;
  margin: 10px auto 30px;
  max-width: 600px;
  text-align: center;
  line-height: 1.4;
}


/* ===============================
   ボイスカード（大・横並び）
================================ */
.voice-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto 60px;
  padding: 20px;
  border-radius: 10px;
  background-color: #f9f9f9;
}

.voice-card.left-image {
  flex-direction: row;
}

.voice-card.left-image .voice-image {
  order: 0;
}

.voice-image {
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.voice-image img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 8px;
}

.voice-name {
  display: block;
  margin-top: 8px;
  font-weight: bold;
  font-size: 1rem;
  color: #555;
  text-align: center;
}

.voice-image::after {
  content: none;
}

/* ===============================
   ボイスカード（小・縦並び）
================================ */
.voice-card.small-vertical {
  flex-direction: column !important;
  align-items: center;
  max-width: 400px;
  padding: 15px;
}

.voice-card.small-vertical .voice-image img {
  max-width: 150px;
  height: auto;
}

.voice-card.small-vertical .voice-text {
  font-size: 0.9rem;
  line-height: 1.6;
}

@media screen and (max-width: 600px) {
  .voice-card.small-vertical {
    max-width: 100%;
    padding: 10px 20px;
    margin: 0px auto 50px;
  }

  .voice-card.small-vertical .voice-image img {
    max-width: 180px;
  }

  .voice-card.small-vertical .voice-text {
    font-size: 16px;
  }
}



/* ===============================
   ボイスカードレイアウト（複数）
================================ */
.voice-cards-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto 20px;
}

.voice-cards-row .voice-card {
  flex: 1 1 30%;
  min-width: 240px;
  box-sizing: border-box;
}

.voice-card.small-vertical:nth-child(2),
.voice-card.small-vertical:nth-child(3),
.voice-card.small-vertical:nth-child(5),
.voice-card.small-vertical:nth-child(6) {
  margin-left: 30px;
}

/* スマホ用にリセット */
@media screen and (max-width: 768px) {

  .voice-card.small-vertical:nth-child(2),
  .voice-card.small-vertical:nth-child(3),
  .voice-card.small-vertical:nth-child(5),
  .voice-card.small-vertical:nth-child(6) {
    margin-left: 0;
  }
}

@media screen and (max-width: 768px) {
  .voice-cards-row {
    flex-direction: column;
  }

  .voice-cards-row .voice-card {
    flex: none;
    width: 100%;
    max-width: 100%;
  }
}

/* モニターの声のスマホ対応 */
@media screen and (max-width: 600px) {
  .monitor-voice {
    padding: 20px 40px;
  }

  .monitor-voice .section-lead {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .monitor-subtext {
    font-size: 0.75rem;
    margin: 5px auto 20px;
    max-width: 90%;
  }

  .voice-heading-en {
    font-size: 24px;
    margin-bottom: 6px;
  }

  .voice-subtitle {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .voice-card {
    flex-direction: column;
    max-width: 100%;
    margin: 0 auto 50px;
    padding: 15px;
    gap: 15px;
  }

  .voice-image {
    max-width: 100%;
    margin: 0 auto 12px;
  }

  @media screen and (max-width: 600px) {
    .voice-image img {
      width: 180px;
      height: 180px;
      object-fit: cover;
    }
  }

  .voice-text {
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
  }

  .voice-name {
    font-size: 0.9rem;
    margin-top: 6px;
  }

  .voice-cards-row {
    flex-direction: column;
  }
}



/* ===============================
   メインセクション段落
================================ */
main.wrapper section p {
  font-size: 1rem;
  line-height: 2.5;
  margin: 20px auto;
  max-width: 600px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  main.wrapper section p {
    line-height: 2;
  }
}


/* ===============================
   フッター
================================ */
footer {
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* ===============================
   スマホ専用表示
================================ */
.sp-only {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp-only {
    display: inline;
  }
}


/* ===============================
   ブログ調整
================================ */
@media (max-width: 768px) {
  .blog {
    margin-top: 30px;
  }
}