@charset "utf-8";

/* =========================================
   下層ページ共通
========================================= */

/* ヘッダーは最初から表示 */
.sub #header {
  transform: translateY(0) !important;
  opacity: 1 !important;
}

/* ページヒーロー */
.page-hero {
  position: relative;
  height: 300px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 40px;
  overflow: hidden;
  margin-top: 80px;
  background: #111 center/cover no-repeat;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.2));
}

.page-hero .inner {
  position: relative;
  z-index: 1;
  color: #fff;
}

.page-hero .en {
  display: block;
  font-family: "Special Gothic Expanded One", sans-serif;
  font-size: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  color: var(--color-main);
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 8px;
}

.page-hero h1 {
  font-size: clamp(1.1rem, 0.8rem + 1vw, 1.4rem);
  letter-spacing: 0.1em;
}

/* パンくず */
.breadcrumb {
  background: #f7f7f7;
  padding: 10px 0;
  font-size: 13px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #777;
}

.breadcrumb li + li::before {
  content: "›";
}

.breadcrumb a {
  color: var(--color-main);
}


/* =========================================
   セクション見出し（下層用）
========================================= */
.sub-ttl {
  margin-bottom: 50px;
}

.sub-ttl .en {
  display: block;
  font-family: "Special Gothic Expanded One", sans-serif;
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem);
  color: var(--color-main);
  letter-spacing: 2px;
  line-height: 1;
}

.sub-ttl h2 {
  font-size: clamp(1.2rem, 0.9rem + 0.8vw, 1.6rem);
  margin-top: 5px;
}

.sub-ttl.center {
  text-align: center;
}

/* =========================================
   装飾背景ブロブ（TOPのt_case / t_service と同じ言語）
========================================= */
.deco-right {
  position: relative;
}
.deco-right::before {
  content: '';
  position: absolute;
  width: 46%;
  height: 68%;
  top: 16%;
  right: 0;
  border-radius: 30px 0 0 30px;
  background: var(--bglight);
  z-index: 0;
}
.deco-right .inner {
  position: relative;
  z-index: 1;
}

.deco-left {
  position: relative;
}
.deco-left::before {
  content: '';
  position: absolute;
  background: var(--bglight);
  width: 55%;
  height: 58%;
  border-radius: 0 30px 30px 0;
  left: 0;
  top: clamp(80px, 10vw, 150px);
  z-index: 0;
}
.deco-left .inner {
  position: relative;
  z-index: 1;
}

/* =========================================
   service.php
========================================= */
.service-section {
  padding: clamp(60px, 10vw, 120px) 0;
  border-bottom: 1px solid #eee;
}

.service-section:last-of-type {
  border-bottom: none;
}

/* サービスナンバー */
.service-no {
  font-family: "Special Gothic Expanded One", sans-serif;
  font-size: clamp(4rem, 2rem + 5vw, 7rem);
  color: var(--color-main);
  opacity: .12;
  line-height: 1;
  margin-bottom: -20px;
  letter-spacing: -2px;
}

/* sec_ttl の左寄せ版（service用） */
.sec_ttl.left {
  text-align: left;
}

/* サービス画像 - オフセット枠 */
.service-img {
  width: 42%;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: visible; /* 枠がはみ出るので visible */
  position: relative;
}

.service-img-inner {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.service-img-inner img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.service-img:hover .service-img-inner img {
  transform: scale(1.04);
}

/* オレンジ枠：画像の右下にオフセット */
.service-img::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid var(--color-main);
  border-radius: 18px;
  bottom: -14px;
  right: -14px;
  z-index: 0;
  transition: .5s;
}

/* rev（画像が右側）のとき枠を左下に */
.service-layout.rev .service-img::after {
  right: auto;
  left: -14px;
}

.service-body {
  width: 54%;
}
.service-body p {
  line-height: 2;
  margin-bottom: 15px;
  color: #444;
}
.service-body ul {
  margin-top: 20px;
}
.service-body ul li {
  padding: 8px 0 8px 22px;
  position: relative;
  font-size: 15px;
  color: #444;
  border-bottom: 1px solid #efefef;
}
.service-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 3px;
  background: linear-gradient(90deg, #fccd00, #ea652d);
}

