/*  */
/*
Theme Name : キーパープロ若松小石店
*/

:root {
 --main_color:#092f90;  /*キーパーブルー */
  --background: #f6f4f4;/*薄い背景 */
  --sub_color:#00a3f0;/*水色 */
  --sub_color02:#fff100;/*差し色 */
  --text_color:#000000;/*ブルー */
  --sub-blue: #0a2d7a;
  --border-gray: #ccc;
  --bg-light: #f9f9f9;
  --main-wp: 1180px;
}/*-----------------------------------
テーマ用CSS設定　
-----------------------------------*/
/* 全体 */
html,body,h1,h2,h3,h4,p,a,dl,ul,table {font-family: 'ヒラギノ角ゴシック','Hiragino Sans','ＭＳ ゴシック',sans-serif;font-size: 16px;}
body p { line-height: 1.9;}
img{ max-width:100%; }
a {text-decoration: none;}
/* a img:hover{opacity :0.7;	filter :alpha(opacity=70);	-ms-filter :"alpha(opacity=70)";} */
.center {text-align: center; margin-inline: auto;}
.left {text-align: left;}
.right{text-align: right;}
.clearfix {display: block;}
ul, ol {list-style: none;}
section {display: block;}
strong {color: var(--main_color); font-weight: bold;}
img{max-width:100%; }
a {text-decoration: none;}
a:hover{opacity :0.7;	filter :alpha(opacity=70);	-ms-filter :"alpha(opacity=70)";}
#content{padding-top:20px; padding-bottom:20px;}
#sidebar{text-align: center;}
.pg12 {padding: 12px;}
.mg20 {margin: 20px;}
.mg30 {margin: 30px;}
.mg40 {margin: 40px;}
.mg50 {margin: 50px;}
.mg60 {margin: 60px;}
.mat30 {margin-top: 30px !important;}
.mgt60 { margin-top: 60px;}
.mgb60 { margin-bottom: 60px;}
.br_span{display: inline-block;}
/* 色指定 */
.red {color: red;}
.blue {color: var(--btn_color);}
.bgGray { background-color: #eeeeee !important;}
/* メインのボタン */
.btn,
a.btn,
button.btn {
  background: white;
  color: var(--main_color);
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
  padding: 1rem;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  user-select: none;
  -webkit-transition: all 0.3s;
  vertical-align: middle;
  border: 2px solid var(--main_color);
  border-radius: 0;
  max-width: 320px;
  width: 100%;
}
a.btn:hover {
  color: #fff;
  background:  var(--main_color);
}
.fa-position-right {
  position: absolute;
  top: calc(50% - .5em);
  right: 1rem;
}
/* 画面指定 */
.widthMax {margin: 0 calc(50% - 50vw);}
/* 背景色 */
/* 蛍光ペン風マーカー加工 */
.keikou {background: linear-gradient(transparent 65%, #ffff66 50%);border-radius:15px;}
/* 見出しｈ１ */
h1.style1a {
}
/* 見出しｈ２ */
h2.h2style1 {
  font-size: 2rem;
  color: var(--main_color);
  position: relative;
  display: inline-block;
  margin: 3em auto 2em;
  z-index: 1;
  padding-left: 10px;
  font-weight: bold;
}
h2.h2style1::before {
  content: "";
  position: absolute;
  left: 50px;
  top: -15px;
  display: inline-block;
  width: 110px;
  height:8px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: var(--main_color);
  border-radius: 2px;
}
h2.h2style2 {
  color: #fff;
  padding: 15px 15px 15px 24px;
  display: inline-block;
  line-height: 1.3;
  background: var(--main_color);
  vertical-align: middle;
  font-size: 2rem;
  margin-top: 2em;
  margin-bottom: 1.5em;width: 100%;
  position: relative;
}

h2.h2style2::before {
  position: absolute;
  top: 25%;
  left: 10px;
  width: 6px;
  height: 50%;
  content: '';
  background: var(--sub_color02);
}
/* 見出しｈ３ */
h3.h3style1 {
  font-family: 'Arial Black', 'Arial Rounded MT Bold', sans-serif;
  font-size: 6rem;
  color: #e5e5e5;
  text-align: left;
  display: inline-block;
  z-index: 1;
  content: "";
  position: absolute;
  top: -30px;
  left: 0;
}
h3.h3style2 {
  padding: .8rem 1rem;
  border-left: 5px solid #000;
  font-size: 1.5rem;
  font-weight: bold;
}
/* 見出しｈ4 */

h4.h4style1,h4.h4style2 {
  padding: 1rem 0;
  font-size: 1.2rem;
  font-weight: bold;
}
h4.h4style2 { color: var(--sub_color);}
#main { margin: 30px auto;}

/*---------- ヘッダースタイル ----------*/

header.header-wrap {
	width: 100%;
  background: var(--main_color);
  color: white;
}
header.header-wrap .header-inner {
  max-width: var(--main-wp);;
  width: 95%;
  margin: 0 auto;
  padding: 4px 0 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-wrap span.small{margin-bottom: 4px;}
.header-wrap .logo {
  width: 38%;
	padding-top: 10px;
  font-weight: normal;
  font-size: .7rem
}
.header-wrap .logo img {
  width: 320px;
}
.header-contact {
  display:flex;
  flex-wrap:wrap;
  width: 62%;
}
.header-contact p {
	font-size: 14px;
  margin-bottom: 0;
  padding-bottom: 0;
}
.header-wrap .header_tel {width: 40%;}
.header-wrap .header_btn {width: 30%;padding: 3px;}
.header-wrap .tel_txt a {
  font-size: 1.8em;
  position: absolute;
  color: white;
}
.header-wrap .tel_txt::after {
  position: relative;
  display: inline-block;
  content: "営業時間：9:00〜18:00";
  margin-bottom: 0.5em;
  padding-top: 0.6rem;
  padding-left: 3.3em;
}
.header-wrap .tel_txt .fa-phone {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sub_color);
  color: white;
  text-align:center;
  line-height: 40px;
  font-size: .7em;
}
.header-wrap .header_btn img{width: 98%;margin: 0 auto;}
/* メニュー　CSS */
#menu-header {
  margin: 0 auto;
  padding: 0;
  max-width: var(--main-wp);;
  width: 100%;
}
#menu-header .menu-gnav-container ul {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
}
#menu-header .menu-gnav-container > ul:after {
   content: "";
   display: table;
}
#menu-header .menu-gnav-container > ul > li{
-webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin-left: 0%;
  width: calc(100% / 7);
}
#menu-header .menu-gnav-container > ul > li:first-child > a {
    border-left: 1px solid #5b76b5;
}
#menu-header .menu-gnav-container > ul > li > a {
  border-right: 1px solid #5b76b5;
  position: relative;
  color: #fff;
  text-align: center;
  display: block;
  padding: 12px 4px 16px;
  font-weight: 700;
  border-bottom: none;
}
#menu-header .menu-gnav-container > ul > li > a.active, #menu-header .menu-gnav-container > ul > li > a:hover {
  color: #fbf500;
}

