@charset "UTF-8";
/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.1.3
*/

/* 長くなったので分割して下記から読み込んでいます */
@import url("css/header.css");
@import url("css/footer.css");
@import url("css/safety.css");
@import url("css/safety_pass.css");
@import url("css/news.css");
@import url("css/swiper.css");
@import url("css/contact.css");
@import url("css/blog.css");
@import url("css/safety-page.css");

html {
  scroll-behavior: smooth;
}

/* ===== meta slider ===== */

/* reset */
.metaslider,
.metaslider .slides,
.metaslider .flexslider,
.metaslider .flexslider ul.slides li,
.metaslider img {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* 画像周囲にできる1pxの隙間防止 */
.metaslider img {
  display: block !important;
  line-height: 0 !important;
}

#metaslider_101 {
  width: calc(100% + 2px);
  transform: translateX(-1px) translateY(-1px);
}

body .metaslider .flexslider .slides img {
  /* max-width: 100% !important; */
  /* width: 100% !important; */
}

/* スライド画像も幅100%に */
.meta-slider img {
  width: 100%;
  height: auto;
}

/* スライダー上のオーバーレイ配置 */
.slider-overlay {
  position: absolute;
  top: calc(50% - 30px);
  left: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
}

.metaslider.ms-theme-databold .flexslider .caption-wrap .caption {
  position: absolute;
  top: 50%;
  left: 50% !important;
  z-index: 2;
  padding: 30px;
  background: none !important;
  transform: translate(-50%) !important;
}

/* 全体ラップ */
.houden-slider-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

/* MetaSlider databold テーマのキャプションをリセット */
.metaslider.ms-theme-databold .flexslider .caption-wrap .caption {
  all: unset !important;
  position: static !important;
  background: none !important;
  box-shadow: none !important;
  width: auto !important;
  padding: 0 !important;
  color: inherit !important;
}



/* テキストボックス中央配置 */
.houden-slider-wrap .slider-text-box {
  position: absolute !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  max-width: 900px;
  color: #fff;
  text-shadow: 0 0 8px rgba(0,0,0,0.55);
  line-height: 1.7;
  z-index: 99;
}

/* 大タイトル */
.houden-slider-wrap .main-copy {
  font-size: 3.2rem;
  margin-bottom: 25px;
  font-weight: 600;
	color:#fff;
}

/* リード文 */
.houden-slider-wrap .lead-copy {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

/* 会社情報 */
.houden-slider-wrap .company-copy p {
  font-size: 1.2rem;
  margin-bottom: 30px;!important
}

.metaslider .flexslider .slides > li {
    display: none !important;
}

.metaslider .flexslider .slides > li.flex-active-slide {
    display: block !important;
}




/* スマホ対応 */
@media (max-width: 768px) {
  .houden-slider-wrap .main-copy { font-size: 1.4rem; }
  .houden-slider-wrap .lead-copy { font-size: 1rem; }
  .houden-slider-wrap .company-copy p { font-size: 1rem;
	margin-bottom:1em;}
  .slider-contact-btn {
    font-size: 1.2rem;
    padding: 12px 28px;
  }
}


/* ===== 下層ページtop画像 ===== */

.entry-content .header_img_pc {
  width: 93%;
  margin-right: 0 !important;
  margin-left: auto !important;
  margin-bottom: 80px !important;
}

.entry-content .header_img_sp {
  display: none !important;
}

/* ===== go-to-top ===== */

.go-top-wrapper {
  display: flex;
  justify-content: flex-end;
  max-width: 1400px;
  width: calc(100% - 64px);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding: 0;
}

#go-top img.go-top-button {
  display: block;
  width: 60px;
  height: auto;
}

#go-top {
  display: flex;
  justify-content: flex-end;
  max-width: 1400px;
  margin-left: auto;
  margin-right: 0;
}

#go-top img.go-top-button {
  display: block;
  width: 140px;
  height: auto;
}

/* ===== タイトル ===== */
.entry-content .slider-title {
  font-size: 46px;
  color: #fff;
  margin-bottom: 40px !important;
}

.entry-content .slider-title br {
  display: none;
}

/* ===== スライダーのボタン ===== */

