@charset "UTF-8";
/*
 * ======================================
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * ======================================
 *
 * .sunny-heading            - セクション見出し（heading component の値差分：EN clamp / JA 15px・字間0.18em）
 * .sunny-circle-btn         - ヘッダー右の丸アイコンボタン（38px・白枠・透過背景）
 * .header--sunny.is-scrolled - スクロール追従時の白帯ヘッダー（common.js が付与）
 * .sunny-nav-toggle / .sunny-sp-nav - SPハンバーガー（共通の .nav-toggle / .sp-nav の値差分・760px以下）
 * .sunny-mv                 - メインビュー（全画面写真 + 二重オーバーレイ + 中央テキスト）
 * .sunny-mv__veil / __scrim - MVの暗幕（面全体 rgba / 上部グラデーション）
 * .sunny-mv__catch / __sub  - MVキャッチ（英字）/ サブコピー（和文）
 * .sunny-news               - TOPお知らせ区画（見出し240px + リスト の2カラムgrid）
 * .blog-list--sunny         - blog-list の値差分（日付110px固定・区切り線色・非リンク行）
 * .sunny-news__body         - お知らせリストのスクロール枠（3件超で縦スクロール）
 * .sunny-strength           - 3つの強み（1px罫線で仕切るセル型グリッド）
 * .sunny-block              - TOP下部のコンテンツブロック（パネル + 写真の左右交互）
 * .sunny-more               - 下線型のテキストリンクボタン（左テキスト・右矢印の両端揃え）
 * .sunny-page-hero          - 下層ページヒーロー（背景写真 + veil + scrim + 中央英日）
 * .sunny-lead               - 下層ページのリード文区画
 * .sunny-service            - サービス一覧（写真 + 番号/英日見出し/本文/対応項目リスト）
 * .sunny-works              - 施工実績ギャラリー（カテゴリ見出し + 自動折返しグリッド + BEFORE/AFTERタグ）
 * .sunny-msg                - 代表挨拶（縦長写真 + テキスト）
 * .sunny-ov                 - 会社概要の定義リスト（dt 200px 固定のgrid行）
 * .sunny-notice / .sunny-privacy - 注意書きボックス（mbox の値差分）
 * .sunny-contact / .sunny-form / .sunny-submit - お問い合わせフォーム
 * .submit-btn / .required   - CMSフォーム（form-pattern-1）の上書き（!important）
 * .sunny-thanks             - 送信完了ページ（thanks.php）
 * .sunny-contact-band       - 全ページ共通のお問い合わせCTA帯
 * .sunny-footer             - フッター（左：情報／右：地図 の2カラムgrid）
 * .sunny-fade               - スクロールイン時のフェードアップ（JSで .is-inview 付与）
 *
 * ======================================
 * 共通SCSSに不足していたもの
 * ======================================
 *
 * ■ 値の粒度不足
 *   - clamp() ベースの流動フォントサイズ（fz-* は固定px刻みのみ）。
 *     MV・セクション英字見出し・ブロック英字見出しで必要。
 *   - line-height 2.05 / 2.15 / 1.95、letter-spacing 0.12em / 0.14em / 0.24em 等の中間値。
 *   - ページ固有の余白（88px / 96px / 104px / 72px）。section は 120/60 の2択のみ。
 *
 * ■ 指定方向不足
 *   - grid のカラム幅を実寸で指定する手段（240px + 1fr、110px + 1fr、200px + 1fr）。
 *     grid-2/3/4 は等幅のみ。
 *   - grid の gap を 1px にして罫線セルを作るパターン（gap-* は 5px 刻みから）。
 *
 * ■ 状態不足
 *   - 現在ページのナビ下線を「フル幅の白バー」にする指定（header__nav-item--current は
 *     20px 幅の base_color 固定）。
 *
 * ■ 構造不足
 *   - ヘッダーをヒーローに重ねる透過オーバーレイ型（header-sticky は JS 前提、
 *     header-bar は白背景固定）。ロゴをヘッダー枠外に絶対配置するパターンも不足。
 *   - SPでハンバーガーを使わずナビを常時表示する指定（header__nav は 1100px 以下で非表示固定）。
 *   - 「左テキスト＋右矢印」を両端揃えにした下線型リンク（btn 系は中央揃えの枠線ボタンのみ）。
 *   - 会社概要の dt/dd を grid 行で組む定義リスト（table 系 or dl-timeline のみ）。
 *
 * ■ 装飾パターン不足
 *   - 写真上の二重オーバーレイ（面全体の veil + 上部グラデーションの scrim）。
 *     page-hero__overlay は単色 or 単一グラデーションのみ。
 *   - BEFORE / AFTER の角押さえタグ。
 *
 */

