@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/


/* ============================================================= */

/*jsロードcss*/

:root {
  --fade-duration: 2s;   /* 通常ページ */
  --fade-delay: 0ms;
}

.container {
  opacity: 0;
  transition: opacity var(--fade-duration) ease var(--fade-delay);
}
.container.is-visible {
  opacity: 1;
}
/* ② CSS：テーマのCSSやカスタムCSSに追加 */

.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;                  /* top/left/right/bottom:0 の省略 */
  background: #eadcc8;
  z-index: 9999;
  transition: opacity .35s ease;  /* フェード用 */
}
.loading-container.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(0,0,0,.2);
  border-top: 6px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* 省エネ：ユーザーがアニメ控えめ設定の場合は回転停止 */
@media (prefers-reduced-motion: reduce) {
  .spinner { animation: none; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ローダー表示中はスクロール抑制（任意） */
/*
body.is-loading {
  overflow: hidden;
}*/
/*
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 9999;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(0, 0, 0, 0.2);
    border-top: 6px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}*/

/* ============================================================= */
body, .main {
    background-color: #eadcc8;
}
heder.article-header svg{
		 width:800px;
		height: 200px;
	}
#sidebar{
	display:none;
}
/*メニュー一部非表示*/
.home .slicknav_nav > li.menu-item-home { display:none; }
#menu-main-menu > #menu-item-824 { display: none; }
.home .header {
       display: none;
    }
/* width */
.wrap {
    width: 100%;
}
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 100%;
}
.main {
    padding: 0px;
    overflow-x: hidden;
}
#content {
    margin-top: 0px;
}
#header-container{
    background-color: #eadcc8;
}
#header-container a{
    z-index:999;
}
#navi {
    background-color: transparent;
}
.site-name-text {
    font-weight: bold;
}
/* ヘッダー*/
.navi-in a {
    padding-top: 10px;
}
.navi-in a:hover {
    background-image: url(https://divination.sakura.ne.jp/taxi/wp-content/uploads/2025/06/shapes.png);
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
	
}
.navi-in a:hover {
    background-color: transparent;
    transition: none;
}
.navi-in > ul {
    margin-top: 1%;
}
#navi div{
}
/* フッターCSS*/
.footer {
    margin-top: 0px;
    padding: 0px;
}
#footer::before {
  content: '';
  display: block;
  width: 100%;
  height: 100px;
background: url("data:image/svg+xml;utf8,\
<svg viewBox='0 0 1200 100' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'>\
<path d='M0,50 C300,100 300,0 600,50 C900,100 900,0 1200,50 L1200,0 L0,0 Z' fill='%23eadcc8'/>\
</svg>") no-repeat top center;
  background-size: cover;
  background-color: ＃FFF;
}
/************************************
** 村上変更
************************************/
/* セクション１ */
main#main p{
	font-weight: 300;
	font-style: normal;
}
.section1{
}
.section1 .img1{
}
.section1 .img2{
margin-top: -10%;
    margin-right: -20%;
}
.section1 .img3{
margin-top: 40%;
    margin-left: -30%;
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
section.section1 .teldiv{
    transform: translateX(35%);
}
.teldiv p{
}
section.section1 .telimg{
width: 10%;
    margin-top: -3%;
animation: pulse 1.5s ease-in-out infinite;
}

/* ｈ１部分 */
.wave-container {
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
  }
.wave-container svg {
    width: 800px;
  }
  .wave-container svg text {
    font-size: 22px;
    font-family: 'Kosugi Maru', sans-serif;
    fill: #000;
  }
/* セクション２ */
main#main section.section2{

    margin-bottom: 0px;
}
section.section2 .h2-service{
background-color: transparent;
    text-align: center;
}
section.section2 p{
}
.taxi-group{
position: relative;
    top: -140px;
    width: 70%;
}
.taxi-group figure{
height: 150px;
}
/* 木の位置リレイシブ*/
.tree-right{
    position: relative;
    left: 45%;
    width: 70%;
}
.tree-left{
    position: relative;
    left: -15%;
    width: 70%;
}
section.section2 h2 {
    background-image: url(https://divination.sakura.ne.jp/taxi/wp-content/uploads/2025/06/shapes2.png);
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    padding-bottom: 0px;
}
/* セクション３ */
.section3{
background-image: url(https://divination.sakura.ne.jp/taxi/wp-content/uploads/2025/06/ehime_kuma_map-1024x826.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 40% auto;
background-size: 30% auto;
    display: flex;
    flex-direction: row-reverse;
}
section.section3 h2{
    background-color: transparent;
padding: 10% 0%;
}
section.section3 p{
    background-color: transparent;
padding: 10% 0%;
}
/* セクション４ */
main#main section.section4{
margin-bottom: 15%;
}
.section4-moji{
    position: absolute;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    right: 20%;
    gap: 0;
}
section.section4 h2{
margin: 0 !important;
    background-color: transparent;
}
section.section4 p{
margin: 0 !important;
    background-color: transparent;
}

section.section4 .swiper {
padding-top: 8%;
    z-index: -1;
}
/* セクション５ */
main#main section.section5{
margin-bottom: 10%;
}
.section5-moji{
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 0;

}
.section5-moji2{
    display: flex;
    flex-direction: row-reverse;
margin-left: 0 !important;
    padding-left: 15%;
}
section.section5 h2{
margin: 0 !important;
    background-color: transparent;
}
section.section5 p{
margin: 0 !important;
    background-color: transparent;
}
section.section5 .ramen{
position: absolute;
    width: 25%;
    right: 15%;
    top: 0%;
align-self: anchor-center;
z-index: -1;
}
section.section5 .section5-img2{
position: absolute;
    top: 65%;
    left: -45%;
}
/* セクション６ */
.section6-moji{
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 0;
padding-right: 15%;
}
main#main section.section6{
margin-bottom: 10%;
}
section.section6 h2{
margin: 0 !important;
    background-color: transparent;
}
section.section6 p{
margin: 0 !important;
    background-color: transparent;
}
section.section6 .tera{
position: absolute;
    width: 25%;
    left: 15%;
    top: 0%;
align-self: anchor-center;
    z-index: -1;
}
section.section6 .section6-img2{
position: absolute;
    top: 75%;
    right: -60%;
}
/* セクション７ */
.section7-title{
display: flex;
    flex-direction: row-reverse;
    padding: 0% 15%;
}
.section7-flag{
width: 100%;
justify-items: right;
}
section.section7 h2{
position: absolute;
    height: 400px;
    background-color: transparent;
}
section.section7 .section7-img2{
    position: absolute;
    top: 80px;
    width: 120px;
    z-index: -1;
}
section.section7 .section7-block{
    padding-top: 3%;
	width: 500%;
}
.section7-taxi-coment{
    align-content: center;
    margin: 0 !important;
    width: 50%;
}
.section7-stowaku{
display: flex;
}
section.section7 .section7-span span{
background-color: #FFF;
    border-radius: 9999px;
    padding: 3px 20px;
}
.section7-spot{
}
.section7-fukidasi{
opacity: 0;
  transition: opacity 1.5s ease;
}
.section7-fukidasi.visible {
  opacity: 1;
}
.section7-fukidasi figure {
position: absolute;
    width: 300px;
}
.section7-fukidasi p {
position: absolute;
    right: 35%;
	    top: -30px;
    background-image: url(https://divination.sakura.ne.jp/taxi/wp-content/uploads/2025/06/speech-bubble-1024x410.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
    padding: 8%;
}
/* タクシーが出てくる */
.taxi-container {
  position: absolute;
  width: 100%;
  height: 150px;
  overflow: hidden;
margin-top: 10%;
}

.taxi {
  position: absolute;
  right: -30%;
  bottom: 0;
    width: 40%;
  transition: right 3s ease;
}

.taxi.show {
  right: -4%;
}
.position{
    position: relative;
    width: 40%;
    left: -48%;
    top: -100px;
}
/* セクション８ */

.section8-fukidasi {
    position: absolute;
    top: -75%;
    right: 15%;
    background-image: url(https://divination.sakura.ne.jp/taxi/wp-content/uploads/2025/06/speech-bubble2-1024x746.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
    width: 330px;
    padding: 100px;
}
.section8-content{
}
.section8-set{
	
}
.section8-fukidasi-set{
	
}
.section8-fukidasi figure {
width: 330px;
}
.section8-fukidasi p {
padding-left: 180px;
}
section.section8 h2{
padding-left: 17%;
    background-color: transparent;
}
section.section8 h2 img{
height: 1.5em;
    vertical-align: text-bottom;
    margin-left: 5px;
    transform: scaleX(-1);
}
section.section8 h2 span{
border-bottom: solid 2px;
}
.taxi-moji{
position: absolute;
    width: 120px;
top: 10px;
    left: 34%;
    transform: scaleX(-1);
}
.mini-taxi{

}
/* width */
.wrap {
    width: 100%;
}
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 100%;
}
.main {
    padding: 0px;
    overflow-x: hidden;
}
#content {
    margin-top: 0px;
}
#header-container{
    background-color: #eadcc8;
}
#navi {
    background-color: transparent;
}
.site-name-text {
    font-weight: bold;
}
/* 画像サイズ*/
.img-size {
    width: 35%;
}
.img-size2 {
    width: 30%;
}
.img-size3 {
    width: 60%;
}
.img-size4 {
    width: 80%;
}

