/*
 * ======================================
 * site.css — 株式会社総合サポート沖縄
 * ======================================
 *
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * -----------------------------------------------------------------------
 * .sso-eyebrow         - セクション眉（番号+英語ラベル+横線）
 * .sso-sec-title       - セクション大タイトル（明朝+large）
 * .sso-mv              - MVヒーロー区画
 * .sso-greeting-badge  - ごあいさつセクションの赤バッジ
 * .sso-strength-card   - 強みカード（枠線区切りグリッド）
 * .sso-biz-head        - 事業内容の番号+タイトル見出し
 *
 * 共通SCSSに不足していたもの
 * -----------------------------------------------------------------------
 * 構造不足: eyebrow（番号+EN+横線が一体になった見出し前置パーツ）
 * 値の粒度不足: page-hero にダークネイビーグラデーション指定
 * 構造不足: 強みカード（外枠1px+3列を1px gap で区切るデザイン）
 */

/* ==========================================================================
   Google Fonts — body デフォルト上書き
   ========================================================================== */
body {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
}

/* ==========================================================================
   1. sso-eyebrow — セクション眉
   ========================================================================== */
.sso-eyebrow {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 22px;
}
.sso-eyebrow__num {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 15px;
  font-weight: 600;
  color: #D2322C;
  letter-spacing: .12em;
}
.sso-eyebrow__en {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 22px;
  color: #1C6FB5;
  letter-spacing: .04em;
}
.sso-eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #DBE5EE;
  transform: translateY(-4px);
}

/* ==========================================================================
   2. sso-sec-title — セクションタイトル
   ========================================================================== */
.sso-sec-title {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.5;
  letter-spacing: .04em;
  color: #0E3A60;
  margin: 0 0 .4em;
}

/* ==========================================================================
   3. sso-sec-lead — セクションリード文
   ========================================================================== */
.sso-sec-lead {
  font-size: 1.5rem;
  color: #4A5A68;
  max-width: 640px;
  margin: 0;
  line-height: 2;
}

/* ==========================================================================
   4. header — グラスモーフィズム + SSO デザイン調整
   ========================================================================== */

/* --- 背景・ボーダー --- */
.header.sso-header {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #DBE5EE;
  box-shadow: none;
}
.header.sso-header.header-sticky {
  background: rgba(255,255,255,.94);
}
.header.sso-header.header-sticky.is-fixed {
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 20px rgba(28,111,181,.10);
}

/* --- ヘッダー内コンテナ：高さ・最大幅・余白 --- */
.sso-header .header__inner {
  height: 84px;
}
.sso-header .header__inner--flush-right {
  max-width: 1320px;
  padding: 0 36px;
  margin: 0 auto;
}
.sso-header.is-fixed .header__inner--flush-right {
  padding: 0 36px;
}
@media (max-width: 1100px) {
  .sso-header .header__inner {
    height: 60px;
  }
  .sso-header .header__inner--flush-right {
    padding: 0 15px;
    max-width: 100%;
  }
}

/* --- ロゴ --- */
.sso-header .header__logo img {
  height: 48px;
}
@media (max-width: 1100px) {
  .sso-header .header__logo img {
    height: 34px;
  }
}

/* --- ナビアイテム --- */
.sso-header .header__nav-item a {
  padding: 6px 16px;
}

/* --- ナビ 日本語テキスト --- */
.sso-header .header__nav-ja {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: .04em;
  margin-top: 0;
}

/* --- ナビ ホバー・アクティブ下線：赤 --- */
.sso-header .header__nav-item a::after {
  background: #D2322C;
}

/* --- ナビ ホバー時の文字色：ブルー --- */
.sso-header .header__nav-item a:hover .header__nav-ja {
  color: #1C6FB5;
}
.sso-header .header__nav-item a:hover {
  opacity: 1;
  color: #1C6FB5;
}

/* --- header__right のギャップ --- */
.sso-header .header__right {
  gap: 18px;
}

