/* ----------------------
   CSS Reset / 基本設定
   ---------------------- */
*,*::before,*::after{box-sizing:border-box;}
html{line-height:1.5;-webkit-text-size-adjust:100%;scroll-behavior:smooth;overflow-x:hidden;}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,"ヒラギノ角ゴ ProN","Noto Sans JP",sans-serif;color:#222;background:#fff;}
img,svg{max-width:100%;height:auto;display:block;}
a{color:inherit;text-decoration:none;}
a:hover,a:focus{text-decoration:none;}
ul,ol{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4,h5,h6{margin:0;font-weight:600;line-height:1.25;}
p{margin:0 0 1em;}

/* ----------------------
   カラーバリアブル
   ---------------------- */
:root{
  --color-brand:#9bcb6b;
  --color-brand-dark:#388e3c;
  --color-text:#222;
  --color-text-light:#666;
  --color-bg:#fff;
  --color-bg-alt:#fff;
  --color-border:#fff;
  --radius-lg:30px;
  --radius-xl:60px;
  --radius-md:8px;
  --space-xs:4px;
  --space-sm:8px;
  --space-md:16px;
  --space-lg:30px;
  --space-xl:64px;
  --header-height:64px;
}

/* ----------------------
   アクセシビリティ補助
   ---------------------- */
.visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;}
.skip-link{position:absolute;top:-40px;left:0;padding:var(--space-sm) var(--space-md);background:#000;color:#fff;z-index:100;transition:top .2s;}
.skip-link:focus{top:0;}

.pc { display:inline-block; }
.sp { display:none; }

@media (max-width:768px){
  .pc{ display:none; }
  .sp{ display:inline-block; }
}

/* ----------------------
   レイアウト用コンテナ
   ---------------------- */
.container{width:100%;margin-inline:auto;padding-inline:var(--space-md);}

/* ----------------------
   ヘッダー
   ---------------------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
  border-bottom:1px solid var(--color-border);
  padding-block:30px;
}

.site-header-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:var(--header-height);
  gap:var(--space-md);
  width:100%;
  padding:0 30px;
}

.site-logo{ display:flex; align-items:center; flex-shrink:0; }
.site-logo img{ height:40px; object-fit:contain; max-width:100%; transition:height 0.3s ease; }

@media(max-width:1100px){ .site-logo img{ height:40px; } }
@media(max-width:970px){ .site-logo img{ height:30px; } }
@media(max-width:768px){ .site-logo img{ height:35px; } }

/* ----------------------
   ナビゲーション (PC)
   ---------------------- */
nav.primary-nav {
  display:flex;
  align-items:center;
  flex-shrink:1;
  z-index:2000;
}

.primary-nav-list {
  display:flex;
  align-items:center;
  background:#f5f5f5;
  border-radius:9999px;
  letter-spacing:2px;
  overflow:visible; /* <- PC用に必ず表示 */
}

.primary-nav-list > li:not(:last-child) > a {
  display:flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  background:#f5f5f5;
  font-weight:600;
  padding:clamp(10px,1.5vw,30px) clamp(8px,1vw,14px);
  font-size:clamp(0.8rem,1vw,0.95rem);
  width:clamp(80px,10vw,140px);
  transition:background 0.2s;
}

.primary-nav-list > li:first-child > a { border-radius:9999px 0 0 9999px; }

.primary-nav-list > li:last-child > a {
  display:flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  background:var(--color-brand);
  color:#fff;
  font-weight:600;
  padding:clamp(10px,1.5vw,30px) clamp(8px,1vw,16px);
  font-size:clamp(0.8rem,1vw,0.95rem);
  width:clamp(100px,14vw,200px);
  border-radius:0 9999px 9999px 0;
  transition:background 0.2s;
}

.primary-nav-list > li:last-child > a:hover { background:var(--color-brand-dark); }
.primary-nav-list > li > a:hover { background:#bbb; }

/* プルダウン */
.primary-nav-list > li.has-submenu{ position:relative; }
.primary-nav-list .sub-menu {
  display:none;
  position:absolute;
  top:100%;
  left:0;
  background:#fff;
  border-radius:0 0 10px 10px;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
  min-width:200px;
  z-index:3000;
}
.primary-nav-list .sub-menu li a {
  display:block;
  padding:10px 16px;
  color:#333;
  text-align:left;
  font-size:0.9rem;
  background:#fff;
  transition:background 0.2s;
  white-space:nowrap;
  font-size: clamp(0.8rem,1vw,0.95rem);
}
.primary-nav-list .sub-menu li a:hover { background:#f2f2f2; }
.primary-nav-list > li.has-submenu:hover > .sub-menu { display:block; }

/* ----------------------
   ハンバーガー & モバイル
   ---------------------- */
body.menu-open{ overflow:hidden; touch-action:none; }
.hamburger{ display:none; }

@media(max-width:768px){
  header.site-header{ position:fixed; top:0; left:0; padding:5px 0; z-index:1000; }

  .hamburger{
    display:block;
    position:fixed;
    top:15px;
    right:15px;
    z-index:1100;
    font-size:30px;
    background:none;
    border:none;
    color:#333;
    cursor:pointer;
  }

  nav.primary-nav {
    display:block;
    position:absolute;
    top:0;
    left:0;
    width:100%;
    background:#fff;
    visibility:hidden;
    opacity:0;
    pointer-events:none;
    transform:translateY(-20px);
    transition:opacity 0.4s ease, transform 0.4s ease;
  }

  nav.primary-nav.active{
    top:73px;
    visibility:visible;
    opacity:1;
    pointer-events:auto;
    transform:translateY(0);
  }

  .primary-nav-list{
    flex-direction:column;
    border-radius:0;
    width:100%;
    overflow:visible;
  }

  .primary-nav-list > li{
    width:100%;
    border-bottom:1px solid #ddd;
  }
  .primary-nav-list > li:first-child{ border-top:1px solid #ddd; }
  .primary-nav-list > li:last-child{ padding:0; }

  .primary-nav-list > li > a,
  .primary-nav-list > li:first-child > a,
  .primary-nav-list > li:last-child > a{
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    width:100% !important;
    padding:15px 0;
    border-radius:0;
  }
}

/* ========================
   PC用の表示を常に有効
======================== */
@media(min-width:769px){
  nav.primary-nav{ display:flex !important; visibility:visible !important; opacity:1 !important; pointer-events:auto !important; transform:none !important; }
  .hamburger{ display:none !important; }
  body.menu-open{ overflow:visible; touch-action:auto; }

  /* PC用 overflow 上書き */
  .container,
  .site-header-inner,
  .primary-nav,
  .primary-nav-list{ overflow:visible !important; }
}

@media(max-width:768px){
  /* サブメニューを常に表示、中央揃え */
  .primary-nav-list > li.has-submenu > .sub-menu {
    display: block;
    position: static;     /* 親の下に並べる */
    box-shadow: none;
    border-radius: 0;
    padding-left: 0;      /* インデントなし */
    text-align: center;   /* 中央揃え */
    z-index: 1; /* ハンバーガーより下に */
  }

  .primary-nav-list > li.has-submenu > .sub-menu li a {
    display: flex;               /* 横幅を100%にして中央揃え */
    justify-content: center;     /* 中央揃え */
    padding: 10px 0;             /* 上下の余白のみ */
    text-align: center;          /* 念のためテキストも中央 */
  }
}



/* ----------------------
   左のお問い合わせボタン
   ---------------------- */
.contact-btn {
  position: fixed;
  left: 0;
  bottom: -5%;
  transform: translateY(-50%);
  background: #ffe800;
  color: #000;
  padding: 45px 20px; /* 縦長になるように調整 */
  text-decoration: none;
  border-radius: 0 20px 20px 0;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background 0.3s;
  z-index: 1000;

  writing-mode: vertical-rl; /* 文字を縦書きに */
  text-orientation: upright;
  letter-spacing: 2px;
}
.contact-btn:hover {
  background: #fff26f;
}

@media (max-width: 768px) {
.contact-btn {
  display: none;
  /*left: 0;
  top: 50%;
  padding: 45px 20px;
  font-size: 16px;*/
}
}

/* =====================
   メインビジュアル
   ===================== */
.main-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px;    /* ナビと同じ幅 */
  margin: 0 auto; /* センタリング（ナビと合わせる） */
  display: flex;
  justify-content: flex-start; /* 左寄せ */
  min-height: 1100px; /* 画像窓と同じ高さを確保 */
}

/* 窓エリア */
.image-window {
  position: relative;
  width: calc(100% - 300px); /* 右に300pxの余白を確保 */
  max-width: 1100px;         /* 最大幅 */
  height: 850px;
  border-radius: 0 50px 0 0; /* 右上を丸く */
  overflow: hidden;
}

/* アニメーション定義 */
/* 初期状態：非表示、拡大あり */
.image-window img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05); /* 拡大を維持 */
  transition: opacity 1s ease;
}

/* 表示中の画像 */
.image-window img.active {
  opacity: 1;
}

/* panアニメーション（位置だけ動かす） */
@keyframes pan-left {
  0%   { transform: scale(1.05) translateX(0%); }
  100% { transform: scale(1.05) translateX(-1%); }
}

@keyframes pan-right {
  0%   { transform: scale(1.05) translateX(0); }
  100% { transform: scale(1.05) translateX(1%); }
}



/* 右側のコンテンツエリア */
.side-content {
  width: 300px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  border-radius: 0;
  position: relative;
}


/* 初期状態：右にずれて透明 */
.side-content img {
  position: relative;
  opacity: 0;
  transform: translateX(50px); /* 右に50pxずらす */
  transition: opacity 1s ease, transform 1s ease;
}

/* フェードイン・左に移動 */
.side-content img.animate {
  opacity: 1;
  transform: translateX(0);
}


/* 背景画像を side-content の ::before で管理 */
.side-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 25px;           /* ここを0にして親の左端に寄せる */
  width: 100%;       /* 親の幅いっぱい */
  height: 100%;
  background: url("../images/top_bg_01.png") no-repeat left bottom;
  background-size: contain;  /* 必要なら cover に変更 */
  z-index: -1;               /* コンテンツの後ろに置く */
}

.side-content h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: bold;
}

.side-content p {
  margin: 0 0 20px;
  color: #333;
}

