/* style.css */

/* 共通設定 */
body {
	margin: 0;
	padding: 0;
	font-family: 'Noto Sans JP', sans-serif;
  }

  /* 共通のブロック枠スタイル */
.content-block {
	border: 1px solid #ddd;
	padding: 20px;
	margin: 20px auto;
	border-radius: 8px;
	background-color: #f9f9f9;
	width: calc(100% - 40px);
	max-width: 1400px;
	box-sizing: border-box;
	overflow-x: hidden;
}

  /*========= ヘッダー設定 ==========*/
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: #000;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	z-index: 999;
  }

  .container {
	width: 90%;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
  }

  .logo img {
	width: 160px;
  }

  /* PCメニュー表示 */
  .pc-nav {
	width: 100%;
  }

  .pc-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: space-evenly; /* 等間隔を広げるためにspace-evenlyを使用 */
  }

  .pc-nav ul li a {
	text-decoration: none;
	color: #ffffff;
	font-size: 1rem;
	font-weight: bold;
	transition: color 0.3s;
  }

  .pc-nav ul li a:hover {
	color: #e61b1b;
  }

  .logo img {
	width: auto; /* 幅を自動調整 */
	height: 50px;
  }


  /* ハンバーガーメニュー（スマホ用） */
  .hamburger-menu {
	display: none;
	cursor: pointer;
  }

  .hamburger-menu span {
	display: block;
	width: 30px;
	height: 3px;
	background-color: #ffffff;
	margin: 6px 0;
	transition: all 0.3s;
  }

  /* スマホメニュー設定 */
  .sp-nav {
	display: none;
	position: absolute;
	top: 60px;
	left: 0;
	width: 100%;
	background-color: #000;
  }

  .sp-nav ul {
	list-style: none;
	padding: 10px 0;
	margin: 0;
  }

  .sp-nav ul li {
	text-align: center;
	padding: 10px 0;
  }

  .sp-nav ul li a {
	text-decoration: none;
	color: #ffffff;
  }

/* ==== フッター新デザイン ==== */
footer {
  background-color: #252525;
  color: #ffffff;
  padding: 40px 0 20px;
}

.footer-container {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;           /* PCは横並び */
  gap: 60px;                     /* ブロック間の間隔 */
  align-items: flex-start;       /* 上揃え */
  border-bottom: 1px solid #444;
  padding-bottom: 30px;
}

/* ロゴ＋会社情報 */
.footer-profile {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  min-width: 310px;              /* 最低幅を確保 */
  text-align: left;
}
.footer-logo {
  margin-bottom: 0;
  margin-right: 10px;
}
.footer-logo img {
  width: auto;
  height: 50px;
  display: block;
}
.footer-company {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}
.footer-company small {
  font-size: 0.98rem;
  color: #fff;
  line-height: 1.5;
}

/* リンクブロック（2列） */
.footer-links {
  display: flex;
  flex-direction: row;
  gap: 50px;
  justify-content: flex-start;   /* 左寄せ */
  align-items: flex-start;
  width: auto;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;              /* 左寄せ */
}
.footer-links ul li {
  margin-bottom: 10px;
}
.footer-links ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 1rem;
}
.footer-links ul li a:hover {
  color: #007aff;
}

.footer-copy {
  text-align: center;
  padding-top: 20px;
  font-size: 0.9rem;
}

/* ========== スマホ・タブレット対応 ========== */
@media screen and (max-width: 900px) {
  .footer-container {
    flex-direction: column;          /* 縦並び */
    gap: 28px;
    align-items: flex-start;         /* 左寄せ */
    text-align: left;
    width: 95%;
  }
  .footer-profile {
    flex-direction: row;
    align-items: flex-start;
    min-width: 0;
  }
  .footer-logo {
    margin-bottom: 0;
    margin-right: 10px;
  }
}

@media screen and (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    text-align: left;
    width: 98%;
    padding-bottom: 20px;
  }
  .footer-profile {
    flex-direction: column;         /* ロゴ→会社情報を縦並び */
    gap: 5px;
    align-items: flex-start;
    min-width: 0;
    width: 100%;
  }
  .footer-logo {
    margin: 0 0 10px 0;
  }
  .footer-logo img {
    height: 42px;
  }
  .footer-links {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 10px;
  }
  .footer-links ul {
    margin: 0;
  }
  .footer-links ul li {
    margin-bottom: 6px;
  }
}

.footer-calendar-area {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 330px;
}

.footer-calendar-wrap {
  display: flex;
  flex-direction: row;
  gap: 28px;
}

.calendar {
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 7px;
  min-width: 195px;
  box-shadow: 0 2px 10px #0002;
  font-size: 0.98rem;
}

.calendar caption {
  text-align: left;
  font-weight: bold;
  padding: 6px 0 5px 0;
  font-size: 1.03em;
  color: #ffffff;
}

.calendar th, .calendar td {
  border: 1px solid #bbb;
  width: 28px; height: 28px;
  text-align: center;
  font-size: 1.02em;
}

.calendar th {
  background: #f7f7f7;
  color: #555;
  font-weight: normal;
  letter-spacing: 0.04em;
}

.calendar td {
  background: #fff;
  color: #222;
}

.calendar td.calendar-holiday,
.calendar td .holiday {
  color: #ffffff !important;
  background-color: #ed6565;
  font-weight: bold;
}

.calendar .holiday-label {
  font-size: 0.91em;
  color: #ed6565;
  float: right;
  margin-right: 5px;
}

.calendar .holiday-mark {
  display: inline-block;
  background: #ed6565;
  width: 0.9em;
  height: 0.9em;
  border-radius: 2px;
  margin-right: 3px;
  vertical-align: middle;
}

.calendar-today {
  background: #f3fbff !important;
  border: 1.5px solid #6ec3f9 !important;
}

/* レスポンシブ */
@media (max-width: 768px) {
  html, body {
  overflow-x: hidden;
}
  body {
    max-width: 100%;
  }
  .footer-calendar-area {
    min-width: 0;
    margin: 22px 0 0 0;
    align-items: flex-start;
    width: 100%;
  }
  .footer-calendar-wrap {
    flex-direction: column;
    gap: 8px;
  }
  .calendar { min-width: 98vw; }
}

  /*========= レスポンシブ対応 ==========*/
  @media screen and (max-width: 768px) {
	/* ヘッダー部分の調整 */
	.pc-nav {
	  display: none;
	}

	.hamburger-menu {
	  display: block;
	}

	.logo img {
		height: 50px; /* モバイルデバイスでは高さを45pxに */
    content: url("images/logo_white_long.png");
	  }
  	}