/* --- 電話番号 --- */
.sso-header .header__tel::before {
  display: none;
}
.sso-header .header__tel a {
  font-family: "Lora", serif;
  font-size: 21px;
  font-weight: 600;
  color: #0E3A60;
  letter-spacing: .03em;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
  transition: opacity .2s;
}
.sso-header .header__tel a:hover {
  opacity: .7;
}
.sso-header .header__tel a i {
  font-size: 14px;
  color: #1C6FB5;
}

/* --- CTAボタン：高さを解除して btn-red スタイルに --- */
.sso-header .header__cta {
  height: auto;
  align-self: center;
  flex-direction: row;
  padding: 13px 26px;
  background: #D2322C;
  border-radius: 4px;
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .05em;
  gap: 8px;
}
.sso-header .header__cta:hover {
  background: #B5251F;
  opacity: 1;
}
.sso-header .header__cta .header__cta__sub {
  display: none;
}

/* ==========================================================================
   5. ナビの英語サブテキスト
   ========================================================================== */
.header__nav-item .header__nav-sub {
  display: block;
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 10px;
  letter-spacing: .06em;
  color: #1C6FB5;
  margin-top: 1px;
  line-height: 1;
}

/* ==========================================================================
   6. MV（メインビジュアル）
   ========================================================================== */
.sso-mv-wrap {
  position: relative;
}

/* --- スライドショーコンテナ --- */
#slideshow {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #0E3A60;
}

/* CMS スライダー出力エリアと Swiper 内部要素の高さを #slideshow に追従させる */
#slideshow > div,
#cms-slider-1-1-area,
#slideshow .swiper,
#slideshow .swiper-container,
#slideshow .swiper-wrapper {
  height: 100%;
}

/* swiper-slide: Swiper の flex レイアウトを壊さないよう height:100% のみ */
#slideshow .swiper-slide {
  position: relative;
  height: 100%;
}

/* スライド内の画像（CMS出力・静止画共通） */
#slideshow .swiper-slide img,
#slideshow .main_slider__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* main_slider__inner（静止画プレースホルダー用） */
#slideshow .main_slider__inner {
  height: 100%;
}

/* --- オーバーレイグラデーション --- */
#slideshow .swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14,58,96,.75) 0%, rgba(14,58,96,.46) 44%, rgba(14,58,96,.10) 74%, transparent 100%),
    linear-gradient(0deg, rgba(14,58,96,.50) 0%, transparent 42%);
  z-index: 1;
  pointer-events: none;
}

/* --- テキストオーバーレイ配置 --- */
.sso-mv-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 2;
}

/* container の max-width / margin:auto を打ち消して左端基準に */
.sso-mv-overlay .container {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 100px;
  padding-right: 40px;
  text-align: left;
}

/* --- 英語キャプション --- */
.sso-mv-en {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: .06em;
  color: #CFE9F8;
  margin: 0 0 0;
  text-align: left;
  display: block;
}

/* --- メインキャッチコピー --- */
.sso-mv-catch {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-weight: 600;
  color: #fff;
  font-size: clamp(38px, 6.6vw, 84px);
  line-height: 1.32;
  letter-spacing: .04em;
  margin: 14px 0 22px;
  text-shadow: 0 2px 30px rgba(0,0,0,.18);
  text-align: left;
}

/* --- サブテキスト --- */
.sso-mv-sub {
  color: #EAF4FB;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 2;
  max-width: 660px;
  margin: 0 0 36px;
  text-align: left;
}

/* --- Scroll インジケーター --- */
.sso-mv-scroll {
  position: absolute;
  right: 40px;
  bottom: 0;
  z-index: 5;
  writing-mode: vertical-rl;
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: .2em;
  color: rgba(255,255,255,.8);
  padding-bottom: 70px;
}
.sso-mv-scroll::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 54px;
  background: rgba(255,255,255,.6);
}

/* --- レスポンシブ --- */
@media (max-width: 896px) {
  .sso-mv-overlay .container {
    padding-left: 40px;
  }
}
@media (max-width: 639px) {
  #slideshow { height: 70vh; }
  .sso-mv-scroll { display: none; }
  .sso-mv-overlay {
    align-items: flex-start;
  }
  .sso-mv-overlay .container {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 90px;
  }
  .sso-mv-catch {
    font-size: 30px;
  }
}

