@charset "utf-8";

@import url("inview.css");

@keyframes animation1 {
  0% {
    right: -200px;
  }
  100% {
    right: 0px;
  }
}

@keyframes opa1 {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes zoomFade {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  5% {
    opacity: 1;
  }
  33.33% {
    opacity: 1;
  }
  38.33% {
    opacity: 0;
    transform: scale(1.15);
  }
  100% {
    opacity: 0;
    transform: scale(1.15);
  }
}

body * {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--base-font);
  -webkit-text-size-adjust: none;
  background: var(--bg-color);
  color: var(--bg-inverse-color);
  line-height: 2;
  overflow-x: hidden;
  width: 100%;
}

figure {
  margin: 0;
}

dd {
  margin: 0;
}

nav,
ul,
li,
ol {
  margin: 0;
  padding: 0;
}

nav ul {
  list-style: none;
}

table {
  border-collapse: collapse;
}

img {
  border: none;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

video {
  max-width: 100%;
}

iframe {
  width: 100%;
}

input {
  font-size: 1rem;
}

section {
  padding: 0 var(--content-space-s);
  margin: var(--content-space-l) 0;
}

a {
  color: inherit;
  transition: 0.3s;
}

a:hover {
  filter: brightness(1.1);
  text-decoration: none;
}

#container {
  animation: opa1 0.2s 0.2s both;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#contents {
  flex: 1;
  min-height: 0;
}

main {
  container-type: inline-size;
}

body:not(.home) main > section:first-child {
  margin-top: 0;
}

main ul,
main ol {
  margin-left: 2rem;
  margin-right: 2rem;
}

#header-container {
  --header-h: 90px;
  width: 100%;
  padding: 0 var(--content-space-s) 0;
}

body.home #header-container {
  height: auto;
  padding-bottom: var(--content-space-s);
}

header {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

#logo {
  margin: 0;
  flex-shrink: 0;
}

#logo a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #112a46;
}

#logo .logo-img {
  display: block;
  width: 50px;
  height: auto;
}

#logo .logo-text {
  display: none;
  font-size: 24px;
  font-weight: bold;
}

/* =========================================
   スマホのヘッダー余白＆ロゴ非表示の修正
========================================= */

/* 1. スマホでもロゴテキストを表示して、空白の意味を持たせる */
#logo .logo-text {
  display: inline !important; /* 強制的に表示 */
  font-size: 1.2rem; /* スマホ画面に合わせて少し小さく */
}

/* 2. スマホ時のヘッダーの高さをスッキリさせる */
@media (max-width: 767px) {
  #header-container {
    --header-h: 65px; /* 元の90pxだとスマホには広すぎるので縮小 */
  }
}

/* 3. WordPressエディタが勝手に追加する謎の余白を強制リセット */
.page-hero {
  margin-top: 0 !important;
}

.large-screen #logo .logo-text {
  display: inline;
}

#header-contact-box {
  display: none;
}

.large-screen #header-contact-box {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.header-tel-area {
  text-align: right;
  line-height: 1.2;
}

.tel-number {
  font-family: var(--tel-font);
  font-size: 26px;
  font-weight: bold;
  color: #b89a62;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.tel-time {
  font-size: 12px;
  color: #112a46;
  margin-top: 5px;
  font-weight: 600;
}

#header-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

#header-box ul a.btn-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #b89a62;
  color: #fff;
  padding: 12px 30px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  transition: opacity 0.3s;
}

#header-box ul a.btn-contact:hover {
  opacity: 0.8;
}

#menubar {
  display: none;
  animation: animation1 0.2s both;
  position: fixed;
  overflow: auto;
  z-index: 100;
  right: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  padding: 100px var(--content-space-l) 50px;
  background: var(--primary-color);
  color: #fff;
  opacity: 0.95;
}
/* スマホメニューのリンク（モダンデザイン） */
#menubar a {
  display: block;
  text-decoration: none;
  color: #fff;
  border: none;
  border-bottom: 1px solid #ffffff73; /* 薄いグレーの下線 */
  margin-bottom: 0;
  padding: 20px 5px; /* 余白をたっぷりとる */
  border-radius: 0;
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
}

/* リンクの右側にアクセントカラーの矢印を配置 */
#menubar a::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-color);
  font-size: 0.8rem;
}

#menubar ul ul {
  display: none;
}

#menubar ul ul a {
  border: none;
  margin-left: 2rem;
  padding: 0.5rem 1.5rem;
  background: #eee;
}
#menubar .tel-time {
  color: #fff;
}

/* =========================================
   スマホメニュー内のコンタクトエリア
========================================= */
.sp-menu-contact {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.sp-menu-contact .header-tel-area {
  text-align: center;
}

.sp-menu-contact .tel-number {
  justify-content: center;
  font-size: 32px; /* タップしやすいよう少し大きめに */
}

.sp-menu-contact .sp-menu-btn {
  width: 100%;
}

/* スマホメニュー内のお問い合わせボタン */
.sp-menu-contact .btn-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--accent-color);
  color: #fff;
  padding: 18px;
  letter-spacing: 1px;
  border-radius: 4px !important;
  font-size: 18px !important;
  font-weight: bold;
  text-decoration: none;
  border: none;
  border-bottom: none !important;
  text-align: center;
}

/* お問い合わせボタンには矢印アイコンを出さない */
.sp-menu-contact .btn-contact::after {
  display: none;
}

a.ddmenu::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f078";
  margin-right: 1em;
  font-size: 0.7em;
  vertical-align: middle;
  display: inline-block;
  line-height: 1;
}

.large-screen #menubar {
  display: block;
  flex: 1;
  position: static;
  overflow: visible;
  width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  color: inherit;
  animation: none;
}

.large-screen #menubar > nav > ul {
  display: flex;
}

.large-screen #menubar li a {
  display: block;
  text-decoration: none;
  padding: 0.5rem 10px;
  color: #112a46;
  font-weight: 500;
  font-size: 15px;
  border: none;
  margin-bottom: 0;
  border-radius: 0;
}

.large-screen #menubar ul ul {
  text-shadow: none;
  position: absolute;
  z-index: 100;
  animation: opa1 0.5s 0.1s both;
  border: 1px solid var(--bg-inverse-color);
}