#menu-header .menu-gnav-container > ul > li > a.active:before, #menu-header .menu-gnav-container > ul > li > a:hover:before {
  border-top: 6px solid #fbf500;
  -webkit-transition-property: all;
  -moz-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  -moz-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
#menu-header .menu-gnav-container > ul > li > a:before {
  position: absolute;
  content: '';
  bottom: 4px;
  left: 6px;
  right: 6px;
  border-top: 6px solid #8599c8;
}
#menu-header .menu-gnav-container > ul > li > a:after {
  content: '';
  position: absolute;
  bottom: -7px;
  right: 0;
  left: 0;
  height: 0px;
  width: 0px;
  margin: 0 auto;
  content: "";
  position: absolute;
  border-top: 10px solid #0a3190;
  border-right: 6px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 6px solid transparent;
}
.sub-menu {
  opacity: 0;/* ポイント！！ */
  pointer-events: none;/* ポイント！！ */
  position: absolute;
  top: 100%;/* ポイント！！ */
  left: 0;
  background: #f2f2f2;
  width: 150%;
  padding: 5px;
}
.sub-menu li {
  border-bottom: 1px solid #ccc;
}
.sub-menu li:last-child {
  border-width: 0;
}
.sub-menu li a {
  display: block;
  padding: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text_color);
  font-weight: bold;
}
#menu-header .menu li:hover .sub-menu{
  opacity: 1;
  pointer-events: auto;
  transition: .5s;
}
.sub-menu > li > a:hover {
  background: var(--main_color);
  color: white;
}
.header-wrap {
  position: relative;
}
@media screen and (max-width: 768px) {
  .c-hamburger-menu__list {
    background-color: var(--main_color);
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    left: 0;
    padding: 2rem;
    position: absolute;
    transform: translateX(-100%);
    transition: 0.3s;
    top: 100%;
    width: 100%;
    z-index: 100000;
    line-height: 2;
  }

  #hamburger:checked ~ .c-hamburger-menu__list {
    transform: translateX(0%);
    transition: 0.3s;
  }
}

