/*
Theme Name: Custom Theme
Description: 
Version: 1.0
*/

/*-------------------------------------------
共通部分
-------------------------------------------*/
:root {
    --color-primary: #0F1728; /* ベースとなる紺色 */
	--color-secondary: #162137; /* ベースとなる紺色の少し薄い色 */
    --color-accent: #2AB557; /* アクセントの黄緑（お問い合わせボタンなど） */
	
    --color-text-main: #fff;
    --color-text-sub: #666666;
    --color-bg-white: #ffffff;
	
    /* --- Spacing --- */
    --space-section-mt: 80px;  /* セクション間の大きな余白 */
    --space-component-mt: 20px; /* コンポーネント内の余白 */
	
	--font-base: 'Inter', "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

 /* 記述例
 color: var(--color-primary);
 color: var(--color-secondary);
 color: var(--color-accent);
 */

html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-base);
    font-weight: 400; /* Regular */
    color: var(--color-text-main);
	background-color: var(--color-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
	padding-top: 80px;
}

 li {
	list-style: none;
 }
 a {
	display: inline-block;
	transition: all 0.3s;
 }
 a:hover {
	opacity: 0.8;
	transition: color 0.3s ease;
 }

 img {
	width: 100%;
	height: auto;
	display: block;
 }

[id] {
  scroll-margin-top: 80px; /* 固定ヘッダーの高さ分に合わせる */
}

/* 要素が少ないとフッターが上がるのを防ぐ */
html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.footer {
    margin-top: auto;
}
/* 要素が少ないとフッターが上がるのを防ぐ ここまで*/

section:not(:first-child) {
	margin-top: 120px;
}
@media screen and (max-width: 768px) {
    section:not(:first-child) {
        margin-top: 60px; 
    }
}
/*-------------------------------------------
pc・sp切り替え
-------------------------------------------*/
 .pc-only {
	 display: block;
 }
 .sp-only {
	 display: none;
 }
@media screen and (max-width: 1024px) {

}
@media screen and (max-width: 768px) {
	.pc-only {
		display: none;
	}
	.sp-only {
		display: block;
	}

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

}
/*-------------------------------------------
全てに適応される記述
-------------------------------------------*/
.inner {
	width: 100%;
	max-width: 1100px; /* 980px+15px*2 */
    margin-inline: auto;
    padding-inline: 15px;
}
.nav__link {
	height: inherit;
	display: flex;
	justify-content: center;
	align-items: center;
}

.main__title {
	font-size: 2em;
	margin-bottom: 20px;
}
.title__l {
	font-size: 1.5em;
	margin-bottom: 20px;
}
/*-------------------------------------------
header
-------------------------------------------*/

.header {
    height: 80px;
/* --color-primary を 80% の濃度にする（残り20%が透明） */
background-color: color-mix(in srgb, var(--color-primary), transparent 20%);
	position: fixed;
	top: 0;
	z-index: 999;
	width: 100%;
	font-weight: bold;
}

.header__inner {
	height: inherit;
	align-items: center;
	padding-top: 0;
	max-width: 1280px;
	margin-inline: auto;
}

.pc__header {
	display: flex;
    align-items: center;
	height: inherit;
	padding-inline: 20px;
}

.pc-nav {
	height: inherit;
}

.pc-nav ul {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	height: inherit;
	width: 100%;
	gap: 40px;
}
.pc-nav ul li {
/* 	height: inherit; */
	display: flex;
	align-items: center;
	justify-content: center;
}

.header__logo {
	font-size: 1.5em;
	white-space: nowrap;
}

.sp__header {
	display: flex;
    align-items: center;
	height: inherit;
	padding-inline: 20px;
	justify-content: space-between;
}
.sp-nav {
	height: inherit;
}

@media screen and (max-width: 768px) {
	.header {
		height: 60px;
	}
}

/* ナビゲーション内のボタンデザイン */
.nav__btn {
  background-color: var(--color-accent); /* スクショのボタン色 */
  color: #fff;    /* 文字色を白に強制 */
  padding: 20px;       /* ボタンらしい余白 */
  border-radius: 4px;       /* 角丸 */
  font-weight: bold;
  transition: background-color 0.3s, opacity 0.3s;
  display: inline-block;    /* 高さを維持 */
  line-height: 1;
}

.nav__btn:hover {
  background-color: #22a352; /* ホバー時に少し暗く */
  opacity: 1;                /* 他のリンクのホバー（薄くなる）を打ち消す場合 */
  text-decoration: none;
}

/*-------------------------------------------
ハンバーガーメニュー
-------------------------------------------*/
.hamburger-menu {
	height: inherit;
    padding-top: 5px;
/* 	text-align: right; */
/* 	padding-right: 20px; */
}
.hamburger-icon {
	display: inline-block;
	cursor: pointer;
	position: relative;
	width: 50px;
	height: auto;
	z-index: 1000;
 }
