@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
*/

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

/* --------------------------------------------
   2. 見出しサイズ（レスポンシブ対応 clamp）
   -------------------------------------------- */
h2 {
  font-size: clamp(28px, 3.5vw, 45px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.2px;
  margin-bottom: 24px;
}

h3 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.2px;
}

h4 {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.4;
}

h5 {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  line-height: 1.4;
}

/* --------------------------------------------
   3. ページタイトル非表示（固定ページ用）
   ※ HTML上にはh1が残るのでSEOに影響なし
   -------------------------------------------- */
.l-mainContent .c-pageTitle {
  display: none;
}

.l-mainContent__inner > .post_content {
  margin-top: 0;
}

/* --------------------------------------------
   4. ヒーローセクション（カバーブロック利用）
   -------------------------------------------- */
.hero-section {
  min-height: 430px;
  padding: 160px 20px 56px;
  position: relative;
  overflow: hidden;
}

.hero-section h2 {
  font-size: clamp(32px, 4vw, 45px);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  letter-spacing: 0.2px;
  margin-bottom: 24px;
}

.hero-section p {
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  line-height: 1.8;
}

/* ヒーローセクション ボタン */
.hero-section .wp-block-button__link {
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 400;
}

/* 白抜きボタン */
.hero-btn-outline .wp-block-button__link {
  background-color: #fff;
  color: #151b1e;
  border: 2px solid #151b1e;
}

/* 塗りボタン */
.hero-btn-filled .wp-block-button__link {
  background-color: #151b1e;
  color: #fff;
  border: 2px solid #151b1e;
}

/* --------------------------------------------
   5. セクション見出し（英字サブタイトル付き）
   -------------------------------------------- */
.section-heading {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 32px;
}

/* --------------------------------------------
   6. フルワイド背景のみ半透明
   ※ 不透明度設定は子要素に影響するため rgba で対応
   -------------------------------------------- */
.fullwide-overlay-black {
  background-color: rgba(0, 0, 0, 0.5) !important;
}

.fullwide-overlay-white {
  background-color: rgba(255, 255, 255, 0.5) !important;
}

.fullwide-overlay-light {
  background-color: rgba(255, 255, 255, 0.7) !important;
}

.fullwide-overlay-dark {
  background-color: rgba(0, 0, 0, 0.7) !important;
}

/* --------------------------------------------
   7. ボックス横並びカードのGrid揃え（3カラム）
   ※ 画像・見出し・段落・ボタンのTOP位置を揃える
   -------------------------------------------- */
.card-grid-3 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-grid-3 > * {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
}

/* 2カラム版 */
.card-grid-2 {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card-grid-2 > * {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
}

/* スマホでは1カラムに */
@media (max-width: 599px) {
  .card-grid-3,
  .card-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* タブレットでは2カラムに */
@media (min-width: 600px) and (max-width: 959px) {
  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------
   8. カードのボックスシャドウ
   -------------------------------------------- */
.shadow-box {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
}

.shadow-box-hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.shadow-box-hover:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

/* --------------------------------------------
   9. 画像アスペクト比の強制（16:9）
   -------------------------------------------- */
.ratio-16-9 img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.ratio-4-3 img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.ratio-1-1 img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

/* --------------------------------------------
   10. サイドバーなしの1カラム余白調整
   -------------------------------------------- */
.page-template-default .l-mainContent {
  max-width: 1100px;
  margin: 0 auto;
}

/* --------------------------------------------
   11. ベースカラー定義（CSS変数）
   ※ サイトごとにここを変更するだけでカラー一括変更
   -------------------------------------------- */
:root {
  --color-primary: #151b1e;
  --color-text: #333;
  --color-text-light: #666;
  --color-bg: #fff;
  --color-bg-gray: #f5f5f5;
  --color-accent: #0066cc;
  --color-border: #e0e0e0;
}