/* ボタン */
.side-content .btn {
  display: inline-block;
  padding: 10px 20px;
  background: var(--color-brand, #4caf50);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}
.side-content .btn:hover {
  background: var(--color-brand-dark, #388e3c);
}

@media (min-width: 1401px) {
  .main-visual-wrapper {
    max-width: none;
    width: 100%;
    margin: 0;
  }
	
  .side-content {
    width: 400px; /* 必要ならここで明示的に固定幅に */
  }
  .side-content::before {
    left: 25px;  /* 必要に応じて調整 */
    width: 400px;
  }
	
  .image-window {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 768px) {
.image-window {
  width: calc(100%);
  height: 500px;
}
	
.side-content {
 display: none;
}
	
.side-content img{
  width: 100px;
}

.side-content::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("../images/top_bg_01.png") no-repeat left bottom;
  background-size: contain;  /* 必要なら cover に変更 */
  z-index: -1;               /* コンテンツの後ろに置く */
}
	
}

/* ----------------------
   トップに戻る
   ---------------------- */

  .back-to-top {
    position: fixed;
    bottom: 65px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: url('../images/top.png') no-repeat center center;
    background-size: contain;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 9999;
  }

  .back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
  }

/* メディアクエリでスマホ対応 */
@media (max-width: 768px) {
.main-visual-wrapper {
top:75px;
min-height: 650px;
}
	
  .back-to-top {
    position: fixed;
    bottom: 45px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
	
}

/* ----------------------
   メインコンテンツ
   ---------------------- */
main{display:block;}
section{padding-block:var(--space-xl);}
section:nth-of-type(even){background:var(--color-bg-alt);} 
section .section-inner{max-width:800px;margin-inline:auto;text-align:center;padding-inline:var(--space-md);} 
section h2{margin-bottom:var(--space-md);font-size:clamp(1.5rem,2.5vw,2.25rem);} 
section p.lead{max-width:50ch;margin-inline:auto;margin-bottom:var(--space-lg);color:var(--color-text-light);font-size:1.125rem;line-height:1.6;}
.demo-boxes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:var(--space-md);margin-top:var(--space-lg);} 
.demo-box{padding:var(--space-lg);background:#e0e0e0;border-radius:var(--radius-md);} 

/* タイトル */
.section-title {
  margin-bottom: 40px;
  text-align: left;
}
.section-heading-en {
  font-size: 45px;
  font-weight:500;
  color: #000;
  font-family: "Yu Mincho","游明朝","Hiragino Mincho ProN","MS PMincho",serif;
  margin-bottom: 10px;
}

.section-heading-en img{
  height: 45px;
  margin-bottom: 20px;
}

.company-section .section-heading-en img{
  height: 60px;
  margin-bottom: 20px;
}

.section-heading-jp {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.section-heading-jp .title-icon {
  display: inline-block;
  width: 15px;
  height: 15px;
  background: #ffe800;
  margin-right: 10px;
}
.section-heading-jp h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.large-btn {
  position: relative;
  text-align: center;
  margin-top: 60px;
  z-index: 1;
}
.large-btn a {
  position: relative;
  display: inline-block;
  width: 400px;
  max-width: 100%;      /* 画面幅を超えない */
  height: 80px;
  line-height: 80px;
  background-color: #ffe800;
  border-radius: 40px;
  text-align: center;
  font-size: clamp(18px, 1.8vw, 22px);
  color: #000;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
}

.large-btn a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 50px;
  height: 12px;
  background: url('../images/arrow.png') no-repeat center/contain;
  transition: right 0.3s ease;
}

.large-btn a:hover {
  background-color: #fff166;
}

.large-btn a:hover::after {
  right: 1px; /* 右端に動かす */
}

@media (max-width: 768px) {

.section-title {
  margin-bottom: 40px;
  text-align: left;
}
.section-heading-en {
  font-size: 30pt;
}
.section-heading-jp {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.section-heading-jp .title-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: #ffe800;
  margin-right: 10px;
}
.section-heading-jp h2 {
  font-size: 12pt;
}
	
  .large-btn a {
    width: 90%;           /* 画面幅に合わせる */
    max-width: 360px;     /* 最大幅 */
    height: 60px;
    line-height: 60px;
    background-color: #ffe800; /* 矢印は ::after に任せる */
    border-radius: 30px;
    /* background画像は消す */
  }

  .large-btn a::after {
    width: 36px;  /* 縮小版に調整 */
    height: 9px;
    right: 12px;  /* 初期位置を調整 */
  }

  .large-btn a:hover::after {
    right: 2px;  /* 右端にスライド */
  }
	
}
	
/* =====================
   ニュースセクション
   ===================== */
.news-section {
  position: relative;
  width: 100%;
  padding: 0 0 150px;
  background: #fff;
  overflow: visible; /* はみ出しても表示させる */
}

.news-inner {
  position: relative;
  width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 区切り線とリスト */
.news-list {
  border-top: 1px solid #ccc;
}

/* 記事アイテム */
.news-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 0;
  border-bottom: 1px solid #ccc;
}

/* 日付・お知らせ */
.news-meta {
  display: flex;
  align-items: center;
  gap: 30px;
  min-width: 220px;
  font-size: 16px;
  color: #000;
}
.news-tag {
  display: inline-block;
  padding: 2px 8px;
  background: #ddd;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  width: 120px;
  text-align: center;
}

/* 本文 */
.news-content {
  flex: 1;
  font-size: 16px;
  color: #000;
  line-height: 1.6;
}

/* 詳細ボタン */
/* 詳細ボタン（丸型・画像付き） */
.news-btn {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 25px;
  line-height: 25px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 999px;
  text-decoration: none;
  color: transparent; /* テキスト非表示 */
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.3s, border-color 0.3s;
  overflow: hidden; /* はみ出し防止（矢印が端に動くときに必須） */
}

.news-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 9px;
  background: url('../images/arrow2.png') no-repeat center / contain;
  transition: left 0.3s ease;
}

.news-btn:hover {
  background-color: #f0f0f0;
  border-color: #999;
}

.news-btn:hover::after {
  left: 80%; /* ← これで少し右にスライド（調整OK） */
}

/* 全記事ボタン */
.news-all-btn {
  position: relative;
  text-align: center;
  margin-top: 60px;
  z-index: 1;
}
.news-all-btn a {
  display: inline-block;
  width: 400px;
  height: 80px;
  line-height: 80px;
  background: #ffe800 url('../images/arrow.png') no-repeat right 20px center;
  background-size: 50px 12px;
  border-radius: 40px;
  text-align: center;
  font-size: 1.2rem;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}
.news-all-btn a:hover {
  background-color: #ffb800;
}

.news-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 20px;
  width: clamp(200px, 50vw, 516px);
  height: auto;                /* ← 高さは自動 */
  aspect-ratio: 516 / 162;     /* ← アスペクト比維持 */
  background: url("../images/title_news.svg") no-repeat right bottom;
  background-size: contain;
  background-position: right bottom;
  pointer-events: none;
  user-select: none;
  filter: brightness(0) saturate(100%) invert(94%) sepia(0%) saturate(0%) hue-rotate(162deg) brightness(100%) contrast(90%);
  z-index: 0;
}


/* =====================
   レスポンシブ対応
   ===================== */
@media (max-width: 768px) {
	
.news-section {
  padding: 0 0 60px;
}

.news-inner {
  width: 100%;
  padding: 0;
}
	
/* 日付・お知らせ */
.news-meta {
  font-size: 1.2rem;
}
	
/* 本文 */
.news-content {
  font-size: 1.0rem;
  line-height: 1;
}
	
  .news-inner {
    width: 100%;
    max-width: 85%;
  }
  .news-heading-en {
    font-size: 32pt;
  }
  .news-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .news-meta {
    margin-bottom: 10px;
  }
  .news-btn {
    margin-top: 10px;
  }
  .news-all-btn a {
    width: 100%;
    max-width: 300px;
    height: 60px;
    line-height: 60px;
  }
  .news-all-btn::after {
    font-size: 120pt;
    bottom: -80px;
  }
	
}


/* =====================
   Business セクション
   ===================== */
.biz-section {
  position: relative;
  width: 100%;
  padding: 250px 0 280px; /* 下に余白（背景テキスト分） */
  background: linear-gradient(to bottom, #f7f7f7 0 950px, #fff 950px 100%);
  border-radius: 40px 0 0 0; /* 左上を丸く */
  /*overflow: hidden;*/
}

.biz-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20px;
  right: auto; /* ← 念のため右側は無効化 */
  width: min(100% - 40px, 816px); /* ← 親幅から左右マージン引いたサイズ以内に収める */
  aspect-ratio: 816 / 165;        /* ← アスペクト比維持 */
  height: auto;                   /* ← aspect-ratio で高さ決まるので残してOK */
  background: url("../images/title_business.svg") no-repeat left bottom;
  background-size: 100% auto;     /* ← contain より確実に横幅基準で縮む */
  background-position: left bottom;
  pointer-events: none;
  user-select: none;
  filter: brightness(0) saturate(100%) invert(94%) sepia(0%) saturate(0%) hue-rotate(162deg) brightness(100%) contrast(90%);
  z-index: 0;
}

.biz-inner {
  position: relative;
  width: 1000px;
  max-width: 90%;
  margin: 0 auto;
  box-sizing: border-box;
  z-index: 1; /* 背景テキストより前面 */
}

.biz-inner2 {
  position: relative;
  width: 1300px;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  z-index: 1; /* 背景テキストより前面 */
}

/* 薄いグレー背景 */
.biz-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1100px;          /* 指定どおりの高さ */
  background: #f5f5f5;     /* 薄いグレー */
  border-radius: 50px 0 0 0; /* 左上を丸く */
  z-index: 0;              /* コンテンツの下 */
}

.biz-lead {
  max-width: 100%;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #333;
  margin: 0;
}

/* 2カラム */
.biz-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  margin-top: 60px;
  position: relative;
}

/* 各カラム */
.biz-col {
  position: relative;
  text-align: left;
}

/* 左右のマージン調整 */
.biz-col-left {
  margin-top: 100px; /* 左カラムを160px下げる */
}
.biz-col-right {
  margin-top: 100px;  /* 右カラムを60px下げる */
}

/* 1カラム（中央寄せ）用 */
.biz-single {
  display: flex;
  justify-content: center; /* 横中央 */
  margin-top: 120px; /* 上に余白（2カラムとの間） */
}

.biz-single .biz-col {
  width: 50%; /* 適宜調整（例：500pxでもOK） */
  max-width: 600px;
  text-align: left;
}

/* カラム内タイトル */
.biz-col-title {
  font-size: 40px;
  font-weight: 700;
  color: #000;
  margin: 0;
}
.biz-col-sub {
  margin-top: 8px;
  font-size: 20px;
  font-family: "Yu Mincho","游明朝","Hiragino Mincho ProN","MS PMincho",serif;
  color: #000;
  line-height: 1.2;
}

/* 画像ボックス（580x420） */
.biz-img-box {
  position: relative; /* ←子要素を絶対配置できるようにする */
  margin-top: 20px;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 580 / 420;
  border-radius: 0 50px 0 0;
  overflow: hidden;
  background: #ddd;
}

.biz-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 上に乗せるラベル */
.biz-label {
  position: absolute;
  font-family: "Yu Mincho","游明朝","Hiragino Mincho ProN","MS PMincho",serif;
  top: 20px;
  left: 20px;
  width: 80px;
  height: 24px;
  background: #e6e6e6;
  border-radius: 12px; /* ←両端を丸く */
  color: #000;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ボタン（右寄せ） */
.biz-btn-wrap {
  max-width: 100%;
  margin: 60px 0 0 auto;
  text-align: right;
}

.biz-btn {
  position: relative;
  text-align: right;
  margin-top: 60px;
  z-index: 1;
}

/* ボタン本体 */
.biz-btn a {
  position: relative;
  display: inline-block;
  width: 400px;
  max-width: 100%;      /* 画面幅を超えない */
  height: 80px;
  line-height: 80px;
  background-color: #ffe800;
  border-radius: 40px;
  text-align: center;
  font-size: clamp(18px, 1.8vw, 22px);
  color: #000;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
}

.biz-btn a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 50px;
  height: 12px;
  background: url('../images/arrow.png') no-repeat center/contain;
  transition: right 0.3s ease;
}

.biz-btn a:hover {
  background-color: #fff166;
}

.biz-btn a:hover::after {
  right: 1px; /* 右端に動かす */
}

