/*
Theme Name:     KADAN Child
Template:       kadan_tcd056
Description:    KADANテーマの子テーマ
Author:         あなたの名前
Version:        1.0
*/

/* 全体文字色白・背景濃紺 */
body { color:#fff; background-color: #002130;}

/* リンク文字色白 */
a { color:#fff}

.p-article07__title {color:black;}

.l-secondary {display:none;}

/* 右メニュー追従非表示 */
.p-index-slider__nav {display: none;}

/* フッター投稿非表示 */
.p-footer-slider {display: none;}

/* フッター背景黒 */
.p-info { background-color: #000;}

:root {
  --h2-size: clamp(2rem, 1.2rem + 2.5vw, 3rem);  /* 32〜48px 目安 */
  --h3-size: clamp(1.25rem, .9rem + .8vw, 1.5rem);   /* 20〜24px 目安 */
}

h2, h3 {
  font-family: var(--font-heading);
  color: #fff;
  line-height: 1.3;
  margin: 1em 0 .5em;
}

/* h2: セクション見出し */
h2 {
  font-size: var(--h2-size);
  font-weight: 700;
}

/* h3: 小見出し */
h3 {
  font-size: var(--h3-size);
  font-weight: 600;
}

/*** トップスライダー ***/
.main_mv {
    position: relative;
	padding-top: 60px;
}
.main_mv video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.main_mv video.pc {
	display: inherit;
}
.main_mv video.sp {
	display: none;
}

/* SP表示 */
@media screen and (max-width: 576px) {
		.main_mv video.pc {
			display: none;
		}
		.main_mv video.sp {
			display: block;
	}
}

/* 福一こだわりの魚屋３つの宣言レイアウト */
.declaration {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.declaration-image {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.declaration-image img {
  width: 100%;
  border-radius: 4px;
}

.declaration-label {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  font-weight: bold;
}

.declaration-text {
  flex: 2;
}

.declaration-text h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.declaration-text p {
  font-size: 1rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .declaration {
    flex-direction: column;
    align-items: center; /* 中央寄せにしたい場合 */
    gap: 20px; /* スマホ時は隙間を少し狭く */
    padding: 20px;
  }

  .declaration-image {
    max-width: 100%; /* 横幅いっぱいに */
  }
}

/* 福一静岡昭府店のサービスキャッチ画像 */
.service-catch {
  position: relative;
  display: block;     /* 横幅いっぱいに */
  width: 100%;
  overflow: hidden;   /* オーバーレイや文字のはみ出し防止 */
}

p:empty {
  display: none !important;
}

/* 画像を横幅いっぱいに。縦は比率維持で自動 */
.service-catch img {
  display: block;     /* 画像下の余白を消す */
  width: 100%;
  height: auto;
  object-fit: cover;  /* （任意）高さを固定する場合に活きる */
}

/* 半透明の黒（文字の可読性アップ） */
.service-catch::after {
  content: "";
  position: absolute;
  inset: 0;                    /* 四辺ピッタリ */
  background: rgba(0,0,0,.4);  /* 濃さは0.3〜0.6で調整 */
  pointer-events: none;
}

/* 中央テキスト */
.overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: clamp(8px, 3vw, 32px);
  color: #fff;
  text-align: center;
  font-weight: 800;
  font-size: clamp(20px, 5vw, 56px);
  line-height: 1.1;
  z-index: 1;
  text-shadow: 0 6px 24px rgba(0,0,0,.5);
}

/* 福一静岡昭府店のサービスレイアウト */
.service {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.service-image {
  position: relative;
  flex: 1;
  max-width: 400px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  display: block;
  border-radius: 0;
}

/* ラベルを画像の上に配置（重ならない） */
.service-label {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #003356;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  font-weight: bold;
  line-height: 1;
}

.service-text {
  flex: 2;
}

.service-text h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.service-text p {
  font-size: 1rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .service {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
  }
  .service-image {
    max-width: none;
  }
}

/* フッターGoogle map調整 */
.footer-googlemap {
  width: 100%;
  max-width: 100%;
  height: 300px;
  width: 600px;
  overflow: hidden;
  border-radius: 8px;
}

.footer-googlemap > iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* スマホ調整 */
@media (max-width: 600px) {
  .footer-googlemap { --map-ratio: 3 / 2; }
}

/* アコーディオン見出し下線 */
.ac_title_class {
    border-bottom: solid 2px #fff;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .ac_title_class {
    border-bottom: none;
  }
}



/* 下記よりスライド追加に伴う追加css */

/* スライダー４ */
.p-index-slider__item:nth-child(4) {
	color: #ffffff
}
.p-index-slider__item:nth-child(4) .p-index-slider__item-title {
	font-size: 40px
}
.p-index-slider__item:nth-child(4).slick-active .p-index-slider__item-title {
	animation: sliderContentAnimation3 1.2s ease forwards 2s;
	transform: translateZ(0)
}
.p-index-slider__item:nth-child(4) .p-index-slider__item-desc {
	font-size: 25px
}
.p-index-slider__item:nth-child(4).slick-active .p-index-slider__item-desc {
	animation: sliderContentAnimation3 1.2s ease forwards 3s;
	transform: translateZ(0)
}
.p-index-slider__item:nth-child(4).is-active .p-index-slider__item-img {
	animation: slideAnimation1 9s linear 1 0s;
	transform: translateZ(0)
}

/* スライダー５ */
.p-index-slider__item:nth-child(5) {
	color: #ffffff
}
.p-index-slider__item:nth-child(5) .p-index-slider__item-title {
	font-size: 40px
}
.p-index-slider__item:nth-child(5).slick-active .p-index-slider__item-title {
	animation: sliderContentAnimation3 1.2s ease forwards 2s;
	transform: translateZ(0)
}
.p-index-slider__item:nth-child(5) .p-index-slider__item-desc {
	font-size: 25px
}
.p-index-slider__item:nth-child(5).slick-active .p-index-slider__item-desc {
	animation: sliderContentAnimation3 1.2s ease forwards 3s;
	transform: translateZ(0)
}
.p-index-slider__item:nth-child(5).is-active .p-index-slider__item-img {
	animation: slideAnimation1 9s linear 1 0s;
	transform: translateZ(0)
}

/* スライダー６ */
.p-index-slider__item:nth-child(6) {
	color: #ffffff
}
.p-index-slider__item:nth-child(6) .p-index-slider__item-title {
	font-size: 40px
}
.p-index-slider__item:nth-child(6).slick-active .p-index-slider__item-title {
	animation: sliderContentAnimation3 1.2s ease forwards 2s;
	transform: translateZ(0)
}
.p-index-slider__item:nth-child(6) .p-index-slider__item-desc {
	font-size: 25px
	/* 変更前　font-size: 16px */
}
.p-index-slider__item:nth-child(6).slick-active .p-index-slider__item-desc {
	animation: sliderContentAnimation3 1.2s ease forwards 3s;
	transform: translateZ(0)
}
.p-index-slider__item:nth-child(6).is-active .p-index-slider__item-img {
	animation: slideAnimation1 9s linear 1 0s;
	transform: translateZ(0)
}

/* スライダー7 */
.p-index-slider__item:nth-child(7) {
	color: #ffffff
}
.p-index-slider__item:nth-child(7) .p-index-slider__item-title {
	font-size: 40px
}
.p-index-slider__item:nth-child(7).slick-active .p-index-slider__item-title {
	animation: sliderContentAnimation3 1.2s ease forwards 2s;
	transform: translateZ(0)
}
.p-index-slider__item:nth-child(7) .p-index-slider__item-desc {
	font-size: 25px
	/* 変更前　font-size: 16px */
}
.p-index-slider__item:nth-child(7).slick-active .p-index-slider__item-desc {
	animation: sliderContentAnimation3 1.2s ease forwards 3s;
	transform: translateZ(0)
}
.p-index-slider__item:nth-child(7).is-active .p-index-slider__item-img {
	animation: slideAnimation1 9s linear 1 0s;
	transform: translateZ(0)
}

/* 404ページ：全体レイアウト（既存の濃紺背景・白文字を踏襲） */
.error404-page {
  padding: clamp(48px, 6vw, 96px) 20px;
  text-align: center;
  background: transparent; /* 既存のbody背景を活かす */
  color: #fff;
  line-height: 1.9;
  font-family: "Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;
}

.error404-inner {
  max-width: 820px;
  margin: 0 auto;
}

/* 見出し・リード（サイトの見出しトーンに合わせる） */
.error404-title {
  font-size: clamp(1.6rem, 1.1rem + 1.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: .02em;
  margin: 0 0 .5em;
  color: #fff;
}

.error404-lead {
  font-size: clamp(.95rem, .9rem + .3vw, 1.05rem);
  color: #d8e6ee; /* 白より一段トーンを落として読みやすく */
  margin: 0 0 2rem;
}

/* トップへ戻るボタン（白ベタ×濃紺文字／ホバーで反転） */
.error404-links {
  margin-bottom: 2.2rem;
}

.error404-links .btn404 {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 9999px;
  background: #ffffff;
  color: #002130 !important; /* 全体の a{color:#fff} を上書き */
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .03em;
  border: 2px solid #ffffff;
  transition: background-color .25s ease, color .25s ease, opacity .25s ease, transform .06s ease;
}

.error404-links .btn404:hover {
  background: transparent;
  color: #ffffff !important;
  opacity: .95;
}

.error404-links .btn404:active {
  transform: translateY(1px);
}

/* ひとことメッセージ */
.error404-note {
  font-size: .95rem;
  color: #c9d7de;
}

/* レスポンシブ微調整 */
@media (max-width: 600px) {
  .error404-links .btn404 {
    width: min(320px, 86%);
    padding: 12px 0;
  }
}