.c-hamburger-menu__input {
  display: none;
}

.c-hamburger-menu__bg {
  background-color: #fff;
  cursor: pointer;
  display: none;
  height: 100vh;
  left: 0;
  opacity: 0.4;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

#hamburger:checked ~ .c-hamburger-menu__bg {
  display: block;
}

.c-hamburger-menu__button {
  display: none;
}

@media screen and (max-width: 768px) {
  .c-hamburger-menu__button {
    align-items: center;
    appearance: none;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: 32px;
    justify-content: center;
  }
}

.c-hamburger-menu__button-mark {
  background-color: #fff;
  display: block;
  height: 1px;
  transition: 0.3s;
  width: 20px;
}

@media(max-width: 768px) {
  #hamburger:checked
    ~ .c-hamburger-menu__button
    .c-hamburger-menu__button-mark:nth-of-type(1) {
    transform: translate(2px, 1px) rotate(45deg);
    transform-origin: 0%;
  }
  #hamburger:checked
    ~ .c-hamburger-menu__button
    .c-hamburger-menu__button-mark:nth-of-type(2) {
    opacity: 0;
  }
  #hamburger:checked
    ~ .c-hamburger-menu__button
    .c-hamburger-menu__button-mark:nth-of-type(3) {
    transform: translate(2px, 3px) rotate(-45deg);
    transform-origin: 0%;
  }
  li.c-header__list-item a{color: #fff;line-height: 3;}
}
div.tel_mail {
  position: fixed;
  bottom: 0;
  width: 100%;
  background:var(--main_color);
  display: flex;
  height: 54px;
  z-index: 10000;
}
.tel_mail .tel_mail__tel {width: calc(100% - 108px);text-align: center;}
.tel_mail .tel_mail__btn {width: 54px;}
/*スマホよりも大きい端末で閲覧中は非表示*/
@media screen and (min-width:769px) {
div.tel_mail {
display:none;
}
}
/*---------- 共通ページ ----------*/
section { display: block;}
section.top_wp {
  max-width: 100%;
  position: relative;
  margin-bottom: 100px;
}
.title-wp {
  max-width: 100%;
  width: var(--main-wp);
  margin: 0 auto;
}
.maintenancetime {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding: 12px 6px;
    border-radius: 5px;
    background-color: #4f5966;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    line-height: 0.25;
    color: #fff;
}

/* プライステーブル */
.price_wp {margin-bottom: 50px;}
table.price_tb {
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    width: 100%;
    border-spacing: 0;
    margin: 0 auto;
}
.price_tb th, .price_tb td {
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
    text-align: center;
    padding: .5rem;
    font-weight: bold;
    color: red;
}
.price_tb th { background-color: var(--background); color: #000;}
/* お問い合わせエリア */

/*---------- トップページ ----------*/
#top-view { width: 100%;}
.slideshow-container {
  width: 100%;
  height: 650px;
  position: relative;
  overflow: hidden;
}
/* スライダー */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fade 20s infinite;
}

.slide:nth-child(1) {
  animation-delay: 0s;
}

.slide:nth-child(2) {
  animation-delay: 5s;
}

.slide:nth-child(3) {
  animation-delay: 10s;
}
.slide:nth-child(4) {
  animation-delay: 15s;
}
.slide img { margin: 0 auto;}
@keyframes fade {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  53% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
/* トップサービス */

.top_service {
  background: #f5f5f5;
  margin-top: 80px;
  padding: 0 20px 60px;
}
.top_service h3.h3style1 {
  color: #e9ecef;
  top: -60px;
}
.top_service h2.h2style1  {
  margin-top: 2em;
}

.service_menu {background: #fff;border-radius: 15px;padding: 2rem;}
.kp-slider {
  width: 100%;
  aspect-ratio: 16 / 11;
  position: relative;
  overflow: hidden;
  background: #000;
}

/* track */
.kp-slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

/* item */
.kp-slider__item {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: block;
}

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

/* ===== カルーセル 矢印ボタン ===== */
.kp-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--main_color);
  border: none;
  color: #fff;
  font-size: 22px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  z-index: 10;
  transition: background .3s ease, transform .3s ease;
}

.kp-slider__btn--prev {
  left: 12px;
}

.kp-slider__btn--next {
  right: 12px;
}

/* ホバー */
.kp-slider__btn:hover {
  background: #155bd6;
  transform: translateY(-50%) scale(1.1);
}

/* スマホで少し小さく */
@media (max-width: 768px) {
  .kp-slider__btn {
    width: 38px;
    height: 38px;
    font-size: 18px;
    line-height: 38px;
  }
}
.kp-slider__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.kp-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(18,47,144,.5);
  cursor: pointer;
}