/* =========================================
   メーカーカタログ
========================================= */
.maker-catalog {
  background: #fff;
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
}

.maker-catalog-desc {
  color: #555;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
  font-size: 15px;
  line-height: 1.9;
}

.maker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.maker-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 30px 20px;
  text-decoration: none;
  transition: box-shadow .3s, transform .3s, border-color .3s;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

/* TOPのserv-card風：内枠アニメーション */
.maker-item::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--color-main);
  opacity: 0;
  border-radius: 8px;
  transition: .4s;
  pointer-events: none;
}

.maker-item:hover {
  box-shadow: 0 8px 24px rgba(240,133,0,.15);
  border-color: var(--color-main);
  transform: translateY(-4px);
}

.maker-item:hover::before {
  opacity: 1;
}

.maker-item img {
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: opacity .3s;
}

.maker-item .maker-name {
  font-family: "Special Gothic Expanded One", sans-serif;
  font-size: clamp(1.1rem, 0.8rem + 0.8vw, 1.4rem);
  color: #333;
  letter-spacing: 1px;
}

.maker-item span.maker-sub {
  font-size: 11px;
  color: #aaa;
  letter-spacing: .05em;
}

.maker-item .catalog-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--color-main);
  font-weight: 600;
}

/* =========================================
   OTHERセクション（ライト・TOPの雰囲気）
========================================= */
.other-section {
  background: var(--bglight);
  padding: clamp(60px, 10vw, 120px) 0;
  position: relative;
}

/* TOPのt_service::beforeと同じ装飾ブロブ */
.other-section::before {
  content: '';
  position: absolute;
  background: #fff;
  width: 55%;
  height: 50%;
  border-radius: 0 30px 30px 0;
  left: 0;
  top: clamp(80px, 10vw, 150px);
  z-index: 0;
}

.other-section .inner {
  position: relative;
  z-index: 1;
}

/* OTHERカード：service-layoutと同じ構造 */
.other-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 60px;
}

.other-item {
  display: flex;
  gap: 60px;
  align-items: center;
}

.other-item:nth-child(even) {
  flex-direction: row-reverse;
}

.other-img {
  width: 48%;
  flex-shrink: 0;
  position: relative;
  border-radius: 16px;
  overflow: visible;
}

.other-img-inner {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.other-img-inner img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.other-item:hover .other-img-inner img {
  transform: scale(1.04);
}

/* service-imgと同じオフセット枠 */
.other-img::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid var(--color-main);
  border-radius: 18px;
  bottom: -14px;
  right: -14px;
  z-index: 0;
}

.other-item:nth-child(even) .other-img::after {
  right: auto;
  left: -14px;
}

.other-body {
  flex: 1;
  padding: 10px 0;
}

.other-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--color-main);
  border: 1px solid var(--color-main);
  padding: 3px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.other-body-en {
  font-family: "Special Gothic Expanded One", sans-serif;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.8rem);
  color: var(--color-main);
  opacity: .15;
  line-height: 1;
  margin-bottom: -8px;
}

.other-body h3 {
  font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem);
  color: #222;
  margin-bottom: 20px;
  line-height: 1.5;
}

.other-body p {
  font-size: 15px;
  color: #555;
  line-height: 2;
  margin-bottom: 28px;
}

.other-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-main);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 11px 28px;
  border: 1px solid var(--color-main);
  border-radius: 3px;
  transition: .3s;
}

.other-link:hover {
  background: var(--color-main);
  color: #fff;
}

/* レスポンシブ */
@media (max-width: 900px) {
  .maker-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 819px) {
  .other-item,
  .other-item:nth-child(even) {
    flex-direction: column;
    gap: 40px;
  }
  .other-img {
    width: 85%;
    margin: 0 auto;
  }
  .other-body {
    width: 100%;
  }
  .other-section::before {
    display: none;
  }
}

.service-layout {
  display: flex;
  gap: 60px;
  align-items: center;
  margin-top: 30px;
}

.service-layout.rev {
  flex-direction: row-reverse;
}

/* 外部リンクカード（内装・不動産） */
.ext-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 50px;
}

.ext-card {
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 40px 35px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: box-shadow .3s, transform .3s;
  background: #fff;
}