/* =====================
   スライダー
   ===================== */
.biz-slider-inner {
  position: relative;
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
  overflow: visible;
  box-sizing: border-box;
  height: 400px; /* PC最低高さ */
  z-index: 1;
}

.biz-slider-track {
  margin-top: 180px;
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  height: 100%;             /* 親の高さに従う */
  align-items: flex-start;
  will-change: transform;
animation: scrollLoop 30s linear infinite; /* ← ここがキモ */
}

.biz-slider-track .slide {
  position: relative;
  flex: 0 0 auto;
  height: auto;
}

.biz-slider-track .slide img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* 縦位置バラつき（%指定に変更） */
.s1 { top: 5.8%; }
.s2 { top: 12.5%; }
.s3 { top: 0%; }
.s4 { top: 28.9%; }
.s5 { top: 18.3%; }

/* レスポンシブ */
@media (max-width: 768px) {
  .biz-slider-inner { height: 250px; overflow: hidden; margin-top: 40px; }
  .biz-slider-track { gap: 30px; margin-top: 30px; }
  .biz-slider-track .slide img { max-width: 150px; }
  /* 縦位置はそのまま % で対応 */
}

/* =====================
   レスポンシブ
   ===================== */
@media (max-width: 768px) {
	
.biz-section {
  padding: 120px 0 60px;
}
	
.biz-inner {
  width: 100%;
  max-width: 85%;
}

  .biz-inner2 {
    max-width: 90%;
  }
  .biz-heading-en { font-size: 32pt; }
  .biz-heading-jp h2 { font-size: 18px; }
  .biz-lead { font-size: 1rem; }

  .biz-columns {
    grid-template-columns: 1fr; /* ← スマホで1カラム */
    gap: 60px;
    margin-top: 40px;
  }
  .biz-col-left,
  .biz-col-right { margin-top: 0; } /* スマホでは同じ高さ */

  .biz-col-title {
    font-size: 22px;
  }
  .biz-col-sub {
    font-size: 14px;
  }
	
  .biz-btn {
	  text-align: center;
	  margin-top: 30px;
  }
	
  .biz-img-box img {
    border-radius: 6px;
  }
  .biz-img-box,
  .biz-btn-wrap { width: 100%; margin: 20px 0 0;}

.biz-btn-wrap .large-btn {
  margin-top: 20px;
}
	
  .biz-btn a {
	font-size: 16px;
    width: 90%;           /* 画面幅に合わせる */
    max-width: 360px;     /* 最大幅 */
    height: 60px;
    line-height: 25px;
    background-color: #ffe800; /* 矢印は ::after に任せる */
    border-radius: 30px;
	padding-top: 7px;
    /* background画像は消す */
  }

  .biz-btn a::after {
    width: 36px;  /* 縮小版に調整 */
    height: 9px;
    right: 12px;  /* 初期位置を調整 */
  }

  .biz-btn a:hover::after {
    right: 2px;  /* 右端にスライド */
  }
	
  .biz-single {
    display: block;           /* スマホでは縦並び */
    margin-top: 60px;
  }

  .biz-single .biz-col {
    width: 100%;
    max-width: 100%;
  }
	
}


/* =====================
   Items Brand セクション
   ===================== */
.items-section {
  position: relative;
  width: 100%;
  padding: 250px 0 180px;
  overflow: hidden;
  margin-bottom: 250px;
}

.items-bg {
  position: absolute;
  bottom: 0;               
  left: 0;
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  border-radius: 0 0 0 50px;
  z-index: 0;
}

.items-inner {
  position: relative;
  width: 1000px;
  max-width: 90%;
  margin: 0 auto;
  box-sizing: border-box;
  z-index: 1;
}

.items-inner2 {
  position: relative;
  width: 100%;
  max-width: none;
  min-width: 1000px;
  margin-left: 0;
  margin-right: auto;
  box-sizing: border-box;
  z-index: 1;
  padding-left: calc((100% - 1000px) / 2);
}

.items-bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  max-width: 1178px;
  right: 20px;
  left: auto; /* ← 念のため右側は無効化 */
  width: min(100% - 40px, 1178px); /* ← 親幅から左右マージン引いたサイズ以内に収める */
  aspect-ratio: 1178 / 171;        /* ← アスペクト比維持 */
  height: auto;                   /* ← aspect-ratio で高さ決まるので残してOK */	
  background: url("../images/title_items.svg") no-repeat right bottom;
  background-size: 100% auto;     /* ← contain より確実に横幅基準で縮む */
  background-position: right bottom;
  pointer-events: none;
  user-select: none;
  filter: brightness(0) saturate(100%) invert(94%) sepia(0%) saturate(0%) hue-rotate(162deg) brightness(100%) contrast(90%);
  z-index: 0;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  padding-left: calc((100% - 1000px)/2);
  overflow: hidden; /* 左端固定 */
  box-sizing: border-box;
  z-index: 2;
}

@media (max-width: 768px) {
  .slider-wrapper {
    overflow: visible;
  }
}

.slider-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 0;
  font-size: 1.5em;
  cursor: pointer;
  user-select: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  opacity: 0.5;
}

.slider-btn.prev {
  left: 0;
}

.slider-btn.next {
  right: 0;
}

.items-slider {
  display: flex;
  flex-wrap: nowrap;
  gap: 32px;
  scroll-behavior: smooth;
  overflow-x: hidden; /* スクロールバー非表示 */
}

.items-slider::-webkit-scrollbar {
  display: none;
}

.items-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 32px;
}

.item-box {
  flex: 0 0 auto;
  width: 400px;
}

.item-image {
  width: 100%;
  height: 500px;
  border: 1px solid #ddd;
  border-radius: 40px 0 0 0;
  overflow: hidden;
  position: relative;
  background: #fff;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ボタンは初期状態 */
a.item-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  background: #ffe800 url('../images/arrow3.png') no-repeat center center;
  background-size: 35px 8px;
  color: #000;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  z-index: 2;
  overflow: visible;
  transition: width 0.4s ease, padding 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding-right: 20px;

  pointer-events: auto;
}

/* 擬似要素で文字 */
a.item-button::before {
  content: "詳しくはこちら";
  opacity: 0;
  position: absolute;
  left: 70px;
  top: 50%;
  transform: translateY(-50%);
  color: #000;
  font-size: 17px;
  font-weight: 600;
  pointer-events: none;
  transition: none; /* ホバー解除時は即消える */
}

/* 画像にホバーしたときボタンが広がる */
.item-image:hover a.item-button {
  width: 250px;
  justify-content: flex-start;
  padding-left: 20px;
  background-position: right 15px center;
}

/* 擬似要素もフェードイン（ホバー時だけ遅延付きで出る） */
.item-image:hover a.item-button::before {
  opacity: 1;
  transition: opacity 0.4s ease 0.4s; /* ホバー時のみフェードイン */
}

/* スマホ */
@media (max-width: 768px) {
  .item-button {
    width: 250px !important;
    justify-content: flex-start;
    padding-left: 20px;
    background-position: right 15px center;
    border-radius: 50px;
  }

  .item-button::before {
    display: block;
    content: "詳しくはこちら";
    opacity: 1;
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
    font-size: 15px;
    font-weight: 600;
    pointer-events: none;
  }
}



.item-name {
  text-align: center;
  margin-top: 16px;
  font-size: 24px;
  font-weight: bold;
  color: #000;
}

.items-btn-wrap {
  text-align: center;
  margin-top: 60px;
}

@media (max-width: 768px) {
  .items-section {
    width: 100%;
    padding: 120px 0 60px;
margin-bottom: 120px;
  }

  .items-inner {
    width: 100%;
    max-width: 85%;
  }

  .items-inner2 {
    width: 100%;
    min-width: 100%;
    padding-left: 0;
  }

  .items-slider {
    display: flex;
    gap: 16px;
    padding: 0 16px;
    margin-bottom: 30px;
  }

  .items-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
  }

  .item-box {
    width: 80vw;
  }

  .item-image {
    height: auto;
    flex: 0 0 calc((100% - 16px * 4) / 5); /* 5枚表示 */
  }

  .slider-btn {
    display: none;
  }
	
.items-btn-wrap {
  margin-top: 0;
}
	
.items-btn-wrap .large-btn{
  margin-top: 20px;
}
	
.item-name {
  font-size: 16px;
}
	
}


/* =====================
   Company セクション
   ===================== */
.company-section {
  position: relative;
  padding: 0 20px 150px;
  background-color: #fff;
}

.company-bg {
  position: absolute;
  bottom: 0;               /* 一番下に配置 */
  left: 0;
  width: 100%;
  height: 450px;
  background: #f5f5f5;
  border-radius: 0 0 50px 0; /* 右下を丸く */
  z-index: 0;
}

.company-section-image {
  text-align: center;
  margin: 150px 0;
}

.company-section-image img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.company-inner {
  position: relative;
  width: 1000px;
  max-width: 90%;
  margin: 0 auto;
  box-sizing: border-box;
  z-index: 1; /* 背景テキストより前面 */
}

.company-inner2 {
  position: relative;
  width: 1300px;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  z-index: 1; /* 背景テキストより前面 */
}


.company-bg::after {
  content: "";
  position: absolute;
  bottom: clamp(-50px, -5vw, -20px);  /* -50pxを基準にスマホ用に-20pxの位置まで可変 */
  max-width: 909px;
  left: 20px;
  left: auto; /* ← 念のため右側は無効化 */
  width: min(100% - 40px, 909px); /* ← 親幅から左右マージン引いたサイズ以内に収める */
  aspect-ratio: 909 / 213;        /* ← アスペクト比維持 */
  height: auto;                   /* ← aspect-ratio で高さ決まるので残してOK */	
  background: url("../images/title_company.svg") no-repeat left bottom;
  background-size: 100% auto;     /* ← contain より確実に横幅基準で縮む */
  background-position: right bottom;
  pointer-events: none;
  user-select: none;
  filter: brightness(0) saturate(100%) invert(94%) sepia(0%) saturate(0%) hue-rotate(162deg) brightness(100%) contrast(90%);
  z-index: 0;
}

.company-images {
  display: flex;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  gap: 40px; /* 適宜調整可能 */
}

.company-item {
  flex: 1;
  text-align: center;
}

.company-item img {
  width: 100%;
  height: auto;
  border-top-left-radius: 20px; /* 左上だけ丸める */
  object-fit: cover;
  box-shadow: 5px 5px 10px #888;
}

.company-item p {
  margin-top: 10px;
  font-size: 24px;
  font-weight: bold;
}

.company-button {
  margin-top: 60px;
  text-align: center;
}

.btn-yellow {
  display: inline-block;
  width: 400px;
  height: 80px;
  line-height: 80px;
  background-color: #FFD700;
  color: #000;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 40px;
  text-align: center;
  text-decoration: none;
  transition: 0.3s;
}

.btn-yellow:hover {
  background-color: #ffe800;
}

.company-buttons-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 150px auto 100px;
  width: 1000px;
}