/* ==========================================================================
   0. サイト共通トークン（claude-design-output/css/style.css :root の実数値）
   ========================================================================== */
:root {
  --sunny-main: #5E5E3C;
  --sunny-main-h: #736E46;
  --sunny-ink: #2B2B24;
  --sunny-sub: #5C5C51;
  --sunny-muted: #9A9887;
  --sunny-line: #E6E5DC;
  --sunny-panel: #F7F7F2;
  --sunny-border-img: #E1DFD4;
  --sunny-en: "Encode Sans SC", sans-serif;
}

/* .wrap（= container）: max-width 1200px / padding 0 24px */
.container {
  max-width: 1200px;
  padding-left: 24px;
  padding-right: 24px;
}

/* セクション見出し（sec-en / sec-ja） */
.sunny-heading .heading__en {
  display: block;
  font-family: var(--sunny-en);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 42px);
  letter-spacing: 0.12em;
  color: var(--sunny-main);
  line-height: 1.1;
}
.sunny-heading .heading__ja {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 12px;
  letter-spacing: 0.18em;
  color: var(--sunny-sub);
}
.sunny-heading--sm .heading__en {
  font-size: clamp(26px, 3vw, 34px);
}

/* 下線型テキストリンク（more） */
.sunny-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(300px, 100%);
  margin: 44px 0 0;
  padding: 0 4px 14px;
  border-bottom: 1px solid #A9A794;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: var(--sunny-ink);
  transition: all 0.3s ease;
}
.sunny-more i {
  font-size: 1.1rem;
  color: var(--sunny-main);
  transition: transform 0.3s ease;
}
.sunny-more:hover {
  border-bottom-color: var(--sunny-main);
  color: var(--sunny-main);
  opacity: 1;
}
.sunny-more:hover i {
  transform: translateX(4px);
}
.sunny-more--wide {
  width: min(340px, 100%);
  margin-top: 40px;
}