.hamburger-icon span {
	display: block;
	position: absolute;
	width: 50px;
	height: 2px;
	background-color: #fff;
	border-radius: 2px;
	transition: all 0.2s ease-in-out;
}
.hamburger-icon span:nth-child(1) {
	top: 0;
}
.hamburger-icon span:nth-child(2) {
	top: 14px;
}
/* ハンバーガーメニューが開かれたとき */
.hamburger-icon.active span:nth-child(1) {
	top: 10px;
	transform: rotate(30deg);
}

.hamburger-icon.active span:nth-child(2) {
	top: 10px;
	transform: rotate(-30deg);
}

.mobile-nav {
	position: fixed;
	top: 0;
	right: -220px; 
	width: 220px;
	height: 100vh; 
	background-color: var(--color-primary);
	transition: right 0.3s ease-in-out;
	display: grid;
	place-content: center;
	transition: all 0.3s ease-in-out;
}
/* メニューが開かれたとき */
.mobile-nav.active {
	transform: translateX(-100%);
	transition: all 0.3s ease-in-out;
}
.mobile-nav ul {
	width: inherit;
    height: inherit;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 20px;
}
.mobile-li {
	height: 100px;
	width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}

/*-------------------------------------------
 footer
-------------------------------------------*/
.footer {
  background-color: var(--color-primary);
  color: #fff;
  padding-bottom: 40px;
}

.footer__inner {
  max-width: 1000px;
  margin-inline: auto;
  padding: 60px 15px 0;
}

/* 会社情報とナビを横並びにするコンテナ */
.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
/*   max-width: 800px; */
  margin-inline: auto;
  margin-bottom: 60px;
}

/* 左：会社情報エリア */
.footer__info {
  font-size: 16px;
  line-height: 1.8;
}

.footer__company-name {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
}

/* 右：ナビゲーションエリア */
.footer__nav {
  display: flex;
  gap: 10px;  /*メニュー列同士の間隔 */
	width: 50%;
    justify-content: space-between;
    padding-right: 80px;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav-item .nav__link {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  justify-content: flex-start;
  height: auto;
  padding: 0;
}

.footer__copy {
  text-align: center;
  font-size: 14px;
}

/* --- レスポンシブ --- */
@media screen and (max-width: 768px) {
  .footer__content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .footer__nav {
    gap: 24px;
	width: 100%;
        justify-content: space-around;
        padding-inline: 0;
  }
}
/*-------------------------------------------
 footer-wrapper (背景画像の一括指定)
-------------------------------------------*/
.footer-wrapper {
  position: relative;
  background-image: url('images/bg_02.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0 60px; /* CTA上の余白からフッター下の余白まで */
  z-index: 1;
  margin-top: 120px;
}
@media (max-width: 768px) {
.footer-wrapper {margin-top: 60px;}	
}
/* 背景を少し暗くするオーバーレイ */
/* .footer-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 40, 0.4);
  z-index: -1;
} */

/* --- CTA内部の調整 --- */
.cta {
  margin-bottom: 60px; /* CTAボックスとフッター情報の距離 */
}

/* --- Footer内部の調整 --- */
.footer {
  background-color: transparent; /* 背景を透過させる */
}

.footer__inner {
  padding-top: 0; /* 上のpaddingはwrapperで管理 */
}
/*-------------------------------------------
 ヒーローセクション
-------------------------------------------*/
.hero {
  background-image: url('images/hero-main.webp');
  background-repeat: no-repeat;
  background-color: #0a1528;
  /* PC: 右側に50%の幅で配置 */
  background-size: 50% auto; 
  background-position: right center;

  min-height: 614px; 
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero__inner {
  max-width: 1260px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 15px;
}

.hero__content {
  position: relative;
  z-index: 10;
  /* PCで中央寄りすぎる場合は調整してください */
  margin-left: 80px; 
}

.hero__title {
  font-size: clamp(24px, 4vw, 42px);
/*   font-size: 42px; */
  line-height: 1.6;
  font-weight: bold;
  margin-bottom: 24px;
}

.hero__title--em {
  display: block; /* 改行させる場合 */
}

.hero__lead {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 60px;
}

/* --- スマホ表示 (768px以下) --- */
@media (max-width: 768px) {
  .hero {
    display: block;
    min-height: auto;
    padding-top: 60px;
    /* テキストの下に画像を配置するための余白（画像の高さに合わせて調整） */
    padding-bottom: 458px; 
    /* 背景画像を下に持ってくる */
    background-image: url('images/hero-main.webp'); /* ここで再指定 */
    background-size: 100% auto; /* 横幅いっぱい */
    background-position: bottom center;
  }

  .hero__content {
    margin-left: 0; /* 左余白を解除 */
/*     text-align: center;  */
  }
	.hero__btn-wrapper {
		text-align: center;
	}
}
@media (max-width: 500px) {
  .hero {
    padding-bottom: 280px; 
  }
}

/* ボタン関連 */
.u-color-accent { color: var(--color-accent); }
.hero__btn {
  display: inline-block;
  background-color: var(--color-accent);
  color: #fff;
  padding: 18px 36px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
}

/*-------------------------------------------
 manufacturerセクション 
-------------------------------------------*/
.manufacturer__header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.manufacturer__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 40px;
}
.manufacturer .manufacturer__header .manufacturer__title {
    font-size: 32px;
}
.manufacturer__lead {
  font-size: 16px;
  line-height: 1.6;
}

/* ビジュアル（画像リスト） */
.manufacturer__visual {
  margin-top: 50px;
}

.manufacturer__image-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.manufacturer__image-item {
  flex: 1;
  aspect-ratio: 16 / 9; /* 必要に応じて高さを固定 */
  overflow: hidden;
}

.manufacturer__image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 580px) {
.manufacturer .manufacturer__header .manufacturer__title {
    font-size: 24px;
}
  
/*   .manufacturer__image-list {
    flex-direction: column;
  } */
  
  .manufacturer__header::after {
    width: 100%;
  }
}

/*-------------------------------------------
products-featureセクション 
-------------------------------------------*/
/* .products-feature {
  padding: 80px 0;
} */

/* ヘッダー部分 */
.products-feature__header {
  text-align: center;
  margin-bottom: 60px;
}

.products-feature__sub-title {
  font-size: 15px;
  margin-bottom: 1px;
  display: block;
}

.products-feature__title {
  font-size: 36px;
/*   font-weight: bold; */
  position: relative;
  display: inline-block;
}
@media (max-width: 600px) {
	.products-feature__title {
	  font-size: 24px;
	}
}
/* --- 汎用クラス：左右に消えるライン ----------------------------- */
.u-fade-line {
  position: relative;
  display: inline-block;
}

.u-fade-line::before,
.u-fade-line::after {
  content: "";
  position: absolute;
  top: 55%; 
  width: 160px; /* 指定いただいた長さ */
  height: 1px;
}

/* 左側の線 */
.u-fade-line::before {
  right: 100%;
  margin-right: 20px;
  background: linear-gradient(to left, rgba(255,255,255,0.8), rgba(255,255,255,0));
}

/* 右側の線 */
.u-fade-line::after {
  left: 100%;
  margin-left: 20px;
  background: linear-gradient(to right, rgba(255,255,255,0.8), rgba(255,255,255,0));
}

@media (max-width: 600px) {
  .u-fade-line::before,
  .u-fade-line::after {
    width: 60px; 
  }
}
/* --- 汎用クラス：左右に消えるライン ここまで----------------------------- */


/* コンテンツレイアウト */
.products-feature__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px; /* 画像とリストの間隔を広めに設定 */
  max-width: 1000px;
  margin: 0 auto;
}

