@charset "UTF-8";

/* ==========================================================================
   トップページ固有スタイル
   共通スタイル（リセット・タイポグラフィ・ヘッダー構造・フッター等）は
   common.css を参照。このファイルは common.css の後に読み込むこと。
   ========================================================================== */

/* ヘッダー既定状態（トップページはファーストビューの動画に重ねるため
   スクロール前は完全透明。スクロールで黒ガラスに切り替え） */
header.site-header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
}
/* ブランドロゴ（縦型）：ヘッダーではなくヒーロー左端に帯状に配置し、メインビジュアルに掛かる見た目にする */
.hero .brand-group {
  position: absolute;
  top: 0;
  left: 160px;
  z-index: 10;
  width: 150px;
  height: auto;
  background: #213860;
  display: flex;
  justify-content: center;
  padding: 30px 0;
}
.hero .brand-group .brand-logo-vertical {
  display: block;
  width: 74px;
  height: auto;
  filter: brightness(0) invert(1);
}
/* モバイル用の横型ロゴ（ヘッダー内・デスクトップではデフォルト非表示。
   ヒーロー領域を過ぎてヘッダーに背景色が付いた時点で、下層ページと同じロゴを表示する） */
header.site-header .brand-group--mobile {
  display: none;
}
header.site-header.is-solid .brand-group--mobile {
  display: flex;
}
header.site-header .brand-group--mobile .brand-logo {
  height: 44px;
}

/* ファーストビュー */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  max-height: 900px;
  overflow: hidden;
  background: linear-gradient(155deg, #e7e2d9 0%, #dcd5c8 55%, #d3cabb 100%);
}
.hero .placeholder {
  width: 100%;
  height: 100%;
  font-size: 1rem;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-tint {
  position: absolute;
  inset: 0;
  background: rgba(43, 39, 36, 0.22);
  z-index: 1;
}
.hero-catch {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 40px 70px 160px;
}
/* .brand-group（高さ約445px）の下端から最低50pxは離す：
   flex-endの単純な下寄せだと画面高が低いとき.brand-groupに重なるため、
   最低限のスペーサーを確保した上でmargin-top:autoで下寄せする */
.hero-catch::before {
  content: "";
  flex: 0 0 auto;
  min-height: 495px;
}
.hero-catch-inner {
  max-width: 640px;
  margin-top: auto;
}
.hero-catch h1 {
  font-size: clamp(1.8rem, 4.4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-align: left;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0,0,0,0.45);
}
.hero-catch-inner p {
  font-size: 0.92rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.88);
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* ヒーローキャッチ内：創業年表記（ラベル｜本文を横並びに） */
.hero-since {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.hero-since .label-caps {
  color: rgba(255,255,255,0.8);
}
.hero-since-divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.5);
  flex-shrink: 0;
}
.hero-since p {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* ヒーロー右端：follow us */
.hero-side {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: #fff;
}
.hero-sns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-sns .label-caps {
  color: rgba(255,255,255,0.8);
  writing-mode: vertical-rl;
}
.hero-sns .hero-sns-line {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.5);
}
.hero-sns .sns-icon {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.hero-sns .sns-icon.instagram img {
  width: 20px;
  height: 20px;
  display: block;
}
.hero-sns .sns-icon.youtube img {
  width: 28px;
  height: 20px;
  display: block;
}
.hero-sns .sns-icon:hover {
  filter: sepia(100%) hue-rotate(320deg) saturate(180%) brightness(55%);
}

/* ヒーロー右下：動画プレビュー＋お知らせパネル */
.hero-bottom-right {
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.hero-play {
  position: relative;
  display: block;
  width: 173px;
  height: 113px;
  overflow: hidden;
  text-decoration: none;
  border-radius: 3px;
}
.hero-play img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.hero-play:hover img {
  transform: scale(1.06);
}
.hero-play-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(20, 17, 15, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.hero-play-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 2px;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #fff;
}

/* お知らせパネル（ダークグラス） */
.notice-panel {
  width: 460px;
  max-width: calc(100vw - 80px);
  background: rgba(20, 17, 15, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 15px 20px 5px;
  color: #fff;
}
.notice-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.notice-panel-head h4 {
  font-size: 1rem;
  letter-spacing: 0.08em;
}
.notice-panel-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  flex-shrink: 0;
  transition: color 0.3s ease;
}
.notice-panel-more span {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.notice-panel-more:hover {
  color: #ffb4a5;
}
.notice-panel-more:hover span {
  transform: translateX(4px);
}
.notice-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.notice-panel-list li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
}
.notice-panel-list li a:last-child { border-bottom: none; }
.notice-panel-list li a .date {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.55);
  flex-shrink: 0;
}
.notice-panel-list li a .title {
  flex: 1;
  color: rgba(255,255,255,0.92);
}
.notice-panel-list li a .tag-new {
  flex-shrink: 0;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--accent);
  color: #fff;
  padding: 2px 8px;
}

