/* ==========================================
   HOLUS Font Setup
   @font-face（ローカルフォント）
   ※assets/css/main.css からの相対パス
========================================== */

@font-face {
  font-family: 'Zen Kaku Gothic Antique';
  src: url('../fonts/ZenKakuGothicAntique-Regular.woff2') format('woff2'),
       url('../fonts/ZenKakuGothicAntique-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Zen Kaku Gothic Antique';
  src: url('../fonts/ZenKakuGothicAntique-Medium.woff2') format('woff2'),
       url('../fonts/ZenKakuGothicAntique-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Zen Kaku Gothic Antique';
  src: url('../fonts/ZenKakuGothicAntique-Bold.woff2') format('woff2'),
       url('../fonts/ZenKakuGothicAntique-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* ==========================================
   Base Font (HOLUS仕様)
   ※ Astra のベースCSSを継承しつつ上書き
========================================== */

html, body {
  font-family: 'Zen Kaku Gothic Antique', 'Poppins', sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  color: #222;
  line-height: 1.7;
  overflow-x: hidden;
}

/* タイトル系は太さを調整 */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Zen Kaku Gothic Antique', 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  font-weight: 500;
  line-height: 1.4;
}

p {
  margin: 0;
  padding: 0;
  font-weight: 500;
  line-height: 1.8;
}

/* ==========================================
   Font Scale System（HOLUS版）
   文字サイズのみ段階的に縮小し、レイアウト崩れを防ぐ
========================================== */

/* ベース変数 */
:root {
  --text-scale: 1;
  --su: 1px;
}

/* ===========================
   BREAKPOINT: PCエリア
=========================== */

/* 1350〜1300px */
@media (max-width: 1350px) {
  :root { --text-scale: 0.90; }
}

/* 1300px以下 */
@media (max-width: 1300px) {
  :root { --text-scale: 0.85; }
}

/* 1200px以下 */
@media (max-width: 1200px) {
  :root { --text-scale: 0.80; }
}

/* ===========================
   BREAKPOINT: タブレット
=========================== */
@media (max-width: 992px) {
  :root { --text-scale: 0.90; }
}

/* ===========================
   BREAKPOINT: スマホ
=========================== */
@media (max-width: 768px) {
  :root { --text-scale: 0.95; }
}

@media (max-width: 500px) {
  :root { --text-scale: 0.95; }
}


/* ==========================================
   Font Utility Classes（HOLUS専用）
   全て text-scale に連動してサイズ変化
========================================== */

/* 大きめの見出し */
.h2-large {
  font-size: calc(60px * var(--text-scale));
  font-family: 'Zen Kaku Gothic Antique', 'Poppins', sans-serif;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

/* セクションタイトル用（通常） */
.h2-medium {
  font-size: calc(32px * var(--text-scale));
  font-family: 'Zen Kaku Gothic Antique', 'Poppins', sans-serif;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

/* 小見出し */
.h3-title {
  font-size: calc(20px * var(--text-scale));
  font-family: 'Zen Kaku Gothic Antique', 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

/* 通常本文 */
.text-base {
  font-size: calc(15px * var(--text-scale));
  font-family: 'Zen Kaku Gothic Antique', 'Poppins', sans-serif;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: #333;
}

/* 補足テキスト・説明文 */
.text-small {
  font-size: calc(13px * var(--text-scale));
  font-family: 'Zen Kaku Gothic Antique', 'Poppins', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: #555;
}

/* ==========================
   Astra 全幅調整（必要）
========================== */
.ast-container,
.ast-no-sidebar .site-content .ast-container,
.ast-plain-container .site-content > .ast-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.site-content {
  padding: 0 !important;
  margin: 0 !important;
}

.ast-icon.icon-arrow {
  display: none !important;
}

/* ==========================
   スクロールアニメーション（必要）
========================== */
.delay-1,
.delay-2,
.delay-3,
.delay-4 {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
}

.delay-1.show,
.delay-2.show,
.delay-3.show,
.delay-4.show {
  opacity: 1;
  transform: translateY(0);
}

/* 左からフェードイン */
.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
}

.fade-left.show {
  opacity: 1;
  transform: translateX(0);
}

/* 右からフェードイン */
.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
}

.fade-right.show {
  opacity: 1;
  transform: translateX(0);
}


/* ==========================================
   Section Base Spacing（HOLUS版）
   セクションごとの上下余白は 7% を基準とする
========================================== */

.section {
  padding: 7% 0;
}

/* タブレット */
@media (max-width: 1024px) {
  .section {
    padding: 8% 0;
  }
}

/* スマホ */
@media (max-width: 600px) {
  .section {
    padding: 10% 0;
  }
}


/* ==================================================================
   固定ヘッダー（PC & SP 共通）
================================================================== */
.holus-header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #fff;
}

/* 本文を押し下げる（PC/SPで高さを変える）*/
/*body {
  padding-top: 95px; 
}*/

/* 固定ヘッダー用の上余白：シングル記事ページのみ */
.single-post .holus-news-single-header-wrap {
  padding-top: 120px; /* ヘッダー高さと同じ値に */
}


@media (max-width: 1000px) {
  body {
    padding-top: 80px; /* SPヘッダーの高さ */
  }
}


/* ==================================================================
   PC 基本ヘッダー（非固定／デザイン維持）
================================================================== */
.holus-header-mega {
  width: 100%;
  position: relative; /* ← 固定NG。デザイン崩れ防止 */
  border-bottom: 1px solid #E9E6DF;
  background: #fff;
}

.holus-header-mega .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 95px;
  padding-left: 5%;
  padding-right: 0;
}

.holus-header-mega .logo img {
  height: 90px;
  width: auto;
  display: block;
  padding: 5px 0;
}


/* ==================================================================
   PC メニュー
================================================================== */
.holus-header-mega .nav-menu ul {
  display: flex;
  align-items: center;
  height: 95px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.holus-header-mega .nav-menu > ul > li > a,
.holus-header-mega .nav-menu > ul > li > .menu-label {
  font-size: 17px;
  font-weight: 600;
  color: #000;
  padding: 18px 25px;
  height: 95px;
  display: flex;
  align-items: center;
  position: relative;
  letter-spacing: 1px;
  text-decoration: none;
}

/* 下線 */
.holus-header-mega .nav-menu > ul > li > a::after,
.holus-header-mega .nav-menu > ul > li > .menu-label::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #CF3E43;
  position: absolute;
  bottom: 18px;
  left: 25px;
  transition: width .25s ease;
}

.holus-header-mega .nav-menu > ul > li:hover > a::after,
.holus-header-mega .nav-menu > ul > li:hover > .menu-label::after {
  width: calc(100% - 50px);
}

/* 矢印 */
.holus-header-mega .nav-menu ul > li.has-mega > .menu-label {
  padding-right: 32px;
}

.holus-header-mega .nav-menu ul > li.has-mega > .menu-label::before {
  content: "\25BE";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-45%);
  font-size: 16px;
  color: #333;
  pointer-events: none;
}


/* ==================================================================
   PC メガメニュー
================================================================== */
.holus-header-mega .mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #FFF;
  padding: 25px 60px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 22px rgba(0,0,0,0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: all .25s ease;
}

.holus-header-mega .has-mega:hover .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-inner {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  height: 200px;
}

.mega-title {
  font-size: 20px;
  font-weight: 600;
  min-width: 200px;
  color: #333;
}

.mega-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.mega-links a {
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  position: relative;
}

.mega-item-left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.mega-item-left::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 2px;
  width: 100%;
  background: #CF3E43;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.mega-links a:hover .mega-item-left::after {
  transform: scaleX(1);
}

.mega-arrow {
    width: 20px;
    height: 20px;
    background: #CF3E43;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 2px;
}


/* ==================================================================
   PC お問い合わせ
================================================================== */
.holus-header-mega .header-btn a {
  background: #CF3E43;
  color: #fff !important;
  height: 95px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0;
}


/* ==================================================================
   PC / SP 表示切替
================================================================== */
.pc-only { display: block; }
.sp-only { display: none; }

@media (max-width: 1000px) {
  .pc-only { display: none !important; }
  .sp-only { display: flex !important; }
}


/* ==================================================================
   SP ヘッダー（非固定）
================================================================== */
@media (max-width: 1000px) {
  .holus-sp-header {
    align-items: center;
    justify-content: space-between;
    height: 85px;
    padding: 0 0 0 20px;
    background: #ffffff;
    border-bottom: 1px solid #E9E6DF;
    z-index: 10;
  }

  .holus-sp-header .sp-logo img {
    height: 60px;
    width: auto;
  }

  .sp-menu-btn {
    width: 85px;
    height: 85px;
    background: #D94848 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    outline: none !important;
    padding-bottom: 5px;
  }

  .icon-lines {
    width: 24px;
    height: 2px;
    background: #fff;
    position: relative;
  }
  .icon-lines::before,
  .icon-lines::after {
    content: "";
    width: 24px;
    height: 2px;
    background: #fff;
    position: absolute;
    left: 0;
  }
  .icon-lines::before { top: -6px; }
  .icon-lines::after { top: 6px; }

  .sp-menu-btn .menu-text {
    font-size: 12px;
    margin-top: 8px;
    color: #fff !important;
    font-weight: 600;
  }
}


/* ==================================================================
   SP メニュー（右からスライドイン）
================================================================== */
@media (min-width: 1001px) {
  #holusSpMenu { display: none !important; }
}

@media (max-width: 1000px) {

  #holusSpMenu.sp-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: #FCF7F8;
    z-index: 99999;
    transform: translateX(60%);
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    transition:
      transform 0.45s cubic-bezier(.25,.8,.25,1),
      opacity 0.45s ease;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
  }

  #holusSpMenu.sp-menu-panel.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .sp-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none !important;
    border: none !important;
    font-size: 18px;
    font-weight: bold;
    color: #222 !important;
    cursor: pointer;
    box-shadow: none !important;
  }

  #holusSpMenu .inner {
    padding: 40px 26px 80px;
    overflow-y: auto;
    height: calc(100vh - 80px);
  }

  #holusSpMenu ul.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #holusSpMenu ul.menu-list > li {
    border-bottom: 1px solid #ddd;
    padding: 1.2em 0;
  }
 
  #holusSpMenu a {
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    color: #000;
  }

  #holusSpMenu .sub-head {
    background: none;
    border: none;
    padding: 0;
    width: 100%;
    font-size: 17px;
    font-weight: 600;
    color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    box-shadow: none;
    padding: 0.4em 0;
  }

  #holusSpMenu .toggle {
    font-size: 24px;
    font-weight: bold;
  }

  #holusSpMenu .sub-list {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    transition: max-height 0.35s ease;
  }

  #holusSpMenu .sub-list a {
    font-size: 15px;
    padding: 6px 0;
    color: #333;
    display: block;
  }

  #holusSpMenu .has-sub.open .sub-list {
    padding-top: 10px;
  }
}


/* ==================================================================
   SP タップハイライト無効
================================================================== */
.sp-menu-btn,
.sp-menu-btn *,
.sp-close-btn,
.sp-close-btn * {
  -webkit-tap-highlight-color: transparent !important;
}


/* ------------------------------
   footer設定
------------------------------ */
.footer-border {
  width: 100%;       
  max-width: 90%;      
  height: 1px;
  background: #faf6f2;
  margin: 0 auto; 
  padding: 0 5%;      
}


.holus-footer {
  width: 100%;
  background: #ffffff;
  padding: 5% 0 0;
}

/* 上段：2カラム */
.footer-top {
  
  margin: 0 auto;
  padding: 0 5% 5%;
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

/* 左カラム */
.footer-left img {
  max-width: 180px;
  height: auto;
  margin-bottom: 20px;
}

.footer-company-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-company-address {
  font-size: 14px;
  line-height: 1.7;
  color: #000;
}

/* =====================================
   FOOTER NAV：4カラム × 2段（揃えて配置）
===================================== */
.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  column-gap: 60px;
  row-gap: 40px;
}

/* 親メニュー */
.footer-nav > li > a {
  font-weight: 700;
  font-size: 15px;
  color: #333;
  text-decoration: none;
}

/* 子メニュー */
.footer-nav li ul {
  margin-top: 10px;
  padding-left: 0;
}
.footer-nav li ul li {
  margin-bottom: 6px;
}
.footer-nav li ul li a {
  font-size: 14px;
  color: #000;
  font-weight: 500;
}

.footer-nav li ul li {
  list-style: none; /* 標準の●を消す */
  position: relative;
  padding-left: 14px; /* ハイフン分の余白 */
}

.footer-nav li ul li::before {
    content: "―";
    position: absolute;
    left: -10px;
    top: 5px;
    color: #000;
    font-size: 14px;
    line-height: 1.4;
}

/* 子を持つ親はクリック無効 */
.footer-nav .menu-item-has-children > a {
  pointer-events: none;
  cursor: default;
}


/* ================================
   ▼ 各項目の配置
   WPメニューの並び順に従う
================================ */

/* 1段目：上段 */
.footer-nav > li:nth-child(1) { grid-column: 1; grid-row: 1; } /* HOME */
.footer-nav > li:nth-child(2) { grid-column: 2; grid-row: 1; } /* MISSION */
.footer-nav > li:nth-child(3) { grid-column: 3; grid-row: 1; } /* PRODUCT */
.footer-nav > li:nth-child(4) { grid-column: 4; grid-row: 1; } /* ABOUT */

/* 2段目：下段（縦に揃える） */
.footer-nav > li:nth-child(5) { grid-column: 2; grid-row: 2; } /* NEWS → MISSION列へ */
.footer-nav > li:nth-child(6) { grid-column: 3; grid-row: 2; } /* RECRUIT → PRODUCT列へ */
.footer-nav > li:nth-child(7) { grid-column: 4; grid-row: 2; } /* お問い合わせ → ABOUT列へ */


/*-------------------------------
  footerレスポンシブ
  ----------------------------*/
@media(max-width:1000px){
  .footer-nav{
    gap: 20px;
  }
}


@media screen and (max-width: 500px) {
  .footer-nav {
    display: block;
  }
  .footer-nav > li {
    margin-bottom: 20px;
  }

  .footer-top{
    align-items: center;
  }
}


/* ------------------------------
   SP（〜768px）
------------------------------ */
@media screen and (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
    padding: 0 5% 10%;
  }

  .footer-nav {
    flex-direction: column;
    gap: 24px;
  }

  .footer-left img {
    max-width: 150px;
}