.products-feature__visual {
  flex: 0 1 40%;
  text-align: right;
}

.products-feature__visual img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.1)); /* モーターに軽い光沢感 */
}

.products-feature__list {
  flex: 1;
}

/* 各リストアイテム */
.products-feature__item {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  gap: 14px;
}

.products-feature__item:last-child {
  margin-bottom: 0;
}

/* 数字ボックス */
.products-feature__number {
  background-color: var(--color-secondary);
  width: 64px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  margin-right: 25px;
  flex-shrink: 0;
  border-radius: 4px;
}

.products-feature__item-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 12px;
  line-height: 1.4;
}

.products-feature__item-desc {
  font-size: 16px;
  line-height: 1.8;
}

@media (max-width: 768px) {
	.products-feature__item-title {
    font-size: 21px;
	}
	.products-feature__number {
	width: 54px;
  	margin-right: 0;
	}
  .products-feature__content {
    flex-direction: column;
    gap: 30px;
  }
  .products-feature__visual {
    text-align: center;
    margin-bottom: 40px;
  }
  .products-feature__visual img {
    max-width: 50%;
    margin-inline: auto;
  }
}


/*-------------------------------------------
product-categoriesセクション
-------------------------------------------*/
/* セクション全体 */
/* .product-categories {
  padding: 80px 0;
} */