/* メインビジュアル */
/* メインビジュアルのスライダー設定 */
.main-visual {
	position: relative;
	height: 100vh; /* 画面全体の高さに設定 */
	overflow: hidden;
  top: 0;
  }

  .slider {
	width: 100%;
	height: 100%;
	display: flex;
	animation: slide 25s infinite;
  }

  .slide {
	min-width: 100%;
	transition: opacity 1s;
  }

  .slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
  }

  /* @keyframes slide {
	0%, 20% { transform: translateX(0); }
	25%, 45% { transform: translateX(-100%); }
	50%, 70% { transform: translateX(-200%); }
	75%, 95% { transform: translateX(-300%); }
	100% { transform: translateX(0); }
  } */

  /* フェードイン効果を無効にする */
  .main-visual {
	opacity: 1;
	transform: none;
	transition: none;
  }

  .section {
	padding: 80px 0;
	width: 90%;
	margin: 0 auto;
	text-align: center;
  }

  .service-container {
	display: flex;
	justify-content: center;
	gap: 30px;
	flex-wrap: wrap;
	margin-top: 30px;
  }

  .service-item {
	background-color: #f4f4f4;
	padding: 20px;
	width: 250px;
	border-radius: 8px;
  }

  .btn-more {
	display: inline-block;
	margin-top: 20px;
	padding: 10px 30px;
	border: 1px solid #333;
	color: #333;
	text-decoration: none;
	border-radius: 25px;
	transition: all 0.3s;
  }

  .btn-more:hover {
	background-color: #333;
	color: #fff;
  }

/* ==== トップページ サービス紹介欄 ==== */
.top-section.top-service {
  width: 90%;
  margin: 0 auto;
  padding: 80px 0 60px 0;
  text-align: center;
}
.top-service-title {
  font-size: 2.0rem;
  color: #333;
  margin-bottom: 34px;
  letter-spacing: .06em;
  font-weight: 600;
}

.top-service-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.top-service-box {
  background: #fff;
  box-shadow: 0 3px 9px rgba(0,0,0,0.09);
  border-radius: 9px;
  width: 320px;
  padding: 28px 22px 30px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.top-service-box:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 9px 24px rgba(0,0,0,0.16);
}

.top-service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 7px;
  margin-bottom: 16px;
  background: #f4f4f4;
}

.top-service-name {
  font-size: 1.18rem;
  color: #192336;
  font-weight: bold;
  margin: 10px 0 10px 0;
  letter-spacing: .03em;
}

.top-service-desc {
  font-size: 0.99rem;
  color: #444;
  margin-top: 0;
  line-height: 1.8;
  word-break: break-word;
}

.top-btn-more {
  display: inline-block;
  margin-top: 18px;
  padding: 11px 32px;
  border: 1px solid #222;
  color: #222;
  background: #fff;
  border-radius: 23px;
  text-decoration: none;
  font-size: 1.07rem;
  font-weight: 500;
  transition: background 0.18s, color 0.18s;
}
.top-btn-more:hover {
  background: #222;
  color: #fff;
}

/* レスポンシブ（スマホ1列） */
@media (max-width: 900px) {
  .top-service-container {
    gap: 18px;
  }
  .top-service-box {
    width: 90vw;
    max-width: 400px;
    min-width: 220px;
    margin: 0 auto;
  }
}
@media (max-width: 600px) {
  .top-section.top-service {
    padding: 48px 0 26px 0;
  }
  .top-service-title {
    font-size: 1.22rem;
    margin-bottom: 16px;
  }
  .top-service-box {
    padding: 18px 8px 18px 8px;
    width: 99vw;
    max-width: 480px;
  }
  .top-service-img {
    height: 135px;
  }
}

