@charset "UTF-8";

/* ============================================
   基本設定（Tailwind CSSと共存）
   ============================================ */

/* ヘッダー背景色の設定 */
/* body.header-white-textがある場合、ヘッダーを最初から透明に */
/* ただし、スクロール時（.scrolledクラスがある場合）は白背景にする */
body.header-white-text header#main-header {
  background-color: transparent !important;
}
body.header-white-text header#main-header:hover,
body.header-white-text header#main-header.scrolled {
  background-color: white !important;
}

body.header-white-text header#main-header:hover .header-nav-link {
  color: #222 !important;
}
body.header-white-text header#main-header:hover .header-nav-link:hover {
  color: #666 !important;
}

/* rem指定が正しく動作するように、htmlのfont-sizeを100%に設定 */
html {
  font-size: 100%;
}

body {
  position: relative;
  margin: 0;
  padding: 0;
  font-family: YuGothic, YuGothicM, "Yu Gothic Medium", "游ゴシック Medium",
    "游ゴシック体", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3",
    "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  color: #222;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

img {
  vertical-align: bottom;
  max-width: 100%;
  height: auto;
}

/* ================================================================ */
.font-en {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.toppage-recruit-section {
  background-image: url("/common/img/top/recruit_bg.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.toppage-recruit-pic-grid-width {
  width: 120%;
  margin-left: -10%;
}
.toppage-recruit-pic-grid {
  display: flex;
  flex-wrap: wrap;
  perspective: 1200px; /* 3D空間の奥行き */
  transform-style: preserve-3d;
}
.toppage-recruit-pic-grid-item {
  width: 33.33%;
  padding: 0 4px;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.toppage-recruit-pic-grid-item img {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  backface-visibility: hidden; /* 裏面を非表示にして滑らかに */
  transform-style: preserve-3d;
}
.toppage-recruit-pic-grid-item-01 img {
  transform: rotateY(0deg) rotate(-3deg);
}
.toppage-recruit-pic-grid-item-02 {
  position: relative;
  z-index: 2;
}
.toppage-recruit-pic-grid-item-02 img {
  transform: rotateY(0deg) rotate(3deg);
}
.toppage-recruit-pic-grid-item-03 img {
  transform: rotateY(0deg) rotate(-3deg);
}

/* 採用画像アニメーション - 回転扉風3D回転 */
.toppage-recruit-pic-grid-item {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.toppage-recruit-pic-grid-item img {
  transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 1s ease-out;
  transform-origin: center center;
}

/* 初期状態：横から見た状態（回転扉が閉じた状態） */
.toppage-recruit-pic-grid-item.animate-ready img {
  opacity: 0;
  transform: rotateY(90deg) rotate(-3deg); /* Y軸で90度回転（横から見た状態） */
}

.toppage-recruit-pic-grid-item-02.animate-ready img {
  transform: rotateY(90deg) rotate(3deg);
}

.toppage-recruit-pic-grid-item-03.animate-ready img {
  transform: rotateY(90deg) rotate(-3deg);
}

/* アニメーション実行中 */
.toppage-recruit-pic-grid-item.animate-active {
  opacity: 1;
}

.toppage-recruit-pic-grid-item.animate-active img {
  opacity: 1;
}

/* 各画像の最終的な回転角度（回転扉が開いた状態） */
.toppage-recruit-pic-grid-item-01.animate-active img {
  transform: rotateY(0deg) rotate(-3deg);
}

.toppage-recruit-pic-grid-item-02.animate-active img {
  transform: rotateY(0deg) rotate(3deg);
}

.toppage-recruit-pic-grid-item-03.animate-active img {
  transform: rotateY(0deg) rotate(-3deg);
}

/* アニメーション遅延 */
.toppage-recruit-pic-grid-item-01.animate-active {
  transition-delay: 0s;
}

.toppage-recruit-pic-grid-item-01.animate-active img {
  transition-delay: 0s;
}

.toppage-recruit-pic-grid-item-02.animate-active {
  transition-delay: 0.2s;
}

.toppage-recruit-pic-grid-item-02.animate-active img {
  transition-delay: 0.2s;
}

.toppage-recruit-pic-grid-item-03.animate-active {
  transition-delay: 0.4s;
}

.toppage-recruit-pic-grid-item-03.animate-active img {
  transition-delay: 0.4s;
}

.toppage-recruit-join-us {
  margin-top: -85px;
  position: relative;
  z-index: 3;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.toppage-about-us-section {
  background-image: url("/common/img/top/about_bg.jpg");
  background-size: 100%;
  background-position: bottom;
  background-repeat: no-repeat;
  overflow: hidden;
  min-height: 70vw;
}

.text-shadow-white {
  text-shadow: 0 0 10px rgba(255, 255, 255, 1);
}

.service-slider .slick-dots li button:before {
  font-size: 12px;
  color: #ccc;
  opacity: 1;
}
.service-slider .slick-dots li.slick-active button:before {
  opacity: 1;
  color: #fe6230;
}

.footer-contact-section {
  position: relative;
}
.footer-contact-section::before {
  position: absolute;
  width: 50%;
  height: 100%;
  background-color: #ccc;
  content: "";
  top: 0;
  right: 0;
  z-index: 1;
}
.footer-contact-section > * {
  position: relative;
  z-index: 2;
}

/* テキストスクロールアニメーション */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.scrolling-text-container {
  overflow: hidden;
  white-space: nowrap;
}

.scrolling-text-content {
  display: inline-block;
  animation: scroll-left 60s linear infinite;
  white-space: nowrap;
}

/* ヒーロー画像のフェードアニメーション */
.hero-fade-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  overflow: hidden;
}

.hero-fade-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.3s ease-out;
}

/* 共通：12秒サイクル（短く） */
.hero-fade {
  animation: hero-fade 12s infinite;
  animation-fill-mode: both;
  opacity: 0;
  will-change: opacity, transform;
}

/* 左：4秒ずつ */
.hero-fade-left-1 {
  animation-delay: 0s;
}
.hero-fade-left-2 {
  animation-delay: 4s;
}
.hero-fade-left-3 {
  animation-delay: 8s;
}

/* 右：左と同時にフェードイン */
.hero-fade-right-1 {
  animation-delay: 0s;
}
.hero-fade-right-2 {
  animation-delay: 4s;
}
.hero-fade-right-3 {
  animation-delay: 8s;
}

/* 初期表示用（アニメーション開始前だけ有効） */
.hero-fade-left-1,
.hero-fade-right-1 {
  opacity: 1 !important;
}

.hero-fade-left-1 img,
.hero-fade-right-1 img {
  transform: scale(1);
}

@keyframes hero-fade {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  40% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* 画像のズームインアニメーション */
.hero-fade-image img {
  animation: hero-zoom 12s infinite;
  animation-fill-mode: both;
}

.hero-fade-left-1 img {
  animation-delay: 0s;
}
.hero-fade-left-2 img {
  animation-delay: 4s;
}
.hero-fade-left-3 img {
  animation-delay: 8s;
}

.hero-fade-right-1 img {
  animation-delay: 0s;
}
.hero-fade-right-2 img {
  animation-delay: 4s;
}
.hero-fade-right-3 img {
  animation-delay: 8s;
}

@keyframes hero-zoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.toppage-hero-section {
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  cursor: default;
}

/* ヒーロー：5枚の画像が順番に切り替わるスライドショー */
.toppage-hero-section .hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}
.toppage-hero-section .hero-slide-item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform-origin: center center;
}
.toppage-hero-section .hero-slide-item.hero-slide-top {
  background-position: center top;
}
/* 各画像の表示タイミング（等速・止まりなし） */
.toppage-hero-section .hero-slide-1 {
  animation: hero-slide-1 25s linear forwards;
}
.toppage-hero-section .hero-slide-2 {
  animation: hero-slide-2 25s linear forwards;
}
.toppage-hero-section .hero-slide-3 {
  animation: hero-slide-3 25s linear forwards;
}
.toppage-hero-section .hero-slide-4 {
  animation: hero-slide-4 25s linear forwards;
}
.toppage-hero-section .hero-slide-5 {
  animation: hero-slide-5 25s linear forwards;
}
@keyframes hero-slide-1 {
  0% { opacity: 1; transform: scale(1); }
  16% { opacity: 1; transform: scale(1.05); }
  18%, 100% { opacity: 0; transform: scale(1.05); }
}
@keyframes hero-slide-2 {
  0%, 14% { opacity: 0; transform: scale(1); }
  16% { opacity: 1; transform: scale(1); }
  32% { opacity: 1; transform: scale(1.05); }
  34%, 100% { opacity: 0; transform: scale(1.05); }
}
@keyframes hero-slide-3 {
  0%, 30% { opacity: 0; transform: scale(1); }
  32% { opacity: 1; transform: scale(1); }
  48% { opacity: 1; transform: scale(1.05); }
  50%, 100% { opacity: 0; transform: scale(1.05); }
}
@keyframes hero-slide-4 {
  0%, 46% { opacity: 0; transform: scale(1); }
  48% { opacity: 1; transform: scale(1); }
  64% { opacity: 1; transform: scale(1.05); }
  66%, 100% { opacity: 0; transform: scale(1.05); }
}
@keyframes hero-slide-5 {
  0%, 62% { opacity: 0; transform: scale(1); }
  64% { opacity: 1; transform: scale(1); }
  82%, 100% { opacity: 1; transform: scale(1.05); }
}

/* ============================================
   スクロールアニメーション（ABOUT US, NEWS, SHOPS）
   ============================================ */

/* 共通：フェードイン＋スライドアップアニメーション */
.scroll-animate-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate-item.animate-active {
  opacity: 1;
  transform: translateY(0);
}

/* ABOUT US セクション */
.toppage-about-us-animate-item-1.animate-active {
  transition-delay: 0s;
}

.toppage-about-us-animate-item-3.animate-active {
  transition-delay: 0.4s;
}

/* ABOUT US テキスト行の個別アニメーション */
.toppage-about-us-text-line-1.animate-active {
  transition-delay: 0.1s;
}

.toppage-about-us-text-line-2.animate-active {
  transition-delay: 0.18s;
}

.toppage-about-us-text-line-3.animate-active {
  transition-delay: 0.26s;
}

.toppage-about-us-text-line-4.animate-active {
  transition-delay: 0.34s;
}

.toppage-about-us-text-line-5.animate-active {
  transition-delay: 0.42s;
}

.toppage-about-us-text-line-6.animate-active {
  transition-delay: 0.5s;
}

/* NEWS セクション */
.toppage-news-animate-item-title.animate-active {
  transition-delay: 0s;
}

.toppage-news-animate-item-1.animate-active {
  transition-delay: 0.15s;
}

.toppage-news-animate-item-2.animate-active {
  transition-delay: 0.3s;
}

.toppage-news-animate-item-3.animate-active {
  transition-delay: 0.45s;
}

.toppage-news-animate-item-button.animate-active {
  transition-delay: 0.6s;
}

/* SERVICE セクション */
.toppage-service-animate-item-1.animate-active {
  transition-delay: 0s;
}

.toppage-service-animate-item-2.animate-active {
  transition-delay: 0.2s;
}

.toppage-service-animate-item-3.animate-active {
  transition-delay: 0.4s;
}

/* RECRUIT セクション */
.toppage-recruit-animate-item-title.animate-active {
  transition-delay: 0s;
}

.toppage-recruit-animate-item-subtitle.animate-active {
  transition-delay: 0.15s;
}

.toppage-recruit-animate-item-button.animate-active {
  transition-delay: 0.3s;
}

/* SHOPS セクション */
.toppage-shops-animate-item-title.animate-active {
  transition-delay: 0s;
}

.toppage-shops-animate-item.animate-active {
  transition-delay: 0.15s;
}

/* SHOPS グリッドアイテムの順次アニメーション */
.toppage-shops-animate-item:nth-child(1).animate-active {
  transition-delay: 0s;
}

.toppage-shops-animate-item:nth-child(2).animate-active {
  transition-delay: 0.05s;
}

.toppage-shops-animate-item:nth-child(3).animate-active {
  transition-delay: 0.1s;
}

.toppage-shops-animate-item:nth-child(4).animate-active {
  transition-delay: 0.15s;
}

.toppage-shops-animate-item:nth-child(5).animate-active {
  transition-delay: 0.2s;
}

.toppage-shops-animate-item:nth-child(6).animate-active {
  transition-delay: 0.25s;
}

.toppage-shops-animate-item:nth-child(7).animate-active {
  transition-delay: 0.3s;
}

.toppage-shops-animate-item:nth-child(8).animate-active {
  transition-delay: 0.35s;
}

.toppage-shops-animate-item:nth-child(9).animate-active {
  transition-delay: 0.4s;
}

.toppage-shops-animate-item:nth-child(10).animate-active {
  transition-delay: 0.45s;
}

#main-header {
  border-bottom: 1px solid #ccc;
}

/* モバイルメニューとヘッダーの間の境界線 */
#mobile-menu {
  border-top: 1px solid #ccc;
}

/* ヘッダーロゴの右側に斜めの白い部分を追加 */
.header-logo-inner {
  position: relative;
  overflow: visible;
}

.header-logo-inner::after {
  content: "";
  position: absolute;
  top: 0;
  right: -40px;
  width: 60px;
  height: 100%;
  background-color: white;
  clip-path: polygon(0 0, 100% 0, 40% 100%, 0% 100%);
  z-index: -1;
}

.header-recruit-button {
  position: relative;
  z-index: 2;
  width: 140px;
}
.header-recruit-button a {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: calc(100% + 30px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

/* モバイル用採用情報ボタン */
.header-recruit-button-mobile {
  display: flex;
  align-items: center;
}

/* サービスメニューのサブメニュー */

.header-submenu {
  border-radius: 4px;
  margin-top: 0;
  overflow: hidden;
  left: 0;
  width: 100%;
  z-index: -1;
}

.subpage-main-title-content {
  position: relative;
  z-index: 1;
}
.subpage-main-title-content::before {
  content: "";
  background-image: url("/common/img/subpage/main_title_bg.svg");
  background-size: contain;
  background-position: right;
  background-repeat: no-repeat;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 105%;
  z-index: -1;
}

.border-gray-300 {
  border-color: #ccc;
}

.border-top-title {
  padding-top: 0.8em;
  line-height: 1.2;
  position: relative;
}
.border-top-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 2px;
  background-color: #042c81;
  z-index: 2;
}
.border-top-title::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: #fe6230;
  z-index: 3;
}

.border-top-title-lg{
  font-family: "Noto Sans JP", sans-serif;
  padding-top: 0.8em;
  line-height: 1.2;
  position: relative;
}
.border-top-title-lg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 8px;
  background-color: #042c81;
  z-index: 2;
}
.border-top-title-lg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 8px;
  background-color: #fe6230;
  z-index: 3;
}