.company-action {
  width: 490px;
  height: 150px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-action.left {
  background-color: #161d3f;
}

.company-action.right {
  background-color: #db304f;
}

.company-action img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.company-action:hover {
  opacity: 0.75; /* 少し透明度を上げて明るく見せる */
}



/* =====================
   レスポンシブ
   ===================== */

@media (max-width: 768px) {
	
.company-section {
  padding: 0 20px;
}

.company-inner {
  width: 100%;
  max-width: 85%;
}

.company-inner2 {
  width: 100%;
  max-width: 85%;
}

	
.company-images {
  display:block;
}
	
.company-buttons-wrapper {
  display: block;
  margin: 100px auto 30px;
  width: 100%;
  padding-inline: 20px;
}

.company-button {
  margin-top: 0;
}
	
.company-button .large-btn{
  margin: 30px 0;
}
	
.company-action {
  width: 100%;
  height: 130px;
}

.company-action.left {
  margin-bottom: 30px;
}
	
.company-action img {
  max-width: 60%;
  max-height: 60%;
}
	
.company-section-image {
  margin: 60px 0;
}
.company-item {
margin-bottom: 30px;
}
.company-item p {
  margin-top: 20px;
  font-size: 16px;
}
	
}


/* =====================
   Acsess セクション
   ===================== */
.access-section {
  position: relative;
  padding: 0 20px 100px;
  background-color: #fff;
}

.access-inner {
  position: relative;
  width: 1000px;
  max-width: 90%;
  margin: 0 auto;
  box-sizing: border-box;
  z-index: 1; /* 背景テキストより前面 */
}

.map-inner {
  position: relative;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.map {
	width: 100%;
	height: 600px;
}

.map iframe {
	width: 100%;
	height: 100%;
}

/* =====================
   レスポンシブ
   ===================== */

@media (max-width: 768px) {

.map {
	height: 80vw;
}
	
}

/* ----------------------
   フッター
   ---------------------- */

.footer-section {
  position: relative;
  background-color: #9bcb6b;
  text-align: center;
  overflow: hidden;
}

.footer-bg {
  position: relative;
  background: #fff;
  border-radius: 0 0 60px 60px;
  z-index: 1;
  padding-top: 100px;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.footer-bar {
  height: 40px;
  background: #9bcb6b;
  color: #fff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.footer-bar p{
	margin: 10px 0;
}

.footer-logo img {
  max-width: 100%;
  margin: 0 auto 40px;
}

.footer-address {
  margin-bottom: 40px;
  font-size: 1rem;
}

.footer-info {
  width: 450px;
  margin: 0 auto 40px;
  text-align: left;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.info-label {
  width: 100px;
  height: 35px;
  background: #fff;
  border: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 16px;
}

.info-label.wide {
  width: 200px;
}

.info-value {
  font-size: 1rem;
}

.footer-buttons {
  margin: 40px 0 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-buttons .large-btn{
  margin-top: 0px;
}

.footer-links {
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: space-between; /* 均等に並べる */
  flex-wrap: nowrap;             /* 折り返さない */
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  gap: 30px;                     /* 余白は可変にするなら clamp 推奨 */
}

.footer-nav li {
  flex: 1 1 auto;   /* 横幅を均等に分配しつつ縮む */
  min-width: 0;     /* Safari対策：縮められるように */
  text-align: center;
}

.footer-nav li a {
  display: block;
  text-decoration: none;
  color: #000;
  font-weight: 700;
  font-size: clamp(0.7rem, 1.8vw, 1rem); /* 画面に合わせて縮小 */
  white-space: nowrap; /* 強制的に1行 */
}

.privacy-policy {
  padding: 20px 0;
}

.privacy-policy a {
  text-decoration: none;
  color: #000;
  font-size: 0.9rem;
}

/* =====================
   レスポンシブ
   ===================== */

/* 画面幅が1200px以下になったら少し縮小 */
@media (max-width: 1200px) {
.footer-nav {
  display: block;
  margin-bottom: 0;
}
	
.footer-nav li {
  padding-block:20px;
  border-top: 1px solid #ccc;
}
	
.footer-nav li a {
  font-size: 0.9rem;
}
	
.privacy-policy {
  padding-block: 20px;
  border-top: 1px solid #ccc;
}

.privacy-policy a {
  font-size: 0.9rem;
  font-weight: 700;
}
}


@media (max-width: 768px) {

.footer-bg {
  padding-top: 60px;
}
	
.footer-logo img {
  max-width: 80%;
}
	
.footer-info {
  width: 80%;
}
	
.info-item {
  display: block;
}

.info-label {
  width: 100%;
}

.info-label.wide {
  width: 100%;
}
	
.footer-info {
  text-align: center;
}
	
.info-value {
  margin-top: 15px;
  font-size: 1.2rem;
}
	
.footer-buttons {
  display: block;
  margin: 30px 0 60px;
}
	
.footer-buttons .large-btn{
  margin-top: 30px;
}
	
}


/* =======================
   下層
   ======================= */

/* パンくずリスト */
.breadcrumb {
  padding: 20px 0 0 50px; /* 上下余白 */
  font-size: 14px;
}

.breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  color: #555;
}

.breadcrumb li + li::before {
  content: "›"; /* 区切り文字 */
  margin: 0 5px;
  color: #999;
}

.breadcrumb a {
  text-decoration: none;
  color: #555;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* =======================
   補助装飾（テキスト影）
   ======================= */
.subpage .subpage-content h2,
.subpage .subpage-content p {
  text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

/* ----------------------
   左のお問い合わせボタン
   ---------------------- */
.subpage .contact-btn {
  position: fixed;         /* 固定のままでOK */
  top: 210px;              /* 上から280px */
  bottom: auto;            /* 下方向の指定を無効化 */
  transform: none;         /* translateでのズレを無効化 */
}

.subpage header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 25px;          /* 白背景と同じ上下余白 */
  background: rgba(0,0,0,0);    /* 初期は透明 */
  backdrop-filter: none;
  border-bottom: none;
  z-index: 1000;
  box-sizing: border-box;
  transition: background 0.3s, backdrop-filter 0.3s;
}

/* 内部要素配置 */
.subpage header.site-header .site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

/* スクロールで黒フェード */
.subpage header.site-header.scrolled {
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
}

/* PCは下地透明のまま */
@media (min-width: 769px) {
  .subpage header.site-header {
    /* 高さはpadding-blockで維持 */
  }
}

@media (max-width: 768px) {
  /* 下層ページのスマホヘッダー */
  .subpage header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9); /* 白背景 */
    backdrop-filter: blur(6px);
    padding: 5px 0; /* 上下余白をINDEXと同じに */
    box-sizing: border-box;
  }

  /* 内部要素を中央揃え */
  .subpage header.site-header .site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto; /* 高さ固定を外す */
  }
/* ハンバーガーボタン */
  .subpage .hamburger {
    color: #fff;
  }
}

/* =======================
   メインビジュアル
   ======================= */
.subpage .visual-wrapper {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
}

.subpage .subpage-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  max-width: calc(100% - 40px);
  padding: 0 20px;
  box-sizing: border-box;
  color: #fff;
  z-index: 10;
}

.subpage .subpage-content h2 {
  font-size: 48px;
  margin: 0 0 10px;
  font-weight: bold;
  line-height: 1.2;
}

.subpage .subpage-content p {
  font-size: 20px;
  margin: 0;
  line-height: 1.4;
}

.subpage .title-icon {
  display: inline-block;
  width: 15px;
  height: 15px;
  background: #ffe800;
  margin-right: 10px;
}

.subpage .subpage-content .section-heading-en img {
  filter: brightness(0) invert(1); /* 白くする */
}

/* タイトル */
.subpage .section-header {
  text-align: center;
  margin-bottom: 100px;
}
.subpage .section-title {
  font-size: 40px;
  margin: 100px 0 20px;
  text-align: center;
}
.subpage .section-subtitle {
  font-size: 24px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.subpage .section-subtitle .yellow-box {
  display: inline-block;
  width: 15px;
  height: 15px;
  background: #ffe800;
  margin: 0 10px;
}
.subpage .section-subtitle .right {
  margin-right: 0;
}

/* セクションの見出し */
.subpage .section-heading-jp {
  display: flex;
  align-items: center;
  padding: 30px 0;
}

/* セクション */
.subpage .section-under {
  position: relative;
  width: 100%;
  background: #fff;
  padding: 0;
  border-radius: 50px 50px 0 0;
  margin-top: -60px; /* 丸み分を上に */
  z-index: 2;
  overflow: visible; /* はみ出しても表示させる */
}

/* 内部コンテナ */
.subpage .section-inner {
  position: relative;
  width: 940px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
/* =======================
   レスポンシブ調整（スマホ用）
   ======================= */
@media (max-width: 768px) {

  /* ビジュアルの高さを縮める */
  .subpage .visual-wrapper {
    height: 400px;
  }

  .subpage .visual-wrapper .bg-img {
    background-attachment: scroll; /* fixed無効 */
    background-size: cover;
    background-position: center top; /* 上を基準に表示 */
  }

  /* メインコンテンツを中央寄せ・内部は左揃え */
  .subpage .subpage-content {
    position: relative !important; /* absoluteを解除 */
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100%;
    max-width: 400px; /* 好きな幅に調整 */
    margin: 150px auto 0 auto; /* 上マージンでヘッダー分下げ、左右中央 */
    padding: 0 20px;
    text-align: left; /* 内部要素は左揃え */
    z-index: 10;
  }

  /* 日本語タイトル */
  .subpage .subpage-content h2 {
    font-size: 32px !important;
    margin: 0 0 10px 0;
  }

  /* 説明文 */
  .subpage .subpage-content p {
    font-size: 16px !important;
    margin: 0;
  }

  /* 英語タイトルロゴ */
  .subpage .subpage-content .section-heading-en {
    display: block; /* 左揃え */
    margin-bottom: 10px;
  }

  #news .subpage-content .section-heading-en img {
    max-width: 120px !important;
    height: auto !important;
    display: block; /* 左揃えでブロック化 */
  }
	
  .subpage .section-under {
    padding-top: 0;
    padding-bottom: 0;
  }

  .subpage .section-header {
    margin-bottom: 60px;
  }

  .subpage .section-title {
    font-size: 28px;
  }

  .subpage .section-subtitle {
    font-size: 18px;
  }	
}

/* ----------------------
 ナビゲーション 1つ目に黄色■
---------------------- */
body#news .primary-nav-list a[href*="news"]::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background: #ffe800;
  margin-right: 10px;
  vertical-align: middle;
}

#news .visual-wrapper .bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 700px;
  background-image: url("../images/news/top_img.jpg");
  background-size: cover;
  background-position: center -150px;
  background-attachment: fixed; /* パララックス的動き */
  z-index: 0;
}

/* 背景右下に大きく「NEWS」ロゴ */
#news .visual-wrapper::after {
  content: "";
  position: absolute;
  bottom: 60px; /* 下から固定 */
  right: 20px;
  width: clamp(200px, 50vw, 516px);
  height: auto;
  aspect-ratio: 516 / 162;
  background: url("../images/title_news.svg") no-repeat right bottom;
  background-size: contain;
  background-position: right bottom;
  pointer-events: none;
  user-select: none;
  filter: brightness(0) invert(1);
  opacity: 0.3;
  z-index: 0;
}

/* =======================
   レスポンシブ調整（スマホ用）
   ======================= */
@media (max-width: 768px) {
  #news .visual-wrapper .bg-img {
    background-attachment: scroll; /* ←固定を解除 */
    background-position: center top; /* ズレ防止 */
    max-height: 400px;              /* ←高さ調整（お好みで） */
}
  /* 右下「NEWS」ロゴも小さく */
  #news .visual-wrapper::after {
    width: 220px;      
    height: auto;       /* 元の比率を維持したい場合 */
    aspect-ratio: 516/162; /* 元の比率に戻す */
    bottom: 60px;      
    right: 10px;       
    z-index: 0;     
  }
}