.kp-slider__dot.is-active {
  background: var(--main_color);
}

/* ランキング */

#top_lanking {
    background-image: url(img/top_back2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 60px;
}
#top_lanking  h3.h3style1 {top: 20px;}
#top_lanking .inner {
    padding: 0px 0 100px
}/* 共通 */
.ranking-item {
  position: relative;
  overflow: hidden;
}

/* 王冠 */
.rank-crown {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 5;
}

.rank-crown i {
  font-size: 26px;
  color: #f5c518;
  text-shadow: 0 2px 6px rgba(0,0,0,.4);
}

/* 順位別カラー */
.rank-1 .rank-crown i {
  color: #f5c518; /* ゴールド */
}

.rank-2 .rank-crown i {
  color: #c0c0c0; /* シルバー */
}

.rank-3 .rank-crown i {
  color: #cd7f32; /* ブロンズ */
}

.rank-4 .rank-crown i {
  color: #9e9e9e;
}

/* リボン（1位のみ） */
.rank-ribbon {
  position: absolute;
  top: 12px;
  right: -40px;
  width: 140px;
  background: linear-gradient(135deg, #f5c518, #e0a800);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  padding: 6px 0;
  transform: rotate(45deg);
  z-index: 4;
  box-shadow: 0 3px 8px rgba(0,0,0,.3);
}

/* 画像 */
.ranking-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* about */
/* 全体 */
.about {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.about h3.h3style1 {top: 85px;}
/* 青背景（斜め） */
.about-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, #fff 50%, var(--main_color) 50%);
  z-index: 0;
}


/* 白ボックス */
.about-box {
  position: relative;
  max-width: var(--main-wp);
  margin: 0 auto 120px;;
  background: #fff;
  border: 2px solid #1e3fa9;
  padding: 60px;
  z-index: 1;
}

/* 番号 */
.about-number {
  position: absolute;
  top: -40px;
  left: 40px;
  font-size: 120px;
  font-weight: bold;
  color: #fff44f;
  line-height: 1;
}

/* 中身レイアウト */
.about-inner {
  display: flex;
  gap: 60px;
  align-items: center;
}

/* テキスト */
.about-text {
  flex: 1;
}
.about-text h4 {padding: 0;}
.about-text p {
  line-height: 1.9;
  color: #222;
}

/* 画像 */
.about_top_img {
  z-index: 2;
  width: 100%;
  position: relative;
  justify-content: center;
  display: grid;
  margin: 0 auto 100px;
}
.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}
/* サービスの流れ */
.flow__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.flow__item {
  text-align: left;
}