/* ボタンラッパー */
.slider-buttons {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.slider-btn {
  display: flex;
  height: 88px;
  padding: 21px 32px;
  background-color: #e9e2da;
  font-size: 32px;
  line-height: 1;
  text-decoration: none;
  align-items: center;
  gap: 20px;
}

.slider-btn:hover,
.slider-btn:focus {
  background-color: #e9e2da !important;
  opacity: 1 !important;
}

.slider-btn:hover .btn-arrow {
  transition: all 0.3s linear;
  transform: translateX(10px);
}

/* ボタン内アイテム */
.btn-icon {
  width: 45px !important;
  /* 1つ目アイコンサイズ */
  height: auto;
  margin-right: 10px !important;
}

.slider-btn:nth-child(2) .btn-icon {
  width: 52px !important;
  /* 2つ目アイコンサイズ */
  height: auto;
}

.btn-text {
  font-size: 32px !important;
  font-weight: bold;
  color: #3f2f2e !important;
  text-shadow: none!important;
}

.btn-arrow {
  width: 40px !important;
}

/* ===== 白文字ボタン ===== */
.btn-w {
  position: relative;
  display: flex;
  width: 290px;
  height: 68px;
  padding: 17px 16px;
  border: 2px solid #fff;
  background-color: transparent;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  justify-content: center;
  align-items: center;
}

.btn-w:hover {
  color: #ffffff !important;
}

.btn-w .btn-text-w {
  margin-right: 16px;
  /* 文字と矢印の間隔 */
}

.btn-w .btn-arrow-w {
  display: inline-block;
  width: 48px !important;
  height: auto;
  transition: transform 0.3s ease;
}

/* ホバーで矢印を右にスライド */
.btn-w:hover .btn-arrow-w {
  color: #fff !important;
  transform: translateX(5px);
}

/* ===== 白背景ボタン ===== */
.btn-b {
  position: relative;
  display: flex !important;
  width: fit-content !important;
  margin: 60px auto 0;
  padding: 25px 47px 25px 60px;
  border: 2px solid #3f2f2e;
  background-color: transparent;
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
  text-decoration: none;
  color: #3f2f2e;
  transition: all 0.3s ease;
  min-width: 232px;
  max-width: 100%;
  justify-content: center;
  align-items: center;
}

.btn-text-b {
  margin-right: 16px;
}

.btn-arrow-b {
  display: inline-block;
  width: 48px !important;
  height: auto;
  transition: transform 0.3s ease;
}

.btn-b.btn-b-SP {
  display: none !important;
}

/* ホバーで矢印を右にスライド */
.btn-b:hover .btn-arrow-b {
  color: #3f2f2e !important;
  transform: translateX(5px);
}

.btn-b:hover {
  color: #3f2f2e !important;
  opacity: 0.8;
}

/* ===== 白背景ボタン 右寄せ ===== */
.btn-b.btn-b-right {
  margin: 60px 0 0 auto !important;
}

/* ===== 赤帯（キャプション） ===== */

.article p.s-ttl {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 20px 0 0 !important;
  padding: 0 0px 12px 20px !important;
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #3f2f2f;
}

/* 赤背景帯 */
.red-border-ttl::after {
  position: absolute;
  bottom: 6px;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 18px;
  background: linear-gradient(to right, #ea303f 0%, #ea303f 100%);
  background-color: #ea303f;
  content: "";
  -webkit-mask-image: url("/houden/wp-content/uploads/2025/10/Rectangle-32.png");
  mask-image: url("/houden/wp-content/uploads/2025/10/Rectangle-32.png");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  mask-position: 0;
}

/* ===== 本文 ===== */

.article p.column_txt {
  font-size: clamp(15px, 0.496vw + 14.37px, 20px) !important;
  font-weight: 700;
  padding-bottom: 32px !important;
  line-height: 1.7;
}

.article p.column_txt.last {
  padding-bottom: 0 !important;
}

/* ===== カッコ ===== */
.article p.column_txt.intro {
  width: 100% !important;
  margin: auto !important;
  padding: 60px !important;
}

.body .wp-block-group .intro_wrap {
  position: relative;
  padding: 0;
  overflow: hidden;
  margin-bottom: 80px !important;
}

.intro_wrap::before,
.intro_wrap::after {
  position: absolute;
  z-index: 0;
  width: 100px;
  height: 100px;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
}

.intro_wrap::before {
  top: 0;
  left: 0;
  background-image: url("/houden/wp-content/uploads/2025/10/deco_01.png");
}

.intro_wrap::after {
  right: 0;
  bottom: 0;
  background-image: url("/houden/wp-content/uploads/2025/10/deco_02.png");
}

/* ===== base ===== */
.contents {
  max-width: 1400px;
  width: calc(100% - 64px);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding: 0 0 216px 0;
}

.article h2.h2 {
  width: 100% !important;
  padding-top: 230px !important;
  padding-bottom: 5px !important;
  background-color: transparent !important;
  border-bottom: 1px #3f2f2e solid;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 36px !important;
  /* font-size: 64px; */
  font-size: clamp(24px, 3.96vw + 8.56px, 64px) !important;
  padding-bottom: 12px;
  border-bottom: 1px solid #3f2f2e;
}

.article h2.h2.sub-h2 {
  padding-top: 128px !important;
  font-size: clamp(24px, 2.38vw + 14.6px, 48px) !important;
  scroll-margin-top: 10px;
}

.article h2.h2.sub-h2.first {
  padding-top: 0 !important;
  scroll-margin-top: 130px;
}

.article h2.h2.privacy-h2 {
  padding-top: 30px !important;
  font-size: clamp(20px, 2.4vw, 32px) !important;
  margin-bottom: clamp(10px, 2vw, 20px) !important;
}

.article h1.privacy_h1 {
  padding: clamp(40px, 2.8vw, 60px) 0 clamp(20px, 2vw, 40px) !important;
  font-size: clamp(40px, 2.8vw, 60px) !important;
}

.privacy_txt {
  font-size: clamp(15px, 1.8vw, 18px) !important;
}

/* ===== section ===== */
.custom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* 正方形ボックス */
.grid-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

/* 画像を背景的に配置 */
.grid-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* オーバーレイで画像の上にテキスト・ボタン */
.grid-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 100%;
  padding: 10px;
  text-align: center;
  color: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

/* タイトル */
.grid-item .overlay .grid-ttl {
  width: 100%;
  margin: 0 0 10px 0 !important;
  font-size: 40px;
  font-weight: bold;
  line-height: 100%;
  text-align: center;
}

/* リスト */
.grid-item .overlay ul {
  margin: 10px 0 40px 0 !important;
  padding: 0;
  font-size: 24px;
  font-weight: bold;
  line-height: 40px;
  text-align: left;
  list-style: none;
}

/* ===== column-item-box ===== */
.column-item-box .item .wp-block-image {
  margin-bottom: 0 !important;
}

/* ===== step ===== */
.step_box {
  gap: 0 !important;
}

.step_arrow {
  margin-left: 0 !important;
  margin-right: 1vw !important;
}

/* ===== 会社概要表 ===== */
.table-scroll-wrapper {
  overflow-x: auto !important;
  position: relative;
}

.scroll-hint-icon {
  top: calc(50% - 60px) !important;
  width: 120px !important;
  height: auto !important;
  padding: 20px !important;
  border-radius: 5px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
  box-sizing: border-box;
}

.scroll-hint-icon::before {
  width: 80px !important;
  height: 80px !important;
  background-image: url("/houden/wp-content/uploads/2025/11/scroll.png") !important;
  background-repeat: no-repeat !important;
  background-size: cover;
}

.scroll-hint-icon:after {
  display: none !important;
}

.scroll-hint-text {
  display: none !important;
}

.wp-block-table.is-style-stripes.company_info {
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  min-width: 550px !important;
}

.company_info tr {
  height: clamp(40px, 6.67vw, 100px) !important;
}

.wp-block-table.is-style-stripes.company_info {
  border-collapse: collapse;
  margin: 0;
  padding: 0;
}

.company_info td {
  border: none;
  font-size: clamp(14px, 2vw, 24px) !important;
  font-weight: bold;
  line-height: clamp(40px, 6.67vw, 100px) !important;
  color: #3f2f2e;
  vertical-align: middle;
  padding-top: 0;
  padding-bottom: 0;
}

.company_info tbody tr:last-child td {
  border-bottom: none;
}

.company_info tr td:first-child {
  width: 30%;
  padding: 0 7.35%;
  text-align: center !important;
  min-width: 150px;
}

.company_info tr td:last-child {
  padding: 0 !important;
  text-align: left;
  min-width: 350px;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background-color: #e9e2da !important;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(even) {
  background-color: #ffffff !important;
}

/* ===== 年表 ===== */
.cocoon-block-timeline,
.timeline-item-label {
  border: none !important;
  box-shadow: none !important;
  font-size: clamp(14px, 2.5vw, 24px) !important;
  font-weight: 700;
  color: #3f2f2e !important;
}

.cocoon-block-timeline .timeline {
  position: relative !important;
  padding: 0;
}

.cocoon-block-timeline .timeline-item {
  position: relative !important;
  display: flex;
  padding: 0;
  border: none !important;
}

.timeline-item-label {
  width: 130px !important;
  width: clamp(80px, 14vw, 130px) !important;
  float: none !important;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-top: 0 !important;
  padding-bottom: 2.2em !important;
  padding-left: 0 !important;
  align-items: flex-start;
}

.timeline-item-content {
  display: flex;
  padding-top: 0 !important;
  padding-bottom: 2.2em !important;
  padding-left: 2em !important;
  float: none !important;
  border-left: 1px #3f2f2e solid;
  flex-wrap: wrap;
  flex: 1;
  align-items: center;
  align-items: flex-start;
}

.timeline-item-title {
  flex: 0 0 auto;
  margin-right: 1em !important;
}

.timeline-item-snippet {
  flex: 1 1 50%;
  min-width: 0;
}

.timeline-item:before {
  position: absolute !important;
  top: clamp(3px, 1vw, 12px) !important;
  left: calc(clamp(80px, 14vw, 130px) - 10px) !important;
  z-index: 10 !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 100% !important;
  background: #fbd6d9 !important;
  transform: none !important;
  content: "" !important;
}

.houden_timeline {
  padding: 0 0 0 clamp(10px, 2.86vw, 50px) !important;
}

/* ===== map ===== */
.access_map {
  width: 100%;
  height: 672px;
}

/* ===== アイコン付き表 ===== */

.access-box {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

.access-box a {
  text-decoration: none !important;
  color: #3f2f2e !important;
  border-bottom: 1px #3f2f2e solid;
}

.access-box a:hover {
  text-decoration: none !important;
  border-bottom: 1px #3f2f2e solid;
}

.access-left {
  display: flex;
  width: 24%;
  max-width: 258px;
  height: auto;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.access-left.inquiry {
  width: 24%;
  max-width: 174px;
}

.access-left img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.access-right {
  font-size: clamp(14px, 2vw, 24px) !important;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  color: #3f2f2e;
  flex: 1;
  padding-left: 20px;
}

.access-right.phone_txt {
  display: flex;
  font-size: clamp(24px, 2.3vw, 48px) !important;
  align-items: center;
  flex-direction: row;
  gap: 10px;
}

.access-right.phone_txt br {
  display: none !important;
}

.access-right.phone_txt span {
  font-size: clamp(12px, 1.15vw, 24px);
}

.access-right.inquiry {
  font-size: clamp(20px, 1.17vw, 32px) !important;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
@media screen and (max-width: 1600px) {
  /* ===== 下層ページtop画像 ===== */

  .entry-content .header_img_pc {
    width: 124%;
    margin-right: -30% !important;
    margin-left: 5% !important;
  }
}

@media screen and (max-width: 1400px) {
  /* ===== 赤帯（キャプション） ===== */
  .article p.s-ttl {
    margin: 10px 0 0 !important;
    padding: 0 0px 12px 10px !important;
    line-height: 1.5;
  }
}

@media screen and (max-width: 1300px) {
  /* ===== 赤帯（キャプション） ===== */
  .article p.s-ttl {
    margin: 5px 0 0 !important;
    font-size: 22px;
  }
}

@media screen and (max-width: 1200px) {
  /* ===== meta slider ===== */

  /* タイトル */
  .entry-content .main-copy {
    width: 765px;
    font-size: 36px;
    margin-bottom: 30px !important;
	  margin:0 auto;
  }

  /* ===== スライダーのボタン ===== */

  .slider-buttons {
    gap: 30px;
  }

  .slider-btn {
    height: 60px;
    padding: 23px 20px;
    font-size: 30px;
    gap: 10px;
  }

  .slider-btn:hover .btn-arrow {
    transform: translateX(8px);
  }

  .btn-icon {
    width: 32.5px !important;
    /* 1つ目アイコンサイズ */
    margin-right: 5px !important;
  }

  .slider-btn:nth-child(2) .btn-icon {
    width: 36px !important;
    /* 2つ目アイコンサイズ */
  }

  .btn-text {
    font-size: 20px !important;
  }

  .btn-arrow {
    width: 20px !important;
  }

  /* ===== 白文字ボタン ===== */
  .btn-w {
    display: flex;
    width: 250px;
    height: 64px;
    padding: 15px 10px;
    font-size: 20px;
  }

  .btn-w .btn-text-w {
    margin-right: 15px;
    /* 文字と矢印の間隔 */
  }

  .btn-w .btn-arrow-w {
    width: 45px !important;
  }

  /* ===== 白背景ボタン ===== */
  .btn-b {
    margin: 20px auto 0 !important;
    padding: 15px 18px;
    font-size: 20px;
  }

  .btn-b .btn-text-b {
    margin-right: 15px;
  }

  .btn-b .btn-arrow-b {
    width: 45px !important;
  }

  /* ===== base ===== */

  .article h2.h2 {
    padding-top: 100px !important;
    margin-bottom: 36px !important;
  }

  .article h2.h2.sub-h2 {
    padding-top: 100px !important;
    scroll-margin-top: 0;
  }

  .article h2.h2.sub-h2.first {
    scroll-margin-top: 80px;
  }

  /* ===== 赤帯（キャプション） ===== */
  .article p.s-ttl {
    margin: 5px 0 0 !important;
    font-size: 20px;
  }

  /* ===== section ===== */

  .custom-grid {
    gap: 15px;
  }

  /* タイトル */
  .grid-item .overlay .grid-ttl {
    font-size: 33px;
  }

  /* リスト */
  .grid-item .overlay ul {
    margin: 10px 0 20px 0 !important;
    font-size: 20px;
  }
}

/*1124px以下*/
@media screen and (max-width: 1124px) {
  /* ===== カラム ===== */
  .wp-block-columns.is-layout-flex {
    flex-wrap: wrap !important;
  }

  .wp-block-columns.is-layout-flex .wp-block-column.item {
    flex: 0 0 calc(50% - 12.6px) !important;
  }
}

/*1023px以下*/
@media screen and (max-width: 1023px) {
  /* ===== Base ===== */

  .content {
    margin-top: 60px !important;
  }

  /* ===== 下層ページtop画像 ===== */
  .entry-content .header_img_s {
    margin-bottom: 40px !important;
  }

  /* ===== 白背景ボタン ===== */
  .btn-b.btn-b-PC {
    display: none !important;
  }

  .btn-b.btn-b.btn-b-SP {
    display: flex !important;
  }

  /* ===== カッコ ===== */
  .body .wp-block-group .intro_wrap {
    margin-bottom: 40px !important;
  }

  /* ===== section ===== */

  .custom-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* タイトル */
  .grid-item .overlay .grid-ttl {
    font-size: 30px;
  }

  .article p.column_txt.intro {
    padding: 30px 40px !important;
  }

  .intro_wrap::before {
    top: 0;
    left: 0;
    background-image: url("/houden/wp-content/uploads/2025/10/deco_01_s.png");
  }

  .intro_wrap::after {
    right: 0;
    bottom: 0;
    background-image: url("/houden/wp-content/uploads/2025/10/deco_02_s.png");
  }

  /* ===== map ===== */
  .access_map {
    height: 500px;
  }
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /* ===== base ===== */

  .content {
    margin-top: 49px !important;
  }

  .contents {
    padding: 0 0 100px 0;
  }

  /* ===== meta slider ===== */

  /* スライダーheightを500pxに */
  .meta-slider,
  .flexslider,
  .slides,
  .slides > li {
    width: auto !important;
    height: 500px !important;
    max-width: 100% !important;
  }

  .slides > li > img {
    width: auto !important;
    height: 500px !important;
  }
	
	.houden-slider-wrap .lead-copy {
		font-size:1.2rem;
	}
	
	.entry-content .main-copy {
	font-size:32px;
	}

  /* ===== MetaSlider トップ画像 高さ500px固定・はみ出し隠す ===== */
  #metaslider_101 {
    position: relative;
    width: 100%;
    height: 500px;
    /* 高さ指定 */
    overflow: hidden;
    /* はみ出し非表示 */
  }

  /* 画像のトリミング、配置 */
  #metaslider_101 .slide-113:first-of-type img:first-of-type {
    object-fit: cover;
    /* トリミング（はみ出し部分非表示） */
    object-position: calc(30%);
    /* トリミング位置 */
  }

  /* スライダー内のキャプション位置 */
  #metaslider_101 .caption-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /* スライダー上のオーバーレイ配置 */
  .slider-overlay {
    top: calc(50% - 30px);
  }

  /* タイトル */
  .entry-content .main-copy {
    width: 300px;
    font-size: 32px;
    line-height: 50px;
    margin-bottom: 40px !important;
  }

  .entry-content .main-copy br {
    display: block;
  }

  /* ===== スライダーのボタン ===== */
  .slider-buttons {
    gap: 20px;
    flex-direction: column;
  }

  .slider-btn {
    width: 270.5px;
    height: 44px;
    margin: auto;
    padding: 14px 16px;
    font-size: 16px;
    line-height: 1;
    gap: 10px;
    justify-content: flex-start !important;
  }

  .slider-btn:hover .btn-arrow {
    transform: translateX(5px);
  }

  .btn-icon {
    width: 22.5px !important;
    /* 1つ目アイコンサイズ */
    margin-right: 5px !important;
  }

  .slider-btn:nth-child(2) .btn-icon {
    width: 26px !important;
    /* 2つ目アイコンサイズ */
  }

  .btn-text {
    width: 176px;
    font-size: 16px !important;
    text-align: left;
  }

  .caption li .btn-arrow {
    width: 20px !important;
  }

  /* ===== 白文字ボタン ===== */
  .btn-w {
    width: 232px;
    height: 54px;
    padding: 16px;
    border: 1.6px solid #fff;
    font-size: 18px;
  }

  .btn-w .btn-text-w {
    margin-right: 20px;
  }

  .btn-w .btn-arrow-w {
    width: 38px !important;
  }

  .btn-w:hover .btn-arrow-w {
    transform: translateX(5px);
  }

  /* ===== 白背景ボタン ===== */
  .btn-b {
    width: 232px;
    height: 54px;
    border: 1.6px solid #3f2f2e;
    font-size: 18px;
  }

  .btn-b .btn-text-b {
    margin-right: 20px;
  }

  .btn-b .btn-arrow-b {
    width: 38px !important;
  }

  .btn-b:hover .btn-arrow-b {
    transform: translateX(5px);
  }

  /* ===== 白背景ボタン 右寄せ ===== */
  .btn-b.btn-b-right {
    margin: 24px 0 0 auto !important;
  }

  /* ===== base ===== */
  .article h2.h2 {
    padding-top: 80px !important;
    margin-bottom: 24px !important;
  }

  .article h2.h2.sub-h2 {
    padding-top: 80px !important;
  }

  /* ===== section ===== */

  .custom-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
    max-width: 450px;
    margin: auto;
  }

  /* タイトル */
  .grid-item .overlay .grid-ttl {
    margin: 0 0 20px 0 !important;
    font-size: 28px;
  }

  /* リスト */
  .grid-item .overlay ul {
    margin: 10px 0 32px 0 !important;
    font-size: 16px;
    line-height: 32px;
  }

  /* ===== アイコン付き表 ===== */

  .access-left {
    width: 30%;
    max-width: 180px;
    height: auto;
  }

  .access-left.inquiry {
    width: 20%;
    max-width: 174px;
  }

  /* ===== 会社概要表 ===== */

  .company_info tr td:first-child {
    width: 22%;
  }

  .company_info td {
    padding: 0px 5.35% !important;
  }
}

@media screen and (max-width: 781px) {
  /* ===== step ===== */

  .step_box {
    gap: 5px !important;
    width: 80% !important;
    max-width: 300px !important;
    margin: auto;
  }

  .step_arrow {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  /* ===== カラム ===== */
  .wp-block-columns.is-layout-flex {
    justify-content: center;
  }

  .wp-block-columns.is-layout-flex .wp-block-column.item {
    flex: 0 0 100% !important;
    max-width: 500px !important;
  }

  .wp-block-columns.two-column.is-layout-flex.wp-container-core-columns-is-layout-28f84493.wp-block-columns-is-layout-flex {
    gap: 40px !important;
  }

  /* ===== 下層ページtop画像 ===== */

  .entry-content .header_img_pc {
    display: none !important;
  }

  .entry-content .header_img_sp {
    display: block !important;
    width: 100%;
    height: auto;
    margin-bottom: 80px !important;
  }
}

/*539px以下*/
@media screen and (max-width: 539px) {
  /* ===== base ===== */
  .contents {
    width: calc(100% - 32px);
    padding: 0 0 60px 0;
  }

  .content {
    margin-top: 40px !important;
  }

  /* ===== 赤帯（キャプション） ===== */
  .article p.s-ttl {
    font-size: 18px;
  }

  /* ===== 白背景ボタン 右寄せ ===== */
  /* センターに */
  .btn-b.btn-b-right {
    margin: 24px auto 0 !important;
  }

  .btn-b {
    max-width: 100% !important;
  }

  /* ===== カッコ ===== */
  .body .wp-block-group .intro_wrap {
    margin-bottom: 25px !important;
  }

  .article p.column_txt.intro {
    padding: 25px 30px !important;
  }

  /* ===== map ===== */
  .access_map {
    height: 300px;
  }

  /* ===== アイコン付き表 ===== */

  .access-box {
    text-align: center;
    flex-direction: column;
    align-items: flex-start;
  }

  .access-left {
    width: 45%;
    max-width: 180px;
    height: auto;
    margin-bottom: 10px;
  }

  .access-left.inquiry {
    width: 35%;
    max-width: 174px;
  }

  .access-right {
    padding-left: 0 !important;
    margin-left: 0 !important;
  }
}

/*390px以下*/
@media screen and (max-width: 390px) {
  /* ===== base ===== */
  .btn-b .btn-arrow-b {
    width: 30px !important;
  }

  .btn-b .btn-text-b {
    margin-right: 10px !important;
  }

  .btn-b {
    padding: 16px 8px !important;
    font-size: 16px !important;
  }

  .article p.column_txt {
    font-size: clamp(14px, 4vw, 16px) !important;
  }

  /* ===== 赤帯（キャプション） ===== */
  .article p.s-ttl {
    font-size: 16px;
  }

  /* ===== アイコン付き表 ===== */
  .access-right.phone_txt {
    flex-direction: column;
    gap: 0;
  }
}

/* テーブル基本 */
.accident-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    color: #3b2f2f;
}

/* ヘッダー */
.accident-table thead th {
    background: #3b2f2f;
    color: #fff;
    padding: 18px 20px;
    border: 1px solid #3b2f2f;
    text-align: center;
    font-weight: 600;
}

/* 左端の事故区分タイトル列 */
.accident-table td.row-title,
.accident-table th.row-title {
    font-weight: 600;
    text-align: left;
    padding-left: 25px;
}

/* ボディのセル */
.accident-table tbody td {
    padding: 22px 20px;
    border: 1px solid #cfc7c2;
}

/* 行の交互背景 */
.accident-table tbody tr:nth-child(odd) {
    background: #f9f8f6; /* 明るめ */
}

.accident-table tbody tr:nth-child(even) {
    background: #e7ded4; /* ベージュ（添付とほぼ同じ） */
}

/* 左側のタイトル列も背景を合わせる */
.accident-table tbody tr:nth-child(odd) td.row-title {
    background: #3F2F2E;
	color:#fff;
	border-top:solid 1px #fff;
}

.accident-table tbody tr:nth-child(even) td.row-title {
    background: #3F2F2E;
	color:#fff;
	border-top:solid 1px #fff;
}

.accident-table .non {
	background-color:#fff;
	border:none;
}

.body .wp-container-core-columns-is-layout-28f84493 figure {
	margin-bottom:0;
}

/* 乗り合いタクシー */
.tax-telbox {
	display:flex;
	justify-content:center;
	align-items:center;
	margin-top: 2em;
	font-weight:800;
}

.tax-label {
background-color: #3F2F2E;
  color: #fff;
  padding: 5px 18px;
  margin-right: 1em;
}

.tax-tel {
    display: flex;
    align-items: center;
    gap: 6px; /* アイコンと数字の間の余白 */
	font-size: 1.4em;
}

.tel-icon {
    width: 18px;
    height: auto;
}