.ext-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
  transform: translateY(-4px);
}

.ext-card .label {
  font-size: 12px;
  color: #fff;
  background: var(--color-main);
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  align-self: flex-start;
}

.ext-card h3 {
  font-size: clamp(1.2rem, 0.9rem + 0.8vw, 1.5rem);
}

.ext-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.9;
  flex: 1;
}

.ext-card a.ext-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-main);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--color-main);
  padding: 10px 24px;
  border-radius: 4px;
  align-self: flex-start;
  transition: .3s;
}

.ext-card a.ext-link:hover {
  background: var(--color-main);
  color: #fff;
}

/* =========================================
   works.php
========================================= */
.works-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 50px;
}

.works-filter button {
  padding: 10px 28px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  transition: .3s;
  border-radius: 3px;
  font-family: inherit;
}

.works-filter button.active,
.works-filter button:hover {
  background: var(--color-main);
  color: #fff;
  border-color: var(--color-main);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* カード：画像＋テキスト下 */
.work-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,.07);
  transition: transform .3s, box-shadow .3s;
  display: block;
  text-decoration: none;
  color: inherit;
}

.work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,.13);
}

.work-card figure {
  overflow: hidden;
  aspect-ratio: 4/3;
  margin: 0;
}

.work-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.work-card:hover figure img {
  transform: scale(1.07);
}

.work-info {
  padding: 12px 14px 14px;
}

.work-cat {
  font-size: 10px;
  color: var(--color-main);
  background: #fff7ee;
  border: 1px solid var(--color-main);
  padding: 2px 8px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 6px;
  letter-spacing: .04em;
}

.work-card h3 {
  font-size: clamp(0.8rem, 0.65rem + 0.4vw, 0.95rem);
  line-height: 1.55;
  color: #333;
  font-weight: 600;
}

/* グリッド幅：inner.wide（1400px）に合わせて5列 */
.works-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* ====== カテゴリセクション（すべて表示時） ====== */
.works-cat-section {
  margin-bottom: 70px;
  padding-bottom: 70px;
  border-bottom: 1px solid #eee;
}

.works-cat-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* セクション見出し行 */
.works-cat-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-main);
  flex-wrap: wrap;
  gap: 10px;
}

.works-cat-ttl {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.works-cat-en {
  font-family: "Special Gothic Expanded One", sans-serif;
  font-size: clamp(1.4rem, 0.8rem + 2vw, 2.4rem);
  color: var(--color-main);
  letter-spacing: 1px;
  line-height: 1;
}

.works-cat-ttl h2 {
  font-size: clamp(1rem, 0.8rem + 0.6vw, 1.3rem);
  color: #333;
}

.works-cat-link {
  font-size: 14px;
  color: var(--color-main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--color-main);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: opacity .3s;
}

.works-cat-link:hover {
  opacity: .7;
}

/* 非表示カード */
.works-hidden {
  display: none !important;
}

/* もっと見るボタン */
.works-more-wrap {
  text-align: center;
  margin-top: 30px;
}

.works-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 40px;
  background: #fff;
  border: 1px solid var(--color-main);
  color: var(--color-main);
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  border-radius: 3px;
  transition: .3s;
  letter-spacing: .05em;
}

.works-more-btn:hover {
  background: var(--color-main);
  color: #fff;
}

/* 投稿日 */
.work-date {
  font-size: 11px;
  color: #aaa;
  margin-top: 4px;
}

/* works件数・ページング */
.works-count {
  font-size: 14px;
  color: #888;
  margin-bottom: 30px;
}

.works-empty {
  text-align: center;
  color: #888;
  padding: 60px 0;
}

.works-pager {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.works-pager a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  color: #333;
  font-size: 14px;
  transition: .3s;
  border-radius: 3px;
}

.works-pager a:hover,
.works-pager a.current {
  background: var(--color-main);
  border-color: var(--color-main);
  color: #fff;
}

/* filter-btn（<a>タグ版） */
.filter-btn {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 15px;
  transition: .3s;
  border-radius: 3px;
  text-decoration: none;
  color: #333;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--color-main);
  color: #fff;
  border-color: var(--color-main);
}