/* ==========================================================================
   7. ごあいさつセクション（greet badge）
   ========================================================================== */
.sso-greet-img {
  position: relative;
}
.sso-greet-badge {
  position: absolute;
  left: -20px;
  bottom: -20px;
  background: #D2322C;
  color: #fff;
  padding: 18px 26px;
  border-radius: 4px;
  font-family: "Shippori Mincho", serif;
  line-height: 1.4;
  box-shadow: 0 16px 40px rgba(210,50,44,.28);
  z-index: 2;
}
.sso-greet-badge__line2 {
  display: block;
  line-height: 1.2;
}
.sso-greet-badge b {
  display: inline;
  font-family: "Lora", serif;
  font-size: 34px;
  font-weight: 600;
  vertical-align: baseline;
}
@media (max-width: 639px) {
  .sso-greet-badge { left: 0; }
}

/* ==========================================================================
   8. 強みカード（3列グリッド 1px線区切り）
   ========================================================================== */
.sso-strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #DBE5EE;
  border: 1px solid #DBE5EE;
  border-radius: 4px;
  overflow: hidden;
}
.sso-strength-card {
  background: #fff;
  padding: clamp(30px, 3.2vw, 46px) clamp(24px, 2.4vw, 38px);
}
.sso-strength-card__no {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 15px;
  color: #D2322C;
  letter-spacing: .1em;
  display: block;
  margin-bottom: 14px;
}
.sso-strength-card__title {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 19px;
  color: #0E3A60;
  letter-spacing: .04em;
  margin: 0 0 .6em;
  line-height: 1.5;
  text-align: center;
}
.sso-strength-card__text {
  font-size: 14.5px;
  color: #4A5A68;
  line-height: 2;
  margin: 0;
}
@media (max-width: 639px) {
  .sso-strength-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   9. ページヒーロー（グラデーション上書き）
   ========================================================================== */
.sso-page-hero {
  position: relative;
  background: #0E3A60;
  color: #fff;
  overflow: hidden;
  padding: clamp(100px, 12vw, 160px) 0 clamp(54px, 7vw, 88px);
}
.sso-page-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #0E3A60 0%, #1C6FB5 100%);
  opacity: .9;
}
.sso-page-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(90% 70% at 10% 120%, rgba(13,58,96,.6), transparent 55%);
}
.sso-page-hero__content {
  position: relative;
  z-index: 2;
}
.sso-page-hero__en {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: clamp(38px, 6.5vw, 72px);
  line-height: 1;
  color: rgba(255,255,255,.92);
  letter-spacing: .02em;
  display: block;
}
.sso-page-hero__ja {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: clamp(22px, 2.8vw, 32px);
  letter-spacing: .08em;
  margin: 12px 0 0;
  display: block;
}

/* ==========================================================================
   10. 事業内容 biz-head（大番号+タイトル）
   ========================================================================== */
.sso-biz-head {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-bottom: 42px;
}
@media (max-width: 639px) {
  .sso-biz-head {
    flex-direction: column;
    gap: 6px;
    margin-bottom: 24px;
  }
  .sso-biz-head__num {
    font-size: 20px;
    opacity: .6;
  }
}
.sso-biz-head__num {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: clamp(44px, 6.5vw, 84px);
  line-height: .9;
  color: #1C6FB5;
  opacity: .5;
  flex-shrink: 0;
}
.sso-biz-head__wrap .sso-biz-head__en {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 17px;
  color: #1C6FB5;
  display: block;
}
.sso-biz-head__wrap h2 {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 40px);
  color: #0E3A60;
  letter-spacing: .05em;
  margin: 2px 0 0;
}

/* ==========================================================================
   11. 事業内容 accent line
   ========================================================================== */
.sso-accent-bar {
  width: 48px;
  height: 3px;
  background: #D2322C;
  margin-bottom: 22px;
}

/* ==========================================================================
   12. 施工実績カード（photo card 上書き）
   ========================================================================== */