/* ニュース一覧 */
.news {
  width: 55%;
}
.topics-container {
  max-width: 750px;
  margin: 120px auto 60px;
  padding: 0 0;
}
.topics-title {
  font-size: 2.1rem;
  font-weight: 500;
  margin: 0 0 28px 0;
  text-align: left;
  color: #222;
  letter-spacing: 0.04em;
  padding-left: 10px;
}
.topics-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e6e6e6;
  background: #fff;
}
.topics-list li {
  border-bottom: 1px solid #e6e6e6;
  transition: background .18s;
  margin: 0;
  padding: 0;
}
.topics-list li a {
  display: flex;
  align-items: center;
  gap: 26px;
  text-decoration: none;
  color: #222;
  padding: 18px 14px;
  min-height: 84px;
  background: none;
  transition: background .15s;
  box-sizing: border-box;
}
.topics-list li:hover,
.topics-list li a:hover {
  background: #f6f6f8;
}
.topics-thumb {
  width: 110px;
  height: 68px;
  object-fit: cover;
  border-radius: 7px;
  background: #eee;
  flex-shrink: 0;
  margin: 0 10px 0 0;
  display: block;
}
.topics-date {
  min-width: 90px;
  font-size: 1.03rem;
  color: #aaaaaa;
  font-family: inherit;
  margin-right: 10px;
  text-align: left;
  letter-spacing: .01em;
  flex-shrink: 0;
  display: inline-block;
}
.topics-headline {
  flex: 1;
  font-size: 1.13rem;
  color: #222;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.01em;
  word-break: break-all;
  text-align: left;
  display: inline-block;
}
/* ページネーション */
.topics-pagination {
  margin: 36px 0 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.topics-pagination a {
  min-width: 36px;
  height: 36px;
  background: #fff;
  color: #222;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.12rem;
  margin: 0 3px;
  text-decoration: none;
  transition: background .16s, color .16s;
  box-sizing: border-box;
}
.topics-pagination a.active,
.topics-pagination a:hover {
  background: #2d7af7;
  color: #fff;
  border: 1px solid #2d7af7;
}

/* 詳細ページ専用 */
.topics-detail-container {
  max-width: 750px;
  margin: 120px auto 60px;
  padding: 0 0;
  background: #fff;
}
.topics-detail-header {
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 18px;
  padding: 22px 14px 10px 14px;
}
.topics-detail-title {
  font-size: 1.7rem;
  font-weight: 600;
  color: #222;
  margin: 0 0 10px 0;
  line-height: 1.4;
  text-align: left;
}
.topics-detail-date {
  color: #aaa;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  display: block;
  margin-bottom: 0;
  text-align: left;
}
.topics-detail-thumb {
  width: 100%;
  max-width: 660px;
  height: auto;
  border-radius: 8px;
  margin: 24px auto 22px;
  display: block;
  background: #eee;
}
.topics-detail-content {
  font-size: 1.09rem;
  color: #222;
  line-height: 1.9;
  padding: 0 18px 40px 18px;
  word-break: break-all;
}
.topics-detail-back {
  margin: 36px 0 12px;
  padding: 0 18px;
}
.topics-back-btn {
  display: inline-block;
  padding: 9px 34px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #222;
  color: #222;
  font-size: 1.07rem;
  text-decoration: none;
  transition: background .17s, color .17s;
}
.topics-back-btn:hover {
  background: #2d7af7;
  color: #fff;
  border: 1px solid #2d7af7;
}

/* 既存競合上書き・影響カット */
.news-list-block, .news-block, .news-list-block li, .news-list-title, .news-list-date { all: unset !important; }

/* ----------------------- */
/* ▼▼ スマホ表示のカスタマイズ ▼▼ */
@media (max-width: 768px) {
  .topics-container,
  .topics-detail-container {
    max-width: 98vw;
    margin: 100px auto 28px;
    padding: 0;
  }
  /* [元々のスマホ用（横並び）を解除し、縦積み2段組に修正] */
  .topics-list li a {
    flex-direction: column;      /* ← 横並びから縦積みに変更 */
    align-items: flex-start;     /* ← 左揃え */
    gap: 7px;                    /* ← 余白縮小 */
    min-height: unset;           /* ← 最小高さ解除 */
    padding: 12px 4vw;
  }
  .topics-thumb {
    width: 100%;                 /* ← 画像はリスト幅いっぱい */
    min-width: 0;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/9;          /* ← 横長比率で綺麗に */
    margin: 0 0 6px 0;           /* ← 下に余白 */
    border-radius: 7px;
  }
  .topics-date {
    margin: 2px 0 0 0;
    display: block;              /* ← 画像の下に単独行で表示 */
    min-width: unset;
    font-size: 0.98rem;
    margin-right: 0;
    text-align: left;
  }
  .topics-headline {
    display: block;
    font-size: 1.03rem;
    line-height: 1.6;
    margin-top: 1px;
    width: 100%;
    word-break: break-all;       /* ← 折り返しを確実に */
    white-space: normal;         /* ← 折り返しを確実に */
    text-align: left;
    font-weight: 500;
    letter-spacing: 0.01em;
  }
  /* 詳細ページなど他のスタイルも合わせて調整（ここは元のままでもOK） */
  .topics-detail-header {
    padding: 12px 4vw;
    gap: 12px;
  }
  .topics-headline,
  .topics-detail-title {
    font-size: 1rem;
    line-height: 1.5;
  }
  .topics-detail-thumb {
    max-width: 99vw;
  }
}
/* ▲▲ スマホ表示のカスタマイズここまで ▲▲ */
/* ----------------------- */
/* ========== パンくずリスト用 ========== */
.breadcrumb {
  font-size: 0.97rem;
  margin: 18px 0 8px 0;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb li {
  display: flex;
  align-items: center;
}
.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin: 0 7px;
  color: #bdbdbd;
  font-size: 1em;
}
.breadcrumb a {
  color: #3b70be;
  text-decoration: none;
  transition: color 0.18s;
}
.breadcrumb a:hover {
  color: #e61b1b;
}

/* ========== SNS埋め込みの間隔・スマホ最適化 ========== */
.sns-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 38px;
  align-items: stretch;
  margin-top: 24px;
  margin-bottom: 12px;
}
.sns-item {
  flex: 1 1 340px;
  max-width: 340px;
  min-width: 220px;
  min-height: 500px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px #0001;
  padding: 8px 4px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.sns-item > * {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
@media (max-width: 900px) {
  .sns-links {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .sns-links {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .sns-item {
    max-width: 98vw;
    width: 100%;
    min-width: 90vw;
    margin-bottom: 0;
    padding: 4px 0;
  }
}

  /* フェードイン用CSS */
  .fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 1s, transform 1s;
  }

  .fade-in.active {
	opacity: 1;
	transform: translateY(0);
  }

  /* ページタイトル共通設定 */
.page-title {
	margin-top: 80px;
	padding: 60px 0 30px;
	text-align: center;
	background-color: #f8f8f8;
  }

  .page-title h1 {
	font-size: 2rem;
	color: #333;
  }

/* サービス一覧：PC2列・スマホ1列・ラージ・広めデザイン */
.service-list.service-list-2col {
  display: grid;
  grid-template-columns: repeat(1, minmax(340px, 1fr));
  gap: 54px 42px;  /* 行間54px・列間42pxでゆったり */
  padding: 50px 2vw 60px 2vw;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.service-list-2col .service-box {
  width: 100%;
  max-width: 80%;       /* 最大横幅UP */
  margin: 0 auto;
  box-sizing: border-box;
  padding: 44px 38px 38px 38px;
  background-color: #fff;
  box-shadow: 0 6px 28px rgba(0,0,0,0.11);
  border-radius: 16px;
  text-align: center;
  transition: transform 0.22s, box-shadow 0.22s;
  font-size: 1.22rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.service-list-2col .service-box img {
  width: 100%;
  max-width: 90%;      /* 画像もさらに大きく */
  height: 400px;
  object-fit: cover;
  border-radius: 11px;
  margin-bottom: 22px;
  background: #f4f4f4;
  box-shadow: 0 1px 8px #0001;
}

.service-list-2col .service-box h2 {
  font-size: 1.33rem;
  color: #192336;
  margin: 15px 0 14px 0;
  font-weight: bold;
  letter-spacing: 0.02em;
}

.service-list-2col .service-box p {
  font-size: 1.08rem;
  color: #444;
  line-height: 2.0;
  margin-top: 7px;
  text-align: left;
  width: 100%;
  word-break: break-word;
}

.service-list-2col .service-box:hover {
  transform: translateY(-10px) scale(1.022);
  box-shadow: 0 14px 38px rgba(0,0,0,0.18);
}

@media (max-width: 1100px) {
  .service-list.service-list-2col {
    gap: 40px 20px;
    padding: 30px 1vw 32px 1vw;
  }
  .service-list-2col .service-box {
    max-width: 97vw;
    padding: 30px 14px 24px 14px;
  }
  .service-list-2col .service-box img {
    max-width: 98vw;
    height: 170px;
  }
}

@media (max-width: 700px) {
  .service-list.service-list-2col {
    grid-template-columns: 1fr;
    gap: 28px 0;
    padding: 16px 2vw 8px;
  }
  .service-list-2col .service-box {
    max-width: 99vw;
    margin-bottom: 12px;
    padding: 16px 3vw 18px 3vw;
  }
  .service-list-2col .service-box img {
    max-width: 100vw;
    height: 140px;
  }
}


/* 料金計算ページの全体コンテナ */
.price-body {
  font-family: "Noto Sans JP", "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #ede9e3 0%, #f6f4ef 100%);
  color: #000;
  font-size: 18px;
  margin: 0;
  line-height: 1.75;
}
.luxury-bg {
  background: linear-gradient(130deg, #f2f0ed 0%, #f8f5ef 100%);
  box-shadow: 0 6px 48px #c1a36020, 0 0 0 1px #ede5d040;
  padding-bottom: 64px;
}
.price-container {
  max-width: 900px;
  margin: 44px auto 64px auto;
  padding: 2.7rem 2rem 3rem 2rem;
  background: transparent;
  border-radius: 32px;
  box-shadow: none;
}
.page-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.page-title h1,
.page-title .catch-copy {
  color: #000 !important;
}
.price-form-lux {
  background: #fffdfa;
  padding: 2.7rem 2.1rem 2.4rem 2.1rem;
  border-radius: 24px;
  box-shadow: 0 4px 32px #c7b2881c, 0 0 0 1.5px #e8d3b944;
  border: 1.8px solid #e7e0d5;
}
.step {
  margin-bottom: 3.3rem;
}
.step h2 {
  font-size: 1.17em;
  border-left: 5px solid #000;
  padding-left: 14px;
  margin-bottom: 1.2em;
  letter-spacing: 0.03em;
  font-weight: 800;
  color: #000;
}
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2em 3.3em;
  margin-bottom: 0.6em;
}
.form-group {
  flex: 1 1 240px;
  min-width: 230px;
  margin-bottom: 1.6em;
}
.form-group label,
.origin-radio,
.option-block label,
.option-block .option-title,
.body-size-label,
.service-choice,
.service-choice .service-name,
.service-choice .service-desc,
.notice,
.price-detail {
  color: #000 !important;
}
.origin-radio-row {
  display: flex;
  gap: 2.1em;
  margin-top: 4px;
  margin-bottom: 12px;
}
.origin-radio input { margin-right: 6px; }
select, input[type="text"] {
  width: 100%;
  font-size: 1.08em;
  padding: 0.55em 1em;
  border: 1.5px solid #d4c2a2;
  border-radius: 10px;
  margin-top: 5px;
  margin-bottom: 2px;
  background: #f9f6f2;
  color: #000;
  outline: none;
  transition: border 0.23s;
}
select:disabled {
  background: #ece7df;
  color: #bbb;
}
.body-size-label {
  margin: 0.3em 0 0 0.5em;
  font-weight: 700;
  color: #000;
  font-size: 1.04em;
  min-height: 1.7em;
}
.service-list-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.7em 2.1em;
  margin-top: 0.2em;
  margin-bottom: 0.5em;
}
.service-choice {
  background: #f8f6ef;
  border-radius: 13px;
  padding: 1em 2em;
  font-size: 1.09em;
  box-shadow: 0 2px 14px #c0a47012;
  border: 1.3px solid #ede6d6;
  transition: box-shadow 0.25s, border 0.23s;
  margin-bottom: 0;
  min-width: 192px;
  color: #000;
}
.service-choice input[type="checkbox"] {
  margin-right: 7px;
  accent-color: #c8ab62;
  transform: scale(1.17);
}
.service-choice .service-name {
  font-weight: 700;
  color: #000;
  margin-right: 4px;
}
.service-choice .service-desc {
  font-size: 0.98em;
  color: #000;
  display: block;
  margin-left: 1.7em;
}
.option-list-scroll {
  max-height: none !important;
  overflow: visible !important;
  border: 1.3px solid #ebddbc;
  background: #faf7f1;
  border-radius: 13px;
  padding: 1.6em 1.7em 1.5em 1.7em;
  margin-top: 0.6em;
  box-shadow: 0 2px 24px #dfcba320;
}
.option-block {
  background: #f9f7f2;
  border-radius: 11px;
  padding: 1em 1.3em 1em 1.3em;
  margin-bottom: 1.1em;
  font-size: 1.08em;
  box-shadow: 0 1px 8px #e2ce9e13;
  border: 1.1px solid #e7dac3;
  color: #000;
}
.option-block .option-title {
  font-weight: 800;
  color: #000;
  font-size: 1.03em;
  margin-right: 1.2em;
  display: inline-block;
  min-width: 144px;
}
.option-block label {
  display: inline-block;
  margin-right: 2.2em;
  font-weight: 600;
  margin-bottom: 0.2em;
  color: #000;
}
.option-block input[type="checkbox"] {
  margin-right: 7px;
  accent-color: #bfa152;
  transform: scale(1.10);
}
.price-calc-container.luxury-box {
  background: #f6f4ee;
  border-radius: 19px;
  padding: 2.4em 2.7em 2em 2.7em;
  box-shadow: 0 1px 14px #bfa3621d;
  border: 1.4px solid #e2d6b8;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.main-calc-btn {
  display: block;
  background: linear-gradient(90deg, #e62438 0%, #ee836d 90%);
  color: #fff !important;
  text-shadow: 0 1px 3px #8e7c3c30;
  padding: 1.09em 3.7em;
  border: none;
  border-radius: 24px;
  font-size: 1.23em;
  font-weight: 800;
  cursor: pointer;
  margin-bottom: 1.25em;
  letter-spacing: .07em;
  box-shadow: 0 3px 22px #c645454c, 0 0 0 2px #f8cac6;
  transition: background 0.17s, box-shadow 0.21s, transform 0.13s;
  margin-left: auto;
  margin-right: auto;
}
.main-calc-btn:active {
  transform: scale(0.96);
  box-shadow: 0 1px 9px #ed818160;
}
.main-calc-btn:disabled {
  opacity: .60;
  cursor: not-allowed;
  background: #f6b8b8;
}
#totalPrice {
  font-size: 1.55em;
  color: #c1a33f;
  font-weight: bold;
  background: #fdf8eb;
  border: 1.3px solid #e2d09a;
  border-radius: 9px;
  width: 290px;
  margin: 1.3em auto 0.7em auto;
  padding: 0.5em 1em;
  text-align: right;
  display: block;
  box-shadow: 0 1px 8px #d7b86030;
}
.price-detail {
  font-size: 1.11em;
  margin: 0.6em 0 0.4em 0;
  color: #000;
  text-align: left;
}
.price-detail ul {
  list-style: disc inside;
  margin: 0;
  padding-left: 18px;
}
.price-detail .price {
  color: #b89d39;
  font-weight: bold;
  font-size: 1.08em;
}
.notice {
  color: #000;
  font-size: 0.97em;
  margin-top: 1.2em;
}
@media (max-width: 790px) {
  .price-container,
  .price-form-lux,
  .price-calc-container.luxury-box { padding-left: 0.8em; padding-right: 0.8em; }
  .option-list-scroll { padding-left: 1em; padding-right: 1em; }
  .page-title h1 { font-size: 1.2rem; }
}
@media (max-width: 550px) {
  .price-container, .price-form-lux, .price-calc-container.luxury-box { padding: 0.6em 0.2em !important; }
  .step h2 { font-size: 1em; padding-left: 6px; }
  .form-row, .service-list-container { flex-direction: column; gap: 1.2em; }
  .form-group { min-width: unset; }
  .option-list-scroll { max-height: 250px; }
  #totalPrice { width: 98%; }
}
::-webkit-scrollbar { width: 8px; background: #f1e5c8; }
::-webkit-scrollbar-thumb { background: #cdb977; border-radius: 4px; }


  /* オンラインショップページのスタイル */
.online-shop {
	width: 90%;
	margin: 0 auto;
	padding: 40px 0;
  }

  .shop-intro {
	text-align: center;
	margin-bottom: 40px;
  }

  .product-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
  }

  .product-item {
	/* width: 500px; */
	width: 350px;
	padding: 20px;
	background-color: #ffffff;
	box-shadow: 0 3px 6px rgba(0,0,0,0.1);
	border-radius: 8px;
	text-align: center;
	transition: transform 0.3s;
  }

  .top-product-item {
	width: 250px;
	padding: 20px;
	background-color: #ffffff;
	box-shadow: 0 3px 6px rgba(0,0,0,0.1);
	border-radius: 8px;
	text-align: center;
	transition: transform 0.3s;
  }

  .product-item:hover {
	transform: translateY(-10px);
  }

  .top-product-item:hover {
    transform: translateY(-8px) scale(1.025);
    box-shadow: 0 9px 24px rgba(0,0,0,0.16);
  }

  .sns-timeline-item:hover {
    transform: translateY(-8px) scale(1.025);
    box-shadow: 0 9px 24px rgba(0,0,0,0.16);
  }

  .product-item img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	border-radius: 5px;
  }

  .top-product-item img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	border-radius: 5px;
  }

  .product-item h2 {
	margin-top: 15px;
	font-size: 1.2rem;
  }

  .product-item p {
	font-size: 0.9rem;
	color: #555;
	margin-top: 10px;
  }

  .btn-buy {
    display: inline-block;
    width: 43px;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
  }

  .btn-buy:hover {
    transform: translateY(-8px) scale(1.025);
    box-shadow: 0 9px 24px rgba(0,0,0,0.16);
  }

    .btn-buy img {
	width: 110%;
	height: 110%;
	object-fit: cover;
	border-radius: 5px;
  }

  /* .btn-buy {
	display: inline-block;
	margin-top: 15px;
	padding: 10px 20px;
	background-color: #007aff;
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
	transition: background-color 0.3s;
  } */

  /* .btn-buy:hover {
	background-color: #005bb5;
  } */

  /* レスポンシブ対応 */
  @media screen and (max-width: 768px) {
	.product-list {
	  flex-direction: column;
	  align-items: center;
	}

	.product-item {
	  width: 90%;
	}
  }

  /* ご利用上の注意ページのスタイル */
.terms-content {
	width: 90%;
	margin: 0 auto;
	padding: 40px 0;
  }

  .terms-content h2 {
	font-size: 1.5rem;
	margin-top: 30px;
	color: #333;
  }

  .terms-content p {
	margin-top: 15px;
	line-height: 1.6;
	color: #555;
  }

  .terms-content ul {
	margin-top: 15px;
	padding-left: 20px;
  }

  .terms-content ul li {
	list-style-type: disc;
	margin-bottom: 10px;
	color: #555;
  }


  /* プライバシーポリシーページのスタイル */
.privacy-policy {
	width: 90%;
	margin: 0 auto;
	padding: 40px 0;
  }

  .privacy-policy h2 {
	font-size: 1.5rem;
	margin-top: 30px;
	color: #333;
  }

  .privacy-policy p {
	margin-top: 15px;
	line-height: 1.6;
	color: #555;
  }

  .privacy-policy ul {
	margin-top: 15px;
	padding-left: 20px;
  }

  .privacy-policy ul li {
	list-style-type: disc;
	margin-bottom: 10px;
	color: #555;
  }

@media screen and (max-width: 768px) {
  .terms-content,
  .privacy-policy {
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 18px 8px 18px 8px;
    box-sizing: border-box;
  }
  .terms-content h2,
  .privacy-policy h2 {
    font-size: 1.1rem;
    margin-top: 20px;
  }
  .terms-content p,
  .privacy-policy p,
  .terms-content ul,
  .privacy-policy ul {
    font-size: 0.97rem;
    line-height: 1.8;
  }
}

/* お問い合わせページ専用スタイル */
.contact-container {
	width: 80%;
	max-width: 700px;
	margin: 50px auto;
	padding: 30px;
	background-color: #fff;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	border-radius: 10px;
  }

  /* ページタイトル */
  .contact-container .page-title h1 {
	font-size: 1.8rem;
	font-weight: bold;
	text-align: center;
	margin-bottom: 30px;
	border-bottom: 2px solid #ddd;
	padding-bottom: 10px;
  }

  /* フォーム全体 */
  .contact-form {
	display: flex;
	flex-direction: column;
  }

  /* フォームの各項目 */
  .contact-form .form-group {
	margin-bottom: 10px;
  }

  .contact-form .form-group label {
	font-weight: bold;
	margin-bottom: 8px;
	display: block;
  }

  /* 必須表示 */
  .contact-form .required {
	color: #e74c3c;
	margin-left: 5px;
  }

  /* 入力欄・テキストエリア */
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 1rem;
  }

  /* テキストエリアの調整 */
  .contact-form textarea {
	resize: vertical;
  }

  /* 送信ボタン */
  .contact-form .submit-btn {
	text-align: center;
  }

  .contact-form button[type="submit"] {
	width: 200px;
	padding: 12px 0;
	font-size: 1.1rem;
	background-color: #3498db;
	color: #fff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s;
  }

  .contact-form button[type="submit"]:hover {
	background-color: #2980b9;
  }

	/* テキストボックスの幅統一 */
	.contact-form input[type="text"],
	.contact-form input[type="email"],
	.contact-form textarea {
	width: 100%;
	max-width: 600px; /* これにより幅が統一されます */
	box-sizing: border-box; /* paddingを含めて幅を統一 */
	}

	/* 各フォームグループ内を中央に揃える */
	.contact-form .form-group {
	display: flex;
	flex-direction: column;
	align-items: center; /* 要素を中央揃えにする */
	}

	/* ラベルを左揃えに調整 */
	.contact-form .form-group label {
	width: 100%;
	max-width: 600px;
	text-align: left; /* ラベルだけ左寄せに戻す */
	}

	/* 送信ボタンを中央揃え */
	.contact-form .submit-btn {
	display: flex;
	justify-content: center; /* ボタンを中央揃えにする */
	margin-top: 10px;
	}

  /* レスポンシブ対応 */
  @media (max-width: 768px) {
	.contact-container {
	  width: 90%;
	  padding: 20px;
	}

	.contact-form button[type="submit"] {
	  width: 100%;
	}
  }

  /* サンクスページのスタイル */
.thank-you-message {
	width: 90%;
	margin: 0 auto;
	padding: 40px 0;
	text-align: center;
  }

  .thank-you-message p {
	margin-bottom: 20px;
	line-height: 1.6;
	color: #555;
  }

  .thank-you-message .btn {
	display: inline-block;
	background-color: #3498db;
	color: #fff;
	padding: 10px 20px;
	border-radius: 5px;
	text-decoration: none;
	font-size: 1rem;
  }

  .thank-you-message .btn:hover {
	background-color: #2980b9;
  }

  /* レスポンシブ対応 */
  @media screen and (max-width: 768px) {
	.thank-you-message {
	  width: 100%;
	  padding: 20px;
	}
  }

  /* ギャラリーセクションのスタイル */
  /* ギャラリーヘッダー */
.gallery-header {
    text-align: center;
    margin-bottom: 20px;
}

.gallery-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.gallery-header-images {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.gallery-header-images img {
    width: auto;
    height: 50px; /* 適切な高さに調整 */
}

/* ギャラリーコンテナ */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 1行に4枚の画像を配置 */
    gap: 20px;
    justify-content: center;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1; /* 正方形を維持 */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像を枠にフィットさせる */
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination a {
    color: #fff;
    background-color: #000;
    padding: 10px 15px;
    margin: 0 5px;
    text-decoration: none;
    border: 1px solid #000;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination a:hover {
    background-color: #fff;
    color: #000;
}

.pagination .active {
    background-color: #fff;
    color: #000;
}




  /* レスポンシブ対応 */
  @media (max-width: 768px) {
	.gallery-item {
	  width: calc(50% - 16px); /* 1行に2枚表示 */
	}
  }


  @media (max-width: 480px) {
	.gallery-item {
	  width: 100%; /* 1列表示 */
	}
  }

/* ローディング全体 */
#page-loader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #181818;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s cubic-bezier(.68,-0.55,.27,1.55);
  opacity: 1;
  pointer-events: all;
  /* 和紙風質感: ランダムノイズ＋グラデ */
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 8px, transparent 8px 32px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.018) 0 16px, transparent 16px 44px),
    linear-gradient(120deg, rgba(255,255,255,0.08) 0%, transparent 100%),
    url('data:image/svg+xml;utf8,<svg width="160" height="160" xmlns="http://www.w3.org/2000/svg"><filter id="f"><feTurbulence baseFrequency="0.85" seed="3" /></filter><rect width="160" height="160" filter="url(%23f)" opacity="0.08"/></svg>');
  background-size: cover, cover, cover, 200px 200px;
}