/* スクロールインのフェードアップ（控えめ） */
.sunny-fade {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.sunny-fade.is-inview {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   1. ヘッダー（ヒーローに重ねる透過型／SPもナビ常時表示）
   ========================================================================== */
.header--sunny {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
  z-index: 40;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.header__logo--sunny {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 50;
  display: block;
}
.header__logo--sunny img {
  width: 132px;
  height: 132px;
  object-fit: contain;
  transition: width 0.3s ease, height 0.3s ease;
}
.header--sunny .header__inner {
  max-width: 100%;
  height: auto;
  min-height: 64px;
  padding: 18px 32px 18px 180px;
  justify-content: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.header--sunny .header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
}
.header--sunny .header__nav-item a {
  padding: 8px 14px;
  gap: 4px;
  text-shadow: 0 1px 8px rgba(20, 20, 12, 0.45);
}
/* 共通のホバー下線をバー（現在ページ表示）として使う */
.header--sunny .header__nav-item a::after {
  position: static;
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 2px;
  background: transparent;
  transition: none;
}
.header--sunny .header__nav-item a:hover::after {
  width: 100%;
  left: auto;
}
.header--sunny .header__nav-item--current a::after {
  width: 100%;
  background: #fff;
  transform: none;
}
.header--sunny .header__nav-en {
  font-family: var(--sunny-en);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1;
}
.header--sunny .header__nav-ja {
  font-size: 1.3rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
  margin-top: 0;
}
.sunny-circle-btn {
  width: 38px;
  height: 38px;
  margin-left: 6px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  transition: all 0.3s ease;
}
.sunny-circle-btn:hover {
  border-color: #fff;
  color: #fff;
  opacity: 1;
}

/* --------------------------------------------------------------------------
   スクロール追従時（common.js が .is-scrolled を付与）
   ヒーローを抜けたら白帯＋濃色文字に切り替える
   -------------------------------------------------------------------------- */
.header--sunny.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--sunny-line);
  box-shadow: 0 2px 12px rgba(20, 20, 12, 0.06);
}
.header--sunny.is-scrolled .header__inner {
  padding: 12px 32px 12px 118px;
}
.header--sunny.is-scrolled .header__logo--sunny {
  top: 8px;
  left: 16px;
}
.header--sunny.is-scrolled .header__logo--sunny img {
  width: 78px;
  height: 78px;
}
.header--sunny.is-scrolled .header__nav-item a {
  text-shadow: none;
}
.header--sunny.is-scrolled .header__nav-en {
  color: var(--sunny-muted);
}
.header--sunny.is-scrolled .header__nav-ja {
  color: var(--sunny-ink);
}
.header--sunny.is-scrolled .header__nav-item a:hover .header__nav-ja {
  color: var(--sunny-main);
}
.header--sunny.is-scrolled .header__nav-item--current a::after {
  background: var(--sunny-main);
}
.header--sunny.is-scrolled .sunny-circle-btn {
  border-color: var(--sunny-line);
  color: var(--sunny-main);
}
.header--sunny.is-scrolled .sunny-circle-btn:hover {
  border-color: var(--sunny-main);
  color: var(--sunny-main);
}

/* --------------------------------------------------------------------------
   ハンバーガーメニュー（SPのみ）
   共通CSSの .nav-toggle / .sp-nav を使い、表示切替を760px以下に寄せる
   -------------------------------------------------------------------------- */
.nav-toggle {
  display: none; /* 共通CSSの1100px以下表示を打ち消し、760px以下でのみ出す */
}
.sunny-nav-toggle {
  top: 10px;
  right: 10px;
  width: 46px;
  height: 46px;
  background: transparent;
  backdrop-filter: none;
  border: 0;
  transition: none;
}
.sunny-nav-toggle .nav-toggle__line {
  width: 22px;
  background: #fff;
  box-shadow: 0 1px 6px rgba(20, 20, 12, 0.45);
}
/* スクロールして白帯になったら線を濃色に（common.js が is-scrolled を付与） */
.sunny-nav-toggle.is-scrolled .nav-toggle__line {
  background: var(--sunny-ink);
  box-shadow: none;
}
/* メニュー展開中は濃色背景のため常に白線 */
.sunny-nav-toggle.is-active .nav-toggle__line,
.sunny-nav-toggle.is-active.is-scrolled .nav-toggle__line {
  background: #fff;
  box-shadow: none;
}
.sunny-sp-nav {
  display: none; /* 760px以下でのみ flex に戻す */
  background: linear-gradient(135deg, rgba(94, 94, 60, 0.97), rgba(26, 26, 18, 0.98));
  padding: 92px 28px 40px;
}
.sunny-sp-nav .sp-nav__link {
  justify-content: flex-start;
  gap: 12px;
  padding: 17px 6px;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.sunny-sp-nav .sp-nav__ja {
  color: #fff;
}
.sunny-sp-nav .sp-nav__en {
  font-family: var(--sunny-en);
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
  opacity: 1;
  margin-right: 0;
  margin-left: auto;
  padding-left: 0;
}
.sunny-sp-nav .sp-nav__link.is-current .sp-nav__ja {
  color: #fff;
  border-bottom: 2px solid #fff;
  padding-bottom: 2px;
}
.sunny-sp-nav .sp-nav__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}
.sunny-circle-btn--light {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.sunny-circle-btn--light:hover {
  border-color: #fff;
  color: #fff;
}
/* メニュー展開中は背面をスクロールさせない */
body.is-nav-open {
  overflow: hidden;
}

/* ==========================================================================
   2. メインビュー
   ========================================================================== */
.sunny-mv {
  position: relative;
  overflow: hidden;
  background: #4A4A31;
  display: flex;
  align-items: center;
  min-height: 100vh;
}
#slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
}
#slideshow .swiper-slide,
#slideshow .main_slider__inner {
  width: 100%;
  height: 100%;
}
#slideshow img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sunny-mv__veil {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(32, 32, 22, 0.42);
  z-index: 1;
}
.sunny-mv__scrim {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(26, 26, 18, 0.42), rgba(26, 26, 18, 0));
  z-index: 1;
}
.sunny-mv__body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 160px 0 120px;
}
.sunny-mv__catch {
  font-family: var(--sunny-en);
  font-weight: 400;
  font-size: clamp(22px, 4vw, 46px);
  line-height: 1.5;
  letter-spacing: 0.18em;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 16px rgba(20, 20, 12, 0.45);
}
.sunny-mv__sub {
  margin: 26px 0 0;
  font-size: clamp(13px, 1.5vw, 17px);
  line-height: 2;
  letter-spacing: 0.24em;
  color: #F2F1E7;
  text-shadow: 0 2px 14px rgba(20, 20, 12, 0.45);
}

/* ==========================================================================
   3. TOP：お知らせ
   ========================================================================== */