/* 車ゆらす */
.car-wiggle {
  animation: tiltWiggle 4s infinite ease-in-out;
  transform-origin: center center;
  display: inline-block;
  width:70%;
}

@keyframes tiltWiggle {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(2deg); }
  50%  { transform: rotate(0deg); }
  75%  { transform: rotate(-2deg); }
  100% { transform: rotate(0deg); }
}




@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* スライドのアニメーション */
/* スライダーのwrapper */
.infinite-slider .swiper-wrapper {
  transition-timing-function: linear;
}


/* スライド */
.infinite-slider .swiper-slide {
    width: 15%;
    margin-right: 5%;
  background-color: #FFF;
}

/* スライド内の画像 */
.infinite-slider .swiper-slide img {
    width: 100%;
    height: auto;
}

/* 縦書き*/
.vertical-text {
  writing-mode: vertical-rl; 
  text-orientation: upright; 
}
/* ヘッダー*/
.navi-in a {
    padding-top: 10px;
}
.navi-in a:hover {
    background-image: url(https://divination.sakura.ne.jp/taxi/wp-content/uploads/2025/06/shapes.png);
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
}
.navi-in a:hover {
    background-color: transparent;
    transition: none;
}
.navi-in > ul {
    margin-top: 1%;
}
#navi div{
}
/* フッターCSS*/
.footer {
    margin-top: 0px;
    padding: 0px;
}
#footer::before {
  content: '';
  display: block;
  width: 100%;
  height: 100px;
background: url("data:image/svg+xml;utf8,\
<svg viewBox='0 0 1200 100' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'>\
<path d='M0,50 C300,100 300,0 600,50 C900,100 900,0 1200,50 L1200,0 L0,0 Z' fill='%23eadcc8'/>\
</svg>") no-repeat top center;
  background-size: cover;
  background-color: ＃FFF;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
	.taxi-group figure {
    height: 100px;
}
	.section8-fukidasi {
    right: 5%;
}
	.section7-fukidasi p {
    right: 25%;
}
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	section.section1 .telimg {
    width: 15%;
}
	main#main section.section4{
    margin-bottom: 20%;
}
	section.section5 .ramen {
    right: 10%;
}
	.section5-moji2 {
    padding-left: 10%;
}
	section.section6 .tera {
    left: 10%;
}

	.position {
    top: -50px;
}
		.section7-fukidasi p {
    right: 15%;
			top:0px;
}
	section.section8 h2 {
    padding-left: 0%;
}
	.section8-content {
    margin-top: 30%;
}
	.section8-fukidasi {
		top: -110%;
        right: 0%;
}
}
/*781px以下*/
@media (max-width: 781px) {
	.taxi-group figure {
    height: 0px;
}
		section.section5 .ramen {
    width: 30%;
}
	section.section6 .tera {
    width: 30%;
}
.section6-moji {
    padding-right: 10%;
}
section.section7 .section7-block {
    width: 200%;
}
			.section7-fukidasi p {
    right: 0%;
}
	    .section8-fukidasi {
    }
	.section8-fukidasi p {
}

}
@media (max-width: 650px) {

	.taxi-group {
    top: -80px;
}
		.section3 {
    background-size: 50% auto;
}
	section.section3 h2 {
    margin-right: 10% !important;
}
		section.section3 p {
    margin-left: 10% !important;
}
	    main#main section.section4 {
        margin-bottom: 20%;
			margin-top: 20%;
    }
	.section4-moji {
    right: 5%;
    top: -50%;
}
	main#main .swiper-wrapper {
    width: 200%;
}
	section.section5 .section5-img2 {
    left: -35%;
}
	    .section5-moji2 {
        padding-left: 0%;
    }
	section.section5 .ramen {
        right: -20%;
		width: 45%;
    }
	.section6-moji {
        padding-right: 0%;
    }
	section.section6 .tera {
        left: -20%;
		width: 45%;
    }
	section.section6 .section6-img2 {
    top: 65%;
    right: -50%;
}
	main#main section.section7{
	margin-bottom: 20%;	
	}
.section7-title {
    padding: 0% 10%;
}
	.section7-stowaku {
    display: block;
}
	.section7-taxi-coment {
    width: 100%;
}
.section8-fukidasi {
        top: -150%;
        right: 0%;
    }
	.section8-content {
        margin-top: 40%;
    }

}
/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
.vertical-text {
  height:500px; 
}
	.wave-container svg text {
    font-size: 24px;
}
	section.section1 .teldiv {
    transform: translateX(30%);
}
	section.section1 .telimg {
        width: 20%;
    }
	main#main section.section4 {
        margin-bottom: 50%;
    }
	section.section5 .ramen {
        top: 40%;
		
    }
	section.section6 .tera {
        top: 40%;
		
    }
	main#main section.section7 {
        margin-bottom: 35%;
    }
	section.section7 h2 {
    left: 50px;
}
	section.section7 .section7-img2 {
}
	section.section7 .section7-block {
        width: 120%;
		margin-top: 10%;
    }
	.section7-spot {
		position: absolute;
    top: -280px;
    right: 0px;
}
	.section7-taxi-coment {
        padding-top: 20%;
    }
	.position {
        top: -100px;
    }
	.taxi-container {
    margin-top: 0%;
}
	.section8-fukidasi {
        width: 300px;
		top: -200%;
    }
	.section8-fukidasi p {
    padding-left: 150px;
		
        padding-top: 20px;
		height:200px;
}
	.section8-content {
        margin-top: 55%;
    }
	.section8-taxi-img{
		padding-top: 1%;
	}
}
@media screen and (max-width: 430px) {
    .section8-fukidasi {
        top: -230%;
    }
}

/************************************
** 青野変更
************************************/
/*** 各ページのタイトル行の画像 ***/
.background-image-top{
	position: relative;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	margin-bottom: 3%;
}