/* フェードアウト用 */
#page-loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* ローダー中央コンテンツ */
.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 会社名 */
.loader-title {
  margin-bottom: 30px;
  text-align: center;
}
.loader-title .main-title {
  display: block;
  font-size: 2.4rem;
  letter-spacing: 0.09em;
  color: #fff;
  font-weight: bold;
  margin-bottom: 8px;
  line-height: 1.2;
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
}
.loader-title .sub-title {
  display: block;
  font-size: 1.08rem;
  color: #fff;
  letter-spacing: 0.13em;
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
  opacity: 0.8;
}

/* LOADINGアニメーション */
.loader-loading {
  display: flex;
  gap: 0.16em;
}
.loader-loading span {
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.12em;
  display: inline-block;
  animation: loading-bounce 1.1s infinite;
}
.loader-loading span:nth-child(1) { animation-delay: 0s; }
.loader-loading span:nth-child(2) { animation-delay: 0.12s; }
.loader-loading span:nth-child(3) { animation-delay: 0.24s; }
.loader-loading span:nth-child(4) { animation-delay: 0.36s; }
.loader-loading span:nth-child(5) { animation-delay: 0.48s; }
.loader-loading span:nth-child(6) { animation-delay: 0.60s; }
.loader-loading span:nth-child(7) { animation-delay: 0.72s; }