/* 当店について */
#about {
  max-width: 1320px;
  position: relative;
  z-index: 0;
  padding-bottom: 160px;
}
/* Figma上の背景（和紙テクスチャ）をセクション全幅に敷く */
#about::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: url("../img/index/about-section-bg.jpg") center / cover no-repeat;
  opacity: 0.3;
  z-index: -1;
}
.about-block {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 160px;
}
.about-block.reverse .about-media { order: 2; }
.about-block.reverse .about-content { order: 1; }
.about-media { overflow: hidden; }
.about-media img,
.about-media .placeholder {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.about-content .label-caps { display: block; margin-bottom: 10px; }
.about-content h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.7;
  margin-bottom: 18px;
}
.about-content p {
  font-size: 0.9rem;
  color: rgba(43,39,36,0.82);
  margin: 0 0 22px;
}
.about-content .sub-catch {
  margin: 0 0 22px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-family: "Noto Serif JP", serif;
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* 当店について：紹介動画リンク（画面幅840px以下でのみ表示） */
.about-video { display: none; }
.about-video-link {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(20, 17, 15, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 3px;
  padding: 15px 20px;
  text-decoration: none;
  color: #fff;
  transition: border-color 0.3s ease;
}
.about-video-link:hover { border-color: rgba(255,255,255,0.3); }
.about-video-link img {
  flex-shrink: 0;
  width: 173px;
  height: 113px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.14);
}
.about-video-link img.sp{
  display: none;
}
.about-video-label {
  flex: 1;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.8875rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.038em;
}
.about-video-divider {
  align-self: stretch;
  width: 1px;
  background: rgba(255,255,255,0.5);
}
.about-video-play {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-video-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent #fff;
}

/* 当店について：写真ギャラリー（工房の情景） */
.about-gallery {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px 8px;
  display: grid;
  grid-template-columns: 1fr 0.77fr;
  grid-template-rows: auto auto;
  column-gap: 50px;
  row-gap: 50px;
}
.gallery-item { overflow: hidden; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-item-1 {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  width: 77%;
  aspect-ratio: 468 / 520;
}
.gallery-item-1 img {
  object-position: center 85%;
}
.gallery-item-2 {
  grid-column: 1;
  grid-row: 2;
  aspect-ratio: 609 / 351;
}
.gallery-item-3 {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  aspect-ratio: 468 / 351;
}

/* 引用バンド */
.quote-band {
  position: relative;
  max-width: none;
  color: var(--bg);
  padding: 168px 24px;
  overflow: hidden;
  isolation: isolate;
}
.quote-band .quote-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}
.quote-band .quote-media img,
.quote-band .quote-media .placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-size: 0.95rem;
  transform: scale(1.12);
  transition: transform 2.4s cubic-bezier(0.16,1,0.3,1);
}
.quote-band.is-active .quote-media img,
.quote-band.is-active .quote-media .placeholder {
  transform: scale(1);
}
.quote-band .quote-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(43,39,36,0.25) 0%, rgba(15,12,10,0.78) 78%),
    linear-gradient(0deg, rgba(0,0,0,0.35), rgba(0,0,0,0.35));
}
.quote-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.6;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}
.quote-band .quote-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.quote-band .label-caps {
  color: rgba(250,247,242,0.55);
}
.quote-band p {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 2;
  letter-spacing: 0.1em;
  margin: 18px 0 0;
}