.flow__img {
  width: 100%;
  aspect-ratio: 4 / 3; /* 画像比率（自由に変更OK） */
  overflow: hidden;
}

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

.flow__title {
  margin-top: 16px;
  font-size: 18px;
  font-weight: bold;
  color: #0a2d7a;
}

.flow__text {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
}
@media (max-width: 1024px) {
  .flow__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .flow__grid {
    grid-template-columns: 1fr;
  }
}
.payment {
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid #0b3d91;
  padding-bottom: 20px;
}

/* 上の青帯 */
.payment-title {
  background: linear-gradient(to right, #0b3d91, #1e63c6);
  color: #fff;
  text-align: center;
  padding: 12px 20px;
  font-weight: bold;
  font-size: 16px;
}

/* 2カラム */
.payment-box {
  display: flex;
  gap: 20px;
  padding: 20px;
}

/* 各カラム */
.payment-item {
  width: 50%;
  border: 1px solid #ccc;
  padding: 15px;
  box-sizing: border-box;
  text-align: center;
}

/* 小見出し */
.payment-subtitle {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* 画像 */
.payment-item img {
  max-width: 100%;
  height: auto;
}

/* =====================
   レスポンシブ
===================== */
@media (max-width: 768px) {
  .payment-box {
    flex-direction: column;
  }

  .payment-item {
    width: 100%;
  }
}

/* よくある質問 */
/* FAQ 全体 */
.faq {
  max-width: var(--main-wp);
  margin: 0 auto;
}

/* 各FAQ */
.faq-item {
  background: #ffffff;
  border: 1px solid #e2e3e4;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 0.5em;
}

/* 質問部分 */
.faq-question {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  cursor: pointer;
  background: var(--main_color);
  position: relative;
  list-style: none;
}

/* ▶ デフォルトの三角を消す */
.faq-question::-webkit-details-marker {
  display: none;
}

/* Qアイコン */
.faq-q {
  display: inline-block;
  color: #fff;
  margin-right: 12px;
  text-align: center;
  line-height: 25px;
  font-size: 20px;
  font-weight: bold;
}

/* 質問テキスト */
.faq-q-text {
  color: #ffffff;
  font-weight: bold;
  padding-right: 10%;
}

/* ＋アイコン */
.faq-icon {
  position: absolute;
  right: 15px;
  font-size: 25px;
  color: #fff;
  transition: transform 0.3s ease;
}

/* 開いた時に＋を回転（×風） */
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

/* 回答 */
.faq-answer {
  padding: 10px 15px;
}

/* Aアイコン */
.faq-a {
  color: #ff8d8d;
  font-size: 20px;
  font-weight: bold;
  margin-right: 12px;
}

/* ブログ */
/* お知らせ一覧 */
.newarrival_list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e5e5e5;
}

/* 各行 */
.newarrival_list li {
  border-bottom: 1px solid #e5e5e5;
}

/* リンク全体 */
.newarrival_list li a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 10px;
  text-decoration: none;
  color: #333;
  transition: background 0.3s ease;
}

/* hover */
.newarrival_list li a:hover {
  background: #f5f9ff;
}

/* 日付 */
.newarrival_date {
  font-size: 14px;
  color: #777;
  white-space: nowrap;
}

/* タイトル */
.newarrival_title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .newarrival_list li a {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .newarrival_date {
    font-size: 13px;
  }

  .newarrival_title {
    font-size: 14px;
  }
}

