@charset "utf-8";

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family: "游ゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS PGothic", sans-serif; */
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 500;
  color: black;
  font-size: 14px;
  background-color: white;
  line-height: 24px;
  position: relative;
  letter-spacing: 0.5px;
  /* margin-top: 2em; */
}

section {
  margin-bottom: 48px;
}

h2,
h3 {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  clear: both;
  /* display: inline-block; */
  width: 100%;
  padding: 12px 0;
  font-weight: 600;
}

h2 {
  font-size: 24px;
  margin: 24px 0 24px;
}

h3 {
  font-size: 18px;
}

a {
  text-decoration: none;
  color: #000
}

a:hover {
  color: lightpink;
}

ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.container {
  margin: 0 auto;
  width: auto;
  padding: 0 20px;
}

.header-inner {
  margin-top: 2em;
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
}

.header-left {
  display: none;
}

.tel-box {
  display: flex;
  align-items: center;
  /* アイコンとテキストを縦方向で中央揃え */
}

.tel-box>.bi-telephone {
  display: block;
  font-size: xx-large;
  margin-right: 16px;
}

.tel-info a {
  font-weight: bold;
}

.tel-info a:hover {
  color: lightpink;
}

.bus-hours {
  font-size: small;
}

.logo {
  margin: 0 auto;
}

.logo img {
  width: 320px;
  text-align: center;
}

.logo img:hover {
  opacity: .6;
}

.header-right {
  display: none;
}

.sns-icon {
  display: flex;
}

.sns-icon li {
  margin: 0 10px;
}

.sns-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.sns-icon img:hover {
  opacity: .6;
}

.sp-category {
  display: flex;
  height: 32px;
  margin-bottom: 32px;
  align-items: center;
  /* 要素を垂直方向（高さ）の中心に揃える */
}

.sp-category h2 {
  margin: 0;
  padding: 0;
}

/* ハンバーガーメニュー */
.sp-menu {
  margin-left: auto;
  line-height: 0;
  /* アイコンの親要素のline-heightをリセットして、アイコンのサイズに合わせる */
}

.sp-menu #open {
  font-size: 32px;
  cursor: pointer;
  display: block;
  /* line-heightを無視して配置を調整するため */
}

.sp-menu #open.hide {
  display: none;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  text-align: center;
  padding: 64px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s;
  z-index: 2;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.overlay #close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 32px;
  cursor: pointer;
}

.overlay ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.overlay li {
  margin-top: 24px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s;
}

.overlay.show li {
  opacity: 1;
  transform: none;
}

.overlay.show li:nth-child(1) {
  transition-delay: .1s;
}

.overlay.show li:nth-child(2) {
  transition-delay: .2s;
}

.overlay.show li:nth-child(3) {
  transition-delay: .3s;
}

.overlay.show li:nth-child(4) {
  transition-delay: .4s;
}

.overlay.show li:nth-child(5) {
  transition-delay: .5s;
}

.overlay.show li:nth-child(6) {
  transition-delay: .6s;
}

.overlay.show li:nth-child(7) {
  transition-delay: .7s;
}

.overlay.show li:nth-child(8) {
  transition-delay: .8s;
}

.overlay .tel-button-sp {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 75%;
  /* 幅を80%から75%に縮小 */
  max-width: 250px;
  /* 最大幅を300pxから250pxに縮小 */
  margin: 0 auto;
  padding: 10px 18px;
  /* 上下のパディングを小さく */
  background-color: #83ae46;
  /* 濃いめの青 */
  color: white;
  font-weight: bold;
  font-size: 16px;
  /* フォントサイズを18pxから16pxに縮小 */
  border-radius: 6px;
  /* 角丸を小さく */
  box-shadow: 0 3px #91d18f;
  /* 濃いめの青のシャドウ */
  transition: all 0.1s;
}

.overlay .tel-button-sp:hover {
  background-color: #769f3c;
  /* ホバーで少し明るく */
  transform: translateY(1px);
  /* 沈み込みを小さく */
  box-shadow: 0 2px #0D47A1;
}