.holus-footer {
    padding: 10% 0 0;
}
}

/* ================================
   Footer bottom（コピーライト帯）
================================ */
.footer-bottom {
  width: 100%;
  background: #CF3E43; /* HOLUSレッド */
  text-align: center;
  padding: 18px 0;
}

.footer-copy {
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.05em;
}

/* =========================================================
   ▼ 下層ページ共通ヘッダー
   class: .holus-sub-header
========================================================= */
.holus-sub-header {
  width: 100%;
  display: block;
  margin: 0 auto;
  padding: 7% 5% 3% 5%;
  background: #ffffff;
  border-bottom: none;      
  position: relative;        
}

/* ▼ 下線：左右 5% の内側に引く */
.holus-sub-header::after {
  content: "";
  position: absolute;
  left: 5%;                 
  right: 5%;
  bottom: 0;
  height: 1px;
  background: #CF3E43;
}


/* =========================================================
   ▼ 上部コンテナ（2カラム＋パンくず）
========================================================= */
.sub-header-top {
  display: block;
  max-width: 1300px;
  margin: 0 auto;
  margin-bottom: 10px;
}

/* 左：英字タイトル（親メニュー名または英表記） */
.sub-header-menu-title {
  font-family: "Poppins", sans-serif;
  font-size: 60px;
  font-weight: 600;
  color: #CF3E43;
  margin: 0;
  line-height: 1.1;
  position: relative;
  padding-bottom: 20px; /* 下線の余白 */
}

/* 右：パンくず */
.sub-header-right {
  display: flex;
  align-items: flex-end;
}

.sub-header-breadcrumb {
  font-size: 13px;
  color: #cf3e43;
  font-weight: 600;
}


/* =========================================================
   ▼ 上部コンテナ下の下線（サブライン）
========================================================= */
.sub-header-top-border {
  width: 100%;
  height: 1px;
  background: #F0E7DF;
  margin: 18px 0 25px 0;
}


/* =========================================================
   ▼ 下部コンテナ（日本語タイトル）
========================================================= */
.sub-header-bottom {
  width: 100%;
}

.sub-header-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

/* ● マーカー（赤丸） */
.sub-header-title::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 8px;
  color: #CF3E43; /* HOLUSレッド */
  font-size: 10px;
}

/* =========================================================
   ▼ レスポンシブ
========================================================= */

@media (max-width: 1000px) {
  .sub-header-menu-title {
    font-size: 32px;
  }
  .sub-header-title {
    font-size: 30px;
  }

  section.holus-sub-header {
    margin-top: -30px;
  }
}

@media (max-width: 768px) {
  .holus-sub-header {
    padding: 10% 5%;
    margin-top: 4rem!important;
  }

  .sub-header-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .sub-header-breadcrumb {
    font-size: 12px;
  }

  .sub-header-menu-title {
    font-size: 30px;
  }

  .sub-header-title {
    font-size: 26px;
  }

  .sub-header-title::before {
    top:12px;
  }
}

@media (max-width: 500px) {
  .sub-header-menu-title {
    font-size: 40px;
  }
  .sub-header-title {
    font-size: 22px;
  }
}


/* ============================================================
   ▼ 最下部セクション（すべての下層ページで共通）
   - 幅100%
   - 左下だけ丸み130px
   - 背景色はページ毎のクラスで変更
=========================================================== */

.holus-last-section {
  width: 100%;
  padding: 40px 5% 20px;
  border-bottom-left-radius: 80px;
  position: relative;
}


/* ============================================================
   ▼ 最下部ナビ（共通）
   - 背景に影響されるのはholus-last-section側
=========================================================== */

.holus-bottom-nav {
  width: 100%;
}


/* ============================================================
   ▼ 中央コンテナ（最大1300px）
   - パンくずと「TOPへ戻る」をここで左右に配置
=========================================================== */

.holus-bottom-inner {
  max-width: 1300px;
  margin: 0 auto 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* ============================================================
   ▼ パンくず
=========================================================== */

.holus-bottom-breadcrumb {
  font-size: 13px;
  color: #CF3E43;
  font-weight: 600;
}

.holus-bottom-breadcrumb a {
  color: #616161;
  text-decoration: none;
  transition: opacity .25s ease;
}

.holus-bottom-breadcrumb a:hover {
  opacity: 0.6;
}


/* ============================================================
   ▼ TOPへ戻るリンク
=========================================================== */

.holus-back-to-top {
  font-size: 14px;
  font-weight: 600;
  color: #CF3E43;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity .25s ease;
  cursor: pointer;
}

.holus-back-to-top:hover {
  opacity: 0.6;
}


/* ============================================================
   ▼ SP（768px以下）
=========================================================== */

@media (max-width: 768px) {
  .holus-bottom-inner {
    flex-direction: initial;
    gap: 14px;
    text-align: center;
    padding: 0 5%;
  }


  .holus-back-to-top {
    font-size: 13px;
  }
}


/* ============================================================
   ▼ ページ別背景色指定（ここに全て追加できる）
   ※ class="holus-last-section {post-slug}-last"
=========================================================== */

/* ▼ About */
.about-last {
  background: #FFFFFF;
}

/* ▼ Mission */
.mission-last {
  background: #ffffff;
}

/* ▼ Philosophy */
.philosophy-last {
  background: #ffffff;
}

/* ▼ SDGs */
.sdgs-last {
  background: #FAF6F2;
}

/* ▼ Company */
.company-last {
  background: #FAF6F2;
}

/* ▼ Recruit */
.recruit-last {
  background: #FFFFFF;
}

/* ▼ Service */
.service-last {
  background: #FAF6F2;
}
/* ▼ solution */
.solution-last {
  background: #ffffff;
}
/* ※ 必要に応じて追加してください */
/* .{slug}-last { background:#xxxxxx; } */



/* =======================================================
   ▼ 汎用設定（全 Learn More ボタン共通）
======================================================= */
.holus-learn-more,
.holus-learn-more * {
  box-sizing: border-box;
}

/* =======================================================
   ▼ ① Learn More（赤 / 基本形）
======================================================= */
.holus-learn-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;

  font-family: "Zen Kaku Gothic Antique", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #1A1A1A;

  background: transparent;
  border: none;
  height: 3rem; /* 丸の高さ */
}

/* 背景丸 */
.holus-learn-more .circle {
  position: absolute;
  left: 0;
  top: 0;
  width: 3rem; /* 初期丸サイズ */
  height: 3rem;
  background: #CF3E43; /* 赤 */
  border-radius: 999px;
  transition: width .45s cubic-bezier(0.65,0,.076,1);
  z-index: 0;
}

/* 矢印 */
.holus-learn-more .icon.arrow {
  position: absolute;
  top: 50%;
  left: 0.8rem;
  width: 18px;
  height: 2px;
  background: #fff;
  transform: translateY(-50%);
  transition: transform .45s cubic-bezier(0.65,0,.076,1);
  z-index: 1;
}

.holus-learn-more .icon.arrow::before {
  content: "";
  position: absolute;
  top: -3px;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

/* テキスト */
.holus-learn-more .button-text {
  position: relative;
  z-index: 2;
  padding: 0 1.8rem 0 4.6rem;
  white-space: nowrap;
  transition: color .45s cubic-bezier(0.65,0,.076,1);
}

/* Hover */
.holus-learn-more:hover .circle {
  width: 100%; /* 横に伸びるアニメ */
}

.holus-learn-more:hover .icon.arrow {
  transform: translate(6px, -50%);
}

.holus-learn-more:hover .button-text {
  color: #fff;
}

/* =======================================================
   ▼ ② Learn More（緑 / SDGs バージョン）
======================================================= */
.sdgs-learn-more .circle,
.sdgs-learn-more:hover .circle {
  background: #50b734 !important; /* 緑 */
      border-color: #50b734;
}

.sdgs-learn-more .button-text,
.sdgs-learn-more:hover .button-text {
  color: #ffffff !important;
}

/* ===============================
   NEWS Single Page（シンプル版）
=============================== */

section.holus-news-single {
    background: #ffffff;
    max-width: 1100px;
    margin: 0 auto;
    padding: 3% 0;
}
.news-single-header {
  max-width: 1300px;
  margin: 120px auto 30px; /* 固定ヘッダーとの距離確保 */
  padding: 0 20px;
}

.news-single-title {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
  position: relative;
  padding-left: 18px; 
}

.news-single-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 3px;
  height: 40px;
  background: #CF3E43; /* HOLUS レッド */
  border-radius: 2px;
}



.news-single-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.news-single-date {
  font-size: 14px;
  color: #000000;
}

.news-category-badge {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 9999px;
  background: #ffffff; /* 既存バッヂ色に合わせる */
  color: #000000;
  border: 1px solid #cf3e43;
}


/* パンくず */
.news-breadcrumb {
    max-width: 1300px;
    padding: 10% 20px 20px;
    font-size: 14px;
    color: #cf3e43;
    font-weight: 600;
    margin: 0 auto;
}

.news-breadcrumb a {
  color: #999;
  text-decoration: none;
}

.news-breadcrumb a:hover {
  color: #CF3E43;
}

/* 2カラム */
.news-single-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 60px;
  padding: 0 20px;
  margin-top: 50px;
}

/* 本文エリア */
.news-single-content {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
}

.news-single-content img {
  max-width: 100%;
  height: auto;
  margin: 24px 0;
}

/* サイドバー */
.news-single-sidebar {
  padding-top: 10px;
}

.news-sidebar-block {
    margin-bottom: 40px;
    padding: 20px 15px;
    border: 1px solid #c9c9c9;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    position: absolute;
    padding-left: 13px;
}

h3.sidebar-title:before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 3px;
  height: 18px;
  background: #CF3E43; /* HOLUS レッド */
  border-radius: 2px;
}


/* リスト */
.news-category-list,
.news-archive-list {
  list-style: none;
  padding: 0;
  margin: 35px 0 0;
}

.news-category-list li,
.news-archive-list li {
  margin-bottom: 10px;
}

.news-category-list a,
.news-archive-list a {
  text-decoration: none;
  color: #444;
  font-size: 14px;
}

.news-category-list a:hover,
.news-archive-list a:hover {
  color: #CF3E43;
}

/* 戻るボタン */
.news-back-btn {
  max-width: 1300px;
  margin: 60px auto 0;
  text-align: left;
  padding: 0 20px 10%;
}

/* SP対応 */
@media (max-width: 1000px) {
  .news-single-container {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  section.holus-news-single {
        padding: 0 5%;
        margin-top: -15px;
    }
.news-single-header {
  max-width: 1300px;
  margin: 120px auto 30px; /* 固定ヘッダーとの距離確保 */
  padding: 0 ;
}

.news-single-title {
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
  position: relative;
  padding-left: 18px; 
}

.news-single-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 3px;
  height: 40px;
  background: #CF3E43; /* HOLUS レッド */
  border-radius: 2px;
}

.news-single-date {
  font-size: 14px;
  color: #141414;
  font-weight: 500;
  padding-left: 21px;
}

/* パンくず */
.news-breadcrumb {
    max-width: 1300px;
    padding: 85px 5% 20px;
    font-size: 14px;
    color: #cf3e43;
    font-weight: 600;
}

.news-breadcrumb a {
  color: #999;
  text-decoration: none;
}

.news-breadcrumb a:hover {
  color: #CF3E43;
}

  .news-breadcrumb {
    margin: 0 auto;
    padding: 80px 0 0;
}

.news-single-header {
    margin: 50px auto;
}

ul.news-category-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

ul.news-archive-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.news-back-btn {
        padding: 0 0 15%;
        margin: 20px auto 0;
    }

    .news-category-list, .news-archive-list{
      list-style: none;
    padding: 0;
    margin: 40px 0 0;

    }
}

/* =========================
   NEWS一覧（ブログ）専用
========================= */
body.blog .subpage-content {
  padding: 7% 5% 10%;
}

body.blog .subpage-inner {
  max-width: 1300px;
  margin: 0 auto;
}


/* =========================
   カテゴリー一覧専用：カテゴリーバッヂ
========================= */
.news-category-menu {
  max-width: 1300px;
}


/* =========================
   NEWS一覧 共通（category / 年次 / 月次）
========================= */
body.category .subpage-content,
body.date .subpage-content {
  padding: 7% 5% 10%;
}

body.category .subpage-inner,
body.date .subpage-inner {
  max-width: 1300px;
  margin: 0 auto;
}

/* =========================
   代表挨拶ページ
========================= */
body.page-id-1003 .subpage-content {
  padding: 7% 5% 10%;
}

body.page-id-1003 .subpage-inner {
  max-width: 1300px;
  margin: 0 auto;
}

/* 代表挨拶 本文のみ */
body.page-id-1003 .company-greeting-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 24px;
}

body.page-id-1003 .company-greeting-body p {
  margin-bottom: 1.6em;
}

body.page-id-1003 .company-greeting-sign {
  margin-top: 40px;
  text-align: right;
}
/* =========================
   代表挨拶
========================= */

.company-greeting-title {
  text-align: center;
  font-size: 32px;
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 16px;
}

.company-greeting-title-line {
  width: 60px;
  height: 2px;
  background: #CF3E43; /* HOLUSレッド */
  margin: 0 auto 40px;
}

.company-greeting-body p {
  line-height: 1.8;
  margin-bottom: 1.6em;
}

.company-greeting-sign {
  margin-top: 48px;
  text-align: right;
}

.company-greeting-company {
  font-size: 14px;
  margin-bottom: 4px;
}

.company-greeting-name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
}



/* =======================================================
   ▼ holus-sec-button（フェードイン時のラッパー）
======================================================= */
.holus-sec-button {
  margin-top: 32px;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  transition: all .6s ease;
  transition-delay: .55s;
}

.holus-sec-block.active .holus-sec-button {
  opacity: 1;
  transform: translateY(0);
}