.sso-work-card {
  display: block;
  background: #fff;
  border: 1px solid #DBE5EE;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  color: inherit;
  text-decoration: none;
}
.sso-work-card:hover {
  box-shadow: 0 18px 44px rgba(28,111,181,.14);
  transform: translateY(-4px);
}
.sso-work-card__thumb {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.sso-work-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sso-work-card__cat {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #D2322C;
  color: #fff;
  font-size: 11.5px;
  padding: 4px 11px;
  border-radius: 2px;
  letter-spacing: .05em;
}
.sso-work-card__body {
  padding: 18px 20px 22px;
}
.sso-work-card__date {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 12px;
  color: #4A5A68;
}
.sso-work-card__title {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 17px;
  color: #0E3A60;
  margin: 6px 0 0;
  letter-spacing: .03em;
  line-height: 1.5;
}

/* ==========================================================================
   14. footer-cta（お問い合わせCTAセクション）
   ========================================================================== */

/* padding を上書き（main.css の 120px 0 を無効化） */
.footer-cta.sso-footer-cta {
  padding: clamp(56px, 7vw, 88px) 0;
  background: none; /* ::before で描画するため直接bgは不要 */
}
/* main.css の ::before background を gradient に差し替え */
.footer-cta.sso-footer-cta::before {
  background: linear-gradient(180deg, #1C6FB5 0%, #155A95 100%);
}

/* 中央寄せラッパー */
.sso-cta-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

/* "Contact" eyebrow */
.sso-cta-en-label {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 20px;
  letter-spacing: .06em;
  color: #BFE0F5;
  margin: 0 0 10px;
  display: block;
}

/* メイン見出し */
.sso-cta-title {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-weight: 600;
  font-size: clamp(24px, 3.2vw, 36px);
  letter-spacing: .04em;
  margin: 10px 0 8px;
  color: #fff;
}

/* リード文 */
.sso-cta-text {
  color: #D6E8F5;
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 28px;
}

/* ボタン行 */
.sso-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

/* 赤ボタン */
.sso-cta-btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: 16.5px;
  letter-spacing: .05em;
  padding: 18px 40px;
  border-radius: 4px;
  background: #D2322C;
  color: #fff;
  text-decoration: none;
  transition: background .22s ease;
  white-space: nowrap;
  flex: 0 0 260px;
  box-sizing: border-box;
}
.sso-cta-btn-red:hover { background: #B5251F; }

/* 電話ボックス（白背景） */
.sso-cta-tel {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #0E3A60;
  padding: 11px 30px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity .2s;
  flex: 0 0 260px;
  box-sizing: border-box;
}
.sso-cta-tel:hover { opacity: .85; }
.sso-cta-tel__num {
  font-family: "Lora", serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: .03em;
  white-space: nowrap;
}
.sso-cta-tel__lbl {
  font-size: 11px;
  color: #4A5A68;
  letter-spacing: .04em;
  white-space: nowrap;
}

/* ==========================================================================
   15. footer のカスタマイズ
   ========================================================================== */
.sso-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: start;
  gap: clamp(36px, 4.5vw, 68px);
  align-items: center;
}
/* フッターマップの高さ（.embed iframe{height:100%} を main.css が上書きするため親に指定） */
.sso-footer-grid .embed {
  height: 400px;
}
@media (max-width: 639px) {
  .sso-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .sso-footer-grid .embed { height: 260px; }
}
.sso-footer-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.sso-footer-logo-wrap img {
  height: 75px;
  width: auto;
  background: #fff;
  padding: 10px 16px;
  border-radius: 4px;
}
.sso-footer-addr {
  font-size: 13.5px;
  line-height: 2;
  color: #BFD3E4;
}
.sso-footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.sso-footer-nav a {
  font-family: "Shippori Mincho", serif;
  font-size: 13.5px;
  color: #DCE8F2;
  padding: 2px 12px;
  transition: color .2s;
  text-decoration: none;
}
.sso-footer-nav a + a {
  border-left: 1px solid rgba(255,255,255,.28);
}
.sso-footer-nav a:hover { color: #fff; }
@media (max-width: 639px) {
  .sso-footer-nav { display: none; }
  .sso-cta-title { font-size: 20px; }
}

/* ==========================================================================
   16. サイドバー
   ========================================================================== */
.sso-sidebar-box {
  background: #F2F7FB;
  border: 1px solid #DBE5EE;
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 28px;
}
.sso-sidebar-box h3 {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 16px;
  color: #0E3A60;
  letter-spacing: .04em;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1C6FB5;
}

/* ==========================================================================
   SP固定バー — 電話・メール
   ========================================================================== */
.sp-fixed-bar {
  background: #0E3A60;
}
.sp-fixed-bar__link {
  color: #fff;
}

/* ==========================================================================
   breadcrumb 上書き（白背景ヒーロー内対応）
   ========================================================================== */
.sso-page-hero .breadcrumb {
  margin-top: 22px;
}
.sso-page-hero .breadcrumb__link,
.sso-page-hero .breadcrumb__current {
  color: rgba(255,255,255,.75);
}
.sso-page-hero .breadcrumb__item + .breadcrumb__item::before {
  color: rgba(255,255,255,.5);
}

/* ==========================================================================
   contact フォームレイアウト
   ========================================================================== */
.sso-contact-method {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 56px;
}
.sso-contact-method-card {
  background: #F2F7FB;
  border: 1px solid #DBE5EE;
  border-radius: 4px;
  padding: 32px 28px;
  text-align: center;
}
.sso-contact-method-card h3 {
  font-family: "Shippori Mincho", serif;
  font-size: 18px;
  font-weight: 600;
  color: #0E3A60;
  margin: 0 0 12px;
}
@media (max-width: 639px) {
  .sso-contact-method { grid-template-columns: 1fr; }
}

/* ==========================================================================
   works フィルタータブ
   ========================================================================== */
.sso-works-filter {
  margin-bottom: 48px;
}

/* ==========================================================================
   entry（記事詳細）
   ========================================================================== */
.sso-entry-header {
  margin-bottom: 40px;
}
.sso-entry-header__meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.sso-entry-header__date {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 13px;
  color: #4A5A68;
  letter-spacing: .04em;
}
.sso-entry-header__cat {
  display: inline-block;
  background: transparent;
  color: #1C6FB5;
  font-size: 12px;
  padding: 3px 12px;
  border: 1px solid #1C6FB5;
  border-radius: 2px;
  letter-spacing: .04em;
}
.sso-entry-divider {
  border: none;
  border-top: 1px solid #DBE5EE;
  margin: 0 0 28px;
}
.sso-entry-header__title {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: clamp(22px, 3vw, 32px);
  color: #0E3A60;
  line-height: 1.5;
  letter-spacing: .04em;
  margin: 0;
}
.sso-entry-body {
  line-height: 2;
  color: #1C2A36;
  margin-top: 32px;
}
.sso-entry-body h2 {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 22px;
  color: #0E3A60;
  border-left: 4px solid #1C6FB5;
  padding-left: 14px;
  margin: 48px 0 22px;
}
.sso-entry-body h3 {
  font-family: "Shippori Mincho", serif;
  font-size: 19px;
  color: #0E3A60;
  margin: 36px 0 16px;
}
.sso-entry-body p {
  margin-bottom: 22px;
}
.sso-entry-back-wrap {
  margin-top: 56px;
}
.sso-entry-back {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border: 1.5px solid #1C6FB5;
  border-radius: 4px;
  color: #1C6FB5;
  font-family: "Shippori Mincho", serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .22s, color .22s;
}
.sso-entry-back:hover {
  background: #1C6FB5;
  color: #fff;
  opacity: 1;
}

/* ==========================================================================
   before-after セット
   ========================================================================== */
.sso-ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-radius: 4px;
  overflow: hidden;
}
.sso-ba-item {
  position: relative;
}
.sso-ba-item__label {
  position: absolute;
  left: 10px;
  top: 10px;
  background: #0E3A60;
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 2px;
  letter-spacing: .06em;
}
.sso-ba-item__label--after {
  background: #D2322C;
}
@media (max-width: 639px) {
  .sso-ba-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   内装工事カード（business.php 内装工事セクション）
   ========================================================================== */
.sso-interior-card {
  background: #fff;
  border: 1px solid #DBE5EE;
  border-radius: 4px;
  padding: clamp(24px, 2.8vw, 38px) clamp(22px, 2.4vw, 34px);
}
.sso-interior-card__title {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 19px;
  color: #0E3A60;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}
.sso-interior-card__title::before {
  content: "";
  width: 9px;
  height: 9px;
  background: #D2322C;
  border-radius: 50%;
  flex-shrink: 0;
}
.sso-interior-card__text {
  font-size: 14.5px;
  color: #4A5A68;
  line-height: 2;
  margin: 0;
}


/* ==========================================================================
   ごあいさつ（greet）セクション
   ========================================================================== */
.sso-greet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.sso-greet-ph {
  aspect-ratio: 4/5;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(28,111,181,.1), rgba(28,111,181,.02)), #E7F0F7;
  position: relative;
  width: 100%;
  object-fit: cover;
  display: block;
}
.sso-greet-body p {
  line-height: 2.15;
  margin: 0 0 1.2em;
  color: #1C2A36;
}
.sso-greet-body p:last-of-type { margin-bottom: 0; }
.sso-greet-sign {
  margin-top: 26px;
  font-family: "Shippori Mincho", serif;
}
.sso-greet-sign__role { font-size: 13px; color: #4A5A68; }
.sso-greet-sign__nm  { font-size: 22px; color: #0E3A60; letter-spacing: .08em; }
@media (max-width: 880px) {
  .sso-greet-grid { grid-template-columns: 1fr; }
  .sso-greet-badge { left: 0; }
}

/* ==========================================================================
   強み（strength）カード — アイコン追加
   ========================================================================== */
.sso-strength-card__icon {
  margin: 18px 0 20px;
  color: #1C6FB5;
  display: block;
  text-align: center;
}
.sso-strength-card__icon svg { width: 40px; height: 40px; }
.sso-strength-card__icon i { font-size: 36px; }
@media (max-width: 880px) {
  .sso-strength-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   OUR SERVICE（svc）セクション — フルワイド2カラム
   ========================================================================== */
.sso-svc {
  display: grid;
  grid-template-columns: 46% 54%;
}
.sso-svc__left {
  background: linear-gradient(165deg, #1C6FB5 0%, #155A95 58%, #0E3A60 100%);
  color: #fff;
  padding: clamp(32px, 3.5vw, 56px) clamp(32px, 5vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sso-svc__en {
  font-family: "Lora", serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(46px, 6vw, 88px);
  line-height: .92;
  letter-spacing: .01em;
  color: #fff;
  display: block;
}
.sso-svc__jp {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: .14em;
  margin: 16px 0 0;
  display: block;
  color: #EAF4FB;
}
.sso-svc__list {
  list-style: none;
  margin: clamp(20px, 2.5vw, 36px) 0 0;
  padding: 0;
}
.sso-svc__list li + li { border-top: 1px solid rgba(255,255,255,.26); }
.sso-svc__link {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 28px);
  padding: clamp(10px, 1.2vw, 16px) 4px;
  color: #fff;
  text-decoration: none;
  transition: padding .25s;
}
.sso-svc__link:hover,
.sso-svc__link.on { padding-left: 12px; }
.sso-svc__circ {
  width: clamp(52px, 4.6vw, 64px);
  height: clamp(52px, 4.6vw, 64px);
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.85);
  display: grid;
  place-items: center;
  font-family: "Lora", serif;
  font-weight: 600;
  font-size: clamp(17px, 1.5vw, 20px);
  transition: all .25s;
}
.sso-svc__link:hover .sso-svc__circ,
.sso-svc__link.on .sso-svc__circ {
  background: #fff;
  color: #1C6FB5;
  border-color: #fff;
}
.sso-svc__nm {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: clamp(19px, 2.1vw, 26px);
  letter-spacing: .06em;
}
.sso-svc__arr {
  margin-left: auto;
  opacity: 0;
  transform: translateX(-10px);
  transition: .25s;
}
.sso-svc__arr svg { width: 26px; height: 14px; }
.sso-svc__link:hover .sso-svc__arr,
.sso-svc__link.on .sso-svc__arr { opacity: 1; transform: translateX(0); }

.sso-svc__right {
  position: relative;
  overflow: hidden;
  background: #0E3A60;
}
.sso-svc__img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
  background-size: cover;
  background-position: center;
}
.sso-svc__img.on { opacity: 1; }
.sso-svc__img::after {
  content: attr(data-label);
  position: absolute;
  left: 32px;
  bottom: 28px;
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 15px;
  letter-spacing: .08em;
  color: rgba(255,255,255,.92);
  background: rgba(14,58,96,.42);
  padding: 7px 16px;
  border-radius: 3px;
  backdrop-filter: blur(2px);
}
@media (max-width: 880px) {
  .sso-svc { grid-template-columns: 1fr; }
  .sso-svc__right { min-height: 320px; order: 2; }
}

/* ==========================================================================
   施工実績 works-grid
   ========================================================================== */
.sso-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 880px) { .sso-works-grid { grid-template-columns: 1fr; } }

.sso-work-card2 {
  display: block;
  background: #fff;
  border: 1px solid #DBE5EE;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
  color: inherit;
  text-decoration: none;
}
.sso-work-card2:hover {
  box-shadow: 0 18px 44px rgba(28,111,181,.14);
  transform: translateY(-4px);
}
.sso-work-card2__thumb {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.sso-work-card2__ph {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,111,181,.1), rgba(28,111,181,.02)), #E7F0F7;
}
.sso-work-card2__cat {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #D2322C;
  color: #fff;
  font-size: 11.5px;
  padding: 4px 11px;
  border-radius: 2px;
  letter-spacing: .05em;
}
.sso-work-card2__body { padding: 20px 22px 24px; }
.sso-work-card2__date {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 12px;
  color: #4A5A68;
  display: block;
}
.sso-work-card2__title {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 18px;
  color: #0E3A60;
  margin: 6px 0 0;
  letter-spacing: .03em;
  line-height: 1.5;
}

/* ==========================================================================
   center-more（もっと見るボタン行）
   ========================================================================== */
.sso-center-more { text-align: center; margin-top: 52px; }


/* ==========================================================================
   company.php 固有
   ========================================================================== */

/* --- Philosophy 2カラム --- */
.sso-phil-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.sso-phil-ph {
  aspect-ratio: 4/3;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(28,111,181,.1), rgba(28,111,181,.02)), #E7F0F7;
  display: block;
  width: 100%;
  object-fit: cover;
}
.sso-phil-big {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.7;
  color: #0E3A60;
  letter-spacing: .06em;
  margin: 0 0 .6em;
}
.sso-phil-big em { font-style: normal; color: #D2322C; }
.sso-phil-body p { line-height: 2.15; color: #1C2A36; margin: 0 0 1.2em; }
.sso-phil-body p:last-child { margin-bottom: 0; }
@media (max-width: 880px) {
  .sso-phil-grid { grid-template-columns: 1fr; }
}

/* --- Stats 3カラム --- */
.sso-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #DBE5EE;
  border: 1px solid #DBE5EE;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}
.sso-stat {
  background: #fff;
  padding: clamp(30px, 3.4vw, 44px) 24px;
  text-align: center;
}
.sso-stat__en {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 13px;
  color: #1C6FB5;
  letter-spacing: .06em;
  display: block;
}
.sso-stat__v {
  font-family: "Lora", serif;
  font-weight: 600;
  font-size: clamp(40px, 5vw, 60px);
  color: #0E3A60;
  line-height: 1.1;
  margin: 6px 0 2px;
  display: block;
}
.sso-stat__v small {
  font-family: "Shippori Mincho", serif;
  font-size: 18px;
  color: #1C2A36;
}
.sso-stat__lbl {
  font-family: "Shippori Mincho", serif;
  font-size: 14px;
  color: #4A5A68;
  display: block;
}
@media (max-width: 880px) {
  .sso-stat-row { grid-template-columns: 1fr; }
}

/* --- Profile テーブル --- */
.sso-profile-table {
  width: 100%;
  border-collapse: collapse;
}
.sso-profile-table th,
.sso-profile-table td {
  text-align: left;
  padding: 26px 24px;
  border-bottom: 1px solid #EBF1F6;
  font-size: 15.5px;
  vertical-align: top;
  line-height: 1.9;
}
.sso-profile-table th {
  width: 30%;
  background: transparent;
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  color: #1C2A36;
  letter-spacing: .05em;
  white-space: nowrap;
  border-bottom: 2px solid #1C6FB5;
}
@media (max-width: 880px) {
  .sso-profile-table th { width: 36%; white-space: normal; }
}

/* --- Full Map --- */
.sso-map-full {
  aspect-ratio: 21/9;
  border: 1px solid #DBE5EE;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}
.sso-map-full iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 880px) {
  .sso-map-full { aspect-ratio: 4/3; }
}


/* ==========================================================================
   CMS フォーム — 必須ラベルの色上書き
   ========================================================================== */
.form-pattern-1 dl dt:not(.pattern-exclusion) span.required::before {
    background: #D2322C!important;
}


/* ==========================================================================
   ページトップボタン — SP時は固定バー上に配置
   ========================================================================== */
@media (max-width: 896px) {
  .page-top {
    bottom: 70px;
  }
}


/* ==========================================================================
   business.php — SP時コンテンツ余白補正
   ========================================================================== */
@media (max-width: 639px) {
  .sso-biz-head__wrap h2 {
    font-size: 22px;
  }
  .sso-interior-card {
    padding: 20px;
  }
}


/* ==========================================================================
   SP コンテナ横パディング補正（main.css の 10px → 20px に引き上げ）
   ========================================================================== */
@media (max-width: 639px) {
  .container,
  .container-narrow,
  .container-wide {
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* ==========================================================================
   column2--5-5 SP 幅修正
   （main.css で tablet override が定義されていないため site.css で補正）
   ========================================================================== */
@media (max-width: 896px) {
  .column2--5-5 > .column2__child {
    width: 100%;
  }
}


/* ==========================================================================
   works.php — SP時タブ 2カラムグリッド
   ========================================================================== */
@media (max-width: 639px) {
  #worksTabNav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: none;
  }
  #worksTabNav .tab-nav__item {
    text-align: center;
    border: 1px solid #DBE5EE;
    margin: -1px 0 0 -1px;
  }
}


/* ==========================================================================
   company.php — sso-profile-table SP縦積みレイアウト
   ========================================================================== */
@media (max-width: 639px) {
  .sso-profile-table tr,
  .sso-profile-table th,
  .sso-profile-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .sso-profile-table th {
    padding: 16px 16px 6px;
    font-size: 12px;
    color: #1C6FB5;
    letter-spacing: .08em;
    white-space: normal;
    border-bottom: none;
  }
  .sso-profile-table td {
    padding: 0 16px 16px;
    font-size: 14.5px;
    border-bottom: 1px solid #EBF1F6;
  }
  .sso-profile-table tr:last-child td {
    border-bottom: none;
  }
}


/* ==========================================================================
   contact.php — リード文 SP左寄せ
   ========================================================================== */
@media (max-width: 639px) {
  .section .sso-sec-lead[style*="margin-left:auto"] {
    text-align: left;
  }
}


/* ==========================================================================
   contact.php — リード文 中央寄せ（PC）/ 左寄せ（SP）
   ========================================================================== */
.sso-contact-lead {
  text-align: center;
}
@media (max-width: 639px) {
  .sso-contact-lead {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
}


/* ==========================================================================
   contact.php — btn-cta-mail SP 1行収め
   ========================================================================== */
@media (max-width: 639px) {
  .btn-cta-mail {
    font-size: 1.7rem;
    white-space: nowrap;
    padding: 13px 16px;
  }
}