.overlay .tel-button-sp i {
  margin-right: 8px;
  /* アイコンと文字の間隔を小さく */
  font-size: 18px;
  /* アイコンサイズを小さく */
}


/* ハンバーガーメニュー内のSNSアイコンのスタイル */
.overlay-sns {
  position: absolute;
  /* ハンバーガーメニュー（.overlay）に対して絶対配置 */
  bottom: 24px;
  /* 下端から24px上に配置 */
  left: 50%;
  transform: translateX(-50%);
  /* 中央寄せ */
  width: 100%;
}

.overlay-sns ul {
  display: flex;
  /* 横並びに設定 */
  justify-content: center;
  /* 中央寄せ */
  list-style: none;
  padding: 0;
  margin: 0;
}

.overlay-sns li {
  margin: 0 12px;
  /* アイコン間の間隔 */
  opacity: 1 !important;
  /* メニューのリスト（li）のフェードインアニメーションを無視 */
  transform: none !important;
  transition: none !important;
}

.overlay-sns .fa-brands {
  font-size: 16px;
  /* アイコンサイズを大きく */
}

.pc-menu {
  display: none;
}

.pc-menu>ul {
  display: flex;
  justify-content: space-between;
}

.pc-menu a:hover {
  color: lightgrey;
}

/* ヒーロースライダー */
.hero-slider {
  width: 100%;
  position: relative;
  overflow: hidden;
  /* コンテナ外の要素を非表示 */
}

.hero-text-overlay {
  position: absolute;
  /* 親要素 .hero-slider に対して絶対配置 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* 要素を縦に並べる */
  justify-content: center;
  /* 縦方向の中央寄せ */
  align-items: center;
  /* 横方向の中央寄せ */
  color: white;
  /* 文字色 */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  /* 文字の視認性を高める影 */
  z-index: 1;
  /* 画像よりも手前に表示 */
  padding: 10px;
  /* 画面端に近すぎるのを防ぐための余白 */
}

/* .hero-text-overlay h1 {
  font-size: 14px;
} */

.hero-text-overlay p {
  font-size: 16px;
  margin-bottom: 28px;
}

.hero-text-overlay .second-word {
  font-size: 28px;
  margin: 0;
  font-weight: 500;
}

/* PC向け調整（フォントサイズを大きくする） */
@media (min-width: 575px) {
  /* .hero-text-overlay h1 {
  font-size: 36px;
  margin: 0 0 10px;
  font-weight: 700;
  line-height: 1.2;
  } */

  .hero-text-overlay p {
    font-size: 36px;
    margin-bottom: 94px;
    font-weight: 500;
  }

  .hero-text-overlay .second-word {
  font-size: 48px;
  margin: 0;
  font-weight: 500;
  }
}

.hero-image-container {
  /* 画像が重なるように設定 */
  position: relative;
  width: 100%;
  padding-top: 40%;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 画像がコンテナに合わせて表示されるようにする */
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  /* 非アクティブな画像を非表示 */
  transition: opacity 2s ease-in-out;
  /* 2秒かけてフワッと切り替え */
}

.hero-img.active {
  opacity: 1;
  /* アクティブな画像を完全に表示 */
}

/* CONCEPT */
.concept-position {
  color: #888;
  text-align: center;
  margin-bottom: 48px;
}

/* --- フェードインアニメーションの定義 --- */
/* 初期状態: 見えない + 少し下に移動 */
.fade-in-item {
  opacity: 0;
  transform: translateY(40px);
  /* 1秒かけて透明度と位置を変化させる */
  transition: opacity 1s, transform 2s;
}

/* 表示状態: 見える + 元の位置に戻る (JavaScriptでこのクラスを付与する) */
.fade-in-item.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* COLLECTION */
.image-gallery {
  display: grid;
  /* スマホ（1枚表示）のデフォルト設定 */
  grid-template-columns: repeat(1, 1fr);
  /* 列を1つに設定 */
  gap: 10px;
  /* 画像間のスペース */
}

/* 画像がコンテナからはみ出さないように */
.image-gallery img {
  width: 100%;
  height: auto;
}

.car-thumb {
  margin: 0 8px 20px;
  padding: 0 10px;
}

