@charset "UTF-8";

/* 既存のブレイクポイントがあればそのまま残す */
@media screen and (min-width: 540px) {}
@media screen and (min-width: 640px) {}
@media screen and (min-width: 782px) {}
@media screen and (min-width: 980px) {}

/* このLP（例：page-id-312）のパンくずとフッターを非表示 */
.page-id-24128 .breadcrumbs,
.page-id-24128 #scroll-to-top,
.page-id-24128 header,
.page-id-24128 footer {
  display: none;
}

/* =========================
   共通LPシェル 基本スタイル
========================= */

:root {
  /* LPごとにここだけ差し替えればOK（背景画像・アクセントカラー） */
  --clp-bg-image: url("https://g-house.osaka.jp/wp-content/uploads/2025/10/access-honsya_resized.jpg");
  --clp-accent-color: #6bbf72;
  --clp-text-color: #ffffff;
  --clp-base-font: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", Arial, sans-serif;
}

.clp-shell {
  position: relative;
  min-height: 100vh;
  color: var(--clp-text-color);
  font-family: var(--clp-base-font);
  background-color: #000;
  overflow: hidden;
}

/* 背景レイヤー */
.clp-bg-layer {
  position: fixed;
  inset: 0;
  background-image: var(--clp-bg-image);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.5);
  z-index: 0;
}
.clp-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

/* 中央メインコンテンツ（全幅） */
.clp-main {
  position: relative;
  z-index: 1;
  max-width: 586px;
  margin: 0 auto;
  box-sizing: border-box;
  background-color: #fff;
}

/* セクション共通 */
.clp-section {
  padding: 0;
}

/* 各セクションで使う内側ラッパー（幅＆左右paddingをここで調整） */
.main-section-inner {
  padding: 0 24px;
}

/* 必要なら白背景を外したパターンも作れる */
.main-section-inner--no-bg {
  background-color: transparent;
  color: var(--clp-text-color);
}

/* セクション内テキスト系 */
.clp-section__header {
  margin-bottom: 24px;
}
.clp-section__eyecatch {
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.clp-section__title-en {
  font-size: 24px;
  letter-spacing: 0.18em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.clp-section__title-ja {
  font-size: 16px;
  opacity: 0.85;
}
.clp-section__body {
  font-size: 14px;
  line-height: 2;
}
.main-section-inner-content {
  padding: 50px 24px;
}
.main-section-inner-content h2 {
  text-align: left;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.2;
}
.main-section-inner-content h2 span {
  font-family: 'Josefin Sans', sans-serif !important;
  display: block;
  font-size: 56px;
  text-transform: uppercase;
  font-weight: 400;
  text-indent: -5px;
}
.main-section-inner-content h1,
.main-section-inner-content h2,
.main-section-inner-content h3,
.main-section-inner-content h4,
.main-section-inner-content h5,
.main-section-inner-content p,
.main-section-inner-content span,
.main-section-inner-content ul li,
.main-section-inner-content table th,
.main-section-inner-content table td {
  color: #333;
}
.main-section-inner-content span.required {
  color: #fff;
}
/* 帯セクション例（背景暗くする） */
.clp-section--band {
  position: relative;
}
.clp-section--band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
}

/* HERO（全幅） */
.clp-section--hero {
}
.clp-hero-image {
  width: 100%;
  height: auto;
  display: block;
}
.clp-section--hero img {
  display: block !important;
}

/* 解決セクション */

/* 特徴セクション */

/* before afterセクション */
.fix-image {
  margin: 16px 0;
}
/* 施工の流れセクション */

/* FAQセクション */
.qa-1 {
    margin-bottom: 7px;
    border: 1px solid #d6dde3;
    border-radius: 0px;
}

.qa-1 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.qa-1 summary::before,
.qa-1 p::before {
    position: absolute;
    left: 1em;
    font-weight: 600;
    font-size: 1.3em;
}

.qa-1 summary::before {
    color: #0075c2;
    content: "Q";
}

.qa-1 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .5s;
}

.qa-1[open] summary::after {
    transform: rotate(225deg);
}

.qa-1 p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    color: #333;
    transition: transform .5s, opacity .5s;
}

.qa-1[open] p {
    transform: none;
    opacity: 1;
}

.qa-1 p::before {
    color: #ff8d8d;
    line-height: 1.2;
    content: "A";
}
/* 会社概要セクション */

/* 施工エリアセクション */

/* フォームセクション */




/* MOVIE */
.clp-movie-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.clp-movie-card {
  background: rgba(0, 0, 0, 0.85);
  padding: 16px;
  color: #fff;
}
.clp-movie-thumb {
  aspect-ratio: 16 / 9;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.clp-movie-title {
  margin-top: 8px;
  font-size: 13px;
}

/* CAMPAIGN */
.clp-campaign-date {
  font-weight: 600;
  margin-bottom: 16px;
}
.clp-campaign-btn-wrap {
  margin-top: 24px;
}
.clp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 999px;
  border: 1px solid var(--clp-accent-color);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  background: var(--clp-accent-color);
}
.clp-btn:hover {
  opacity: 0.9;
}