/* ▼ holus-sec-block 共通アニメーションを無効化 */
.holus-sec-block.holus-no-anim {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* =======================================================
   ▼ ③ SP最適化（Learn More ボタン）
======================================================= */
@media (max-width: 768px) {
  .holus-learn-more {
    height: 2.4rem;
    font-size: 15px;
  }

  .holus-learn-more .circle {
    width: 2.4rem;
    height: 2.4rem;
  }

  .holus-learn-more .icon.arrow {
    left: 0.5rem;
    width: 15px;
  }

  .holus-learn-more .button-text {
    padding: 0 1.4rem 0 3.6rem;
  }
}


/* =======================================================
   ▼ ③ Contact（テキスト + 白丸矢印）
======================================================= */
.contact-right {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}

.contact-btn-text {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.contact-btn-circle {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #CF3E43;
  border-radius: 50%;
  font-size: 22px;
  transition: transform .3s ease;
}

.contact-right:hover .contact-btn-circle {
  transform: translateX(4px);
}

span.privacy-label-note a {
    text-decoration: underline;
}
/* =======================================================
   ▼ ③ Contactpageコンテナ調整
======================================================= */
.wp-block-column.is-layout-flow.wp-block-column-is-layout-flow {
    margin: 0 auto;
    padding: 5% 5% 10%;
}

/* =========================================================
   HOLUS 共通：セクションの登場アニメーション
   （PHILOSOPHY / PRODUCT / SDGS / NEWS などで共通）
========================================================= */
.holus-sec-block {
  opacity: 0;
  transform: translateY(40px);
  transition: all .8s ease-out;
}
.holus-sec-block.active {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   HOLUS 共通：横並び2カラムレイアウト
========================================================= */
.holus-sec-inner {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.holus-sec-left {
  flex: 0 0 40%;
}

.holus-sec-right {
  padding: 0 0 40px 0;
}


/* =========================================================
   HOLUS 共通：マスクタイトルアニメーション
   （OUR PHILOSOPHY、PRODUCTS、ABOUT など共通）
========================================================= */
.holus-sec-title {
  display: inline-block;
  line-height: 1.05;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 4.5vw;
  color: #CF3E43;
  overflow: hidden;
}

.holus-sec-title span {
  display: block;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .65s cubic-bezier(.25,.1,.25,1),
              opacity .65s ease;
}

.holus-sec-block.active .holus-sec-title span {
  transform: translateY(0);
  opacity: 1;
}

/* 2行目遅延 */
.holus-sec-title .en-bottom {
  transition-delay: .12s;
}


/* ============================================================
   HERO 全体レイアウト
============================================================ */
.holus-hero {
  width: 100%;
  height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
}

/* 上部：キャッチコピー（43vh） */
.holus-hero-top {
  height: 43vh;
  padding: 0 5%;
  display: flex;
  align-items: flex-end;
}

.hero-top-inner {
  width: 100%;
}

/* 下部：スライダー（高さは auto） */
.holus-hero-bottom {
  flex: 1;
  padding: 0;
  overflow: visible;
}


/* ============================================================
   英字 + 日本語 + スクロール
============================================================ */
.catch-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4vw;
}

/* スクロールダウン初期非表示 */
.scroll-hidden {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .8s ease, transform .8s ease;
}
.scroll-show {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   タイピングタイトル（英字）
============================================================ */
.typing-text {
  position: relative;
  display: inline-block;
  overflow: hidden;
  white-space: normal;
  line-height: 1.1;

  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.5vw;
  letter-spacing: 1.8px;
  color: #CF3E43;
}

.typing-inner {
  display: inline-block;
  border-right: 3px solid #CF3E43;
  padding-right: 4px;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  50% { border-color: transparent; }
}


/* ============================================================
   日本語コピー（フェード）
============================================================ */
.jp-copy {
  font-family: "Zen Kaku Gothic Antique", "Zen Kaku Gothic New", sans-serif;
  font-size: 3.7vw;
  letter-spacing: 2px;
  color: #02040F;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.jp-copy.show {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   スクロールダウン（既存コードそのまま）
============================================================ */
.container_01 {
  margin: 0;
  padding: 0;
  width: 150px;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  overflow: hidden;
}

.container_01 a:hover {
  opacity: 0.7;
}

.scroll-down_01 {
  position: relative;
  width: 200px;
  height: 200px;
  transform: scale(0.75);
  transform-origin: center center;
}

/* 回転文字 */
.circle-text_01 {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotate 20s linear infinite;
}

.circle-text_01 span {
  position: absolute;
  left: 50%;
  font-size: 16px;
  transform-origin: 0 100px;
  color: #CF3E43;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

/* 中央矢印 */
.arrow_01 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 50px;
  transform: translate(-50%, -50%);
  animation: scroll_01 3s infinite;
}

.arrow_01::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 2px;
  background-color: #CF3E43;
  transform: translateX(-50%);
}

.arrow_01::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-bottom: 2px solid #CF3E43;
  border-right: 2px solid #CF3E43;
  transform: translateX(-50%) rotate(45deg);
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes scroll_01 {
  0% { transform: translate(-50%, -50%) translateY(-10px); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translate(-50%, -50%) translateY(10px); opacity: 0; }
}


/* ============================================================
   スライダー
============================================================ */
.holus-hero-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.slider-track {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  animation: slideLoop 35s linear infinite;
}

.slide {
  flex: 0 0 calc((100% - 40px * 3) / 3.66);
}

/* 画像高さ（個別指定） */
.slide:nth-child(1) img { height: 59.4vh; }
.slide:nth-child(2) img { height: 49.5vh; }
.slide:nth-child(3) img { height: 54.1vh; }
.slide:nth-child(4) img { height: 58.1vh; }
.slide:nth-child(5) img { height: 46.2vh; }

.slide:nth-child(6) img { height: 59.4vh; }
.slide:nth-child(7) img { height: 49.5vh; }
.slide:nth-child(8) img { height: 54.1vh; }
.slide:nth-child(9) img { height: 58.1vh; }
.slide:nth-child(10) img { height: 46.2vh; }

.slide img {
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

@keyframes slideLoop {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ============================================================
   HEROモバイル
============================================================ */
@media (max-width: 1000px) {

  .holus-hero {
    height: auto;
    padding-bottom: 2%;
}
  
  .holus-hero-top {
      height: 20vh;
      margin-bottom: 15px;
  }

  .slide {
      flex: 0 0 calc((100% - 40px * 3) / 2.66);
  }

  /* scroll-container もサイズダウンする → 具体値が必要 */
  /* ※後で width/height/余白など指定してください */
  .scroll-container {
      transform: scale(0.85); /* 仮の縮小。数値は後で調整可能 */
  }

}

@media (max-width: 500px) {

  body {
      padding-top: 45px;
  }

  .holus-hero-top {
      height: 25vh;
      margin-top: 100px;
  }

  .scroll-container {
      display: none;
  }

  p.jp-copy {
      font-size: 40px;
      font-weight: 600;
      line-height: 1.5;
  }

  .typing-text {
      font-size: 25px;
  }

  .slide {
      flex: 0 0 calc((100% - 20px * 1) / 1.2);
  }

  .slide:nth-child(1) img {
      height: 53vh;
  }

  /* 500px以下：アニメーション速度を速く */
  .slider-track {
      animation: slideLoop 20s linear infinite;
      /* PCは 35s → SPは 25s として軽快に */
  }

}


/* =========================================================
   PHILOSOPHY 専用：右側テキスト
========================================================= */
.holus-sec-text {
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: all .6s ease;
  transition-delay: .35s;
  font-size: 16px;
  line-height: 2;
  color: #1A1A1A;
  font-weight: 600;
}

.holus-sec-block.active .holus-sec-text {
  opacity: 1;
  transform: translateY(0);
}



/* =========================================================
   PHILOSOPHY セクションレイアウト：セクション & コンテナ余白
========================================================= */
/* セクション全体の余白：左5%, 上10%, 下7% */
.holus-sec-block {
  padding: 10% 0 0% 5%;
}

/* 上部コンテナ（holus-sec-inner）から右paddingを削除 */
.holus-sec-inner {
  padding-right: 0;  /* ← これが重要 */
}


/* =========================================================
   PHILOSOPHY 専用：右側テキスト
========================================================= */
.holus-sec-text {
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: all .6s ease;
  transition-delay: .35s;
  font-size: 16px;
  line-height: 2;
  color: #1A1A1A;
  font-weight: 600;
}

.holus-sec-block.active .holus-sec-text {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   PHILOSOPHY 専用キャプション
========================================================= */
.caption-label {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 2.1vw;
  letter-spacing: 0.12em;
  color: #1a1a1a;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .caption-label {
    font-size: 16px;
  }
}

/* ================================
   HOLUS philosophy Gallery
================================ */
@media (min-width: 768px) {

  /* すべての img を本来の横並びレイアウトに戻す */
  .holus-about-gallery .gallery-inner {
      display: flex;
      gap: 40px;
      flex-wrap: nowrap;
      width: calc(100% + (33.33% * var(--show-rate)));
      padding: 2% 0% 7% 5%;
  }

  /* ★ gallery-row を無効化（中身の img を flex の子にする） */
  .holus-about-gallery .gallery-row {
      display: contents;  /* ← これが必須！ */
  }

  /* 3枚横並びのサイズ指定を復元 */
  .holus-about-gallery .gallery-row img {
      width: 33.33%;
      height: 470px;
      object-fit: cover;
      flex-shrink: 0;
  }

  /* 最後の画像の見切れを戻す */
  .holus-about-gallery img.last-img {
      margin-right: calc(-33.33% * (1 - var(--show-rate)));
  }

}


/* ============================================================
   1000px 以下（PHILOSOPHY）
============================================================ */
@media (max-width: 1000px) {

  .holus-sec-block {
      padding: 5% 0 0 5%;
  }

  .holus-sec-inner {
      display: block;
  }

  .caption-label {
      font-size: 40px;
  }

  .holus-learn-more {
      margin-top: 25px;
  }

  .holus-sec-right {
      padding: 0;
  }

  .holus-about-gallery {
      margin: 45px 0 10% 0;
  }
}


/* ============================================================
   500px 以下（PHILOSOPHY）
============================================================ */
@media (max-width: 500px) {

  .holus-sec-block {
      padding: 15% 0 0 5%;
  }

  .holus-sec-title {
      font-size: 30px;
  }

  .caption-label {
      font-size: 30px;
  }

  .holus-sec-text{
    margin-bottom: 15px;
  }

  .holus-about-gallery {
      margin: 30px 0% 15% 0;
  }

  .holus-about-gallery .gallery-inner {
      display: flex;
      flex-direction: column;
      gap: 15px;
      width: 100%; 
      margin: 0 0% 0 5%;
  }

  /* 上段2枚 */
  .holus-about-gallery .gallery-row.top-row {
      display: flex;
      gap: 20px;
  }

  /* 下段1枚（中央） */
  .holus-about-gallery .gallery-row.bottom-row {
      display: block;
      margin-right: -5%;
  }

  /* 画像サイズ（SP最適化） */
  .holus-about-gallery img {
      width: 50%;
      height: 200px;
      object-fit: cover;
  }

  /* 下段1枚だけ少し大きめ */
  .holus-about-gallery .gallery-row.bottom-row img {
      width: 100%;
  }

  .holus-learn-more {
        margin-top: 10px;
    }

    .holus-product-wrapper{
      padding: 15% 5%;
    }

}



/* =========================================================
   HOLUS TOP — PRODUCT SECTION
   （製品紹介 全体CSS）
   ---------------------------------------------------------
   ・Feature カード横3つ
   ・ラインナップ（LINEUP）
   ・業界別ソリューション
   ========================================================= */

   /* =========================================================
   製品紹介イントロ（上部タイトル＋リード）
========================================================= */
.holus-product-box{
  padding:60px 5%;
}

.holus-product-intro {
  text-align: center;
  padding: 00px 050px;
}

/* タイトル */
.product-intro-title {
  font-family: "Zen Kaku Gothic Antique", "Noto Sans JP", sans-serif;
  font-size: 2.5vw;
  font-weight: 700;
  margin: 0 0 18px;
  color: #1A1A1A;
}

/* リード大 */
.product-intro-lead-big {
  font-family: "Zen Kaku Gothic Antique", "Noto Sans JP", sans-serif;
  font-size: 1.5vw;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 15px;
}

/* リード通常 */
.product-intro-lead {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.9;
  color: #333;
  margin: 0;
}

span.lineup-sub-lead {
    font-size: 85%;
}

/* SP最適化 */
@media (max-width: 768px) {
  .product-intro-icon {
    width: 36px;
  }
  .product-intro-title {
    font-size: 26px;
  }
  .product-intro-lead-big {
    font-size: 18px;
  }
  .product-intro-lead {
    font-size: 15px;
  }
}

 /* ソリューション内の holus-sec-block は余白をなくす */
.holus-solution-section .holus-sec-block,
.holus-product-sec.holus-sec-block {
    padding: 0 !important;
}


/* ---------------------------------------------------------
   ① FEATURE — 製品紹介 横3カード
   --------------------------------------------------------- */

/* 横並びレイアウト */
.holus-feature-horizontal {
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* カード本体 */
.feature-card {
  flex: 1;
  background: #fff;
  border-radius: 30px;
  padding: 30px 30px 30px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

/* 左上バッジ */
.badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 88px;
  height: 80px;
  background: #04A777;
  color: #fff;
  font-size: 25px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #000;
  border-top-left-radius: 30px;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 色違いバッジ */
.badge-1 { background: #04A777; }
.badge-2 { background: #F2BE41; }
.badge-3 { background: #CF3E43; }

/* カード画像コンテナ */
.holus-feature-horizontal .feature-image-wrapper {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 16px;
}

/* 画像 */
.holus-feature-horizontal .feature-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* タイトル・文章 */
.feature-card h3 {
  margin: 15px 0;
}

.feature-card p {
  line-height: 1.8;
  color: #000;
}

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  .holus-feature-horizontal .feature-image-wrapper { height: 230px; }
}
@media (max-width: 1300px) {
  .holus-feature-horizontal .feature-image-wrapper { height: 210px; }
}
@media (max-width: 1150px) {
  .holus-feature-horizontal .feature-image-wrapper { height: 190px; }
  .holus-feature-horizontal { gap: 10px !important; }
}
@media (max-width: 992px) {
  .holus-feature-horizontal .feature-image-wrapper { height: 220px; }
}
@media (max-width: 770px) {
  .holus-feature-horizontal .feature-image-wrapper { height: 210px; }
  .feature-card { padding: 20px; }
  .badge { width: 65px; height: 65px; }
}
@media (max-width: 500px) {
  .holus-feature-horizontal { display: block; }
  .feature-card { margin-bottom: 20px; }
}



/* ---------------------------------------------------------
   ② LINEUP — 製品ラインナップ
   --------------------------------------------------------- */

.holus-product-lineup {
    text-align: center;
    padding: 35px 40px 50px;
    background-color: #fff;
    margin-top: 30px;
    border-radius: 30px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}


.holus-product-lineup .lineup-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

/* 見出しコンテナ */
.holus-lineup-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.holus-lineup-heading {
  text-align: center;
  margin-bottom: 40px;
  width: 100%;
}

/* 中央横並び */
.line-inner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

/* 英語 LINEUP */
.line-en {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 45px;
  letter-spacing: 0.08em;
  color: #1A1A1A;
}

/* 区切り｜ */
.line-divider {
  font-size: 20px;
  color: #999;
  margin: 0 4px;
}

/* 日本語 */
.line-ja {
  font-family: "Zen Kaku Gothic Antique", "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #333;
  letter-spacing: 0.05em;
}

/* 下線 */
.line-underline {
  width: 140px;
  height: 2px;
  background-color: #CF3E43;
  margin: 0 auto;
  border-radius: 4px;
}

/* SP縦並び */
@media (max-width: 600px) {
  .line-inner { flex-direction: column; gap: 4px; }
  .line-divider { display: none; }
}

/* 商品5つ横並び */
.lineup-items {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow-x: visible !important; /* ← これが必要 */
  overflow-y: visible !important; /* 念のため */
  margin-bottom: 30px;
}

.lineup-item {
  flex: 1 1 220px;
  max-width: 280px;
}

.lineup-item .thumb {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lineup-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ラベル非表示（デザイン仕様） */
.lineup-item .label {
  display: none !important;
}




/* ---------------------------------------------------------
   ③ SOLUTION — 業界別ソリューション
   --------------------------------------------------------- */

.holus-solution-section {
  padding: 0;
}

.holus-solution-inner {
  width: 100%;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  box-sizing: border-box;
}

.solution-item {
  display: flex;
  align-items: stretch;
  gap: 80px;
  background: #fff;
  padding: 48px 32px;
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.holus-solution-box {
    padding:60px 5%;
    margin-top:80px;
}

/* 画像 */
.solution-image {
  flex: 1 1 50%;
}

.solution-image img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

/* テキスト側 */
.solution-content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #000;
}

.solution-number {
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #CF3E43;
  font-size: 16px;
}

.solution-number span {
  display: inline-block;
  font-size: 350%;
  margin-left: 4px;
}

.solution-title {
  margin-bottom: 16px;
    font-size: calc(28px * var(--text-scale))!important;
    font-weight: 600;
    line-height: 2;
}

.solution-content .product-text {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 500;
}

.solution-btn-area {
  margin-top: auto;
}

/* PC 偶数番目反転 */
@media (min-width: 1025px) {
  .solution-item:nth-child(even) {
    flex-direction: row-reverse;
  }
}


/* PC 偶数番目 — holus-sec-block 反転 */
@media (min-width: 1025px) {
  .holus-sec-block:nth-child(even) .solution-item {
    flex-direction: row-reverse;
  }
}




/* -------- アニメーション無効化（SOLUTIONS 専用） -------- */
.holus-solution-section .holus-sec-block {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.holus-solution-section .holus-sec-block.active {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.holus-solution-section .holus-sec-button {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ▼ ラインナップのボタンだけ常時表示にする */
.holus-product-lineup .holus-sec-button {
  opacity: 1 !important;
  transform: translateY(0) !important;
  text-align: center !important; /* 中央寄せ */
  margin-top: 50px !important;
}

/* ================================================
   共通：ひし形パターン下線
================================ */

.holus-divider-pattern {
  width: 25%;
  height: 9.1px;
  margin: 24px auto 60px;
  background-repeat: repeat-x;
  background-size: 10.7px 9.1px;
  background-position: center;
}

/* 製品紹介：ボックスと同じグリーン #04A777 */
.product-divider {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' viewBox='0 0 24 24'%3E%3Cpath fill='%2304A777' d='M12.7,2.3c-0.4-0.4-1.1-0.4-1.5,0l-8,9.1c-0.3,0.4-0.3,0.9,0,1.2l8,9.1c0.4,0.4,1.1,0.4,1.5,0l8-9.1c0.3-0.4,0.3-0.9,0-1.2L12.7,2.3z'/%3E%3C/svg%3E");
}

/* ソリューション：ボックスと同じレッド #CF3E43 */
.solution-divider {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' viewBox='0 0 24 24'%3E%3Cpath fill='%23CF3E43' d='M12.7,2.3c-0.4-0.4-1.1-0.4-1.5,0l-8,9.1c-0.3,0.4-0.3,0.9,0,1.2l8,9.1c0.4,0.4,1.1,0.4,1.5,0l8-9.1c0.3-0.4,0.3-0.9,0-1.2L12.7,2.3z'/%3E%3C/svg%3E");
}



/* ================================================
   ▼ 個別カラー設定
   ================================================ */

/* ① 製品紹介ボックス (#CF3E43) */
.product-divider {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%25' viewBox='0 0 24 24' fill='%23CF3E43' stroke='none'%3E%3Cpath d='M12.7,2.3c-0.4-0.4-1.1-0.4-1.5,0l-8,9.1c-0.3,0.4-0.3,0.9,0,1.2l8,9.1c0.4,0.4,1.1,0.4,1.5,0l8-9.1c0.3-0.4,0.3-0.9,0-1.2L12.7,2.3z'/%3E%3C/svg%3E");
}

/* ② ソリューションボックス（#04A777） */
.solution-divider {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%25' viewBox='0 0 24 24' fill='%2304A777' stroke='none'%3E%3Cpath d='M12.7,2.3c-0.4-0.4-1.1-0.4-1.5,0l-8,9.1c-0.3,0.4-0.3,0.9,0,1.2l8,9.1c0.4,0.4,1.1,0.4,1.5,0l8-9.1c0.3-0.4,0.3-0.9,0-1.2L12.7,2.3z'/%3E%3C/svg%3E");
}

/* =====================================================
   PRODUCTレスポンシブ
===================================================== */
@media (max-width: 1000px) {

  /* gap だけ 35px に変更 */
  .solution-item {
      gap: 35px;
  }

  /* イントロタイトル */
  .product-intro-title {
      font-size: 35px;
  }

  .product-intro-lead-big {
      font-size: 20px;
  }

}
@media (max-width: 500px) {

  /* holus-product-box の margin-bottom が効かない → important 必須 */
  .holus-product-box {
      margin-top: 30px;
      margin-bottom: 20px !important;
  }

  /* 上部イントロの左右 padding を 0 に */
  .holus-product-intro {
      padding: 0;
  }

  /* ひし形下線を 65% に */
  .holus-divider-pattern {
      width: 65%;
  }

  /* タイトル調整 */
  .product-intro-title {
      font-size: 30px;
  }

  .product-intro-lead-big {
      font-size: 20px;
  }

  .lineup-items {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
  }

  /* 基本は2列 */
  .lineup-item {
      flex: 0 0 48%;
  }

  /* ★ 3枚目だけ 1列（中央表示） */
  .lineup-item:nth-child(3) {
      flex: 0 0 100%;
      text-align: center;
  }

  /* SOLUTION：画像 → 下、テキスト → 上 に入れ替え */
  .solution-item {
      flex-direction: column-reverse;
      padding-top: 20px;
  }

  /* PRODUCT wrapper の padding を 10% へ */
  .holus-product-wrapper {
      padding: 10% 5%!important;
  }

  .solution-number span{
    font-size: 250%;
  }

  .holus-solution-box {
    margin-top: 30px;
}

}


/* =====================================================
   SDGs セクション全体（背景 / padding 無効化）
===================================================== */
.holus-sdgs {
  background: #FAF6F2;
  padding: 0;
  width: 100%;
  position: relative;
}
.holus-sdgs__top-image{
  min-height:460px;
}


/* =====================================================
   上部画像コンテナ（全幅 / 最低460px / padding-bottom:7%）
===================================================== */
.holus-sdgs__top-image {
  width: 100%;
  min-height: 460px;
  padding-bottom: 7%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Sdgs.php 側で指定した画像を反映させる場合（推奨） */
.holus-sdgs__top-image {
  background-image: url("../img/sdgs/sdgs.jpeg");
}

/* =====================================================
   中央コンテナ（95%幅 / margin-right:5% / 負のマージン）
===================================================== */
.holus-sdgs__center-box {
  width: 95%;
  margin-right: 5%;
  margin-top: -200px;
  background: #6E633D;
  padding: 20px 40px 30px 40px;
  position: relative;
  z-index: 3;
  border-top-right-radius: 100px;
  
}

/* =====================================================
   SDGs 左右レイアウト
===================================================== */

.holus-sdgs--row {
  display: flex;
  justify-content: center;
  align-items: flex-start !important;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 40px;
}

.sdgs-left,
.sdgs-right {
  flex: 1;
  min-width: 0;
}

.sdgs-right {
  text-align: left;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-wrap: anywhere;
}

.sdgs-right .sdgs-text {
  max-width: 550px;
  margin-left: 0;
  margin-right: auto;
}



/* =====================================================
   左カラム（上下構成）
===================================================== */
.sdgs-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sdgs-left-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.sdgs-left-bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-right: 65px;
}

/* -----------------------------------------------------
   Lottieアニメの固定サイズ
----------------------------------------------------- */
.sdgs-lottie,
dotlottie-wc {
  width: 200px !important;
  height: 200px !important;
}

@media (max-width: 900px) {

  dotlottie-wc {
    width: 180px !important;
    height: 180px !important;
  }
}

@media (max-width: 600px) {
  dotlottie-wc {
    width: 160px !important;
    height: 160px !important;
  }
}

/* =====================================================
   タイトル・キャプション・本文カラー（白文字）
===================================================== */
.sdgs-caption {
  color: #fff !important;
}

.sdgs-text,
.holus-sec-text.sdgs-text {
  color: #ffffff !important;
  font-family: "Zen_Kaku_Gothic_Antique", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  white-space: normal;
}

/* =====================================================
   SDGs タイトルの背景クリップ
===================================================== */
.holus-sdgs__title-text {
  display: inline-block;
  font-family: "Poppins", "Zen_Kaku_Gothic_Antique", sans-serif;
  font-weight: 700;
  font-size: clamp(52px, 14vw, 100px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.1;
  background-image: url("../img/sdgs.jpeg");  
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -----------------------------------------------------
   スマホレイアウト
----------------------------------------------------- */
@media (max-width: 900px) {
  .holus-sdgs--row {
    flex-direction: column;
    gap: 40px;
    padding-top: 40px;
  }
  .sdgs-left .holus-sdgs__title,
  .sdgs-right {
    text-align: center;
  }
  .sdgs-right .sdgs-text {
    margin-left: auto;
    margin-right: auto;
  }
}

@media(max-width:500px){
  .holus-sdgs__top-image {
    min-height: 330px;
}

    .sdgs-left-bottom {
        display: flex!important;
        gap: 0px;
        margin-right: 0;
    }

        .holus-sdgs--row {
        flex-direction: column;
        gap: 15px;
        padding-top: 40px;
    }
}
/* ============================================
   SDGs セクション内の holus-sec-text を常時表示
   （共通の opacity:0 / transform を無効化）
============================================ */
.holus-sdgs .holus-sec-text {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* =====================================================
   SDGs 下部ループ（あなたの貼ったCSSを整理）
===================================================== */
.holus-loop {
  width: 100%;
  padding-top: 2%;
  padding-bottom: 3%;
  overflow: hidden;
  position: relative;
}

.holus-loop__box {
  display: flex;
  width: 100vw;
  padding: 5px 0;
}

.holus-loop__item {
      flex: 0 0 auto;
    white-space: nowrap;
    padding: 0 30px;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #F3EFE8;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.08), 0px 6px 12px rgba(0, 0, 0, 0.05);
    transform: scaleY(1.35);
    transform-origin: center;
    font-size: 100px;
    -webkit-text-stroke: 0.3px rgba(70, 60, 40, 0.15);
}

/* ループアニメ（左右交互） */
.holus-loop__item:nth-child(odd) {
  animation: holus-loop-left 20s -10s linear infinite;
}
.holus-loop__item:nth-child(even) {
  animation: holus-loop-right 20s linear infinite;
}

@keyframes holus-loop-left {
  0% {
    transform: translateX(100%) scaleY(1.35);
  }
  100% {
    transform: translateX(-100%) scaleY(1.35);
  }
}

@keyframes holus-loop-right {
  0% {
    transform: translateX(0%) scaleY(1.35);
  }
  100% {
    transform: translateX(-200%) scaleY(1.35);
  }
}

/* SP調整 */
@media (max-width: 769px){
  .holus-loop__item {
    font-size: 60px;
    padding: 0 20px;
    transform: scaleY(1.2);
  }
}



/* ============================
   NEWS セクション（基本レイアウト）
============================ */
.news-wrepper .holus-sec-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* ============================
   NEWS カテゴリーボタン
============================ */
.news-category-menu {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  margin-top: 40px;
  
}

.news-cat-btn {
  display: inline-block;
  padding: 8px 20px;
  background: #F0E7DF;
  color: #1A1A1A;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.05em;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.news-cat-btn:hover {
  background: #CF3E43;
  color: #fff;
}

.news-cat-btn.active {
  background: #CF3E43;
  color: #fff;
}

/* ============================
   NEWS リスト（3カードレイアウト）
============================ */
.news-list-wrapper {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 40px;
  margin-top: 40px;
  padding: 0 0 2%;
}

@media (min-width: 768px) {
  .news-list-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .news-list-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =============================
   NEWSカード（Swiper有無共通）
============================= */
.news-card {
  position: relative;
  display: block;
  color: #1A1A1A;
  border-radius: 10px;
  transition: transform .3s ease;
  padding: 0 0 12px;
}

.news-card:hover {
  transform: translateY(-3px);
}

/* ▼ カード全体クリック用（擬似リンク） */
.news-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* 画像 */
.news-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform .4s cubic-bezier(.25,.1,.25,1);
}

.news-card:hover .news-img img {
  transform: scale(1.05);
  box-shadow: inset 0 0 12px rgba(0,0,0,0.15);
}

/* メタ情報 */
.news-meta {
  position: relative;
  z-index: 2; /* ← 擬似リンクより前に */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 2px;
}

.news-date {
  font-size: 14px;
  color: #000;
  font-weight: 500;
}

.news-cat-wrap {
  display: flex;
  gap: 8px;
  margin-left: -8px;
}

.news-cat {
  font-size: 12px;
  padding: 2px 14px;
  border-radius: 30px;
  border: 1px solid #CF3E43 !important;
  color: #000;
  white-space: nowrap;
  font-weight: 500;
  position: relative;
  z-index: 2; /* ← クリック可能にする */
}

/* タイトル */
.news-title {
  position: relative;
  z-index: 2;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin: 16px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-title a {
  position: relative;
  z-index: 2;
  color: #1A1A1A;
  text-decoration: none;
}


/* 抜粋 */
.news-excerpt {
  position: relative;
  z-index: 2;
  font-size: 14px;
  color: #000;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.4em;
}

@media (min-width:1025px) {
  .news-excerpt { min-height: 3.8em; }
}

@media (min-width:768px) and (max-width:1024px) {
  .news-excerpt { min-height: 3.4em; }
}

@media (max-width:767px) {
  .news-excerpt { min-height: 3.0em; }
}

/* =========================================================
   NEWS レスポンシブ
====================================================== */
@media(max-width:500px){
  a.news-cat-btn {
    padding: 3px 15px;
    font-size: 12px;
  }

  .news-category-menu {
    gap: 5px;
    margin-top: 25px;
  }

  .news-list-wrapper {
    margin-top: 30px;
  }

  .news-title {
    font-size: 18px;
  }
}

/* =============================
   NEWS Read More
============================= */
.news-pagination-readmore {
  text-align: center;
  margin: 30px auto 0;
}

#news-load-more {
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: #CF3E43;
  cursor: pointer;
  position: relative;
  letter-spacing: 0.05em;
}

#news-load-more {
    background: none;
    border: none;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
    color: #CF3E43;
    cursor: pointer;
    position: relative;
    letter-spacing: 0.05em;
    box-shadow: none;
}

#news-load-more:hover::after {
  transform: scaleX(1);
}

/* 初期表示はそのまま表示 */
.news-list-wrapper .news-card {
  opacity: 1;
  transform: none;
}

/* Ajax追加分だけアニメーション */
.news-card {
  transition: opacity .6s ease, transform .6s ease;
}

.news-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   ABOUT セクション（全体）
========================================================= */
.holus-about-section {
  width: 100%;
  padding: calc(100px * var(--text-scale)) 0;
  color: #fff; /* 標準文字色：白 */
  padding-left: 0;
  padding-right: 0;
}

.holus-about-section.holus-sec-block {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.holus-about-inner{
padding:2% 5% 5% 5%; 
width:100%; 
height:100%;
}


/* ============================
   見出し部分
============================ */
.holus-about-section .about-head-text {
  text-align: center;
  margin-bottom: calc(60px * var(--text-scale));
}

.holus-about-section .about-head-title-en {
  font-size: 4.5vw;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: calc(10px * var(--text-scale));
}

.holus-about-section .about-lead {
  font-size: calc(22px * var(--text-scale));
  font-weight: 700;
  color: #fff;
}

/* =========================================================
   ABOUT カード（3カラム）
========================================================= */
.holus-about-section .about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(40px * var(--text-scale));
  width: 100%;
  margin: 0 auto;
  height: 300px;
}

/* カード本体 */
.holus-about-section .about-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(35px * var(--text-scale));
  border-radius: 20px;
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease;
}

/* ガラス風デザイン */
.holus-about-section .glass-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* ホバー */
.holus-about-section .about-card:hover {
  transform: translateY(-4px);
}

/* タイトル */
.holus-about-section .about-card-title {
  font-size: calc(28px * var(--text-scale));
  font-weight: 700;
  color: #fff;
  margin-bottom: calc(20px * var(--text-scale));
}

/* 説明文 */
.holus-about-section .about-card-desc {
  font-size: calc(16px * var(--text-scale));
  opacity: 0.9;
  line-height: 1.7;
}

/* 矢印 */
.holus-about-section .about-arrow {
  font-size: calc(30px * var(--text-scale));
  margin-left: calc(15px * var(--text-scale));
  font-weight: 700;
  color: #fff;
}

/* =========================================================
   SP レスポンシブ
========================================================= */
@media(max-width: 1000px){
  .holus-about-section .about-card {
      height: 250px;
  }
}

@media(max-width: 500px){
  .holus-about-section .about-cards {
    grid-template-columns: 1fr;
    height: auto;
  }

  .holus-about-section .about-head-title-en {
    font-size: 35px;
}

  .holus-about-inner{
    padding: 10% 5% 15%;
  }

  .holus-about-section .about-card {
    height: auto;
    padding: 30px;
  }

  .holus-about-section .about-card-title {
    font-size: 20px;
  }

  .about-cards {
    height: auto;
}
}

/*=================================
  リクルートセクション
================================*/

/* ▼ コンテナ */
.holus-recruit-container {
  padding: 5%;
}

/* ▼ 2カラムレイアウト（新構成） */
.holus-recruit-two-col {
  display: grid;
  grid-template-columns: 1.6fr 1.5fr; 
  gap: 40px;
  align-items: center;
}

/* ▼ 左：タイトル＋テキスト */
.recruit-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

/* ▼ 右：画像 */
.holus-recruit-right img.recruit-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}

/* =========================
   External Button（外部リンク専用）
   ※ ボタン仕様は変更なし
========================= */

.holus-external-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.holus-external-button .external-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #cf3e43;
  display: flex;
  align-items: center;
  justify-content: center;
}

.holus-external-button .external-circle .arrow {
  transition: transform 0.3s ease;
  color: #fff;
}

.holus-external-button:hover .external-circle .arrow {
  transform: translateX(4px);
}

.holus-external-button .external-text {
  color: #000;
  font-weight: 500;
}

.holus-external-button .external-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
}

.holus-external-button .external-icon img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   Responsive
========================= */

@media (max-width: 1000px) {
  .holus-recruit-two-col {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .holus-recruit-right img.recruit-img {
    height: 360px;
  }
}

@media (max-width: 500px) {
  .holus-recruit-container {
    padding: 10% 5%;
  }

  .holus-recruit-right img.recruit-img {
    height: 250px;
  }
}


/* =========================================================
   CONTACT SECTION
   - 背景 #F0E7DF（section側）
   - holus-contact-box：赤背景・白ボタン
========================================================= */
/* ABOUT セクションだけ .holus-sec-block の左右余白を無効化 */
.holus-about-section.holus-sec-block,
.holus-sec-block.holus-about-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ---------------------------------------------------------
   CONTACT BOX（外側コンテナ）
--------------------------------------------------------- */
.holus-contact-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 70px 80px;
  background: #CF3E43;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  min-height: 420px;
  transition: transform .3s ease, box-shadow .3s ease;
}

/* ホバー */
.holus-contact-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ---------------------------------------------------------
   左ブロック（英語タイトル＋リード）
--------------------------------------------------------- */
.contact-left-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* CONTACT 英語タイトル */
.contact-title-en {
  font-family: "Poppins", sans-serif;
  font-size: 4vw;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  margin: 0;
}

/* リード文 */
.contact-lead {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.8;
  color: #fff;
  margin: 0;
}

/* ---------------------------------------------------------
   右側（テキスト＋白丸ボタン）
--------------------------------------------------------- */
.contact-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-btn-text {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

/* 白丸ボタン */
.contact-btn-circle {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #CF3E43;
  border-radius: 50%;
  font-size: 22px;
  transition: transform .3s ease;
}

/* ホバー時：矢印が前に進む */
.holus-contact-box:hover .contact-btn-circle {
  transform: translateX(6px);
}

/* ---------------------------------------------------------
   SP レスポンシブ
--------------------------------------------------------- */
@media (max-width: 768px) {
    .holus-contact-box {
        flex-direction: column;
        text-align: center;
        padding: 50px 30px;
        gap: 40px;
        min-height: auto;
        margin-bottom: 10%;
    }

  .contact-left-block {
    align-items: center;
  }

  .contact-title-en {
    font-size: 40px;
  }

  .contact-lead {
    font-size: 16px;
  }
}


/* ===================================================
   COMPANY PROFILE / ACCESS
=================================================== */

/* ---------- 共通 ---------- */

.company-profile {
  width: 100%;
  padding: 7% 0 8%;
}

.company-profile-inner,
.company-access-inner {
  max-width: 1300px;
  margin: 0 auto;
}

@media(max-width:500px){
  .company-profile-inner,
.company-access-inner {
  padding: 5%;
}
}
/* ===================================================
   COMPANY PROFILE
=================================================== */

.company-profile-section {
  width: 100%;
}

.company-profile-grid {
  display: flex;
  gap: 80px;
}

/* 左の「席」だけ確保する */
.company-profile-left-wrap {
  width: 280px;
  flex-shrink: 0;
  position: relative;
}

/* 実際に動くのは中身 */
.company-profile-left {
  width: 280px;
  position: relative;
}

.company-profile-left.is-fixed {
  position: fixed;
  top: 140px; /* 下層header分 */
}

.company-profile-left.is-bottom {
  position: absolute;
  top: auto;
  bottom: 0;
}

.company-section-ja {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 6px;
}

.company-section-en {
  font-size: 16px;
  font-weight: 600;
  color: #CF3E43;
}

/* 右：表 */
.company-profile-right {
  flex: 1;
}

/* dl table */
.company-profile-list {
  margin: 0;
  padding: 0;
}

.company-profile-item {
  display: flex;
  border-bottom: 1px solid #e5e5e5;
  padding: 25px 0;
}

.company-profile-item dt {
  width: 220px;
  font-weight: 600;
  color: #333;
  flex-shrink: 0;
  font-size: 18px;
}

.company-profile-item dd {
    margin: 0;
    color: #000000;
    line-height: 1.8;
    font-size: 18px;
    font-weight: 500;
}

.company-en {
  font-size: 14px;
  color: #000000;
}

/* award */
.company-award {
  
    display: grid;
    gap: 20px;
}

.company-award img {
  max-width: 350px;
  height: auto;
  margin-left: -45px;
}

.company-award p {
  margin: 0;
  font-size: 18x;
  line-height: 1.6;
  font-weight: 500;
}

/* ===================================================
   ACCESS（2カラム＋BG）
=================================================== */

.company-access-sec {
  background: #FAF6F2;
  padding: 7% 5% 5%;
}

.company-access-grid {
  display: flex;
  gap: 80px;
}

/* 左：見出し */
.company-access-left {
  width: 280px;
}

/* 右：内容 */
.company-access-right {
  flex: 1;
}

.company-access-office {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.company-access-address {
  font-size: 15px;
  color: #000000;
  margin-bottom: 30px;
  font-weight: 500;
}

.company-access-map {
  width: 100%;
  max-width: 800px;
  margin-bottom: 30px;
}

.company-access-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

.company-access-route,
.company-access-note {
  font-size: 15px;
  color: #000000;
  line-height: 1.8;
  margin-bottom: 10px;
}

/* ===================================================
   COMPANY 下部ナビ（ACCESS下）
=================================================== */

.company-next-nav {
  padding: 6% 5% 8%;
  background: #fff;
}

.company-next-nav-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.company-next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.company-next-item {
  display: block;
  padding: 40px 20px;
  text-align: center;
  text-decoration: none;
  border: 1px solid #e5e5e5;
  color: #333;
  transition: border-color .3s ease, transform .3s ease;
}

.company-next-item:hover {
  border-color: #CF3E43;
  transform: translateY(-3px);
}

.next-ja {
  font-size: 14px;
  margin-bottom: 8px;
}

.next-en {
  font-size: 18px;
  font-weight: 600;
  color: #CF3E43;
  letter-spacing: .08em;
}

/* SP */
@media (max-width: 768px) {
  .company-next-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ===================================================
   RESPONSIVE
=================================================== */

@media (max-width: 768px) {

  .company-profile-grid,
  .company-access-grid {
    flex-direction: column;
    gap: 40px;
  }

  .company-profile-left,
  .company-access-left {
    position: static;
    width: 100%;
  }

  .company-profile-item {
    flex-direction: column;
    gap: 8px;
  }
  .company-profile-item:first-of-type {
  padding-top: 0!important;
}



  .company-profile-item dt {
    width: 100%;
    font-size: 18px;
  }

  .company-profile-item dd {
    font-size: 15px;
  }

  .company-award {
    flex-direction: column;
    align-items: flex-start;
  }

  .company-access-map iframe {
    height: 300px;
  }

  .company-section-ja{
    font-size: 25px;
    margin-bottom: 0;
  }
  .company-section-en{
    font-size: 20px;
  }

  .company-award img {
    max-width: 285px;
    height: auto;
    margin-left: -20px;
    margin-top: -30px;
}
}

/* ===================================================
   COMPANY LINKS（2カラムカード）
=================================================== */


.company-links-sec{
  background: #FAF6F2;
      padding: 0 5% 5%;
}

.company-links-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.company-link-card {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 20px;
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  text-decoration: none;
  color: #000000;
}

/* 左：画像 */
.company-link-img {
  width: 100%;
  overflow: hidden;
    border-radius: 6px;
}


.company-link-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.company-link-card:hover .company-link-img img {
  transform: scale(1.08);
}

/* 右：テキスト */
.company-link-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* 右：テキスト */
.company-link-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-ja {
  font-size: 13px;
}

.card-en {
  font-size: 25px;
  font-weight: 600;
  color: #CF3E43;
  margin-bottom: 10px;
}

.card-cta {
  font-size: 13px;
  color: #CF3E43;
  text-decoration: none;
  font-weight: 500;
}


.company-link-card,
.company-link-card:hover {
  color: #000000;
}

/* ---------- SP ---------- */

@media (max-width: 900px) {
  .company-links-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .company-link-card {
    padding: 16px;
  }
}


/* ===================================================
   Responsive
=================================================== */

@media (max-width: 900px) {
  .company-links-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .company-link-card {
    padding: 32px 24px;
  }
}


/* ===================================================
   COMPANY HISTORY
=================================================== */

/* company-history 内では左カラムを追従させない */
.company-history .history-no-sticky .company-profile-left {
  position: static;
}

/* JS等で付与される追従クラスを無効化 */
.company-history .history-no-sticky .company-profile-left.is-fixed,
.company-history .history-no-sticky .company-profile-left.is-bottom {
  position: static;
  top: auto;
  bottom: auto;
}



/* =========================
   プライバシーポリシー専用
========================= */
body.privacy-policy .subpage-content {
  padding: 7% 5% 10%;
} 

body.privacy-policy .subpage-inner {
    max-width: 1300px;
    margin: 0 auto;
}

body.privacy-policy .subpage-content h3 {
  margin: 64px 0 16px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
}

body.privacy-policy .subpage-content p {
  margin-bottom: 20px;
  line-height: 1.9;
}

body.privacy-policy .subpage-content ol {
  margin: 16px 0 32px 20px;
}

body.privacy-policy .subpage-content li {
  margin-bottom: 10px;
}

body.privacy-policy .subpage-content .wp-block-separator {
  border: none;
  height: 1px;
  margin: 48px 0;
  background: none;
}

body.privacy-policy .subpage-content p:empty {
  display: none;
}

/* =========================
   私たちの考えページ
========================= */
/* =========================
   Philosophy Intro
========================= */

.philosophy-intro {
  width: 100%;
  background: #fff;
  padding: 3% 5% 0;
}

.philosophy-intro__inner {
  max-width: 1300px;
  margin: 0 auto;
  border-radius: 20px;
}

.philosophy-intro__image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

@media(max-width:1000px){
  .philosophy-intro__image {
    height: 450px;
}
}


@media(max-width:500px){
  .philosophy-intro__image {
    height: 250px;
}
}

/* =============================
   Philosophy Mission Section
============================= */

.holus-philosophy-sec {
    width: 100%;
    background: #fff;
    padding: 7% 5% 5%;
}

.holus-philo-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* 左テキスト */
.philo-left {
    width: 50%;
}

.philo-title {
    font-size: 3rem;
    line-height: 1.4em;
    font-weight: 600;
    margin-bottom: 30px;
}

.col-red {
    font-size: 150%;
    color: #CF3E43;
}

.philo-lead-ja {
    font-size: 28px;
    font-weight: 600;
    color: #CF3E43;
    margin: 10px 0 25px;
    line-height: 1.5;
}

.philo-text {
    font-size: 16px;
    line-height: 1.9rem;
    color: #000;
    font-weight: 500;
}

/* 右カラム */
.philo-right {
    width: 50%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/* ===== Flow ===== */

.holus-flow-wrapper {
    width: 476px;
    height: 476px;
    transform: scale(0.68);
    transform-origin: top center;
}

.holus-flow {
    position: relative;
    width: 700px;
    height: 700px;
}

/* 円 */
.flow-item {
    position: absolute;
    width: 225px;
    height: 225px;
    border-radius: 50%;
    background: #fff;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.12),
        0 0 0 2px #E3CBC0 inset;

    z-index: 2;
}

.flow-item.active {
    opacity: 1;
    transform: translateY(0);
}

.flow-icon {
    width: 70px;
    margin-bottom: 12px;
}

.flow-item h3 {
    font-size: 18px;
    text-align: center;
}

/* 座標 */
.flow-top    { top: -25px; left: 235px; }
.flow-right  { top: 235px; left: 505px; }
.flow-bottom { top: 500px; left: 235px; }
.flow-left   { top: 235px; left: -40px; }

/* 中央 */
.flow-center {
    position: absolute;
    top: 48%;
    left: 50%;
    width: 150px;
    height: 150px;
    transform: translate(-50%, -50%);
    z-index: 3;
    opacity: 0;
    transition: opacity .6s ease;
}

.flow-center.active {
    opacity: 1;
}

.flow-center img {
    width: 100%;
}

/* SVG */
.flow-path {
    position: absolute;
    width: 700px;
    height: 700px;
    pointer-events: none;
    z-index: 1;
}

.flow-path path {
    stroke-dasharray: 450;
    stroke-dashoffset: 450;
    transition: stroke-dashoffset 1s ease;
}

/* ==============================
   MISSION：表示切替（PC / SP）
   ============================== */

/* 初期（PC：1000px超）
   ─ アニメーション図を表示
   ─ 画像は非表示
-------------------------------- */
.philo-mission-image {
  display: none;
}

.holus-flow-wrapper {
  display: block;
}


@media(max-width:1000px){
  .holus-philo-inner {
    flex-direction: column;
}

.philo-left {
    width: 100%;
    text-align: center;
}

.philo-right {
    width: 100%;
    display: block;
}

  .philo-mission-image {
    display: block;
    width: 100%;
    text-align: center;
  }

  .philo-mission-image img {
    width: 60%;
    height: auto;
    display: inline-block;
  }

  .holus-flow-wrapper {
    display: none;
  }
}


@media(max-width:500px){
  h2.philo-title,
  h2.philosophy-story-title-en,
  h2.reason-title-en {
    font-size: 30px;
}

h3.philo-lead-ja,
h3.reason-title-ja {
    font-size: 23px;
}

 .philo-mission-image {
    display: block;
    width: 100%;
  }

  .philo-mission-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .holus-flow-wrapper {
    display: none;
  }

  .philo-left {
    text-align: left;
  }

}

/* =============================
   Philosophy Story Section
============================= */

.philosophy-story-sec {
  width: 100%;
  background: #fff;
  padding: 0 5%;
}

.philosophy-story-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 7% 0 5%;
  border-top: 1px solid #CF3E43;

  display: flex;
  align-items: center;
  gap: 60px;
}

/* 左：画像 */
.philosophy-story-image {
  width: 50%;
}

.philosophy-story-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 20px;
}

/* 右：テキスト */
.philosophy-story-content {
  width: 50%;
}

.philosophy-story-title-en {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 20px;
}

.philosophy-story-title-ja {
  font-size: 24px;
  font-weight: 600;
  color: #000;
  margin-bottom: 25px;
}

.philosophy-story-text {
  font-size: 16px;
  line-height: 1.9;
  font-weight: 500;
  color: #000;
}

@media(max-width:1000px){
  .philosophy-story-content {
    width: 100%;
    text-align: center;
}

.philosophy-story-image {
    width: 100%;
    padding: 0 5%;
}

.philosophy-story-inner {
    flex-direction: column-reverse;
}

.philosophy-story-image img {
    height: 450px;
}
}

@media(max-width:500px){
  .philosophy-story-content {
    text-align: left;
  }

  .philosophy-story-inner{
    padding: 5% 5% 10%;
  }

  .philosophy-story-image img {
    height: 250px;
  }
}



/* =============================
   Mission Section
============================= */

.holus-mission-diagram {
  position: relative;
  background: #FAF6F2;
  padding: 5% 5% 15%;
  overflow: hidden;
  text-align: center;
}

/* 前面コンテンツ */
.holus-mission-content {
  position: relative;
  z-index: 2;
}

/* テキストは線を隠す */
.holus-mission-diagram .philo-title,
.holus-mission-diagram .mission-title,
.holus-mission-diagram .holus-brace-text,
.holus-mission-diagram .holus-bridge-text {
  background: #FAF6F2;
  display: inline-block;
  padding: 6px 12px;
  position: relative;
  z-index: 2;
  font-weight: 600;
}

/* h2・h3 は縦積み */
.holus-mission-diagram .philo-title,
.holus-mission-diagram .mission-title {
  display: block;
}

/* タイトル */
.philo-title {
  margin-bottom: 8px;
}
.mission-title {
  margin-bottom: 40px;
}

/* 結論テキスト */
.holus-brace-text {
  font-size: 28px;
  font-weight: 600;
  color: #CF3E43;
  margin: 40px 0;
}

/* 図（サークル） */
.mission-circles {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 60px auto;
  position: relative;
  z-index: 2;
}

.circle-item {
  width: 260px;
  height: 260px;
}

.circle {
  width: 100%;
  height: 100%;
  border: 3px solid #CF3E43;
  border-radius: 50%;
  background: #fff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-kanji {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 150px;
  font-weight: 700;
  color: #b3b3b3;
  opacity: 0.2;
}

.circle-text {
  font-size: 25px;
  font-weight: 600;
  color: #333;
  z-index: 1;
  margin: 0 !important;
}

/* ブリッジテキスト */
.holus-bridge-text {
  margin-top: 40px;
  font-size: 25px;
  font-weight: 500;
  color: #000;
}

/* =============================
   分割縦line（背面）
============================= */

.holus-mission-lines {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
}

.mission-line {
  position: absolute;
  left: 0;
  width: 2px;
  height: 0;
  background: #cfcfcf;
  transition: height .35s ease;
}

/* ─────────────────────────────
   初期（PC：1000px超）
   ・アニメーション円＆ライン表示
   ・画像は非表示
───────────────────────────── */
.mission-circles-image {
  display: none;
}

.mission-circles {
  display: flex;
}

.holus-mission-lines {
  display: block;
}


/* ─────────────────────────────
   1000px以下
   ・画像表示
   ・アニメーション円＆ライン非表示
───────────────────────────── */
@media screen and (max-width: 1000px) {

  /* 親は基準面 */
  .holus-mission-diagram {
    position: relative;
    z-index: 0;
  }

  /* コンテンツは前面 */
  .holus-mission-content,
  .mission-circles-image {
    position: relative;
    z-index: 2;
  }

  /* 縦lineは完全に背面 */
  .holus-mission-lines {
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
  }

  .mission-line {
    height: 100% !important;
  }


  .mission-circles {
    display: none;
  }

  .mission-circles-image {
    display: block;
  }


}

@media(max-width:500px){
  

  .holus-brace-text {
    font-size: 20px;
}

.holus-bridge-text {
  font-size: 20px;
}
}


/* ============================================
   Reason セクション（Missionからの連続）
============================================ */

.holus-reason-sec {
  width: 100%;
  background: #ffffff;
  position: relative;
  z-index: 1;
  overflow: visible;
  padding: 0 5%;
}

/* JSで制御するのは inner だけ */
.holus-reason-inner {
  max-width: none;
  margin: 0 auto;
  width: 100%;
  background: #fff;
  padding: 100px 0 0;

  /* ★ここがポイント */
  position: relative;
  top: -10vw; /* ← Missionに被せる量。必要ならpxでもOK */

  border-radius: 30px 30px 0 0;
  z-index: 3;

  transition: opacity .8s ease, transform .8s ease;
}

/* =========================
   タイトル
========================= */

/* 英字タイトル */
.reason-title-en {
  margin-bottom: 8px;
  text-align: center;

  font-size: 3rem;
  line-height: 1.4em;
  font-weight: 600;
}

/* 和文タイトル */
.reason-title-ja {
  margin-bottom: 40px;
  text-align: center;

  font-size: 24px;
  font-weight: 600;
}

/* Reason：初期は非表示 */
.holus-reason-sec {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity .8s ease, transform .8s ease;
}

/* Reason セクションは line より前面 */
.holus-reason-sec {
  position: relative;
  z-index: 5;
}

/* 白いコンテナで line を確実に隠す */
.holus-reason-inner {
  position: relative;
  z-index: 10;
  background: #fff;
}

/* ============================================
   Reason セクション 中身レイアウト
============================================ */

/* キャッチコピー */
.reason-catch {
  margin: 40px auto 0;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.6;
  color: #cf3e43;
}

/* 要約テキスト */
.reason-lead {
  margin: 20px auto 0;
  max-width: 900px;
  text-align: center;
  line-height: 1.8;
  color: #000;
}

/* 画像エリア */
.reason-image-wrap {
  display: flex;
  gap: 30px;
  margin: 60px auto;
  max-width: 1300px;
}

.reason-image {
  width: 50%;
}

.reason-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* 下段ブロック全体 */
.reason-blocks {
  margin-top: 40px;
  border-top: 1px solid #e6e6e6;
  max-width: 1300px;
  margin: 0 auto;
}

/* 各ブロック */
.reason-block {
  padding: 50px 0;
  border-bottom: 1px solid #e6e6e6;
}

/* ブロック見出し */
.reason-block-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
}

/* ブロック本文 */
.reason-block-text {
  max-width: 900px;
  line-height: 1.9;
  color: #000;
}

/* 強調文 */
.reason-block-strong {
  margin-top: 16px;
  font-weight: 600;
  color: #000;
  position: relative;
  padding-left: 14px;
}

.reason-block-strong::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-color: #CF3E43;
  width: 3px;
  height: 100%;
}

/* =========================
   SP
========================= */
@media screen and (max-width: 768px) {

  .reason-catch {
    font-size: 1.3rem;
  }

  .reason-image-wrap {
    flex-direction: column;
    gap: 20px;
  }

  .reason-image {
    width: 100%;
  }

  .reason-block {
    padding: 40px 0;
  }

}

/* ============================================================
   philosophy-closing（代表挨拶＋会社情報リンク）
   section：100%
   padding：左右5%
   container：1300px
=========================================================== */

.holus-president-section {
  width: 100%;
  padding: 0 5% 10%;
}

/* 共通コンテナ */
.president-wrapper {
  max-width: 1300px;
  margin: 0 auto;
}


/* ============================================================
   philosophy-closing（代表挨拶＋会社情報リンク）
=========================================================== */

.holus-president-section {
  width: 100%;
  padding: 0 5% 10%;
}

/* コンテナ */
.president-wrapper {
  max-width: 1300px;
  margin: 0 auto;
}

/* ============================================================
   3カラムグリッド
=========================================================== */

.president-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* ============================================================
   リンクカード（共通）
=========================================================== */

.president-link-box {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 40px 30px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);

  text-decoration: none;
  color: #000000;
}

/* テキスト */
.president-link-text {
  font-size: 18px;
  font-weight: 600;
}

/* 矢印 */
.president-link-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #CF3E43;
  position: relative;
  font-size: 0;
}

.president-link-arrow::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* hover：色変化なし */
.president-link-box:hover,
.president-link-box:hover .president-link-text {
  color: #000000;
}



/* =========================
   レスポンシブ
========================= */

@media (max-width: 1000px) {
  .president-inner {
    flex-direction: column;
    padding: 30px;
  }

  .president-bottom {
    grid-template-columns: 1fr;
  }

  .president-img img {
    max-width: 100%;
  }

  .president-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

@media (max-width: 600px) {
  .president-title {
    font-size: 20px;
  }

  .president-grid {
    display: flex;
    gap: 15px;
    flex-direction: column;
}
}

/* ============================================================
   CONTACT～Thanksページ
=========================================================== */

@media screen and (max-width: 768px) {

  /* Astraの疑似チェックボックスを無効化 */
  .ast-theme-transparent-header input[type="checkbox"]::before,
  .ast-theme-transparent-header input[type="checkbox"]::after,
  .ast-plain-container input[type="checkbox"]::before,
  .ast-plain-container input[type="checkbox"]::after {
    display: none !important;
    content: none !important;
  }

}

/*--------------------------
  contactfoam
--------------------------*/
.frm-fluent-form .ff-t-cell {
        display: flex;
        flex-direction: column;
        vertical-align: inherit;
        width: 100%;
        justify-content: center;
    }

.fluentform_wrapper_1.ffs_custom_wrap .step-nav .ff-btn-prev {
    background-color: #393939!important;
}

.ff-el-group.ff-text-center.ff_submit_btn_wrapper button {
    background: #cf3e43;
    padding: 10px 60px!important;
    border-radius: 3px;
    transition: 
      background-color 0.25s ease,
      transform 0.25s ease,
      box-shadow 0.25s ease;
}

.ff-el-group.ff-text-center.ff_submit_btn_wrapper button:hover {
    color: #fff!important;
    background-color: #db5156;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}
/* =========================
   Thanks：カタログダウンロード（既存カード準拠）
========================= */
body.page-id-1016 section.subpage-content {
    max-width: 1300px;
    padding: 5% 5% 10%;
    margin: 0 auto;
    text-align: center;
}

body.page-id-1016 .thanks-catalog {
  margin: 60px 0;
}

body.page-id-1016 .catalog-card {
  display: block;
  text-decoration: none;
  color: #000000;
}

body.page-id-1016 .catalog-card-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 40px 30px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  max-width: 650px;
  margin: 0 auto;
}

/* テキスト */

body.page-id-1016 .catalog-card-text {
    text-align: left;
}
body.page-id-1016 .catalog-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

body.page-id-1016 .catalog-card-lead {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

/* 矢印（president-link-arrow 準拠） */
body.page-id-1016 .catalog-card-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #CF3E43;
  position: relative;
  font-size: 0;
}

.thanks-button {
    margin: 35px 0;
}
body.page-id-1016 .catalog-card-arrow::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* =========================
   SDGs Page Base
========================= */
.sdgs-page {
  width: 100%;
}

.sdgs-page section {
  margin-bottom: 7%;
}

.sdgs-page section p,
.sdgs-page section li{
  font-size: 15px;
}
/* =========================
   SDGs Intro
========================= */
.sdgs-page .sdgs-intro {
  padding: 7% 5% 0;
}

.sdgs-page .sdgs-intro-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.sdgs-page .sdgs-intro-title {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 16px;
}

.sdgs-page .sdgs-intro-lead {
  font-size: 16px;
  margin-bottom: 40px;
}

.sdgs-page .sdgs-logos {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.sdgs-page .sdgs-logos img {
  width: 100%;
  height: auto;
  display: block;
}

.sdgs-page .sdgs-action-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sdgs-page .sdgs-action-list li {
  margin-bottom: 12px;
  padding-left: 1.7em;
  position: relative;
  font-size: 15px;
  font-weight: 500;
}

.sdgs-page .sdgs-action-list li::before {
  content: "●";
  position: absolute;
  left: 0;
}

/* =========================
   SDGs Intro（2カラム）
========================= */
.sdgs-page .sdgs-intro-row {
  display: flex;
  gap: 40px;
  align-items: center;
}

.sdgs-page .sdgs-intro-text {
  width: 55%;
}

.sdgs-page .sdgs-intro-logos {
  width: 45%;
}

.sdgs-page .sdgs-intro-logos .sdgs-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}


/* =========================
   SDGs Initiative（2カラム）
========================= */
.sdgs-page .sdgs-initiative {
  padding: 0 5%;
  margin-bottom: 5%;
}

.sdgs-page .sdgs-initiative-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.sdgs-page .sdgs-initiative-row {
  display: flex;
  gap: 40px;
  align-items: center;
}

/* 左：テキスト */
.sdgs-page .sdgs-initiative-text {
  width: 55%;
}

.sdgs-page .sdgs-initiative-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 24px;
}

.sdgs-page .sdgs-initiative-title span {
  display: block;
  font-size: 17px;
  margin-top: 6px;
}

.sdgs-page .sdgs-initiative-box {
  background: #fff;
  
  margin-bottom: 32px;
}

.sdgs-page .sdgs-initiative-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-weight: 500;
}

.sdgs-page .sdgs-initiative-list li {
  margin-bottom: 10px;
}

.sdgs-page .sdgs-initiative-arrow {
  text-align: center;
  font-size: 32px;
  margin: 20px 0;
}

.sdgs-page .sdgs-initiative-conclusion {
  text-align: left;
  font-weight: 500;
}

/* 右：画像 */
.sdgs-page .sdgs-initiative-image {
  width: 45%;
}

.sdgs-page .sdgs-initiative-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 20px;
}

.sdgs-page .sdgs-initiative-divider {
  width: 40px;
  height: 2px;
  background: #CF3E43;
  margin: 15px 0 20px;
}



/* =========================
   SDGs Profile（赤枠・2カラム）
========================= */
.sdgs-page .sdgs-profile {
  padding: 0 5%;
  margin-bottom: 7%;
}

.sdgs-page .sdgs-profile-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.sdgs-page .sdgs-profile-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 24px;
}

.sdgs-page .sdgs-profile-box {
  border: 3px solid #CF3E43; /* HOLUS レッド */
  padding: 32px;
  border-radius: 20px;
}

.sdgs-page .sdgs-profile-row {
  display: flex;
  gap: 40px;
  align-items: center;
}

/* 左：画像 */
.sdgs-page .sdgs-profile-image {
  width: 30%;
}

.sdgs-page .sdgs-profile-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* 右：テキスト */
.sdgs-page .sdgs-profile-text {
  width: 70%;
}

.sdgs-page .sdgs-profile-text p {
  margin-bottom: 14px;
  line-height: 2rem;
}


/* =========================
   SDGs Support
========================= */
.sdgs-page .sdgs-support {
    padding: 7% 5% 7%;
    margin-bottom: 0;
    background: #FAF6F2;
}

.sdgs-page .sdgs-support-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.sdgs-page .sdgs-support-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
}

.sdgs-page .sdgs-support-lead {
    list-style: none;
    padding: 40px 0 0;
    margin-bottom: 32px;
    border-top: 1px solid #cf3e43;
    text-align: center;
    font-weight: 500;
}

.sdgs-page .sdgs-support-lead li {
  margin-bottom: 10px;
}

.sdgs-page .sdgs-support-block {
  margin-bottom: 40px;
}

.sdgs-page .sdgs-support-subtitle {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.sdgs-page .sdgs-support-note {
  font-size: 14px;
  opacity: 0.7;
}

.ast-plain-container.ast-no-sidebar #primary{
  margin-bottom: 0!important;
}

/* =========================
   SDGs Support Cards
========================= */
.sdgs-page .sdgs-support-cards {
  display: flex;
  gap: 40px;
  margin-top: 60px;
}

.sdgs-page .sdgs-support-card {
  width: 50%;
  background: #fff;
  padding: 24px 35px;
  box-sizing: border-box;
  border-radius: 20px;
}
.sdgs-page .sdgs-support-card-image {
  margin-bottom: 16px;
}

.sdgs-page .sdgs-support-card-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.sdgs-page .sdgs-support-card .sdgs-support-subtitle {
  margin-bottom: 12px;
}

.sdgs-page .sdgs-support-text {
  margin: 0;
}

/* =========================
   SDGs Support : Facebook Link
========================= */

.sdgs-support-facebook {
  margin-top: 40px;
  text-align: center;
}

.sdgs-support-facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 14px 22px;
  border: 1px solid #000000;
  border-radius: 999px;
  font-weight: 500;
  color: #000000;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;

  transition: background .25s ease, color .25s ease;
}

.sdgs-support-facebook-link:hover {
  background: #CF3E43;
  color: #fff;
  border-color: #CF3E43;
}

/* Facebook アイコン */
.sdgs-support-facebook-icon {
  width: 22px;
  height: auto;
  display: block;
}

/* テキスト */
.sdgs-support-facebook-text {
  line-height: 1.4;
}

/* =========================
   SP 調整
========================= */
@media screen and (max-width: 500px) {

  .sdgs-support-facebook {
    margin-top: 30px;
  }

  .sdgs-support-facebook-link {
    font-size: 14px;
    padding: 12px 18px;
  }

}


/* =========================
   SDGs レスポンシブ
========================= */
@media screen and (max-width: 1000px) {

  .sdgs-page .sdgs-intro-title,
  .sdgs-page .sdgs-initiative-title,
  .sdgs-page .sdgs-profile-title,
  .sdgs-page .sdgs-support-title {
    font-size: 23px;
  }

  .sdgs-page .sdgs-intro-lead {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .sdgs-page .sdgs-action-list li {
    margin-bottom: 2px;
  }

  .sdgs-page .sdgs-intro-logos .sdgs-logos {
    grid-template-columns: repeat(3, 1fr);
  }

  .sdgs-page .sdgs-intro-row,
  .sdgs-page .sdgs-initiative-row {
    align-items: flex-start;
  }

  .sdgs-page .sdgs-initiative-image img {
    width: auto;
    height: 380px;
  }

  .sdgs-page .sdgs-profile-image {
    width: 45%;
  }

  .sdgs-page .sdgs-profile-image img {
    width: auto;
    height: 380px;
    object-fit: cover;
  }

  .sdgs-page .sdgs-profile-text p {
    margin-bottom: 5px;
  }

}



@media screen and (max-width: 500px) {

  /* 共通 */
  .sdgs-page .sdgs-intro,
  .sdgs-page .sdgs-support {
    padding: 13% 5%;
  }

  .sdgs-page .sdgs-intro{
    padding-bottom: 5%;
  }

  /* Intro */
  .sdgs-page .sdgs-intro-row {
    flex-direction: column;
  }

  .sdgs-page .sdgs-intro-lead {
    font-size: 18px;
    margin-bottom: 25px;
  }

  .sdgs-page .sdgs-intro-text,
  .sdgs-page .sdgs-intro-logos,
  .sdgs-page .sdgs-initiative-text,
  .sdgs-page .sdgs-profile-image,
  .sdgs-page .sdgs-profile-text,
  .sdgs-page .sdgs-initiative-image,
  .sdgs-page .sdgs-support-card {
    width: 100%;
  }

  .sdgs-page .sdgs-profile-title{
    font-size: 20px;
  }

  .sdgs-page .sdgs-action-list li {
    margin-bottom: 5px;
  }

  /* Initiative */
  .sdgs-page .sdgs-initiative-row {
    flex-direction: column-reverse;
  }

  p.sdgs-initiative-conclusion br {
    display: none;
  }

  /* Profile */
  .sdgs-page .sdgs-profile-row {
    flex-direction: column-reverse;
    gap: 20px;
  }

  
  .sdgs-page .sdgs-profile-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
  }

  /* Support */
  .sdgs-page .sdgs-support-lead {
    margin: 0;
    text-align: left;
  }

  .sdgs-page .sdgs-support {
    padding: 13% 5% 13%;
  }

  .sdgs-page .sdgs-support-cards {
    flex-direction: column;
    margin-top: 25px;
  }

  .sdgs-page .sdgs-initiative-image img {
    width: auto;
    height: 280px;
  }
  .sdgs-page .sdgs-profile-box {
    padding: 30px 18px;
}

.sdgs-page .sdgs-intro-logos .sdgs-logos {
    grid-template-columns: repeat(4, 1fr);
}

}

/* =========================
   製品紹介ページ
========================= */

body.page-id-938 .subpage-content {
  padding: 0 5% 7%;
}


body.page-id-938 .subpage-inner {
  max-width: 1300px;
  margin: 0 auto;
}

/* =========================
   製品特長：セクション下ライン
========================= */

.product-section-line {
  width: 60px;
  height: 2px;
  background-color: #CF3E43;
  margin: 0 auto 32px;
}

/* =========================
   Product Page Navigation
========================= */

.product-page-nav {
  width: 100%;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 40px;
}

.product-page-nav-list {
  display: flex;
  gap: 40px;
  padding: 20px 0;
  margin: 0;
  list-style: none;
  justify-content: center;
}

.product-page-nav-item a {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  position: relative;
  padding-right: 10px;
  display: inline-block;
}

.product-page-nav-item a::after {
    content: '>';
    position: absolute;
    right: -11px;
    bottom: 1px;
    font-size: 12px;
    color: #000000;
    transform: rotate(90deg);
    transition: transform 0.2s ease, color 0.2s ease;
}

.product-page-nav-item a:hover::after {
  transform: rotate(90deg) translateY(3px);
  color: #000;
}



@media screen and (max-width: 500px) {
      .product-page-nav-list {
    gap: 10px 25px;
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
  }

    .solution-intro-inner {
    text-align: left;
}



}

/* =========================
   Product Feature（製品特長）
========================= */

.product-feature {
  max-width: 1300px;
  margin: 0 auto 120px;
  padding-top: 5%;
}

/* セクション見出し */
.product-section-title {
  text-align: center;
  font-weight: bold;
  margin-bottom: 24px;
}

/* 導入テキスト */
.product-feature-lead {
  text-align: center;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 40px;
}

/* =========================
   製品特長：フロー型（01〜03）
========================= */
.product-feature-flow {
    border: 3px solid #F0E7DF;
    border-radius: 20px;
    padding: 15px 40px;
}

.product-feature-flow-item {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  border-bottom: 1px solid #e5e5e5;
  max-width: 1100px;
  margin: auto;
  padding: 35px 0;
}

.product-feature-flow-item:last-child {
  border-bottom: none;
}

/* =========================
   製品特長：番号＋見出し＋テキスト配置
========================= */

.product-feature-text {
  display: grid;
  grid-template-columns: 65px 1fr;
  column-gap: 24px;
  row-gap: 12px;
  align-items: center;
}

/* 左：番号 */
.feature-num {
  grid-column: 1;
  grid-row: 1;
  font-size: 25px;
  font-weight: bold;
  color: #CF3E43;
  line-height: 1;
}

/* 右上：見出し */
.feature-title {
  grid-column: 2;
  grid-row: 1;
  font-size: 30px;
  font-weight: bold;
  margin: 0;
}

/* 右下：テキスト */
.feature-desc {
  grid-column: 2;
  grid-row: 2;
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
}

/* =========================
   画像
========================= */

.product-feature-image {
  flex: 1;
}

.product-feature-image img {
    width: 100%;
    border-radius: 20px;
    display: block;
    height: 280px;
    object-fit: cover;
}

a.feature-inline-link {
    font-weight: 600;
    text-decoration: underline;
    line-height: 2.5;
}

a.feature-inline-link:hover {
    color: #cf3e43!important;
}

/* =========================
   SP：縦並び
========================= */

@media(max-width: 768px) {
  .product-feature-flow-item {
    flex-direction: column;
    gap: 32px;
  }

  .product-feature-flow-item.reverse {
    flex-direction: column;
  }

  .product-feature-text {
    gap: 16px;
  }

  .product-feature-image img {
    max-width: 100%;
  }

  .product-section-title{
    font-size: 28px;
  }
}


/* =========================
   Product Original Method
========================= */

body.page-id-938 .product-original-method {
  position: relative;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);

  background: #faf6f2;
  padding: 120px 0;
}

/* 中身は今まで通り */
body.page-id-938 .product-original-method-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}


/* 中身は既存基準 */
.product-original-method .product-original-method-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 5% 0;
}

.product-method-lead {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 60px;
    text-align: center;
    margin-top: -20px;
}

.product-method-item {
  margin-bottom: 80px;
}

.product-method-title {
  font-size: 22px;
  margin-bottom: 20px;
}

.product-method-text {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.product-method-images {
  margin-top: 20px;
}

p.product-original-method-label {
    text-align: center;
    margin-top: -20px;
    font-size: 20px;
}
/* =========================
   独自製法：カードレイアウト
========================= */

.method-card-list {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-top: 25px;
}

.method-card {
  flex: 1;                 
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;  
  border: 2px solid #F0E7DF;
}

/* 上：画像2枚（幅・高さを揃える） */
.method-card-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

/* 画像用の共通枠 */
.method-card-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.method-card-content {
    text-align: center;
}

/* 下：テキスト */
.method-card-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
}

.method-card-text {
  font-size: 15px;
  line-height: 1.8;
  text-align: left;
}

 
/* =========================
   Product Lineup
========================= */

.product-lineup {
  padding: 7% 0 0;
  margin-bottom: 120px;
}

/* ---------- Tabs ---------- */
.product-lineup-tabs {
  max-width: 1300px;
  margin: 40px auto 10px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.product-lineup-tabs .lineup-tab {
  width: 100%;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  opacity: 0.5;
  transform: scale(0.84);
  transition: opacity 0.25s ease, transform 0.25s ease;
  border-radius: 20px;
}

.product-lineup-tabs .lineup-tab.is-active {
  opacity: 1;
  transform: scale(1);
}

.product-lineup-tabs .lineup-tab:hover {
  opacity: 0.8;
  transform: scale(0.97);
}

.product-lineup-tabs .lineup-tab img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}


/* ---------- Contents ---------- */
.product-lineup-contents {
  width: 100%;
  padding: 50px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  transition: opacity 0.28s cubic-bezier(0.33, 1, 0.68, 1);
}

.product-lineup-contents.is-hidden {
  opacity: 0;
}

/* ---------- Tab Content ---------- */
/* 中身は即時切替・一切アニメしない */
.lineup-content {
  display: none;
}

.lineup-content.is-active {
  display: block;
}

/* ---------- One-row layout ---------- */
.lineup-content-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* 左：メイン画像 */
.lineup-image-main {
  width: 100%;
}

.lineup-image-main img {
  width: 100%;
  height: 350px;
  display: block;
  object-fit: cover;
  border-radius: 20px;
}

/* 右：テキスト＋画像3枚 */
.lineup-content-right {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 350px;
}

/* テキスト */
.lineup-text {
  margin-bottom: 24px;
}

.product-lineup-title {
  font-size: 30px;
  margin-bottom: 16px;
  font-weight: bold;
  position: relative;
  padding-left: 25px;
}

.product-lineup-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 11px;
  height: 11px;
  background: #04a777;
  border-radius: 50%;
}

