@charset "UTF-8";


/* ▼▼ このブロックは greeting.css に移動予定 ▼▼ */
.hero-greeting .global-nav ul li:nth-child(4) a {
  color: #CD4145 !important;
  font-family: "TazuganeGothicStdN-Medium";
  pointer-events: none;
}
/* ▲▲ greeting 専用ブロック ▲▲ */


/* 代表ご挨拶ページ用：ヒーローの高さを少し低くする */
.hero.hero-greeting {
  height: 55vh;        /* 画面の約半分の高さ。好みで 40〜70vh くらいに調整OK */
  max-height: 520px;   /* PCのとき高くなりすぎないよう上限をつける */
}

/* greeting.html の静的ヒーロー（クロスフェードを使わない） */
.hero-greeting {
  position: relative;
  width: 100%;
  height: auto;
}

.hero-greeting-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 55%;
}

.about-image-block {
  max-width: 980px;    /* ← ここを1100pxにする */
  margin: 60px auto 100px;
  padding: 0 20px;
}

.about-image {
  width: 100%;
  aspect-ratio: 16 / 9; /* ← 比率指定（これが黄金比） */
  object-fit: cover;     /* ← 中身を綺麗に切り取る */
  object-position: center; 
  display: block;
  border-radius: 2px;
}


/* =========================
   企業情報テーブル
========================= */

.company-table {
  max-width: 1080px;
  margin: 72px auto 0;
}

.company-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  padding-top: 15px;
  padding-bottom: 27px;
  border-bottom: 1px solid #e2e2e2;
}


.company-row dt {
  font-family: "TazuganeGothicStdN-Light";
  letter-spacing: 0.05em;
  font-size: 17px;
  line-height: 1.9;
  color: #333;
}
  
.company-row dd {
  font-family: "TazuganeGothicStdN-Light";
  margin: 0;
  font-size: 17px;
  line-height: 1.9;
  color: #333;
}

/* =========================
   企業情報：Google Map
========================= */

.company-map {
  max-width: 1080px;
  margin: 32px auto 0;   /* ← 所在地との距離。24〜40pxで調整OK */
}

.company-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  margin-bottom: 20px;
}



/* =======================================
   Responsive (スマホ / トップ固有)
======================================= */

@media screen and (max-width: 600px) {

/* ▼ スマホでは代表挨拶ページのバナーを低くする */

.hero-greeting {
  height: 260px !important;
}

.hero-greeting-image {
  width: 100%;
  height: 260px !important;   /* バナー高さは固定 */
  object-fit: cover;
  
  transform: scale(1.15);         /* ← 画像だけ拡大 */
  object-position: center 20%; /* greeting と合わせた */
  transform-origin: center top;  /* ← これが超重要 */
}

.company-table {
    padding: 0 20px;
    margin-top: 32px;  /* ← 72px → 32px */
  }

  /* 企業情報ページ：h1 下だけ狭くする */
  .greeting-title {
    margin-bottom: 22px; /* ← 40〜32 くらいがベスト */
  }


.company-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .company-row dt {
    font-size: 14px;
    color: #666;
  }

  .company-row dd {
    font-size: 15px;   /* ← スペースなし */
    line-height: 1.8;
  }


  .company-map iframe {
    width: 100%;
    aspect-ratio: 1 / 1.414;  /* ← 大和比 */
    height: auto;             /* ← 固定高さを解除 */
  }

  /* 企業情報ページ：テーブル下の写真を大和比に */
  .about-image {
    aspect-ratio: 1.414 / 1;  /* ← 大和比 */
  }

}