@keyframes loading-bounce {
  0%, 100%   { transform: translateY(0); }
  24%        { transform: translateY(-17px) scaleX(1.08);}
  40%        { transform: translateY(1px);}
  60%        { transform: translateY(0);}
}

/* モバイル対応 */
@media (max-width: 600px) {
  .loader-title .main-title { font-size: 1.2rem; }
  .loader-title .sub-title { font-size: 0.85rem; }
  .loader-loading span     { font-size: 1.05rem; }
}

.gallery-main {
  width: 90%;
  margin: 40px auto;
}
.gallery-title {
  text-align: center;
  font-size: 2rem;
  margin: 30px 0 40px;
  letter-spacing: .1em;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform .4s;
}
.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.8);
}
.gallery-hover {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(40,40,40,0.72);
  color: #fff;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity .3s;
  padding: 20px;
  text-align: center;
  pointer-events: none;
}
.gallery-item:hover .gallery-hover {
  opacity: 1;
  pointer-events: auto;
}
.gallery-hover h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.gallery-hover p {
  font-size: .95rem;
  margin: 0;
}
.pagination {
  text-align: center;
  margin: 32px 0 0;
}
.pagination a {
  display: inline-block;
  background: #eee;
  margin: 0 5px;
  padding: 7px 14px;
  border-radius: 6px;
  color: #222;
  text-decoration: none;
  transition: background .2s;
}
.pagination a.active,
.pagination a:hover {
  background: #007aff;
  color: #fff;
}
@media (max-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 750px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* フェードイン */
.fadein { opacity: 0; transform: translateY(40px); transition: .7s; }
.fadein.show { opacity: 1; transform: translateY(0); }

/* ギャラリー詳細：レイアウト全体 */
.gallery-detail-main {
  width: 90%;
  margin: 0 auto;
  padding: 40px 0;
}

/* メイン画像部分 */
.gallery-detail-top {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.gallery-detail-image img {
  width: 80%;    /* ギャラリーページと同じサイズに合わせて調整 */
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.07);
}
.gallery-detail-info {
  flex: 1;
  padding: 20px 0 0 0;
}
.gallery-detail-info h1 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}
.gallery-detail-info p {
  font-size: 1rem;
  color: #555;
}