.title-jp{
  font-family: "Noto Sans JP", sans-serif;
}

.hero-copy-mincho{
  font-family: "Noto Serif JP", "Yu Mincho", "Yu Gothic", "Hiragino Mincho ProN", "MS PMincho", "MS Mincho", serif;
}

.hero-copy-gothic{
  font-family: "Noto Sans JP", "Yu Gothic", "Yu Gothic Medium", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}

/* ヒーローコピー：フェードイン＋スライドアップ（順番に表示） */
.toppage-hero-section .hero-copy-line1,
.toppage-hero-section .hero-copy-line2,
.toppage-hero-section .hero-copy-line3 {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-copy-fade-in 1s ease-out forwards;
}
.toppage-hero-section .hero-copy-line1 {
  animation-delay: 1.2s;
}
.toppage-hero-section .hero-copy-line2 {
  animation-delay: 2.4s;
}
.toppage-hero-section .hero-copy-line3 {
  animation-delay: 4.2s;
  font-weight: 600;
}
@keyframes hero-copy-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.shop-price-table tbody tr > td:nth-child(1) {
  width: 30%;
}
.shop-price-table tbody tr > td:nth-child(2) {
  width: 35%;
}
.shop-price-table tbody tr > td:nth-child(3) {
  width: 35%;
}