.background-image-top img{
	display: block;
	width: 100%;
	height: auto;
	max-height: 550px;
	object-fit: cover;
	margin: 0 auto;
	border: none;
}

/*** 各ページのタイトルの調整 ***/
/* h1.entry-title{
	position: absolute;
	top: 15%;
	left: 50%;
	transform: translate(-50%, -50%);
	margin: 0;
	padding: 0.5em 1em;
	text-align: center;
	font-size: 48px;
	font-weight: bold;
	color: white;
	text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
	z-index: 2;
	text-align: center;
} */

/*** タクシーページのデザイン ***/
/* トップ画像とタイトルの位置調整 */
#post-253 .background-image-top img{
	object-position: 0 64%;
}

#post-253 .taxi-sec1 h2{
	border: none;
	background: none;
/* 	font-size: 1.2rem; */
	padding: 0;
	margin: 0;
	text-align: center;
}

#post-253 .taxi-sec1{
	width: 85%;
	text-align: center;
}

p.taxi-name {
	font-size: 18px;
}

.taxi-type .wp-block-column{
	display: flex;
	flex-direction: column;
	justify-content: flex-end; /* ← 下寄せにする */
	align-items: center;
	text-align: center;
}

/* タクシーページのタクシー画像を左右反転 */
.taxi-right{
	transform: scalex(-1);
	margin-bottom: 1.8em;
}

/*** デマンドタクシーのページ ***/
#post-249 .background-image-top img{
	display: block;
	width: 100%;
	height: 450px;
	object-position: 0 65%;
}

/* #post-249 h1.entry-title{
	top: 7%;
} */

.shared-taxi-sec1{
	width: fit-content;
	margin: 0 auto; /* 中央寄せ（赤字を中央にするため） */
}

/* 赤字の注意事項 */
.red-text-group{
	color: red;
	width: fit-content;
	margin: 0 auto; /* 中央寄せ（赤字を中央にするため） */
	font-size: 0.95em;
	margin-bottom: 5%;
}

/* h2の背景が残るため除去 */
#post-249 .safety-common-sec h2{
	background: none;
}

/*** お問い合わせページ共通調整 ***/
/* ステップ余白 */
.common-step {
	margin: 4em 0 1em !important;
}

/*** お問い合わせ１のページの位置調整 ***/
#post-21 .background-image-top img{
	object-position: 0 18%;
}

#post-21 h2{
	border: none;
	background: none;
	font-size: 34px;
	padding: 0;
	margin: 2em 0 0.5em;
	text-align: center;
}
.common-section ul.content-select {
	display: flex;
	align-items: center;
	padding-left: 0 !important;
	transition: letter-spacing 0.6s ease-in-out;
}

/* .content-select{
	width: 860px;
	height: 400px;
	position: relative;
	list-style: none;
} */

.content-select{
	display: flex;
	width: 100%;
	max-width: 1200px;
	min-height: 500px; 
/* 	min-height: 516px */
	position: relative;
	list-style: none;
	justify-content: center;
}

/* .content-select li{
	position: absolute;
	width: 340px;
	height: 340px;
	border-radius: 50%;
	background-color: #f0f0f0;
	text-align: center;
	line-height: 1.4;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
} */
.content-select li{
	width: 32vw;
	height: 32vw;
	max-width: 330px;
    max-height: 330px;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	text-align: center;
	line-height: 1.4;
	align-items: center;
	font-weight: bold;
}

/* マウスホバー時 */
.content-select li:hover {
    border: 5px solid white;
    z-index: 10;
}

/* 一番左の円 */
.content-select li.taxi-request {
    margin-left: 0 !important;
}
.content-select li a{
	display: block;
	width: 100%;
	height: 100%;
	color: #333;
	text-decoration: none;
	padding: 41% 0;
}

.content-select li em{
	font-size: 28px;
/* 	display: block; */
	font-style: normal;
}

/* 重なりと順番（上に行くほど上に重ねる） */
.taxi-request{
	left: 0vw;
	z-index: 1;
	background-color: #3366cc !important;
}

.chartered-taxi{
/* 	left: 30vw; */
	z-index: 2;
	background-color: #6495ed !important;
	margin-left: -5% !important;
}

li.chartered-taxi a {
    padding: 46% 0 41%; /* ここだけ少し高いので下げる調整 */
}

.other{
/* 	left: 60vw; */
	z-index: 3;
	background-color: #00bfff !important;
	margin-left: -5% !important;
}


/*** 介護タクシーのページのデザイン ***/
/* 介護タクシーのタイトル、画像の位置調整 */
#post-251 .background-image-top img{
	object-position: 0 65%; /* ← 高さ方向を下寄りに調整 */
}

.nct-service-introduce{
	font-size: 24px;
	font-weight: bold !important;
	margin: 0 auto 4em !important;
	width: 97%;
	text-align: center;
	padding: 0 1%;
}

/* body.page-id-251 .nct-text-group{
	width: 70vw;
    text-align: left;
    padding: 0 1.5em;
    font-size: 19px;
    font-weight: bold;
    margin: 0 auto;
}

body.page-id-652 .nct-text-group{
	width: 700px;
    text-align: left;
    padding-left: 4em;
    font-size: 19px;
    font-weight: bold;
    margin: 0 auto;
} */

/* ページごとの安全への取り組みデザインの再調整 */
/* #post-251 .safety-common-sec img{
	width: 100%;
	object-fit: cover;
	height: 600px;
} */

/* h2の背景が残るため除去 */
#post-251 .safety-common-sec h2{
	background: none;
}

/*** 安全への取り組みのページのデザイン ***/
/* ヘッダー画像の再調整 */
#post-247 .safety-initiatives img{
	width: 100%;
	object-fit: cover;
	height: 560px;
	object-position: 0 78%;
}

#post-247 #safety-sec1 div:first-child p:first-child {
	font-size: 24px;
	font-weight: bold !important;
}

/* ヘッダータイトルの再調整 */
#post-247 h1{
	top: 8%;
}

.safety-sec1{
	text-align: center;
	width: 83%;
	margin: 0 auto;
}

.safety-sec-taxi-img{
	position: relative;
	transform: translateY(30%);
}

.safety-sec-demand-img{
	position: relative;
	transform: translateY(10%);
}

/* セクションのデザイン */
.safety-sec-body{
	width: 80%;
	display: flex;
	height: auto;
	margin: 0 auto;
}

/* h2のデザイン */
.safety-sec2-text h2,
.safety-sec3-text h2,
.safety-sec4-text h2{
	background: none;/* 背景除去 */
}

.safety-sec2-text h2:first-letter,
.safety-sec3-text h2:first-letter,
.safety-sec4-text h2:first-letter{
	font-size: 36px;
	color: green;
	text-shadow: 3px 3px 1px #000;
	margin-bottom: 5px;
}


/* 各セクションの文字編集 */
.safety-sec2-text,
.safety-sec3-text,
.safety-sec4-text{
	writing-mode: vertical-rl;/* 縦書きへ変更 */
	height: 400px;
	margin: 0 auto;
	justify-content: center;
}

.safety-sec3-text{
	display: relative;
	left: 50%;
	transform: translateX(-40%);
}

/* 各セクションの画像編集 */
.safety-sec2-img img,
.safety-sec3-img img,
.safety-sec4-img img{
	object-fit: cover;
	height: 400px;
	clip-path: circle(200px at 50% 50%);
	justify-content: center;
}

.safety-sec3-img{
	display: relative;
	left: 50%;
	transform: translateX(15%);
}

