/*
Theme Name: OLTANA-002 Child
Version: 1.0.0
Template: oltana-002
Author: CROOVER inc.
Author URI: https://croover.co.jp
*/

/* メニュー表示を制御 */
span.ol-header__nav-anchor-subtitle {
  display: none !important;
}

/* Contact Form 7 カスタムデザイン */

/* フォーム全体 */
.wpcf7-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* 各項目を囲む段落のマージン調整（余白を最小限に） */
.wpcf7-form p {
  margin: 0 0 2px 0 !important;
  padding: 0 !important;
}

/* ラベル */
.wpcf7-form label {
  display: block;
  margin-bottom: 1px;
  font-size: 1rem;
  font-weight: 500;
  color: #ddd;
}

/* 入力欄（白背景・黒文字・罫線なし） */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  background-color: #fff;
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 0;
  font-size: 1rem;
  transition: background-color 0.3s;
}

/* フォーカス時のアウトライン */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: 2px solid #ffd700;
}

/* 送信ボタン */
.wpcf7-form input[type="submit"] {
  background-color: #ffd700 !important;
  color: #000 !important;
  border: none;
  border-radius: 8px;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 20px auto 0;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #e5c100 !important;
}

/* エラーメッセージ */
.wpcf7-not-valid-tip {
  color: #ff6666;
  font-size: 0.85rem;
  margin-top: 4px;
}

/* 成功・エラー通知 */
.wpcf7-response-output {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
}

.wpcf7-mail-sent-ok {
  background-color: #004400;
  color: #ccffcc;
  border: 1px solid #66ff66;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
  background-color: #440000;
  color: #ffcccc;
  border: 1px solid #ff6666;
}

/* 不要な罫線（白線）を除去 */
.wpcf7 p::after {
  display: none !important;
}

/* 記事コンテンツ上部余白の調整 */
.ol-article__inner.ol-header__thumbnail-adjust {
  padding-top: 32px !important;
}

/* Turnstile 表示位置（中央寄せ） */
div.cf-turnstile {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

/* Turnstile 内の iframe も中央寄せ */
div.cf-turnstile iframe {
  margin: 0 auto !important;
}

/* モバイル（スマホ）表示時はフォーム背景を透明に */
@media screen and (max-width: 768px) {
  .wpcf7-form {
    background-color: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    max-width: 100% !important;
    padding: 10px !important;
  }

  .wp-block-media-text__content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 !important;
  }
}

.register-section .ol-btn-large,
.register-section .ol-btn-medium {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100%;
  padding: 14px 0;
  font-size: 1rem;
  background-color: #ffd700;
  color: #000;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  box-sizing: border-box;
  text-align: center;
}

.register-section .ol-btn-large:hover,
.register-section .ol-btn-medium:hover {
  background-color: #e5c100;
}

.register-section .ol-block__button-microcopy1 {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 1rem;
  text-align: center;
  white-space: pre-wrap;
}

/* 会員登録デザイン調整 */
.register-section {
  padding: 3rem 1rem;
  background-color: #1a1a1a;
  color: #fff;
  text-align: center;
}

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

.register-heading {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: bold;
  color: #ffd700;
}

.register-columns {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.register-column {
  flex: 1 1 300px;
  background-color: #2a2a2a;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.register-microcopy {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 1rem;
  text-align: center;
}

.register-btn {
  display: inline-block;
  background-color: #ffd700;
  color: #000;
  padding: 12px 24px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.register-btn:hover {
  background-color: #e5c100;
}

@media screen and (max-width: 768px) {
  .register-columns {
    flex-direction: column;
    gap: 1.5rem;
  }

  .register-btn {
    width: 100%;
  }
}

/* フローセクションデザイン調整 */
.flow-section {
  padding: 3rem 1rem;
  background-color: #1a1a1a;
  text-align: center;
  color: #fff;
}

.flow-heading {
  margin-bottom: 2.5rem;
}

.flow-title {
  font-size: 2rem;
  font-weight: bold;
  color: #ffd700;
  margin-bottom: 0;
}

.flow-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.flow-card {
  background: #2a2a2a;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  border-left: 6px solid #ffd700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(255, 215, 0, 0.15);
}

.flow-step {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.flow-step-number {
  background-color: #ffd700;
  color: #000;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
  line-height: 44px;
  margin-right: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.flow-step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.flow-description {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.7;
}

@media screen and (max-width: 768px) {
  .flow-step {
    flex-wrap: wrap;
  }

  .flow-step-title {
    margin-top: 0.5rem;
  }

  .flow-card {
    padding: 1.5rem 1rem;
  }

  .flow-title {
    font-size: 1.6rem;
  }

  .flow-description {
    font-size: 0.95rem;
  }
}



/* FAQデザイン調整 */

.faq-section {
  background-color: #1a1a1a;
  padding: 3rem 1rem;
  color: #fff;
  text-align: center;
}

.faq-heading {
  margin-bottom: 2.5rem;
}

.faq-title {
  font-size: 2rem;
  font-weight: bold;
  color: #ffd700;
  margin: 0;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  background-color: #2a2a2a;
  border-left: 5px solid #ffd700;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: flex-start;
}

.faq-answer {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
}

.faq-label {
  color: #ffd700;
  font-weight: bold;
  margin-right: 0.6rem;
  min-width: 1.5em;
  display: inline-block;
}

@media screen and (max-width: 768px) {
  .faq-title {
    font-size: 1.6rem;
  }

  .faq-item {
    padding: 1.2rem;
  }

  .faq-question {
    font-size: 1rem;
  }

  .faq-answer {
    font-size: 0.95rem;
  }
}



/*CTAデザイン調整 */
.cta-section {
  background-color: #111;
  padding: 3rem 1rem;
  text-align: center;
  color: #fff;
}

.cta-heading {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #ffd700;
  font-weight: 600;
}

.cta-buttons {
  max-width: 600px;
  margin: 0 auto;
}

.cta-button {
  display: inline-block;
  background-color: #ffd700;
  color: #000;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
  margin-bottom: 1.5rem;
}

.cta-button:hover {
  background-color: #e5c100;
}

.cta-email {
  font-size: 1rem;
  color: #ccc;
  margin: 1.5rem 0 0.5rem;
  line-height: 1.6;
}

.cta-address {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  display: inline-block;
  margin-top: 0.3rem;
}

.cta-hours {
  font-size: 0.95rem;
  color: #aaa;
  margin-top: 1rem;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .cta-heading {
    font-size: 1rem;
  }

  .cta-button {
    width: 100%;
    font-size: 1rem;
    padding: 12px 20px;
  }

  .cta-address {
    font-size: 1.1rem;
  }
}

/* コンプアフィリが選ばれる3つの理由カードデザイン */

.reasons-section {
  padding: 4rem 1rem;
  background-color: #000; /* 黒背景 */
}

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

.reasons-heading {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #fff; /* 見出しを白に */
}

.reasons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.reason-card {
  background-color: #1a1a1a; /* ダークグレーでカードを浮かせる */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
  padding: 2rem;
  flex: 1 1 calc(33.333% - 1.5rem);
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.reason-card:hover {
  transform: translateY(-4px);
}

.reason-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #ffd700; /* アクセントカラー */
}

.reason-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd; /* 薄いグレーで読みやすく */
}

/* スマホ対応 */
@media (max-width: 768px) {
  .reasons-grid {
    flex-direction: column;
  }

  .reason-card {
    flex: 1 1 100%;
  }
}