/* =========================================
   works-detail.php
========================================= */
.detail-head {
  border-bottom: 2px solid var(--color-main);
  padding-bottom: 20px;
  margin-bottom: 40px;
}

.detail-title {
  font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem);
  margin: 12px 0 8px;
  line-height: 1.5;
}

.detail-date {
  font-size: 13px;
  color: #888;
}

.detail-body {
  margin-bottom: 60px;
}

.detail-text {
  line-height: 2;
  color: #444;
  margin-bottom: 20px;
}

.detail-texts {
  margin-bottom: 30px;
}

/* 通常・Before/After 共通ギャラリー */
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.detail-gallery li {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/3;
}

.detail-gallery li a {
  display: block;
  width: 100%;
  height: 100%;
}

.detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.detail-gallery li:hover img {
  transform: scale(1.06);
}

/* Before / After */
.ba-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.ba-block {}

.ba-title {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #fff;
  padding: 4px 20px;
  border-radius: 3px;
  margin-bottom: 14px;
}

.ba-before { background: #555; }
.ba-after  { background: var(--color-main); }

.ba-block .detail-gallery {
  grid-template-columns: repeat(2, 1fr);
}

/* 戻るボタン */
.detail-back {
  text-align: center;
  margin-top: 20px;
}

/* =========================================
   reason.php
========================================= */

/* TOPのreason-cardグリッドをそのまま流用するための上書き */
.reason-summary {
  position: relative;
  background: url("../img/index/reason.jpg") no-repeat bottom/cover;
  padding: clamp(60px, 10vw, 130px) 0;
}
.reason-summary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #fff, transparent);
  height: 50%;
  z-index: 0;
}
.reason-summary .inner {
  position: relative;
  z-index: 1;
}

/* 詳細セクション */
.reason-detail {
  background: var(--bglight);
  padding: clamp(60px, 10vw, 120px) 0;
}

/* reason-detail-item の見出しを sec_ttl 風に */
.reason-detail-body .detail-en {
  display: block;
  font-family: "Special Gothic Expanded One", sans-serif;
  font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  color: var(--color-main);
  opacity: .25;
  line-height: 1;
  margin-bottom: -5px;
  letter-spacing: 1px;
}

.reason-detail-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 60px;
}

.reason-detail-item {
  display: flex;
  gap: 60px;
  align-items: center;
}

.reason-detail-item.rev {
  flex-direction: row-reverse;
}

.reason-detail-img {
  width: 45%;
  flex-shrink: 0;
  position: relative;
}

.reason-detail-img img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  object-fit: cover;
  display: block;
}

.reason-detail-img .num-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  background: var(--color-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Special Gothic Expanded One", sans-serif;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 5px 15px rgba(240,133,0,.4);
}

.reason-detail-body {
  flex: 1;
}

.reason-detail-body h3 {
  font-size: clamp(1.3rem, 1rem + 0.8vw, 1.6rem);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--color-main);
}

.reason-detail-body p {
  line-height: 2.1;
  color: #444;
}

/* voice section */
.voice-section {
  background: #fff;
  padding: clamp(60px, 10vw, 120px) 0;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.voice-card {
  background: var(--bglight);
  border-radius: 16px;
  padding: 30px;
  position: relative;
}

.voice-card::before {
  content: "\201C";
  font-size: 80px;
  color: var(--color-main);
  opacity: .3;
  position: absolute;
  top: 10px;
  left: 15px;
  line-height: 1;
  font-family: Georgia, serif;
}

.voice-card p {
  font-size: 15px;
  line-height: 1.9;
  position: relative;
  z-index: 1;
}

.voice-card .voice-meta {
  margin-top: 20px;
  font-size: 13px;
  color: #888;
  text-align: right;
}

/* =========================================
   about.php
========================================= */

/* 挨拶：画像オフセット枠（service-imgと同じ） */
.about-intro {
  display: flex;
  gap: 60px;
  align-items: center;
	flex-wrap: wrap;
}

.about-img-wrap {
  width: 44%;
	flex-shrink: 0;
  position: relative;
  border-radius: 16px;
  overflow: visible;
}

.about-img-inner {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.about-img-inner img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.about-img-wrap::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid var(--color-main);
  border-radius: 18px;
  bottom: -14px;
  right: -14px;
  z-index: 0;
}

.about-intro-body {
  width: 50%;	
	min-width: 500px;
}

.about-intro-body h2 {
  font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem);
  margin-bottom: 24px;
  line-height: 1.6;
}