.car-thumb a:hover {
  opacity: .8;
}

.car-name {
  display: flex;
  flex-direction: column;
  /* 要素を縦（列）方向に並べる */
  align-items: center;
  margin: 0;
  padding: 0;
}

.car-name>span {
  font-size: 16px;
}

.car-price {
  color: #f00;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  text-align: right;
}

.car-price span {
  font-size: 12px;
}


/* カーセンサー&グーネットのボタン */
.btn_custom {
  display: block;
  width: 200px;
  height: 60px;
  text-decoration: none;
  text-align: center;
  line-height: 60px;
  margin: 25px auto;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
  border-radius: 3px;
  /* 角を丸くする */
  font-weight: bold;
  /* 文字を太くする */
}

.btn_carsensor {
  background-color: orange;
  color: white;
}

.btn_carsensor::before,
.btn_carsensor::after {
  content: 'カーセンサーで調べる';
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
  font-weight: bold;
  /* 疑似要素の文字も太くする */
}

.btn_carsensor::before {
  left: 0;
  background-color: orange;
  color: white;
  transform: translateX(0);
}

.btn_carsensor::after {
  right: 0;
  background-color: white;
  color: orange;
  transform: translateX(-100%);
}

.btn_carsensor:hover::before {
  transform: translateX(100%);
}

.btn_carsensor:hover::after {
  transform: translateX(0);
}

.btn_carsensor:hover {
  border-color: orange;
}

.btn_goonet {
  background-color: red;
  color: white;
}

.btn_goonet::before,
.btn_goonet::after {
  content: 'グーネットで調べる';
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
  font-weight: bold;
  /* 疑似要素の文字も太くする */
}

.btn_goonet::before {
  left: 0;
  background-color: red;
  color: white;
  transform: translateX(0);
}

.btn_goonet::after {
  right: 0;
  background-color: white;
  color: red;
  transform: translateX(-100%);
}

.btn_goonet:hover::before {
  transform: translateX(100%);
}

.btn_goonet:hover::after {
  transform: translateX(0);
}

.btn_goonet:hover {
  border-color: red;
}

.banner-hover:hover {
  opacity: .7;
}

/* RESERVE */
.reserve-mt {
  margin-top: 36px;
}

.col-center {
  text-align: center;
}

.img-border {
  border: 3px solid #e6e6e6;
}

.pc-goo-reserve {
  display: none;
}

@media (min-width: 576px) {
  .sp-goo-reserve {
    display: none;
  }

  .pc-goo-reserve {
    display: block;
  }
}

/* NEWS */
.bg-color-white {
  background-color: white;
  height: 100px;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% calc(100% - 5vw));
}

.news-container {
  background-color: #fafafa;
  height: 600px;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% calc(100% - 5vw));
}

/* style.css の任意の場所に追加 */
.news-item {
  /* display: flex; */
  align-items: center;
  /* 縦方向で中央揃え */
  padding: 20px 0;
  /* 上下の余白 */
  border-bottom: 1px dashed #ccc;
  /* 区切り線 */
}

.news-item a:hover {
  background-color: #f9f9f9;
  /* ホバー時の背景色 */
}

/* 日付の幅を固定 */
.publication-date {
  flex-shrink: 0;
  /* 幅が縮まないように固定 */
  width: 80px;
  /* 日付の固定幅 (例) */
  margin-right: 15px;
  color: #888;
}

/* カテゴリの幅を固定 */
.news-category {
  flex-shrink: 0;
  /* 幅が縮まないように固定 */
  width: 100px;
  /* カテゴリの固定幅 (例) */
  margin-right: 15px;
  /* カテゴリのスタイル調整（例として） */
  border: 1px solid #000;
  color: #000;
  /* padding: 2px 4px; */
  font-size: 12px;
  text-align: center;
}

/* タイトルを余った領域いっぱいに広げる */
.news-title {
  flex-grow: 1;
  /* 余った領域をすべて占有 */
  margin: 0;
  /* <p>タグのデフォルトマージンをリセット */
  padding: 0;
}