/* 固定ページ */
.head_wap {
width: 100%;
height: 250px;
margin: 0 auto;
position: relative;
}
.head_images {
width: 100%;
height: 250px;
background: url(img/haed_img.jpg) 50% 0 no-repeat;
background-size: cover;
background-position: bottom;
margin: 0 auto;
}
.page_titel {
font-size: 30px;
font-weight: bold;
color: #fff;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}

.exkp.cover {background: #001f4b;padding: 30px 15px;color: #fff!important;margin-bottom: 30px;}
.exkp.cover h3.h3style2 {border-left: 5px solid #fff;}
.exkp.cover h4.h4style2 {color: #fff;}
.oneArea {
  display: flex;
  flex-wrap: wrap;
}
.oneArea .oneBox {
  width: 150px;
  background: var(--sub_color);
  box-sizing: border-box;
  color: #fff;
  font-size: .8rem;
  text-align: center;
  padding: 6px;
  margin-right: 1%;
  margin-bottom: 1%;
  display: flex;
  align-items: center;     /* 縦中央 */
  justify-content: center; /* 横中央 */
  height: 50px;
}
/* ======================================
   変数定義（カラー・幅）
====================================== */

/* ======================================
   サービス共通ラッパー
====================================== */
.service-content {
  max-width: var(--main-wp);
  margin: 0 auto;
  padding: 0 16px;
}

/* ======================================
   サービスタブナビ
====================================== */
.service-tabs {
  border-bottom: 3px solid var(--main_color);
  margin-bottom: 0;
}

.service-tabs-list {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-tab {
  flex: 1;
  text-align: center;
}

.service-tab a {
  display: block;
  padding: 14px 28px 14px 2px;
  background: #fff;
  border: 1px solid var(--border-gray);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  font-weight: bold;
  font-size: 14px;
  color: var(--main_color);
  text-decoration: none;
  transition: background 0.3s;
  position: relative;
}
.service-tab a::before{
  content: '';
  position: absolute;
  top: 7px;
  bottom: 7px;
  right: 28px;
  margin: auto 0.3em auto 0;
  border-left: 1px solid #cccccc;
  display: inline-block;
  vertical-align: middle;
  zoom: 1;
  }
.service-tab a::after{  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 1rem;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);}
.service-tab a:hover {
  background: #f0f6ff;
}

.service-tab.is-active a {
  background: var(--main_color);
  color: #fff;
  border-color: var(--main_color);
}

/* ======================================
   洗車メニュー
====================================== */
.wash-wp {
  margin: 0;
  border: 3px solid var(--main_color);
  padding: 16px 18px 18px;
  background: url(img/wash-wp_bg.png) 50% 0 no-repeat;
}
.coating.wash-wp{  background-position: 50% 360px;}
.wash.wash-wp{  background-position: 50% 157px;}
.side.wash-wp{  background-position: 50% 240px;}
.wash-menu,.keeper-menu {
  display: flex;
  flex-direction: row;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px auto;
  padding: 0;
}
.side .wash-menu {flex-wrap: wrap;}
.keeper-menu li, .wash-menu li {
  border: 2px solid var(--border-gray);
  border-radius: 6px;
  text-align:center;
}
.wash-menu li {
  width: calc(100% / 3);
}
.keeper-menu li {
  width: calc(100% / 5);
}
.side .wash-menu li{ /* サイドメニュー */
  width: calc(100% / 3 - 14px);
  }
.wash-menu li a {
  font-weight: bold;
  font-size: 14px;
  color: #000;
  text-decoration: none;
}
.side .wash-menu li a{padding: 10px;}
.keeper-menu li a, .wash-menu li a{ display: block;}
.side .wash-menu li:hover{background: #ccc;}
.keeper-menu li.is-active, .wash-menu li.is-active  {border-color: var(--main_color);background: var(--main_color);}
.keeper-menu li.is-active a, .wash-menu li.is-active a {color: #fff;}
.keeper-menu li img {vertical-align: text-top;}


/* ======================================
   レスポンシブ
====================================== */

@media (max-width: 768px) {
  .service-tabs-list {
    flex-wrap: wrap;
    margin-bottom: 10px;
  }
  .service-tab {
    flex: 1 1 48%;
  }
  .service-tab a {
    border: 1px solid var(--border-gray);border-radius: 6px;
  }
  .service-tab a.problem{padding: 4px 19px 4px 8px;}
  .wash-wp {  margin: 0;
    border: 3px solid var(--main_color);
    padding: 8px 10px 10px;
  }
  .coating.wash-wp,.wash.wash-wp,.side.wash-wp{  background: none;}
  .wash-menu li{
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
  }

}
@media (min-width: 450px) and (max-width: 768px){
  .keeper-menu  {
    flex-wrap: wrap;
    flex-direction: row;
    gap: revert-layer;
  }
  .keeper-menu li {
    width: calc(100% / 2 - 5px);
    margin-bottom: 10px;
    text-align: center;
  }
  .side .wash-menu li {
    width: calc(100% / 2 - 10px);
    margin-bottom: 0;
  }
  .keeper-menu li:nth-child(odd){
    margin-right: 10px
  }
}
@media (max-width: 450px){
  .keeper-menu, .wash-menu {
      display: block;
  }
  .keeper-menu li,.wash-menu li,.side .wash-menu li  {
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
  }

}
/* ===============================
   2分割レイアウト（PC）
================================ */
.split-block {
  padding: 40px 20px;
}

.split-inner {
  max-width: var(main-wp);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 3fr; /* 4:3 */
  gap: 30px;
  align-items: center;
}

/* テキスト */
.split-text h2 {
  font-size: 26px;
  margin-bottom: 16px;
}

.split-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

/* 画像 */
.split-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* ===============================
   レスポンシブ（スマホ）
================================ */
@media (max-width: 768px) {
  .split-block {
      padding: 40px 0;
  }
  .split-inner {
    position: relative;
    display: block; /* 1カラム */
    padding-top: 7vw;
  }

  /* 画像を右上に配置 */
  .split-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 20vw; /* 画面の1/5 */
    max-width: 120px;
  }

  .split-image img {
    width: 100%;
    height: auto;
  }

  /* テキスト */
  .split-text h2 {
    font-size: 20px;
  }

  .split-text p {
    font-size: 14px;
  }
}
/*---------- フッタースタイル -------------*/
footer {
  background: var(--main_color);
  color: #fff;
  padding: 40px 0 0;
}

/* フッター内ラッパー */
#footer_wp {
  width: var(--main_wp);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* メニューエリア */
#footer_box {
  display: flex;
  justify-content: space-between;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.3);
}
#footer_box > div {padding: 20px;}
#footer_box .footer_txt{
  font-size: 12px;
    line-height: 1.4;
}
/* 各メニューボックス */

h3.h3stylef {
  border-bottom: 2px solid #fff;
  font-size: 14px;
}
.menu-footer-box h4{font-size: 13px;line-height: 1.6;font-weight: bold;}
/* nav */
footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* メニュー項目 */
footer nav ul li {
  margin-bottom: 10px;
}
#menu-footer01{
  margin-left: 10px;
}
#menu-footer02 li:nth-child(-n+3){
  margin-left: 10px;
}
#menu-footer02 li:nth-child(n+3){font-size: 13px;line-height: 1.6;font-weight: bold;}
/* リンク */
footer a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  transition: opacity .3s ease;
}