.about-intro-body p {
  line-height: 2.1;
  color: #444;
  margin-bottom: 15px;
}

.about-sign {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 15px;
  color: #555;
}

.about-sign strong {
  display: block;
  font-size: clamp(1.1rem, 0.9rem + 0.5vw, 1.3rem);
  color: #222;
  margin-top: 6px;
}

/* ---- 会社概要テーブル ---- */
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.company-table tr {
  transition: background .2s;
}

/*
.company-table tr:hover td,
.company-table tr:hover th {
  background: #fff9f2;
}
*/

.company-table th,
.company-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #ececec;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}

.company-table th {
  width: 24%;
  background: rgba(255,255,255,.5);
  font-weight: 700;
  color: #333;
  white-space: nowrap;
  position: relative;
  padding-left: 22px;
}

/* オレンジの左アクセントバー */
.company-table th::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: linear-gradient(to bottom, var(--color-main), #fccd00);
  border-radius: 2px;
}

.company-table td {
  color: #444;
  line-height: 1.9;
  background: #fff;
}

/* 業種タグ */
.biz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.biz-tag {
  padding: 5px 14px;
  background: var(--bglight);
  border: 1px solid rgba(240,133,0,.3);
  border-radius: 3px;
  font-size: 13px;
  color: #555;
}

/* ---- 拠点カード ---- */
.office-section {
  margin-top: 60px;
}

.office-section-ttl {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--color-main);
}

.office-section-ttl i {
  color: var(--color-main);
  font-size: 20px;
}

.office-section-ttl h3 {
  font-size: clamp(1.1rem, 0.9rem + 0.5vw, 1.3rem);
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.office-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 22px;
  border-top: 3px solid var(--color-main);
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transition: transform .3s, box-shadow .3s;
}

.office-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,.1);
}

.office-card .office-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-main);
  letter-spacing: .05em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.office-card address {
  font-style: normal;
  font-size: 16px;
  color: #555;
  line-height: 1.9;
}

/* ---- マップ ---- */
.map-wrap {
  margin-top: 40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}

/* レスポンシブ */
@media (max-width: 819px) {
  .about-intro {
    flex-direction: column;
    gap: 50px;
  }

	.about-intro-body {
	  width: 100%;
	  min-width:auto;	
	}		
  .about-img-wrap {
    width: 85%;
    margin: 0 auto;
  }
  .office-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .office-grid {
    grid-template-columns: 1fr;
  }
  .company-table th {
    width: 30%;
    font-size: 13px;
  }
}

/* =========================================
   contact.php
========================================= */
.contact-intro {
  text-align: center;
  margin-bottom: 60px;
}

.contact-intro p {
  line-height: 2.2;
  color: #555;
}

.contact-form-wrap {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 60px 50px;
  box-shadow: 0 10px 40px rgba(0,0,0,.07);
}

.form-row {
  margin-bottom: 28px;
}

.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 15px;
}

.form-row label .req {
  background: var(--color-main);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  font-weight: normal;
  vertical-align: middle;
}

.form-row label .opt {
  background: #aaa;
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  font-weight: normal;
  vertical-align: middle;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color .3s, box-shadow .3s;
  background: #fafafa;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-main);
  box-shadow: 0 0 0 3px rgba(240,133,0,.15);
  background: #fff;
}

.form-row textarea {
  height: 180px;
  resize: vertical;
}

.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 8 6-8z' fill='%23999'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-row .radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.form-row .radio-group label {
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  margin-bottom: 0;
}

/* PP同意文内のインラインボタン */
.pp-inline-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--color-main);
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pp-inline-btn:hover {
  opacity: .7;
}

.privacy-check {
  margin: 30px 0;
  padding: 20px;
  background: #f7f7f7;
  border-radius: 8px;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.privacy-check input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--color-main);
  width: 18px;
  height: 18px;
}

.form-submit {
  text-align: center;
  margin-top: 40px;
}

.form-submit button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 80px;
  background: var(--color-main);
  color: #fff;
  font-size: 18px;
  font-family: inherit;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: .3s;
  letter-spacing: 0.05em;
}