.product-lineup-text {
  font-size: 15px;
  line-height: 1.9;
}

/* サブ画像3枚 */
.lineup-images-sub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lineup-images-sub img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}


/* select a category */
p.product-lineup-note {
  text-align: center;
  margin-bottom: -20px;
  font-weight: bold;
  color: #cf3e43;

  animation: lineupNotePeek 3s ease-in-out infinite;
}

/* 下から現れて、すぐ消える（テンポ早め） */
@keyframes lineupNotePeek {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  12% {
    opacity: 1;
    transform: translateY(0);
  }
  28% {
    opacity: 1;
    transform: translateY(0);
  }
  40% {
    opacity: 0;
    transform: translateY(-4px);
  }
  100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}
/* =========================
   LINEUP 表示制御（必須）
========================= */

/* PC：SP用を完全に非表示 */
@media screen and (min-width: 1001px) {
  .is-sp {
    display: none !important;
  }
}

/* SP：PC用を完全に非表示 */
@media screen and (max-width: 1000px) {
  .is-pc {
    display: none !important;
  }
}


span.lineup-image-label {
    font-size: 13px;
    font-weight: 500;
}

/* =========================
   Product CTA
========================= */

.product-cta {
  background: #faf6f2;
  padding: 80px 0;
  border-radius: 15px;
  margin-bottom: 7%;
}

