
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #000; /* ←これが抜けてると白く見える！ */
  color: #fff;
  position: relative;
  font-size: 62.5%; /* ＝16px × 0.625 = 10px */
  scroll-behavior: smooth;
}

/* ローディング画面スタイル */
#loader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: black;

  display: flex;
  justify-content: center; /* 垂直中央寄せ */
  align-items: center; /* 横中央寄せ */

  z-index: 9999; /* 最前面 */
}

/* テキストと左右の線を囲むラッパー */
.loader-center-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100vw;   /* ビューポート幅いっぱい */
  height: 100vh;  /* ビューポート高さいっぱい */
}


/* 文字 */
.loader-text {
  display: flex;             /* ← 横並び */
  align-items: center;       /* 垂直中央 */
  color: white;
  font-size: 3rem;
  position: relative;
  font-family: 'Playfair Display', serif;
  animation: blink 1s infinite;
  padding: 1rem 2rem;
}
.loader-text2 {
  position: absolute;
  bottom: 12vh;     /* 下からの位置 */
  right: 12vw;      /* 右からの位置 */
  color: white;
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  z-index: 10;
  opacity: 0.8;
}


.loading-line {
  position: absolute;
  bottom: 10vh;  /* 画面下部から10%の位置 */
  left: 10% !important; 
  width: 80vw; /* 最終幅 */
  height: 2px;
  background-color: black;
  /* transform を複数まとめて記述 */
  transform:scaleX(0); /* 中央寄せ＆縮小スタート */
  transform-origin: left center; /* 右起点 */
  animation:
  scaleGrow 3s cubic-bezier(0.1, 0.6, 0.18, 1) forwards,
  colorChange 3s cubic-bezier(0.1, 0.6, 0.18, 1) forwards;
}

.loading-line1 {
  position: absolute;
  top: 10vh;  /* 画面上部から10%の位置 */
  left: 10% !important; 
  width: 80vw; /* 最終幅 */
  height: 2px;
  background-color: black;
  /* transform を複数まとめて記述 */
  transform: scaleX(0); /* 中央寄せ＆縮小スタート */
  transform-origin: right center; /* 右起点 */
  animation:
  scaleGrow 3s cubic-bezier(0.1, 0.6, 0.18, 1) forwards,
  colorChange 3s cubic-bezier(0.1, 0.6, 0.18, 1) forwards;

}

.loading-line2 {
  position: absolute;
  width: 2px; /* 縦線なので細く */
  height: 80vh; /* 最終高さ */
  left: 10vw;
  background-color: black;
  transform: scaleY(0); /* 初期状態で縮小（縦方向） */
  transform-origin: top center; /* 上から伸ばす */
  animation:
  scaleGrow 3s cubic-bezier(0.1, 0.6, 0.18, 1) forwards,
  colorChange 3s cubic-bezier(0.1, 0.6, 0.18, 1) forwards;

}
.loading-line3 {
  position: absolute;
  width: 2px; /* 縦線なので細く */
  height: 80vh; /* 最終高さ */
  right: 10vw;
  background-color: black;
  transform: scaleY(0); /* 初期状態で縮小（縦方向） */
  transform-origin: bottom center; /* 下から伸ばす */
  animation:
    scaleGrow 3s cubic-bezier(0.1, 0.6, 0.18, 1) forwards,
    colorChange 3s cubic-bezier(0.1, 0.6, 0.18, 1) forwards;
}


@keyframes scaleGrow {
  to {
    transform: scale(1); /* フルサイズまでスケール */
  }
}

@keyframes colorChange {
  from { background-color: black; }
  to { background-color: white; }
}


.slideshow-fade-in {
  opacity: 0;
  animation: slideshowFadeIn 1.5s ease-in-out forwards;
}

@keyframes slideshowFadeIn {
  to {
    opacity: 1;
  }
}