.large-screen #menubar ul ul li:not(:last-child) {
  border-bottom: 1px solid var(--bg-inverse-color);
}

.large-screen #menubar ul ul a {
  margin-left: 0;
  background: var(--bg-color);
  color: var(--bg-inverse-color);
  padding: 0.2rem 1rem;
}

.large-screen #menubar li a::after {
  display: none;
}

#menubar_hdr {
  display: flex;
  animation: opa1 0s 0.2s both;
  cursor: pointer;
  position: fixed;
  z-index: 101;
  right: 0px;
  top: 0px;
  width: 70px;
  height: 70px;
}

#menubar_hdr span {
  display: block;
  transition: 0.3s;
  position: absolute;
  left: 18px;
  width: 35px;
  height: 2px;
  background: var(--bg-inverse-color);
}

#menubar_hdr.ham {
  background: var(--primary-color);
}

#menubar_hdr.ham span {
  background: var(--bg-color);
}

#menubar_hdr span:nth-of-type(1) {
  top: 24px;
}

#menubar_hdr span:nth-of-type(2) {
  top: 34px;
}

#menubar_hdr span:nth-of-type(3) {
  top: 44px;
}

#menubar_hdr.ham span:nth-of-type(1) {
  transform: translateY(10px) rotate(-45deg);
}

#menubar_hdr.ham span:nth-of-type(2) {
  opacity: 0;
}

#menubar_hdr.ham span:nth-of-type(3) {
  transform: translateY(-10px) rotate(45deg);
}

.large-screen #menubar_hdr {
  display: none;
}

.pagetop-show {
  display: block;
}

.pagetop a {
  display: block;
  text-decoration: none;
  text-align: center;
  z-index: 99;
  animation: opa1 1s 0.4s both;
  position: fixed;
  right: 20px;
  bottom: 20px;
  color: #fff;
  font-size: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  width: 60px;
  line-height: 60px;
  border-radius: 50%;
}

.bg1-parts {
  background: var(--bg-inverse-color);
  color: var(--bg-color);
}

.bg1-primary-parts {
  background: var(--primary-color);
  color: var(--primary-inverse-color);
}

.bg1-light-parts {
  background: var(--light-color);
  color: var(--light-inverse-color);
}

.bg1-accent-parts {
  background: var(--accent-color);
  color: var(--accent-inverse-color);
}

.bg-parts {
  padding-top: var(--content-space-l);
  padding-bottom: var(--content-space-l);
}

.bg-parts + .bg-parts {
  margin-top: calc(-1 * var(--content-space-l)) !important;
}

.bleed-x-parts {
  --bleed-x: var(--content-space-s);
  width: calc(100% + (var(--bleed-x) * 2));
  margin-left: calc(var(--bleed-x) * -1);
  margin-right: calc(var(--bleed-x) * -1);
  max-width: none;
}

.bleed-left-parts {
  width: calc(100% + var(--content-space-s));
  margin-left: calc(-1 * var(--content-space-s));
}

.bleed-right-parts {
  width: calc(100% + var(--content-space-s));
  margin-right: calc(-1 * var(--content-space-s));
}

.space-x-parts {
  width: calc(100% - var(--content-space-l) * 2) !important;
  margin-inline: auto !important;
}

.color-check,
.color-check a {
  color: #ff0000 !important;
}

.bg1-accent-parts .color-check,
.color-check a {
  color: #fef500 !important;
}

.l {
  text-align: left !important;
}

.c {
  text-align: center !important;
}

.r {
  text-align: right !important;
}

.ws {
  width: 100%;
  display: block;
}

.wl {
  width: 100%;
  display: block;
}

.padding-x-parts {
  padding: 0 var(--content-space-l);
}

.mt0 {
  margin-top: 0px !important;
}

.mt1rem {
  margin-top: 1rem !important;
}

.mt3rem {
  margin-top: 3rem !important;
}

.mb0 {
  margin-bottom: 0px !important;
}

.mb1rem {
  margin-bottom: 1rem !important;
}

.mb3rem {
  margin-bottom: 3rem !important;
}

.mb30 {
  margin-bottom: 30px !important;
}

.look {
  display: inline-block;
  padding: 0px 10px;
  background: #eee;
  border: 1px solid #ccc;
  color: #888;
  border-radius: 3px;
  margin: 5px 0;
  word-break: break-all;
}

.small {
  font-size: 0.75em;
}

.large {
  font-size: 2em;
  letter-spacing: 0.1em;
}

.pc {
  display: none;
}

.dn {
  display: none !important;
}

.block {
  display: block !important;
}

.is-clip {
  overflow: hidden;
}

.mainimg-movie1-btn1-parts {
  width: 100%;
  position: relative;
  height: calc(100% - var(--header-h));
  overflow: hidden;
  border-radius: 2vw;
}

.mainimg-movie1-btn1-parts video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.hero-slider-zone {
  position: relative;
  width: 100%;
  height: 600px;
  min-height: 500px;
  overflow: hidden;
  background-color: var(--primary-color);
}

.hero-slider-zone .maintext-area {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 90%;
  max-width: 800px;
  text-align: center;
}

.hero-slider-zone .maintext-area h2 {
  margin: 0;
}

.hero-slider-zone .maintext-area h2 img {
  max-width: 100%;
  height: auto;
}

.hero-slider-zone .text-parts {
  position: absolute;
  bottom: 40px; /* 下からの余白を少しだけ確保（お好みで調整してください） */
  left: 50%;
  /* ↓ Y軸の-50%を消して、X軸（横方向）の中央揃えだけに限定する！ */
  transform: translateX(-50%);
  z-index: 10;
  width: 90%;
  max-width: 800px;
  text-align: center;
}

.hero-slider-zone .text-parts p {
  font-family: var(--desc-font);
  color: #fff;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.zoom-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 1;
}

.zoom-slider li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: zoomFade 18s linear infinite;
}

.zoom-slider li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 42, 70, 0.4);
}

.zoom-slider li:nth-child(1) {
  animation-delay: 0s;
}

.zoom-slider li:nth-child(2) {
  animation-delay: 6s;
}