.sunny-news {
  padding: 96px 0 0;
}
.sunny-news .sunny-news__grid {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.sunny-news__body {
  /* 3件を超えたら縦スクロール（3件以下はスクロールバー非表示） */
  max-height: 213px;
  overflow-y: auto;
  border-top: 1px solid var(--sunny-line);
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #C9C7B5 transparent;
}
.sunny-news__body::-webkit-scrollbar {
  width: 6px;
}
.sunny-news__body::-webkit-scrollbar-track {
  background: transparent;
}
.sunny-news__body::-webkit-scrollbar-thumb {
  background: #C9C7B5;
  border-radius: 3px;
}
.sunny-news__body::-webkit-scrollbar-thumb:hover {
  background: #8A8878;
}
.blog-list--sunny {
  border-top: none;
}
.blog-list--sunny .blog-list__item {
  border-bottom: 1px solid var(--sunny-line);
}
.blog-list--sunny .blog-list__link {
  display: grid;
  grid-template-columns: minmax(0, 110px) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 22px 4px;
}
.blog-list--sunny .blog-list__date {
  font-family: var(--sunny-en);
  font-size: 1.3rem;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: #8A8878;
}
.blog-list--sunny .blog-list__title {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--sunny-ink);
}

/* ==========================================================================
   4. TOP：3つの強み
   ========================================================================== */
.sunny-strength {
  margin-top: 96px;
  border-top: 1px solid var(--sunny-line);
}
.sunny-strength .sunny-strength__inner {
  padding-top: 88px;
  padding-bottom: 88px;
}
.sunny-strength__lead {
  font-size: clamp(12px, 1.25vw, 14.5px);
  line-height: 2;
  color: var(--sunny-sub);
  margin: 0 0 48px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sunny-strength__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: #E2E1D6;
  border: 1px solid #E2E1D6;
}
.sunny-strength__item {
  background: #fff;
  padding: 44px 34px;
}
.sunny-strength__no {
  font-family: var(--sunny-en);
  font-size: 3rem;
  font-weight: 600;
  color: #C9C7B5;
  line-height: 1;
  margin: 0 0 20px;
}
.sunny-strength__title {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 16px;
}
.sunny-strength__text {
  font-size: 1.4rem;
  line-height: 2.05;
  color: var(--sunny-sub);
  margin: 0;
}

/* ==========================================================================
   5. TOP：コンテンツブロック
   ========================================================================== */
.sunny-blocks {
  padding: 96px 25px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sunny-block {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: stretch;
}
.sunny-block--reverse .sunny-block__panel {
  order: 2;
}
.sunny-block--reverse .sunny-block__photo-grid {
  order: 1;
}
.sunny-block__panel {
  padding: 80px clamp(32px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #F4F3EB;
}
.sunny-block__panel--works {
  background: #EFEEE4;
}
.sunny-block__panel--company {
  background: #F7F7F2;
}
.sunny-block__en {
  font-family: var(--sunny-en);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 54px);
  letter-spacing: 0.14em;
  color: var(--sunny-main);
  line-height: 1.1;
  margin: 0;
}
.sunny-block__ja {
  font-size: 1.5rem;
  line-height: 1.6;
  letter-spacing: 0.18em;
  color: var(--sunny-sub);
  margin: 14px 0 0;
}
.sunny-block__catch {
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 700;
  line-height: 1.9;
  margin: 40px 0 0;
}
.sunny-block__desc {
  font-size: 1.4rem;
  line-height: 2.15;
  color: var(--sunny-sub);
  margin: 26px 0 0;
  max-width: 420px;
}
.sunny-block__photo {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}
.sunny-block__photo-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* 2×2の4枚。minmax(0,1fr)で上下2行を必ず均等にする
     （grid-auto-rows:1fr だと画像の最小高さで1行目が伸び、2行目が潰れる） */
  grid-template-rows: repeat(2, minmax(0, 1fr));
  min-height: 460px;
  max-height: 560px;
}
.sunny-block__photo-grid img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

/* ==========================================================================
   6. 下層ページヒーロー
   ========================================================================== */
.sunny-page-hero {
  background-size: cover;
  background-position: center;
  min-height: 380px;
  padding-top: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sunny-page-hero__veil {
  background: rgba(32, 32, 22, 0.46);
}
.sunny-page-hero__scrim {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(26, 26, 18, 0.5), rgba(26, 26, 18, 0));
  z-index: 1;
}
.sunny-page-hero .sunny-page-hero__content {
  height: auto;
  text-align: center;
  padding: 0 24px;
}
.sunny-page-hero__en {
  font-family: var(--sunny-en);
  font-weight: 400;
  font-size: clamp(32px, 3.8vw, 48px);
  letter-spacing: 0.14em;
  color: #fff;
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 2px 14px rgba(20, 20, 12, 0.45);
}
.sunny-page-hero__ja {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.2em;
  color: #F2F1E7;
  margin: 14px 0 0;
  text-shadow: 0 2px 12px rgba(20, 20, 12, 0.45);
}

