/* reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1, h2, h3, h4 {font-weight: normal;}
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.7;
  color: #222;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}
section {
  text-align: center;
  position: relative;
}
.inner {
  max-width: 1150px;
  width: 100%;
  margin: 10rem auto;
  padding: 0 10px;
}
.ttl01 {
  font-size: 24px;
  letter-spacing: 0.2rem;
}
.ttl01 span {
  font-size: 10px;
  color: #b2b2bb;
  display: block;
  letter-spacing: 0.05rem;
  font-weight: bold;
}
.ttl04 {background-color: #00001e;padding: 2px 20px;border-radius: 20px;
  color: #fff;display: inline-block;font-size: 20px;letter-spacing: 0.1rem;}
img {
    max-width: 100%;
    height: auto;
}
:root {
  --main-color: #00001e; /* 濃い紺色 */
  --highlight-blue: #2c4ba3; /* 明るい紺色 */
  --bg-gray: #f2f2f4;
}
@media (max-width: 768px) {
  .ttl01 {font-size: 20px;}
}
/* header ================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  color: #fff;
}
.lower .header {
  color: var(--main-color);
  background: #fffffff0;
}
.header.is-colored {
  background: rgba(139, 160, 156, 0.9);
  transition: background 0.3s;
}
.lower .header.is-colored {
  background: #fffffff0;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  max-width: 100%;
}

.header__logo img {
  max-height: 52px;
  width: 85%;
}

.nav {
  display: flex;
  gap: 50px;
  list-style: none;
}

.nav__item {
  position: relative;
  padding: 10px 0;
}

.nav__link-wrap {
  display: block;
  text-align: left;
  border-left: 2px solid #fff;
  padding-left: 15px;
  cursor: pointer;
}
.lower .nav__link-wrap {
  border-left: 2px solid var(--main-color);
}

.nav__jp {
  display: block;
  font-size: 16px;
  letter-spacing: 0.05em;
}

.nav__en {
  display: block;
  font-size: 12px;
  font-weight: bold;
  opacity: 0.9;
  letter-spacing: 0.1rem;
}

.mega {
  position: absolute;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s;
  border-left: 2px solid #fff;
}
.lower .mega {
  border-left: 2px solid var(--main-color);
}

.has-mega:hover .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega a {
  display: block;
  padding: 0 0 0 0.5rem;
  color: #00001e;
  font-size: 14px;
  text-decoration: none;
  background: #fff;
  margin: 0.5rem;
}
.mega a:hover {
  background-color: var(--main-color);
  color: #fff;
}

.mega a::before {
  content: '';
  display: inline-block;
  width: 0.3em;
  height: 0.3em;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.5em;
  vertical-align: middle;
  margin-right: 10px;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.contact {
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: url(../images/common/ico_hd_contact.svg) calc(50% + 0.5rem) top no-repeat;
  background-size: 26px auto;
  padding: 28px 0 0 1.5rem;
  border-left: 1px solid #fff;
}
.lower .contact {
  color: var(--main-color);
  border-left: 1px solid var(--main-color);
  filter: brightness(0);
}

.contact .icon {
  display: block;
  font-size: 20px;
  line-height: 1;
}

.menu-btn {
  width: 54px;
  height: 54px;
  background: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  color: #000;
}
.lower .menu-btn {
  background: var(--main-color);
  color: #fff;
}

/* 全画面メニューの背景と余白 */
.sp-menu {
  position: fixed;
  inset: 0;
  background: #f8f9fa;
  z-index: 2000;
  padding: 80px 40px;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
  overflow-y: auto;
}

/* メニューが開いている時（ここだけJSでクラス付与が必要ですが、開閉動作自体はHTMLのみで動きます） */
.sp-menu.is-open {
  opacity: 1;
  visibility: visible;
}

/* 閉じるボタン：×印 */
.sp-menu__close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: #fff;
  border: 1px solid #000;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0;
}
.sp-menu__close::before,
.sp-menu__close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 1px;
  background: #000;
}
.sp-menu__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.sp-menu__close::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* ナビゲーションの基本スタイル */
.sp-nav li {
  list-style: none;
  border-left: 4px solid #00041e;
  margin-bottom: 1rem;
  position: relative;
}