/* SUMMARY（長文） */
.clp-section--summary {
  background: rgba(0, 0, 0, 0.7);
}
.clp-summary-text {
  font-size: 13px;
  line-height: 2;
}
.clp-summary-text p {
  margin-bottom: 0;
}

/* =========================
   ナビ＆ロゴ
========================= */

/* ベース（PC/SP共通） */
.clp-menu {
  position: fixed;
  z-index: 20;
  color: #fff;
}
.clp-menu__pagetop {
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.clp-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.clp-menu__list a {
  color: #fff;
  text-decoration: none;
}
.clp-menu__list a span {
  display: block;
}

/* 右下ロゴ */
.clp-logo {
  position: fixed;
  right: 32px;
  bottom: 90px;
  z-index: 10;
}
.clp-logo img {
  display: block;
  max-width: 150px;
  height: auto;
}

/* =========================
   PCレイアウト（769px以上）
========================= */
@media (min-width: 769px) {
  .clp-menu {
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    text-align: right;
    font-size: 12px;
  }

  .clp-menu__pagetop {
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 14px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }

  .clp-menu__list li + li {
    margin-top: 6px;
  }

  .clp-menu__list a {
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 20px;
  }
  .clp-menu__list a span {
    font-size: 11px;
    opacity: 0.7;
  }

  /* PCではハンバーガー非表示 */
  .clp-menu__toggle {
    display: none;
  }
}
/* =========================
   SPレイアウト（〜768px）
========================= */
@media (max-width: 768px) {

  .clp-main {
    padding: 0px 0 0px;
  }

  .clp-section {
    padding: 0px 0;
  }

  .main-section-inner {
    max-width: 100%;
    padding: 24px 16px;
  }

  /* スマホでは PAGE TOP 非表示 */
  .clp-menu__pagetop {
    display: none !important;
  }

  /* スマホでは右下ロゴも非表示 */
  .clp-logo {
    display: none !important;
  }

  /* ▼ ハンバーガー本体（黒丸＋白3本線） ▼ */
  .clp-menu {
    position: fixed;
    top: 12px;
    right: 12px;
    left: auto;
    z-index: 30;
    padding: 0;
    background: transparent;
  }

  .clp-menu__toggle {
    position: relative;
    z-index: 31; /* オーバーレイより上に */
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.85);
    border: none;
    display: flex;
    flex-direction: column;       /* ★これがないと三本線が横に並ぶ */
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
  }

  .clp-menu__toggle-line {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .clp-menu__toggle-line + .clp-menu__toggle-line {
    margin-top: 4px;
  }

  /* 開いたときに × に変形 */
  .clp-menu.is-open .clp-menu__toggle-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .clp-menu.is-open .clp-menu__toggle-line:nth-child(2) {
    opacity: 0;
  }
  .clp-menu.is-open .clp-menu__toggle-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* ▼ メニュー本体：ふわっと出る全画面オーバーレイ ▼ */
  .clp-menu__list {
    position: fixed;
    inset: 0;
    z-index: 30;
    padding: 80px 24px 40px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .clp-menu.is-open .clp-menu__list {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .clp-menu__list li {
    text-align: center;
    padding: 4px 0;
  }

  .clp-menu__list a {
    font-size: 14px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .clp-menu__list a span {
    font-size: 11px;
    opacity: 0.7;
    display: block;
  }

  /* MOVIE グリッドは1列に */
  .clp-movie-grid {
    grid-template-columns: 1fr;
  }
  
}

@media (max-width: 768px) {

  /* ハンバーガーのホバー時：開いていてもいなくても同じ見た目にする */
  .clp-menu__toggle:hover,
  .clp-menu.is-open .clp-menu__toggle:hover {
    background: #000;
  }

  .clp-menu__toggle:hover .clp-menu__toggle-line,
  .clp-menu.is-open .clp-menu__toggle:hover .clp-menu__toggle-line {
    background: #fff;
  }
/* ▼閉じている時（黒背景 × 白線） */
.clp-menu__toggle {
  background: rgba(0,0,0,0.85);
}
.clp-menu__toggle-line {
  background: #fff; /* 白線 */
}

/* ホバーしても色が変わらないように固定 */
.clp-menu__toggle:hover {
  background: rgba(0,0,0,0.85) !important;
}


/* ▼開いている時（白背景 × 黒線） */
.clp-menu.is-open .clp-menu__toggle {
  background: #fff !important;
}
.clp-menu.is-open .clp-menu__toggle-line {
  background: #000 !important; /* ← ここが重要（黒線） */
}

/* 開いている時の hover も白のまま固定 */
.clp-menu.is-open .clp-menu__toggle:hover {
  background: #fff !important;
}



}