.payment-doutor-flex img {
  max-height: 40px;
}
.payment-doutor-flex img.img-payment-doutor-04,
.payment-doutor-flex img.img-payment-doutor-05,
.payment-doutor-flex img.img-payment-doutor-08,
.payment-doutor-flex img.img-payment-doutor-14,
.payment-doutor-flex img.img-payment-doutor-28,
.payment-doutor-flex img.img-payment-doutor-e-money-05,
.payment-doutor-flex img.img-payment-doutor-e-money-08 {
  max-height: 25px;
}

.shop-image-slider .slick-dots li {
  width: 20px;
  height: 20px;
  margin: 0 2px;
}
.shop-image-slider .slick-dots li button {
  width: 20px;
  height: 20px;
  padding: 5px;
}
.shop-image-slider .slick-dots li button:hover:before,
.shop-image-slider .slick-dots li button:focus:before {
  opacity: 1;
}
.shop-image-slider .slick-dots li button:before {
  font-size: 11px;
  opacity: 1;
  color: #555;
}
.shop-image-slider .slick-dots li.slick-active button:before {
  opacity: 1;
  color: #fe6230;
}
.shop-image-slider .slick-dots {
  bottom: -30px;
}


.about_page_navi{
  position: relative;
  z-index: 2;
  margin-top: -32px;
}
.about_page_navi::before{
  position: absolute;
  background: #fe6230;
  left: 0;
  top: 0;
  width: 90%;
  height: 100%;
  display: block;
  content: "";
  z-index: -1;
  
}