/* アコーディオンの親（details）と見出し（summary） */
details summary {
  padding: 0 0 0 20px;
  cursor: pointer;
  list-style: none; /* デフォルトの三角形を消す */
}
details summary::-webkit-details-marker { display: none; } /* Safari用三角形消し */

.sp-nav .jp { font-size: 18px; font-weight: bold; color: #000; }
.sp-nav .en { font-size: 12px; color: #888;display: block; }

/* ＋マークの配置と回転 */
details summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  transition: 0.3s;
  color: #000;
  position: absolute;
  top: 0;
  right: 2rem
}
details[open] summary::after {
  content: 'ー';
  font-size: 19px;
}

/* 通常リンクのスタイル（summaryと合わせる） */
.sp-nav a {
  display: block;
  padding: 0 0 0 20px;
  text-decoration: none;
  color: #000;
}

/* アコーディオンの中身（子メニュー） */
.sp-menu img {
  width: 70%;
  max-width: 202px;
  margin-bottom: 2rem;
}
.sp-submenu {
  padding: 10px 0 20px 40px;
}
.sp-submenu a {
  padding: 10px 0;
  font-size: 15px;
}
.sp-submenu a::before {
  content: '';
  display: inline-block;
  width: 0.3em;
  height: 0.3em;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.5em;
  vertical-align: middle;
  margin-right: 10px;
}

/* お問合せリンク */
.sp-nav li.contact-link {
  border: none;
}
.sp-nav li.contact-link a {
  padding: 0;
  font-size: 15px;  
  margin-left: 0;
}
.contact-link a::before {
  content: '';
  display: inline-block;
  width: 0.3em;
  height: 0.3em;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.5em;
  vertical-align: middle;
  margin-right: 10px;
}
/* TOTOP================================================= */
/* ボタンの基本スタイル */
.totop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  background-color: #000420; /* 濃紺 */
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* 矢印とテキストを中央に配置 */
  border-radius: 50%;
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

/* 疑似要素で上向き矢印を作成 */
.totop::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(-45deg); /* L字を回転させて「^」にする */
  margin-bottom: 4px; /* テキストとの間隔 */
  display: block;
}

/* 表示状態（JSで制御） */
.totop.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.totop__text {
  font-size: 10px;
  font-weight: bold;
  line-height: 1;
}

.totop:hover {
  background-color: #8ba09c; /* ホバー時にヘッダー色へ */
}
/* MV ================================================= */
.mv {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

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

.mv__catch {
  position: absolute;
  top: 42%;
  left: 8%;
  transform: translateY(-50%);
  color: #fff;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
}

.mv__line {
  font-size: 58px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-align: left;
  text-shadow: 1px 1px 11px rgb(0 0 0 / 88%);
}


/* TOP新着=============================================*/
.new-arrivals {
  background: #f3f3f3;
}
.new-arrivals .ttl01 {
    text-align: left;
}

.new-arrivals__inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 40px 10px;
}

/* Heading */
.new-arrivals__heading {
  min-width: 260px;
}

.new-arrivals__heading .jp {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.new-arrivals__heading .en {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #999;
}
/* 共通ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 3px 38px 3px 38px;
  background: #00001e;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.1em;
  position: relative;
  min-width: 250px;
  justify-content: center;
  transition: opacity 0.3s;
}

.btn:hover {
  opacity: 0.7;
}
.btn::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  right: 1rem;
  position: absolute;
}

/* List */
.new-arrivals__list ul {
  list-style: none;
}

.new-arrivals__list li {
  display: flex;
  gap: 24px;
  padding: 14px 0;
  font-size: 14px;
  line-height: 1.8;
}

.new-arrivals__list .date {
  min-width: 120px;
  letter-spacing: 0.1em;
}

.new-arrivals__list .text {
  color: #222;
}

/* Responsive */
@media (max-width: 768px) {
  .new-arrivals__inner {
    flex-direction: column;
    gap: 40px;
    padding-bottom: 100px;
  }
}
/* TOP中古戸建=============================================*/
.poh {
  background: #fff;
}

.poh__inner {
  display: flex;
  gap: 40px;
}

/* Box */
.poh__box {
  flex: 1;
  border: 1px solid #403f81;
  border-radius: 12px;
  padding: 48px 40px 56px;
  text-align: center;
}

/* Title */
.poh__title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.1rem;
  color: #403f81;
  margin-bottom: 2rem;
}