.zoom-slider li:nth-child(3) {
  animation-delay: 12s;
}

.hero-slider-zone .btn-container-parts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  justify-content: center;
}

.hero-slider-zone .btn-container-parts > div {
  flex: none;
  width: 100%;
  max-width: 320px;
}

.hero-slider-zone .btn-container-parts a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 0;
  border-radius: 4px;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-slider-zone .btn-container-parts a i {
  margin-right: 8px;
  font-size: 1.2em;
}

.btn-hero-outline a {
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-hero-outline a:hover {
  background: #fff;
  color: var(--primary-color);
}

.btn-hero-line a {
  border: 1px solid #06c755;
  background: #06c755;
  color: #fff;
}

.btn-hero-line a:hover {
  background: #05a546;
}

/* 新着物件下の新しいボタン */
.btn-view-all {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 300px;
  margin: 3rem auto 0;
  background-color: #556b82; /* 画像のスレートカラー */
  color: #fff;
  padding: 16px;
  border-radius: 4px;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s;
  position: relative;
}
.btn-view-all::after {
  content: "\f054"; /* FontAwesomeの矢印アイコン */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 20px;
  font-size: 14px;
}
.btn-view-all:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.heading-bg-text {
  position: relative;
  z-index: 1;
  text-align: center;
  font-weight: bold;
  color: #333333;
  font-size: 2rem;
  letter-spacing: 0.1em;
}

.heading-bg-text::before {
  content: attr(data-en);
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4.5em; /* LATESTのサイズ感に合わせて大きく */
  font-weight: bold;
  color: #f0f4f8; /* 非常に薄いグレーブルー */
  z-index: -1;
  white-space: nowrap;
  letter-spacing: 0.1em;
}

.heading-bg-text-w {
  position: relative;
  z-index: 1;
  text-align: center;
  font-weight: bold;
  color: #333333;
  font-size: 2rem;
}

.heading-bg-text-w::before {
  content: attr(data-en);
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3em;
  font-weight: bold;
  color: #fff;
  z-index: -1;
  white-space: nowrap;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

dl.news2-parts * {
  margin: 0;
  padding: 0;
}

dl.news2-parts dt {
  display: flex;
  color: #999;
}

/* =========================================
   フッター直前 スライダー＆メッセージエリア
========================================= */
.mainimg-slide-thumbnail1-step-A-parts {
  position: relative;
  overflow-x: hidden;
  background: var(--primary-color); /* 全体をネイビーに固定 */
  color: var(--primary-inverse-color);
  text-align: center;
  padding-bottom: 3rem;
  margin-top: 50px;
}

/* スライダーの背面（上部）だけを白くして、前のセクションとシームレスに繋げる */
.mainimg-slide-thumbnail1-step-A-parts::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12vw; /* 画面幅に応じた高さ（スライダーの中心くらいを狙う） */
  min-height: 80px;
  background-color: var(--bg-color); /* 白 */
  z-index: 0;
}

/* 中の要素を背景より前に出す */
.mainimg-slide-thumbnail1-step-A-parts .img-parts,
.mainimg-slide-thumbnail1-step-A-parts h2,
.mainimg-slide-thumbnail1-step-A-parts p,
.site-footer {
  position: relative;
  z-index: 1;
}

.mainimg-slide-thumbnail1-step-A-parts h2 {
  font-family: var(--accent-font), var(--base-font);
  font-size: clamp(2rem, 5vw, 3rem); /* スマホで縮小して見切れを防ぐ */
  font-weight: 500;
  margin-top: 80px; /* スライダーとの余白 */
  margin-bottom: 1rem;
  line-height: 1.2;
}

.mainimg-slide-thumbnail1-step-A-parts p.serif {
  font-size: clamp(1rem, 3vw, 1.3em); /* スマホで縮小 */
  font-family: var(--desc-font);
  margin-bottom: 60px;
  font-weight: 300;
}

.mainimg-slide-thumbnail1-step-A-parts
  + .mainimg-slide-thumbnail1-step-A-parts {
  margin-top: 1rem;
}

.mainimg-slide-thumbnail1-step-A-parts .img-parts {
  display: flex;
  overflow: hidden;
}

.mainimg-slide-thumbnail1-step-A-parts .img-parts div:nth-of-type(even) {
  margin-top: 2rem;
}

.mainimg-slide-thumbnail1-step-A-parts .img-parts > div {
  padding: 0 1rem;
}

.mainimg-slide-thumbnail1-step-A-parts .rtl-parts,
.mainimg-slide-thumbnail1-step-A-parts .ltr-parts {
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.mainimg-slide-thumbnail1-step-A-parts .rtl-parts {
  animation-name: slide-rtl-parts;
}

.mainimg-slide-thumbnail1-step-A-parts .ltr-parts {
  animation-name: slide-ltr-parts;
}

@keyframes slide-rtl-parts {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes slide-ltr-parts {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* スマホ時のスライダー画像サイズ調整（JSの計算を上書きして大きく表示） */
@media (max-width: 600px) {
  .mainimg-slide-thumbnail1-step-A-parts .img-parts {
    width: 600% !important; /* 全体幅を広げて、1枚の画像をいい感じに大きくする */
  }
  .mainimg-slide-thumbnail1-step-A-parts .img-parts > div {
    padding: 0 5px; /* 画像の隙間を少し詰める */
  }
}

.list-auto1-parts * {
  margin: 0;
  padding: 0;
}

.list-auto1-parts a {
  text-decoration: none;
}

.list-auto1-parts {
  overflow-x: hidden;
  padding-bottom: 50px;
  position: relative;
  line-height: 1.5;
}
/* 新着物件スライダー 1つ1つのカード設定 */
.list-auto1-parts .img-parts > div {
  flex: 0 0 98%; /* ← 48% から 98% に変更（スマホで1枚表示） */
  max-width: 98%; /* ← 48% から 98% に変更 */
  margin: 0 1%;
  padding: 1.5rem;
  background: var(--bg-color);
  color: var(--bg-inverse-color);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.list-auto1-parts .img-parts {
  display: flex;
}

.list-auto1-parts .img-parts img {
  width: 100%;
}

.list-auto1-parts h3 {
  margin-top: 0.2rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.list-auto1-parts p {
  font-size: 0.85rem;
}

.list-auto1-parts .slide-indicators-parts {
  text-align: center;
  position: absolute;
  width: 100%;
  bottom: 0px;
  left: 0px;
}

.list-auto1-parts .indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #e2e8f0; /* 非アクティブを薄いグレーに */
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

.list-auto1-parts .indicator.active {
  background: #8c9eb5; /* アクティブをスレートブルーに */
}

.list-auto1-parts .indicator.active {
  background: var(--primary-color);
}

.bg1-primary-parts .list-auto1-parts .indicator.active {
  background: var(--primary-inverse-color);
}

.bg1-accent-parts .list-auto1-parts .indicator.active {
  background: var(--accent-inverse-color);
}

/* CTAエリア */
.others-overlay1-parts {
  display: flex;
  flex-direction: column;
}

.others-overlay1-parts a {
  text-decoration: none;
  display: block;
}

.others-overlay1-parts .list-parts {
  flex: 1;
  text-align: center;
  position: relative;
  overflow-y: hidden;
}

.others-overlay1-parts .text-parts {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 3rem 2vw;
  /* 高さを固定せず、フレックスボックスで常にど真ん中に美しく配置 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 250px;
}
.others-overlay1-parts .text-parts h2 {
  font-family: var(--accent-font), var(--base-font);
  font-size: clamp(40px, 4vw, 56px); /* 画像のように存在感のある大きさに */
  font-weight: normal;
  letter-spacing: 0.05em;
  margin: 0; /* 余計なデフォルトマージンをリセット */
  line-height: 1;
}

.others-overlay1-parts .text-parts h2 span {
  display: block;
  font-size: 15px;
  letter-spacing: 0.1em;
  margin-top: 20px; /* 英語（Company等）と日本語の間の絶妙な余白 */
  font-family: var(--desc-font);
}

.others-overlay1-parts .text-parts p {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 50px; /* 日本語サブタイトルと説明文の間の大きな余白 */
  margin-bottom: 0;
  letter-spacing: 0.05em;
  font-family: var(--desc-font);
  font-weight: 300;
  width: 90%; /* 画面の両端に5%ずつのゆとりを持たせる */
  max-width: 450px; /* パソコンなどの大画面で1行が長くなりすぎるのを防ぐ */
}

.others-overlay1-parts .image1-parts {
  background: url("../images/company_bg2.jpg") no-repeat center center / cover;
}

.others-overlay1-parts .image2-parts {
  background: url("../images/contact_bg.jpg") no-repeat center center / cover;
}

.others-overlay1-parts .list-parts::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  transition: transform 0.3s 0.1s;
}

.others-overlay1-parts .list-parts:hover::before {
  transform: translateY(100%);
}

/* =========================================
   セクション共通説明文
========================================= */
.section-desc {
  font-family: var(--desc-font); /* 指定のNoto Serif JPを適用 */
  color: var(--bg-inverse-color);
  margin-bottom: 60px;
  line-height: 1.8;
}

/* =========================================
   Why Choose Us セクション
========================================= */
.why-choose-us-section {
  position: relative;
  margin-top: 150px; /* 上のセクションとの間に余白を作り、はみ出しを許容する */
  padding-top: 80px; /* セクション内の上部余白 */
  padding-bottom: 160px;
  z-index: 1;
}

/* 背景の巨大な透かし文字 */
.why-watermark {
  position: absolute;
  top: -34px; /* 基準をセクションの境界線（一番上）に設定 */
  right: 0;
  transform: translateY(
    -50%
  ); /* 文字の高さのちょうど半分だけ上に引き上げて、境界線をまたがせる */
  font-family: var(--accent-font), var(--base-font);
  font-size: 128px; /* 画面幅に合わせてダイナミックに拡大 */
  color: var(--light-color);
  white-space: nowrap;
  z-index: -1;
  line-height: 1;
  font-weight: bold;
  pointer-events: none; /* テキスト選択などを無効化して背景に徹する */
}
/* 左側の家のイラスト */
.house-illustration {
  position: absolute;
  top: -62px; /* 基準をセクションの境界線（一番上）に設定 */
  left: 0;
  transform: translateY(-65%); /* 画像の高さの65%分だけ上に引き上げる */
  width: 25vw;
  min-width: 150px;
  max-width: 320px;
  z-index: -5;
  pointer-events: none;
  opacity: 0.1;
}

.house-illustration img {
  width: 100%;
  height: auto;
}

/* コンテンツをイラストや文字より前に出すためのラッパー */
.why-choose-us-inner {
  position: relative;
  z-index: 2;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1440px;
  margin: 0 auto;
}

.feature-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 70px 20px 40px;
  text-align: center;
  position: relative;
  margin-top: 50px; /* 上部の丸いアイコンがはみ出す分のスペース */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); /* 画像に合わせたうっすらとした影 */
  z-index: 1;
}

/* 上部の半円（カードと同じ白にしてシームレスに繋ぐ） */
.feature-icon {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  width: 170px;
  height: 170px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: -1;
}

.feature-icon img {
  width: 100px;
  height: auto;
  margin-bottom: 30px;
}

.feature-card h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.feature-card p {
  font-size: 0.9em;
  color: var(--border-color);
  line-height: 1.6;
  text-align: left;
}
/* =========================================
   Staff セクション
========================================= */
.staff-section {
  position: relative;
  padding-top: 80px; /* セクション内の上部余白 */
  z-index: 1;
}

/* 背景の巨大な透かし文字 */
.staff-watermark {
  position: absolute;
  top: -33px; /* 基準をセクションの境界線（一番上）に設定 */
  left: 0;
  transform: translateY(
    -50%
  ); /* 文字の高さのちょうど半分だけ上に引き上げて、境界線をまたがせる */
  font-family: var(--accent-font), var(--base-font);
  font-size: 128px; /* 画面幅に合わせてダイナミックに拡大 */
  color: #fff; /* ご指定いただいたカラー */
  white-space: nowrap;
  z-index: -1;
  line-height: 1;
  font-weight: bold;
  pointer-events: none; /* テキスト選択などを無効化して背景に徹する */
  padding-left: 5vw; /* 画像のように左側に少し余白を持たせる */
}

/* コンテンツを文字より前に出すためのラッパー */
.staff-inner {
  position: relative;
  z-index: 2;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1440px;
  margin: 0 auto 50px; /* ボタンとの間の余白 */
}

.staff-card {
  background-color: #f8fafc; /* 画像の極薄いグレーブルー背景 */
  border-radius: 4px;
  padding: 70px 20px 30px;
  text-align: center;
  position: relative;
  margin-top: 60px; /* 上部の写真がはみ出す分のスペース */
}

/* 上部のスタッフ写真 */
.staff-img {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

.staff-card h3 {
  font-size: 18px;
  color: var(--bg-inverse-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.staff-card p {
  font-size: 13px;
  color: var(--border-color);
}

/* =========================================
   街並みイラスト装飾
========================================= */
.town-illustration {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: 60px; /* ボタンとイラストの間の余白 */
}

.town-illustration img {
  width: 100%;
  height: auto;
  min-width: 800px; /* スマホで縮小されすぎないための制御 */
  object-fit: cover;
  object-position: bottom;
  opacity: 0.2; /* 薄く透かしを入れる */
}

a.btn_03 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  position: relative;
  background: #228bc8;
  border: 1px solid #228bc8;
  border-radius: 30px;
  box-sizing: border-box;
  padding: 1em 45px 1em 25px;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  transition-duration: 0.3s;
  margin: 5rem auto;
}

a.btn_03:before {
  content: "";
  width: 8px;
  height: 8px;
  border: 0;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 25px;
  margin-top: -6px;
}

a.btn_03:hover {
  background: #fff;
  color: #228bc8;
}

a.btn_03:hover:before {
  border-top: 2px solid #228bc8;
  border-right: 2px solid #228bc8;
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

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

.page-header h1 {
  font-size: 28px;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-header .en {
  font-size: 14px;
  color: var(--color-watermark);
  letter-spacing: 0.1em;
  margin-top: 5px;
}

.search-filter-section {
  background-color: var(--color-base-light);
  padding: 30px 20px;
  border-radius: 12px;
  margin-bottom: 50px;
}

.search-form .form-group {
  margin-bottom: 20px;
}

.search-form label {
  display: block;
  font-weight: bold;
  color: var(--color-text);
  margin-bottom: 10px;
}

.input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-form select,
.search-form input[type="text"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  background-color: var(--color-white);
}

.checkbox-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.checkbox-wrap label {
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

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

.btn-search {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
  max-width: 350px;
}

.btn-search:hover {
  background-color: #005bb5;
}

.search-page-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.search-sidebar {
  width: 100%;
  background-color: var(--color-base-light);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 25px;
}

.search-main {
  flex: 1;
  min-width: 0;
}

.sidebar-title {
  font-size: 18px;
  color: var(--color-primary);
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}

.filter-group {
  margin-bottom: 20px;
}

.filter-label {
  display: block;
  font-weight: bold;
  font-size: 14px;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.select-wrap-half {
  display: flex;
  align-items: center;
  gap: 5px;
}

.select-wrap-half select,
.input-text {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 14px;
}

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

.checkbox-list li {
  margin-bottom: 8px;
  font-size: 14px;
}

.btn-sidebar-search {
  width: 100%;
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 2px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s;
}

.btn-sidebar-search:hover {
  background-color: var(--color-secondary);
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--color-border);
}

.result-count {
  font-size: 16px;
}

.result-count span {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-primary);
  margin: 0 5px;
}

.result-sort select {
  padding: 8px 15px;
  border: 1px solid #ccc;
  border-radius: 2px;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.prop-card {
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  padding: 15px;
  transition: box-shadow 0.3s ease;
}

.prop-card:hover {
  box-shadow: 0 8px 20px rgba(17, 42, 70, 0.08);
}

.prop-img {
  aspect-ratio: 1 / 1;
  background-color: #e9e9e9;
  margin-bottom: 15px;
}

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

.prop-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--bg-inverse-color); /* 黒に近い色へ変更 */
  margin-top: 0;
  margin-bottom: 15px;
}

.prop-specs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.spec-row {
  display: flex;
  font-size: 13px;
}

.spec-label {
  background-color: var(--light-color);
  color: var(--border-color); /* 薄いグレー背景にスレート文字 */
  width: 30%;
  padding: 6px;
  text-align: center;
}

.spec-value {
  width: 70%;
  padding: 6px 10px;
  color: var(--color-text);
}

.btn-detail-outline {
  display: block;
  text-align: center;
  border: 1px solid var(--border-color); /* スレート色の枠へ変更 */
  color: var(--border-color); /* スレート色の文字へ変更 */
  padding: 12px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  background-color: transparent;
  border-radius: 4px;
  transition: all 0.3s;
}

.btn-detail-outline:hover {
  background-color: var(--border-color);
  color: #fff;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  border-radius: 4px;
}

.pagination .current {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-detail {
  display: block;
  text-align: center;
  padding: 12px;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-detail:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-detail.line-contact {
  border-color: #06c755;
  color: #06c755;
}

.btn-detail.line-contact:hover {
  background-color: #06c755;
  color: var(--color-white);
}

/* お知らせ（新規）
---------------------------------------------------------------------------*/
#news {
  margin: 0;
  padding: 60px 0;
}
.news-new-parts {
  position: relative;
}
/* 透かし文字の位置と色調整 */
.news-watermark {
  justify-content: center;
  margin-bottom: 0 !important; /* スマホ時のネガティブマージンを解除 */
  color: rgba(17, 42, 70, 0.05); /* 非常に薄いネイビー */
  margin-top: 2rem; /* スマホ時の位置微調整 */
}
/* PC版位置微調整 */
@media (min-width: 501px) {
  .news-watermark {
    margin-bottom: 0 !important;
    margin-top: 4rem;
  }
}

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

.news-inner h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #112a46; /* ディープネイビー */
}

.news-list {
  max-width: 800px;
  margin: 0 auto;
}
.news-list p {
  padding: 1rem 0;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
  color: #333;
}
.news-list p:last-child {
  border-bottom: 1px solid #ddd;
}

/* スレートブルーのボタン（ slate ） */
.btn1-parts.slate a {
  background: #556b82; /* スレートブルー */
  color: #fff;
}
.btn1-parts.slate a:hover {
  opacity: 0.8;
}

/* =========================================
   お知らせセクション（画像デザインの再現）
========================================= */

/* 見出しの余白と透かし文字の色を画像に合わせて微調整 */
.heading-bg-text {
  margin-top: 60px;
  margin-bottom: 60px;
}
.heading-bg-text::before {
  content: attr(data-en);
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* ↓ 4.5em から clamp に変更！スマホでは画面幅に合わせて縮み、PCでは最大4.5emになる */
  font-size: clamp(5rem, 16vw, 3em);
  font-weight: bold;
  color: #f0f4f8;
  z-index: -1;
  white-space: nowrap;
  letter-spacing: 0.1em;
}
/* お知らせリスト全体を囲むラッパー */
.news-wrapper {
  max-width: 1000px;
  margin: 0 auto 50px;
}

.news-list-custom {
  margin: 0;
  padding: 0;
}

/* 1行ごとの設定（モバイルファースト：スマホ時は縦並び） */
.news-row {
  display: flex;
  flex-direction: column;
  padding: 25px 0;
  border-bottom: 1px solid #e2e8f0; /* 薄いグレーの罫線 */
  position: relative; /* 行全体リンク化のための基準位置 */
  transition: background-color 0.3s; /* ホバー時の背景色アニメーション */
  cursor: pointer;
}

/* マウスオン時にうっすら背景色をつけて「押せる感」を出す */
.news-row:hover {
  background-color: #f8fafc;
}

/* 一番上の項目だけ上にも罫線を引く */
.news-row:first-child {
  border-top: 1px solid #e2e8f0;
}

/* 日付部分 */
.news-list-custom dt {
  color: var(--border-color);
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: normal;
}

/* テキスト部分 */
.news-list-custom dd {
  color: var(--bg-inverse-color);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* リンクテキストの設定 */
.news-list-custom dd a {
  text-decoration: none; /* デフォルトの下線を消す */
  color: inherit; /* 親要素の文字色を引き継ぐ */
  display: block; /* ブロック要素にして高さを確保する */
  cursor: pointer; /* マウスオーバーでポインターに */
}

/* リンクのクリック判定を、行（.news-row）の隅々まで広げる魔法のコード */
.news-list-custom dd a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* =========================================
   フッター
========================================= */

.site-footer {
  background-color: #4a6076;
  color: #ffffff;
  font-family:
    "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    Meiryo, sans-serif;
  padding: 40px 20px 20px;
  line-height: 1.6;
  border-radius: 2vw;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.site-footer a:hover {
  opacity: 0.7;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 0 auto;
}

.footer-logo a {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 15px;
}

.footer-address {
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-address .access {
  display: block;
  margin-top: 5px;
  color: var(--light-color);
  font-size: 13px;
}

.footer-tel {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-line-btn a {
  display: inline-block;
  background-color: #06c755;
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
}

.footer-map {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
}

.footer-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-menu a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  position: relative;
}

.footer-menu a::after {
  content: "›";
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  color: #a0b4d6;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.footer-sub-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-sub-menu a {
  font-size: 12px;
  color: #fff;
}

.copyright {
  font-size: 12px;
  color: #cbcbcb;
}

/* =========================================
   下層ページ：全幅ページヒーロー（忠実再現版）
========================================= */
.page-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 180px; /* ★ベース（スマホ）の高さを設定 */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  /* 背景画像に青系オーバーレイを重ねる */
  background-image:
    linear-gradient(rgba(17, 42, 70, 0.7), rgba(17, 42, 70, 0.7)),
    url("../images/company_bg2.jpg"); /* ★テスト用の都市画像パス。実際の画像パスに変更してください。 */
  background-size: cover;
  background-position: center;
  margin-bottom: 0;
  color: #fff;
  text-align: center;
}

.page-hero-inner {
  position: relative;
  z-index: 2; /* 背面の英語テキストより前に出す */
}

/* 前面の日本語テキスト（「会社概要」） */
.page-hero h1 {
  font-family: var(--base-font); /* ゴシック体 */
  font-size: 1.8rem;
  font-weight: bold; /* ★太字 */
  color: #fff; /* ★白色 */
  letter-spacing: 0.1em;
  line-height: 1;
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* 背面の巨大な英語テキスト（「COMPANY」） */
.page-hero h1::before {
  content: "COMPANY"; /* ★英語テキストの内容 */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* ★前面テキストの中央に配置 */
  font-family: var(--base-font); /* ゴシック体 */
  font-size: 2.5em; /* ★前面テキストより非常に大きく（スマホ用） */
  font-weight: bold; /* ★太字 */
  color: rgba(255, 255, 255, 0.1); /* ★非常に薄い灰色（透明度が高い） */
  z-index: -1; /* ★前面テキストより後ろに配置 */
  white-space: nowrap; /* ★改行させない */
  letter-spacing: 0.05em;
}

/* パンくずリスト */
.breadcrumbs {
  padding: 0 var(--content-space-s);
  font-size: 13px;
  color: #666;
  max-width: 1200px;
  margin: 0 auto 50px;
}
.breadcrumbs a {
  color: #666;
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}

/* =========================================
   会社概要：経営理念セクション
========================================= */
.philosophy-section {
  position: relative;
  /* コンテナを突き破って画面全幅（100vw）にする魔法のコード */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 120px 20px;
  background-color: #fff;
  /* ↓ グラデーション（オーバーレイ）を全削除し、画像のみを超シンプルに指定！ */
  background-image: url("../images/ph_bg.png"); /* ★ここに加工済み画像のパスを入れてください */
  background-size: cover;
  background-position: 30%;
  background-repeat: no-repeat;
  text-align: center;
  min-height: 700px;
}

.philosophy-inner {
  position: relative;
  z-index: 2; /* 白フェードより文字を前に出す */
  max-width: 1000px;
  margin: 0 auto;
}

.philosophy-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: -2;
}

/* 下に向かって白くフェードアウトさせるグラデーション */
.philosophy-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  z-index: -1;
}

.philosophy-inner h2 {
  font-family: var(--desc-font);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--bg-inverse-color);
  margin-bottom: 100px;
  word-break: auto-phrase;
}

/* メインコピー（明朝体） */
.philosophy-catch {
  font-family: var(--desc-font);
  font-size: clamp(1.5rem, 3vw, 2.4rem); /* スマホ〜PCで可変 */
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 60px;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

/* 色が変わっている部分（感謝・喜び） */
.philosophy-catch span {
  color: #4a6076; /* 画像に合わせたスレートブルー */
}

/* 経営理念のレイアウト */
.philosophy-desc-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-family: var(--desc-font); /* ここも明朝体 */
  margin: 0;
}

.philosophy-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.philosophy-label {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  letter-spacing: 0.1em;
}

.philosophy-text {
  font-size: 1rem;
  line-height: 2;
  color: #333;
  text-align: center; /* スマホ時は中央揃え */
  letter-spacing: 0.05em;
  margin: 0;
}

/* =========================================
   会社概要：テーブル
========================================= */
.company-profile-section {
  max-width: 900px;
  margin: 0 auto 180px;
  padding: 0;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 25px 10px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  font-size: 15px;
}

.company-table th {
  width: 33%;
  color: var(--border-color); /* スレート系の色 */
  font-weight: normal;
  vertical-align: top;
}

.company-table td {
  width: 70%;
  color: #333;
  font-weight: 500;
}

/* =========================================
   会社概要：MVVセクション
========================================= */
.mvv-section {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 120px 20px 80px;
  background-image: url("../images/mvv_bg.jpg"); /* ★実際の背景画像のパスに書き換えてください */
  background-attachment: fixed; /* ← ★これが奥で画像をピタッと止める魔法です！ */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* （文字が見えにくくなる場合は、この下に半透明の黒などオーバーレイを重ねる設定を追加します） */
.mvv-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(56, 75, 95, 0.85);
  z-index: -1;
}

.mvv-inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  z-index: 2; /* 中身をフィルターより前に出す */
}

.mvv-watermark {
  position: absolute;
  top: -36px;
  right: 5vw;
  transform: translateY(-50%);
  font-family: var(--accent-font), var(--base-font);
  font-size: 128px;
  font-weight: bold;
  line-height: 1;
  color: rgba(56, 75, 95, 0.85);
  white-space: nowrap;
  pointer-events: none; /* テキスト選択を邪魔しない */
  z-index: -1;
}

.mvv-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.mvv-card {
  background: #fff;
  padding: 40px 15px;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mvv-card-header {
  font-family: var(--accent-font), var(--base-font);
  font-size: 1.5rem;
  color: var(--border-color);
  margin-bottom: 25px;
  letter-spacing: 0.1em;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.mvv-card-header .line {
  font-size: 1rem;
  color: #ccc;
}

.mvv-card-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  font-weight: 500;
}

/* VALUEリストのスタイル */
.value-card {
  text-align: left;
  padding: 50px 20px;
}

.value-card .mvv-card-header {
  margin-bottom: 40px;
}

.value-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.v-num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: #556b82; /* スレート系のアクセント */
  color: #fff;
  font-family: var(--accent-font);
  font-size: 14px;
  border-radius: 3px;
  margin-top: 2px;
}

.v-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.v-text strong {
  color: var(--primary-color);
  margin-right: 15px;
  display: inline-block;
}

.v-desc {
  color: #555;
  display: inline-block;
  font-size: 0.9em;
}

/* =========================================
   スタッフ紹介一覧ページ
========================================= */

/* 1. ページヘッダー（黒背景エリア） */
.page-staff-header {
  background-color: #000;
  padding: 60px 20px 0;
  position: relative;
  overflow: hidden; /* 巨大なStaff文字の下半分を切るため */
}

.page-staff-header-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  min-height: 180px;
}

.staff-header-desc {
  color: #5b7692; /* 画像の青暗い文字色 */
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-top: 30px;
}

/* 右下の巨大なStaff文字 */
.staff-header-watermark {
  position: absolute;
  right: -10px;
  bottom: -35px; /* 下に少しはみ出させる */
  font-family: var(--accent-font); /* セリフ体 */
  font-size: clamp(80px, 15vw, 140px); /* 画面幅に合わせて伸縮 */
  color: #fff;
  font-weight: bold;
  line-height: 1;
  z-index: 1;
}

/* 2. メイン背景（極薄いグレー） */
.staff-archive-bg {
  background-color: #f8fafc;
  padding: 80px 20px 120px;
}

.staff-archive-container {
  max-width: 860px; /* カードの幅 */
  margin: 0 auto;
}

/* 3. スタッフカード全体（★モバイルファースト：スマホ用） */
.staff-archive-card {
  position: relative;
  background-color: #fff;
  border-radius: 4px;
  padding: 100px 30px 40px; /* スマホ時は画像が上に乗るので上パディング大 */
  margin-bottom: 80px;
  margin-top: 80px; /* 画像が上にはみ出す分の余白 */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* 4. スタッフ写真（白枠をつけてはみ出させる） */
.staff-archive-img {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%); /* スマホ時は上部中央 */
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 10px solid #fff; /* カードと同化する白い太枠 */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  background-color: #e9e9e9;
  z-index: 2;
}

.staff-archive-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; /* 中の画像も丸く切り抜く */
}

/* 5. テキスト情報 */
.staff-name {
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 15px;
  justify-content: center; /* スマホ時は中央揃え */
}

.staff-kana {
  font-size: 0.85rem;
  color: #888;
  font-weight: normal;
}

.staff-msg {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 30px;
}

/* 6. プロフィールグリッド（ラベルと値） */
.staff-profile-grid {
  display: grid;
  grid-template-columns: 1fr; /* スマホは1列の縦並び */
  gap: 15px;
}

.profile-row {
  display: flex;
  align-items: center;
}

.profile-label {
  display: inline-block;
  background-color: #f0f4f8; /* ラベルの薄いグレー背景 */
  color: #666;
  font-size: 13px;
  padding: 8px 0;
  width: 80px;
  text-align: center;
  border-radius: 2px;
  margin-right: 20px;
  flex-shrink: 0;
}

.profile-value {
  font-size: 14px;
  color: #333;
}

@media (min-width: 601px) {
  .hero-slider-zone .btn-container-parts {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-slider-zone .maintext-area {
    top: 35%;
  }
  .hero-slider-zone .btn-container-parts > div {
    width: auto;
  }
  .hero-slider-zone .btn-container-parts a {
    width: 240px;
  }
  .others-overlay1-parts {
    flex-direction: row;
  }
  .others-overlay1-parts .text-parts {
    height: 380px;
  }
  .news-row {
    flex-direction: row;
    align-items: center; /* 縦の中央で揃える */
  }
  .news-list-custom dt {
    width: 160px; /* 日付の幅を固定して右のテキスト開始位置を綺麗に揃える */
    flex-shrink: 0;
    margin-bottom: 0;
  }
  .others-overlay1-parts .text-parts {
    min-height: 400px; /* 画像のようなゆったりとした高さを確保 */
  }
}

@media (min-width: 768px) {
  html {
    /* パソコン時は標準の1.125倍（18px相当：18÷16=1.125）にベースを引き上げる */
    font-size: 112.5%;
  }

  .hero-slider-zone {
    height: 750px;
  }
  .search-sidebar {
    width: 280px;
    flex-shrink: 0;
  }
  .site-footer {
    padding: 60px 40px 20px;
    margin: 1vw 5vw;
  }
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
  }
  .footer-info {
    flex: 1;
    min-width: 250px;
  }
  .footer-map {
    flex: 1.5;
    aspect-ratio: auto;
    min-height: 200px;
  }
  .footer-nav {
    flex: 1;
    min-width: 200px;
  }
  .footer-menu li {
    border-bottom: none;
  }
  .footer-menu a {
    padding: 8px 30px;
    text-align: left;
  }
  .footer-menu a::after {
    display: none;
  }
  .footer-sub-menu {
    gap: 30px;
  }

  /* Why Choose Us セクションのカード遅延 */
  .feature-grid .feature-card:nth-child(1) {
    animation-delay: 0s;
    transition-delay: 0s;
  }
  .feature-grid .feature-card:nth-child(2) {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
  }
  .feature-grid .feature-card:nth-child(3) {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
  }

  /* Staff セクションのカード遅延 */
  .staff-grid .staff-card:nth-child(1) {
    animation-delay: 0s;
    transition-delay: 0s;
  }
  .staff-grid .staff-card:nth-child(2) {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
  }
  .staff-grid .staff-card:nth-child(3) {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
  }
  .page-hero {
    height: 500px; /* ★PC用の高さを設定 */
  }

  /* 前面の日本語テキスト */
  .page-hero h1 {
    font-size: 2rem; /* ★PC用の大きな文字サイズ */
  }

  /* 背面の巨大な英語テキスト */
  .page-hero h1::before {
    font-size: 3.5em; /* ★PC用の巨大な文字サイズ */
    color: rgba(255, 255, 255, 0.1); /* ★PCでも薄さをキープ */
    letter-spacing: 0.1em;
  }

  .philosophy-desc-box {
    flex-direction: row; /* 横並びに */
    gap: 40px;
  }

  .philosophy-text {
    text-align: left; /* PC時は左揃え */
    padding-left: 40px;
    position: relative;
  }

  /* 画像の「縦線（セパレーター）」を美しく再現 */
  .philosophy-text::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 90%;
    background-color: #a0a0a0; /* 上品なグレーの縦線 */
  }

  .philosophy-box {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 50px;
  }
  .mvv-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .value-card {
    padding: 60px 80px;
  }
  .v-text {
    font-size: 20px;
  }
  .v-text strong {
    min-width: 180px; /* 見出しの幅を固定して説明文を綺麗に揃える */
  }
  .staff-archive-card {
    padding: 50px 50px 50px 140px; /* 左側に画像用のスペースを空ける */
    margin-top: 0;
    margin-left: 80px; /* 画像が左にはみ出す分の余白をカード外に設定 */
    margin-bottom: 50px;
  }

  .staff-archive-img {
    top: 50%;
    left: -80px; /* カードの左端からさらに外側へ */
    transform: translateY(-50%); /* 縦方向のみ中央揃え */
    width: 170px; /* 画像サイズを少し大きく */
    height: 170px;
  }

  .staff-name {
    justify-content: flex-start; /* PC時は左揃え */
  }

  .staff-profile-grid {
    grid-template-columns: 1fr 1fr; /* PC時は美しく2列に並べる */
    gap: 20px 40px;
  }
}

@media screen and (min-width: 801px) {
  .list-auto1-parts .img-parts > div {
    flex: 0 0 23%;
    max-width: 23%;
  }
}

@media (min-width: 1120px) {
  /* =========================================
   PCヘッダーメニュー：モダンなホバーアニメーション
========================================= */
  /* メインのメニューリンク（ドロップダウンの中身には影響させない） */
  .large-screen #menubar > nav > ul > li > a {
    position: relative;
    transition: color 0.3s ease; /* 文字色の変化をなめらかに */
  }

  /* マウスホバー時の文字色をアクセントカラー（ゴールド系）に */
  .large-screen #menubar > nav > ul > li > a:hover {
    color: var(--accent-color);
  }

  /* 下からスッと伸びる美しいアンダーラインの準備 */
  .large-screen #menubar > nav > ul > li > a::after {
    content: "";
    position: absolute;
    display: block;
    top: auto; /* ← ★これを追加！スマホの「ど真ん中配置(top: 50%)」をキャンセルします */
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    /* 初期状態は幅0（見えない状態）で、起点を右にセット */
    transform: scaleX(0);
    transform-origin: right top;
    transition: transform 0.3s ease;
  }

  /* マウスホバーでアンダーラインを左から右へ伸ばす */
  .large-screen #menubar > nav > ul > li > a:hover::after {
    transform-origin: left top;
    transform: scaleX(1);
  }
  .large-screen .ws {
    width: 50%;
  }
  .large-screen .sh {
    display: none;
  }
  .large-screen .pc {
    display: block;
  }
  dl.news2-parts {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0 2rem;
    align-items: start;
  }
}