.product-cta-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.product-cta-title {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 600;
}

.product-cta-text {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 40px;
}

/* =========================
   Product CTA Cards
========================= */

.product-cta-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  justify-content: center;
}

/* 共通カードCTA */
.product-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 120px;
  padding: 32px 24px;

  background: #cf3e43;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;

  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* セカンダリ */
.product-cta-btn.is-secondary {
  background: #fff;
  color: #cf3e43;
  border: 2px solid #cf3e43;
}

/* hover（Astra色を完全に殺す） */
.product-cta-btn:hover,
.product-cta-btn:focus {
  color: #fff;
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.product-cta-btn.is-secondary:hover,
.product-cta-btn.is-secondary:focus {
  color: #cf3e43;
  background: #fff;
}

/* ======================================
   Responsive
====================================== */

/* ---------- 1000px以下 ---------- */
@media screen and (max-width: 1000px) {

  .product-feature-flow-item {
    grid-template-columns: 1fr 350px;
  }

  .product-feature-image img {
    height: 230px;
  }

  .product-feature-text {
    grid-template-columns: 45px 1fr;
  }

  .feature-title {
    font-size: 25px;
  }

  .method-card-list {
    gap: 30px;
  }

  .product-lineup {
    margin-bottom: 80px;
  }

  .product-feature-text .feature-desc {
    grid-column: 1 / -1;
  }


}
.is-sp {
  display: none;
}

@media screen and (max-width: 500px) {
  .is-pc {
    display: none;
  }
  .is-sp {
    display: block;
  }

  .feature-title {
    font-size: 25px;
  }
}


/* ---------- 500px以下 ---------- */
@media screen and (max-width: 500px) {

  /* feature flow */
  .product-feature-flow-item {
    display: flex;
    flex-direction: column;
  }

  .product-feature-flow {
    padding: 15px 25px;
    margin-top: 20px;
  }

  .product-feature-image {
    width: 100%;
  }

  .product-feature-image img {
    height: 225px;
  }

  body.page-id-938 .product-original-method {
    padding: 15% 5%;
  }

  .product-feature-lead {
    margin-bottom: 45px;
  }

  /* method cards */

  body.page-id-938 .product-original-method-inner{
    padding: 0;
  }

  .method-card-list {
    flex-direction: column;
    gap: 30px;
  }

  .method-card {
    flex-direction: column-reverse;
    gap: 20px;
  }

  /* lineup tabs */
  .product-lineup {
      padding: 15% 0 0;
  }
  .product-lineup-tabs {
    margin: 20px auto 10px;
    grid-template-columns: repeat(3, 1fr);
  }

  .product-lineup-contents{
    padding: 40px 25px;
  }

  /* lineup 全体を縦並びに */
  .lineup-content-top {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  /* ① タイトル＋テキスト */
  .lineup-content-right {
    order: 1;
  }

  .product-lineup-title{
    font-size: 23px;
  }

  /* ② メイン画像 */
  .lineup-image-main {
    order: 2;
  }

  /* ③ サブ画像3枚 */
  .lineup-images-sub {
    order: 3;
    margin-top: 20px;
  }


  .lineup-content-right{
    height: auto;
  }

  .lineup-image-main img{
    height: 225px;
  }

  /* CTA */
  .product-cta {
    padding: 30px;
  }

  .product-cta-title {
    font-size: 20px;
  }

  .product-cta-buttons {
    display: flex;
    flex-direction: column-reverse;
  }

  .product-cta-btn {
    min-height: 100px;
    padding: 20px 15px;
  }

}

/* =========================
   LINEUP Tabs : Image Label Overlay
========================= */

/* 画像ラッパーを基準にする */
.lineup-tab-image {
  position: relative;
  display: block;
}

/* タブ画像 */
.lineup-tab-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* ラベルを画像上に重ねる */
.lineup-tab-label {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 2;

  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
}
/* 非アクティブ */
.lineup-tab {
  opacity: 0.35;
  transform: scale(0.9);
  transition: opacity .25s ease, transform .25s ease;
}


/* アクティブ */
.lineup-tab.is-active {
  opacity: 1;
  transform: scale(1);
}

.product-lineup-tabs:hover .lineup-tab {
  opacity: 0.35;
  transform: scale(0.9);
}

.product-lineup-tabs:hover .lineup-tab:hover {
  opacity: 1;
  transform: scale(1);
}


/* =========================
   SOLUTIONページ 基本
========================= */

body.page-id-940 .subpage-content {
  padding: 0 5% 7%;
}

body.page-id-940 .subpage-inner {
  max-width: 1300px;
  margin: 0 auto;
}


/* =========================
   SOLUTION Intro
========================= */

.solution-intro {
  padding: 6% 0 4%;
  text-align: center;
}

.solution-intro-inner {
  max-width: 900px;
  margin: 0 auto;
}

.solution-intro-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 24px;
}

.solution-intro-text p {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 16px;
}


/* =========================
   SOLUTION セクション背景（共通）
========================= */

.solution-section {
  position: relative;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #faf6f2;
}


/* =========================
   SOLUTION 縦リズム制御
========================= */

body.page-id-940 .solution-section {
  padding-top: 7%;
}

body.page-id-940 .solution-section:not(:last-of-type) {
  padding-bottom: 0;
}

body.page-id-940 .solution-section.is-solution-last .solution-bg {
  padding-bottom: 5%;
}




/* =========================
   SOLUTION 背景レイヤー（左右余白のみ）
========================= */

body.page-id-940 .solution-bg {
  padding-left: 5%;
  padding-right: 5%;
}


/* =========================
   SOLUTION inner（1300）
========================= */

.solution-inner {
  max-width: 1300px;
  margin: 0 auto;
}


/* =========================
   SOLUTION カード（デザイン維持）
========================= */

body.page-id-940 .solution-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;

  background: #fff;
  padding: 56px 48px;
  border-radius: 24px;

  margin: 0;
}


