/* #region */
/* =========================================================
   Site Template Stylesheet (mobile-first)
   ---------------------------------------------------------
   1. Root & Basic Elements
   2. Font & Typography Classes
   3. Color Classes
   4. Header & Navigation
   5. Layout & Basic Components
   6. Footer
   7. Media Queries (768px / 992px / 1200px / 1400px)
   ========================================================= */



/* ---------- 1. Root & Basic Elements ---------- */
:root {
  --site-text: #000;
  --site-gray: #121212;
  --site-primary: #000;
  --site-secondary: #666;
  --site-bg: #fff;
  --site-ao: #3a5a96;
  --bs-primary: var(--site-primary);
}

/* Global box-sizing reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif, "メイリオ", "Hiragino Kaku Gothic Pro", Meiryo, "ヒラギノ角ゴ Pro W3", "MS PGothic", "MS UI Gothic", Helvetica, Arial;
  line-height: 1.8;
  /* 全体の行間を広げる */
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  /* 固定ヘッダー（約70px）+ 隙間（30px）を考慮して調整 */
}

body {
  overflow-x: hidden;
}

a {
  color: #000;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}

a:hover {
  color: #000;
  text-decoration: none;
}

/* Basic elements */
img {
  border: 0;
  max-width: 100%;
  height: auto;
  display: block;
}

p {
  margin: 0;
  padding: 0;
  color: #000;
  font-size: 16px;
  line-height: 2.0;
  /* 文章の行間をゆったりと（約1.5倍増） */
}

h1 {
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.5em;
  margin-right: -0.5em;
}

h2,
h3,
h4,
h5,
h6 {
  font-family: 'Noto Sans JP', sans-serif;
}



/* ---------- 2. Font & Typography Classes ---------- */



/* ---------- 3. Color Classes ---------- */
.gray {
  color: var(--site-gray);
}

.white {
  color: #FFF;
}

.opacity-80 {
  opacity: 0.8;
}

.ao {
  color: #3a5a96;
}

.midori {
  color: #77bf5b;
}

/* Typography sizes */
.bold {
  font-weight: bold;
}

.small {
  font-size: 14px;
}

.small10 {
  font-size: 10px;
}

.small12 {
  font-size: 12px;
}

.small14 {
  font-size: 14px;
}

.small15 {
  font-size: 15px;
}

.small16 {
  font-size: 16px;
}

.big20 {
  font-size: 20px;
  line-height: 1.0;
}

.big32 {
  font-size: 32px;
}

.big50 {
  font-size: 50px;
  line-height: 1.0;
  /* 折り返し時の行間を詰める */
}

.big100 {
  font-size: 40px;
  line-height: 1.0;
}

.big130 {
  font-size: 40px;
  /* スマホ: 40px (10文字のPHILOSOPHYが収まるサイズ) */
  line-height: 1.0;
}

.title-accent {
  border-left: 5px solid #3a5a96;
  padding-left: 6px;
  line-height: 1.4;
}

.mobileon {
  display: block;
}

/* ---------- 4. Header & Navigation ---------- */
.header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 5px 0;
  position: sticky;
  top: 0;
  z-index: 1020;
}

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

.logo {
  display: block;
  font-size: 24px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  padding: 5px 0;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

/* Hamburger menu (mobile only) */
#hamburger {
  display: none;
}

.menubar {
  display: flex;
  align-items: center;
}

.menu-trigger {
  display: block;
  position: relative;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  appearance: none;
  cursor: pointer;
  z-index: 101;
  top: 2px;
  margin-right: 15px;
}

.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background: #3a5a96;
  border-radius: 2px;
  transition: transform 0.1s ease, opacity 0.1s ease;
}

.menu-trigger span:nth-child(1) {
  top: 0;
}

.menu-trigger span:nth-child(2) {
  top: 10px;
}

.menu-trigger span:nth-child(3) {
  top: 20px;
}

/* Hamburger animation states */
#hamburger:checked+label span:nth-of-type(1) {
  transform: translateY(10px) rotate(-45deg);
  background-color: #3a5a96;
}

#hamburger:checked+label span:nth-of-type(2) {
  opacity: 0;
  background-color: #3a5a96;
}

#hamburger:checked+label span:nth-of-type(3) {
  transform: translateY(-10px) rotate(45deg);
  background-color: #3a5a96;
}

/* Global menu (mobile) */
.global_menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  padding-top: 80px;
}

#hamburger:checked~.global_menu {
  opacity: 1;
  visibility: visible;
}

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