.form-submit button:hover {
  opacity: .85;
  transform: translateY(-2px);
}

.contact-tel-box {
  margin: 50px 0 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  overflow: hidden;
  position: relative;
}

/* 左オレンジアクセントライン */
.contact-tel-box::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(to bottom, var(--color-main), #fccd00);
  border-radius: 16px 0 0 16px;
}

.tel-box-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 50px 30px 55px;
  gap: 30px;
  flex-wrap: wrap;
}

.tel-box-text .tel-label {
  font-size: clamp(1rem, 0.8rem + 0.5vw, 1.2rem);
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}

.tel-box-text .tel-hours {
  font-size: 13px;
  color: #888;
}

.contact-tel-box .tel-num {
  font-size: clamp(1.8rem, 1rem + 2vw, 2.6rem);
  font-weight: bold;
  color: #333;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: color .3s;
}

.contact-tel-box .tel-num:hover {
  color: var(--color-main);
}

.contact-tel-box .tel-num i {
  font-size: 1.4rem;
  color: var(--color-main);
  background:  var(--color-main);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-tel-box img{
	width: 70%;
	object-fit: contain;
}

/* プライバシーポリシー アコーディオン */
.pp-section {
  margin-top: 60px;
}

.pp-accordion {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.pp-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  user-select: none;
  background: #fff;
  transition: background .2s;
  gap: 10px;
}

.pp-accordion summary::-webkit-details-marker { display: none; }

.pp-accordion summary:hover {
  background: var(--bglight);
}

.pp-accordion summary .pp-toggle-icon {
  width: 28px;
  height: 28px;
  background: var(--bglight);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .3s, background .2s;
  color: var(--color-main);
  font-size: 13px;
}

.pp-accordion[open] summary .pp-toggle-icon {
  transform: rotate(180deg);
  background: var(--color-main);
  color: #fff;
}

.pp-accordion[open] summary {
  border-bottom: 1px solid #e0e0e0;
}

.pp-body {
  padding: 28px 28px 32px;
  font-size: 14px;
  color: #555;
  line-height: 2;
  max-height: 400px;
  overflow-y: auto;
}

.pp-body::-webkit-scrollbar { width: 4px; }
.pp-body::-webkit-scrollbar-thumb { background: var(--color-main); border-radius: 2px; }
.pp-body::-webkit-scrollbar-track { background: #f0f0f0; }

.pp-body h3 {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin: 20px 0 8px;
  padding-left: 10px;
  border-left: 3px solid var(--color-main);
}

.pp-body h3:first-child { margin-top: 0; }

.pp-body p { margin-bottom: 10px; }

@media (max-width: 600px) {
  .tel-box-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 24px 24px 32px;
    gap: 16px;
  }
}

/* thanks */
.thanks-wrap {
  text-align: center;
  padding: clamp(80px, 15vw, 160px) 0;
}

.thanks-wrap .icon-check {
  font-size: 60px;
  color: var(--color-main);
  margin-bottom: 20px;
}

.thanks-wrap h2 {
  font-size: clamp(1.4rem, 1rem + 1vw, 2rem);
  margin-bottom: 20px;
}

.thanks-wrap p {
  color: #555;
  line-height: 2.2;
  margin-bottom: 40px;
}

/* =========================================
   レスポンシブ
========================================= */
@media (max-width: 1023px) {
  .ext-service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .works-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }	
}
@media (max-width: 819px) {
  .service-layout,
  .service-layout.rev,
  .reason-detail-item,
  .reason-detail-item.rev,
  .about-intro {
    flex-direction: column;
  }

  .service-img,
  .service-body,
  .reason-detail-img,
  .reason-detail-body {
    width: 100% !important;
  }

  .about-intro img {
    width: 100%;
  }


  .works-cat-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .voice-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    height: 200px;
  }

  .deco-right::before,
  .deco-left::before {
    display: none;
  }
}

@media (max-width: 767px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .ba-wrap {
    grid-template-columns: 1fr;
  }

  .detail-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .ba-block .detail-gallery {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 40px 24px;
  }

  .reason-detail-img .num-badge {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    top: -15px;
    left: -10px;
  }
}