/* =========================
   SOLUTION テキスト側
========================= */

.solution-text {
  width: 50%;
}

.solution-num {
  font-size: 20px;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #cf3e43;
  margin-bottom: 10px;
}

body.page-id-940 .solution-title {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 20px;
}

.solution-lead {
  font-size: 15px;
  margin-bottom: 24px;
}

.solution-list {
    margin: 0 15px 20px 20px;
    padding-left: 0;
}


body.page-id-940 .solution-list li {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 2px;
}

.solution-note {
  font-size: 14px;
  line-height: 2;
  color: #555;
}


/* =========================
   SOLUTION 画像（大1＋小2）
========================= */

.solution-images {
  width: 45%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.solution-image-main img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.solution-image-sub {
  display: flex;
  gap: 12px;
}

.solution-image-sub .solution-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}


/* =========================
   SOLUTION Block Layout
========================= */

/* デフォルト：左テキスト / 右画像 */
.solution-block .solution-content {
  flex-direction: row;
}

/* 右テキスト / 左画像（2・4用） */
.solution-block.is-reverse .solution-content {
  flex-direction: row-reverse;
}





.page-id-940 .product-cta{
  margin-top: 5%;
}

/* =========================
   Thanks Page 共通
========================= */
body.page-id-1013 .thanks-page {
  margin: 0 auto;
      max-width: 1300px;
    padding: 7% 5%;

}