/* 下層ページのリード文 */
.sunny-lead {
  padding: 72px 0 0;
}
.sunny-lead--works {
  padding-bottom: 44px;
}
.sunny-lead__text {
  font-size: 1.5rem;
  line-height: 2.1;
  color: var(--sunny-sub);
  margin: 0;
  max-width: 760px;
}
/* -- modifier: PCで指定位置の改行が1行に収まるよう幅を広げる（サービス内容のリード） */
.sunny-lead__text--wide {
  max-width: 920px;
}
/* 1100px以下は幅が足りず4行になるため、指定改行を無効化して自然折り返しにする */
@media (max-width: 1100px) {
  .sunny-lead__text--wide br.pc-only {
    display: none;
  }
}

/* ==========================================================================
   7. サービス内容
   ========================================================================== */
.sunny-service {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 72px;
}
.sunny-service__item {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: center;
}
.sunny-service__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--sunny-border-img);
}
.sunny-service__no {
  font-family: var(--sunny-en);
  font-size: 1.1rem;
  line-height: 1.4;
  letter-spacing: 0.2em;
  color: var(--sunny-muted);
  margin: 0 0 12px;
}
.sunny-service__title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
  margin: 0 0 8px;
}
.sunny-service__en {
  font-family: var(--sunny-en);
  font-size: 1.2rem;
  line-height: 1.4;
  letter-spacing: 0.16em;
  color: var(--sunny-muted);
  margin: 0 0 24px;
}
.sunny-service__text {
  font-size: 1.5rem;
  line-height: 2.1;
  color: #4E4E44;
  margin: 0 0 24px;
}
.sunny-service__points {
  margin: 0;
  padding: 20px 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--sunny-line);
}
.sunny-service__points li {
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--sunny-sub);
  padding-left: 18px;
  border-left: 2px solid #C9C7B5;
}
.sunny-service__note-wrap {
  margin-top: 72px;
}
.sunny-note {
  font-size: 1.3rem;
  line-height: 1.9;
  color: #8A8878;
  margin: 0;
  border-top: 1px solid var(--sunny-line);
  padding-top: 20px;
}

/* ==========================================================================
   8. 施工実績
   ========================================================================== */