/* =======================
   NEWS メインコンテンツ
   ======================= */

/* ニュース記事単位 */
#news .news-item {
  display: block;
  padding: 150px 0;
  position: relative;
  border-bottom: none;
  text-align: left;
}

#news .section-inner .news-item:last-child {
  padding-bottom: 0;
}

#news .news-item::after {
  content: "";
  position: absolute;
  left: -100px;   /* 左に100pxはみ出す */
  right: -100px;  /* 右に100pxはみ出す */
  bottom: 0;
  height: 3px;    /* ドットの直径 */
  background-image: radial-gradient(circle 1.5px at center, #000 100%, transparent 0);
  background-size: 9px 3px; /* 横: ドット+間隔(3+6), 縦: ドット直径 */
  background-repeat: repeat-x;
}

/* 最後の記事は点線不要 */
#news .section-inner .news-item:last-child::after {
  display: none;
  padding: 0;
}

@media (max-width: 768px) {
#news .section-inner .news-item::after {
    width: calc(100% - 40px); /* 左右20pxずつ余白を空ける */
    left: 50%;
    transform: translateX(-50%);
  }
}

/* タイトル */
#news .news-title {
  display: block;
  font-size: 30px;
  margin: 0 0 20px;
	
}

/* タイトル下のボーダー */
#news .news-title-border {
  display: block;
  border-bottom: 1px solid #a5a5a5;
  margin-bottom: 20px;
}

/* 日付とタグ */
#news .news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 50px;
  flex-wrap: wrap; /* 画面が狭い場合は折り返す */
}

/* 日付 */
#news .news-date {
  display: block;
  font-size: 1.25rem;
  color: #666;
}

/* タグ */
#news .news-tag {
  display: inline-block;
  padding: 2px 8px;
  background: #ddd;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  width: 120px;
  text-align: center;
  /*border-radius: 4px;*/
}

/* 画像 */
#news .news-image {
  display: block; /* 横並び回避 */
  margin-bottom: 50px;
}

#news .news-image img {
  display: block;
  width: 100%;
  border-radius: 50px;
  border: 1px solid #ccc;
}

/* 説明文 */
#news .news-description {
  display: block;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 0;
}

/* レスポンシブ調整（必要に応じて） */
@media (max-width: 1100px) {
  .subpage .section-inner {
    width: 95%;
    padding: 0 10px;
  }

  #news .news-title {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
	
  #news .news-item {
    padding: 50px 0;
  }
	
  #news .news-title {
    font-size: 22px;
  }

  #news .news-date,
  #news .news-tag {
    font-size: 0.75rem;
  }

  #news .news-image img {
    border-radius: 8px;
  }
}


/* =====================
   商品・ブランド紹介セクション
   ===================== */

/* ----------------------
 ナビゲーション 3つ目に黄色■
---------------------- */
body#items .primary-nav-list a[href*="items"]::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background: #ffe800;
  margin-right: 10px;
  vertical-align: middle;
}

#items .visual-wrapper .bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 700px;
  background-image: url("../images/items/top_img.jpg");
  background-size: cover;
  background-position: center -150px;
  background-attachment: fixed; /* パララックス的動き */
  z-index: 0;
}

/* 背景右下に大きく「NEWS」ロゴ */
#items .visual-wrapper::after {
  content: "";
  position: absolute;
  bottom: 60px; /* 下から固定 */
  right: 20px;
  width: clamp(200px, 50vw, 830px);
  height: auto;
  aspect-ratio: 516 / 162;
  background: url("../images/title_items.svg") no-repeat right bottom;
  background-size: contain;
  background-position: right bottom;
  pointer-events: none;
  user-select: none;
  filter: brightness(0) invert(1);
  opacity: 0.3;
  z-index: 0;
}

/* =======================
   レスポンシブ調整（スマホ用）
   ======================= */
@media (max-width: 768px) {
  #items .visual-wrapper .bg-img {
    background-attachment: scroll; /* ←固定を解除 */
    background-position: center top; /* ズレ防止 */
    max-height: 400px;              /* ←高さ調整（お好みで） */
}
  /* 右下「NEWS」ロゴも小さく */
  #items .visual-wrapper::after {
    width: 300px;      
    height: auto;       /* 元の比率を維持したい場合 */
    aspect-ratio: 516/162; /* 元の比率に戻す */
    bottom: 60px;      
    right: 10px;       
    z-index: 0;     
  }
}

/* =======================
   Items メインコンテンツ
   ======================= */

#items .section-under {
  padding-bottom: 100px;
  text-align: center;
}

/* 商品ブロック */
#items .item-block {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  margin-bottom: 120px;
  text-align: left;
}

/* 交互レイアウト */
#items .item-block.reverse {
  flex-direction: row-reverse;
}

#items .item-image {
  width: 450px;
  height: 500px;
  border: 1px solid #ddd;
  border-radius: 40px 0 0 0;
  overflow: hidden;
  position: relative;
  background: #fff;
}

/* メイン画像 */
#items .item-image img {
  width: 450px;
  height: 500px;
}

/* 内容部分 */
#items .item-content {
  padding-top: 40px;
  width: 410px;
  max-width: 410px;
}
#items .item-name {
  font-size: 30px;
  margin: 0 0 30px;
  text-align: left;
}
#items .item-price {
  margin-bottom: 30px;
  text-align: right;
}
#items .item-price .price-number {
  font-size: 30px;
}
#items .item-price .price-unit {
  font-size: 22px;
}
#items .item-desc {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 24px;
}

/* サブ画像 */
#items .item-subimages {
  display: flex;
  gap: 10px;
}
#items .item-subimages img {
  width: 200px;
  height: 170px;
  object-fit: cover;
  border: 1px solid #ddd;
}
#items .item-subimages img:first-child {
  border-bottom-left-radius: 20px;
}
#items .item-subimages img:last-child {
  border-top-right-radius: 20px;
}

/* =====================
   スマホ対応（768px以下）
   ===================== */
@media screen and (max-width: 768px) {
  #items .item-block,
  #items .item-block.reverse {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 80px;
    text-align: center;
  }

  #items .item-image {
    width: 100%;
    max-width: 400px; /* 好みで調整 */
    height: auto;
    margin: 0 auto; /* ← 親ごと中央寄せ */
    border-radius: 20px 0 0 0;
  }

  #items .item-image img {
    position: static;
    width: 100%;
    height: auto;
    transform: none;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }

  #items .item-content {
    padding-top: 0;
    max-width: 90%;
  }

  #items .item-name {
    font-size: 24px;
    margin-bottom: 20px;
  }

  #items .item-price {
    margin-bottom: 20px;
  }

  #items .item-price .price-number {
    font-size: 26px;
  }
  #items .item-price .price-unit {
    font-size: 18px;
  }

  #items .item-desc {
    font-size: 16px;
    margin-bottom: 20px;
	text-align: left;
  }

  #items .item-subimages {
    justify-content: center;
  }

  #items .item-subimages img {
    width: 45%;
    height: auto;
  }
}


/* =========================
   メディア掲載ページ
   ========================= */
/* ----------------------
 ナビゲーション 4つ目に黄色■
---------------------- */
body#media .primary-nav-list a[href*="media"]::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background: #ffe800;
  margin-right: 10px;
  vertical-align: middle;
}

#media .visual-wrapper .bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 700px;
  background-image: url("../images/media/top_img.jpg");
  background-size: cover;
  background-position: center -150px;
  background-attachment: fixed; /* パララックス的動き */
  z-index: 0;
}

/* 背景右下に大きく「NEWS」ロゴ */
#media .visual-wrapper::after {
  content: "";
  position: absolute;
  bottom: 60px; /* 下から固定 */
  right: 20px;
  width: clamp(200px, 50vw, 516px);
  height: auto;
  aspect-ratio: 516 / 162;
  background: url("../images/title_media.svg") no-repeat right bottom;
  background-size: contain;
  background-position: right bottom;
  pointer-events: none;
  user-select: none;
  filter: brightness(0) invert(1);
  opacity: 0.3;
  z-index: 0;
}

/* =======================
   レスポンシブ調整（スマホ用）
   ======================= */
@media (max-width: 768px) {
  #media .visual-wrapper .bg-img {
    background-attachment: scroll; /* ←固定を解除 */
    background-position: center top; /* ズレ防止 */
    max-height: 400px;              /* ←高さ調整（お好みで） */
}
  /* 右下ロゴも小さく */
  #media .visual-wrapper::after {
    width: 220px;      
    height: auto;       /* 元の比率を維持したい場合 */
    aspect-ratio: 516/162; /* 元の比率に戻す */
    bottom: 60px;      
    right: 10px;       
    z-index: 0;     
  }
}

/* =======================
   media メインコンテンツ
   ======================= */

#media.section-under {
  padding-top: 100px;
  padding-bottom: 100px;
  text-align: center;
}
body#media .section-inner {
  width: 1100px;
  max-width: 95%;
  margin: 0 auto;
}
/* タブボタン */
#media .media-tabs {
  display: flex;
  justify-content: center;
  width: 100%;       /* 親幅いっぱい */
  max-width: 1100px; /* 最大幅1100px */
  margin: 120px auto 50px;
  box-sizing: border-box;
}

#media .media-tab {
  display: block;
  flex: 1;
  height: 70px;
  border: 1px solid #9bcb6b;
  background: #fff;
  color: #9bcb6b;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  line-height: 70px;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

#media .media-tab:hover {
  background: #9bcb6b;
  color: #fff;
}

#media .media-tab.tab-last {
  border-radius: 0 0 20px 0;
}

#media .media-tab .tab-arrow {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%) translateY(50%);
  font-size: 12px;
}

/* =========================
   各メディアセクション
   ========================= */
#media .media-section {
  margin-bottom: 80px;
}

#media .media-icon {
  margin: 0 auto 50px; /* 左右中央寄せ */
  text-align: center;
  width: fit-content; /* 画像サイズに合わせて中央寄せを有効化 */
}

#media .media-icon img {
  width: 120px;
  height: auto;
}

/* 記事ボックス */
#media .media-item {
  display: block;
  padding: 80px 0;
  position: relative;
  border-bottom: none;
}

#media .media-item.first-item {
  padding-top: 0;
}

#media .media-item:last-child {
  padding-bottom: 0;
}

/* 点線区切り */
#media .media-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 1000px;           /* 固定幅 */
  height: 3px;
  left: 50%;               /* 親の中央に配置 */
  transform: translateX(-50%); /* 自分の幅の半分だけ左にずらして中央寄せ */
  background-image: radial-gradient(circle 1.5px at center, #000 100%, transparent 0);
  background-size: 9px 3px;
  background-repeat: repeat-x;
}

#media .section-inner .media-item:last-child::after {
  display: none;
  padding: 0;
}

/* タイトルボックス */
#media .media-title-box {
  width: 800px;
  max-width: 90%;
  margin: 0 auto 20px;
  background: #9bcb6b;
  color: #fff;
  font-size: 20px;
  line-height: 1.6;
  padding: 20px 0;
}

#media .media-title {
  margin: 0 auto;
  font-weight: bold;
}

/* 日付 */
#media .media-date {
  color: #000;
  font-size: 16px;
  margin-bottom: 20px;
}