.safety-sec4-img{
	display: relative;
	left: 50%;
	transform: translateX(-10%);
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1550px以下*/
@media screen and (max-width: 1550px){
	.safety-sec3-text{
		display: relative;
		transform: translateX(-30%);
	}
	.safety-sec4-img{
		display: relative;
		transform: translateX(-5%);
	}
}

/*1400px以下*/
@media screen and (max-width: 1400px){
	.safety-sec3-text{
		display: relative;
		transform: translateX(-20%);
	}
}

/*1300px以下*/
@media screen and (max-width: 1300px){
	.safety-sec4-img{
		display: relative;
		transform: translateX(-0%);
	}
}

/*1250px以下*/
@media screen and (max-width: 1250px){
	.safety-sec3-text{
		display: relative;
		transform: translateX(-10%);
	}
}

/*1130px以下*/
@media screen and (max-width: 1130px){
	.safety-sec2-text,
	.safety-sec3-text,
	.safety-sec4-text{
		font-size: 16px;
	}
}

/*1050px以下*/
@media screen and (max-width: 1050px){
	.safety-sec2-img img,
	.safety-sec3-img img,
	.safety-sec4-img img{
		clip-path: circle(180px at 50% 50%)
	}
}
/*1023px以下*/
@media screen and (max-width: 1023px){
	/*メニューボタン*/
		.slicknav_menu .slicknav_menutxt {
    display: none;
}
	
.slicknav_menu {
        background-color: transparent;
        position: fixed;
	    width: 100%;
        top: calc(0px + env(safe-area-inset-bottom));
	z-index: 998;
    }		
	

.slicknav_btn {
    background-color: transparent;
}
		/* ★メニューが開いている間だけ適用 */
.slicknav_menu:has(.slicknav_btn.slicknav_open),
  .slicknav_menu:has(.slicknav_nav[aria-hidden="false"]),
  .slicknav_menu:has(.slicknav_nav:not(.slicknav_hidden)) {
    background-color: #eadcc8;
	  height:100vh;
}
	.slicknav_menu .slicknav_icon .slicknav_icon-bar {
		background-color: #000;
		width: 30px;
		margin-bottom: 6px;
        
}
	.slicknav_nav a {
    color: #000;
		text-align: right;
		font-weight: bold;
		border-radius: 5%;
}
	/*

*/
	    .wave-container svg text {
			font-weight: bold;
    }
	.header-container-in.hlt-top-menu {
        display: block;
    }
}
/*940px以下*/
@media screen and (max-width: 940px){
	.safety-sec2-img img,
	.safety-sec3-img img,
	.safety-sec4-img img{
		clip-path: circle(160px at 50% 50%)
	}
}

/*890px以下*/
@media screen and (max-width: 890px){
	/* 親：カラムを縦方向に並べる */
	#safety-sec2 .wp-block-columns,
	#safety-sec3 .wp-block-columns,
	#safety-sec4 .wp-block-columns{
		display: flex;
		flex-direction: column;
		align-items: center;  /* 子を中央寄せ */
		gap: var(--wp--style--block-gap, 1.5rem);
		clear: both;
		margin: 0 auto;
		overflow-x: clip;     /* ← 念のための最終ガード（hiddenでも可） */
		box-sizing: border-box;
	}
	
	/* 子：各カラムを横幅いっぱいにして中央に */
	#safety-sec2 .wp-block-columns > .wp-block-column,
	#safety-sec3 .wp-block-columns > .wp-block-column,
	#safety-sec4 .wp-block-columns > .wp-block-column{
		width: 100% !important;
		flex: 0 0 auto !important;  /* 固定幅化して折返し防止 */
		margin: 0 auto;             /* 本文エリア内で中央に */
		max-width: 500px;           /* 任意：本文の最大幅を抑える */
	}
	
	/* 並び順を「テキスト → 画像」に強制（デスクトップで左右入替えしている対策） */
	#safety-sec2 .wp-block-columns > .wp-block-column:nth-child(1){ order: 1; } /* テキスト側 */
	#safety-sec2 .wp-block-columns > .wp-block-column:nth-child(2){ order: 2; } /* 画像側 */
	#safety-sec3 .wp-block-columns > .wp-block-column:nth-child(1){ order: 2; } /* 画像側 */
	#safety-sec3 .wp-block-columns > .wp-block-column:nth-child(2){ order: 1; } /* テキスト側 */
	#safety-sec4 .wp-block-columns > .wp-block-column:nth-child(1){ order: 1; } /* テキスト側 */
	#safety-sec4 .wp-block-columns > .wp-block-column:nth-child(2){ order: 2; } /* 画像側 */
	
	/* float を無効化して中央へ */
	#safety-sec2 .wp-block-image,
	#safety-sec3 .wp-block-image,
	#safety-sec4 .wp-block-image{
		float: none !important;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
		width: 100%;
	}
	#safety-sec2 .wp-block-image img,
	#safety-sec3 .wp-block-image img,
	#safety-sec4 .wp-block-image img{
		display: block;
		max-width: 100%;
	}
	
	
	/* テキストと画像の調整 */
	.safety-sec2-text,
	.safety-sec3-text,
	.safety-sec4-text,
	.safety-sec2-img,
	.safety-sec3-img,
	.safety-sec4-img{
		width: 100%;
		margin: 0 auto;
	}
	
	/* 1文字目と2文字目に若干のスペースを確保 */
	.safety-sec2-text h2:first-letter,
	.safety-sec3-text h2:first-letter,
	.safety-sec4-text h2:first-letter{
		margin-bottom: 0;
		margin-right: 4px;
	}
	
	/* 縦書きへ切り替え */
	.safety-sec2-text,
	.safety-sec3-text,
	.safety-sec4-text{
		writing-mode: horizontal-tb; /* 縦書きを横書きに切り替え */
		height: auto;
	}
	.safety-sec3-text,
	.safety-sec3-img{
		transform: translateX(0%);
	}
}

/*400px以下*/
@media screen and (max-width: 400px){
	.safety-sec2-img img,
	.safety-sec3-img img,
	.safety-sec4-img img{
		clip-path: circle(135px at 50% 50%)
	}
}

/*340px以下*/
@media screen and (max-width: 340px){
	.safety-sec2-img img,
	.safety-sec3-img img,
	.safety-sec4-img img{
		clip-path: circle(120px at 50% 50%)
	}
}

/*300px以下*/
@media screen and (max-width: 300px){
	.safety-sec2-img img,
	.safety-sec3-img img,
	.safety-sec4-img img{
		clip-path: circle(100px at 50% 50%)
	}
}


/* 配車ボタンの調整 */
#post-247 .request_botton,
.wp-block-button__link {
	margin: auto;
	width: fit-content;
	text-align: center;
	font-size: 1.2rem;
	background-color: #0066cc;
	color: #fff;
	/* 	border: none; */
	border-radius: 4rem;
	cursor: pointer;
	padding: 0.4rem 2rem;
	transition: letter-spacing 0.3s ease; /* ホバー時の動きを滑らかに */
	border: 4px solid #0066cc;
}

/* 配車ボタンホバー時 */
#post-247 .request_botton:hover {
	border: 4px solid #fff;
}
#post-247 a {
    border: none;
}

/*** 問い合わせステップ表示 ***/
.step-list {
	display: flex;
	justify-content: center;
	align-items: flex-end; /* ← 文字の下端を揃える */
	counter-reset: step;
	list-style: none;
	padding: 0;
	margin: 40px auto;
	max-width: 700px;
}