/* お知らせセクション */
.notices-body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 56px;
  max-width: 900px;
  margin: 0 auto;
}
.notices-main {
  flex: 1;
  min-width: 0;
}
.notices-sns {
  flex-shrink: 0;
  width: 232px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 6px;
}
.notices-sns-icons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sns-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 3px;
  color: rgba(250,247,242,0.92);
  text-decoration: none;
  transition: background 0.3s cubic-bezier(0.4,0,0.2,1), border-color 0.3s cubic-bezier(0.4,0,0.2,1),
    color 0.3s cubic-bezier(0.4,0,0.2,1);
}
.sns-btn-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sns-btn-icon img {
  display: block;
}
.sns-btn-icon img.instagram{
  width: 20px;
  height: 20px;
}
.sns-btn-icon img.youtube{
  width: 20px;
  height: 14px;
}
.sns-btn-label {
  flex: 1;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.sns-btn-arrow {
  flex-shrink: 0;
  font-size: 0.85rem;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.sns-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.sns-btn:hover .sns-btn-arrow {
  transform: translateX(4px);
}
.sns-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
ul.notice-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
ul.notice-list li a {
  display: -webkit-flex;
	display: flex;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	-webkit-align-items: flex-start;
	align-items: flex-start;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px dashed var(--line);
  font-size: 0.9rem;
  transition: background 0.25s ease;
}
ul.notice-list li a:last-child { border-bottom: none; }
ul.notice-list li a:hover { background: var(--bg); }
ul.notice-list li a span.date {
  font-family: "Hanken Grotesk", sans-serif;
  color: var(--sub);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  width: 96px;
}
ul.notice-list li a span.notice-text {
  flex: 1;
  min-width: 0;
}
ul.notice-list li a span.tag {
  display: inline-block;
  flex-shrink: 0;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  border-radius: 3px;
  color: var(--accent);
  padding: 2px 9px;
}
.notices-main .section-foot { text-align: left; }

/* 製品一覧：Flexbox構成 */
.product-bento {
  display: flex;
  gap: 24px;
}

/* 左右カラムの幅比率設定（1.7 : 1） */
.product-bento > .bento-card.large {
  flex: 1.7; /* 左側カラム */
}

.product-bento .bento-right-col {
  flex: 1;   /* 右側カラム */
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* カード共通設定 */
.bento-card {
  background: var(--panel);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.35s cubic-bezier(0.4,0,0.2,1);
}
.bento-card:hover {
  border-color: var(--accent);
}

/* 画像エリアの設定（px固定を解除して余白を自動調整） */
.bento-card .media {
  flex: 1;
  min-height: 160px;
  overflow: hidden;
}
.bento-card .media img,
.bento-card .media .placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.bento-card:hover .media img,
.bento-card:hover .media .placeholder {
  transform: scale(1.05);
}

.bento-card .info {
  padding: 22px 24px;
  text-align: center;
}
.bento-card .info .label-caps { font-size: 0.6rem; }
.bento-card .info h3 {
  font-size: 1.1rem;
  margin: 8px 0 6px;
}
.bento-card .info p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--sub);
}

/* ノートカード設定 */
.bento-note {
  position: relative;
  height: 206.11px; /* 右下の高さを固定 */
  background: var(--ink);
  color: rgba(250,247,242,0.92);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
  overflow: hidden;
}
.bento-note img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  z-index: 0;
}
.bento-note > * {
  position: relative;
  z-index: 1;
}
.bento-note .label-caps { color: rgba(250,247,242,0.8); }
.bento-note p {
  font-size: 0.78rem;
  color: rgba(250,247,242,0.8);
  margin: 10px 0 12px;
}
.bento-note a {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.85);
  text-decoration: none;
}

/* 歴史と理念／会社案内 */
#history-company { width: 100%; position: relative; }
#history-company .crest {
  position: absolute;
  z-index: 0;
  opacity: 0.1;
  pointer-events: none;
  user-select: none;
}
#history-company .crest-1 { top: 0; left: -10%; width: 499px; height: 499px; z-index: -1;}
#history-company .crest-2 { bottom: -20%; right: -30%; width: 703px; height: 703px; z-index: -1; }
.history-grid,
.company-teaser {
  position: relative;
  z-index: 1;
}
.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}
.history-content .label-caps { display: block; margin-bottom: 12px; }
.history-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 32px; }
.history-item {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}
.history-item .num {
  font-family: "Noto Serif JP", serif;
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.history-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.history-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--sub);
}
.history-media { position: relative; }
.history-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border: 1px solid var(--line);
  display: block;
}

.company-teaser {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 40px;
  align-items: center;
  background: var(--panel);
}
.company-teaser .store_img { 
  height: 220px;
  overflow: hidden;
}
.company-teaser .store_img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.company-teaser .company-content { padding: 28px 36px 28px 0; }
.company-teaser .company-content .label-caps { display: block; margin-bottom: 10px; }
.company-teaser .company-content h3 { font-size: 1.2rem; margin-bottom: 10px; }
.company-teaser .company-content p {
  font-size: 0.85rem;
  color: var(--sub);
  margin: 0 0 18px;
}

/* モーダルウィンドウ */
/* モーダル全体のスタイル */
dialog#video-modal {
  padding: 0;
  border: none;
  background: transparent;
  max-width: 90vw;
  width: 960px;
  /* overflow: hidden を付けないことで外側の要素が消えるのを防ぐ */
}