.poh__title span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #b2b2bb;
  margin-left: -0.5rem;
}

/* Text */
.poh__text {
  margin-top: 32px;
}


/* Responsive */
@media (max-width: 768px) {
  .poh__inner {
    flex-direction: column;
  }
}
/* TOP違い=============================================*/
.comparison-section {
  max-width: 1150px;
  margin: 0 auto;
  padding: 40px 10px;
  text-align: center;
}

.comparison-container {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.comparison-card {
  background: var(--bg-gray);
  border-radius: 12px;
  padding: 40px 20px;
  flex: 1;
  min-width: 450px;
}


/* 吹き出しとアバター部分 */
.concerns-row {
  display: flex;
  justify-content: space-around;
  margin-bottom: 10px;
}

.concern-item {
  width: 30%;
}

.concern-bubble {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.concern-bubble span {
  font-size: 13px;
  display: block;
  margin-top: 5px;
  font-weight: bold;
}

.avatar img {
  width: 80px;
  height: auto;
  margin-top: -2.5rem;
}

/* 比較テーブル */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

.comparison-table th, .comparison-table td {
  padding: 15px 10px;
  font-size: 13px;
  border-bottom: 1px solid #00001e;
  border-right: 1px solid #00001e;
  vertical-align: middle;
}

.comparison-table .label {
  width: 80px;
}

.comparison-table th {
  border-left: 1px solid #00001e;
}
.comparison-table th:first-child {
  border-left: none;
}

.comparison-table .highlight {
  color: var(--highlight-blue);
  border-right: none;
  background: url(../images/common/ico_concern.svg) top center no-repeat;
  background-size: 60px auto;
  padding-top: 2rem;
}


.comparison-table .highlight-text {
  color: var(--highlight-blue);
  font-weight: bold;
  border-right: none;
}

/* モバイル対応 */
@media (max-width: 900px) {
  .comparison-card {
    min-width: 100%;
  }
}

/* TOP　流れ=============================================*/
/* 基本設定 */
/* Section Base */
.consult {
  padding: 80px 20px;
  background-color: #fff;
  text-align: center;
}

.consult__inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* List Layout */
.consult__list {
  display: flex;
  justify-content: center;
  gap: 60px; /* カード同士の間隔 */
}

.consult__item {
  flex: 1;
  max-width: 440px;
}

/* Card Style */
.consult__card {
  border: 1px solid #000420;
  border-radius: 12px;
  aspect-ratio: 440 / 270; /* 画像の比率を維持 */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.consult__card:hover {
  transform: translateY(-5px); /* ホバー時の微細な浮き */
}

.consult__card img {
  width: 45%; /* アイコンの大きさを適正化 */
  height: auto;
}

/* Label Below Card */
.consult__name {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 30px;
  color: #00001e;
}

/* Responsive */
@media (max-width: 768px) {
  .consult__list {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }
  
}
/* TOP中古戸建物件情報=============================================*/
.property-info {
  padding: 60px 20px;
  background-color: #fff;
  font-family: sans-serif;
}

/* ヘッダー部分 */
.header-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  margin-bottom: 40px;
}

.title {
  text-align: center;
  font-size: 22px;
  letter-spacing: 0.1em;
}

.en-title {
  display: block;
  font-size: 11px;
  color: #999;
  margin-top: 8px;
}

/* 矢印ボタン */
.nav-arrows {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 15px;
}

.arrow-btn {
  width: 35px;
  height: 35px;
  border: 1px solid #00001e;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-icon {
  width: 8px;
  height: 8px;
  border-top: 1px solid #00001e;
  border-right: 1px solid #00001e;
  display: inline-block;
}

.left .arrow-icon { transform: rotate(-135deg); margin-left: 3px; }
.right .arrow-icon { transform: rotate(45deg); margin-right: 3px; }

/* カルーセルエリア */
.property-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scrollbar-width: none; /* Firefox用 */
}

.property-slider::-webkit-scrollbar { display: none; } /* Chrome用 */

.property-card {
  flex: 0 0 370px; /* カードの幅 */
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
}

/* カード内テキスト */
.card-body {
  padding: 15px 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.property-title { font-size: 16px; margin-bottom: 8px; }
.details { font-size: 13px; margin-bottom: 4px; }
.price { font-size: 14px; margin-bottom: 8px; }

.rating { display: flex; align-items: center; font-size: 14px; min-height: 28px; flex-shrink: 0; }
.rating--empty { min-height: 28px; }
.stars { color: #ffb400; margin: 0 8px; letter-spacing: 2px; }
.score { font-size: 20px; font-weight: bold; }

/* TOP　会社概要=============================================*/

/* 共通パーツ: 見出しとボタン */
.en-title {
  font-size: 12px;
  color: #aaa;
  letter-spacing: 0.1em;
  margin-top: -10px;
  margin-bottom: 20px;
}

/* 会社概要セクション */
.overview-section {
  max-width: 1150px;
  margin: 0 auto 80px;
}

.overview-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.overview-image {
  flex: 1;
}

.overview-image img {
  width: 100%;
  border-radius: 15px;
  display: block;
}

.overview-text {
  flex: 0 0 300px;
  text-align: center;
}

.overview-text h2 {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 500;
}

/* お問合せセクション */
.contact-section {
  background-color: var(--bg-gray);
  border-radius: 10px;
  padding: 60px 40px;
  max-width: 1150px;
  margin: 0 auto;
}

.contact-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-header h2 {
  font-size: 24px;
  margin-bottom: 10px;
  text-align: left;
}

.contact-desc {
  font-size: 14px;
  margin-top: 30px;
  text-align: left;
}

.contact-info {
  text-align: center;
  border-left: 1px solid #ccc;
  padding: 0 40px;
}

.tel-label {
  font-size: 14px;
  margin-bottom: 5px;
}

.tel-number {
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin: 0;
}

.tel-note {
  font-size: 12px;
  margin-top: 5px;
}

.contact-action {
  flex-shrink: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .property-info .ttl01 {
    margin-bottom: 3rem;
  }
  .overview-content {
    flex-direction: column-reverse;
    text-align: center;
  }
  .contact-container {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-info {
    border-left: none;
    border-bottom: 1px solid #000;
    padding: 30px 0;
  }
  
  .overview-text {
    flex: none;
    width: 100%;
    margin-top: 20px;
  }
  
  .btn-dark {
    margin: 0 auto;
  }
  .contact-header h2, .contact-desc {
    text-align: center;
}

}
/* リノベーション=============================================*/
.bg-gray {
  background: var(--bg-gray);
  padding: 8rem 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 10rem;
}
@media (max-width: 768px) {
  .bg-gray {padding: 5rem 0;margin-bottom: 5rem;}
}

.merit-container {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  justify-content: center;
  padding: 10px 20px 0;
}

.merit-card {
  flex: 1;
  background-color: #fff;
  border: 1px solid #333; /* 外枠の線 */
  border-radius: 12px;    /* 角丸 */
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
}

/* ヘッダー部分 */
.merit-header {
  text-align: center;
  margin-bottom: 30px;
}

.merit-number {
  font-size: 18px;
  font-weight: bold;
  color: #000428;
  margin-bottom: 5px;
}

.merit-number .num {
  font-size: 28px;
  margin-left: 5px;
  font-family: Arial, Helvetica, sans-serif;
}

.merit-title {
  font-size: 20px;
  font-weight: bold;
  color: #3e4095; /* 濃い青色 */
  margin: 0;
}

/* 画像エリア */
.merit-image {
  width: 100%;
  margin-bottom: 10px;
}

.merit-image img {
  width: 100%;
  height: auto;
  object-fit: cover; /* 枠いっぱいに収める */
}

/* 説明文 */
.merit-body p {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  text-align: justify; /* 日本語の端を揃える */
  margin: 0;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .merit-container {
    flex-direction: column; /* 縦並びに */
  }
  
  .merit-card {
    padding: 30px 20px;
  }

  .merit-title {
    font-size: 18px;
  }
}

/* ======================断熱性能 */
.read {font-size: 24px;font-weight: bold;}

.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 10px;
}

/* グリッドレイアウト */
.grid-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

/* 各ポイントのスタイル */
.point-item {
  flex: 1 1 calc(25% - 30px); /* 4カラム計算 */
  min-width: 250px;
}

.point-header {
  text-align: center;
  margin-bottom: 20px;
}

/* POINT 01 部分 */
.point-label {
  display: inline-block;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 0.05em;
  border-bottom: 3px solid;
  margin-bottom: 15px;
}

.point-number {
  font-size: 24px;
  margin-left: 4px;
}

/* タイトル部分 */
.point-title {
  color: #403f81; /* 画像の少し明るい紺色 */
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  line-height: 1.4;
}

/* 説明文 */
.point-text {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  text-align: justify;
}

/* レスポンシブ調整: タブレット・スマホ */
@media (max-width: 1024px) {
  .point-item {
    flex: 1 1 calc(50% - 20px); /* 2カラム */
  }
}

@media (max-width: 575px) {
  .point-item {
    flex: 1 1 100%; /* 1カラム */
  }
  .read {font-size: 18px;}
}
/* ======================事例 */
.case-study {
  margin: 0 auto;
  text-align: left;
}

.case-header {
  border-left: 4px solid #403f81;
  padding-left: 10px;
  margin-bottom: 15px;
  font-weight: bold;
  font-size: 18px;
}

/* メイン画像エリア */
/* メイン画像エリア */
.main-visual-container {
  position: relative;
  background-color: #dcdcdc;
  border: 1px solid #333;
  width: 100%;
  aspect-ratio: 15 / 10; /* コンテナの比率を固定 */
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-image-wrapper {
  width: 100%;
  height: 100%;
}

.main-image-wrapper img {
  width: 100%;
  height: 100%;
  /* 比率を維持して枠内に収める（画像は伸びない） */
  object-fit: contain;
  display: block;
}

/* サムネイルコンテナ（横スクロール設定） */
.thumbnail-container {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  overflow-x: auto; /* 横スクロールを許可 */
  white-space: nowrap; /* 改行を防ぐ */
  -webkit-overflow-scrolling: touch; /* iOSの慣性スクロール */
  padding-bottom: 8px; /* スクロールバーとの隙間 */
}

/* スクロールバーのデザイン（任意：非表示にしたい場合） */
.thumbnail-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari用 */
}
.thumbnail-container {
  -ms-overflow-style: none; /* IE, Edge用 */
  scrollbar-width: none; /* Firefox用 */
}

/* サムネイル単体 */
.thumbnail {
  flex: 0 0 120px; /* 横幅を固定して並べる */
  aspect-ratio: 3 / 2;
  border: 1px solid #333;
  cursor: pointer;
  background-color: #eee;
  overflow: hidden;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.thumbnail.active {
  opacity: 1;
  outline: 2px solid #403f81;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* サムネイルは枠いっぱいに表示 */
}

/* Before/Afterのバッジ */
.status-badge {
  position: absolute;
  top: 10px;
  left: 20px;
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  pointer-events: none;
}


/* ナビゲーションボタン */
.nav-btn {
  position: absolute;
  bottom: 10px;
  background: white;
  border: 1px solid #333;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 10;
}
.prev { right: 50px; }
.next { right: 10px; }

.description-lead {font-size: 20px;font-weight: bold;margin-bottom: 1rem;}

/* 売却の流れ=============================================*/
.flow-section {
  background-color: var(--bg-gray);
  margin: 40px auto;
  padding: 40px 20px;
  border-radius: 10px;
  box-sizing: border-box;
}

.flow-header {
  text-align: center;
  margin-bottom: 40px;
}

/* --- ステップ配置（PC） --- */
.flow-steps {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.step-item {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

/* 最後のステップ以外に矢印（疑似要素）を付与 */
.step-item:not(:last-child) {
  padding-right: 10px; /* 矢印が入るスペース */
}

/* 矢印の黒い四角 */
.step-item:not(:last-child)::before {
  content: "";
  position: absolute;
  right: -3px;
  width: 16px;
  height: 16px;
  background-color: #00081a;
  z-index: 1;
}

/* 矢印の白い三角 */
.step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 4px; /* 四角の中央にくるよう調整 */
  width: 5px;  /* 矢印のサイズ */
  height: 5px; /* 矢印のサイズ */
  border-top: 1.5px solid #fff;  /* 矢印の太さ */
  border-right: 1.5px solid #fff; /* 矢印の太さ */
  transform: translateY(-50%) rotate(45deg); /* 45度回転させて「＞」にする */
  top: 50%;
  z-index: 2;
}

.step-card {
  background-color: #fff;
  flex: 1;
  height: 100%;
  padding: 12px 4px;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.step-num {
  font-size: 16px;
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid #333;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.step-content {
  font-size: 16px;
  line-height: 1.4;
  margin-top: auto;
  margin-bottom: auto;
}

.step-sub {
  display: block;
  font-size: 9px;
  font-weight: normal;
  margin-top: 4px;
  transform: scale(0.85);
}

/* --- レスポンシブ（768px以下：1列表示） --- */
@media screen and (max-width: 768px) {
  .status-badge {font-size: 16px;left: 10px;top: 0;}
  .flow-steps {
    flex-direction: column;
    align-items: center;
  }

  .step-item {
    width: 100%;
    max-width: 300px;
    padding-right: 0 !important;
    flex-direction: column;
  }

  /* スマホ時は下側に矢印を配置 */
  .step-item:not(:last-child) {
    margin-bottom: 20px;
  }

  .step-item:not(:last-child)::before {
    right: auto;
    bottom: -23px; /* カードの下に配置 */
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
    width: 30px;
    height: 30px;
  }

  .step-item:not(:last-child)::after {
    right: auto;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
    top: initial;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
  }

  .step-card {
    width: 100%;
    height: auto;
    padding: 20px 10px;
  }
}

/* ============流れ */
/* ベーススタイル */
.step-detail-section, .section {
  padding: 80px 0;
}

.step-detail-container {
  max-width: 1150px;
  margin: 0 auto;
  text-align: center;
}

/* イラスト部分 */
.step-visual {
  margin-bottom: 40px;
}
.step-visual img {
  max-width: 100%;
  height: auto;
  border-radius: 12px; /* 画像の角丸を再現 */
}

/* タイトル周り */
.step-label {
  font-size: 20px;
  letter-spacing: 0.1em;
}

.step-title {
  font-size: 26px;
  font-weight: normal;
  letter-spacing: 0.2em;
  margin-bottom: 5px;
}

.step-note {
  font-size: 13px;
  margin-bottom: 5px;
  letter-spacing: 0.1em;
}


/* 説明文 */
.step-description {
  line-height: 2;
  font-size: 15px;
  word-break: break-all;
}
.step-description p {
  margin-bottom: 0.5em;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .step-title {
    font-size: 20px;
  }
  .step-description {
    font-size: 14px;
    text-align: left; /* スマホでは読みやすさ優先で左寄せ */
    display: inline-block;
  }
  .btn-thk {
    width: 100%;
    max-width: 300px;
    box-sizing: border-box;
  }
  .step-visual {margin-top: 8rem;}
}

/* ===========- */
/* 見出し：両側ライン */
.item-header {
  display: flex;
  align-items: center;
  max-width: 550px;
  width: 100%;
  margin: 0 auto 1rem;
}

.item-header::before,
.item-header::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #00001e;
}

.item-title {
  padding: 0 20px;
  font-weight: bold;
  color: #00001e;
  margin: 0;
}

/* 項目リストのレイアウト */
.item-list {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
  justify-content: center;
  max-width: 550px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.item-box {
  flex: 1 1 30%;
  text-align: center;
  padding: 5px 10px;
  font-weight: 500;
  color: #00001e;
  border: 1px solid #00001e;
  border-radius: 5px;
  background-color: #fff;
}

/* スマホ対応：横並びだと狭い場合は縦にする */
@media (max-width: 600px) {
  .item-list {gap: 10px;justify-content: flex-start;font-size: 13px;}
  .item-title {
    font-size: 20px;
  }
  .item-box { 
      flex: 0 0 calc((100% - 10px) / 2); 
      min-width: 0; /* 2列を優先するために最小幅をリセット */
  }
}
/* パンくずリスト=============================================*/
.breadcrumb {
  font-size: 12px;
  color: #80808e;
  margin-bottom: 80px;
}
.breadcrumb a {
  text-decoration: none;
  color: #888;
}
.breadcrumb .separator {
  margin: 0 8px;
}

/* FOOTER=============================================*/
.footer {
  padding: 0 20px 40px;
  color: #00001e;
}

.footer-container {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

/* 左側：会社情報 */
.footer-info {
  flex: 0 0 300px;
}

.footer-logo {
  margin-bottom: 20px;
  padding-bottom: 15px;
  display: inline-block;
  width: 100%;
  max-width: 202px;
}

.company-details p {
  font-size: 14px;
  margin: 5px 0;
  line-height: 1.8;
}

.company-name {
  font-weight: bold;
  font-size: 16px !important;
  margin-bottom: 10px !important;
}

/* 右側：ナビゲーション */
.footer-nav {
  display: flex;
  flex: 1;
  justify-content: space-between;
  max-width: 700px;
}

.nav-column {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-column li {
  margin-bottom: 15px;
}

.nav-column a {
  text-decoration: none;
  font-size: 15px;
  display: flex;
  align-items: center;
  transition: color 0.3s;
}

.nav-column a::before {
  content: '';
  display: inline-block;
  width: 0.3em;
  height: 0.3em;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.5em;
  vertical-align: middle;
  margin-right: 10px;
}

.nav-column a:hover {
  color: #00001a;
  text-decoration: underline;
}

/* 下部：ライセンス情報 */
.footer-bottom {
  max-width: 1150px;
  margin: 0 auto 0;
  text-align: right;
  padding-top: 20px;
}

.footer-bottom p {
  font-size: 12px;
  line-height: 1.8;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .footer-nav {width: 100%;}
  .footer-container {
    flex-direction: column-reverse;
  }
  .contact-section {padding: 40px 40px 50px;}
}
  
@media (max-width: 575px) {
  
  .footer-nav {
    width: 100%;
    flex-direction: column;
    gap: 0;
  }
  
  .nav-column {
    min-width: 150px;
  }
  
  .footer-bottom {
    text-align: left;
  }
}
/* =============================================*/
/* 共通=============================================*/
.center {text-align: center;margin-right: auto;margin-left: auto;}
.bold {font-weight: bold;}
.mb8 {margin-bottom: 8rem;}
.mb6 {margin-bottom: 6rem;}
.mb4 {margin-bottom: 4rem;}
.mb2 {margin-bottom: 2rem;}
.mb1 {margin-bottom: 1rem;}

/* SP MENU =============================================*/

@media (max-width: 1270px) {

  .header__nav, .contact {
    display: none;
  }
}
/* PCのみ表示 */
@media (min-width: 768px) {
  .sp {display: none;}
}
/* SPのみ表示 */
@media (max-width: 768px) {
  .pc{display: none;}
  img {width: 100%;}
  .wrapper {padding: 0 10px;}
  .header__nav, .contact {
    display: none;
  }

  .menu-btn {
    display: flex;
  }
  .header__inner {
    padding: 15px 1rem;
    max-width: 100%;
  }

  .sp-menu.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .sp-menu__close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    border: 1px solid #00001e;
  }
  .sp-menu {
    padding: 2rem;
  }
 
/* SP MV ----------------- */
.inner {
  margin: 5rem auto;
}
  .mv {
    height: 100svh;
  }

  .mv__catch {
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .mv__line {
    writing-mode: vertical-rl;
    font-size: 38px;
    line-height: 1.5;
    letter-spacing: 0.1em;
  }
  .new-arrivals__heading {
    margin: 0 auto;
  }
  .new-arrivals__heading .btn, .overview-section .btn {
    position: absolute;
    bottom: 50px;
    left: calc(50% - 125px);
  }
  .overview-image {
    margin-top: -2rem;
    margin-bottom: 8rem;
  }
.new-arrivals__list li {
    flex-direction: column;
    text-align: left;
    gap: 0px;
}
.new-arrivals .ttl01 {
    text-align: center;
    margin-bottom: -1rem;
    }

.poh__box {padding: 2rem 1rem;}
.comparison-table th, .comparison-table td {
  padding: 5px;
}
/* SP共通=============================================*/
.align-l-sp {text-align: left;}
.mb8 {margin-bottom: 4rem;}
.mb6 {margin-bottom: 3rem;}
.mb4 {margin-bottom: 2rem;}
.mb2 {margin-bottom: 1rem;}
.mb1 {margin-bottom: 0.5rem;}
}