.text-shadow-lg{
  text-shadow: 0 0 15px rgba(0, 0, 0, 1),0 0 15px rgba(0, 0, 0, 1);
}

a.text-blue-500,
a.text-blue-600{
  color: #2541b2;
}

.history-timeline{
  position: relative;
  overflow: hidden;
}
.history-timeline >*{
  position: relative;
  z-index: 2;
}
.history-year{
  font-family: "Montserrat", sans-serif;
  width: 2.8em;
}
.history-era{
  width: 7em;
  margin-top: .4em;
  position: relative;
}
.history-era::before{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 12px;
  width: 1px;
  height: 1000px;
  background-color: #ddd;
  z-index: 1;
}
.history-era:after{
  position: absolute;
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  background-color: #FE6230;
  z-index: 2;
  top: 7px;
  right: 6px;
  border-radius: 100px;
}
.history-description{
  width: 100%;
  margin-top: .4em;
}

.history-description-caption{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 26px;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 3;
  font-size: 14px;
  color: #fff;
}

.about_page_main_section{
  z-index: 1;
}

.pc_nav_link {
  position: relative;
  z-index: 2;
}
.pc_nav_link::before{
  content: "";
  position: absolute;
  background: #fe6230;
  left: 0;
  top: 76%;
  width: 100%;
  height: 4px;
  display: block;
  opacity: 0;
  border-radius: 100px;
}
body#about .pc_nav_link_about::before,
body#service .pc_nav_link_service::before,
body#shop .pc_nav_link_shop::before,
body.nav-current-shop .pc_nav_link_shop::before,
body#news .pc_nav_link_news::before,
body.nav-current-news .pc_nav_link_news::before,
body#group .pc_nav_link_group::before,
body#contact .pc_nav_link_contact::before,
body.nav-current-contact .pc_nav_link_contact::before
{
  opacity: 1;
}