/* カードの並び */
.product-categories__list {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

/* 個別カード全体 */
.product-card {
  flex: 0 1 320px;
  /* background-color: #fff; を削除 */
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}

/* カードヘッダー（濃紺部分） */
.product-card__header {
  background-color: var(--color-secondary);
  padding: 18px 10px;
  text-align: center;
  position: relative;
  /* 上側だけ角丸を適用 */
  border-radius: 10px 10px 0 0;
}

/* カードボディ（画像部分：白背景） */
.product-card__body {
  padding: 24px;
  background-color: #fff; /* 白背景はここだけで指定 */
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.2 / 1;
  border-radius: 0 0 10px 10px;
}

/* スマホ（767px以下）向けの調整 */
@media screen and (max-width: 767px) {
    .product-card__body {
        /* 比率指定を解除して、中身の高さに合わせる */
        aspect-ratio: auto; 
        
        /* 上下の余白を極限まで小さくする（10px〜15px程度） */
        padding: 15px 24px; 
        
        /* 画像が大きくなりすぎないよう高さを制限（お好みで調整） */
        height: auto;
        min-height: 0;
    }

    .product-card__body img {
        /* 画像の最大高さを決めてしまうと、確実に高さが抑えられます */
        max-height: 150px; 
        width: auto;      /* 横幅は自動（アスペクト比維持） */
        margin: 0 auto;   /* 中央寄せ */
    }
	.product-categories__list {
        gap: 30px; 
    }

    /* カード自体の幅と余白の調整 */
    .product-card {
        flex: 0 1 auto;   /* 固定幅を解除し、中身に合わせる */
        width: 100%;      /* 横幅いっぱいにする */
        max-width: 340px; /* 400pxから少し小さくすると余白が締まって見えます */
        margin-inline: auto; /* 中央に配置 */
    }
}

/* 文字の下（ヘッダーの底辺）のグラデーションライン */
.product-card__header::before {
  content: "";
  position: absolute;
  bottom: 0;    /* topからbottomに変更：これで文字の下になります */
  left: 0;
  width: 100%;
  height: 3px;  /* 線の太さ */
  /* 左から右へ透過するグラデーション */
  background: linear-gradient(to right, var(--color-accent), transparent);
  z-index: 1;   /* 画像との境界で確実に上に来るように */
}

.product-card__title {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.05em;
}


.product-card__body img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* ボタン設定 */
.product-categories__btn-wrapper {
  text-align: center;
}

.c-btn-green {
  display: inline-block;
  background-color: var(--color-accent);
  color: #fff;
  padding: 15px 40px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s;
  position: relative;
}

.c-btn-green::after {
  content: ">";
  margin-left: 10px;
  font-family: serif;
}

.c-btn-green:hover {
  opacity: 0.8;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .product-categories__list {
    flex-direction: column;
    align-items: center;
  }
  .product-card {
    width: 100%;
    max-width: 400px;
  }
}

/*-------------------------------------------
 company-overviewセクション
-------------------------------------------*/
.company-overview__bg {
  position: relative;
  padding: 100px 0; /* 上下の余白 */
  z-index: 1;
  overflow: hidden; /* 背景画像のはみ出し防止 */
}

/* 背景画像専用のレイヤー */
.company-overview__bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/bg_01.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1; 
}

.company-overview__content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.company-overview__header {
  margin-bottom: 40px;
}

.company-overview__title {
  font-size: 32px;
/*   font-weight: bold; */
  color: #fff;
}

.company-overview__body {
  margin-bottom: 40px;
  max-width: 477px;
  margin-inline: auto;
}

.company-overview__text {
  font-size: 16px;
  line-height: 2;
  color: #fff;
  letter-spacing: 0.05em;
}

.company-overview__btn-wrap {
  display: flex;
  justify-content: center;
}

.company-overview .c-btn-green {
  min-width: 240px;
  padding: 18px 40px;
}

@media screen and (max-width: 768px) {
  .company-overview__title {
    font-size: 24px;
  }
  .company-overview__text {
    font-size: 14px;
    text-align: justify;
    padding: 0 10px;
  }
}

@media screen and (min-width: 768px) {
  .company-overview .u-fade-line::before, 
  .u-fade-line::after {
    max-width: 298px;
  }
}

/* --- 上下の独立した透過ライン（高さ2px版） --- */
.company-overview__line-top,
.company-overview__line-bottom {
  width: 100%;
  height: 2px; /* 親要素も2pxに変更 */
/*   background-color: #0F1728;  */
  position: relative;
  z-index: 20;
}

.company-overview__line-top::before,
.company-overview__line-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  
  width: 100%; 
  max-width: 1000px; 
  height: 2px; /* 線の高さを2pxに */

  background: linear-gradient(to right, 
    transparent 0%, 
    rgba(255, 255, 255, 0.8) 35%, 
    rgba(255, 255, 255, 0.8) 65%, 
    transparent 100%
  ) no-repeat;
  background-size: 100% 2px; /* サイズも2pxに固定 */
}

.company-overview__line-top {
  margin-bottom: -2px; /* 高さ分を重ねる */
}
.company-overview__line-bottom {
  margin-top: -2px; /* 高さ分を重ねる */
}

/* スマホ用：幅を広げつつ高さ2pxを維持 */
@media screen and (max-width: 768px) {
  .company-overview__line-top,
  .company-overview__line-bottom {
    height: 2px;
  }
  .company-overview__line-top::before,
  .company-overview__line-bottom::before {
    width: 100%; 
    height: 2px;
    display: block; 
    background: linear-gradient(to right, 
      transparent 0%, 
      rgba(255, 255, 255, 0.8) 25%, 
      rgba(255, 255, 255, 0.8) 75%, 
      transparent 100%
    ) no-repeat;
    background-size: 100% 2px;
  }
}
/*-------------------------------------------
 business-contentセクション
-------------------------------------------*/
/* --- コンテナ・レイアウト --- */
.business-content__container {
  display: flex;
  align-items: center;
/*   justify-content: space-between; */
	justify-content: end; 
  gap: 30px;
  padding-left: 15px; 
	    max-width: 1400px;
    margin-inline: auto;
}