footer a:hover {
  opacity: 0.7;
}

/* コピーライト */
#copyright {
  text-align: center;
  font-size: 12px;
  padding: 20px 0;
  margin: 0;
  color: rgba(255,255,255,.8);
}


/* =====================
   /*ContactForm7カスタマイズ
===================== */
table.CF7_table{
	width:80%;
	margin:0 auto;
	border: 3px solid #e5e5e5;
}
.cf7-conditional {
  display: none;
}
table.CF7_table th{
  color: #fff;
	font-weight:normal;
}
table.CF7_table tr{
  border-top: 1px solid #e5e5e5;
}
table.CF7_table td{
  padding: 17px 10px 0;
}


/*入力欄*/
.CF7_table input, .CF7_table textarea,.CF7_table select {
	border: 1px solid #d8d8d8;
  line-height: 1.5;
  border-radius: 4px;
  padding: 10px;
}
.CF7_table select{
  padding: 10px 10px 10px 0;
}
.CF7_table ::placeholder {
	color:#797979;
}

/*「必須」文字*/
.CF7_req{
	font-size:.9em;
	padding: 5px;
	background: #f79034;/*オレンジ*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/*「任意」文字*/
.CF7_unreq{
	font-size:.9em;
	padding: 5px;
	background: #bdbdbd;/*グレー*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/* タイトル列 */
@media screen and (min-width: 768px){
	.CF7_table th{
	width:30%;/*横幅*/
	background-color:var(--main_color);
  padding: 10px 10px 0 10px;
  text-align: right;
	}
}

/* レスポンシブ */
@media screen and (max-width: 768px){
	table.CF7_table{
	width:95%;
	}
	.CF7_table tr, .CF7_table td, .CF7_table th{
	display: block;
	width: 100%;
	line-height:2.5em;
	}

	.CF7_table th{
	background-color:var(--main_color);
  padding: 13px 0 1px 15px;
	}
  .CF7_table input, .CF7_table textarea,.CF7_table select {
    width: 100%;
  }
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:#f79034;/* オレンジ*/
	border:0;
	color:#fff;
	font-size:1.2em;
	font-weight:bold;
	margin:0 auto;
  padding: 1rem 4rem;
}

.CF7_btn{
	text-align:center;
	margin-top:20px;
}

.wpcf7-spinner{
	width:0;
	margin:0;
}


/* パンくずリスト */
.breadcrumbsWrap{
  width: 100%;
  max-width: var(--main-wp);
  margin: auto;
  font-size: .9rem;
  color: #777;
  line-height: 2;
  white-space: nowrap;
  overflow-x: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 0 16px;
}
.breadcrumbs{
  display: flex;
  align-items: center;
}
.breadcrumbs{
  display: flex;
  align-items: center;
}
.breadcrumbs span{
  margin:0 3px;
}
.breadcrumbs span:first-child{
  margin-left:0;
}
.breadcrumbs span:first-child a{
  color:#2a627e;
}
.breadcrumbs a{
  margin:0 3px;
}


/* =====================
   レスポンシブ
===================== */
@media (max-width: 768px) {

  #footer_box {
    flex-direction: column;
    gap: 20px;
  }

  .menu-footer-box {
    width: 100%;
  }

  footer nav ul li {
    margin-bottom: 8px;
  }
  .menu-footer-box {display: none;}
  .footer_logo{margin: 0 auto;}
}



/*------ モバイル用CSS　width:768px以下 width1045以上-----*/
@media (min-width: 768px) and (max-width: 1045px){
  header.header-wrap .header-inner  {
    padding-left: 20px;
    padding-right: 20px;
  }
  .slideshow-container {height: 70vh;}
}

/*----- モバイル用CSS　width:768px以下 -----*/
@media (max-width:768px) {
  header.header-wrap {
    display: block;
    min-width: 300px;
    width: 100%;
    margin: 0 auto;
		height: auto;
  }
  header.header-wrap .header-inner  {display: block;}
  .header-wrap .logo {max-width: 420px; width: 70%;}
  .header-contact {display: none !important;}
  .slideshow-container { height: 83vh;}
  /* 見出し */
  h2.h2style1 {font-size: 1.5rem; margin: 1em auto;}
  h3.h3style1,.top_service h3.h3style1 {font-size: 3em;top: -3rem;}
  .top_service h3.h3style1{top: 0;}
  h2.h2style2 {font-size: 1.3rem;}
  h3.h3style2 {font-size: 1.2rem;padding: .8rem;}
  h4.h4style1,h4.h4style2 {font-size: 1.1rem;padding: .5rem 0;}
  .price_wp{box-sizing: border-box;
    border-right: 1px solid #ccc;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;}
  table.price_tb { border-right: none;width: 600px;}
  #top_lanking h3.h3style1 { top: 11px;}
  .top_service { padding: 25px 0;margin-top: 0px;}
  .about h3.h3style1 {top: 73px;}
  .about-inner {
   flex-direction: column;
 }

 .about-box {
   padding: 40px 20px;
   margin: 10px 5px 70px;
 }

 .about-number {
   font-size: 80px;
   top: -30px;
   left: 20px;
 }
 .page_titel {font-size: 21px;}
}
@media(max-width: 450px) {
  .slideshow-container {
    height: 46vh;
}
}
/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media(max-width: 768px) {
.pc { display: none !important; }
.sp { display: block !important; }
}
