@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/
    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* --------------------------------------------------
   Ogai LP Custom Styles (Standard Block Base)
   Colors:
     Primary: #00AFD1 (Cyan Blue)
     Secondary: #005BD1
     Text: #333333
     Bg-Light: #f4f8fa
-------------------------------------------------- */

:root {
  --ogai-primary: #00afd1;
  --ogai-secondary: #005bd1;
  --ogai-text: #333333;
  --ogai-bg-light: #f9fbfd;
  --ogai-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* 全体のフォント調整 */
.ogai-lp-wrapper {
  font-family: "Noto Sans JP", "Helvetica Neue", "Hiragino Kaku Gothic ProN",
    Meiryo, sans-serif;
  color: var(--ogai-text);
  line-height: 1.8;
}

/* ユーティリティ */
.u-text-center {
  text-align: center;
}
.has-ogai-primary-color {
  color: var(--ogai-primary) !important;
}
.has-ogai-bg-light-background-color {
  background-color: var(--ogai-bg-light) !important;
}

/* ----------------------------------
   1. ヒーローセクション
---------------------------------- */
.ogai-hero-section {
  position: relative;
  background: linear-gradient(135deg, #02254b 0%, #00689b 100%) !important;
  color: #fff;
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}

.ogai-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem !important;
}

/* バッジスタイル */
.ogai-hero-badge {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ogai-secondary);
  font-size: 0.9rem;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: inline-block;
  margin: 5px;
}

/* SWELLボタンの上書き調整 */
.ogai-hero-btn-white .wp-block-button__link {
  background-color: #fff !important;
  color: var(--ogai-primary) !important;
  border-radius: 50px !important;
  font-weight: bold !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.ogai-hero-btn-outline .wp-block-button__link {
  background: transparent !important;
  border: 2px solid #fff !important;
  color: #fff !important;
  border-radius: 50px !important;
  font-weight: bold !important;
}

/* ----------------------------------
   2. セクション共通装飾
---------------------------------- */
.ogai-section-label {
  color: var(--ogai-primary);
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  display: block;
  margin-bottom: 0.5rem;
}

.ogai-section-heading {
  font-size: 2.2rem !important;
  font-weight: bold !important;
  text-align: center;
  margin-bottom: 3rem !important;
  position: relative;
  padding-bottom: 1rem;
}
.ogai-section-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--ogai-primary);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ----------------------------------
   3. 特徴カード (標準カラム + CSS)
---------------------------------- */
.ogai-feature-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--ogai-shadow);
  margin-bottom: 40px;
}

/* カラムの余白リセット */
.ogai-feature-card > .wp-block-columns {
  gap: 0 !important;
  margin-bottom: 0 !important;
}

.ogai-feature-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.ogai-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
  display: block;
}

.ogai-feature-heading {
  color: var(--ogai-primary);
  font-weight: bold;
  margin-bottom: 10px;
}

/* ----------------------------------
   4. 機能一覧 (標準カラム + CSS)
---------------------------------- */
.ogai-function-icon {
  width: 60px;
  height: 60px;
  background: #f0f9fb;
  color: var(--ogai-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
}
.ogai-function-icon .dashicons {
  font-size: 30px;
  width: 30px;
  height: 30px;
}

/* ----------------------------------
   5. ステップ (標準カラム + CSS)
---------------------------------- */
.ogai-step-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  height: 100%;
}
.ogai-step-num {
  display: inline-block;
  background: var(--ogai-primary);
  color: #fff;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.ogai-step-icon {
  font-size: 2.5rem;
  color: var(--ogai-secondary);
  margin: 10px 0;
}
.ogai-step-icon .dashicons {
  font-size: 40px;
  width: 40px;
  height: 40px;
}

/* ----------------------------------
   6. FAQ (標準Detailsブロック + CSS)
---------------------------------- */
/* 標準のDetailsブロックをカスタマイズ */
.ogai-faq-block .wp-block-details {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 0;
}

.ogai-faq-block .wp-block-details__summary {
  padding: 20px 20px 20px 50px;
  font-weight: bold;
  position: relative;
  list-style: none; /* 三角アイコンを消す */
  cursor: pointer;
}
.ogai-faq-block .wp-block-details__summary::-webkit-details-marker {
  display: none;
}

/* Qマーク */
.ogai-faq-block .wp-block-details__summary::before {
  content: "Q";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ogai-primary);
  font-size: 1.2rem;
  font-weight: 900;
}

/* プラスアイコン */
.ogai-faq-block .wp-block-details__summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #ccc;
  font-size: 1.5rem;
  font-weight: 300;
}
.ogai-faq-block .wp-block-details[open] .wp-block-details__summary::after {
  content: "-";
}

.ogai-faq-content {
  padding: 0 20px 20px 50px;
  color: #666;
  border-top: none;
}

/* ----------------------------------
   7. フッターCTA
---------------------------------- */
.ogai-cta-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  height: 100%;
  border-top: 4px solid var(--ogai-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ogai-cta-box.contact {
  border-top-color: var(--ogai-secondary);
}
.ogai-cta-box-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
  font-family: sans-serif;
  color: #ccc;
  text-transform: uppercase;
}