.business-content__info {
/*   flex: 1;
  max-width: 500px; */
	max-width: 477px;
}

.business-content__title {
  font-size: 32px;
/*   font-weight: bold; */
  color: #fff;
  margin-bottom: 20px; 
}
@media screen and (max-width: 768px) {
	.business-content__title {font-size: 24px;}	
}

.business-content__text {
  font-size: 16px;
  line-height: 2;
  color: #fff;
  margin-bottom: 40px;
}

/* --- ビジュアル（画像） --- */
.business-content__visual {
/*   flex: 1; */
  width: 50%;
}

.business-content__visual img {
  width: 100%;
  /* 左側のみ角丸 */
  border-radius: 12px 0 0 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
@media screen and (min-width: 1401px) {
	.business-content__visual img {
		  width: 100%;
		  /* 左側のみ角丸 */
		  border-radius: 12px;
		}
}
/* --- 装飾線（上下の境界線） --- */
.business-content__line-top,
.business-content__line-bottom {
  width: 100%;
  height: 1px;
  background-color: var(--color-primary);
  position: relative;
  z-index: 20;
}

.business-content__line-top::before,
.business-content__line-bottom::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1000px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.6), transparent);
}

.business-content__line-top { margin-bottom: -1px; }
.business-content__line-bottom { margin-top: -1px; }

/* --- 下線カスタム（u-fade-line） --- */
.business-content .u-fade-line {
  display: block;
  padding-bottom: 60px;
  position: relative; /* Beforeの基準点として必要 */
}

.business-content .u-fade-line::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 280px; 
  height: 1px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
}

.business-content .u-fade-line::after {
  display: none;
}

/* --- レスポンシブ (900px以下) --- */
@media screen and (max-width: 900px) {
  .business-content__container {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
    padding-left: 15px;
    padding-right: 15px; /* スマホ時は右も余白があると安全です */
  }
  
  .business-content__info {
    order: 2;
  }
  
  .business-content__visual {
    order: 1;
    width: 100%;
  }

  /* スマホ時は画像が全幅になることが多いため、全角丸にするのが一般的です */
  .business-content__visual img {
    border-radius: 12px;
  }

  /* スマホ用：線を中央に寄せる */
  .business-content .u-fade-line::before {
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent);
  }
}

/*-------------------------------------------
 newsセクション
-------------------------------------------*/
.news__container {
  background-color: var(--color-secondary);
  border-radius: 12px;
  display: flex;
  padding: 60px;
  gap: 80px;
}