/* メイン画像 */
#media .media-image {
  width: 800px;
  max-width: 90%;
  margin: 0 auto;
}

#media .media-image img {
  width: 100%;
  height: auto;
  border: none;
  border-radius: 50px;
}

/* =========================
   スマホ対応
   ========================= */
@media screen and (max-width: 768px) {

  #media.section-under {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  #media .media-tabs {
    flex-direction: column;
    width: 90%;
  }

  #media .media-tab {
    height: 60px;
    line-height: 60px;
    font-size: 18px;
  }

  #media .media-tab .tab-arrow {
    display: none;
  }

  #media .media-icon {
    margin-bottom: 30px;
  }

  #media .media-title-box {
    font-size: 18px;
    padding: 8px 0;
  }

  #media .media-date {
    font-size: 14px;
  }

  #media .media-item {
    padding: 80px 0;
  }

  #media .media-item::after {
    width: calc(100% - 40px); /* 左右20pxずつ余白を空ける */
    left: 50%;
    transform: translateX(-50%);
  }

  #media .media-image {
    width: 100%;
  }
}


/* =====================
   Business（事業概要）
===================== */

/* 共通: 黄色■スタイル */
.yellow-dot::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background: #ffe800;
  margin-right: 10px;
  vertical-align: middle;
}

/* 親リンクをクリック不可にしつつ、hover は有効 */
.primary-nav-list > li.has-submenu > a {
  cursor: default;        /* カーソルを通常に */
}

/* クリックだけを無効にする */
.primary-nav-list > li.has-submenu > a[href=""] {
  pointer-events: none;   /* hrefが空の場合のみクリック無効 */
}

/* hover時の背景色変更 */
.primary-nav-list > li.has-submenu:hover > a {
  background: #bbb;       /* ロールオーバー時の色 */
  transition: background 0.3s ease;
}

/* サブメニュー表示（PC hover） */
@media (min-width: 769px) {
  .primary-nav-list > li.has-submenu:hover .sub-menu {
    display: block;
  }
}


/* ============================
   セールスクリエイト事業ページ (#oro)
============================ */
body#business header[data-page="oro"] .primary-nav-list li.has-submenu > a::before,
body#business header[data-page="oro"] #oro a::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background: #ffe800;
  margin-right: 10px;
  vertical-align: middle;
}

/* サブメニューのもう一方は消す */
body#business header[data-page="oro"] #in a::before {
  content: none;
}
body#business header[data-page="oro"] #food a::before {
  content: none;
}

/* ============================
   ストアクリエイト事業ページ (#in)
============================ */
body#business header[data-page="in"] .primary-nav-list li.has-submenu > a::before,
body#business header[data-page="in"] #in a::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background: #ffe800;
  margin-right: 10px;
  vertical-align: middle;
}

/* サブメニューのもう一方は消す */
body#business header[data-page="in"] #oro a::before {
  content: none;
}
body#business header[data-page="in"] #food a::before {
  content: none;
}

/* ============================
   フードクリエイト事業ページ (#food)
============================ */
body#business header[data-page="food"] .primary-nav-list li.has-submenu > a::before,
body#business header[data-page="food"] #food a::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background: #ffe800;
  margin-right: 10px;
  vertical-align: middle;
}

/* サブメニューのもう一方は消す */
body#business header[data-page="food"] #oro a::before {
  content: none;
}
body#business header[data-page="food"] #in a::before {
  content: none;
}

/* ============================
   それ以外のページでは非表示
============================ */
body#news header .primary-nav-list li.has-submenu > a::before,
body#news header .primary-nav-list li.has-submenu .sub-menu li a::before,
body#other-pages header .primary-nav-list li.has-submenu > a::before,
body#other-pages header .primary-nav-list li.has-submenu .sub-menu li a::before {
  content: none !important;
}

#business .visual-wrapper .bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 700px;
  background-image: url("../images/business/top_img.jpg");
  background-size: cover;
  background-position: center -150px;
  background-attachment: fixed; /* パララックス的動き */
  z-index: -2;
}

#business .visual-wrapper .bg-img2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 700px;
  background-image: url("../images/business/top_img_02.jpg");
  background-size: cover;
  background-position: center -150px;
  background-attachment: fixed; /* パララックス的動き */
  z-index: -2;
}

#business .visual-wrapper .bg-img3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 700px;
  background-image: url("../images/business/top_img_03.jpg");
  background-size: cover;
  background-position: center -150px;
  background-attachment: fixed; /* パララックス的動き */
  z-index: -2;
}

/* 背景右下に大きく「business」ロゴ */
#business .visual-wrapper::after {
  content: "";
  position: absolute;
  bottom: 60px; /* 下から固定 */
  right: 20px;
  width: clamp(300px, 50vw, 770px);
  height: auto;
  aspect-ratio: 770 / 162;
  background: url("../images/title_business.svg") no-repeat right bottom;
  background-size: contain;
  background-position: right bottom;
  pointer-events: none;
  user-select: none;
  filter: invert(1) brightness(0.9);
  opacity: 0.3;
  z-index: 3;
}

/* =======================
   レスポンシブ調整（スマホ用）
   ======================= */
@media (max-width: 768px) {
  #business .visual-wrapper .bg-img {
    background-attachment: scroll; /* ←固定を解除 */
    background-position: center top; /* ズレ防止 */
    max-height: 400px;              /* ←高さ調整（お好みで） */
}
  #business .visual-wrapper .bg-img2 {
    background-attachment: scroll; /* ←固定を解除 */
    background-position: center top; /* ズレ防止 */
    max-height: 400px;              /* ←高さ調整（お好みで） */
}
  #business .visual-wrapper .bg-img3 {
    background-attachment: scroll; /* ←固定を解除 */
    background-position: center top; /* ズレ防止 */
    max-height: 400px;              /* ←高さ調整（お好みで） */
}
	
  /* 右下ロゴも小さく */
  #business .visual-wrapper::after {
    width: 220px;      
    height: auto;       /* 元の比率を維持したい場合 */
    aspect-ratio: 516/162; /* 元の比率に戻す */
    bottom: 60px;      
    right: 10px;       
    z-index: 3;     
  }
}

/* タブボタン */
#business .media-tabs {
  display: flex;
  justify-content: center;
  width: 100%;       /* 親幅いっぱい */
  max-width: 1100px; /* 最大幅1100px */
  margin: 120px auto 50px;
  box-sizing: border-box;
}

#business .media-tab {
  display: block;
  flex: 1;
  height: 70px;
  border: 1px solid #9bcb6b;
  background: #fff;
  color: #9bcb6b;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  line-height: 70px;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

#business .media-tab:hover {
  background: #9bcb6b;
  color: #fff;
}

#business .media-tab.tab-last {
  border-radius: 0 0 20px 0;
}

#business .media-tab .tab-arrow {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%) translateY(50%);
  font-size: 12px;
}

/* =========================
   各メディアセクション
   ========================= */
#business .media-section {
  margin-bottom: 80px;
}

#business .media-icon {
  margin: 0 auto 50px; /* 左右中央寄せ */
  text-align: center;
  width: fit-content; /* 画像サイズに合わせて中央寄せを有効化 */
}

#business .media-icon img {
  width: 100%;
  height: auto;
}


body#business .section-inner {
  width: 1100px;
  max-width: 95%;
  margin: 0 auto;
}

body#business .section-subtitle {
  font-size: 24px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body#business .business-title-text p {
  font-size: 30px;
  line-height: 1.8;
  text-align: center;
  margin: 0 auto;
  font-weight: bold;
  margin-bottom: 100px;
}

body#business .business-sub-text p {
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 50px;
}

/* =====================
   Business（事業概要）
===================== */

body#business .business-gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* スマホで折り返し対応 */
  gap: 10px;
  margin-top: 100px;
  width: 100%;
  box-sizing: border-box;
}

/* 各カラム共通設定 */
body#business .business-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 calc(25% - 7.5px); /* 4列 */
  box-sizing: border-box;
}

/* 画像設定（ボーダー維持） */
body#business .business-column img {
  width: 100%;
  height: auto;
  aspect-ratio: 27 / 40; /* 比率固定 */
  object-fit: cover;
  border: 1px solid #d7d7d7;
  box-sizing: border-box;
  display: block;
  background-color: #fff;
}

/* hover効果（PCのみ） */
@media (hover: hover) {
  body#business .business-column img:hover {
    transform: scale(1.03);
  }
}

/* ===== 各列の位置調整 ===== */
body#business .business-column.col1,
body#business .business-column.col3 {
  margin-top: 120px;
}

/* ===== 各列の角丸設定 ===== */

/* --- 1列目 --- */
body#business .col1 .img-top { border-top-right-radius: 50px; }
body#business .col1 .img-mid { border-radius: 0; }
body#business .col1 .img-bottom { border-bottom-left-radius: 50px; }

/* --- 2列目 --- */
body#business .col2 .img-top { border-top-right-radius: 50px; }
body#business .col2 .img-mid { border-bottom-left-radius: 50px; }
body#business .col2 .img-bottom { border-bottom-right-radius: 50px; }

/* --- 3列目 --- */
body#business .col3 .img-top { border-top-right-radius: 50px; }
body#business .col3 .img-mid { border-bottom-left-radius: 50px; }
body#business .col3 .img-bottom { border-bottom-left-radius: 50px; }

/* --- 4列目 --- */
body#business .col4 .img-top { border-top-right-radius: 50px; }
body#business .col4 .img-mid { border-bottom-left-radius: 50px; }
body#business .col4 .img-bottom { border-bottom-right-radius: 50px; }

/* =====================
   レスポンシブ対応
===================== */

@media screen and (max-width: 768px) {
  body#business .business-column {
    flex: 0 0 calc(50% - 5px); /* 2列に変更 */
    margin-top: 0 !important; /* ずれをなくす */
  }
}

/* ========================
   Business Locations
========================= */

body#business .business-line {
  width: 100%;                 /* 親幅いっぱい */
  height: 3px;                 /* 線の高さ */
  background-image: radial-gradient(circle 1.5px at center, #000 100%, transparent 0);
  background-size: 9px 3px;    /* 点の間隔と線の高さ */
  background-repeat: repeat-x;
  margin: 0 0 60px 0;
}

/* 各事業所ブロック */
body#business .business-location {
  margin-bottom: 60px;
}

/* 2カラムレイアウト */
body#business .business-2col {
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* レスポンシブ対応 */
  margin-bottom: 10px;
  align-items: flex-start;
}

/* 左側メイン画像 */
body#business .business-main-img img {
  width: 550px;
  max-width: 100%; /* 画面幅を超えない */
  height: 400px;
  max-height: 100%;
  object-fit: cover;
  display: block;
}

/* 右側情報カラム */
body#business .business-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 200px;
  text-align: left;
}

/* ロゴ画像 */
body#business .business-info .logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%; /* 親幅以内 */
  max-height: 270px; /* 元サイズを超えない */
  margin-bottom: 20px;
  max-width: min(100%, 270px);
}

/* 住所・営業時間などのテキスト */
body#business .business-info p,
body#business .business-info a {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  font-weight: bold;
  text-decoration: none;
}

body#business .business-info .s-text{
  font-size: 12px;
  line-height: 12px !important;
}