.typing {
  font-family: 'Playfair Display', serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid white;
  width: 0;
  animation: typing 3s steps(20, end) forwards, blink 0.7s step-end infinite;
  visibility: hidden; /* 最初は非表示にする */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: 500;
  margin-top: -35px;
  font-size: clamp(2.4rem, 8vw, 7.5rem);
}


@keyframes typing {
  from { width: 0 }
  to { width: 10.7ch } /* 表示したい文字数に応じて調整 */
}

@keyframes blink {
  50% { border-color: transparent; }
}
.company-name {
  position: absolute;
  left: 20px;
  top: 69.45px;
  color: white;
  font-size: 24px;
  font-family: 'Playfair Display';
  font-weight: 500;
  margin-top: -14px;
}




/* ヒーローセクション：最初の画面だけに表示 */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh; /* 画面いっぱい */
  overflow: hidden;
}

.slideshow {
  position: absolute;
  top: 0; /* ← 必ず0になってるか確認 */
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}


.header-links{
  font-size: 2rem;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}


@keyframes zoomSlow {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.navigation-container {
  width: 100%;
  height: 166.99px;
  position: relative;
  overflow: hidden;
  margin-top: -50px;
}

.header-title {
color: #FFF;
text-align: center;
font-family: Inter;
font-size: 64px;
font-style: normal;
font-weight: 700;
line-height: 140%; /* 89.6px */
letter-spacing: -1.28px;
}



.parallax-container {
  position: relative;
  overflow-x: hidden;
  height: 1900px; /* 中の要素の一番下に届くくらい */
}



.parallax-item {
  position: absolute;
  width: 100vw;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.parallax-item img {
  width: 60%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.parallax-text {
  font-size: 48px;
  font-weight: bold;
  color: white;
  text-align: center;
  line-height: 1.4;
  margin: 0 auto;
  max-width: 100%;
  font-family: 'Playfair Display', serif;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.parallax-container .parallax-item:first-child img {
  transform: translateY(220px);
  width: 40%;
  left: -250px;
  position: relative; /* z-indexを効かせるために必要 */
  z-index: 3; /* 小さいと背面、大きいと前面 */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}
.parallax-container .parallax-item:nth-child(2) {
  color: black;
  font-family: 'Playfair Display';
  transform: translateY(730px);
  width: 100%;
  position: relative;
  z-index: 10;
  transform: translate(-50%, -50%) translateY(584px);
}

.parallax-container .parallax-item:nth-child(3) img {
  transform: translateY(327px);
  width: 35%;
  right: -350px;
  position: relative; /* z-indexを効かせるために必要 */
  z-index: 3; /* 小さいと背面、大きいと前面 */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}
.parallax-container .parallax-item:nth-child(4) img {
  transform: translateY(792px);
  width: 50%;
  left: -480px;
  position: relative; /* z-indexを効かせるために必要 */
  z-index: 4; /* 小さいと背面、大きいと前面 */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}
.parallax-container .parallax-item:nth-child(5) img {
  transform: translateY(700px);
  width: 45%;
  right: -30px;  
  position: relative; /* z-indexを効かせるために必要 */
  z-index: -1; /* 小さいと背面、大きいと前面 */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}
.parallax-container .parallax-item:nth-child(6) img {
  transform: translateY(1200px);
  width: 50%;
  right: -350px;
  position: relative; /* z-indexを効かせるために必要 */
  z-index: 3; /* 小さいと背面、大きいと前面 */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}
.parallax-container .parallax-item:nth-child(1) {
  z-index: 2;
}

.parallax-container .parallax-item:nth-child(2) {
  z-index: 10;
}

.parallax-container .parallax-item:nth-child(3) {
  z-index: 3;
}

.parallax-container .parallax-item:nth-child(4) {
  z-index: 4;
}

.parallax-container .parallax-item:nth-child(5) {
  z-index: 1; /* 背面にしたいならこれでOK */
}

.parallax-container .parallax-item:nth-child(6) {
  z-index: 3
}


.info-section{
  transform: translateY(1200px);
  background-color: transparent;
  padding: 40px 20px;
  color: white;
  font-family: 'Playfair Display', serif;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  width: 90%;
}
.info-title {
  font-size: 75px;
  font-weight: 200;
  margin-bottom: 60px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
  line-height: 1.2;
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.news-item {
  font-size: 24px;
  font-weight: 200;
  line-height: 1.4;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
  font-family: 'Playfair Display', serif;
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out 0.1s, transform 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.section-divider {
  border: none;
  height: 2px;
  width: 100%;
  max-width: 1000px;
  margin: 1rem auto 2rem;
  background: linear-gradient(to right, #fff, #888, #fff); /* ← 白〜グレー〜白のグラデ線 */
  opacity: 0.5;
}





.list-line {
  position: absolute;
  top: 7%;
  width: 200vw;
  height: 2px;
  background-color: rgb(255, 255, 255);
  transform: translateY(calc(100% / 12)) scaleX(0);
  transform-origin: 37% center; /* ← 40%の位置を起点にする */
  z-index: 1;
}

/* アニメーションはクラスで発火させる */
.list-line.animate {
  animation: scaleGrowCenter 2s ease forwards;
}

@keyframes scaleGrowCenter {
  to {
    /* translateY は初期値と同じにして scaleX のみ 1 に */
    transform: translateY(calc(100% / 12)) scaleX(1);
  }
}



.hexagon3__wrapper {
  width: 100vw;
	display: flex;
	flex-wrap: wrap;
	--wrapper-width: 100%;
	margin-right: calc(-1 * var(--wrapper-width) / 3 * 0.25 * 2 - var(--wrapper-width) / 3 * 0.05 * 2);
  position: relative;
  overflow: visible; /* ←追加 */
  padding-bottom: 20%;
}
@media(max-width: 768px) {
	.hexagon3__wrapper {
		--wrapper-width: 100%;
		font-size: 3vw;
	}
}
.hexagons {
	width: calc(100% /3);
  pointer-events: none;
}
.honeycomb-area {
  overflow: visible; /* ←追加 */
  display: flex;
  justify-content: center;
  padding: 100px 0; /* 上下にスペースを確保 */
  position: relative;
}
.hexagon-3_hexagon {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	aspect-ratio: 200 / 173;/* √3から算出 */
	background-color: #000000;
	clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  position: relative; /* ← これが必要 */
  z-index: 1;          /* ← 全体的に同じなら1でよい */
}
.hexagon-3_hexagon > span {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  margin: 0;
  background: none;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.hexagon-3_hexagon .hex {
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  color: white;
  font-weight: bold;
  position: relative;
  z-index: 2;
}
/* 2行目と3行目の六角形を上にずらして縁を重ねる */
/* すべての hexagon の間隔を一定にする */
.hexagon-3_hexagon {
  transform: scale(0.92); /* ← ここで大きさ調整。0.92は92%の大きさ */
  margin-top: -5%; /* ← 適用したい間隔に統一 */
  overflow: visible; /* ←追加 */
}
.hexagon-3_hexagon > span,
.hexagon-3_hexagon > span > a.hex {
  pointer-events: auto;
}



/* 中央の列を下にずらす */
.honeycomb-area .hexagons-center {
	transform: translateY(calc(100% / 12));
}
.honeycomb-area .hexagons-right {
  transform: translateY(calc(100% / 6));
}
/* 2列目と3列目の六角形を左にずらして縁を重ねる */
.honeycomb-area .hexagons-center,
.honeycomb-area .hexagons-right {
	margin-left: calc(-100% / 3 * 0.25 - 100% / 3 * 0.05);
  z-index: 5
}
.hexagon-3_hexagon > span > a.hex {
  position: relative; /* 擬似要素の基準にする */
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  

  color: white;
  font-weight: bold;
  text-align: center;
  line-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  /* 文字のまわりに影 */
  text-shadow:
    2px 2px 4px rgba(0,0,0,0.7),
    -2px -2px 4px rgba(0,0,0,0.7),
    2px -2px 4px rgba(0,0,0,0.7),
    -2px 2px 4px rgba(0,0,0,0.7);

  transition: transform 0.3s ease;
  transform-origin: center center;
  font-size: 35px;
  font-family: 'Playfair Display', serif;
}





/* 背景画像を個別に設定 */
.hex1 {
  z-index: 0;
  background-image: url('https://plus.unsplash.com/premium_photo-1726826453087-f886b1eea16b?q=80&w=2069&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}
.hex2 {
  z-index: 0;
  background-image: url('https://images.unsplash.com/photo-1630526959194-5a2eb63b63aa?q=80&w=1974&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}
.hex3 {
  z-index: 0;
  background-image: url('https://images.unsplash.com/photo-1698736206102-208d1f5f1d6e?q=80&w=2071&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}
.hex4 {
  background-image: url('https://images.unsplash.com/photo-1712659606957-b7395ba9ebb2?q=80&w=2071&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}
.hex5 {
  background-image: url('https://images.unsplash.com/photo-1617529520608-42a0fe601be2?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Nnx8JUUzJTgzJTg0JUUzJTgzJUJDJUUzJTgzJUFCJUU5JTk2JThCJUU3JTk5JUJBfGVufDB8fDB8fHww');
}
.hex6 {
  background-image: url('https://plus.unsplash.com/premium_photo-1666913667082-c1fecc45275d?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}
.hex7 {
  background-image: url('https://images.unsplash.com/photo-1611154046036-cd91e50978be?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}
.hex8 {
  background-image: url('https://images.unsplash.com/photo-1654512971331-bc6f52a06073?q=80&w=2071&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}
.hex9 {
  background-image: url('https://images.unsplash.com/photo-1597290282695-edc43d0e7129?q=80&w=2075&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}
.hex10 {
  background-image: url('https://images.unsplash.com/photo-1731201842164-7d63410c3d71?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}
.hex11 {
  background-image: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}
.hex12 {
  background-image: url('https://images.unsplash.com/photo-1605340406960-f5b496c38b3d?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}
.hex13 {
  background-image: url('https://images.unsplash.com/photo-1578432014316-48b448d79d57?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}
.hex14 {
  background-image: url('https://images.unsplash.com/photo-1629901925121-8a141c2a42f4?q=80&w=1974&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}
.hex15 {
  background-image: url('https://images.unsplash.com/photo-1666901356149-93f2eb3ba5a2?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}
.hex16 {
  background-image: url('https://images.unsplash.com/photo-1504564321107-4aa3efddb5bd?q=80&w=1976&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}
.hex17 {
  background-color: rgb(255, 255, 255);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;           /* 中央揃え */
  white-space: normal;          /* 折り返し有効 */
  line-height: 1.2;             /* 行の高さ調整（必要に応じて） */ 
  pointer-events: none !important;         /* クリックやホバーを無効化 */
  cursor: default;              /* カーソルを普通の矢印に */
}

.hex17 .big {
  font-size: 70px !important;
  font-weight: bold;
  line-height: 1;
  display: inline-block;
  text-align: center;
  color: #000000;
  font-family: 'Playfair Display', serif;
  text-shadow: none !important; 
}

.hex:hover {
  transform: scale(1.2); /* 1.2倍に拡大 */
  z-index: 10; /* 重なり順を上にして他の要素の上に出す */
}




#diagnosis-section {
  padding-top: 100px; /* 元々styleにあったものを移動 */
}


.center-container-wrapper {
  position: relative; /* ←この要素の中で絶対配置させるために必要 */
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: clamp(200px, 40vw, 600px); /* 最小200px、最大600px、中間は画面の40% */
  aspect-ratio: 3 / 1; /* 横長比率に */
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.rounded-label {
  padding: 14px 24px;
  border: 2px solid white;
  border-radius: 8px;
  color: white;
  font-size: 70px;
  font-weight: 500;
  display: inline-block;
  background-color: transparent;
  font-family: 'Playfair Display';
  text-align: center;
  text-decoration: none;
  z-index: 3;
  position: relative;
}

.img-wrapper {
  position: absolute;
  overflow: hidden;
  width: 300px;
  height: 250px;
}

.corner-image {
  position: absolute;
  width: 900px;
  height: 500px;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
}





.footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  padding: 1rem;
  color: white;
  z-index: 1000;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  font-weight: 3px;
  font-size: 2.3rem;
  font-family: serif;
}



/* デフォルトでは非表示 */
.mobile-only {
  display: none !important;
}

/* モバイル非表示、PC表示 */
.text-pc {
  display: inline;
}
.text-mobile {
  display: none;
}

/* モバイル時のみ表示 */
@media (max-width: 768px) {
  .mobile-only {
    display: inline !important;
  }

  .typing {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center;
    font-size: 5rem !important;
  }

  .company-name {
    display: none !important;
  }

  .parallax-text {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
    font-size: 4rem !important;
    text-align: center !important;   /* 左右中央寄せ */

    width: 100% !important;
    text-shadow:
    2px 2px 4px rgba(0,0,0,0.7);
  }
  .parallax-container .parallax-item:first-child img {
transform: translateY(45.2rem);
  left: -12.5rem;
  width: 40rem;
  }
  .parallax-container .parallax-item:nth-child(2) {
  transform: translateY(50.7rem);
  width: 100%;
  top: 20rem;
}
.parallax-container .parallax-item:nth-child(3) img {
  transform: translateY(65rem);
  width: 36rem;
  right: -20rem;
}
.parallax-container .parallax-item:nth-child(4) img {
  transform: translateY(128.9rem);
  width: 48rem;
  left: -28rem;
}
.parallax-container .parallax-item:nth-child(5) img {
  transform: translateY(100rem);
  width: 36rem;
  right: -1rem;  
}
.parallax-container .parallax-item:nth-child(6) img {
  transform: translateY(120rem);
  width: 60rem;
  right: -48rem;
}
.list-line {
  display: none;
}
.hexagon-3_hexagon > span > a.hex {

  font-size: 150%;
}
.hex17 .big {
  font-size: 150% !important;
}
.text-pc {
    display: none;
  }
  .text-mobile {
    display: inline;
  }
  .navigation-container {
    width: 90%;            /* 横幅を画面の90%に */
    height: 100px;         /* 高さも小さく */
    margin-top: -30px;     /* 必要なら調整 */
    margin-inline: auto;   /* 中央揃え（左右にauto） */
  }
  .center-container {
    width: clamp(150px, 60vw, 300px); /* モバイル向けに少し小さめに */
    aspect-ratio: 3 / 1;
  }

  .rounded-label {
    font-size: 3rem;         /* モバイル向けに小さく */
    padding: 8px 16px;       /* 余白も小さく */
    border-width: 1.5px;     /* 枠線も細く */
  }
  .info-title {
  width: 100%;       /* 横幅いっぱい */
  box-sizing: border-box; /* パディング・ボーダーを含めて幅調整 */
  padding: 0 1rem;   /* 左右に少し余白を入れたい場合 */
  text-align: center; /* 中央寄せなどお好みで */
  font-size: 10vw; /* 画面幅の8%を文字サイズにする */
  text-align: center;
}
.header-links a,
  .header-links div {
    font-size: 14px !important; /* もとの20pxより小さく */
    padding: 8px 12px !important; /* ボタンのパディングも調整 */
  }

  .header-links {
    gap: 16px !important; /* リンク間の隙間も狭く */
    right: -1rem !important;  /* もっと右に寄せる */
  }
  .header-links div {
    border: none !important;
    margin-top: 0 !important; /* もし上マージンが邪魔ならリセット */
  }
}
