@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

.l-header__bar.pc_ {
	display: none;
}

.hero-catchcopy {
	padding: 0 40px;
}

.hero-catchcopy figure {
	max-width: 50vw;
}

.section--spacious { padding: 80px 0; }
@media (max-width: 767px){ .section--spacious { padding: 56px 0; } }

/* カードの見た目 + ホバー */
.card { background:#fff;border:1px solid #E2E8F0;border-radius:16px;padding:20px;box-shadow:0 1px 6px rgba(0,0,0,.03); }
.card--hover { transition:transform .2s ease, box-shadow .2s ease; }
.card--hover:hover { transform: translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,.08); }

/* タイムライン（PC） */
.timeline { display:grid; grid-template-columns: repeat(5,1fr); gap:24px; position:relative; margin-top:24px; }
.timeline::before { content:""; position:absolute; top:20px; left:0; right:0; height:2px; background:#E2E8F0; }
.timeline__item { position:relative; padding-top:24px; text-align:center; }
.timeline__item::before { content:""; position:absolute; top:14px; left:0; right:0; margin:auto; width:12px; height:12px; border-radius:50%; background:#2563EB; }

/* シンプルなレスポンシブ制御（必要に応じてSWELLの表示制御でも可） */
.is-hidden-mobile { display:block; }
.is-hidden-desktop { display:none; }
@media (max-width: 991px){
  .is-hidden-mobile { display:none; }
  .is-hidden-desktop { display:block; }
}

/* 大きめボタン */
.btn--lg .wp-block-button__link { padding:14px 22px; font-size:16px; border-radius:10px; }

/* 初期状態（非表示＆少し下げる） */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}

/* 表示状態 */
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* バリエーション（横から） */
.reveal-x { transform: translateX(16px); }
.reveal-x.is-visible { transform: translateX(0); }

/* 遅延（必要なブロックに .delay-1 などを追加） */
.delay-1 { transition-delay: .15s; }
.delay-2 { transition-delay: .30s; }
.delay-3 { transition-delay: .45s; }

:root{
  --c-main: #fc7608;     
  --c-main-d: #9b4600;   
  --c-text: #0f172a;     /* テキスト */
  --c-border: #E2E8F0;   /* 枠線 */
  --c-bg: #fff;          /* 入力背景 */
  --c-focus: 0 0 0 3px rgba(16,185,129,.25); /* フォーカスグロー */
}

.searchbar{
  display:flex;
  gap:12px;
  align-items:center;
  width:100%;
  max-width:800px;
  margin-inline:auto;
}

/* スマホは縦積み */
@media (max-width: 768px){
  .searchbar{ flex-direction:column; align-items:stretch; }
}

/* 共通フィールド外観 */
.searchbar__select{
  -webkit-appearance:none;
  appearance:none;
  width:100%;
  min-height:48px;
  padding:0 44px 0 14px;           /* 右にアイコン分の余白 */
  border:1px solid var(--c-border);
  border-radius:12px;
  background: var(--c-bg);
  color: var(--c-text);
  font-size:16px;
  line-height:1.2;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
  transition: border-color .2s ease, box-shadow .2s ease, transform .06s ease;
}

/* セレクトの下向き矢印（SVGデータURI） */
.searchbar__select{
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat:no-repeat;
  background-position: right 12px center;
  background-size: 20px 20px;
}

/* ホバー＆フォーカス */
.searchbar__select:hover{ border-color:#cbd5e1; }
.searchbar__select:focus,
.searchbar__select:focus-visible{
  outline:none;
  border-color: var(--c-main);
}

/* ボタン */
.searchbar__button{
  white-space:nowrap;
  min-height:48px;
  padding:0 18px;
  border-radius:12px;
  border:1px solid var(--c-main);
  background: #008170;
  color:#fff;
  font-weight:600;
  font-size:16px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  box-shadow: 0 2px 8px rgba(16,185,129,.20);
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  cursor:pointer;
}
.searchbar__button:hover{
  background: var(--c-main-d);
  border-color: var(--c-main-d);
  box-shadow: 0 4px 14px rgba(16,185,129,.25);
  transform: translateY(-1px);
}
.searchbar__button:active{ transform: translateY(0); box-shadow:none; }
.searchbar__button:focus-visible{
  outline:none;
  box-shadow: var(--c-focus), 0 2px 8px rgba(16,185,129,.20);
}

/* ボタン内の検索アイコン（CSSだけで描画） */
.searchbar__button .icon{
  width:18px; height:18px; position:relative; display:inline-block;
}
.searchbar__button .icon::before{
  content:""; position:absolute; inset:0;
  border:2px solid #fff; border-radius:50%;
}
.searchbar__button .icon::after{
  content:""; position:absolute; width:8px; height:2px; background:#fff;
  right:-3px; bottom:2px; transform:rotate(45deg); border-radius:1px;
}

/* コンパクト版 */
.searchbar--compact .searchbar__select{ min-height:42px; border-radius:10px; }
.searchbar--compact .searchbar__button{ min-height:42px; border-radius:10px; }

/* ダーク背景の帯に置く場合 */
.searchbar--on-dark .searchbar__select{
  background:#0b1220; color:#e5e7eb; border-color:#334155;
}
.searchbar--on-dark .searchbar__select:hover{ border-color:#475569; }
.searchbar--on-dark .searchbar__button{
  box-shadow: 0 2px 10px rgba(16,185,129,.35);
}

/* =========================================================
   吹き出し（下向きタイプ）
   ---------------------------------------------------------
   クラス: .speech-bubble
   ・テキスト: 白
   ・角丸・影つき
   ========================================================= */
.p-blogParts .speech-bubble {
  position: relative;
  display: inline-block;
  background: #fff;
  color: #fc7608;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 1.5em;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
  text-align: center;
  white-space: nowrap;
  margin-bottom: 0.5em;
  animation: bubble-wiggle 2.2s ease-in-out infinite;
  transform-origin: 50% 100%;
}

/* ▼ 吹き出しの下の三角 */
.p-blogParts .speech-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;              /* 吹き出しとの距離 */
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-width: 8px 8px 0 8px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

@keyframes bubble-wiggle {
  0%   { transform: translateY(0) rotate(0deg); }
  12%  { transform: translateY(-2px) rotate(-1.2deg); }
  24%  { transform: translateY(0) rotate(1.1deg); }
  36%  { transform: translateY(-1px) rotate(-0.8deg); }
  48%  { transform: translateY(0) rotate(0.9deg); }
  60%  { transform: translateY(-2px) rotate(-0.6deg); }
  72%  { transform: translateY(0) rotate(0.6deg); }
  84%  { transform: translateY(-1px) rotate(-0.4deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.faq_q {
    background-color: var(--color_main);
    color: #fff;
}
.faq_a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0s;
    padding: 0!important;
}
.faq_a.open {
    max-height: fit-content;
    padding: 1em 1em 1em 3em!important;
    border: solid 1px var(--color_main);
}
.swell-block-faq .faq_q {
	padding: 1em 3em 1em 3em;
}
.swell-block-faq .faq_q:before,
.swell-block-faq .faq_a:before {
    box-shadow: none;
    left: 1px;
}
.swell-block-faq .swell-block-faq__item+.swell-block-faq__item {
    position: relative;
}
.swell-block-faq__item .faq_q:after {
    content: "\e910";
    font-family: icomoon!important;
    color: #fff;
    font-weight: bold;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4em;
}
.swell-block-faq__item.open .faq_q:after {
    content: "\e912";
}

.loop-slider {
    display: flex;
    overflow: hidden;
    gap: 1.5rem; /* 画像間の余白を指定 */
}

.loop-slider .wp-block-group__inner-container,
.loop-slider .swell-block-columns {
    display: contents;
}

.loop-slider .swell-block-columns__inner {
    flex-wrap: nowrap;
    animation: infinity-scroll-left 20s infinite linear; /* アニメーションの時間を指定 */
}

.loop-slider .swell-block-column figure {
    width: 500px; /* 画像の横幅を指定（パソコン） */
    position: relative;
}

.loop-slider .swell-block-column figure::before {
    padding-top: 65%; /* 画像の縦横比を指定 */
    display: block;
    content: "";
}

.loop-slider .swell-block-column figure img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

@media screen and (max-width: 959px) {
    .loop-slider .swell-block-column figure {
        width: 200px; /* 画像の横幅を指定（スマホ） */
    }
}

@keyframes infinity-scroll-left {
    from {
        transform: translateX(0);
    }

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


:root{
  --c-main: #fc7608;          /* メインカラー（変更OK） */
  --c-text: #0f172a;
  --c-muted:#64748b;
  --c-border:#e2e8f0;
  --radius:16px;
}
.company-card{
  background:#fff;border:1px solid var(--c-border);border-radius:var(--radius);
  overflow:hidden; display:flex; flex-direction:column; height:100%;
  box-shadow:0 4px 16px rgba(0,0,0,.06); transition:transform .15s ease, box-shadow .2s ease;
}
.company-card:hover{ transform: translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.10); }
.company-card__media img{ width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; display:block; }
.company-card__body{ padding:18px 18px 8px; }
.company-card__kicker{ font-size:16px; letter-spacing:.08em; color:var(--c-muted); text-transform:uppercase; }
.company-card__title{ margin:.25em 0 .4em; font-size:20px; line-height:1.35; color:var(--c-text); }
.company-card__desc{ color:#334155; line-height:1.8; font-size:14.5px; }

.company-card__actions{ margin-top:auto; padding:14px 18px 18px; }
.company-card__buttons{ display:flex; gap:10px; }
.company-card__buttons .wp-block-button{ flex:1; }
.company-card__buttons .wp-block-button__link{
  width:100%; padding:12px 14px; border-radius:12px; font-weight:600; font-size:14.5px;
}


.post_content h3.company-card__title {
	margin: 1em 0;
}

/* ボタン色：サイト＝塗り、TEL＝アウトライン */
.btn-site .wp-block-button__link{ background:var(--c-main); color:#fff; border:1px solid var(--c-main); }
.btn-site .wp-block-button__link:hover{ filter:brightness(.95); }
.btn-tel .wp-block-button__link{ background:#fff; color:var(--c-main); border:1px solid var(--c-main); }
.btn-tel .wp-block-button__link:hover{ background:var(--c-main); color:#fff; }

/* アイコン（CSSのみ） */
.btn-tel .wp-block-button__link::before{
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: -2px;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 16.92V21a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2 4.18 2 2 0 0 1 4.11 2h4.27a1 1 0 0 1 1 .76l1 4a1 1 0 0 1-.27.94l-2.19 2.2a16 16 0 0 0 6 6l2.2-2.19a1 1 0 0 1 .94-.27l4 1a1 1 0 0 1 .74 1z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
/*
.btn-tel .wp-block-button__link::after{
  content:""; position:relative; left:-18px; top:1px; display:inline-block; width:8px; height:2px; background:currentColor;
}
*/

/* カードのグリッド調整（3列） */
.cards-3 .wp-block-column{ display:flex; }

.taxi_card_container {
	display: flex;
	flex-wrap: wrap;
	margin: calc(-30px / 2);
	padding: 16px 0;
}

.taxi_card_container .taxi_card:hover {
	transform: translateY(-5px);
	box-shadow: 0 7px 34px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08);
	transition: all .5s;
}

.post_content div > .taxi_card:first-child {
	margin-top: calc(30px / 2) !important;
}

.taxi_card_box {
	background-color: transparent !important;
}

.taxi_card {
	position: relative;
	background: #fff;
	border-radius: 5px;
	box-shadow: 0 2px 5px #ccc;
	width: calc(100% / 3 - 30px);
	margin: calc(30px / 2);
	cursor: pointer;
	transition: opacity .3s ease;
}

.taxi_card.is-hidden {
  opacity: 0;
  pointer-events: none;
}

#modalBody h3,
.name_box {
	display: flex;
	align-items: center;
	height: 70px;
}

#modalBody h3 .logo,
.name_box .logo {
	width: 70px;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #fff;
	margin-right: 8px;
}

#modalBody h3 .logo img,
.name_box .logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}


.taxi_card_image {
  border-radius: 5px 5px 0 0;
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.taxi_card_content {
  padding: 0 8px 8px;
}
.taxi_card_name {
  font-size: 1.3em;
  font-weight: bold;
  line-height: 1.2;
  color: #333;
}
.taxi_card_catchcopy {
  color: #777;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 0.4em;
  margin-bottom: 0.2em;
  min-height: 42px;
}
.taxi_card_link {
  text-align: center;
  /*border-top: 1px solid #eee;*/
  padding: 8px 20px 20px;
}
.taxi_card_link .detail {
	width: 100%;
	display: block;
	color: #fff;
	background-color: #1f2a44;
	border-radius: 8px;
	padding: 16px 0px;
}

.post_content .taxi_card ul.area_item {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 0 8px;
	position: absolute;
	top: 8px;
	left: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.post_content .taxi_card ul.area_item li.area_name {
	background-color: #fc7608;
	color: #fff;
	border-radius: 8px;
	font-size: 12px;
	font-weight: bold;
	padding: 3px 6px;
}

/* 通常 */
[data-category]{
  transition: opacity .25s ease, transform .25s ease;
  opacity: 1;
  transform: translateY(0);
}

/* フェードアウト中 */
[data-category].is-fading-out{
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

/* 完全に非表示（余白も消える） */
[data-category].is-off{
  display: none !important;
}

/* タブレット　2カラム */
@media screen and (max-width: 1024px) {
	.taxi_card {
		width: calc(100% / 2 - 30px);
	}
}
/* スマホ 1カラム*/
@media screen and (max-width: 599px) {
	.taxi_card {
		width: calc(100% / 1 - 30px);
	}
	.taxi_card_container {
		padding: 30px 12px;
	}
}
body.modal-open { overflow: hidden; }
.modal-close {
	position: absolute;
	top: -10px;
	right: 0;
	background-color: transparent;
	border: 0;
	padding: 0 14px;
	font-size: 36px;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 24px;
  width: 90%;
  max-width: 600px;
  position: relative;
  border-radius: 8px;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-content .catchcopy {
	font-size: 1.2em;
	font-weight: bold;
	line-height: 1.4;
}

.modal-content .content_title {
	background-color: #fc7608;
	color: #fff;
	text-align: center;
	padding: 8px;
	margin-bottom: 12px;
}

.modal-content .description_wrap ,
.modal-content .saiyou_wrap {
	margin-top: 24px;
}

.modal-content .tel_list,
.modal-content .url_list {
	margin-top: 16px;
}

.modal-content .description {
	line-height: 1.4;
}

.modal-content .saiyou_wrap span {
	display: block;
}

.modal-content .saiyou_wrap .tel .text {
	font-size: 12px;
}

.modal-content .tel,
.modal-content .url {
	position: relative;
	display: block;
	padding: 12px 0;
	text-align: center;
	border-radius: 8px;
	font-size: 20px;
	font-weight: bold;
	color: #fff;
	background-color: #1f2a44;
}

.modal-content .tel .tel_num {
	font-size: 24px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-content .url {
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-content .url svg {
	width: 20px;
  margin-right: 8px;
}

.modal-content .saiyou_wrap .modal-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  margin-right: 8px;
}

/* 電話 */
.icon-tel {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.053 15.053 0 006.59 6.59l2.2-2.2a1 1 0 011.01-.24c1.12.37 2.33.57 3.58.57a1 1 0 011 1V20a1 1 0 01-1 1C10.85 21 3 13.15 3 3a1 1 0 011-1h3.5a1 1 0 011 1c0 1.25.2 2.46.57 3.59a1 1 0 01-.25 1.01l-2.2 2.19z'/%3E%3C/svg%3E") no-repeat center / contain;
}

body.modal-open {
  overflow: hidden;
}

/* モーダル内のスライダーだけ整える */
#modalBody .swiper {
  width: 100%;
  margin: 12px 0 16px;
}

#modalBody .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

#modalBody h3 {
	margin-bottom: 12px;
}

/* 表示エリアを固定（高さは好みで調整） */
#modalBody .js-modal-swiper {
  width: 100%;
  height: 320px;          /* ←固定したい高さに */
}

/* スライドも同じ高さに揃える */
#modalBody .js-modal-swiper .swiper-slide {
  height: 100%;
}

/* 画像を枠いっぱいに敷き詰めてトリミング（余白なし） */
#modalBody .js-modal-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* ←ここが肝 */
  object-position: center;
  display: block;
}

/* モーダル内のSwiperだけ白くする */
#modalBody .swiper {
  --swiper-navigation-color: #ffffff;
  --swiper-pagination-color: #ffffff;
}

#modalBody .swiper-button-prev::after,
#modalBody .swiper-button-next::after {
  display: none;
}

#modalBody .swiper-button-prev,
#modalBody .swiper-button-next {
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
}

#modalBody .swiper-button-prev svg,
#modalBody .swiper-button-next svg {
  width: 20px;
  height: 20px;
  stroke: #ffffff;
  stroke-width: 2.5;
  fill: none;
}

@media (max-width: 768px) {
  #modalBody .js-modal-swiper { height: 220px; }
}

.taxi-area-filter{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.taxi-area-filter button{
  appearance: none;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  font-size: 14px;
  line-height: 1;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: 
    background .2s ease,
    border-color .2s ease,
    color .2s ease,
    box-shadow .2s ease,
    transform .1s ease;
}

.taxi-area-filter button:hover{
  border-color: #aaa;
  transform: translateY(-1px);
}

/* 選択中 */
.taxi-area-filter button.is-active{
  background: #1f2a44;
  border-color: #1f2a44;
  color: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}

/* フォーカス（キーボード対応） */
.taxi-area-filter button:focus-visible{
  outline: 2px solid rgba(252,118,8,.5);
  outline-offset: 2px;
}