.step-list li {
	position: relative;
	flex: 1;
	text-align: center;
	font-weight: bold;
	color: #999;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;  /*数字と丸、テキストの間に余白 */
}

/* 上の数字 */
.step-list li::before {
	counter-increment: step;
	content: counter(step);
	color: #999;
	font-weight: bold;
	line-height: 1;
}

/* 丸 */
.step-list li .circle {
	position: relative;   /* ← これが重要。線を丸に相対配置するため */
	width: 40px;
	height: 40px;
	background-color: #ccc;
	border-radius: 50%;
	display: inline-block;
	z-index: 1;
	margin-bottom: 10px; /* 高さの調整 */
}

/* 丸の重なり順 */
.step-list li:nth-child(1) .circle {
    z-index: 4;
}
.step-list li:nth-child(2) .circle {
    z-index: 3;
}
.step-list li:nth-child(3) .circle {
    z-index: 2;
}
.step-list li:nth-child(4) .circle {
    z-index: 1;
}

/* 線（左側のみ） */
.step-list li:not(:first-child) .circle::before {
	content: "";
	position: absolute;
	top: 50%;
	left: calc(-50% - 105px);
	width: calc(50% + 105px);
	height: 4px;
	background-color: #ccc;
	transform: translateY(-50%);
	z-index: -1;
}

/* 現在のステップ */
.step-list li.current {
	color: #0066cc;
	top: 9px;
}

ol.step-list .current .label {
    font-size: 24px;
}

.step-list li.current .circle {
	background-color: #0066cc;
	width: 60px;
	height: 60px;
	margin-bottom: 0px;
}

.step-list li.current::before {
	color: #0066cc;
	font-size: 24px;
}

step-list li.current .circle::before,
.step-list li:nth-child(2) .circle::before {
	background-color: #0066cc;
	margin-bottom: 10px; /* ← 位置の調整 */
	left: -125px; /* 線の長さを調整 */
	width: 125px; /* 線の長さを調整 */
}

/* 3つ目の要素の位置ずれを調整 */
.step-list li:nth-child(3) .label {
	margin-top: 0px; /* ← あえて表記して高さを合わせた */
}

/* 4つ目の要素の位置ずれを調整 */
.step-list li:nth-child(4) .label {
	margin: 3.6px; /* ← margin-bottomが0になってたが反応しない為、全体を再度表記することで調整 */
	transform: translateY(-3.6px); /* 上に3.6pxずらす */
}

/* 4つ目のステップの線の長さを調整 */
.step-list li:nth-child(4) .circle::before {
	left: -135px;
	width: 135px;
}

/* ステップ1が.currentで、ステップ2がまだ未到達の場合の線の色をグレーに戻す */
.step-list li.current:nth-child(1) + li .circle::before {
	background-color: #ccc;
}

/* ステップ1のページでステップ3の左の線だけ長さ調整(そのままだとなぜか短くなるので) */
body.page-id-21 .step-list li:nth-child(3) .circle::before {
	left: -135px;
	width: 135px;
}


/*** コンタクトフォームのデザイン ***/
/* h2とpを中央揃え */
.form1-title,
.form1-description,
.chartered-title,
.chartered-description,
.contact-title,
.contact-description{
	text-align: center;
}

/* h2のデザインを打ち消してフォント等を整える */
h2.form1-title,
h2.chartered-title,
h2.contact-title{
	border: none;
	background: none;
	font-size: 34px !important;
	padding: 0;
	margin: 0.5em 0 1em !important;
}

/* pを太字に */
.form1-description em,
.chartered-description em,
.contact-description em{
	font-weight: bold;
}

.form1-container,
.chartered-container,
.contact-container{
	max-width: 750px; /* 幅を決めることで中央揃えしやすく */
	margin: 0 auto;   /* ← 中央寄せの基本 */
	padding: 2em 1em;
	width:
}

/* 各行：ラベル + 入力欄 */
.form1-row,
.chartered-row,
.contact-row{
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
}

/* ラベル */
.form1-row label,
.chartered-row label,
.contact-row label{
	width: 50%;
	font-weight: bold;
	text-align: left;
	box-sizing: border-box;
}

