@charset "UTF-8";
/* CSS Document */

/* =================================================
   WORKS GRID COMPLETE STYLESHEET
   ・横はみ出し完全防止
   ・画像は必ず枠内フィット
   ・明朝タイトル（モバイル改行最適化）
   ・建築会社向け上品ミニマル設計
================================================= */


/* ---------- 横スクロール完全防止 ---------- */
html, body{
  overflow-x: hidden;
}


/* ---------- グリッド全体 ---------- */
.hw-grid{
  width:100%;
  max-width:100%;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:32px;
  box-sizing:border-box;
}


/* ---------- カード ---------- */
.hw-card{
  display:block;
  text-decoration:none;
  color:#1a1a1a;
  transition:transform .5s ease;
}

.hw-card:hover{
  transform:translateY(-6px);
}


/* ---------- サムネイル枠 ---------- */
.hw-thumb{
  position:relative;
  width:100%;
  aspect-ratio:4 / 3;
  border-radius:22px;
  overflow:hidden;
  background:#f4f4f4;
  box-sizing:border-box;
}


/* ---------- 画像（確実に枠フィット） ---------- */
.hw-thumb img,
.hw-img{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  display:block !important;
  object-fit:cover !important;
  object-position:center !important;
  transition:transform .8s ease;
}

.hw-card:hover .hw-thumb img{
  transform:scale(1.04);
}


/* ---------- 画像なし時 ---------- */
.hw-placeholder{
  width:100%;
  height:100%;
  background:linear-gradient(135deg,#ececec,#dddddd);
}


/* ---------- タイトル（明朝・2行制限） ---------- */
.hw-title{
  margin:18px 6px 0;
  font-family:"Noto Serif JP","Yu Mincho","Hiragino Mincho ProN","游明朝",serif;
  font-weight:300;
  font-size:17px;
  line-height:1.7;
  letter-spacing:0.08em;
  color:#2a2a2a;

  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;

  white-space:normal;
  word-break:keep-all;
  line-break:strict;
  overflow-wrap:anywhere;
  box-sizing:border-box;
}


/* ---------- Tablet ---------- */
@media (max-width:1024px){

  .hw-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:26px;
  }

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

}


/* ---------- Mobile ---------- */
@media (max-width:600px){

  .hw-grid{
    grid-template-columns:1fr;
    gap:24px;
    padding-left:18px;
    padding-right:18px;
  }

  .hw-thumb{
    border-radius:18px;
  }

  .hw-title{
    font-size:clamp(17px,4.5vw,20px);
    line-height:1.8;
    letter-spacing:0.07em;
    margin-top:20px;
  }

}


/* ---------- 超小型端末 ---------- */
@media (max-width:380px){

  .hw-grid{
    padding-left:14px;
    padding-right:14px;
  }

  .hw-title{
    font-size:16px;
  }

}


/* ---------------------------
   会社概要
---------------------------- */
.company-profile {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 20px;
}

.company-profile__title {
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: 0.08em;
  margin: 0 0 18px;
  padding: 0 0 14px;
  border-bottom: 1px solid #e5e7eb;
}

.company-profile__dl {
  margin: 0;
}

.company-profile__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f3f5;
}

.company-profile__row dt {
  font-weight: 600;
  color: #111;
  letter-spacing: 0.04em;
}

.company-profile__row dd {
  margin: 0;
  color: #333;
  line-height: 1.9;
}

.company-profile__row a {
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid rgba(17,17,17,0.2);
}

.company-profile__row a:hover {
  border-bottom-color: rgba(17,17,17,0.6);
}

@media (max-width: 768px) {
  .company-profile {
    padding: 28px 16px;
  }

  .company-profile__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 0;
  }

  .company-profile__row dt {
    font-size: 13px;
    color: #555;
  }

  .company-profile__row dd {
    font-size: 14px;
  }
}


/* ---------------------------
   サムネイルトリム
---------------------------- */

/* =========================================
   PCのみ
   住まいの施工例・店舗の施工例の詳細ページ画像をクリップ
========================================= */

@media (min-width: 1025px) {

  /* imgの親をクリップ（超広めに拾う） */
  .custom-post-thumb-trim img {
    width: 100% !important;
    height: clamp(260px, 40vh, 420px) !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
  }

  /* imgの親要素を強制クリップ */
  .custom-post-thumb-trim img {
    overflow: hidden !important;
  }
}

/* =========================
  全体
========================= */
.overseas-sec {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

/* =========================
  見出し
========================= */
.typewriter {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: 0.08em;
  line-height: 1.8;
  margin-bottom: 50px;
}

/* =========================
  ボックス
========================= */
.text-box-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* 本文ボックス（完全ミニマル） */
.text-box {
  text-align: left;
  padding: 22px 26px;
  background: #fff;

  /* ← 全て削除 */
  box-shadow: none;
  border-left: none;

  /* ← 最低限の質感 */
  border: 1px solid #f0f0f0;
  border-radius: 4px;

  font-size: clamp(13px, 1vw, 15px);
  line-height: 2;
  color: #444;
  letter-spacing: 0.03em;

  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

/* 表示 */
.text-box.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* 遅延 */
.text-box:nth-child(1) { transition-delay: 0.2s; }
.text-box:nth-child(2) { transition-delay: 0.4s; }
.text-box:nth-child(3) { transition-delay: 0.6s; }
.text-box:nth-child(4) { transition-delay: 0.8s; }

/* =========================
  スマホ
========================= */
@media (max-width: 767px) {
  .overseas-sec {
    padding: 50px 16px;
  }

  .text-box {
    padding: 18px 16px;
    font-size: 13px;
  }
}


/* =========================
  上品アイコンリスト
========================= */
.lux-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 680px;
}

/* 各行 */
.lux-list li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid #f2f2f2;

  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.9;
  color: #444;
  letter-spacing: 0.03em;
}