.contact-form-wrapper td.field-label{
  font-weight: bold;
}
.contact-form-wrapper td.field-label,
.contact-form-wrapper td.field-required{
  white-space: nowrap;
}
.contact-form-wrapper td.field-input textarea, 
.contact-form-wrapper td.field-input input[type="text"],
.contact-form-wrapper td.field-input input[type="email"],
.contact-form-wrapper td.field-input input[type="tel"]{
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  color: #333;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 5px;
  margin-bottom: 10px;
}
.contact-form-wrapper td.field-input span.wpcf7-list-item{
  margin-bottom: 2px;
  cursor: default!important;
}
.contact-form-wrapper td.field-input span.wpcf7-list-item label{
  cursor: pointer!important;
  display: flex;
  align-items: center;}
  .contact-form-wrapper td.field-input span.wpcf7-list-item label input{
    cursor: pointer!important;}

  
.contact-form-wrapper tr.form-row-your-name td.field-input input,
.contact-form-wrapper tr.form-row-your-phone td.field-input input{
  max-width: 300px;
  width: 100%;
}

.form-row-privacy-agreement td.field-input span{
  display: inline-block!important;
}
.form-row-privacy-agreement td.field-input span input[type="checkbox"] {
  appearance: none;
  width: 1.25rem; /* 20px */
  height: 1.25rem;
  border: 1px solid #aaa; /* slate-300 */
  border-radius: 0.25rem; /* rounded */
  background-color: #fff;
  display: inline-block;
  vertical-align: middle;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  position: relative;
}
.form-row-privacy-agreement td.field-input span input[type="checkbox"]:checked {
  background-color: #0078d4;
  border-color: #0078d4;
}
.form-row-privacy-agreement td.field-input span input[type="checkbox"]:checked::after {
  content: '';
  display: block;
  position: absolute;
  left: 0.3125rem;
  top: 0.1rem;
  width: 0.375rem;
  height: 0.75rem;
  border: solid #fff;
  border-width: 0 0.1875rem 0.1875rem 0;
  transform: rotate(45deg);
}