/* ダイアログが開いた時の背景（暗転効果） */
dialog#video-modal::backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

/* 内側コンテナ */
.modal-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* 16:9比率を維持 */
  background: #000;
  border-radius: 8px;
  overflow: hidden; /* 動画の角丸を維持 */
}

/* 動画本体 */
#modal-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* 閉じるボタン（PC・スマホ共通で動画の右上「内側」に配置） */
#modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10; /* 動画より前に出す */
  background: rgba(0, 0, 0, 0.6); /* 黒の半透明背景で動画と重なっても見やすくする */
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

/* 閉じるボタンのホバー処理（PC用） */
#modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.05);
}

/* レスポンシブまとめ */

@media (max-width: 1000px) {
  #global-nav-list { font-size: 14px; }
  #global-nav-list a { font-size: 14px; }
  .hero .brand-group { left: 24px; }
  .hero-catch { padding-left: 24px; }
}

@media (max-width: 860px) {
  #history-company .crest-1 { top: -2%; left: auto; right: -5%; width: 70%; height: auto; z-index: -1;}
  #history-company .crest-2 { display: none; }
  header.site-header .brand-group--mobile { display: flex; }
  .hero .brand-group { display: none; }
  .hero-catch::before { min-height: 0; }
  .about-block, .about-block.reverse {
    grid-template-columns: 1fr;
  }
  .about-block .about-media,
  .about-block.reverse .about-media,
  .about-block .about-content,
  .about-block.reverse .about-content {
    order: initial;
  }
  .about-media img,
  .about-media .placeholder { height: 260px; }
  .about-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: 0;
    padding: 0;
  }
  .gallery-item-1,
  .gallery-item-2,
  .gallery-item-3 {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    justify-self: stretch;
  }
  .quote-band { padding: 96px 24px; }
  
  .history-grid { grid-template-columns: 1fr; gap: 32px; }
  .history-media img { height: 260px; }
  .company-teaser { grid-template-columns: 1fr; }
  .company-teaser .company-content { padding: 0 24px 28px; }
  .hero-catch { padding: 0 24px 240px; }
  .hero-side { right: 20px; top: 120px; transform: none; }
  .hero-bottom-right { left: 20px; right: 20px; align-items: stretch; }
  .hero-play { display: none; }
  .notice-panel { width: auto; max-width: none; }
  .about-block { margin-bottom: 60px; }
  .about-video { display: block; width: fit-content; margin-bottom: 50px; }
  .gallery-item-1,
  .gallery-item-2,
  .gallery-item-3 {
    height: 260px;
    aspect-ratio: auto;
  }
  .quote-band .quote-media {
    top: 0;
    right: 0;
    left: 0;
    bottom: auto;
    height: 373px;
  }
  .notice-list li {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 5px 10px;
  }
  .notice-list .date { width: auto; font-weight: 700; }
  .notice-list .notice-text { flex-basis: 100%; }
  #modal-close {
    top: 5px;
    right: 5px;
  }
}

@media (max-width: 640px) {
  .notices-body { flex-direction: column; align-items: stretch; gap: 32px; }
  .notices-sns { width: auto; padding-top: 0; }
  .notices-main .section-foot { text-align: center; }
  .sns-btn { justify-content: center; }
  .sns-btn-label { flex: none; }
  .product-bento {
    -webkit-flex-direction: column;
	  flex-direction: column;
	  -webkit-justify-content: flex-start;
	  justify-content: flex-start;
	  -webkit-align-items: flex-start;
	  align-items: flex-start;
  }
}

@media (max-width: 500px) {
  #about{
    padding-bottom: 80px;
  }
  .about-video-link img.sp{
    display: block;
  }
  .about-video-link img.pc{
    display: none;
  }
  .about-video-divider{
    display: none;
  }
  .about-video-play{
    display: none;
  }

}
@media (max-width: 400px) {
  .hero-catch{
    padding-bottom: 100px;
  }
  .notice-panel { display: none; }
  .hero-since {
      -webkit-flex-direction: column;
	    flex-direction: column;
	    -webkit-justify-content: flex-end;
	    justify-content: flex-end;
	    -webkit-align-items: flex-start;
	    align-items: flex-start;
      gap: 0;
      margin-bottom: 20px;
  }
  .hero-since-divider{
    display: none;
  }
  .about-block{
    gap: 30px;
  }
  .about-video-link{
    -webkit-flex-direction: column;
	  flex-direction: column;
	  -webkit-justify-content: flex-start;
	  justify-content: flex-start;
	  -webkit-align-items: flex-start;
	  align-items: flex-start;
  }
}