/* 最後の線消す */
.lux-list li:last-child {
  border-bottom: none;
}

/* アイコン（丸） */
.lux-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);

  width: 8px;
  height: 8px;
  border-radius: 50%;

  background: #1d67c7;
  opacity: 0.8;
}

/* ホバー（ほんのり） */
.lux-list li:hover {
  background: #fafafa;
}

/* スマホ */
@media (max-width: 767px) {
  .lux-list li {
    padding: 12px 0 12px 24px;
    font-size: 13px;
  }
}


/* =========================================
   代表挨拶セクション 完全版
   白背景 / 上品 / ミニマル
========================================= */

.ceo-message {
  background: #ffffff;
  padding: clamp(72px, 9vw, 140px) 20px;
  color: #222;
}

.ceo-message__inner {
  width: min(100%, 1080px);
  margin: 0 auto;
}

/* ラベル */
.ceo-message__label {
  margin: 0 0 18px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.22em;
  color: #8d877d;
}

/* メイン見出し */
.ceo-message__headline {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(30px, 4.2vw, 60px);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #1f1b17;
}

/* リード */
.ceo-message__lead {
  margin-top: clamp(28px, 4vw, 42px);
  padding-top: 24px;
  border-top: 1px solid rgba(80, 68, 52, 0.14);
}

.ceo-message__lead p {
  margin: 0;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 2.1;
  letter-spacing: 0.04em;
  color: #4d463d;
}

/* 本文 */
.ceo-message__body {
  margin-top: clamp(40px, 5vw, 72px);
  display: grid;
  gap: clamp(34px, 4vw, 52px);
}

.ceo-message__block {
  padding-bottom: clamp(28px, 3vw, 38px);
  border-bottom: 1px solid rgba(80, 68, 52, 0.10);
}

.ceo-message__title {
  margin: 0 0 18px;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #2a241d;
}

.ceo-message__block p {
  margin: 0;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 2.2;
  letter-spacing: 0.04em;
  color: #433c34;
}

.ceo-message__block p + p {
  margin-top: 1.2em;
}

/* 下部エリア */
.ceo-message__footer {
  margin-top: clamp(56px, 7vw, 100px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid rgba(80, 68, 52, 0.14);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(40px, 6vw, 100px);
}

/* 左：会社名・役職・サイン */
.ceo-message__footer-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ceo-message__company,
.ceo-message__position {
  margin: 0;
  color: #2a241d;
}

.ceo-message__company {
  font-size: 14px;
  letter-spacing: 0.08em;
}

.ceo-message__position {
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.ceo-message__signature-wrap {
  margin-top: 20px;
  width: min(100%, 520px);
  display: flex;
  justify-content: center;
  transform: translateX(12px);
}

.ceo-message__signature {
  display: block;
  width: 60%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
}

/* 右：動画 */
.ceo-message__footer-right {
  width: 360px;
  flex-shrink: 0;
}

.ceo-message__media {
  width: 100%;
  overflow: hidden;
}

.ceo-message__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #f5f5f5;
  filter: brightness(0.94) contrast(1.04);
}

/* 大きめ画面 */
@media (min-width: 1280px) {
  .ceo-message__signature {
    max-width: 460px;
  }

  .ceo-message__footer-right {
    width: 380px;
  }
}

/* タブレット */
@media (max-width: 1024px) {
  .ceo-message {
    padding: 64px 20px 80px;
  }

  .ceo-message__headline {
    line-height: 1.55;
  }

  .ceo-message__footer {
    gap: 40px;
  }

  .ceo-message__signature-wrap {
    width: min(100%, 460px);
    transform: translateX(6px);
  }

  .ceo-message__signature {
    max-width: 360px;
  }

  .ceo-message__footer-right {
    width: 300px;
  }
}

/* スマホ */
@media (max-width: 767px) {
  .ceo-message {
    padding: 48px 20px 56px;
  }

  .ceo-message__headline {
    font-size: clamp(26px, 8vw, 38px);
    line-height: 1.6;
  }

  .ceo-message__lead {
    margin-top: 24px;
    padding-top: 20px;
  }

  .ceo-message__lead p,
  .ceo-message__block p {
    font-size: 14px;
    line-height: 2;
  }

  .ceo-message__body {
    margin-top: 36px;
    gap: 30px;
  }

  .ceo-message__block {
    padding-bottom: 28px;
  }

  .ceo-message__title {
    margin-bottom: 14px;
    font-size: 19px;
    line-height: 1.7;
  }

  .ceo-message__footer {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .ceo-message__footer-right {
    width: 100%;
    max-width: 320px;
    order: 1;
  }

  .ceo-message__footer-left {
    width: 100%;
    order: 2;
    align-items: center;
    text-align: center;
  }

  .ceo-message__signature-wrap {
    width: 100%;
    transform: translateX(0);
    margin-top: 16px;
  }

  .ceo-message__signature {
    max-width: 270px;
    margin: 0 auto;
  }
}

/* 小さいスマホ */
@media (max-width: 480px) {
  .ceo-message {
    padding: 40px 16px 48px;
  }

  .ceo-message__signature {
    max-width: 230px;
  }

  .ceo-message__footer-right {
    max-width: 280px;
  }
}