.contact-form-wrapper .contact_submit_body .wpcf7-previous,
.contact-form-wrapper .contact_submit_body .wpcf7-submit {
  border-radius: var(--radius-md);
  min-width: 40%;
  padding: 22px 20px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: .3s;
}
.contact-form-wrapper .contact_submit_body .wpcf7-previous:hover,
.contact-form-wrapper .contact_submit_body .wpcf7-submit:hover {
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.4);
}

.contact-form-wrapper .contact_submit_body .wpcf7-previous {
  background: #666;
  color: #fff;
  min-width: 25%;
  margin-right: 2%;
  font-weight: bold;
}
.contact-form-wrapper .contact_submit_body .wpcf7-previous:hover {
  background: #333;
}

.contact-form-wrapper td.field-input .wpcf7-not-valid-tip {
  display: block!important;
  font-weight: bold;
}
.wpcf7-response-output{
  color: var(--color-red-500);
  text-align: center;
  font-weight: bold;
}

.screen-reader-response{
  color: var(--color-red-500);
  font-weight: bold;

}
.screen-reader-response ul{
 display: none!important;
}

.wpcf7-list-item {
  margin: 0!important;
}

.contact-form-wrapper .wpcf7-spinner {
  display: none!important;
}

/* Tailwind CSS用マージンクラスは output.css に含まれるため削除。
   重複定義があると mb-2 等が sm:mb-10 等のレスポンシブユーティリティを上書きしてしまう。 */