.nav-item {
  margin: 0;
  border-bottom: 1px solid #eee;
}

.nav-item a {
  display: block;
  padding: 15px 10px;
  font-size: 18px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-item a:hover,
.nav-item a.active {
  color: #3a5a96;
  background: transparent;
}



/* ---------- 5. Layout & Basic Components ---------- */
.main {
  width: 100%;
}

/* Page Title Section */
.page-title-section {
  padding: 60px 0 40px;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}

/* Page Title Section Large */
.page-title-section-large {
  height: 400px;
  /* スマホ: 400px */
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.parallax-hero-bg {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
}

.page-title-section-large .container {
  /* スマホ: 20px削除 -> Bootstrapデフォルトに任せる */
  z-index: 3;
  /* hero-content用 */
  color: #fff;
  /* テキスト白 */
}

/* Property Card Layout (サムネイル一覧) */
.property-thumbnails {
  width: 100%;
}

.property-card {
  display: block;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.property-card:hover {
  border-color: #3a5a96;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.property-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

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

.property-card:hover .property-card-img img {
  transform: scale(1.05);
}

.property-card-content {
  padding: 12px;
}

.property-card-title {
  font-size: 16px;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.property-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  row-gap: 2px;
}

.stat-item {
  font-size: 10px;
  color: #666;
  font-weight: 400;
  white-space: nowrap;
}

@media screen and (min-width: 768px) {
  .property-stats {
    column-gap: 12px;
  }

  .stat-item {
    font-size: 12px;
  }
}

/* Warehouse Detail List (縦一列レイアウト) */
.warehouse-detail-list {
  width: 100%;
}

.warehouse-detail-item {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e0e0e0;
}

.warehouse-detail-item:last-child {
  border-bottom: none;
}

#warehouse-11 {
  border-bottom: 1px solid #e0e0e0;
}

#land-4 {
  border-bottom: 1px solid #e0e0e0;
}

.warehouse-detail-img {
  width: 100%;
  height: auto;
  display: block;
}

.warehouse-img-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.warehouse-img-label {
  position: absolute;
  top: 15px;
  left: 15px;
  color: #fff;
  z-index: 5;
  line-height: 1.2;
  font-family: 'Kode Mono', monospace;
}

.warehouse-img-label .label-address {
  font-size: 10px;
  opacity: 0.9;
  letter-spacing: 0.05em;
  line-height: 1.4;
  margin-left: 2px;
}

@media screen and (min-width: 768px) {
  .warehouse-img-label .label-address {
    margin-left: 7px;
  }
}

.warehouse-img-label .label-number {
  font-family: 'Kode Mono', monospace;
  font-weight: 700;
  line-height: 1.0;
  margin-top: -2px;
  margin-left: 0;
  padding-left: 0;
}

@media screen and (min-width: 768px) {
  .warehouse-img-label .label-number {
    margin-top: -5px;
  }
}

/* WOW.js互換の点滅＋浮上アニメーション */
@keyframes flickerFadeInUp {
  0% {
    opacity: 0;
  }

  15% {
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  21% {
    opacity: 0;
  }

  24% {
    opacity: 1;
  }

  100% {
    opacity: 1;
  }
}

.flickerFadeInUp {
  animation-name: flickerFadeInUp;
  animation-duration: 0.9s;
  animation-fill-mode: both;
}

.warehouse-name {
  font-size: 24px;
  font-weight: bold;
  margin: 20px 0 15px;
}

.warehouse-detail {
  font-size: 14px;
  color: #666;
  font-weight: normal;
  margin-left: 8px;
}

.warehouse-spec {
  margin-top: 25px;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.spec-title {
  font-size: 16px;
  color: #333;
  margin: 15px 0 8px;
}

.spec-detail {
  font-size: 16px;
  color: #666;
  margin: 0 0 10px;
  line-height: 1.8;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 12px;
}

.spec-item:last-child {
  margin-bottom: 0;
}

.spec-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  object-fit: contain;
  margin-top: 3px;
}

.spec-text {
  flex: 1;
  line-height: 1.6;
}

.spec-number {
  font-size: 20px;
  font-weight: normal;
  color: #000;
  display: inline;
  margin-left: 0;
  line-height: 1.6;
  vertical-align: baseline;
}

/* Sections */
section {
  width: 100%;
}

/* Hero Section (Full Screen with Video Background) */
.hero-section {
  position: relative;
  width: 100%;
  height: 60vh;
  /* スマホ：画面の60% */
  min-height: 400px;
  /* 最低400pxは確保 */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* スマホでも画像表示 */
}

/* Hero Logo Styling */
.hero-logo-img {
  width: 90%;
  max-width: 680px;
  /* PC: 450px * 1.5 = 675 -> 680px for round number */
  height: auto;
}

@media (max-width: 767px) {
  .hero-logo-img {
    width: 85%;
    /* Mobile: Better breathing room */
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* 動画の上に半透明の黒オーバーレイ */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

/* index.html ヒーロー専用：soko3.css のスタイルを再現 */
.hero-index.page-title-section-large .container.hero-content {
  position: absolute;
  top: 18%;
  left: 0;
  right: 0;
  text-align: left;
  margin: 0 auto;
  /* Container padding restoration */
  padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  /* soko.css 後半の translateY(-80px) を強制解除して上にずれるのを防ぐ */
  transform: translateY(0) !important;
}

@media (min-width: 576px) {
  .hero-index .hero-content { max-width: 540px; }
}

@media (min-width: 768px) {
  .hero-index .hero-content { max-width: 720px; }
}

@media (min-width: 992px) {
  .hero-index .hero-content { max-width: 960px; }
}

@media (min-width: 1200px) {
  .hero-index .hero-content { max-width: 1140px; }
}

@media (min-width: 1400px) {
  .hero-index .hero-content { max-width: 1320px; }
}

@media (max-width: 767px) {
  .hero-index.page-title-section-large .container.hero-content {
    top: 18%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-index .hero-content h1 {
    margin-top: 0;
  }
  .hero-index .hero-content h1 + p {
    margin-top: 0;
  }
}

.hero-content h1 {
  letter-spacing: 0.1em;
  margin-right: -0.1em;
}

.hero-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}


.hero-subtitle-jp {
  white-space: nowrap;
  letter-spacing: 0.5em;
  /* h1と同じ字間に統一 */
  margin-right: -0.5em;
  /* 字間による右ズレを補正 */
}

@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 32px;
    letter-spacing: normal;
    margin-right: 0;
    margin-top: -20px;
  }

  .hero-content h1+p {
    font-size: 20px;
    margin-top: -30px;
  }

  .hero-subtitle-jp {
    font-size: 18px !important;
    margin-top: 8px !important;
  }
}

.hero-text {
  font-size: 18px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Bootstrap bg-light override for visibility */
.bg-light {
  background-color: #fafafa !important;
}

/* Company page styles */
.company-greeting p {
  font-size: 16px;
}

.company-table td {
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 16px;
  border-left: none !important;
  border-right: none !important;
}

.company-table {
  border-left: none !important;
  border-right: none !important;
  border-collapse: collapse;
  /* 線が重なって太くなるのを防ぐ */
  table-layout: fixed;
  /* 左の幅を固定し右を可変にする */
  width: 100%;
}

.company-table-header {
  width: 100px;
  /* 改行されない最小幅を確保 */
  background-color: #f9f9f9;
  white-space: nowrap;
}

.photo-placeholder {
  height: 250px;
  border: 1px solid #dee2e6;
}

.map-iframe {
  border: 0;
}

/* 会社概要：スマホ時にCEO写真の下に余白 */
@media screen and (max-width: 767px) {
  .company-ceo-col {
    margin-bottom: 30px !important;
  }
}

.gfont {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

/* Underline Style */
.underline {
  position: relative;
  display: inline-block;
}

.underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: #3a5a96;
  z-index: -1;
}

.underline-b {
  text-decoration: underline;
  text-decoration-color: #121212;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Image Effect (Rounded & Shadow) */
.img-effect {
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Text Reveal Animation (Character by Character) */
.text-reveal {
  display: inline-block;
}

.text-reveal-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(5px);
}

.text-reveal-active .text-reveal-char {
  animation: revealChar 0.2s cubic-bezier(0.2, 1, 0.2, 1) forwards;
}

@keyframes revealChar {
  0% {
    opacity: 0;
    transform: translateY(5px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Compact Property Title (for index.html preview) */

.property-title-simple {
  display: block;
  text-align: center;
  font-size: 16px;
  color: #333;
  padding: 12px;
  line-height: 1.2;
}

/* Custom row-cols utilities for compact property grid (Bootstrap doesn't support 8/10) */
@media (min-width: 768px) {
  .row-cols-md-8>* {
    flex: 0 0 auto;
    width: 12.5%;
  }
}

@media (min-width: 992px) {
  .row-cols-lg-8>* {
    flex: 0 0 auto;
    width: 12.5%;
  }
}

@media (min-width: 1200px) {
  .row-cols-xl-10>* {
    flex: 0 0 auto;
    width: 10%;
  }
}





/* History Page Styles */
/* History Main Visual (Default/Mobile) */
.history-main-visual {
  width: 66.5%;
  /* ギャラリーの実質幅(95% * 70%)に合わせる */
  max-width: 640px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.float-content-img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.history-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 95%;
  /* 幅を広げる */
  margin: 40px auto 60px;
}

.history-gallery-img {
  width: 70%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/3;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}




/* ---------- 6. Footer ---------- */
.footer {
  width: 100%;
  background: #3a5a96;
  margin: 120px 0 0 0;
  padding: 100px 0 0;
}

.footer1 {
  padding: 0 20px;
  margin-bottom: 60px;
}

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

.footer1 .nav-item {
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer1 .nav-link {
  color: #fff;
  padding: 15px 0;
  display: block;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
}

.footer1 .nav-link::before {
  content: "・";
  color: #77bf5b;
  margin-right: 8px;
  font-weight: bold;
}

.footer1 .nav-link::after {
  display: none !important;
}

.footer1 .nav-link:hover {
  opacity: 1;
  color: #fff;
}

.footer2 {
  text-align: center;
  padding: 60px 20px;
  /* 上下左右にパディング */
  position: relative;
  background-color: #000;
  /* 画面全幅に広げるための設定 */
  margin-top: 130px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

/* 横100%の境界線 */
.footer2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo {
  text-align: center !important;
  margin: 0 0 10px !important;
  /* コピーライトとの間を10px空ける */
  display: flex !important;
  justify-content: center !important;
}

.footer-logo img {
  height: 40px;
  width: auto;
  opacity: 0.8;
  display: block;
  margin: 0 auto;
}

.copyright {
  margin: 0;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
}



/* ---------- 7. Animations ---------- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* WOW.js用のクラス定義 */
.fadeInUp {
  animation-name: fadeInUp;
  animation-duration: 0.4s;
  animation-fill-mode: both;
}

/* ズームアニメーション用コンテナ（サイズ固定） */
/* ---------- 7. Animations ---------- */
/* Moved to css/animations.css */

/* Philosophy Page Hero Adjustment (3人が収まるように右端からオフセット) */
#philosophy-hero {
  background-position: right -120px center;
}

@media screen and (min-width: 768px) {
  #philosophy-hero {
    background-position: center center;
  }
}

/* モバイル・タブレット：ヘッダーを画面端まで広げる */
@media screen and (max-width: 767px) {
  .header .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ---------- 8. Media Queries ---------- */
@media screen and (min-width: 768px) {

  .mobileon {
    display: none;
  }

  /* タブレット以上：ハンバーガーを隠してメニューを表示 */
  .menu-trigger {
    display: none;
  }

  .spec-icon {
    margin-top: 7px;
  }

  /* Hero Section: PC表示 */
  .hero-section {
    height: 85vh;
    /* PC：画面の85% 適度な高さでインパクト維持 */
    min-height: 500px;
    /* PCでは最低500px */
  }

  .hero-video {
    display: block;
    /* PC以上で動画表示 */
  }

  .hero-title {
    font-size: 56px;
  }

  .hero-text {
    font-size: 24px;
  }

  .page-title-section-large .container {
    transform: translateY(-80px);
  }

  /* Page Title Section */
  .page-title-section {
    padding: 80px 0 50px;
  }

  .page-title {
    font-size: 42px;
  }

  /* Thumbnail Navigation */
  .thumbnail-item {
    width: 120px;
  }

  .thumbnail-item img {
    width: 120px;
    height: 120px;
  }

  .thumbnail-item span {
    font-size: 14px;
  }

  /* Warehouse Detail Item */
  .warehouse-detail-item {
    margin-bottom: 80px;
  }

  .warehouse-name {
    font-size: 32px;
    margin-top: 20px;
    margin-bottom: 15px;
  }

  .warehouse-detail {
    font-size: 16px;
  }

  .spec-detail {
    font-size: 16px;
  }

  .spec-number {
    font-size: 22px;
  }

  .global_menu {
    position: static;
    display: block !important;
    width: auto;
    height: auto;
    background: transparent;
    padding: 0;
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    display: flex;
    gap: 30px;
    padding: 0;
  }

  .nav-item {
    margin: 0;
    border-bottom: none;
  }

  .nav-item a {
    padding: 10px 0;
    font-size: 16px;
    position: relative;
    color: #000;
    transition: color 0.15s ease-out;
  }

  .nav-item a::after {
    content: "";
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3a5a96;
    transition: width 0.15s cubic-bezier(0.2, 1, 0.2, 1);
  }

  .nav-item a:hover {
    color: #3a5a96;
  }

  .nav-item a.active {
    color: #3a5a96;
  }

  /* active 以外の時だけホバーでラインを出す */
  .nav-item a:not(.active):hover::after {
    width: 100%;
  }

  /* Company page table header */
  .company-table-header {
    width: 200px;
  }

  /* History Gallery */
  .history-gallery-img {
    width: calc(25% - 15px);
  }

  /* History Main Visual (PC) */
  .history-main-visual {
    width: 30%;
  }
}

@media screen and (min-width: 992px) {

  /* PC以上 */
  /* PC（992px以上）でのOverrides */
  .big100 {
    font-size: 100px;
  }

  .big130 {
    font-size: 130px;
  }

  .page-title-section-large {
    height: 700px;
  }

  .page-title-section-large .container {
    transform: translateY(-80px);
  }

  /* セクション間の大きな余白用クラス */
  .mt-150 {
    margin-top: 150px !important;
  }

  .logo {
    font-size: 28px;
  }

  .nav-list {
    gap: 40px;
  }

  .nav-item a {
    font-size: 18px;
  }

  /* 3列レイアウト */
  .warehouse-spec {
    padding-top: 0;
    border-bottom: 1px solid #e0e0e0;
  }

  .warehouse-detail-item {
    border-bottom: none;
    padding-bottom: 0;
  }

  .spec-detail {
    display: flex;
    gap: 0;
    margin-bottom: 0;
  }

  .spec-item {
    width: 350px;
    margin-bottom: 0;
    border-right: 1px solid #e0e0e0;
    padding-right: 20px;
    padding-left: 0;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .spec-item:nth-child(2) {
    width: 450px;
    padding-left: 20px;
  }

  .spec-item:nth-child(3) {
    width: 450px;
    padding-left: 20px;
    border-right: none;
  }

  /* History Float Image */
  .float-content-img {
    float: right;
    width: 28%;
    /* PCではユーザー指定の幅 */
    max-width: none;
    margin-left: 40px;
    margin-bottom: 20px;
  }

  /* Philosophy Founder Image (PCでCEO 33%に合わせる) */
  .float-img-founder {
    float: right;
    width: 33%;
    margin-left: 40px;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 767px) {
  .float-img-founder {
    width: 100%;
    margin-bottom: 30px;
  }
}

/* History Main Visual (Moved to top) */

@media screen and (min-width: 1200px) {

  /* PC大以上 */
  .warehouse-detail-item {
    margin-bottom: 100px;
  }

  .warehouse-name {
    font-size: 32px;
    margin-top: 30px;
  }

  .spec-number {
    font-size: 24px;
  }
}

@media screen and (min-width: 1400px) {
  /* ワイド画面 */
}





/* ---------- 13. Contact Form Styles ---------- */
.form-label {
  font-weight: 700;
  color: var(--site-gray);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.form-label .required,
.form-check .required {
  color: #dc3545;
  font-size: 0.8rem;
  margin-left: 0.5rem;
  font-weight: normal;
}

.form-control {
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s ease-in-out;
}

.form-control:focus {
  border-color: var(--site-ao);
  box-shadow: 0 0 0 0.2rem rgba(0, 56, 118, 0.1);
}

.form-check {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.form-check .form-check-input {
  margin-top: 0;
  width: 1.2em;
  height: 1.2em;
  margin-right: 0.5rem;
  border: 1px solid #ced4da;
}

.form-check-input:checked {
  background-color: var(--site-ao);
  border-color: var(--site-ao);
}

.scrollable-privacy {
  height: 180px;
  overflow-y: auto;
  border: 1px solid #ddd;
  padding: 15px;
  background-color: #f8f9fa;
  line-height: 1.6;
  margin: 15px 0;
}

.btn-soko-submit {
  background-color: var(--site-ao);
  color: #fff !important;
  padding: 1rem 4rem;
  font-weight: 700;
  border: none;
  border-radius: 0;
  transition: opacity 0.3s ease;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

.btn-soko-submit:hover {
  opacity: 0.8;
  color: #fff !important;
}

.btn-soko-back {
  background-color: #6c757d;
  color: #fff !important;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0;
  text-decoration: none;
  display: inline-block;
  margin-right: 10px;
}

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 5px;
}

@media screen and (min-width: 768px) {
  .inquiry-types {
    display: flex;
    flex-wrap: wrap;
    gap: 0 2rem;
  }
}

/* ---------- 14. Section Utilities for Contact ---------- */
.section-contact {
  background-color: #fff;
  padding: 80px 0;
}

/* ========================================================= */
/* 印刷専用スタイル（Print Media Query）                      */
/* ========================================================= */
/* 目的: properties.html を中心に、印刷時（PDF保存含む）の     */
/*       崩れを防ぎ、読みやすいレイアウトを実現する。           */
/* 方針: 完璧再現ではなく、印刷で崩れる要因のみを撤去           */
/* ========================================================= */

@media print {

  /* ページ余白設定（物理的な印刷マージン） */
  @page {
    margin: 12mm;
  }

  /* html, body: 二重余白を防止しつつ背景・色の保険を掛ける */
  html,
  body {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    color: #000 !important;
    width: 100%;
  }

  /* 全要素：アニメーション・影の無効化 */
  * {
    animation: none !important;
    transition: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  /* ヘッダー：固定解除＆ナビゲーション非表示 */
  .header,
  .sticky-top {
    position: static !important;
    top: auto !important;
  }

  .menubar,
  .global_menu,
  .menu-trigger,
  #hamburger {
    display: none !important;
  }

  /* ヒーローセクション：印刷時は非表示 */
  .hero-section,
  .page-title-section-large {
    display: none !important;
  }

  /* h1タイトル：ヒーロー非表示の代替として、印刷用にサイズ調整 */
  h1 {
    font-size: 24pt !important;
    margin-bottom: 8pt !important;
  }

  h2 {
    font-size: 18pt !important;
    margin-top: 12pt !important;
    margin-bottom: 6pt !important;
  }

  h3 {
    font-size: 14pt !important;
  }

  /* フッター：印刷時は非表示 */
  .footer {
    display: none !important;
  }

  /* Google Map iframe：印刷時は非表示 */
  iframe {
    display: none !important;
  }

  /* 画像：印刷時の崩れ防止 */
  img {
    max-width: 100% !important;
    height: auto !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  /* ========================================================= */
  /* 改ページ制御：break-inside: avoid の適用範囲について        */
  /* --------------------------------------------------------- */
  /* property-card / warehouse-detail-item は適度なサイズなので  */
  /* 途中改ページを防ぐのが妥当。                                */
  /* ただし、長大な要素に適用すると空白ページや不自然な改ページを */
  /* 誘発する可能性があります。                                  */
  /* 症状が出た場合は「画像＋見出し」のみに限定する逃げ道：      */
  /*   .warehouse-img-wrapper, .warehouse-name { break-inside: avoid; } */
  /* ========================================================= */

  /* 所有物件：カード途中での改ページ防止 */
  .property-card {
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 10mm;
  }

  /* 倉庫詳細：途中での改ページ防止 */
  /* 長すぎる場合は上記コメントの逃げ道を参照 */
  .warehouse-detail-item {
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 15mm;
  }

  /* 見出し：直後の改ページ防止 */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    break-after: avoid;
    page-break-after: avoid;
  }

  /* 会社概要テーブル：途中での改ページ防止 */
  .company-table tr {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  /* リンク：印刷時はURL表示不要（通常表示を維持） */
  a {
    text-decoration: none;
    color: inherit;
  }

  /* 背景色：印刷時は白背景に統一 */
  /* print-color-adjust を入れても背景印刷OFF環境では出ないため、白固定は安全策 */
  .bg-light {
    background-color: #fff !important;
  }

  /* WOW.js：印刷時は初期状態で表示 */
  .wow {
    visibility: visible !important;
    animation: none !important;
  }

  /* ページタイトルセクション：シンプルに */
  .page-title-section {
    padding: 5mm 0;
    border-bottom: 1px solid #ccc;
  }

  /* ========================================================= */
  /* 余白調整：Bootstrap の .py-5 / .mt-150 を強制上書きしない   */
  /* --------------------------------------------------------- */
  /* 影響範囲が広すぎるため、印刷時の余白調整は削除。           */
  /* 必要に応じて、ページ固有のクラス（例：body.page-properties）*/
  /* でスコープした調整を検討してください。                      */
  /* ========================================================= */
}