/* テキスト・日付・メール・電話などの入力欄 */
.form1-row input[type="text"],
.form1-row input[type="email"],
.form1-row input[type="tel"],
.form1-row input[type="date"],
.chartered-row input[type="text"],
.chartered-row input[type="email"],
.chartered-row input[type="tel"],
.chartered-row input[type="date"],
.contact-row input[type="text"],
.contact-row input[type="tel"],
.contact-row input[type="email"]{
	width: 100%;
	margin-bottom: 0.5em;
	font-size: 1em;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

/* 乗車人数のテキストボックスのみ狭く */
.form1-row input[type="number"],
.chartered-row input[type="number"]{
	width: 35%;
	margin-bottom: 0.5em;
	font-size: 1em;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

/* 乗車人数のテキストボックスのみ広く */
.form1-row textarea,
.chartered-row textarea,
.contact-row textarea{
	width: 100%;
	margin-bottom: 0.5em;
	font-size: 1em;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

.form1-row .input-area,
.chartered-row .input-area,
.contact-row .input-area{
	width: 50%;
}

/* ラジオボタン全体 */
.form1-row .wpcf7-radio{
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr; /* 2列配置 */
	gap: 0.5em 0.5em;
	/* 	margin-bottom: 1.5em; */
	justify-items: start;
}

/* 個々のラジオボタンラベル */
.form1-row .wpcf7-list-item{
	display: flex;
	align-items: center;
	white-space: nowrap;
}

/* ラジオボタン内のlabel */
.form1-row .wpcf7-list-item label{
	display: flex;
	align-items: center;
	gap: 0.5em;
	font-weight: normal;
	font-size: 0.8em;
	margin: 0;
}

/* ラジオボタン・ラベルラップ */
.wpcf7-list-item {
	margin: 0;
}

/* ラジオボタン本体 */
.form1-row .wpcf7-radio input[type="radio"]{
	transform: scale(1.5); /* ← 倍率で拡大 */
	margin-left: 0.5em;
}

/* ラジオボタン表示不具合 */
/* ラジオボタンを隠す */
.wpcf7 input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

/* ラベルの前に丸を表示 */
.wpcf7 .wpcf7-list-item-label::before {
	content: "";
	display: inline-block;
	width: 20px;           /* 丸の大きさ */
	height: 20px;
	margin-right: 8px;
	border: 2px solid #666;
	border-radius: 50%;
	vertical-align: middle;
	background: #fff;
	box-sizing: border-box;
	transition: background 0.2s ease;
}

/* チェックされている場合 */
.wpcf7 input[type="radio"]:checked + .wpcf7-list-item-label::before {
	background: radial-gradient(circle at center, #333 50%, transparent 51%);
}

/* ラベルをクリックで選択可能に */
.wpcf7 .wpcf7-list-item-label {
	cursor: pointer;
	user-select: none;
}

/* 日付入力欄を他のテキスト欄と同じ幅に揃える */
input[type="date"] {
	-webkit-appearance: none;
	appearance: none;
	width: 100% !important;
	box-sizing: border-box;
	min-height: 2.5em;   /* ←高さを確保 */
	line-height: 1.4;
	padding: 0.4em 0.6em;
}

/* 人数入力フォーム右余白 */
span.wpcf7-form-control-wrap {
	margin-right: 0.3em;
}

/* 配車日時の上下に余白を設けて間隔を調整 */
.form1-row.datetime-row,
.chartered-row.datetime-row{
	margin-top: 0;
	margin-bottom: 1em;
}
.form1-row.datetime-row p, .chartered-row.datetime-row p {
    margin-top: 0;
}

/* 送信ボタンを中央に */
.form1-row.submit-row,
.chartered-row.submit-row,
.contact-row.submit-row{
	display: flex;
	justify-content: center;
	align-items: center;
}

/* 送信ボタンのデザイン調整 */
.form1-row.submit-row input[type="submit"],
.chartered-row.submit-row input[type="submit"],
.contact-row.submit-row input[type="submit"]{
	font-size: 1.2em; /* 文字サイズは小さめ */
	background-color: #0066cc;
	color: #fff;
	border: none;
	border-radius: 2em;
	cursor: pointer;
	padding: 1.3em 2.4em; /* ボタンサイズは大きすぎないようにする */
	border: 4px solid #0066cc;
	transition: letter-spacing 0.3s ease;
}
/* 送信ボタンホバー時 */
input.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
	border: 4px solid white;
}

/* 入力フォームエリア調整 */
.input-form-wrap {
	width: 84%;
	margin: 2em auto !important;
}

/* エラーメッセージデザイン調整 */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border: 3px solid #FFB901;
    background-color: #fff;
    width: 90%;
    max-width: 700px;
    font-size: 1.1em;
    margin: 0 auto;
    padding: 3em 1em;
    text-align: center;
}

/************************************
** 林田変更
************************************/
/*** フロントページ以外 ***/
/* <main>のpadding削除 */
body:not(.home) main.main {
	padding: 0;
}
/* site-name-text-linkのpadding変更 */
.site-name-text-link {
	padding: 1em;
}

/*** 安全への取り組みページ ***/
/* ヘッダー背景画像設定 */
body.page-id-247 header.article-header.entry-header {
    background-image: url(https://divination.sakura.ne.jp/taxi/wp-content/uploads/2025/07/image-1-1024x768.png);
    background-size: cover;
    background-repeat: no-repeat;
    height: 35vw;
    background-position: center 78%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/*** デマンドタクシーページ ***/
/* ヘッダー背景画像設定 */
body.page-id-249 header.article-header.entry-header {
	background-image: url(https://divination.sakura.ne.jp/taxi/wp-content/uploads/2025/07/image-4.png);
	background-size: cover;
    background-repeat: no-repeat;
    height: 35vw;
    background-position: center 61%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
img.wp-image-78 {
    margin: 0 auto;
}
.shared-taxi-sec1 figure {
    width: 52%;
}
.shared-texi-text {
    width: 64%;
	display: flex;
	justify-content: center;
	flex-direction: column;
}
.shared-texi-text > div {
    text-align: left;
    max-width: 100%;
}

/* body.page-id-249 .nct-service-introduce {
	padding: 0 10vw;
} */

/*** 介護タクシーページ ***/
/* ヘッダー背景画像設定 */
body.page-id-251 header.article-header.entry-header {
	background-image: url(https://divination.sakura.ne.jp/taxi/wp-content/uploads/2025/07/image.png);
	background-size: cover;
    background-repeat: no-repeat;
    height: 35vw;
    background-position: center 83%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
/* タクシー写真横並びレイアウト調整 */
div#nct-content-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 5% !important;
}
.nct-content-row > div {
    display: flex;
    justify-content: center;
    align-items: center;
}
.nct-content-image {
    flex: 1;
    z-index: 3;
    margin-left: 8% !important;
    margin-top: 9% !important;
}
.nct-content-image figure {
    width: 100%;
    height: auto;
}
.inside-image-2 {
    flex: 1;
    z-index: 2;
	margin-left: -9% !important;
    margin-top: -2% !important;
}
.inside-image-2 svg {
    width: 62%;
    height: auto;
}
.inside-image-3 {
    flex: 1;
    z-index: 1;
    margin-left: -24% !important;
    margin-top: 0% !important;
}
.inside-image-3 svg {
	width: 66%;
	height: auto;
}
/* #post-253 .safety-text h2 {
	margin: 0 !important;
} */

/* スマホ表示（縦並び＆順番変更＆少し重ねる） */
@media (max-width: 781px) {
	.nct-content-image {
		flex: 1;
		z-index: 3;
		margin-left: 0 !important;
		margin-top: 0% !important;
	}
	.nct-content-image figure {
		width: 66%;
		margin: 0 auto;
		height: auto;
	}
	.inside-image-2 {
		flex: 1;
		z-index: 2;
		text-align: center;
		margin-left: 0 !important;
		margin-top: -4% !important;
	}
	.inside-image-2 svg {
		width: 56%;
		height: auto;
	}
	.inside-image-3 {
		flex: 1;
		z-index: 1;
		margin-left: 0 !important;
		text-align: center;
		margin-top: -11% !important;
	}
	.inside-image-3 svg {
		width: 61%;
		height: auto;
	}
}



/*** タクシーページ ***/
/* ヘッダー背景画像設定 */
body.page-id-253 header.article-header.entry-header {
	background-image: url(https://divination.sakura.ne.jp/taxi/wp-content/uploads/2025/07/image-2.png);
	background-size: cover;
    background-repeat: no-repeat;
    height: 35vw;
    background-position: center 67%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
#post-253 .taxi-sec1 h2 {
    font-size: 28px;
	margin-bottom: 0.5em;
}

/* 介護タクシー画像左右反転 */
.taxi-type > div:nth-child(2) img {
  transform: scaleX(-1);
}

/*** ジャンボタクシーページ ***/
/* ヘッダー背景画像設定 */
body.page-id-652 header.article-header.entry-header {
	background-image: url(https://divination.sakura.ne.jp/taxi/wp-content/uploads/2025/07/image-3.png);
	background-size: cover;
    background-repeat: no-repeat;
    height: 35vw;
    background-position: center 74%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

section#jmb-sec1 {
    margin: 0px 1em 3em;
}

#post-652 .nct-service-introduce{
	margin: 0 auto 1.8em !important;
}

/* 画像横並びレイアウト */
div#jmb-content-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.jmb-content-row > div {
	display: flex;
	justify-content: center;
	align-items: center;
}

/* 画像1（SVG blob側） */
.inside-image {
	flex: 1;
	z-index: 1;
	margin-left: 8% !important;
	margin-top: 2% !important;
}
.inside-image svg {
	width: 54%;
	height: auto;
}

/* 画像2（普通の写真） */
.jmb-content-image {
	flex: 1;
	z-index: 2;
}
.jmb-content-image figure {
	width: 89%;
}

/* PC表示（横並び＆少し重ねる） */
@media (min-width: 782px) {
	.jmb-content-image {
		margin-left: -42% !important;
		margin-top: 17% !important;
	}
}

/* スマホ表示（縦並び＆順番変更＆少し重ねる） */
@media (max-width: 781px) {
	.inside-image {
/* 		order: 2; */
		margin-top: 1% !important;
		margin-left: 0 !important;
		text-align: center;
	}
	.jmb-content-image {
/* 		order: 1; */
		margin-left: 0px !important;
		margin-top: -23% !important;
	}
	.jmb-content-image figure {
		width: 84%;
		margin: 0 auto;
	}
}



/*** 内容選択のお問い合わせページ ***/
/* ヘッダー背景画像設定 */
body.page-id-21 header.article-header.entry-header {
	background-image: url(https://divination.sakura.ne.jp/taxi/wp-content/uploads/2025/07/image-9.png);
	background-size: cover;
    background-repeat: no-repeat;
    height: 35vw;
    background-position: center 7%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
/*** その他のお問い合わせページ ***/
/* ヘッダー背景画像設定 */
body.page-id-322 header.article-header.entry-header {
	background-image: url(https://divination.sakura.ne.jp/taxi/wp-content/uploads/2025/07/美川タクシー様タクシー.png);
	background-size: cover;
    background-repeat: no-repeat;
    height: 35vw;
    background-position: center 74%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
/*** 団体等依頼のお問い合わせページ ***/
/* ヘッダー背景画像設定 */
body.page-id-320 header.article-header.entry-header {
	background-image: url(https://divination.sakura.ne.jp/taxi/wp-content/uploads/2025/07/image-11.png);
	background-size: cover;
    background-repeat: no-repeat;
    height: 35vw;
    background-position: center 74%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
/*** タクシーのお問い合わせページ ***/
/* ヘッダー背景画像設定 */
body.page-id-318 header.article-header.entry-header {
	background-image: url(https://divination.sakura.ne.jp/taxi/wp-content/uploads/2025/07/image-10.png);
	background-size: cover;
    background-repeat: no-repeat;
    height: 35vw;
    background-position: center 55%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/*** お問い合わせページ共通 ***/
.mobile-step-list {
	display: none;
}
ol.step-list {
    padding-left: 0;
}
.input-form-wrap {
    width: 84%;
    margin: 0 auto;
}

/*** ジャンボ・デマンド・介護タクシーページ共通 ***/
section#jmb-sec1, section#shared-taxi-sec1, section#nct-sec1 {
    margin: 0em 0em 3em;
	width: 100%;
}

/*** プライバシーポリシーページ ***/
body.page-id-830 header.article-header.entry-header {
/* 	background-image: url();
	background-size: cover;
    background-repeat: no-repeat;
    background-position: center 55%; */
    display: flex;
    justify-content: center;
    align-items: center;
	height: 17vw;
    text-align: center;
	margin-bottom: 0;
}

body.page-id-830 .entry-content.cf {
    max-width: 60%;
    margin: 0 auto;
    padding: 2em 1em;
}
@media screen and (max-width: 480px){
body.page-id-830 .entry-content.cf {
    max-width: 100%;
}
}

/*** 会社概要ページ ***/
body.page-id-827 header.article-header.entry-header {
/* 	background-image: url();
	background-size: cover;
    background-repeat: no-repeat;
    background-position: center 55%; */
    display: flex;
    justify-content: center;
    align-items: center;
	height: 17vw;
    text-align: center;
	margin-bottom: 0;
}

body.page-id-827 .entry-content.cf {
	max-width: 50%;
	margin: 0 auto;
	padding: 2em 1em;
}
@media screen and (max-width: 480px){
body.page-id-827 .entry-content.cf {
	max-width: 100%;
}
}
/* ========================================================================== */

/*** 各タクシーページ下部の『安全への取り組み』エリア ***/
/* セクションをグリッド化して重ね合わせ */
.safety-common-sec {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-areas: "stack";
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
}

/* 画像を全幅にする */
.safety-common-image {
	grid-area: stack;
	width: 100%;
}
.safety-common-image img {
	width: 100%;
	height: auto;
	display: block;
	margin: 0;
}

/* テキストを中央に重ねる */
.safety-text {
	grid-area: stack;
	display: flex;
	flex-direction: column;
	justify-content: center; /* 縦中央 */
	align-items: center;     /* 横中央 */
	text-align: center;
	color: #fff;
	z-index: 1;
	margin-bottom: 0 !important;
}

/* PC時の文字サイズ */
.safety-text h2 {
	font-size: 40px !important;
	margin-bottom: 0 !important;
	background-color: unset;
}
.safety-text p {
	font-size: 18px;
	line-height: 1.6;
}
.mobile-grid-text {
	display: none;
}

/* スマホ調整 */
@media (max-width: 767px) {
	.mobile-grid-text {
		display: block;
		font-size 1rem;
		line-height: 1.6;
		padding: 1em 2em;
	}
	.safety-text h2 {
		font-size: 2rem !important;
		margin-bottom: 0;
		padding: 0;
		background-color: unset;
	}
	.safety-text p {
		display: none;
	}
}

/* ================================================== */

/* PC時のみオーバーレイを出す */
.safety-common-sec {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-areas: "stack";
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
}

/* 画像 */
.safety-common-image {
	grid-area: stack;
	margin-bottom: 0 !important;
}
.safety-common-image img {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 0 !important;
}

/* テキスト */
.safety-text {
	grid-area: stack;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: #fff;
	padding: 1.5rem;
	z-index: 1; /* オーバーレイより前に出す */
	max-width: 90%;
	/*   margin: auto; */
}

.safety-common-sec::before {
	content: "";
	grid-area: stack;
	background: rgba(0, 0, 0, 0.4); /* 黒の透明度調整 */
	z-index: 0; /* 画像より前、テキストより後ろ */
}

/* ====================================================================================== */

/*** 全ページ共通 ***/
/* emの斜体を標準にする */
em {
	font-style: normal;
}

a:hover {
    color: inherit;
}

header.article-header.entry-header {
	margin-bottom: 7%;
}
h1.entry-title {
    margin: 0;
    font-size: 48px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
    z-index: 2;
}

span.wpcf7-spinner {
    display: none;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*950px以下*/
@media screen and (max-width: 950px){
	.nct-service-introduce {
		font-size: 20px;
	}
}

/*781px以下*/
@media screen and (max-width: 781px){
	#post-253 .taxi-sec1 {
		margin-bottom: 3em;
	}
	#post-253 .taxi-sec1 > p {
		font-size: 17px;
		margin-bottom: 3em;
	}
	#post-253 .taxi-sec1 h2 {
		font-size: 23px !important;
		margin: 1.5em 0 1em;
	}
	.taxi-type figure {
		margin-bottom: 0 !important;
	}
	.taxi-type img {
		width: 80%;
		margin: 0 auto;
	}
	.taxi-type {
		gap: 5em;
	}
	p.taxi-name {
		font-size: 20px !important;
	}
	#post-247 #safety-sec1 div:first-child p:first-child, .nct-service-introduce {
		font-size: 18px;
	}
	.safety-sec-taxi-img {
		transform: translateY(14%);
	}
}

/*700px以下*/
@media screen and (max-width: 700px){
/* 	div#jmb-text-group {
		padding-left: 1.6em !important;
		padding-right: 1em;
	} */
}


/*635px以下*/
@media screen and (max-width: 635px){
	.input-form-wrap div:nth-child(5) p {
		margin-bottom: 0.8em;
	}
	.input-form-wrap div:nth-child(5) .input-area {
/* 		margin: 0 auto;
		margin-right: 38%; */
		margin-left: 0.5em;
	}
	.form1-row .wpcf7-radio {
		gap: 0.5em 6.5em;
	}
	#post-247 #safety-sec1 div:first-child p:first-child, .nct-service-introduce {
        font-size: 16px;
    }
	.shared-texi-text {
		width: 72%;
	}
}


/*600px以下*/
@media screen and (max-width: 600px){
	/* トップページ以外のタイトルサイズ */
	h1.entry-title {
		font-size: 40px;
	}
	/* PCサイズのリスト非表示 */
	.common-step {
		display: none;
	}
	/* モバイルサイズのリスト表示 */
	.mobile-step-list {
		height: 250px;
		display: flex;
		align-items: center;	
		margin-bottom: 1em !important;
	}
	.mobile-step-list li {
		display: flex;
		align-items: center;
		margin-bottom: 1em !important;
		color: #999999;
		font-weight: bold;
		font-size: 18px;
		padding-left: 44px;
	}
	.is-style-numeric-list-step > li:before {
		background-color: #cccccc;
		border: 2px solid #cccccc;
		z-index: 100;
		width: 29px;
		height: 29px;
		font-size: 18px;
	}
	.is-style-numeric-list-step > li::after {
		position: absolute;
		top: 0;
		bottom: -1em;
		z-index: 90;
		left: 15px;
		border-left: 2px solid #cccccc;
		content: "";
	}
	.mobile-step-list li:first-child::after {
		border-left: 3px solid #0066cc;
		left: 15px;
	}
	#post-21 .mobile-step-list li:first-child::after {
		border-left: 2px solid #cccccc;
		left: 14px;
	}
	.mobile-step-list li.mobile-current {
		font-size: 26px;
		color: #0066cc;
		margin-bottom: 20px !important;
	}
	li.mobile-current::before {
		background-color: #0066cc;
		border: 2px solid #0066cc;
		color: #ffffff;
		width: 45px;
		height: 45px;
		left: -9px;
		line-height: 2.3 !important;
		font-size: 20px;
	}
	li.mobile-current::after {
		left: 14px;
	}
	[class*=is-style-numeric-list-] > li::before {
		line-height: 1.7;
	}
	.mobile-step-list li:nth-child(4) {
		margin-bottom: 0px !important;
	}
	/* トップページ以外のヘッダー画像 */
	header.article-header.entry-header {
		height: 52vw !important;
		background-position: center -8% !important;
	}
	body.page-id-253 header.article-header.entry-header {
		background-position: center 72% !important;
	}
	body.page-id-247 header.article-header.entry-header {
		height: 52vw !important;
		background-position: center 72% !important;
	}
	body.page-id-249 header.article-header.entry-header {
		height: 52vw !important;
		background-position: center 77% !important;
	}
	body.page-id-652 header.article-header.entry-header {
		height: 52vw !important;
		background-position: center 88% !important;
	}
	body.page-id-251 header.article-header.entry-header {
		height: 52vw !important;
		background-position: center 78% !important;
	}
	.step-list li.current {
		font-size: 22px;
	}
	.step-list div.circle {
		display: none;
	}
	.common-step ol.step-list {
		flex-direction: column;
		align-items: center;
	}
	.step-list li {
		width: 200px;
		flex-direction: row;
		align-items: center;
		justify-content: start;
	}
	.common-section ul.content-select {
		display: flex;
		align-items: center;
		padding: 0 !important;
		flex-direction: column;
	}
	.common-section .content-select li {
		position: unset;
		width: 210px !important;
		height: 210px !important;
		margin: 0 !important;
	}

	.content-select li em {
		font-size: 24px;
		line-height: 1;
	}

	#post-21 h2 {
		font-size: 30px;
		margin: 0em 0 1em;
	}
	h2.form1-title, h2.chartered-title, h2.contact-title {
		font-size: 28px !important;
	}
	.form1-container, .chartered-container, .contact-container {
		padding: 0em 1em 2em;
	}
	.chartered-description, .form1-description {
		font-size: 16px;
	}
/* 	=========================================================================== */
	.input-form-wrap {
		width: 90%;
	}
	.form1-row, .chartered-row, .contact-row {
		flex-direction: column;
	}
	.form1-row input[type="text"],
	.form1-row input[type="email"],
	.form1-row input[type="tel"],
	.form1-row input[type="date"] {
		width: 100% !important;
	}
	.form1-row .input-area,
	.chartered-row .input-area,
	.contact-row .input-area {
		width: 100% !important;
	}
	.form1-row > p, .contact-row > p, .chartered-row > p {
		margin: 5% 0 1%;
	}
	.form1-row .wpcf7-radio {
        gap: 0.5em 0em;
    }
	body.page-id-251 .nct-text-group {
		font-size: 17px;
	}
	
}

/*480以下*/
@media screen and (max-width: 480px){
	/*メニューボタン*/

	    .wave-container svg text {
			font-weight: bold;
    }

	/**/
	
	main#main .teldiv p {
    transform: translateY(150%);
		background: rgba(234, 220, 200, 0.75);
		border-radius: 5%;
		font-weight: bold;
}
	    section.section1 .teldiv {
                        transform: translateX(-30%) translateY(-285%);
			background: transparent;
        position: fixed;
        z-index: 9999;
    }
	  .home header.article-header.entry-header {
        margin-top: 20%;
    }
	.section1 {
    height: 100px;
}
	.section1 figure{
		width: 250%;
	}
	.section1 .img3 {
		margin-top: 20%;
    margin-left: -200%;
}
	.section1 .img2 {
    margin-top: -150%;
    margin-left: 50%;
}
	.section1 .img1 {
	position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 300%;
    margin-top: -100%;
	}
	.tree-left {
    left: -55%;
    width: 170%;
}
	.tree-right {
    left: -15%;
    width: 170%;
}
.taxi-group figure {
    width: 100%;
}
	section.section2 .h2-service{
	padding-top: 5%;
}
.section3 {
    background-size: 90% auto;
	margin-top: -20%;
	}
main#main section.section4 {
        margin-top: 0%;
	margin-bottom: 30%;
    }
	.infinite-slider .swiper-slide {
    width: 20%;
}
	section.section5 .ramen {
        top: 30%;
        width: 50%;
    }
	section.section6 .tera {
        left: -25%;
        width: 50%;
    }
	.taxi.show {
    right: -20%;
}
	.taxi {
    width: 60%;
}
	    .position {
        top: 80px;
        width: 80%;
    }
	    .section7-title {
			padding: 0% 10%;
        padding-left: 0%;
    }
	.section7 .img-size4 {
    width: 90%;
}
	.section7-flag {
    width: 100%;
}
	section.section7 .section7-img2 {
    left: 30px;
}
	h1.entry-title {
		font-size: 30px;
	}
	.input-form-wrap {
		width: 100%;
	}
	.safety-text h2 {
		font-size: 28px !important;
	}
	.nct-text-group {
		font-size: 16px !important;
	}
	body.page-id-251 .nct-text-group {
		padding: 0;
	}
	#post-253 .taxi-sec1 h2 {
		font-size: 20px !important;
	}
	p.taxi-description, .taxi-type p {
		font-size: 17px !important;
	}
}

/*400以下*/
@media screen and (max-width: 400px){
	header.article-header.entry-header h1 {
        font-size: 28px;
	}
	#post-21 h2 {
		font-size: 25px;
	}
	.input-form-wrap div:nth-child(5) .input-area {
		margin-left: 1.5em;
	}
	.safety-text h2 {
		font-size: 26px !important;
	}
	#post-247 #safety-sec1 div:first-child p:first-child, .nct-service-introduce {
		font-size: 15px;
	}
	#post-253 .taxi-sec1 h2 {
		font-size: 16px !important;
	}
	p.taxi-description, .taxi-type p {
		font-size: 15px !important;
	}
}

/*320以下*/
@media screen and (max-width: 320px){
	header.article-header.entry-header h1 {
        font-size: 25px;
    }
	#post-21 h2 {
		font-size: 23px;
	}
	h2.form1-title, h2.chartered-title, h2.contact-title {
        font-size: 24px !important;
    }
	.input-form-wrap label {
		font-size: 15px;
	}
	.form1-row .wpcf7-radio {
		grid-template-columns: 1fr;
	}
	.safety-text h2 {
		font-size: 24px !important;
	}
	#post-253 .taxi-sec1 {
		width: 95%;
	}
}

/* ================================================== */
div#nct-text-group {
	display: flex;
	justify-content: center;
	font-size: 19px;
}
.nct-text-group div {
    text-align: left;
    max-width: 78%;
}