/* 追加画像 */
.gallery-detail-others {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}
.gallery-detail-others img {
  width: 30%;    /* 450px × 0.85 = 382.5px */
  max-width: 85%;
  height: auto;
  border-radius: 7px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  display: block;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .gallery-detail-top {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .gallery-detail-image img {
    width: 95vw;
    max-width: 100%;
  }
  .gallery-detail-others {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
  .gallery-detail-others img {
    margin: 0 auto !important;
    display: block !important;
  }
}
/* サービス詳細ページ追加スタイル */

/* メイン画像をレスポンシブ対応で横幅100%表示 */
.main-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 1rem 0;
}

/* サブ画像一覧のスタイル */
.service-gallery img, .sub-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1rem auto;  /* 上下に余白、中央寄せ */
}

/* 対応車種テーブルのスタイル */
.table-service {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.table-service th, .table-service td {
  border: 1px solid #ccc;
  padding: 0.5rem 0.75rem;
  text-align: left;
}
.table-service th {
  background: #f6f6f6;
}

/* 注意書きのスタイル */
.notice {
  font-size: 0.9rem;
  color: #666;
  margin: 0.5rem 0 2rem 0;
}

/* 戻るボタンのスタイル */
.back-button {
  display: inline-block;
  background-color: #333;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}
.back-button:hover {
  background-color: #555;
}

.service-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.service-link:hover {
  opacity: 0.85;
  text-decoration: none;
}

.service-box a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-box h2,
.service-box p {
  margin: 0;
}

/* サービス詳細の最大幅・中央寄せ */
.service-detail-main {
  max-width: 750px;
  margin: 120px auto 60px auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.11);
  padding: 32px 18px 38px 18px;
}
@media (max-width: 900px) {
  .service-detail-main { max-width: 98vw; padding: 2vw 2vw; }
}

/* サービス詳細内 テーブル（車種対応表） */
.service-detail-main .table-service {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 1.2rem 0;
  font-size: 1.05rem;
  background: #fafcff;
  box-shadow: 0 1px 6px #0001;
}
.service-detail-main .table-service th,
.service-detail-main .table-service td {
  border: 1px solid #ddd;
  padding: 14px 12px 13px 14px;
  text-align: left;
  vertical-align: top;
  font-weight: 600;
  background: #f6f7fa;
}
.service-detail-main .table-service th {
  background: #f3f5f7;
  color: #555;
  font-size: 1.15em;
  width: 115px;
  text-align: center;
}
.service-detail-main .table-service td {
  font-weight: normal;
  color: #333;
  background: #fff;
}
.compat-note {
  color: #888;
  font-size: .97em;
  margin-left: 8px;
  display: inline-block;
  margin-top: 4px;
}

/* サブ画像ギャラリー */
.service-detail-main .service-gallery {
  margin-bottom: 16px;
  gap: 20px;
}
.service-detail-main .sub-image {
  max-width: 220px;
  width: 100%;
  height: auto;
  border-radius: 7px;
  display: block;
}

/* レスポンシブ */
@media (max-width: 700px) {
  .service-detail-main { padding: 1vw 2vw 18vw 2vw; }
  .service-detail-main .table-service th,
  .service-detail-main .table-service td {
    font-size: .99em;
    padding: 10px 4vw;
  }
  .service-detail-main .sub-image {
    max-width: 100vw;
  }
}

#image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.45);
  transition: background .25s;
  cursor: zoom-out;
  padding-top: 5%;
}
#image-modal .modal-bg {
  position: absolute;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}