/* インスタ画像エリア */
body#business .business-info p.url {
  display: flex;              /* 横並びにする */
  gap: 10px;                  /* 画像の間に少し余白 */
  justify-content: flex-start; /* 左寄せ（中央ならcenter） */
  align-items: center;
}

/* 画像リンク全体を押せるように */
body#business .business-info p.url a {
  display: inline-block;
}

/* インスタ画像 */
body#business .business-info img.instagram {
  width: 57px;
  height: auto;
  margin-top: 5px;
  max-width: 100%;
  vertical-align: middle;
  transition: opacity 0.3s ease; /* ロールオーバー用 */
}

/* ホバー時に少し薄くするなど */
body#business .business-info img.instagram:hover {
  opacity: 0.7;
}


/* 下段サムネイル5枚 */
body#business .business-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5列均等 */
  gap: 10px;
  max-width: 1100px;
  margin: 0 auto;
}

body#business .business-thumbs img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid #d7d7d7;
}

/* 左端角丸 */
body#business .business-thumbs img.thumb1 {
  border-bottom-left-radius: 20px;
}

/* 右端角丸 */
body#business .business-thumbs img.thumb5 {
  border-top-right-radius: 20px;
}

/* ========================
   スマホレスポンシブ
========================= */
@media screen and (max-width: 768px) {

  /* 2カラム縦並びに変更 */
  body#business .business-2col {
    flex-direction: column;
    gap: 10px;
  }

  /* 左側メイン画像は画面幅いっぱいに、順序は下 */
  body#business .business-main-img {
    order: 2; /* infoの下に */
  }
  body#business .business-main-img img {
    width: 100%;
    height: auto;
  }

  /* 右側情報は順序を上に */
  body#business .business-info {
    order: 1;
  }

  /* サムネイル横幅を縮小して表示 */
  body#business .business-thumbs {
    gap: 10px;            /* gapをスマホでも確保 */
    overflow-x: auto;      /* 横スクロール可能にする */
    display: flex;
  }

  body#business .business-thumbs img {
    flex: 0 0 auto;        /* 横幅固定、縮まない */
    width: 180px;          /* 画像の最小表示幅 */
    height: auto;          /* 縦横比を維持 */
  }
}

/* ========================
   タブ系メディアがある場合
========================= */
@media screen and (max-width: 768px) {
  body#business .media-tabs {
    flex-direction: column;
    width: 90%;
  }

  body#business .media-tab {
    height: 60px;
    line-height: 60px;
    font-size: 18px;
  }

  body#business .media-tab .tab-arrow {
    display: none;
  }

  body#business .media-icon {
    margin-bottom: 50px;
  }
  body#business .business-info p.url {
    margin-bottom:30px;
}
}



/* =========================
   会社概要ページ
   ========================= */

/* ----------------------
 ナビゲーション companyに黄色■
---------------------- */
body#company .primary-nav-list a[href*="company"]::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background: #ffe800;
  margin-right: 10px;
  vertical-align: middle;
}

#company .visual-wrapper .bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 700px;
  background-image: url("../images/company/top_img.jpg");
  background-size: cover;
  background-position: center -150px;
  background-attachment: fixed; /* パララックス的動き */
  z-index: -2;
}

/* 背景右下に大きく「NEWS」ロゴ */
#company .visual-wrapper::after {
  content: "";
  position: absolute;
  bottom: 35px; /* 下から固定 */
  right: 20px;
  width: clamp(300px, 50vw, 770px);
  height: auto;
  aspect-ratio: 770 / 162;
  background: url("../images/title_company.svg") no-repeat right bottom;
  background-size: contain;
  background-position: right bottom;
  pointer-events: none;
  user-select: none;
  filter: invert(1) brightness(0.9);
  opacity: 0.3;
  z-index: 3;
}

/* =======================
   レスポンシブ調整（スマホ用）
   ======================= */
@media (max-width: 768px) {
  #company .visual-wrapper .bg-img {
    background-attachment: scroll; /* ←固定を解除 */
    background-position: center top; /* ズレ防止 */
    max-height: 400px;              /* ←高さ調整（お好みで） */
}
  /* 右下ロゴも小さく */
  #company .visual-wrapper::after {
    width: 220px;      
    height: auto;       /* 元の比率を維持したい場合 */
    aspect-ratio: 770/162; /* 元の比率に戻す */
    bottom: 60px;      
    right: 10px;       
    z-index: 3;     
  }
}

body#company .section-heading-en img {
  height: 55px;
  margin-bottom: 20px;
}

/* =========================
  共通セクション
========================= */
body#company .section-inner {
  position: relative;
  width: 1100px;
  max-width: 95%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* -------------------------
  タイトル部分
------------------------- */
body#company .section-header {
  text-align: left;
  margin-bottom: 100px;
}

body#company .section-title {
  font-size: 40px;
  margin: 100px 0 20px;
  text-align: left;
}

body#company .section-subtitle {
  font-size: 24px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body#company .section-subtitle .yellow-box {
  display: inline-block;
  width: 15px;
  height: 15px;
  background: #ffe800;
  margin: 0 10px 0 0;
}

body#company .section-subtitle .right {
  margin-right: 0;
}

body#company .company-message-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
  z-index: 0;
  min-height: 500px; /* 背景の高さを確保 */
}
body#company .company-philosophy-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
  z-index: 0;
  min-height: 650px; /* 背景の高さを確保 */
}

body#company .company-table-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
  z-index: 0;
  min-height: 500px; /* 背景の高さを確保 */
}

/* -------------------------
  代表メッセージ・経営理念背景
------------------------- */
/* wrapper 内の通常フローで背景 */
body#company .message-bg {
  position: absolute;
  bottom: 0;
  left: 50%;          /* 親の中央に合わせる */
  transform: translateX(-50%); /* 左端から出す */
  width: 100vw;       /* ビューポートいっぱい */
  height: 380px;
  background: #f5f5f5;
  border-radius: 0 0 50px 0;
  z-index: -3;
}

body#company .message-bg::after {
  content: "";
  position: absolute;
  bottom: clamp(-37px, -5vw, -20px);
  left: 20px;                /* 左端に寄せる（余白20px） */
  transform: none;           /* 中央寄せ用の transform を解除 */
  width: min(100% - 40px, 621px); /* 元の幅のまま */
  height: auto;
  aspect-ratio: 621 / 213;  /* 元画像比率を保持 */
  background-image: url("../images/title_message.svg");
  background-repeat: no-repeat;
  background-position: left bottom; /* 左下に配置 */
  background-size: 100% auto; 
  pointer-events: none;
  user-select: none;
  z-index: -3;
  /* 白より少しグレーに */
  filter: brightness(0) saturate(0%) invert(90%) sepia(0%) saturate(0%) hue-rotate(162deg) brightness(110%) contrast(85%);
}


body#company .message-bg-left {
  position: absolute;
  top: 200px;
  left: -100px;
  width: 400px;          /* 最大幅 */
  height: 100%;          /* wrapper の高さに追従 */
  background-image: url("../images/company/chiba.png");
  background-size: contain;   /* はみ出さず比率保持 */
  background-repeat: no-repeat;
  background-position: left top;
  z-index: -2;
}

body#company .message-bg-left-text {
  position: absolute;
  top: 10px;
  left: 60px;
  width: 159px;          /* 最大幅 */
  height: 100%;          /* wrapper の高さに追従 */
  background-image: url("../images/company/chiba_text.png");
  background-size: contain;   /* はみ出さず比率保持 */
  background-repeat: no-repeat;
  background-position: left top;
  z-index: -1;
}

body#company .philosophy-bg {
  position: absolute;
  bottom: 0;
  left: 50%;          /* 親の中央に合わせる */
  transform: translateX(-50%); /* 左端から出す */
  width: 100vw;       /* ビューポートいっぱい */
  height: 380px;
  background: #fff;
  border-radius: 0 0 50px 0;
  z-index: -3;
}

body#company .philosophy-bg::after {
  content: "";
  position: absolute;
  bottom: clamp(-50px, -5vw, -20px);
  right: 20px;
  width: min(100% - 40px, 817px); /* 元の幅のまま */
  aspect-ratio: 817 / 213;
  height: auto;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: right bottom;
  pointer-events: none;
  user-select: none;
  z-index: -3;
  background-image: url("../images/title_philosophy.svg");
  /* 白より少しグレーに */
  filter: brightness(0) saturate(0%) invert(90%) sepia(0%) saturate(0%) hue-rotate(162deg) brightness(110%) contrast(85%);
}

/* -------------------------
  テキスト表示
------------------------- */
body#company .company-message-text,
body#company .company-philosophy-text {
  position: relative;
  z-index: 1; /* 背景の上に表示 */
  padding: 0 0 30px;
}

/* 代表メッセージ文章 */
body#company .company-message-text p {
  width: 680px;
  text-align: left;
  font-size: 18px;
  line-height: 1.8;
  margin: 0 0 0 auto;
}

body#company .company-message-text .representative {
  text-align: right;
  font-size: 20px;
  margin-top: 50px;
}

body#company .company-message-text .representative span {
  font-size: 33px;
  display: block;
  font-weight: bold;
}

/* 経営理念テキスト */
body#company .company-philosophy-text p {
  font-size: 30px;
  line-height: 1.8;
  text-align: center;
  margin: 0 auto;
  font-weight: bold;
}

/* =========================
  スライダー
========================= */
.philosophy-slider {
  position: relative;
  width: 100%;
  overflow: visible;
  margin-top: 60px;
  z-index: 1;
}

.philosophy-slider-track {
  display: flex;
  gap: 20px;
  animation: scroll 20s linear infinite;
}

.philosophy-slider-track img {
  flex-shrink: 0;
  width: 280px;
  height: 300px;
  object-fit: cover;
}

/* 横スクロールループアニメーション 
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}*/

/* =========================
  レスポンシブ
========================= */
@media screen and (max-width: 768px) {
.philosophy-slider {
  overflow: hidden;
}
  body#company .company-message-text p {
    width: 100%;
    font-size: 16px;
  }

  body#company .company-message-text .representative {
    font-size: 18px;
  }

  body#company .company-message-text .representative span {
    font-size: 28px;
  }

  body#company .company-philosophy-text p {
    font-size: 20px;
  }

  .philosophy-slider-track img {
    width: 180px;
    height: 200px;
  }
}

/* 会社概要 */
.tableList01 ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  font-size: 1rem;
  line-height: 1.6;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  text-align: left;
}

.tableList01 li {
  box-sizing: border-box;
  padding: 12px 15px;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

/* 右側の列の border-right を消す（2列目、4列目…） */
.tableList01 li:nth-child(2n) {
  border-right: none;
  width: 70%;
}

.tableList01 li:nth-child(odd) {
  background: #f9f9f9;
  font-weight: bold;
  color: #333;
  width: 30%;
}

.tableList01 li:nth-child(even) {
  background: #fff;
  color: #000;
}

.tableList01 p {
  margin: 0;
}

.tableList01 a {
  color: #0066cc;
  text-decoration: underline;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .tableList01 li {
    width: 100%;
    border-right: none;
    border-left: none;
  }

  .tableList01 ul {
    border-left: none;
    border-right: none;
  }
}

/* -------------------------
  お問い合わせ
------------------------- */
#contact .visual-wrapper .bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 700px;
  background-image: url("../images/contact/top_img.jpg");
  background-size: cover;
  background-position: center -150px;
  background-attachment: fixed; /* パララックス的動き */
  z-index: 0;
}

