  /* =========================
     Base / Reset
  ========================= */
  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
    color: #1e1e1e;
    line-height: 1.9;
    background-color: #f3f1ec; /* 生成り */
  }

  img { max-width: 100%; height: auto; display: block; }
  a { text-decoration: none; color: inherit; }

/* =========================
     Header
  ========================= */
  header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid #ddd;
    z-index: 1000;
  }

  .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo-text {
    letter-spacing: 0.2em;
    font-size: 18px;
  }

  nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
    font-size: 14px;
  }
  /* ロゴ＋会社名まとめ */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ロゴマーク共通 */
.logo-mark {
  height: 28px;     /* ← 両方完全に同サイズ */
  width: auto;
  opacity: 0.9;
}

/* 会社名 */
.logo-text {
  letter-spacing: 0.2em;
  font-size: 18px;
  white-space: nowrap;
}


/* ===== PAGE HEADER ===== */
.page-header {
  padding: 120px 20px 80px;
  text-align: center;
}

.page-en {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: #777;
  margin-bottom: 10px;
}

.page-ja {
  font-size: 32px;
  font-weight: normal;
}


.philosophy-text {
  width: 55%;          /* テキスト幅 */
}

/* ===== COMPANY SECTION ===== */
.company-section {
  padding: 60px 20px 120px;
  max-width: 1000px;
  margin: 0 auto;
}

.company-block {
  margin-bottom: 60px;
}

.company-title {
  font-size: 28px;
  letter-spacing: 0.15em;
  margin-bottom: 18px;
}

.company-subtitle {
  font-size: 22px;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

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

/* ===== INFO TABLE ===== */
.company-info table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
}

.company-info th,
.company-info td {
  border: 1px solid #ddd;
  padding: 12px 14px;
  font-size: 15px;
}

.company-info td {
  background: #f8f8f8;
}

.company-info th {
  background: #f8f8f8;
  width: 28%;
}

/* ===== PHOTO ===== */

.philosophy-image img {
  width: 60%;
  height: auto;
  display: block;
  filter: grayscale(20%) contrast(95%);
}
.company-photo {
  margin-top: 40px;
  position: relative;
  min-height: 320px;
}

.company-photo img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(20%) contrast(95%);
}

/* ======================
   和モダン写真フレーム
====================== */
.photo-frame {
  position: relative;
  padding: 14px;
  background: #f7f5f2;
  border: 1px solid #d6d2cc;
  box-shadow:
    0 0 0 1px #ffffff inset,
    0 8px 20px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* 四隅の装飾（和風） */
.photo-frame::before,
.photo-frame::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: #b8b2a8;
}

.photo-frame::before {
  top: 8px;
  left: 8px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.photo-frame::after {
  bottom: 8px;
  right: 8px;
  border-bottom: 2px solid;
  border-right: 2px solid;
}

/* ======================
   Slider
====================== */
.slider {
  position: relative;
  width: 100%;
  height: 360px;          /* 統一高さ */
  overflow: hidden;
  background: #0f0f0f;    /* 余白を和紙色に */
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider img {
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;      /* 全体表示 */
  object-position: center;  /* 中央配置 */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: fadeSlide 60s infinite; /* 12枚×5秒 */
  filter: grayscale(20%) contrast(95%);
}

/* 12枚 × 5秒 = 60秒 */
.slider img:nth-child(1) { animation-delay: 0s; }
.slider img:nth-child(2) { animation-delay: 5s; }
.slider img:nth-child(3) { animation-delay: 10s; }
.slider img:nth-child(4) { animation-delay: 15s; }
.slider img:nth-child(5) { animation-delay: 20s; }
.slider img:nth-child(6) { animation-delay: 25s; }
.slider img:nth-child(7) { animation-delay:30s; }
.slider img:nth-child(8) { animation-delay: 35s; }
.slider img:nth-child(9) { animation-delay: 40s; }
.slider img:nth-child(10) { animation-delay: 45s; }
.slider img:nth-child(11) { animation-delay: 50s; }
.slider img:nth-child(12) { animation-delay: 55s; }
.slider img:nth-child(13) { animation-delay: 60s; }

@keyframes fadeSlide {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  20%  { opacity: 1; }
  24%  { opacity: 0; }
  100% { opacity: 0; }
}


/* ===== ACCESS ===== */
.access-section {
  padding: 80px 20px 120px;
  text-align: center;
}

.map-wrap {
  width: 50%;              /* ← 半分サイズ */
  height: 320px;
  margin: 0 auto;          /* ← センター配置 */
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(100%) contrast(90%) brightness(95%);
}

/* SP対応 */
@media (max-width: 768px) {
  .map-wrap {
    width: 100%;
    height: 260px;
  }
}



/* =========================
   Footer
========================= */
footer {
  background: #111;
  color: #eaeaea;
  padding: 80px 24px 60px;
  font-size: 15px;
}

/* 全体 */
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

/* 左ブロック */
.footer-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* ロゴ2点 */
.footer-logos {
  display: flex;
  gap: 16px;
}

/* ロゴ共通（高さ＝本文3行分相当） */
.footer-logo img {
  height: 150px; /* ← 約6行分 */
  width: auto;
  opacity: 0.9;
}

/* 会社情報 */
.footer-company {
  line-height: 1.8;
}

/* =========================
   Privacy Policy（中央下）
========================= */
.footer-privacy {
  text-align: center;
  margin-top: 48px;
}

.footer-privacy a {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #ccc;
}

.footer-privacy span {
  display: block;
  font-size: 11px;
  margin-top: 6px;
  opacity: 0.7;
}

/* =========================
   Responsive (SP)
========================= */
@media (max-width: 768px) {

/* ===== Header ===== */

.header-inner{
  flex-direction: column;
  gap:12px;
  padding:14px 16px;
}

.logo-text{
  font-size:14px;
  letter-spacing:0.15em;
}

.logo-mark{
  height:22px;
}

/* ナビ */
nav ul{
  gap:18px;
  font-size:12px;
  flex-wrap:wrap;
  justify-content:center;
}


/* ===== Page Header ===== */

.page-header{
  padding:100px 16px 50px;
}

.page-ja{
  font-size:24px;
}


/* ===== Company Section ===== */

.company-section{
  padding:40px 16px 80px;
}

.company-title{
  font-size:22px;
}

.company-subtitle{
  font-size:18px;
}

.company-text{
  font-size:14px;
}


/* ===== philosophy image ===== */

.philosophy-image img{
  width:100%;
}


/* ===== company table ===== */

.company-info th,
.company-info td{
  font-size:13px;
  padding:10px;
}

.company-info th{
  width:35%;
}


/* ===== Gallery ===== */

.slider{
  height:220px;
}


/* ===== Map ===== */

.map-wrap{
  width:100%;
  height:260px;
}


/* ===== Footer ===== */

.footer-left{
  flex-direction:column;
  align-items:flex-start;
  gap:20px;
}

.footer-logo img{
  height:90px;
}

.footer-company{
  font-size:13px;
}

.footer-privacy{
  margin-top:40px;
}

}