#modal-image {
  position: relative;
  z-index: 2;
  max-width: 88vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 8px 40px #0007;
  background: #fff;
  display: block;
  margin: 0 auto;
  cursor: zoom-out;
  transition: box-shadow .18s;
}
@media (max-width: 600px) {
  #modal-image { max-width: 98vw; max-height: 70vh; }
}

/* お問い合わせページ用追加スタイル */

/* エラーメッセージ */
.error-message {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 30px;
    color: #e53e3e;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-message::before {
    content: '⚠';
    font-size: 18px;
    font-weight: bold;
}

/* ページサブタイトル */
.page-subtitle {
    color: #666;
    font-size: 16px;
    margin-top: 10px;
    text-align: center;
}

/* フォームスタイル改良 */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.required {
    background: #e53e3e;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 8px;
    font-weight: normal;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.field-error {
    color: #e53e3e;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.privacy-notice {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.privacy-notice p {
    margin: 0;
    color: #666;
}

.privacy-notice a {
    color: #667eea;
    text-decoration: none;
}

.privacy-notice a:hover {
    text-decoration: underline;
}

.submit-btn {
    text-align: center;
    margin-top: 30px;
}

.submit-btn button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    justify-content: center;
}

.submit-btn button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.submit-btn button:active {
    transform: translateY(0);
}