body.page-id-1013 .thanks-title {
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 24px;
}

body.page-id-1013 .thanks-line {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 40px 0;
}

/* メッセージ */
body.page-id-1013 .thanks-message {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

body.page-id-1013 .thanks-message p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* =========================
   TOPへ戻るボタン
========================= */
body.page-id-1013 .thanks-button {
  margin: 40px 0;
  display: flex;
  justify-content: center;
}

/* holus-learn-more は既存CSSを使用 */
/* ここでは触らない */

/* =========================
   カタログダウンロード
   （president-link-box 準拠）
========================= */
body.page-id-1013 .thanks-catalog {
  margin: 60px 0;
}

body.page-id-1013 .catalog-card {
  display: block;
  text-decoration: none;
  color: #000000;
}

body.page-id-1013 .catalog-card-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 40px 30px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

/* テキスト */
body.page-id-1013 .catalog-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

body.page-id-1013 .catalog-card-lead {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

/* 矢印（既存カード思想） */
body.page-id-1013 .catalog-card-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #CF3E43;
  position: relative;
}

body.page-id-1013 .catalog-card-arrow::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}


.fluentform.ff-default.fluentform_wrapper_4.ffs_custom_wrap {
    max-width: 1300px;
    padding: 7% 5%;
    margin: 0 auto;
}

@media(max-width:500px){
  .solution-intro-inner {
    text-align: left;
}

body.page-id-940 .solution-content {
    padding: 35px 20px;
}

 body.page-id-940 .solution-content {
    flex-direction: column;
    gap: 24px; /* 既存より詰めたい場合のみ。不要なら削除可 */
  }

  /* reverse指定があっても無効化 */
  .solution-block.is-reverse .solution-content {
    flex-direction: column;
  }

  .solution-text {
    width: 100%;
}

.solution-images {
    width: 100%;
    margin-top: 15px;
}

.solution-image-main img {
    height: 250px;
}
}


/* サイドバー */
/*.news-single-sidebar {
  display: none;
}
.news-single-container{
 grid-template-columns: 1fr 0; 
}*/


.catalog-text-link {
  position: relative;
  font-size: 16px;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  padding-bottom: 2px;
}

.catalog-text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: #cf3e43;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.catalog-text-link:hover::after {
  transform: scaleX(1);
  
}

.catalog-text-link:hover{
  color: #000;
}