.sunny-works {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.sunny-works__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--sunny-line);
  padding-bottom: 14px;
  margin-bottom: 28px;
}
.sunny-works__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin: 0;
}
.sunny-works__en {
  font-family: var(--sunny-en);
  font-size: 1.1rem;
  line-height: 1.5;
  letter-spacing: 0.18em;
  color: var(--sunny-muted);
}
.sunny-works__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.sunny-works__figure {
  position: relative;
  margin: 0;
}
.sunny-works__figure a {
  display: block;
  cursor: zoom-in;
}
.sunny-works__figure a:hover {
  opacity: 1;
}
.sunny-works__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--sunny-border-img);
  transition: border-color 0.3s ease, filter 0.3s ease;
}
.sunny-works__figure:hover img {
  border-color: var(--sunny-main);
  filter: brightness(0.94);
}
.sunny-works__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  margin: 0;
  font-family: var(--sunny-en);
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.16em;
  color: #fff;
  padding: 5px 10px;
  background: rgba(43, 43, 36, 0.72);
}
.sunny-works__tag--after {
  background: var(--sunny-main);
}
/* 施工ごとのまとめ表示（クリックでスライド） */
.sunny-works__figure--set > a:first-child {
  position: relative;
}
.sunny-works__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 1.4rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(43, 43, 36, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.sunny-works__zoom span {
  font-family: var(--sunny-en);
  font-size: 1.1rem;
  letter-spacing: 0.18em;
}
.sunny-works__figure--set:hover .sunny-works__zoom {
  opacity: 1;
}
.sunny-works__hidden {
  display: none !important;
}
.sunny-works__count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sunny-en);
  font-size: 1.1rem;
  line-height: 1;
  color: #fff;
  padding: 5px 8px;
  background: rgba(43, 43, 36, 0.72);
  pointer-events: none;
}
/* サムネイル付きライトボックス */
.sunny-gallery {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  flex-direction: column;
  background: rgba(20, 20, 16, 0.92);
}
.sunny-gallery.is-open {
  display: flex;
}
.sunny-gallery__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 70px 10px;
}
.sunny-gallery__main {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sunny-gallery__main img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 190px);
  object-fit: contain;
}
.sunny-gallery__caption {
  margin-top: 10px;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: #fff;
}
.sunny-gallery__close,
.sunny-gallery__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  font-size: 2rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.3s ease;
}
.sunny-gallery__close:hover,
.sunny-gallery__nav:hover {
  background: var(--sunny-main);
}
.sunny-gallery__close {
  top: 10px;
  right: 10px;
}
.sunny-gallery__nav--prev {
  left: 14px;
}
.sunny-gallery__nav--next {
  right: 14px;
}
.sunny-gallery__thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px 20px;
  overflow-x: auto;
}
.sunny-gallery__thumbs button {
  flex: 0 0 auto;
  width: 90px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  background: none;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.sunny-gallery__thumbs button.is-active {
  border-color: #fff;
  opacity: 1;
}
.sunny-gallery__thumbs button:hover {
  opacity: 1;
}
.sunny-gallery__thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sunny-gallery.is-single .sunny-gallery__nav,
.sunny-gallery.is-single .sunny-gallery__thumbs {
  display: none;
}
@media (max-width: 767px) {
  .sunny-gallery__stage {
    padding: 60px 10px 10px;
  }
  .sunny-gallery__nav {
    top: auto;
    bottom: 10px;
    width: 38px;
    height: 38px;
    font-size: 1.6rem;
  }
  .sunny-gallery__main img {
    max-height: calc(100vh - 210px);
  }
  .sunny-gallery__main {
    padding-bottom: 50px;
  }
  .sunny-gallery__thumbs {
    justify-content: flex-start;
  }
  .sunny-gallery__thumbs button {
    width: 64px;
    height: 46px;
  }
}

/* ==========================================================================
   9. 会社概要
   ========================================================================== */
.sunny-msg-sec {
  padding-top: 80px;
}
.sunny-msg {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 56px;
  align-items: start;
}
.sunny-msg__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--sunny-border-img);
}
.sunny-msg__title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 28px;
}
.sunny-msg__body p {
  font-size: 1.5rem;
  line-height: 2.15;
  color: #4E4E44;
  margin: 0 0 20px;
}
.sunny-msg__sign {
  font-size: 1.4rem;
  color: var(--sunny-sub);
}
.sunny-msg__sign span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--sunny-ink);
}
.sunny-overview-sec {
  padding-top: 88px;
}
.sunny-ov {
  margin: 0;
  border-top: 1px solid var(--sunny-line);
}
.sunny-ov__row {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 24px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--sunny-line);
}
.sunny-ov__dt {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.95;
  color: var(--sunny-main);
  margin: 0;
}
.sunny-ov__dd {
  font-size: 1.5rem;
  line-height: 1.95;
  color: #3C3C33;
  margin: 0;
}
.mbox.sunny-notice {
  max-width: none;
  margin-top: 24px;
  padding: 24px 26px;
  background: var(--sunny-panel);
  border: 1px solid var(--sunny-line);
}
.sunny-notice p {
  font-size: 1.35rem;
  line-height: 2;
  color: #4E4E44;
  margin: 0;
}
.sunny-access-sec {
  padding-top: 88px;
}
.sunny-access__map {
  border: 1px solid var(--sunny-line);
}
.sunny-access__map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

/* ==========================================================================
   10. お問い合わせ
   ========================================================================== */
.sunny-contact {
  max-width: 840px;
  margin: 0 auto;
  padding: 72px 24px 0;
}
.sunny-contact__lead {
  font-size: 1.5rem;
  line-height: 2.1;
  color: var(--sunny-sub);
  margin: 0 0 44px;
}
.sunny-form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.sunny-form__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sunny-form__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.6;
  color: #3C3C33;
}
.sunny-form__req {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.08em;
  background: var(--sunny-main);
  color: #fff;
  padding: 3px 8px;
}
.sunny-form__opt {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.08em;
  border: 1px solid #C9C7B5;
  color: #6E6C51;
  padding: 2px 8px;
}
.sunny-form input,
.sunny-form select,
.sunny-form textarea {
  width: 100%;
  border: 1px solid #DDDCD1;
  border-radius: 0;
  background: #fff;
  padding: 15px 16px;
  font-size: 1.5rem;
  font-family: inherit;
  color: var(--sunny-ink);
}
.sunny-form textarea {
  line-height: 1.9;
  resize: vertical;
}
.sunny-form input:focus,
.sunny-form select:focus,
.sunny-form textarea:focus {
  outline: none;
  border-color: var(--sunny-main);
}
.mbox.sunny-privacy {
  max-width: none;
  padding: 22px 24px;
  background: var(--sunny-panel);
  border: 1px solid var(--sunny-line);
}
.sunny-privacy p {
  font-size: 1.3rem;
  line-height: 2;
  color: var(--sunny-sub);
  margin: 0;
}
.sunny-submit {
  align-self: center;
  margin: 8px 0 72px;
  padding: 18px 72px;
  background: var(--sunny-main);
  color: #fff;
  border: 0;
  border-radius: 0;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.3s ease;
}
.sunny-submit:hover {
  background: var(--sunny-main-h);
}