/* お問い合わせ情報セクション */
.contact-info {
    max-width: 800px;
    margin: 60px auto 0;
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-info h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-method {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-method h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-method h3 i {
    color: #667eea;
    font-size: 20px;
}

.contact-method p {
    margin: 8px 0;
    color: #666;
}

.contact-method a {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
}

.contact-method a:hover {
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-form,
    .contact-info {
        margin: 20px;
        padding: 25px;
    }

    .contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .submit-btn button {
        width: 100%;
        padding: 15px 20px;
    }

    .page-title h1 {
        font-size: 24px;
    }
}

/* パンくずリスト（共通スタイル） */
.breadcrumb {
    background: #f8f9fa;
    padding: 10px 0;
    margin-bottom: 20px;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '>';
    margin: 0 10px;
    color: #666;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #4c63d2;
    text-decoration: underline;
}

.breadcrumb span[aria-current="page"] {
    color: #333;
    font-weight: bold;
}

/* 利用規約・プライバシーポリシーページ用スタイル */
.terms-content,
.privacy-policy {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    line-height: 1.8;
}

.terms-section,
.policy-section {
    margin-bottom: 40px;
}

.terms-section h2,
.policy-section h2 {
    color: #333;
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #667eea;
}

.terms-section h3,
.policy-section h3 {
    color: #333;
    font-size: 18px;
    margin: 20px 0 10px;
}

.terms-section ul,
.policy-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.terms-section li,
.policy-section li {
    margin-bottom: 8px;
}

.terms-update,
.policy-update {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
    text-align: right;
    color: #666;
}

.contact-address {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-style: normal;
    line-height: 1.6;
}

.contact-address strong {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-size: 18px;
}

.contact-address a {
    color: #667eea;
    text-decoration: none;
}

.contact-address a:hover {
    text-decoration: underline;
}

/* レスポンシブ対応強化 */

/* タブレット対応 (768px - 1024px) */
@media screen and (max-width: 1024px) and (min-width: 769px) {
  .top-service-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-calendar-wrap {
    flex-direction: column;
  }
}

/* スマホ対応強化 (～768px) */
@media screen and (max-width: 768px) {
  /* ヘッダー */
  header .container {
    padding: 10px 15px;
  }

  .logo img {
    max-width: 120px;
    height: auto;
  }

  /* メインビジュアル */
  .main-visual {
    height: 50vh;
    min-height: 300px;
  }

  /* サービスセクション */
  .top-service-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .top-service-box {
    padding: 15px;
  }

  .top-service-name {
    font-size: 1.1rem;
  }

  /* ニュースセクション */
  .topics-list {
    padding: 0 10px;
  }

  .topics-list li {
    margin-bottom: 15px;
  }

  .topics-headline {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* SNSセクション */
  .sns-links {
    flex-direction: column;
    gap: 20px;
  }

  .sns-item {
    width: 100%;
    max-width: 100%;
  }

  /* フッター */
  .footer-container {
    padding: 20px 15px;
  }

  .footer-calendar-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .calendar {
    font-size: 0.85rem;
    min-width: 280px;
  }

  .calendar th,
  .calendar td {
    padding: 6px 4px;
  }
}

/* 極小画面対応 (～375px) */
@media screen and (max-width: 375px) {
  .top-service-name {
    font-size: 1rem;
  }

  .topics-headline {
    font-size: 0.9rem;
  }

  .calendar {
    font-size: 0.8rem;
  }
}

/* タッチデバイス対応 */
@media (hover: none) and (pointer: coarse) {
  .top-service-box:active,
  .btn-more:active,
  a:active {
    opacity: 0.7;
    transform: scale(0.98);
  }
}

/* 印刷対応 */
@media print {
  header,
  .hamburger-menu,
  .sp-nav,
  #page-loader,
  .btn-more {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  a {
    text-decoration: underline;
    color: black;
  }
}

/* ============================================================
   パンくずリスト - 全ページ統一スタイル
   ============================================================ */

.breadcrumb {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 12px 20px;
  margin: 0 0 20px 0;
  border-radius: 8px;
  border-left: 4px solid #667eea;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: #495057;
}

.breadcrumb li::after {
  content: "›";
  margin: 0 8px;
  color: #adb5bd;
  font-size: 1.1em;
  font-weight: 600;
}

.breadcrumb li:last-child::after {
  content: none;
}

.breadcrumb a {
  color: #667eea;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 500;
}

.breadcrumb a:hover {
  color: #764ba2;
  background-color: rgba(102, 126, 234, 0.1);
  text-decoration: underline;
}

.breadcrumb a:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

.breadcrumb span[aria-current="page"] {
  color: #495057;
  font-weight: 600;
  padding: 4px 8px;
}

/* ホームアイコン追加対応 */
.breadcrumb .home-icon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.breadcrumb .home-icon::before {
  content: "🏠";
  font-size: 1em;
}

/* タブレット対応 (768px - 1024px) */
@media screen and (max-width: 1024px) {
  .content-block {
    margin: 18px auto;
    padding: 18px;
    width: calc(100% - 36px);
  }

  .breadcrumb {
    padding: 10px 16px;
    font-size: 0.88rem;
    margin-bottom: 18px;
  }

  .breadcrumb ol {
    gap: 6px;
  }

  .breadcrumb li::after {
    margin: 0 6px;
  }
}

/* スマートフォン対応 (481px - 768px) */
@media screen and (max-width: 768px) {
  .content-block {
    margin: 15px auto;
    padding: 15px;
    width: calc(100% - 30px);
  }

  .breadcrumb {
    padding: 10px 15px;
    font-size: 0.85rem;
    margin: 0 0 15px 0;
    border-radius: 0;
    border-left: none;
    border-bottom: 3px solid #667eea;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    width: 100%;
    box-sizing: border-box;
  }

  .breadcrumb ol {
    gap: 4px;
    flex-wrap: nowrap;
  }

  .breadcrumb li {
    white-space: nowrap;
  }

  .breadcrumb li::after {
    margin: 0 4px;
    font-size: 1em;
  }

  .breadcrumb a,
  .breadcrumb span[aria-current="page"] {
    padding: 3px 6px;
    font-size: 0.85rem;
  }

  /* 長いテキストは省略 */
  .breadcrumb span[aria-current="page"] {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
  }
}

/* 小型スマートフォン対応 (最大480px) */
@media screen and (max-width: 480px) {
  .content-block {
    margin: 12px auto;
    padding: 12px 10px;
    width: calc(100% - 24px);
  }

  .breadcrumb {
    padding: 8px 12px;
    font-size: 0.8rem;
    margin: 0 -5px 12px -5px;
  }

  .breadcrumb ol {
    gap: 3px;
  }

  .breadcrumb li::after {
    margin: 0 3px;
    font-size: 0.9em;
  }

  .breadcrumb a,
  .breadcrumb span[aria-current="page"] {
    padding: 2px 4px;
    font-size: 0.8rem;
  }

  .breadcrumb span[aria-current="page"] {
    max-width: 120px;
  }
}

@media screen and (max-width: 375px) {
  .content-block {
    margin: 10px auto;
    padding: 10px 8px;
    width: calc(100% - 20px);
  }
}

/* 極小画面対応 (最大375px) */
@media screen and (max-width: 375px) {
  .breadcrumb {
    padding: 6px 10px;
    font-size: 0.75rem;
    margin: 0 -3px 10px -3px;
  }

  .breadcrumb span[aria-current="page"] {
    max-width: 100px;
  }
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
  .breadcrumb a {
    transition: none;
  }
}

/* ハイコントラストモード対応 */
@media (prefers-contrast: high) {
  .breadcrumb {
    border-left-width: 5px;
  }

  .breadcrumb a {
    text-decoration: underline;
  }
}