.shop_single_gmap iframe{
  width: 100% !important;
  height: 100% !important;
  border: 1px solid #ccc !important;
}

@media (min-width: 48rem) {
  .recruit-border-number {
    position: relative;
  }
  .recruit-border-number::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    /* space-y-10 と同じ値だけ上に伸ばす */
    top: calc(-1 * calc(var(--spacing) * 10));
    height: calc(var(--spacing) * 7);
    width: 1px;
    background-color: #fe6230;
  }
}
@media (max-width: 48rem) {
  .recruit-border-number-container{
    position: relative;
  }
  .recruit-border-number-container>*{
    position: relative;
    z-index: 2;
  }
  .recruit-border-number-container:before{
    position: absolute;
    content: "";
    display: block;
    width: 2px;
    height: 100%;
    background-color: #fe6230;
    top: 0;
    left: 23px;
    opacity: .5;
    z-index: 1;
  }

  .recruit-border-number-item,
  .recruit-border-number-item > .flex-shrink-0
  {
    position: relative;
  }
  .recruit-border-number-item > .flex-shrink-0:before,
  .recruit-border-number-item > .flex-shrink-0:after
  {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    background: #fff;
    left: 0;
    z-index: 2;
    height:3px;
  }
  .recruit-border-number-item > .flex-shrink-0:before
  {
    bottom: 100%;
  }
  .recruit-border-number-item > .flex-shrink-0:after
  {
    top: 100%;
  }
  .recruit-border-number-item-01:before{
    content: "";
    width: 40px;
    background: #fff;
    top: 0;
    left: 0;
    z-index: 2;
    height: 50%;
    position: absolute;
    z-index: -1;
  }
  .recruit-border-number-item-04:before{
    content: "";
    width: 40px;
    background: #fff;
    bottom: 0;
    left: 0;
    z-index: 2;
    height: 50%;
    position: absolute;
    z-index: -1;
  }
}
/* recruit タブボタンのホバー挙動を統一 */
.recruit-tab {
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

/* 非アクティブ時のみホバーで色変更 */
.recruit-tab:not(.active):hover {
  background-color: #fe6230; /* tailwind の gray-700 相当 */
  color: #ffffff;
}

/* アクティブなタブは常にオレンジで固定 */
.recruit-tab.active {
  background-color: #fe6230; /* tailwind の orange-500 相当 */
  color: #ffffff;
}

/* ENTRY セクションのエントリーボタン */
.recruit-entry-button {
  background-color: #ffffff;
  transition: .3s;
  color: #111827; /* gray-900 相当 */
}
.recruit-entry-icon {
  background-color: #fe6230; /* orange-500 */
  color: #ffffff;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.recruit-entry-button:hover {
  opacity: .6;
}

.recruit-ws-container{
  position: relative;
  z-index: 3;

}
.recruit-ws-pic{
  position: relative;
  z-index: 2;
  margin-top: -100px;
}

.subpage_main_title_text_sub:before{
  content: "──";
  margin-right: .5em;
}

.reservation-title{
  font-family: "Noto Sans JP", sans-serif;
}

.subpage_main_title_text{
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700!important;
}

.preca_hero_section{
  overflow: visible;
  position: relative;
  background-color: #103c9a;
}
/* ヒーロー画像を青セクションの下から白エリアにはみ出させる（デザイン通り） */
.preca_hero_img_bleed_inner img{
  position: absolute;
  bottom: 0;
  left: 0;
  width:auto;
  max-width: none;
  height: 360px;
}
/* 左側30%程度の薄い青の斜めエリア（幅が変わっても面積を一定に） */
.preca_hero_section::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background-color: #3768d3;
  z-index: 1;
  clip-path: polygon(0 0, 70% 0, 35% 100%, 0 100%);
  opacity: .5;
}
.preca_hero_section>*{
  position: relative;
  z-index: 2;
}

.preca_hero_section_grid_right{
  padding-left: 530px;
}