/* --------------------------------------------------------------------------
   CMSフォーム（form-pattern-1）の見た目をサイトに合わせる上書き
   CMS側CSSが後から当たるため !important で固定する
   -------------------------------------------------------------------------- */
/* 送信ボタン：.sunny-submit と同じデザイン・中央配置 */
.submit-btn,
.form-pattern-1 .submit-btn,
.form-pattern-1 input[type="submit"],
.form-pattern-1 button[type="submit"] {
  display: block !important;
  width: auto !important;
  margin: 8px auto 72px !important;
  padding: 18px 72px !important;
  background: var(--sunny-main) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 1.5rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  letter-spacing: 0.1em !important;
  font-family: inherit !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: background 0.3s ease !important;
}
.submit-btn:hover,
.form-pattern-1 .submit-btn:hover,
.form-pattern-1 input[type="submit"]:hover,
.form-pattern-1 button[type="submit"]:hover {
  background: var(--sunny-main-h) !important;
  opacity: 1 !important;
}
@media screen and (max-width: 767px) {
  .submit-btn,
  .form-pattern-1 .submit-btn,
  .form-pattern-1 input[type="submit"],
  .form-pattern-1 button[type="submit"] {
    width: min(320px, 100%) !important;
    padding: 16px 24px !important;
  }
}

/* 必須ラベル：CMS既定の赤（#ff4f4f）をサイトのカーキに */
.form-pattern-1 dl dt:not(.pattern-exclusion) span.required::before {
  background: var(--sunny-main) !important;
  color: #fff !important;
  border-radius: 0 !important;
  letter-spacing: 0.08em !important;
}

/* ==========================================================================
   10-2. 送信完了（thanks.php）
   ========================================================================== */
.sunny-thanks {
  padding-bottom: 96px;
  text-align: center;
}
.sunny-thanks__text {
  font-size: 1.5rem;
  line-height: 2.1;
  color: var(--sunny-sub);
  margin: 32px 0 0;
}
.sunny-thanks__back {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* ==========================================================================
   11. お問い合わせCTA帯
   ========================================================================== */
.sunny-contact-band {
  margin-top: 104px;
  border-top: 1px solid var(--sunny-line);
}
.sunny-contact-band .sunny-contact-band__inner {
  padding: 88px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.sunny-contact-band__desc {
  font-size: 1.45rem;
  line-height: 2.15;
  color: var(--sunny-sub);
  margin: 32px 0 0;
  max-width: 620px;
}

/* ==========================================================================
   12. フッター
   ========================================================================== */
.sunny-footer {
  border-top: 1px solid var(--sunny-line);
  background: #fff;
}
.sunny-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.sunny-footer__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 72px 24px;
}
.sunny-footer__logo {
  width: 132px;
  height: 132px;
  object-fit: contain;
}
.sunny-footer__ig {
  width: 44px;
  height: 44px;
  margin: 20px 0 0;
  border: 1px solid #DDDCD1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sunny-main);
  font-size: 1.9rem;
  line-height: 1;
  transition: all 0.3s ease;
}
.sunny-footer__ig:hover {
  border-color: var(--sunny-main);
  opacity: 1;
}
.sunny-footer__addr {
  font-size: 1.5rem;
  line-height: 2;
  letter-spacing: 0.06em;
  color: #3C3C33;
  margin: 30px 0 0;
}
.sunny-footer__hours {
  font-size: 1.35rem;
  line-height: 1.6;
  color: #8A8878;
  margin: 6px 0 0;
}
.sunny-footer__tel {
  font-size: 1.5rem;
  line-height: 2;
  letter-spacing: 0.06em;
  color: #3C3C33;
  margin: 10px 0 0;
}
.sunny-footer__tel a {
  color: inherit;
}
.sunny-footer__notice {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #8A8878;
  margin: 10px 0 0;
}
.sunny-footer__notice p {
  margin: 0;
}
/* 3行で収めるため、PC幅では各行を折り返さない */
@media (min-width: 1000px) {
  .sunny-footer__notice p {
    white-space: nowrap;
  }
}
@media (min-width: 1000px) and (max-width: 1100px) {
  .sunny-footer__notice {
    font-size: 1.2rem;
  }
}
/* PC幅未満は5行で収める（文節ごとに改行し、各行は折り返さない） */
@media (max-width: 999px) {
  .sunny-footer__notice p {
    white-space: nowrap;
  }
  .sunny-footer__notice span {
    display: block;
  }
}
@media (max-width: 760px) {
  .sunny-footer__notice {
    font-size: min(1.3rem, calc((100vw - 48px) / 23.5));
  }
}
.sunny-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 16px 34px;
  margin: 44px 0 0;
  justify-content: center;
}
.sunny-footer__nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  line-height: 1.6;
  color: #3C3C33;
}
.sunny-footer__nav a i {
  font-size: 1rem;
  color: var(--sunny-muted);
}
.sunny-footer__nav a:hover {
  color: var(--sunny-main);
  opacity: 1;
}
.sunny-footer__copy {
  font-family: var(--sunny-en);
  font-size: 1.1rem;
  line-height: 1.6;
  letter-spacing: 0.12em;
  color: var(--sunny-muted);
  margin: 52px 0 0;
}
.sunny-footer__map {
  width: calc(100% - 96px);
  height: 430px;
  margin: 48px;
  border: 1px solid var(--sunny-border-img);
}
.sunny-footer__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   13. レスポンシブ（元データのブレイクポイント 760px）
   ========================================================================== */