.news-more {
  width: 120px;
  height: 36px;
  text-align: center;
  line-height: 36px;
  border: 1px solid #ccc;
  margin: 36px 0 0 auto;
}


/* タブメニュー */
/* ===== Design 1: Simple ===== */
.tab-container ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  border-bottom: 2px solid #ddd;
}

.tab-container ul li {
  width: 100%;
  padding: 12px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  background-color: #f9f9f9;
  border: 1px solid white;
}

.tab-container ul li.selected {
  color: orange;
  background-color: #f5f5f5;
  border-bottom-color: orange;
}

.tab-container ul li:not(.selected):hover {
  background-color: #f0f0f0;
}

.tab-container .tab-content {
  display: none;
  padding: 20px;
  min-height: 150px;
}

.tab-container .tab-content.selected {
  display: block;
}


/* アコーディオン */
.description-list {
  margin: 0;
}

.description-list>div {
  margin-bottom: 8px;
}

.definition-term {
  padding: 8px;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.definition-term::before {
  content: 'Q. ';
}

.definition-term::after {
  content: '+';
  position: absolute;
  top: 8px;
  right: 16px;
  transition: transform .3s;
}

.description-list>div.appear .definition-term::after {
  transform: rotate(45deg);
}

.definition-description {
  padding: 8px;
  margin: 0;
  background-color: #f5f5f5;
  display: none;
}

.definition-description::before {
  content: 'A .';
}

.description-list>div.appear .definition-description {
  display: block;
  animation: .3s fadeIn;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}


/* YouTubeスライダー */
.slide-container {
  width: 100%;
  margin: 16px auto;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.slide-wrapper {
  display: flex;
  animation: slide-flow 80s infinite linear 1s both;
}

.slide {
  width: 319px;
  height: 180px;
  margin-right: 8px;
  object-fit: cover;
  border: 1px solid #ddd;
}

@keyframes slide-flow {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.slide-paused:hover .slide-wrapper {
  animation-play-state: paused;
}

.slide-paused:hover .slide-wrapper img:hover {
  opacity: .8;
  cursor: grabbing;
}


/* ACCESS */
.map {
  width: 100%;
  height: 200px;
}

.tel-flex {
  display: flex;
}

.tel-mr {
  margin-right: 32px;
}

#scrollToTopBtn {
  /* 位置を画面に対して固定 */
  position: fixed;
  /* 右下隅に配置 */
  bottom: 48px;
  /* 下から20px */
  right: 24px;
  /* 右から30px */

  /* 見た目の設定 */
  z-index: 99;
  /* 他の要素より手前に表示 */
  border: 1px solid #83ae46;
  outline: none;
  /* background-color: #83ae46; */
  color: #83ae46;
  /* 文字色 */
  cursor: pointer;
  padding: 12px;
  border-radius: 50%;
  /* 角を丸く */
  font-size: 20px;
  display: none;
  /* 初期状態では非表示（重要） */
}

#scrollToTopBtn:hover {
  color: white;
  background-color: #83ae46;
  opacity: .4;
}

footer {
  margin-top: 32px;
  padding-top: 48px;
  background-color: #fafafa;
  color: #808080;
  border-top: 1px solid #e6e6e6;
}

@media (min-width: 576px) {
  .footer-inner {
    display: flex;
    justify-content: space-between;
  }
}

footer h3 {
  color: black;
}

footer .footer-links a {
  color: #808080;
}

footer .footer-links a:hover {
  color: lightpink;
}

.footer-sns {
  margin-top: 36px;
  height: 32px;
  align-items: center;
  line-height: 16px;
}

.footer-sns ul {
  display: flex;
  justify-content: center;
  text-align: center;

  li+li {
    margin-left: 16px;
  }
}

.footer-sns .fa-brands {
  font-size: large;
}

.footer-bottom {
  background-color: #000;
  color: #fafafa;
  text-align: center;
  padding: 16px;
}


/* パンくずリスト */
.breadcrumb-container {
  margin: 0 auto;
  width: auto;
  padding: 0 20px;
}


.breadcrumb {
  margin: 0 0 30px 0;
  padding: 10px 15px;
  background: #000;
  list-style: outside none none;
}

.breadcrumb>li {
  position: relative;
  white-space: nowrap;
  display: inline-block;
}

.breadcrumb li a {
  color: #91BD37;
  font-weight: 500;
}

.breadcrumb>li+li:before {
  content: "\f101";
  padding: 0 10px;
  color: #999;
  font-family: 'FontAwesome';
}


/* COMPANY */
.company-col-block {
  margin-bottom: 32px;
}

.company-logo-img {
  display: block;
  margin: 0 auto;
}

.bottom-line {
  border-bottom: 1px solid #999
}

.company-outside {
  width: 100%;
  margin: 24px 0;
}

.greetings {
  margin-top: 32px;
  margin-bottom: 48px;
  border-top: 1px solid #888;
}

/* DETAILING */
.ditail-section {
  margin-bottom: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid #888;
}

.ditail-img img {
  width: 100%;
}

.image-container {
  display: grid;
  /* Grid レイアウトを有効にする */
  grid-template-columns: repeat(2, 1fr);
  /* 2つの均等な幅の列を作成 */
  gap: 16px;
  /* 画像間の隙間（お好みで調整） */
  margin-bottom: 24px;
}

/* .image-container 内の画像がセル幅いっぱいに広がるように設定 */
.image-container img {
  width: 100%;
  /* 親要素（Gridセル）の幅いっぱいに広げる */
  height: auto;
  display: block;
}

.image-container li {
  margin-right: 4px;
}

.image-container img {
  width: 160px;
}

.ditail-li {
  list-style: disc;
}

.bpro-img {
  margin-bottom: 32px;
}

.blue {
  color: blue;
}

.pink {
  color: pink
}

.mt {
  margin-top: 32px;
}

.table-width {
  width: 80%;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid #CCCCCC;
  max-width: 100%;
  font-size: 14px;
  margin-bottom: 20px;
  background-color: transparent;
  border-spacing: 0;
}


td {
  border: 1px solid #333;
  padding: 8px;
  text-align: center;
}

.table-header {
  background-color: #f2f2f2;
  font-weight: bold;
}

/* スマホ表示時、テーブルを横スクロール可能にするCSS */
.table-scroll-wrapper {
  overflow-x: auto;
  /* 幅からはみ出た部分を横スクロールで表示 */
  /* iOSでのスクロールをスムーズにする設定（任意） */
  -webkit-overflow-scrolling: touch;

  /* テーブルと画面端に少し余白を持たせるため、必要に応じて左右にパディングを追加 */
  padding-bottom: 15px;
  /* スクロールバーが表示されても見やすいように下の余白を追加 */
}

/* テーブル内の文字が改行されないように nowrap を設定（任意） */
.table-scroll-wrapper table {
  /* テーブルが必ずコンテンツ幅を保つように設定 */
  width: auto;
  min-width: 100%;
  border-collapse: collapse;
  /* 罫線の重複を排除 */
}

/* 料金表のセル内の文字を改行しないように設定（任意） */
.table-scroll-wrapper table td {
  white-space: nowrap;
  /* セル内のテキストを強制的に改行させない */
}

/* 1. ヘッダーセル内の <p> タグのデフォルトマージンをリセット */
/* .table-header は車種名の行のセルに付与されているクラス */
.table-scroll-wrapper table .table-header p {
  margin: 0;
  /* 上下左右のマージンを完全にリセット */
  padding: 0;
  /* パディングもリセット */
  /* line-height: 1.2; /* 行間を調整して高さを安定させる（任意） */
}

/* 2. すべてのセル（td）のテキストを中央寄せにして、視覚的なズレを解消 */
.table-scroll-wrapper table td {
  text-align: center;
  padding: 8px 10px;
  /* パディングを統一 */
  /* 前回の提案で設定した white-space: nowrap; は保持しておいてください */
}

/* 3. 「車種」と「価格(税別)」のラベルが入っている一番左の列だけは左寄せにして見やすくする（任意） */
.table-scroll-wrapper table tr td:first-child {
  text-align: left;
  padding-left: 15px;
}


/* DOCUMENTS */
/* 導入部分の画像とテキストをスマホで縦積みにする */
.doc-flex {
  display: block;
  /* Flex/Grid を上書きし、ブロック要素として縦に並べる */
}

/* 画像ブロックの幅を画面いっぱいに広げ、マージンも調整 */
.doc-img-block {
  margin-right: 24px;
  margin-bottom: 24px;
}


.doc-img-block img {
  width: 100%;
  /* 画像の幅を親要素の90%程度に縮小して、画面の端に余白を設ける */
  max-width: 400px;
  /* PC用の max-width は保持しつつ */
  height: auto;
}

.doc-block {
  padding-bottom: 32px;
  margin-bottom: 48px;
  border-bottom: 1px solid #888;
}

/* ダウンロード/見本ボタンの調整 */
.btn_box {
  display: flex;
  /* 横並び（flex）は維持 */
  flex-wrap: wrap;
  /* 画面幅が足りない場合に折り返す */
  justify-content: flex-start;
  /* 左寄せに配置 */
  margin: 10px 0 20px;
  /* 上下のマージン */
}

.btn_box a {
  width: calc(50% - 10px);
  /* 2つ並べて、間に10pxの隙間を設ける */
  margin: 5px 5px;
  /* ボタン同士の上下左右の隙間 */
}

/* ボタン内の画像がはみ出さないようにする */
.btn_box .btn_img img {
  width: 100%;
  height: auto;
  display: block;
}


/* PRIVACY POLICY */
.mb {
  margin-bottom: 64px;
}

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

.red {
  color: red;
}

/* CONTACT US */
.underline-text {
  text-decoration: underline;
}


/* レスポンシブ */
@media (min-width: 576px) {
  .container {
    width: 540px;
    padding: 0;
  }

  .breadcrumb-container {
    width: 550px;
    padding: 0;
  }

  .image-gallery {
    /* 2列に設定 */
    grid-template-columns: repeat(2, 1fr);
  }

  /* 2列に設定 */
  .row {
    display: flex;
    justify-content: center;
  }

  .col-block {
    width: 590px;
  }

  .news-item {
    display: flex;
  }

  .map {
    height: 420px;
  }

  .company-row {
    display: flex;
  }

  .company-col-block {
    width: 540px;
    margin: 0 auto;
  }

  .ditail-row {
    display: flex;
  }

  .ditail-img {
    margin-right: 32px;
  }

  .ditail-img img {
    width: 200px;
  }

  .image-container {
    display: flex;
    flex-wrap: wrap;
  }

  .doc-flex {
    display: flex;
  }

  .doc-img-block img {
    width: 400px;
  }

  /* .btn_box の flex 設定を PC 向けに微調整 */
  .btn_box {
    display: flex;
    flex-wrap: nowrap;
    /* PCでは折り返しを基本的に発生させない */
    justify-content: flex-start;
    /* 左寄せを維持 */
    margin: 20px 0;
    /* 上下のマージンを確保 */
  }

  /* ダウンロード/見本ボタン（aタグ）のサイズ調整 */
  .btn_box a {
    /* PCでの適切な固定幅を設定します（例：200px） */
    width: 200px;
    max-width: 200px;

    /* ボタン間のマージンを調整 */
    margin: 0 15px 0 0;
  }

  /* 2つボタンが並んだ時の最後のボタンの右マージンを削除 */
  .btn_box a:last-child {
    margin-right: 0;
  }
}

@media (min-width: 768px) {
  .container {
    width: 720px;
    padding: 0;
  }

  .breadcrumb-container {
    width: 740px;
    padding: 0;
  }

  .header-left {
    display: block;
  }

  .header-right {
    display: block;
  }

  .sp-category {
    display: none;
  }

  .pc-menu {
    display: block;
    margin-bottom: 48px;
  }

  .image-gallery {
    /* 3列に設定 */
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .container {
    width: 960px;
    padding: 0;
  }

  .breadcrumb-container {
    width: 980px;
    padding: 0;
  }


  .image-gallery {
    /* 4列に設定 */
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1140px;
    padding: 0;
  }

  .breadcrumb-container {
    width: 1200px;
    padding: 0;
  }
}