/* 左側：ヘッダーエリア */
.news__header {
  flex: 0 0 160px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.news__icon {
  margin-bottom: 20px;
}

.news__title {
    width: 128px;
    height: auto;
}
@media screen and (max-width: 768px) {
	.news__title {width: 110px;}
}

/* 右側：リストエリア */
.news__body {
  flex: 1;
}

.news__list {
  margin-bottom: 40px;
}

.news__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.news__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.news__link:hover .news__arrow {
  transform: scale(1.5); /* ホバー時にドットを少し強調 */
}

.news__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news__date {
  font-size: 14px;
  font-weight: bold;
}

.news__post-title {
  font-size: 14px;
  line-height: 1.5;
}

.news__arrow {
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
  transition: transform 0.3s;
}

.news__btn-wrap {
  margin-top: 20px;
}

@media screen and (max-width: 900px) {
  .news__container {
    flex-direction: column;
    padding: 40px 20px;
    gap: 40px;
  }
  
  .news__header {
    flex: none;
    flex-direction: row;
    gap: 20px;
  }
  
  .news__icon {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 768px) {
	.news__btn-wrap {
	  text-align: center;
	}
}
/*-------------------------------------------
 CTAセクション
-------------------------------------------*/
.cta__bg {
  position: relative;
  padding: 100px 0; /* ボックスが浮いて見えるための上下余白 */
  background-image: url('images/bg_02.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* 背景を少し暗くして視認性を上げる（必要に応じて） */
/* .cta__bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 40, 0.4); 
  z-index: -1;
} */

.cta__container {
  display: flex;
  justify-content: center;
}

.cta__box {
  background-color: var(--color-accent);
  width: 100%;
/*   max-width: 800px; */
  padding: 40px 10px;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta__title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.cta__text {
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta__btn-wrap {
  display: flex;
  justify-content: center;
}

.cta__btn {
  display: inline-block;
  background-color: #fff;
  color: var(--color-accent);
  padding: 16px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  position: relative;
}

.cta__btn::after {
  content: ">";
  margin-left: 10px;
  font-family: serif;
}

.cta__btn:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  opacity: 1; /* 共通のhover透明化を打ち消し */
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .cta__bg {
    padding: 60px 0;
  }
/*   .cta__box {
    padding: 40px 20px;
  } */
  .cta__title {
    font-size: 22px;
  }
  .cta__text {
    font-size: 14px;
  }
}
/*-------------------------------------------
  下層共通デザイン
-------------------------------------------*/
.lower-hero {
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 0;
}
/* @media screen and (max-width: 768px) {
.lower-hero {margin-top: 60px;}
} */
/* ヒーローのオーバーレイ */
.lower-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 40, 0.6);
}

/* --------------　下層ページヒーロー画像 ----------------　*/
.lower-hero--maker { background-image: url('http://demosite-richwin.work/wp-content/uploads/2026/02/img_bg05.webp'); }
.lower-hero--company { background-image: url('http://demosite-richwin.work/wp-content/uploads/2026/02/img_bg04.webp'); }
.lower-hero--business { background-image: url('http://demosite-richwin.work/wp-content/uploads/2026/02/img_bg03.webp'); }
.lower-hero--news{ background-image: url('http://demosite-richwin.work/wp-content/uploads/2026/02/img_bg02.webp'); }
.lower-hero--contact{ background-image: url('http://demosite-richwin.work/wp-content/uploads/2026/02/img_bg01.webp'); }
.lower-hero--privacy{ background-image: url('http://demosite-richwin.work/wp-content/uploads/2026/02/img_bg06.webp'); }
.lower-hero--thanks{ background-image: url('http://demosite-richwin.work/wp-content/uploads/2026/02/img_bg07.webp'); }

.lower-page__title {
  position: relative;
  z-index: 1;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: bold;
  color: #fff;
  text-align: center;
}

/* .section-spacing {
  padding: 100px 0;
} */

/* 共通カード・テーブル */
.maker-lineup-card {
  background-color: var(--color-secondary);
  padding: 40px;
  border-radius: 12px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.05);
}

.maker-info-table {
  width: 100%;
  border-collapse: collapse;
}

.maker-info-table th {
  text-align: left;
  color: #999;
  font-size: 13px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.maker-info-table td {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 15px;
}

.business-faq__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.business-faq__item {
    padding-left: 25px;
    position: relative;
}
.business-faq__item::before {
    content: "■";
    position: absolute;
    left: 0px;
    color: var(--color-accent);
}
/*-------------------------------------------
  取扱メーカー ページ
-------------------------------------------*/
.maker-intro {
  text-align: center;
  margin-bottom: 80px;
}

.maker-intro__text {
  line-height: 2;
  font-size: 16px;
  color: #fff;
}

.flow-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
  width: fit-content; 
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
}

.flow-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 24px;
    top: 54px;
    width: 1px;
    height: calc(100% - 20px);
    background-color: rgba(255, 255, 255, 0.4);
}

.flow-step__header {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  width: 200px;
}

.flow-step__name {
  font-size: 18px;
/*   font-weight: bold; */
}

.flow-step__desc {
  flex: 1;
  font-size: 16px;
  line-height: 1.8;
/*   padding-top: 12px; */
}

/*-------------------------------------------
  会社概要 ページ
-------------------------------------------*/
.company-detail__container > div:not(:first-child) {
  margin-top: 80px;
}

.company__inner,
.business__inner,
.maker__inner,
.privacy__inner {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  padding-inline: 15px;
}
/* 1番目のセクション（ヒーロー）への指定 */
.company__inner > section:first-child {
    margin-top: 60px;
}

/* 最後のセクションへの指定 */
.company__inner > section:last-child {
    margin-bottom: 60px;
}

.company-info__table { width: 100%; }
.company-info__row {
  display: flex;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.company-info__row dt {
  width: 140px;
  color: #999;
  font-weight: bold;
  flex-shrink: 0;
}

.company-info__note, 
.company-access__note {
  font-size: 13px;
  color: #999;
  margin-top: 10px;
}

.company-access__map-wrap {
  height: 400px;
  background: #162137;
  border-radius: 12px;
  overflow: hidden;
  max-width: 900px;
  margin-inline: auto;
}

.company-policy__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.company-policy__item {
  padding-left: 25px;
  position: relative;
}

.company-policy__item::before {
  content: "■";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/*-------------------------------------------
  事業内容 ページ
-------------------------------------------*/
.business-detail__lead {
  text-align: center;
  margin-bottom: 80px;
  font-size: 16px;
}

.business-card-body {
  flex-direction: column;
  height: auto;
  padding: 30px 20px;
  gap: 20px;
}

.business-card-text {
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

/* .business-info__flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 100px;
} */

.products-feature__number.small {
  width: 50px;
  height: 50px;
  font-size: 16px;
}

/*-------------------------------------------
  レスポンシブ
-------------------------------------------*/
/* @media screen and (max-width: 900px) {
  .business-info__flex {
    grid-template-columns: 1fr;
    gap: 60px;
  }
} */

@media screen and (max-width: 768px) {
/*   .section-spacing {
    padding: 60px 0;
  } */

  .flow-step {
    flex-direction: column;
    gap: 10px;
  }

  .flow-step__header {
    width: 100%;
  }

  .flow-step__desc {
    padding-left: 70px;
    padding-top: 0;
  }

  .flow-step:not(:last-child)::after {
    left: 24px;
    top: 54px;
  }

  .company-info__row {
    flex-direction: column;
    gap: 5px;
  }
}

/*-------------------------------------------
  お問い合わせ・サンクス・プライバシー
-------------------------------------------*/
.contact-intro, .thanks-message {
  text-align: center;
  margin-bottom: 60px;
}

.contact-intro__text, .thanks-message__text {
  line-height: 2;
  font-size: 15px;
  color: #ccc;
}

/* フォームのコンテナ調整 */
.contact-form-container {
  max-width: 800px;
}

/* サンクスページのボタン */
.thanks-back-btn {
  margin-top: 40px;
}

/* プライバシーポリシーの本文エリア */
.privacy-policy-box {
  max-width: 900px;
}

/* WordPressの標準的な出力への対応（WPコンテンツ内） */
.lower-page__entry-content h2 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #fff;
  border-left: 3px solid var(--color-accent);
  padding-left: 15px;
}

.lower-page__entry-content p {
  margin-bottom: 25px;
  line-height: 1.8;
/*   color: #ccc; */
}

/* フォームの入力フィールドをカードに馴染ませるためのヒント（CF7用） */
.wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%;
  padding: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: #fff;
}

/*-------------------------------------------
  お知らせ一覧（アーカイブ）
-------------------------------------------*/
/* ページネーションの調整 */
.pagination-container {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.pagination-container .nav-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pagination-container .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination-container .page-numbers:hover,
.pagination-container .page-numbers.current {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* 前へ・次へボタンの幅広調整 */
.pagination-container .page-numbers.prev,
.pagination-container .page-numbers.next {
  width: auto;
  padding: 0 20px;
  font-weight: bold;
  letter-spacing: 0.05em;
}

/* ニュースリストの微調整（下層用） */
.news-archive-section .news__list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.news-archive-section .news__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .pagination-container .page-numbers {
    width: 35px;
    height: 35px;
    font-size: 12px;
  }
}

/*-------------------------------------------
  お問い合わせフォーム (Contact Form 7)
-------------------------------------------*/
/* フォーム全体の容器（カードデザイン） */
/* .contact-form {
    background-color: #0f172a; 
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
} */

/* 2カラムレイアウト（PC） */
.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* 縦並び（スマホ） */
@media screen and (max-width: 768px) {
    .contact-form__row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.contact-form__group--full {
    margin-top: 5px;
}

/* ラベルスタイル */
.contact-form__group label {
    font-size: 14px;
    font-weight: bold;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.contact-form__group label span {
    color: #ff0000;
    margin-left: 4px;
}

/* 入力フィールドの共通スタイル */
.wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    background-color: #0b1120; /* 入力エリアの暗い背景 */
    border: 1px solid #1e293b;
    border-radius: 6px;
    padding: 12px 16px;
    color: #fff;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.wpcf7-form-control:focus {
    border-color: #6366f1;
    outline: none;
}

/* テキストエリアの高さ */
textarea.wpcf7-form-control {
    height: 180px;
}

/* ボタンエリア */
.contact-form__submit-area p{
    text-align: center;
    margin-top: 30px;
}

/* ボタン */
.c-btn--submit {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 15px;
    display: inline-block;
	background-color: #1e293b;
    color: #fff;
}

/* ホバー時の反転処理 */
.c-btn--submit:hover {
    background-color: #fff !important; /* 背景を白に */
    color: #1e293b !important;            /* 文字色を元の背景色に */
    border-color: #1e293b !important;     /* 枠線も色を合わせる */
    opacity: 1;                           /* 共通設定のopacityを打ち消す */
}

/* 下部注釈 */
.contact-form__notes {
    margin-top: 25px;
    font-size: 12px;
    line-height: 1.8;
    color: #94a3b8;
}

/* CF7のエラーメッセージ等を非表示（スクショに合わせる） */
.wpcf7-spinner {
    display: none;
}

/* プライバシーポリシー専用スタイル */
.privacy-policy-box {
    padding: 60px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

@media screen and (max-width: 768px) {
    .privacy-policy-box {
        padding: 30px 20px;
    }
}

.privacy-policy-box h3 {
    font-size: 18px;
    color: #fff;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-policy-box p, 
.privacy-policy-box li {
    font-size: 15px;
    line-height: 1.8;
/*     color: #cbd5e1; */
    margin-bottom: 1.5em;
}

.privacy-policy-box ul {
    padding-left: 1.5em;
    margin-bottom: 2em;
}

.u-text-right {
    text-align: right;
}
/*-------------------------------------------
  お問い合わせ・お問い合わせ完了
-------------------------------------------*/
.thanks-content .products-feature__title,
.contact-intro .products-feature__title{
	font-size: 32px;
	font-weight: bold;
}
@media screen and (max-width: 768px) {
	.thanks-content .products-feature__title,
	.contact-intro .products-feature__title {
		font-size: 22px;
	}
}

/*-------------------------------------------
  ブログ詳細ページ (single.php)
-------------------------------------------*/
.single-post-container {
    margin-top: var(--space-section-mt);
    margin-bottom: 100px;
    font-family: var(--font-base);
}

/* ヘッダー部分 */
.single-header {
    text-align: center;
    margin-bottom: 40px;
}

.single-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: var(--space-component-mt);
}

.single-date {
    font-size: 14px;
    color: var(--color-text-sub); /* #666666 */
}

.single-category a {
    display: inline-block;
    background: var(--color-secondary); /* 少し薄い紺色 */
    color: var(--color-text-main); /* #fff */
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    transition: background 0.3s;
}

.single-category a:hover {
    background: var(--color-accent); /* #2AB557 */
}

.single-title {
    font-size: clamp(24px, 4vw, 32px);
    line-height: 1.4;
    color: var(--color-text-main);
    margin-bottom: 30px;
}

.single-eyecatch img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* 本文エリアをカード風に */
.single-content-body {
    padding: 60px;
    background-color: var(--color-secondary); /* ベースより少し明るい紺 */
    margin-bottom: 60px;
}

@media screen and (max-width: 768px) {
    .single-content-body {
        padding: 30px 20px;
    }
}

/* 前後ナビゲーション */
.post-navigation {
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.post-navigation a {
    color: var(--color-text-main);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.post-navigation a:hover {
    color: var(--color-accent);
}

/* 一覧へ戻るボタン */
.back-to-list a {
    font-weight: bold;
    color: var(--color-text-main);
    border-bottom: 1px solid var(--color-accent); /* #2AB557 */
    text-decoration: none;
    transition: opacity 0.3s;
}

.back-to-list a:hover {
    opacity: 0.7;
}

/* --- 取引の流れセクション専用の調整 --- */

/* 説明文（desc）がない場合、headerの幅制限を解除して横に広げる */
.is-business-flow .flow-step__header {
    width: 100%; /* 200px固定を解除 */
    flex-shrink: 1;
}

/* 縦のラインの位置微調整（タイトルのみの場合のバランス合わせ） */
.is-business-flow .flow-step:not(:last-child)::after {
    height: calc(100% - 10px); /* 線の長さを少し調整 */
}

/* スマホ表示の調整（既存のpadding-leftなどをリセット） */
@media screen and (max-width: 768px) {
    .is-business-flow .flow-step__desc {
        display: none; /* 空の要素が余計な余白を作らないように念のため */
    }
}

/*-------------------------------------------
  事業内容詳細セクション (business-detail)
-------------------------------------------*/
/* .business-detail {
  padding: var(--space-section-mt) 0;
} */

.business-detail__lead {
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-text-main);
  line-height: 1.8;
}

/* 3カラムレイアウト */
.business-detail .product-categories__list {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.business-detail .product-card {
  flex: 1;
  background-color: var(--color-secondary);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* PCでは高さを揃えるが、SPではリセットする */
  height: auto;
}

/* タイトルエリア */
.business-detail .product-card__header {
  padding: 24px 20px 15px;
  position: relative;
}

.business-detail .product-card__title {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text-main);
  margin-bottom: 12px; /* 線との間隔 */
}

/* タイトル下の白い細い線 */
.business-detail .product-card__header::before {
  content: "";
  position: absolute;
  top: 55px; /* タイトルのすぐ下に配置 */
  left: 20px;
  width: calc(100% - 40px);
  height: 1px;
  background: #ffffff;
  opacity: 0.3;
}

/* テキスト（線のすぐ下） */
.business-detail .business-card-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-main);
  margin-top: 15px; /* 線からの余白 */
  margin-bottom: 0;
}

/* 画像エリア：ここが切れないように重要設定 */
.business-detail .product-card__body {
  padding: 0 20px 24px; /* 下側の余白をしっかり取る */
  margin-top: auto;    /* 画像をカード下部に寄せる */
  width: 100%;
}

.business-detail .product-card__body img {
  width: 100%;
  height: auto !important;
  max-width: 100%;
  display: block;
  border-radius: 6px;
  object-fit: contain;
}

/* --- スマホ表示（768px以下） --- */
@media screen and (max-width: 768px) {
  .business-detail .product-categories__list {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
  }

  .business-detail .product-card {
    width: 100%;
    /* スマホでは中身に応じて伸びるようにする（切れ防止） */
    height: auto !important; 
    min-height: 0;
  }

  .business-detail .product-card__header {
    padding: 20px 15px 10px;
  }

  .business-detail .product-card__body {
    padding: 10px 15px 25px; /* 下のパディングを増やして切れを防止 */
  }
}