@charset "UTF-8";
/* CSS Document */
/* トップページ以外のh1 */
.container-pages h1 {
  margin-left: 10px;
  font-size: 12px;
}
@media screen and (max-width: 700px) {
  .container-pages h1 {
    font-size: 10px;
  }
}
.container-pages-box section {
  margin: 50px auto;
}
@media screen and (max-width: 700px) {
  .container-pages-box section {
    margin: 80px auto;
  }
}
/* ------各ページタイトル------ */
.hero {
  position: relative;
  padding: 80px 10px;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: #f6f5f4;
  z-index: 1;
  margin-bottom: 50px;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 0;
}
.hero .catch-copy {
  position: relative; /* これでz-indexを有効に */
  z-index: 1;
  color: #fff; /* 文字色を白に */ text-shadow: 0 0 6px rgba(0, 0, 0, 0.7); /* 黒の影で文字を際立たせる */ font-size: 24px;
  font-weight: bold;
  text-align: center;
}
.hero .catch-copy span {
  font-family: 'Dancing Script', cursive;
  color: #b4845c;
}
/* ページ上部 ヒーローキャッチ */
.hero.page-about {
  background-image: url("../images/1.jpg");
  background-size: cover; /* 画像をセクション全体にフィット */
  background-position: center; /* 中央に配置 */
  background-repeat: no-repeat; /* 繰り返し防止 */
}
.hero.page-company {
  background-image: url("../images/1.jpg");
  background-size: cover; /* 画像をセクション全体にフィット */
  background-position: center; /* 中央に配置 */
  background-repeat: no-repeat; /* 繰り返し防止 */
}
.hero.page-price {
  background-image: url("../images/1.jpg");
  background-size: cover; /* 画像をセクション全体にフィット */
  background-position: center; /* 中央に配置 */
  background-repeat: no-repeat; /* 繰り返し防止 */
}
.hero.page-achievements {
  background-image: url("../images/1.jpg");
  background-size: cover; /* 画像をセクション全体にフィット */
  background-position: center; /* 中央に配置 */
  background-repeat: no-repeat; /* 繰り返し防止 */
}
.hero.page-buy {
  background-image: url("../images/1.jpg");
  background-size: cover; /* 画像をセクション全体にフィット */
  background-position: center; /* 中央に配置 */
  background-repeat: no-repeat; /* 繰り返し防止 */
}
.hero.page-case {
  background-image: url("../images/1.jpg");
  background-size: cover; /* 画像をセクション全体にフィット */
  background-position: center; /* 中央に配置 */
  background-repeat: no-repeat; /* 繰り返し防止 */
}
.hero.page-comparison {
  background-image: url("../images/1.jpg");
  background-size: cover; /* 画像をセクション全体にフィット */
  background-position: center; /* 中央に配置 */
  background-repeat: no-repeat; /* 繰り返し防止 */
}
.hero.page-demolition {
  background-image: url("../images/1.jpg");
  background-size: cover; /* 画像をセクション全体にフィット */
  background-position: center; /* 中央に配置 */
  background-repeat: no-repeat; /* 繰り返し防止 */
}
.hero.page-faq {
  background-image: url("../images/1.jpg");
  background-size: cover; /* 画像をセクション全体にフィット */
  background-position: center; /* 中央に配置 */
  background-repeat: no-repeat; /* 繰り返し防止 */
}
.hero.page-how {
  background-image: url("../images/1.jpg");
  background-size: cover; /* 画像をセクション全体にフィット */
  background-position: center; /* 中央に配置 */
  background-repeat: no-repeat; /* 繰り返し防止 */
}
.hero.page-journal {
  background-image: url("../images/1.jpg");
  background-size: cover; /* 画像をセクション全体にフィット */
  background-position: center; /* 中央に配置 */
  background-repeat: no-repeat; /* 繰り返し防止 */
}
.hero.page-journal-feature {
  background-image: url("../../images/1.jpg");
  background-size: cover; /* 画像をセクション全体にフィット */
  background-position: center; /* 中央に配置 */
  background-repeat: no-repeat; /* 繰り返し防止 */
}
.hero.page-media {
  background-image: url("../images/1.jpg");
  background-size: cover; /* 画像をセクション全体にフィット */
  background-position: center; /* 中央に配置 */
  background-repeat: no-repeat; /* 繰り返し防止 */
}
.hero.page-merit {
  background-image: url("../images/1.jpg");
  background-size: cover; /* 画像をセクション全体にフィット */
  background-position: center; /* 中央に配置 */
  background-repeat: no-repeat; /* 繰り返し防止 */
}
.hero.page-partner {
  background-image: url("../images/1.jpg");
  background-size: cover; /* 画像をセクション全体にフィット */
  background-position: center; /* 中央に配置 */
  background-repeat: no-repeat; /* 繰り返し防止 */
}
.hero.page-voice {
  background-image: url("../images/1.jpg");
  background-size: cover; /* 画像をセクション全体にフィット */
  background-position: center; /* 中央に配置 */
  background-repeat: no-repeat; /* 繰り返し防止 */
}
.hero.page-gallery {
  background-image: url("../images/1.jpg");
  background-size: cover; /* 画像をセクション全体にフィット */
  background-position: center; /* 中央に配置 */
  background-repeat: no-repeat; /* 繰り返し防止 */
}
.hero.page-inquiry {
  background-image: url("../images/1.jpg");
  background-size: cover; /* 画像をセクション全体にフィット */
  background-position: center; /* 中央に配置 */
  background-repeat: no-repeat; /* 繰り返し防止 */
}
/* ------------------------------
ABOUT ガレージハウスとは
------------------------------ */
/* -----ガレージハウスとは------ */
@media screen and (max-width: 700px) {
  .about-azto .wrap-40p {
    width: 80%;
  }
}
/* -----運用実績------ */
.about-case .frame-white {
  margin-top: 30px;
}
.about-case-title {
  display: flex;
  align-items: center;
  gap: 1em;
  font-size: 1.4em;
  white-space: nowrap;
  font-weight: normal;
  margin-left: 5px;
}
.about-case-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  gap: 0;
  padding: 5px;
  background-color: #b4845c;
  border-radius: 3px;
}
.about-case-text {
  margin-top: 2px;
  font-size: 0.4em;
  letter-spacing: 0.1em;
  color: #FFF;
  font-weight: bold;
}
.about-case-number {
  font-size: 1.1em;
  margin: 0;
  color: #FFF;
  font-weight: bold;
}
.about-case-text, .about-case-number {
  margin: 2px;
  padding: 0;
  line-height: 1;
}
.about-case-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  margin-bottom: 0;
  padding-bottom: 0;
}
.about-case-image {
  flex: 1 1 33%;
}
.about-case-image img {
  width: 100%;
  height: auto;
  border-radius: 3px;
}
.about-case-info {
  flex: 1 1 60%;
  padding: 0;
}
.about-case-info p {
  margin-top: 0;
}
.about-case-tables {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  margin-top: 20px;
}
.about-case-table-box {
  flex: 1 1 200px;
}
.about-case-table-box h4 {
  font-size: 1em;
  margin-top: 0;
  margin-bottom: 0.5em;
}
.about-case-table-box h4 {
  font-size: 1em;
  margin-top: 0;
  margin-bottom: 0.5em;
  position: relative;
  padding-left: 1.2em; /* ■とテキストの間の余白 */
}
.about-case-table-box h4::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}
.about-case-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.about-case-table th, .about-case-table td {
  border: 1px solid #c4bfb9;
  padding: 15px 8px; /* ← ここで調整 */
  text-align: center;
  line-height: 1.4;
  width: 50%;
  vertical-align: middle; /* ← 縦中央揃え */
}
.about-case-table th {
  background-color: #f6f3f0;
  width: 40%;
}
.about-yield-box {
  background-color: #f6f3f0;
  border: 2px solid #c4bfb9;
  padding: 20px 0;
  margin-top: 20px;
  text-align: center;
  margin-bottom: 5px;
}
.about-yield-box .label {
  font-size: 1em;
  font-weight: bold;
  margin-right: 0.5em;
}
.about-yield-box .value {
  font-size: 2em;
  font-weight: bold;
  color: #af6c56;
}
.about-yield-box .percent {
  font-size: 0.6em;
  position: relative;
  top: 0.1em;
  margin-left: 0.05em;
}
.about-yield-note {
  font-size: 0.75em;
  margin-top: 0.5em;
  line-height: 1.4;
  text-align: right;
}
/* ▼ タブレットの調整 ▼ */
@media screen and (max-width: 991px) {
  .about-case-columns {
    flex-direction: column;
  }
  .about-case-image, .about-case-info {
    flex: 1 1 100%;
  }
}
/* ▼ スマホ時の調整 ▼ */
@media screen and (max-width: 768px) {
  .about-case-title {
    gap: 0.2em; /* ← ラベルとタイトルの間を狭くする */
    font-size: 1.1em;
  }
  .about-case-text {
    font-size: 0.4em;
  }
  .about-case-number {
    font-size: 1em;
  }
}
/* -----建物の紹介------ */
.about-garagehouse img {
  margin: 2em 0;
}
.about-structure-info img {
  width: 50%;
}
@media screen and (max-width: 700px) {
  .about-structure-info img {
    width: 100%;
  }
}
.about-azto-details .cols-5-5-box-label {
  font-size: 1em;
}
.about-azto-details .cols-5-5-box-label strong {
  font-size: 2em;
}
.about-azto-details-box {
  margin-top: 2em;
}
.about-azto-details-box h4 {
  font-size: 1.2em;
  margin-bottom: 0.3em;
}
.about-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.about-specs-table th, .about-specs-table td {
  border: 1px solid #c4bfb9;
  padding: 0.7em;
  text-align: left;
}
.about-specs-table th {
  background-color: #f6f3f0;
  font-weight: normal;
  white-space: nowrap;
}
.about-structure-info {
  overflow: hidden;
  margin-bottom: 2em;
}
.about-structure-info .about-float-image {
  float: left;
  width: 300px;
  max-width: 100%;
  margin-right: 1.5em;
  margin-bottom: 1em;
  height: auto;
  border-radius: 8px;
}
@media screen and (max-width: 700px) {
  .about-garagehouse img {
    width: 80%;
    margin: 2em auto;
  }
}
/* -----例えば、こんな使い方------ */
.about-users .cols-5-5 {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
}
.about-users .cols-5-5-box {
  flex: 1 1 45%;
}
.about-users .cols-5-5-box-label {
  font-size: 1em;
}
.about-users .cols-5-5-box-label strong {
  font-size: 1.5em;
}
@media screen and (max-width: 768px) {
  .about-users .cols-5-5-box {
    flex: 1 1 100%;
  }
}
/* -----施工事例------ */
.about-jirei-img {
  margin: 0 auto 3em;
  width: 50%;
}
@media screen and (max-width: 768px) {
  .about-jirei-img {
    width: 95%;
  }
}
/* ------------------------------
COMPANY 会社概要
------------------------------ */
/*-----会社概要-----*/
.company-info {
  max-width: 800px;
  margin: 2em auto;
  padding: 1em;
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.6;
}
.company-info dl {
  margin: 0;
  padding: 0;
}
.company-info dt {
  font-weight: bold;
  color: #4a4642;
  padding: 3em 1em 1em;
}
.company-info dd {
  padding: 2em 4em;
  margin: 0;
  border-top: 1px dotted #ccc;
}
.company-info a {
  text-decoration: underline;
  color: #6b8b8d;
}
.company-info ul {
  padding-left: 1.5em;
  margin: 0.5em 0;
}
.company-address {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}
.company-address > div {
  flex: 1 1 45%; /* 並べつつ余白確保 */
}
.company-info h2 {
  font-size: 2em;
  margin-bottom: 1em;
  border-bottom: 2px solid #aaa;
  padding-bottom: 0.5em;
}
.company-info .cols-5-5 .cols-5-5-box img {
  width: 100%; /* 横幅いっぱいに広げる */
  aspect-ratio: 3 / 2; /* 縦横比 3:2 に固定 */
  object-fit: cover; /* はみ出る部分はトリミング */
  display: block;
}
.company-profile h3 {
  margin-top: 2em;
  font-size: 1.5em;
}
.company-profile ul {
  list-style: disc;
  padding-left: 0;
}
.company-business {
  margin-top: 3em;
}
.company-business h3 {
  margin-top: 0;
}
@media screen and (max-width: 768px) {
  .company-info dt {
    padding: 2em 0.5em 1em;
  }
  .company-info dd {
    padding: 1.5em 2.5em;
  }
  .company-address {
    flex-direction: column;
  }
  .company-address > div {
    flex: 1 1 100%; /* 幅を100%にして縦並び */
  }
  .company-info h4 {
    margin: 0.3em 0;
  }
}
/*-----ガレージハウスとの組み合わせ経営-----*/
.company-apt .company-logo img {
  max-width: 300px;
  height: auto;
  margin-bottom: 0.5em;
}
.company-apt .point-title h3 {
  margin-top: 1em;
  margin-bottom: 1em;
  line-height: 130%;
}
.company-apt .point-label {
  margin-bottom: 0.5em;
}
.company-comb-text {
  line-height: 130%;
  margin-bottom: 30px;
}
.company-comb_img {
  width: 100%;
  aspect-ratio: 3 / 2; /* ← ここで縦横比を設定（1/1なら正方形） */
  object-fit: cover; /* 中央をトリミングしてバランスを維持 */
  border-radius: 8px; /* 角丸にしたい場合 */
  display: block;
}
/* ------------------------------
PRICE 価格表
------------------------------ */
/* ------ AZTOの9タイプ ------ */
.price-type-box {
  margin-top: 30px;
}
.price-type-title-box {
  display: flex;
  align-items: center;
  gap: 1em;
  border-bottom: 1px solid #6b8b8d;
}
.price-type-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  gap: 0;
  padding: 5px;
  background-color: #6b8b8d;
  border-radius: 0 4px 0 0;
}
.price-type-text {
  margin-top: 2px;
  font-size: 0.5em;
  letter-spacing: 0.1em;
  color: #fff;
  font-weight: bold;
}
.price-type-number {
  font-size: 1.1em;
  margin: 0;
  color: #fff;
  font-weight: bold;
}
.price-type-text, .price-type-number {
  margin: 2px;
  padding: 0;
  line-height: 1;
}
.price-type-title {
  font-size: 1.3em;
  white-space: nowrap;
  font-weight: bold;
  margin-left: 5px;
}
.price-type-title-sub {
  font-size: 0.8em;
  margin-left: 0.3em;
  letter-spacing: 0.05em;
}
/* ▼ スマホ時の調整 ▼ */
@media screen and (max-width: 768px) {
  .price-type-title-box {
    gap: 0.2em;
  }
  .price-type-text {
    font-size: 0.4em;
  }
  .price-type-number {
    font-size: 1em;
  }
  .price-type-title {
    font-size: 1em;
  }
  .price-type-title-sub {
    font-size: 0.6em;
  }
}
.price-type-columns {
  display: flex;
  align-items: flex-start; /* ← 上端を揃える */
  flex-wrap: wrap;
  gap: 2em;
  margin-bottom: 0;
  padding-bottom: 0;
  padding-top: 0;
}
.price-type-columns p {
  margin-top: 0;
}
.price-type-image {
  flex: 1 1 33%;
}
.price-type-image img {
  width: 100%;
  height: auto;
  border-radius: 3px;
  aspect-ratio: 3 / 2; /* ← ここで縦横比を固定 */
  object-fit: cover; /* ← 画像をはみ出さずトリミング */
}
.price-type-info {
  flex: 1 1 60%;
  padding: 0;
}
.price-type-tables {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  margin-top: 20px;
  align-items: flex-end;
}
.price-type-table-box {
  flex: 1 1 200px;
}
.price-type-table-box h4 {
  font-size: 1em;
  margin-top: 0;
  margin-bottom: 0.5em;
  position: relative;
  padding-left: 1.2em; /* ■とテキストの間の余白 */
}
.price-type-table-box h4::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}
.price-type-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.price-type-table th, .price-type-table td {
  border: 1px solid #c4bfb9;
  padding: 10px 8px; /* ← ここで調整 */
  text-align: center;
  line-height: 1.2;
  width: 50%;
  vertical-align: middle; /* ← 縦中央揃え */
}
.price-type-table th {
  background-color: #f6f3f0;
  width: 40%;
}
.price-type {
  margin: 20px 0 40px;
}
.price-title {
  font-size: 1.5rem;
  font-weight: bold;
}
.price-title-en {
  font-size: 0.8em;
  font-weight: bold;
  margin-left: 5px;
}
.product-price {
  border: 2px solid #c4bfb9;
  padding: 1em 2em;
  text-align: center;
  background-color: #fff;
  font-family: sans-serif;
  width: 100%;
  height: 110px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.4em;
  box-sizing: border-box;
  white-space: nowrap; /* ← 改行を防ぐ */
  flex-wrap: nowrap; /* ← flex内で折り返さない */
  overflow: hidden; /* ← 万一はみ出た場合に非表示 */
}
.product-price .label, .product-price .unit {
  font-size: 0.9em;
  line-height: 1.2;
  flex-shrink: 0; /* ← 文字が潰れないよう固定 */
}
.product-price .amount {
  font-size: 2em;
  font-weight: bold;
  margin: 0;
  line-height: 1;
  flex-shrink: 0; /* ← 数字が改行されないよう固定 */
}
.product-price.sticky-note {
  background-color: #fdf4a8;
  border: 1px solid #c4bfb9;
  position: relative;
  margin-top: auto;
}
.product-price.sticky-note::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  border-top: 25px solid #fdf4a8;
  border-left: 25px solid transparent;
  z-index: 1;
}
/* 本体以外にかかる費用 */
.price-others .frame-white {
  margin-bottom: 20px;
  text-align: center;
}
.price-others .product-price {
  border: none;
  padding: 1em 2em;
  text-align: center;
  background-color: #eeeeee;
  font-family: sans-serif;
  width: 95%;
  height: 60px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.4em;
  box-sizing: border-box;
  white-space: nowrap; /* ← 改行を防ぐ */
  flex-wrap: nowrap; /* ← flex内で折り返さない */
  overflow: hidden; /* ← 万一はみ出た場合に非表示 */
}
@media screen and (max-width: 768px) {
  .product-price {
    padding: 0.2em 1em; /* ← さらにタイトに */
    height: 90px; /* ← 固定だが少し低めに */
  }
  .price-others .product-price {
    padding: 0.2em 1em; /* ← さらにタイトに */
    height: 80px; /* ← 固定だが少し低めに */
  }
}
@media screen and (max-width: 768px) {
  .price-type {
    margin: 0 20px 2em;
  }
}
/* ------------------------------
ACHIEVEMENTS コンテナ建築 実績紹介
------------------------------ */
.achievements-gallery-main {
  border-radius: 3px;
}
/* ------------------------------
CASE 設置事例
------------------------------ */
/* ------ 事例カテゴリ一覧 ------ */
.case-index {
  text-align: center; /* ulを中央配置するため */
}
.case-index ul {
  display: inline-block; /* リスト全体を中央に */
  text-align: left; /* リスト内のテキストを左揃え */
  margin: 0 auto; /* 中央寄せ */
  padding: 0;
  list-style: none; /* 必要に応じてリストマークを消す */
}
.case-index li {
  margin: 0.5em 0; /* 行間を調整 */
}
.case-index ul li a {
  text-decoration: none;
  color: inherit;
}
.case-index ul li a:hover {
  text-decoration: underline; /* ホバー時に下線を出す */
}
.case-tables {
  display: flex;
  flex-wrap: wrap;
  gap: 0; /* テーブルの隙間をなくす */
  margin-top: 20px;
  border: 1px solid #c4bfb9; /* 外枠全体を統一 */
}
.case-table-box {
  flex: 1 1 50%;
}
.case-table, .case-table2 {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.case-table th, .case-table td, .case-table2 th, .case-table2 td {
  border: 1px solid #c4bfb9;
  padding: 5px 3px;
  text-align: center;
  line-height: 1.3;
  vertical-align: middle;
}
.case-table th, .case-table2 th {
  background-color: #f6f3f0;
  font-weight: normal;
  width: 40%;
}
/* PC時：左右をつなげるために右線を消す */
.case-table-box:first-child table td, .case-table-box:first-child table th {
  border-right: none;
}
@media screen and (max-width: 768px) {
  .case-table, .case-table2 {
    width: 100%;
    font-size: 8px;
    border: 1px solid #c4bfb9;
  }
}
/* ビフォーアフター全体枠 */
.case-before-after-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  margin: 20px 0;
  flex-wrap: wrap; /* スマホ用 */
}
/* 写真エリア */
.case-before-after-box .photo {
  position: relative;
  flex: 1 1 47%;
  max-width: 47%;
  border: 3px solid #c4bfb9;
  ;
}
.case-before-after-box img {
  width: 100%;
  display: block;
}
.case-before-after-box .label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 14px;
  padding: 3px 8px;
  border-radius: 3px;
}
/* 矢印 */
.case-before-after-box .arrow {
  font-size: 20px;
  align-self: center;
  color: #b4845c;
}
.case-box {
  margin-top: 50px;
}
.case-box:last-child {
  margin-bottom: 100px; /* 最後だけも明示して確保 */
}
.case-box .h3-double-dashed {
  padding: 1rem 0.5rem;
  border-top: 1px dashed #a7a4a1;
  border-bottom: 1px dashed #a7a4a1;
  font-weight: normal;
  font-size: 1.5em;
  text-align: center;
  line-height: 130%;
  background-color: rgba(255, 255, 255, 0.6);
}
.case-box .h3-double-dashed .case-h3-sub {
  font-size: 0.8em; /* 文字を小さく */
  position: relative;
  margin: 0 0.5em; /* 左右に余白 */
  white-space: nowrap; /* 改行されないように */
}
.case-box .h3-double-dashed .case-h3-sub::before, .case-box .h3-double-dashed .case-h3-sub::after {
  content: "―"; /* 左右にハイフンを追加 */
  margin: 0 0.3em;
}
.case-box p {
  line-height: 140%;
}
/* スマホ表示：縦並び */
@media (max-width: 768px) {
  .case-before-after-box {
    flex-direction: column;
  }
  .case-before-after-box .photo {
    max-width: 100%;
  }
  .case-before-after-box .arrow {
    margin: 1px 0;
    transform: rotate(90deg); /* → を下向きに */
    font-size: 24px;
  }
  .case-box .h3-double-dashed span {
    display: block; /* 改行させる */
    margin: 0 0; /* 上下に余白 */
  }
  .case-box .h3-double-dashed span::before, .case-box .h3-double-dashed span::after {
    margin: 0 0.2em;
  }
}
/* ------------------------------
CASE 設置事例
------------------------------ */
/* ------ すばやく収益化へ ------ */
@media (max-width: 768px) {
  .comparison-azto .wrap-70p {
    margin-top: 20px;
    width: 100%;
  }
}
/* ------ アパート経営との比較 ------ */ .comparison-performance table {
  border-collapse: collapse;
  width: 100%;
}
.comparison-performance .comparison-tb01 th, .comparison-performance .comparison-tb01 td {
  padding: 10px;
  border: solid 1px #ccc;
  text-align: center;
  box-sizing: border-box;
  word-break: keep-all;
}
.comparison-performance .comparison-tb01 th {
  color: #fff;
  width: 33.3%; /* 各列を均等幅に */ vertical-align: middle;
  padding: 12px;
  font-size: 1em;
  line-height: 130%
}
.comparison-hikakubox1 {
  margin-bottom: 20px;
} /* --- comparison-hikakubox1（3列構成） --- */
.comparison-hikakubox1 .comparison-tb01 th, .comparison-hikakubox1 .comparison-tb01 td {
  width: 33.3%;
} /* --- comparison-hikakubox2（5列構成） --- */
.comparison-hikakubox2 .comparison-tb01 th, .comparison-hikakubox2 .comparison-tb01 td {
  width: 20%;
}
.comparison-tb01 .th-sub {
  display: block;
  font-size: 0.8em;
  font-weight: normal;
  margin-top: 0.2em;
}
.comparison-performance .comparison-tb01 .comparison-tb01-cate {
  background: #6b8b8d;
  color: #ffffff;
}
.comparison-tb01-azto {
  background-color: #eb9824;
}
.comparison-tb01-apart {
  background-color: #f9e5a5;
  color: #666 !important;
}
.comparison-hikaku {
  margin-bottom: 1em;
}
.comparison-hikaku h3 {
  font-size: 1.2em;
  line-height: 130%;
  margin-bottom: 1em;
  font-weight: bold;
  background: #f4f2ef;
  border-left: 5px solid #6b8b8d;
  padding: 0.3em 1em;
}
.comparison-hikakubox1, .comparison-hikakubox2 {
  padding: 0.5em; /* 内側余白 → 数値で指定 */
}
/* AZTO列の金額・数値部分を太字に */
.comparison-hikakubox1 .comparison-tb01 td:nth-of-type(2), .comparison-hikakubox2 .comparison-tb01 td:nth-of-type(2) {
  font-weight: bold;
  background-color: #f6f6f4;
  color: #50686a;
}
@media screen and (max-width: 640px) {
  .comparison-performance .comparison-tb01 .head {
    display: none;
  }
  .comparison-performance .comparison-tb01 {
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
    /* 列幅を均等に割り当てる */
  }
  .comparison-performance table.comparison-tb01 td {
    display: block;
    width: 100%;
    border-bottom: none;
  }
  .comparison-performance table.comparison-tb01 td:first-child {
    background: #6b8b8d;
    color: #fff;
    font-weight: bold;
  }
  .comparison-performance table.comparison-tb01 td:before {
    content: attr(data-label);
    font-size: 7rem;
    font-weight: bold;
    color: #666;
    display: block;
  }
  .comparison-performance .comparison-tb01 tr:last-child {
    border-bottom: solid 1px #ccc;
  }
  /* 各データ（AZTO・アパート）を横並び */
  .comparison-tb01 td[data-label] {
    border: 1px solid #ccc;
  }
  /*追加 各行をブロック表示 */
  .comparison-performance .comparison-tb01 tr {
    display: block;
  }
  /* カテゴリ行（最初のtd） */
  .comparison-performance .comparison-tb01 td.comparison-tb01-cate {
    display: block;
    width: 100%;
    background: #6b8b8d;
    color: #fff;
    font-weight: bold;
    padding: 0.6em;
    text-align: center;
    box-sizing: border-box;
    border: 1px solid #ccc;
  }
  /* AZTO・アパート行を横並びにする */
  .comparison-performance .comparison-tb01 td[data-label] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 49%;
    box-sizing: border-box;
    border-right: 1px solid #ccc;
    border-left: none;
    border-top: none;
    border-bottom: none;
    font-size: 0.9em;
    padding: 0.6em 0.3em;
    text-align: center;
    vertical-align: middle;
  }
  /* 右側のセルだけボーダーを消す */
  .comparison-performance .comparison-tb01 td[data-label]:last-of-type {
    border-right: none;
  }
  /* data-label を上に表示（小さく） */
  .comparison-performance .comparison-tb01 td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75em;
    color: #999;
    margin-bottom: 0.3em;
  } /* --- comparison-hikakubox2専用のスマホ調整 --- */ .comparison-hikakubox2 .comparison-tb01 td[data-label]:nth-of-type(3) {
    border-right: none; /* 左から2番目のボーダー消す */
  }
  .comparison-hikakubox2 .comparison-tb01 td[data-label]:nth-of-type(1), .comparison-hikakubox2 .comparison-tb01 td[data-label]:nth-of-type(2), .comparison-hikakubox2 .comparison-tb01 td[data-label]:nth-of-type(3) {
    border-bottom: 1px solid #ccc; /* 左1番目・2番目の下に線を追加 */
  }
}
/* ------------------------------
DEMOLITION 解体
------------------------------ */
.demolition-box {
  padding: 40px 20px 40px;
}
/* ------------------------------
STARTING ＆ FAQ AZTOの始め方・よくあるご質問
------------------------------ */
/* ---AZTOの始め方----- */
.faq-agito-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2em;
  border-bottom: 1px dashed #ccc;
  padding: 1em 0 2em;
}
.faq-agito-step:last-child {
  border-bottom: none; /* 最後の点線は消す */
}
.faq-agito-step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: #b4845c;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1em;
  user-select: none;
}
.faq-agito-step-content {
  flex: 1;
}
.faq-agito-step-title {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.4em;
}
.faq-agito-step-text {
  line-height: 1.5;
}
.faq-agito-step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: #b4845c;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1em;
  user-select: none;
}
/* --- よくあるご質問---- */
.faq-section .openclose2-parts::before {
  color: #b4845c;
}
/*アイコン（開いている場合）*/
.faq-section .openclose2-parts.active::before {
  color: #b4845c; /*アイコンの色*/
}
.faq-box {
  margin-top: 50px;
  margin-bottom: 100px;
  text-align: left;
}
.faq-box .openclose2-parts {
  margin-left: 1em;
  margin-right: 1em;
  border-radius: 3px;
}
.faq-box h3 {
  display: inline-block; /* 文字幅に合わせる */
  border-top: 1px solid #827c75; /* 上線 */
  border-bottom: 1px solid #827c75; /* 下線 */
  padding: 0.3em 10px;
  font-weight: normal;
  margin: 1em auto; /* 中央寄せ */
}
/* ------------------------------
HOW  どんな土地に建てられますか
------------------------------ */
@media screen and (max-width: 640px) {
  .how-box .wrap-20p {
    width: 40%;
  }
}
/* ------------------------------
JOURNAL  読みもの
------------------------------ */
.journal-box .parts-3-feature-cards a {
  text-decoration: none !important;
}
.journal-box .parts-3-feature-cards h3 {
  font-size: 16px;
}
/* ------------------------------
MEDIA  読みもの
------------------------------ */
.media-detail-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
}
.media-detail-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  flex: 1 1 calc(33.333% - 20px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-width: 400px; /* 幅の上限を決める（任意） */
}
/* 複数画像用のレイアウト */
.media-detail-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 横2 */
  grid-template-rows: repeat(2, 1fr); /* 縦2 */
  gap: 5px;
}
.media-detail-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.media-detail-text {
  padding: 15px;
  text-align: left;
  line-height: 1.6;
}
/* レスポンシブ */
@media screen and (max-width: 900px) {
  .media-detail-card {
    flex: 1 1 calc(50% - 20px);
  }
}
@media screen and (max-width: 600px) {
  .media-detail-card {
    flex: 1 1 100%;
  }
  /* 📱スマホでも2×2を維持 */
  .media-detail-images {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
}
/* ------------------------------
MERIT 経営メリット
------------------------------ */
/* メリット10まとめ */
.merit-case {
  padding: 4em 2em;
}
.merit-10-page .list-grid2-parts .list-parts h4 {
  margin-bottom: 5px;
}
section.merit-10-page .list-grid2-parts .list-parts {
  background: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.merit-10-page .list-grid2-parts, .merit-10-page .list-grid2-parts a {
  text-decoration: none !important;
}
.merit-10-page .list-grid2-parts a:hover {
  text-decoration: none !important;
}
/* メリット各詳細 */
.merit-case .parts-3-feature-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.merit-case .parts-3-feature-card:hover {
  transform: translateY(-4px);
}
.merit-case .parts-3-feature-card img {
  width: 100%;
  aspect-ratio: 3 / 2; /* ← ここで3:2に固定 */
  object-fit: cover; /* はみ出す部分はトリミング */
  display: block; /* 余計な隙間防止 */
}
.merit-case .parts-3-feature-text {
  padding: 0.8em;
  flex: 1; /* ← テキスト部分が余白を埋めて高さ調整される */
}
.merit-case .parts-3-feature-text h3 {
  font-size: 1em;
  margin-bottom: 0.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  text-align: center;
  line-height: 130%;
}
.merit-case .parts-3-feature-text p {
  font-size: 0.95em;
  line-height: 140%;
}
@media (max-width: 768px) {
  .merit-case .parts-3-feature-cards {
    grid-template-columns: 1fr; /* スマホは1列 */
  }
  .merit-case .parts-3-feature-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
.merit-case-box {
  margin-top: 25px;
}
.merit-case-box .text-outer {
  padding-left: 0px;
  padding-right: 0px;
}
/* ▼ テーブルの基本設定 */
.merit_02_pc_teble table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: none; /* 枠線なし */
}
/* ▼ 見出しセル(th) */
.merit_02_pc_teble th {
  width: 200px;
  font-weight: normal;
  text-align: left;
  padding: 10px 10px 10px 70px; /* ← 左に余白を追加 */ vertical-align: middle;
  background-color: #fff;
  border: none; /* 縦線削除 */
}
/* ▼ 画像行だけ左パディングなし */
.merit_02_pc_teble tr:nth-child(2) th {
  padding-left: 10px;
}
/* ▼ データセル(td) */
.merit_02_pc_teble td {
  text-align: center;
  padding: 10px;
  vertical-align: middle;
  border: none; /* 縦線削除 */
}
/* ▼ 上から2番目（画像行）の上に太線を入れる */
.merit_02_pc_teble table tr:nth-child(2) {
  border-top: 3px solid #625d58;
  background-color: #f6f5f4; /* 薄い背景色 */
  color: #ffbf00;
  font-size: 1.5em;
}
/* ▼ 画像行の下以降（3行目以降）は細いドット線 */
.merit_02_pc_teble table tr:nth-child(n+3) {
  border-top: 1px dotted #bcb8b3;
}
/* ▼ 画像のスタイル */
.merit_02_pc_teble .img_th {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  background-color: #f6f5f4; /* 薄い背景色 */
}
/* ▼ スマホでは非表示 */
@media screen and (max-width: 768px) {
  .merit_02_pc_teble {
    display: none;
  }
}
/* ▼ テーブル全体 */
.merit_02_sp_teble {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  table-layout: fixed;
}
.merit_02_sp_teble table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
}
/* ▼ 太線とドット線 */
.merit_02_sp_teble tr:first-child {
  border-bottom: 3px solid #625d58;
}
.merit_02_sp_teble tr:not(:first-child) {
  border-bottom: 1px dotted #999;
}
/* ▼ 一番左の列 */
.merit_02_sp_teble td:first-child {
  border-right: 1px solid #c4bfb9;
  text-align: left;
  padding-left: 10px;
  font-weight: normal;
  font-size: 12px;
}
/* ▼ 全セル共通 */
.merit_02_sp_teble td, .merit_02_sp_teble th {
  text-align: center;
  padding: 10px 5px;
  vertical-align: middle;
}
/* ▼ 画像列の背景色と幅 */
.merit_02_sp_teble td:nth-child(2), .merit_02_sp_teble th:nth-child(2) {
  background-color: #f6f5f4;
  width: 25%; /* ← 画像列を少し太めに（調整可） */
  color: #ffbf00;
  font-size: 1.5em;
}
/* ▼ それ以外の列を均等に */
.merit_02_sp_teble th:not(:nth-child(2)), .merit_02_sp_teble td:not(:nth-child(2)) {
  width: 15%; /* ← 全体のバランスを取る */
}
/* ▼ 画像のサイズ */
.merit_02_sp_teble img {
  width: 100%;
  max-width: 80px;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* ▼ 見出しセル */
.merit_02_sp_teble th {
  font-weight: normal;
  padding: 10px 5px;
  font-size: 10px;
}
/* ▼ スマホ用（PC非表示） */
@media screen and (min-width: 769px) {
  .merit_02_sp_teble {
    display: none;
  }
}
#merit_03 .cols-5-5 {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  margin-bottom: 0em;
}
/* 各ボックス共通 */
#merit_03 .cols-5-5-box {
  flex: 1;
}
/* 見出し */
#merit_03 .cols-5-5 h3 {
  font-size: 1.2em;
  text-align: center;
}
#merit_03 .cols-5-5 h3 i {
  margin-right: 10px;
}
/* ▼ スマホ対応（1カラムに変更） */
@media screen and (max-width: 768px) {
  #merit_03 .cols-5-5 {
    flex-direction: column;
    gap: 1em; /* ← 縦の余白を小さく */
    margin-bottom: 1em; /* ← 下の余白もコンパクトに */
  }
  #merit_03 .cols-5-5-box {
    flex: 1 1 100%;
  }
  /* 各ボックス共通 */
  #merit_03 .cols-5-5-box {
    margin-bottom: 2px;
  }
}
#merit_03 .merit-process {
  text-align: center;
}
#merit_03 .merit-process-title {
  font-size: 1.4em;
  margin-bottom: 1.5em;
  color: #333;
}
/* 流れ全体 */
#merit_03 .merit-process-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1em;
}
/* 各ステップ */
#merit_03 .merit-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* 画像＋重ね文字用 */
#merit_03 .step-image {
  position: relative;
  display: inline-block;
}
#merit_03 .step-image img {
  width: 250px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: block;
}
/* 写真の上に文字を重ねる（白背景・黒文字） */
#merit_03 .step-image p {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9); /* 白の半透明に変更 */
  color: #333; /* 黒文字 */
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.9em;
  margin: 0;
}
/* 矢印 */
#merit_03 .arrow {
  font-size: 1.5em;
  color: #625d58;
  line-height: 1;
}
/* ▼ スマホ：縦並び＋矢印を下向きに変更 */
@media screen and (max-width: 768px) {
  #merit_03 .merit-process-flow {
    flex-direction: column;
    gap: 1.2em;
  }
  #merit_03 .arrow {
    transform: rotate(90deg); /* 下向き矢印 */
    font-size: 1.6em;
    margin: 0.5em 0;
  }
  #merit_03 .step-image img {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
  #merit_03 .step-image p {
    font-size: 1em;
    bottom: 10px;
  }
}
#merit_04 .frame-white {
  margin-bottom: 0;
}
#merit_04 .cols-5-5 {
  margin-bottom: 0em; /* ← 各photo-pairの縦の余白を追加 */
}
/* ▼ スマホ：縦並び＋矢印を下向きに変更 */
@media screen and (max-width: 768px) {
  #merit_04 .cols-5-5 {
    gap: 1em; /* 各.box間の左右余白 */
    margin-bottom: 0em; /* ← 各photo-pairの縦の余白を追加 */
  }
  #merit_04 .cols-5-5-box {
    flex: 1 1 100%;
  }
  #merit_08 .parts-2img-yoko {
    margin-bottom: 0;
  }
}
/* ------------------------------
VOICE お客様の声
------------------------------ */
.voice-box .frame-white {
  margin-top: 20px;
  padding-bottom: 20px;
}
.voice-footer {
  display: flex;
  justify-content: flex-end; /* 全体を右寄せ */
  align-items: center; /* 縦位置を揃える */
  gap: 0.5em; /* 名前とアイコンの間隔 */
  margin-top: 20px;
  padding-right: 10px;
}
.voice-icon {
  order: 1;
  width: 40px;
  height: auto;
}
.voice-name {
  order: 2;
  font-size: 0.8rem;
}
.voice-title-text {
  position: relative;
  display: block;
  width: 100%;
  padding: 0 10px 0.5em;
  border-bottom: 1px solid #a7a4a1; /* 下線 */
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 130%;
}
/* 外側（三角の枠線用） */
.voice-title-text::after {
  content: "";
  position: absolute;
  left: 30px; /* 位置調整 */
  bottom: -12px; /* 下線からの距離 */
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #a7a4a1; /* 枠線の色 */
}
/* 内側（三角の背景色） */
.voice-title-text::before {
  content: "";
  position: absolute;
  left: 32px; /* ::after より少し内側 */
  bottom: -10px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid; /* 背景色と同じにする */
}
.voice-photos {
  display: flex;
  gap: 1rem;
}
.voice-photos img {
  width: 48%;
  border-radius: 0.5rem;
  object-fit: cover;
}
.voice-box .cols-3-7 {
  display: flex; /* これが必要 */
  gap: 1rem; /* カラム間の余白 */
  align-items: flex-start; /* 上端揃え */
}
.voice-box .cols-3-7-text .text-outer {
  padding-left: 0px;
  padding-right: 0px;
}
.voice-box .cols-3-7-text .text-outer p {
  margin-top: 0;
}
.voicebox-photos {
  display: flex;
  flex-direction: column; /* デフォルトは縦並び */
  gap: 2px;
}
.voicebox-photos img {
  width: 100%; /* 縦並びでは幅いっぱい */
  object-fit: cover;
}
@media screen and (max-width: 600px) {
  .voicebox-photos {
    flex-direction: row; /* スマホは横並び */
    gap: 0.5rem; /* 横並びの余白も小さく */
  }
  .voicebox-photos img {
    width: 45%; /* 横並びで2枚並ぶ */
  }
}
/* ------------------------------
GALLERY フォトギャラリー
------------------------------ */
.gallery-imgSet {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.gallery-imgSet ul, .gallery-imgSet li {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.gallery-imgSet img {
  width: 100%;
  aspect-ratio: 1 / 1; /* ← 正方形に固定 */
  object-fit: cover; /* ← 画像をトリミングして正方形に収める */
}
/* ------------------------------
INQUIRY お問い合わせ
------------------------------ */
/* 電話のお問い合わせ */
.inquiry-box {
  margin-bottom: 50px;
}
.inquiry-box .frame-white {
  margin: 30px auto;
}
.inquiry-box .frame-white p {
  line-height: 1.7;
}
/* メールフォーム */
.inquiry-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px auto;
  padding: 0 20px;
}
.inquiry-table .text-red {
  color: #D1883A;
  font-size: 0.8em;
  padding-left: 5px;
  line-height: 1.3;
}
.inquiry-table th, .inquiry-table td {
  padding: 15px 10px;
  vertical-align: middle;
}
/* 左（th）を少し強調 */
.inquiry-table th {
  width: 30%;
  text-align: left;
  font-weight: bold;
  vertical-align: top;
}
/* 入力フォームを幅100%に */
.inquiry-table input[type="text"], .inquiry-table input[type="email"], .inquiry-table textarea {
  width: 100%;
  padding: 16px 14px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
  font-size: 15px;
}
.inquiry-table textarea {
  min-height: 140px; /* ← お好みで調整可能 */
  resize: vertical; /* 縦方向のサイズ変更だけ許可 */
}
/* ------- スマホ対応（レスポンシブ） ------- */
@media screen and (max-width: 768px) {
  .inquiry-table, .inquiry-table tbody, .inquiry-table tr, .inquiry-table th, .inquiry-table td {
    display: block;
    width: 100%;
  }
  .inquiry-table th {
    background: none;
    border: none;
    padding: 10px 0 3px;
    font-size: 14px;
  }
  .inquiry-table td {
    border: none;
    padding: 5px 0 15px;
  }
  .inquiry-table tr {
    margin-bottom: 10px;
    padding-bottom: 10px;
  }
  .inquiry-table input[type="text"], .inquiry-table input[type="email"], .inquiry-table textarea {
    padding: 14px 16px;
    border-radius: 3px;
  }
}