.accent_lines,
.accent_lines_left{
  position: relative;
}
.accent_lines::before{
  content: "";
  position: absolute;
  left: 85%;
  bottom: 85%;
  width: 40px;
  height: 40px;
  background-image: url('/common/img/parts/accent_lines.svg');
  background-size: contain;
  background-position: right top;
  background-repeat: no-repeat;
}
.accent_lines_left::before{
  content: "";
  position: absolute;
  right: 75%;
  bottom: 80%;
  width: 40px;
  height: 40px;
  background-image: url('/common/img/parts/accent_lines.svg');
  transform: scale(-1, 1);
  background-size: contain;
  background-position: right top;
  background-repeat: no-repeat;
}

.rental-car-shop-button{
  position: relative;
  z-index: 2;
  margin-top: -40px;
  max-width: 400px;
  margin-left: auto;
  margin-right: 30px;
}

.rental-car-shop-image{
  text-align: center;
}

.rental-car-bonus-icon{
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rental-car-bonus-icon img{
  width: auto;
  height: auto;
  max-width: 80%;
  max-height: 80%;
}

.orange_disc{
  position: relative;
  display: inline-block;
}
.orange_disc::before{
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: #fe6230;
  border-radius: 100%;
}

.food_page_shop_section{
  position: relative;
}
.food_page_shop_section>*{
  position: relative;
  z-index: 2;
}
.food_page_shop_section::before{
  position: absolute;
  z-index: 1;
  background: #fff;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  content: "";
}

.car_coating_uc_kp_section{
  position: relative;
}
.car_coating_uc_kp_section>*{
  position: relative;
  z-index: 2;
}
.car_coating_uc_kp_section::before{
  position: absolute;
  z-index: 1;
  background: #fff;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  content: "";
}

  .food_page_menu_link{
    background: #EFBE19;
    position: relative;
    overflow: hidden;
    transition: .3s;
  }
  .food_page_menu_link>*{
    position: relative;
    z-index: 2;
  }
.food_page_menu_link:before{
  content: "";
  position: absolute;
  z-index: 1;
  background: #3D2900;
  top: 0;
  right: -81%;
  width: 200%;
  height: 200%;
  transform: rotate(-60deg);
}
.food_page_menu_link:hover{
  opacity: .6;
}

.petroleum_strong_img{
  margin-top: -50px;
  text-align: center;
  margin-bottom: 12px;
}
.petroleum_strong_img span{
  display: inline-block;
  background-color: #fff;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  height: 50px;
}
.petroleum_strong_img span img{
  display: inline-block;
  width: auto;
  height: auto;
  max-width: 80px;
  max-height: 50px;
  object-fit: contain;
}

.petroleum_product_icon_img{
  width: 48px;
  height: 40px;
  text-align: center ;
  display: flex;
  align-items: center;
  justify-content: center;
}
.petroleum_product_icon_img img{
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.manufacturer_logo{
  width: 175px;
  height: 60px;
  text-align: center ;
  display: flex;
  align-items: center;
  justify-content: center;
}
.manufacturer_logo img{
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.petroleum_contact_btn{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
}

.about_page_navi_vehicle_inspection a{
  padding-top: 5px;
  padding-bottom: 5px;

}
.about_page_navi_vehicle_inspection .flex-wrap{
  gap: 1px 15px;
}
.about_page_navi_vehicle_inspection::before {
  width: 100%;
}

.rental-car-bonus-icon.rental-car-bonus-icon-small {
  width: 90px;
  height: 90px;
}
.rental-car-bonus-icon.rental-car-bonus-icon-xsmall {
  width: 80px;
  height: 80px;
}

.bg-orange-100{
  background: #FFE0D6;
}

.text-blue-500{
  color: #042C81;
}

/* オレンジ色のリストマーカー */
.list-orange-marker li::marker {
  color: #f97316;
}

.bg-red-500 {
  background-color: rgb(239, 68, 68);
}