@media (max-width: 896px) {
  /* 元データは1行固定（nowrap）だが、狭い画面では文章が切れるため折り返す */
  .sunny-strength__lead {
    white-space: normal;
    overflow: visible;
  }
}

@media (max-width: 760px) {
  .header--sunny {
    /* body に overflow-x:hidden があり sticky が効かないため、SPも fixed で追従させる
       （ページ先頭は必ずヒーローのため、重なっても文字が隠れない）
       SPは常に背景なし（スクロール追従中も白帯にしない） */
    position: fixed;
    top: 0;
  }
  .header--sunny.is-scrolled {
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
  }
  .header--sunny.is-scrolled .header__inner {
    padding: 10px 70px 10px 88px;
  }
  .header--sunny.is-scrolled .header__logo--sunny {
    top: 6px;
    left: 10px;
  }
  .header--sunny.is-scrolled .header__logo--sunny img {
    width: 62px;
    height: 62px;
  }
  .header--sunny .header__inner {
    padding: 10px 70px 10px 88px;
    min-height: 52px;
  }
  /* SPはハンバーガーに集約するためPCナビは非表示 */
  .header--sunny .header__nav {
    display: none;
  }
  .header__logo--sunny {
    top: 6px;
    left: 10px;
  }
  .header__logo--sunny img {
    width: 62px;
    height: 62px;
  }
  /* ハンバーガー／SPナビをSPでのみ表示 */
  .nav-toggle {
    display: block;
  }
  .sunny-sp-nav {
    display: flex;
  }
  .sunny-circle-btn {
    border-color: var(--sunny-line);
    color: var(--sunny-main);
  }
  .sunny-circle-btn:hover {
    border-color: var(--sunny-main);
    color: var(--sunny-main);
  }

  .sunny-mv {
    min-height: min(78vh, 620px);
  }
  #slideshow {
    height: min(78vh, 620px);
  }
  .sunny-mv__body {
    padding: 130px 0 90px;
  }

  .sunny-page-hero {
    min-height: 260px;
    padding-top: 80px;
  }

  .sunny-news .sunny-news__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .sunny-news__body {
    /* SPはタイトル折り返しを見込んで高さを確保 */
    max-height: 280px;
  }

  .sunny-block,
  .sunny-block--reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .sunny-block--reverse .sunny-block__panel,
  .sunny-block--reverse .sunny-block__photo-grid {
    order: 0;
  }
  .sunny-block__panel {
    padding: 56px 24px;
  }
  .sunny-block__photo {
    min-height: 260px;
  }
  .sunny-block__photo-grid {
    min-height: 300px;
    max-height: none;
    aspect-ratio: 1/1;
  }

  .sunny-ov__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .sunny-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  /* SPはヘッダーのハンバーガーに集約するためフッターナビは非表示 */
  .sunny-footer__nav {
    display: none;
  }
  .sunny-footer__map {
    width: calc(100% - 48px);
    height: 240px;
    margin: 0 24px 56px;
  }
}