/* 背景右下に大きく「NEWS」ロゴ */
#contact .visual-wrapper::after {
  content: "";
  position: absolute;
  bottom: 60px; /* 下から固定 */
  right: 20px;
  width: clamp(200px, 50vw, 830px);
  height: auto;
  aspect-ratio: 516 / 162;
  background: url("../images/title_contact.svg") no-repeat right bottom;
  background-size: contain;
  background-position: right bottom;
  pointer-events: none;
  user-select: none;
  filter: brightness(0) invert(1);
  opacity: 0.3;
  z-index: 0;
}
/* =======================
   レスポンシブ調整（スマホ用）
   ======================= */
@media (max-width: 768px) {
  #contact .visual-wrapper .bg-img {
    background-attachment: scroll; /* ←固定を解除 */
    background-position: center top; /* ズレ防止 */
    max-height: 400px;              /* ←高さ調整（お好みで） */
}
  /* 右下ロゴも小さく */
  #contact .visual-wrapper::after {
    width: 220px;      
    height: auto;       /* 元の比率を維持したい場合 */
    aspect-ratio: 770/162; /* 元の比率に戻す */
    bottom: 60px;      
    right: 10px;       
    z-index: 3;     
  }
}
/* ===========================
   お問い合わせフォーム 共通
=========================== */
body#contact .section-inner {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

body#contact .contents {
  max-width: 1100px;
  width: 95%;
  margin: 0 auto;
  padding: 40px 0;
  box-sizing: border-box;
  overflow-x: visible;
}

@media screen and (max-width: 768px) {
body#contact .contents {
  padding-bottom: 0;
}
	
/* ----------------------
 ナビゲーション 黄色■
---------------------- */
body#contact .primary-nav-list li.sp a::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background: #ffe800;
  margin-right: 10px;
  vertical-align: middle;
}
}

/* --------------------------
   タイトル
-------------------------- */
body#contact .title_a {
  font-size: 30px;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin: 100px 0 30px;
}

body#contact .title_b {
  font-size: 20px;
  color: #333;
  margin: 40px 0 20px;
  text-align: center;
}

/* --------------------------
   テキスト
-------------------------- */
body#contact .center02 {
  text-align: center;
  margin: 0;
  line-height: 1.8;
}

body#contact .fc_red {
  color: #e42124;
}

/* --------------------------
   メディアお問い合わせボックス
-------------------------- */
body#contact .contact_media {
  padding: 20px 20px 30px;
  background: #ffffff;
  max-width: 750px;
  width: 95%;
  margin: 30px auto 75px;
  border: 3px dotted #000;
  text-align: left;
}

body#contact .contact_media p{
  margin: 0 0 20px;
}

body#contact .contact_media dt {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  padding: 0 0 10px;
  text-align: center;
}

body#contact .contact_media dd {
  text-align: center;
  margin: 0;
}

body#contact .contact_media .btn_l {
  margin: 0;
}

body#contact .contact_media .btn_l a.button {
  display: inline-block;
  background: #ffe800;
  width: 100%;
  max-width: 500px;
  color: #000;
  padding: 8px 0;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  transition: background 0.3s;
}

body#contact .contact_media .btn_l a.button:hover {
  background: #fff26f;
}

/* --------------------------
   ボタンエリア
-------------------------- */
body#contact .contact_btnarea {
  max-width: 650px;
  width: 100%;
  margin: 30px auto;
}

body#contact .contact_btnarea li {
  width: 300px;
  height: 48px;
  margin: 0 auto 10px;
}

/* --------------------------
   フォーム全体
-------------------------- */
/*body#contact form {
  max-width: 1060px;
  width: 90%;
  margin: 0 auto;
  background: #f6f6f6;
  padding: 100px;
  box-sizing: border-box;
}*/

body#contact form.inner-wrap .large-btn {
  margin-top: 0;
}

/* フォーム全体 */
body#contact form.inner-wrap {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  background: #f6f6f6;
  padding: 100px;
  box-sizing: border-box;
}

/* レスポンシブ */
@media screen and (max-width: 1024px) {
  body#contact form.inner-wrap {
    padding: 60px 40px;
  }
}

@media screen and (max-width: 768px) {
  body#contact form.inner-wrap {
  padding: 40px 20px; /* 内側の余白を縮小 */
  width: 100%;
  }
}

@media screen and (max-width: 480px) {
  body#contact form.inner-wrap {
    padding: 30px 15px;
  }
}

body#contact form .btn {
  height: 54px;
  text-align: center;
}

body#contact form .btn a.button {
  display: inline-block;
  background: #a68044;
  color: #fff;
  font-weight: bold;
  padding: 15px 50px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s;
}

body#contact form .btn a.button:hover {
  background: #c69955;
}

/* ボタン・テキストなど */
body#contact .contact_txt {
  display: block;
}

/* ボタングループ */
body#contact .btn_group {
  max-width: 650px;
  width: 100%;
  margin: 60px auto 0;
}

body#contact .btn_group .large-btn {
  margin-top: 10px;
}

body#contact .btn_group .btn {
  height: 54px;
}

/* 同意チェックボックス部分 */
body#contact .box-check {
  margin-top: 30px;
  text-align: center;
  padding: 0;
}

body#contact .box-check a.linktext {
  color: #000;
  text-decoration: underline;
}

body#contact .box-check a.linktext:hover {
  text-decoration: none;
}

/* radio, checkbox カスタム */
.box-check input[type="radio"],
.box-check input[type="checkbox"] {
  display: none;
  margin: 0;
}

.box-check input[type="radio"] + label,
.box-check input[type="checkbox"] + label {
  position: relative;
  display: inline-block;
  margin-right: 12px;
  padding-left: 24px;
  font-size: 14px;
  line-height: 30px;
  cursor: pointer;
}

.box-check input[type="radio"] + label::before,
.box-check input[type="checkbox"] + label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  background: #fff;
  box-sizing: border-box;
}

.box-check input[type="radio"] + label::before {
  border: 1px solid #ece6d7;
  border-radius: 50%;
}

.box-check input[type="checkbox"] + label::before {
  border: 1px solid #ece6d7;
  border-radius: 2px;
}

.box-check input[type="radio"]:checked + label::after,
.box-check input[type="checkbox"]:checked + label::after {
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
  top: 50%;
}

.box-check input[type="radio"]:checked + label::after {
  left: 5px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: #b8172b;
  border-radius: 50%;
}

.box-check input[type="checkbox"]:checked + label::after {
  left: 3px;
  width: 16px;
  height: 8px;
  margin-top: -8px;
  border-left: 3px solid #b8172b;
  border-bottom: 3px solid #b8172b;
  transform: rotate(-45deg);
}

/* --------------------------
   テーブル内フォーム
-------------------------- */
body#contact form table.table01 {
  width: 100%;
  border-collapse: collapse;
}

body#contact form table.table01 tr{
  border-bottom: #bbb 1px solid;
}

body#contact form table.table01 th,
body#contact form table.table01 td {
  padding: 30px 8px;
  vertical-align: top;
  text-align: left;
}

body#contact form table.table01 th {
  width: 270px;
  font-weight: bold;
  color: #333;
}

@media screen and (max-width: 768px) {
body#contact form table.table01 tr{
  border-bottom: none;
}
body#contact form table.table01 th,
body#contact form table.table01 td {
  padding: 10px 8px;
}
	
  body#contact form table.table01 th {
    width: 100%; /* スマホでは100%にして縦並びに */
    display: block; /* 縦並びにする場合 */
  }

  body#contact form table.table01 td {
    width: 100%;
    display: block;
  }
}

body#contact form table.table01 td input,
body#contact form table.table01 td textarea {
  width: 100%;
  box-sizing: border-box;
}

body#contact form .input,
body#contact form .textarea {
  padding: 10px;
  background: #fff;
  border: 1px solid #b9b9b9;
  width: 100%;
  box-sizing: border-box;
}

body#contact form .textarea {
  min-height: 220px;
  font-family: sans-serif;
}

/* ===========================
   レスポンシブ
=========================== */
@media screen and (max-width: 1024px) {
  body#contact form {
    padding: 60px 40px;
  }

  body#contact .title_a {
    font-size: 26px;
    margin: 80px 0 20px;
  }

  body#contact .title_b {
    font-size: 18px;
    margin: 30px 0 15px;
  }
}

@media screen and (max-width: 768px) {
  body#contact form {
    width: 95vw;
    padding: 40px 20px;
  }
	
  body#contact .contact_btnarea li,
  body#contact .btn_group .btn {
    width: 100%;
    max-width: 100%;
  }

  body#contact .contact_media {
    width: 95%;
    padding: 15px;
  }

  body#contact .contact_media dt {
    font-size: 16px;
  }

  body#contact .contact_media .btn_l a.button {
    font-size: 18px;
  }

  body#contact .title_a {
    font-size: 22px;
    margin: 60px 0 15px;
  }

  body#contact .title_b {
    font-size: 16px;
    margin: 20px 0 10px;
  }
}

@media screen and (max-width: 480px) {
  body#contact form {
    padding: 30px 15px;
  }
	
  body#contact .contact_media {
    padding: 10px;
  }

  body#contact .contact_media dt {
    font-size: 14px;
  }

  body#contact .contact_media .btn_l a.button {
    font-size: 16px;
    padding: 8px 0;
  }

  body#contact .title_a {
    font-size: 20px;
    margin: 40px 0 10px;
  }

  body#contact .title_b {
    font-size: 14px;
    margin: 15px 0 10px;
  }
}

/* =====================
   プライバシーポリシー
   ===================== */

#privacy .visual-wrapper .bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 700px;
  background-image: url("../images/privacy/top_img.jpg");
  background-size: cover;
  background-position: center -150px;
  background-attachment: fixed; /* パララックス的動き */
  z-index: -2;
}

/* 背景右下に大きく「privacy」ロゴ */
#privacy .visual-wrapper::after {
  content: "";
  position: absolute;
  bottom: 35px; /* 下から固定 */
  right: 20px;
  width: clamp(300px, 50vw, 699px);
  height: auto;
  aspect-ratio: 699 / 162;
  background: url("../images/title_privacy.svg") no-repeat right bottom;
  background-size: contain;
  background-position: right bottom;
  pointer-events: none;
  user-select: none;
  filter: invert(1) brightness(0.9);
  opacity: 0.3;
  z-index: 3;
}

/* =======================
   レスポンシブ調整（スマホ用）
   ======================= */
@media (max-width: 768px) {
  #privacy .visual-wrapper .bg-img {
    background-attachment: scroll; /* ←固定を解除 */
    background-position: center top; /* ズレ防止 */
    max-height: 400px;              /* ←高さ調整（お好みで） */
}
  /* 右下ロゴも小さく */
  #privacy .visual-wrapper::after {
    width: 220px;      
    height: auto;       /* 元の比率を維持したい場合 */
    aspect-ratio: 770/162; /* 元の比率に戻す */
    bottom: 60px;      
    right: 10px;       
    z-index: 3;     
  }
}

#privacy .contents_privacy {
  margin: 150px auto 50px;
  text-align: left;
}

@media (max-width: 768px) {
#privacy .contents_privacy {
  margin: 50px auto 50px;
}
}

#privacy .contents_privacy dt {
  font-weight: bold;
}
#privacy .contents_privacy dd {
  margin: 10px;
  padding-bottom:0.8em; 
}
.center {
  text-align: center;
}
