@charset "UTF-8";
/*========= LoadingのCSS ===============*/
.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 73%;
  height: 100%;
  max-width: 450px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  z-index: 1;
}

.loader-content {
  text-align: center;
}

.loader-content img {
  width: 100%;
  object-fit: cover;
  border-radius: 40px;
}

.progress-bar {
  position: absolute;
  top: 57%;
  left: 50%;
  transform: translate(-50%, -57%);
  width: 80%;
  height: 2px;
  background-color: #555;
  border-radius: 5px;
  overflow: hidden;
}

.progress-bar .progress {
  width: 0;
  height: 100%;
  background-color: #fff;
  transition: width 0.4s;
}
.progress-fade-out {
  opacity: 0;
  transition: opacity 0.2s;
}

/* Loading背景画面設定　*/
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  text-align: center;
  color: #f2f2f2;
}
#splash_text {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 100;
  transform: translate(-50%, -50%);
  color: #f2f2f2;
  width: 100%;
}
#splash_text svg {
  height: 2px;
}
/*割れる画面のアニメーション*/
.loader_cover {
  width: 100%;
  height: 50%;
  background-color: #333;
  transition: all 0.2s cubic-bezier(0.04, 0.435, 0.315, 0.9);
  transform: scaleY(1);
}
/*上の画面*/
.loader_cover-up {
  transform-origin: center top;
}
/*下の画面*/
.loader_cover-down {
  position: absolute;
  bottom: 0;
  transform-origin: center bottom;
}
/*クラス名がついたらY軸方向に0*/
.coveranime {
  transform: scaleY(0);
}

/* アニメーションの設定 */
.fade-in {
  opacity: 0; /* 初期状態では透明 */
  transform: translateY(-10%); /* 少し上からスタート */
  transition: opacity 0.3s ease-out, transform 0.3s ease-out; /* アニメーションの設定 */
}
.is-visible {
  opacity: 1; /* 完全に見える状態 */
  transform: translateY(0); /* 元の位置へ移動 */
}
/* 新しいアニメーション用のCSS */
.bgextend,
.bgLRextend {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: fit-content;
}

.bgextend::before,
.bgLRextend::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #212121;
  animation-fill-mode: forwards;
  z-index: 1;
  will-change: transform;
}

.bgLRextend::before {
  animation: bgLRextendAnime 0.8s ease-in-out forwards;
}

/* テキストカラーアニメーション */
.bgextend,
.bgLRextend {
  color: inherit;
  position: relative;
  z-index: 0;
}

.bgextend::after,
.bgLRextend::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #ffffff;
  z-index: 2;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.05s ease;
}

.bgLRextend::after {
  animation: textColorReveal 0.8s ease-in-out forwards;
}

@keyframes bgLRextendAnime {
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }
  45% {
    transform-origin: left;
    transform: scaleX(1);
  }
  55% {
    transform-origin: left;
    transform: scaleX(1);
  }
  55.001% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}

@keyframes textColorReveal {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  45% {
    clip-path: inset(0 0% 0 0);
  }
  55% {
    clip-path: inset(0 0% 0 0);
  }
  100% {
    clip-path: inset(0 100% 0 0);
  }
}
#curtain {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: #1e1e1e;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #f2f2f2;
  font-size: 2rem;
  overflow: hidden;
  z-index: 90;
}

@keyframes slideDown {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes slideUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100%);
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
body {
  margin: 0 auto;
  padding: 0 1%;
  max-width: 1600px;
  padding: 0;
  background-color: #e9e9e9;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
html {
  background-color: #202020;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
a {
  text-decoration: none;
}
button {
  color: black;
  background-color: rgba(0, 0, 0, 0);
}
/*---------------------------------------
  既存ヘッダー部分
---------------------------------------*/
#header {
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 1600px;
  z-index: 30;
  transition: top 0.2s;
  overflow: hidden;
}
.header-container {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  padding: 2%;
  background-color: rgba(255, 255, 255, 0.6);
  box-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}
.header-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 50%;
}
.header-logo img {
  width: 100%;
  max-width: 400px;
  padding-left: 1rem;
}

/*---------------------------------------
  1. ハンバーガーボタンをヘッダー右端中央に固定
---------------------------------------*/
.openbtn7 {
  width: 2.2rem;
  height: 2.2rem;
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
  z-index: 99;
  background: transparent;
  cursor: pointer;
}
.openbtn7 .openbtn-area {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* 線（span） */
.openbtn7 span {
  position: absolute;
  display: inline-block;
  width: 2em; height: 0.2em;
  border-radius: 0.2em;
  background: #9e2a2ad3;
}
.openbtn7 span:nth-of-type(1) { top: 10px; left: 0; }
.openbtn7 span:nth-of-type(2) { top: 18px; left: 0; }
.openbtn7 span:nth-of-type(3) { top: 26px; left: 0; }

.openbtn7 span {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.openbtn7.active span:nth-of-type(1) {
  transform: translateY(8px) rotate(45deg);
}

.openbtn7.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn7.active span:nth-of-type(3) {
  transform: translateY(-8px) rotate(-45deg);
}
/* 全画面フェードインガラスメニュー */
.header-menu-container {
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 40;
}

.header-menu-container.show-menu {
  opacity: 1;
  pointer-events: auto;
}

/* 背景ガラスレイヤー */
.header-menu-container::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0px) saturate(150%) brightness(1);
  -webkit-backdrop-filter: blur(0px) saturate(150%) brightness(1);
  transition: 
    background .3s ease-in-out,
    backdrop-filter .3s ease-in-out,
    -webkit-backdrop-filter .5s ease-in-out;
}

.header-menu-container.show-menu::before {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px) saturate(180%) brightness(0.9);
  -webkit-backdrop-filter: blur(16px) saturate(180%) brightness(0.9);
}

/*---------------------------------------
  3. メニューテキストは手前に
---------------------------------------*/
.header-menu {
  position: relative;
  z-index: 2;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
}

.header-menu li {
  margin: 1rem 0;
}
.header-menu li a {
  display: inline-block;
  text-shadow: 0 2px 4px rgba(250, 250, 250, 0.6);
  font-size: 1.5rem;
  color: #801515;
  font-weight: bold;
  text-decoration: none;
  transition: opacity .4s;
  position: relative;
}

.header-menu li a:hover {
  opacity: .6;
}

.header-menu li a::after {
  z-index: 1;
}


/* hero-section */

/* hidden h1 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-container {
  position: relative; /* staticからrelativeに変更 */
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
  overflow: hidden;
}

.hero-bg-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  padding: 0;
  margin: 0 auto;
  background-image: radial-gradient(
    farthest-corner,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.95)
  );
  z-index: 1;
}
.hero-bg-area .grid {
  margin: 0em;
  padding: 20rem 0em;
}

.following.bar,
.hero-bg-area {
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -ms-transition: background-color 3s ease-in-out 2s;
  -moz-transition: background-color 3s ease-in-out 2s;
  -webkit-transition: background-color 3s ease-in-out 2s;
  transition: background-color 3s ease-in-out 2s;
  -webkit-perspective: 1000px;
  -moz-perspective: 1000px;
  -o-perspective: 1000px;
  -ms-perspective: 1000px;
  perspective: 1000px;
}

.following.bar iframe.github {
  margin-top: 0px;
}

.pushed .hero-bg-area,
.pushed .following.bar {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.colored.following.bar,
.hero-bg-area.colored {
  -webkit-animation-name: colors;
  -moz-animation-name: colors;
  -o-animation-name: colors;
  animation-name: colors;
  -webkit-animation-delay: 0s;
  -moz-animation-delay: 0s;
  -ms-animation-delay: 0s;
  -o-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation-duration: 120s;
  -moz-animation-duration: 120s;
  -ms-animation-duration: 120s;
  -o-animation-duration: 120s;
  animation-duration: 120s;
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  animation-fill-mode: both;
  animation-timing-function: linear;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  -ms-animation-iteration-count: infinite;
  -o-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

.hero-bg-area:after {
  position: absolute;
  z-index: 1;
  width: 135%;
  height: 150%;
  top: -15%;
  left: 0px;
  content: "";
  background: url(https://semantic-ui.com/images/ui.png);
  -moz-transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-animation-name: splash;
  -moz-animation-name: splash;
  -o-animation-name: splash;
  animation-name: splash;
  -ms-transition: opacity 3s ease-in-out, transform 5s ease-in-out;
  -webkit-transition: opacity 3s ease-in-out, transform 5s ease-in-out;
  -moz-transition: opacity 3s ease-in-out, transform 5s ease-in-out;
  transition: opacity 3s ease-in-out, transform 5s ease-in-out;
  opacity: 0.06;
  -webkit-animation-duration: 15s;
  -moz-animation-duration: 15s;
  -ms-animation-duration: 15s;
  -o-animation-duration: 15s;
  animation-duration: 15s;
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  animation-fill-mode: both;
  animation-timing-function: linear;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  -ms-animation-iteration-count: infinite;
  -o-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-transform: rotateX(50deg) rotateZ(0deg) rotateY(0deg) translateY(-14%)
    translateX(-14%) translateZ(370px);
  -moz-transform: rotateX(50deg) rotateZ(0deg) rotateY(0deg) translateY(-14%)
    translateX(-14%) translateZ(370px);
  transform: rotateX(50deg) rotateZ(0deg) rotateY(0deg) translateY(-14%)
    translateX(-14%) translateZ(370px);
}
.fixed.following.bar {
  background-image: none;
}

.fixed.following.bar {
  position: fixed;
  top: 0px;
  padding: 1em 0em;
  background-color: #ffffff;
}

.fixed.light.following.bar {
  background-color: #ffffff;
  border-bottom: 1px solid #dddddd;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.04);
}

@keyframes splash {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 0% -475px;
  }
}

.iphone-mockup-container {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin: 15% auto;
  z-index: 2;
}

.iphone-mockup-container img[alt="iPhoneのモックアップ"] {
  width: 100%;
  height: auto;
}

.video-container {
  position: absolute;
  top: 2%;
  left: 50%;
  width: 75%;
  height: 95%;
  transform: translateX(-50%);
  z-index: -1;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px;
}

.video-container-b video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
/* ---------------モックアップと動画の微調整------------- */
@media (max-width: 399px) {
  .iphone-mockup-container {
    top: 40%;
  }
}
/* -------------------------------------------------- */
.Company-name,
.company-description {
  max-width: 1200px;
  z-index: 5;
}
.Company-name {
  position: absolute;
  top: 68%;
}
.Company-name img {
  width: 98%;
}
.company-description {
  position: absolute;
  left: 2%;
  top: 77%;
  line-height: 2rem;
  font-size: 0.9rem;
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 2px rgb(44, 44, 44);
}

/* title container */
.title-container {
  height: 30%;
  width: 100%;
  padding: 8% 0;
  z-index: 10;
  position: relative;
}
.title .japanese-title {
  display: inline;
  visibility: hidden;
  opacity: 0;
}
.title-container h2 {
  text-align: left;
  padding: 0;
  margin-left: 3%;
  line-height: 1.2em;
  letter-spacing: 4px;
  font-size: 2.5rem;
  font-family: "Oswald", sans-serif;
  opacity: 0;
}
.title-container h4 {
  opacity: 0;
  font-size: 1.5rem;
  margin-left: 3%;
  letter-spacing: 5px;
  padding: 0;
}

.title-container p {
  text-align: left;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 1px;
  padding: 0;
  margin: 5% 0 0 5%;
  color: #444;
}

/* service-section */
#service .title-container {
  border-top: none;
}
#service {
  padding: 5% 0;
  transition: background-color 0.7s ease, color 0.7s ease;
}
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  padding: 80px 20px;
}

/* ──────────────────────────────────
   ガラス風カード（厚め）＋控えめシャイン
────────────────────────────────── */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 4% 3%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  overflow: hidden;
  will-change: transform;
  transform: perspective(800px) rotateY(-4deg) translateZ(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  max-height: 480px;
  min-height: 400px;
  max-width: 400px;
}
.card:hover {
  transform: perspective(800px) rotateY(0deg) translateZ(10px);
  box-shadow:
    0 6px 12px rgba(0,0,0,0.08),
    inset 0 0 0 1px rgba(255,255,255,0.4);

  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
}
/* シャイン用擬似要素 */
.card::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 30%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0)   0%,
    rgba(255,255,255,0.15) 50%,
    rgba(255,255,255,0)   100%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  opacity: 0;
}
.card:hover::before {
  animation: shine 0.9s ease-out forwards;
  opacity: 1;
}

@keyframes shine {
  from { left: -60%; }
  to   { left: 160%; }
}

.card h3 {
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem;
  color:#393939;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}
/* メディア部分 */
.card-media {
  position: relative;
  height: 200px;
  background: #f5f5f5;
}

.card-media img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

/* プラットフォームアイコン */
.platform-icons {
  position: absolute;
  bottom: 24px;
  width: 100%;
  justify-content: center;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 32px);
  gap: 8px;
  background: rgba(255,255,255,.9);
  padding: 2px 4px;
}
.platform-icons img {
  width: 100%;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}
/* コンテンツ部分 */
.card-content {
  padding: 20px 4px;
}
.card-content h5 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #ececec;
}
.card-content p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
}
/*---------------- member-section ------------------*/
.team-container {
  position: relative;
  background-image: url('./images/team-image.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px; /* 必要に応じて調整 */
  padding: 24px 0;
}
.team-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7); /* 白いオーバーレイ */
  backdrop-filter: blur(3px); /* 背景をぼかす */
  z-index: 1;
}
.team-container .title-container {
  margin:0;
}
.team-container .text-background {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}
.team-images-container button {
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  margin: 0 auto;
  margin-bottom: 40px;
  padding: 2% 4%;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), inset 0 0 0.5px rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #111;
  position: relative;
  overflow: hidden;
  z-index: 10;
}
.team-images-container a:hover button {
  background: rgba(149, 57, 57, 0.9);
  color: #f2f2f2;
  border-color: transparent;
}
.team-images-container button:active {
  transform: scale(0.95);
}
/* ------------------track-record-section-------------------- */

.track-record-container {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
  position: relative;
}

.record-stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.stat-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #792828 0%, #a63535 100%);
  border-radius: 20px;
  color: white;
  flex-shrink: 0;
}

.stat-content {
  flex: 1;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 8px;
  font-family: "Oswald", sans-serif;
  letter-spacing: 1px;
}

.stat-label {
  font-size: 16px;
  color: #636e72;
  font-weight: 500;
  line-height: 1.4;
}

/*---------------------news-section ------------------------*/
#news {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

#news .news-container {
  max-width: 1200px;
  margin: 0 auto;
}
.latest-news-title {
  text-align: center;
  margin: 5% 0;
}

.latest-news-title h3 {
  font-size: 1rem;
  letter-spacing: 5px;
  color: #333;
  font-family: serif;
}

.more-news-link {
  margin: 15% 0;
}

.more-news-link a {
  display: block;
  text-decoration: none;
  color: #953939;
}
.more-news-link button {
  cursor: pointer;
  font-weight: bold;
  font-family: Helvetica, sans-serif;
  transition: all 0.3s ease;
  margin: 0 auto;
  padding: 2% 4%;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08); /* ガラス感 */
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.1),
    inset 0 0 0.5px rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #111;
  position: relative;
  overflow: hidden;
}

.more-news-link button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(255, 255, 255, 0.2),
    transparent 70%
  );
  border-radius: inherit;
  pointer-events: none;
}

.more-news-link button span {
  font-family: "Ozwald", sans-serif;
  letter-spacing: 3px;
  z-index: 1;
}

.more-news-link a:hover button {
  background: rgba(149, 57, 57, 0.7);
  color: #f2f2f2;
  border-color: transparent;
}

.more-news-link button:active {
  transform: scale(0.95);
}

#news .news-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#news .news-list .news-item {
  background-color: #fff;
  padding: 24px;
  width: 100%;
  max-width: 700px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.4s ease;
}
.news-image-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 12px;
}
.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  transform-origin: center center;
  display: block;
}
.news-item:hover .news-image {
  transform: scale(1.02);
}
#news .news-list .news-item .news-date {
  font-size: 8px;
  font-family: "Ozwald", sans-serif;
  letter-spacing: 1.5px;
  color: #991d1d;
  margin-bottom: 4px;
}
#news .news-list .news-item .news-title {
  font-size: 12px;
  color: #333;
  letter-spacing: 3px;
  line-height: 24px;
  word-break: normal;
  overflow-wrap: break-word;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

#news .news-list .news-item .news-title a {
  text-decoration: none;
  color: inherit;
}

#news .news-list .news-item:hover .news-title a {
  color: #991d1d;
  transition: color 0.2s ease;
}

#news .news-list .news-item .news-summary {
  font-size: 8px;
  color: #666;
  line-height: 1.6;
}
/*----------------all news----------------------- */

#news .separate .news-item .news-summary {
  display: none;
}
/* カテゴリメニュー */
.category-menu {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.category-menu li button {
  padding: 6px 12px;
  font-size: 0.85rem;
  font-family: "Zen Kaku Gothic New";
  border: 1px solid #ccc;
  border-radius: 16px;
  background-color: #f2f2f2;
  color: #333;
  transition: all 0.2s;
  white-space: nowrap;
}

.category-menu button.active,
.category-menu li button:hover {
  background-color: #991d1d;
  color: #fff;
  border-color: transparent;
}
.news-category {
  font-size: 10px;
  color: #666;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.more-news-link .load-more-button {
  font-size: 15px;
  font-family: "Ozwald", sans-serif;
  transition: all 0.2s;
}
.more-news-link .load-more-button:hover {
  color: #991d1d;
  border-color: #991d1d;
}

/* --------------news-detail-section------------------- */
.news-detail-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 64px 20px;
  background-color: rgb(244, 244, 244);
}
#news-title {
  font-size: 1.5rem;
  font-weight: bold;
  border-bottom: 4px solid #792828;
  padding-bottom: 0.5em;
  padding-top: 56px;
  margin-bottom: 0.5em;
  line-height: 1.6;
}
#news-content h2 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 1.5em;
  margin-bottom: 1em;
  border-left: 5px solid #792828;
  padding-left: 10px;
}
#news-content h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 2em;
  margin-bottom: 0.5em;
}
.news-image {
  width: 100%;
  height: auto;
  max-width: 540px;
  display: block;
  margin: 2% auto;
  object-fit: contain;
}
#news-content {
  padding: 8% 5%;
  font-size: 0.95rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #2c2c2c;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
#news-content p {
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  margin-bottom: 1.2em;
}
#news-content ul, #news-content ol {
  margin-left: 1.5em;
  padding-left: 1em;
  margin-bottom: 1.5em;
}
#news-content li {
  margin-bottom: 0.5em;
  font-size: 14px;
  line-height: 1.8;
}
#news-content strong {
  font-weight: bold;
  color: #792828;
}
#news-content em {
  font-style: italic;
  color: #555;
}
#news-content iframe {
  min-height: 200px;
}

.news-detail-container figure img {
  display: block;
  max-width: 500px;
  margin: 8px auto;
  width: 100%;
  height: auto;
}
#player .ytp-cued-thumbnail-overlay {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
}
#news-content blockquote {
  border-left: 4px solid #991d1d;
  padding: 1em;
  margin: 2em 0;
  background-color: #f9f9f9;
  font-style: italic;
  color: #444;
}
#news-content blockquote section {
  display: flex;
  flex-direction: column;
}
#news-content blockquote a {
  text-decoration: none;
  color: #1da1f2;
}
#news-content blockquote p {
  margin: 5px 0;
  font-size: 14px;
}

/* CTA  Button */

.cta-button-container {
  text-align: center;
  margin-top: 48px;
  margin-bottom: 32px;
}

.cta-button {
  display: inline-block;
  background-color: #800000; /* チェアマン赤 */
  color: #fff;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  background-color: #a11b1b;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* author-card */
.author-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 2rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  margin: 2rem 0;
}

.author-heading {
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
}

.author-profile {
  text-align: center;
}

.author-image {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
}

.author-title {
  font-size: 0.95rem;
  color: #777;
  margin-bottom: 0.3rem;
}

.author-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.author-bio {
  font-size: 0.8rem;
  line-height: 1.8;
  color: #333;
  text-align: justify;
  margin: 0 auto;
  padding: 0 0.5rem;
}

/* news-meta */
.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

#news-date {
  font-size: 0.9rem;
  color: #792828;
  font-family: "Oswald", sans-serif;
}

.share-buttons-container {
  display: flex;
  gap: 10px;
}

.share-button {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  padding: 8px;
  width: 16px;
  height: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.share-button img {
  width: 16px;
  height: 16px;
}

.share-button:hover {
  background-color: #f2f2f2;
}

.share-button:active {
  transform: scale(0.95);
  box-shadow: none;
}

/* related-articles-container */
.related-articles-container,
.new-articles-container {
  margin: 2rem auto;
  padding: 1rem;
  border: 1px solid #bbbbbb;
  background: #f2f2f2;
}
.related-articles-title,
.new-articles-title {
  display: inline-block;
  font-size: 1rem;
  font-weight: bold;
  background-image: linear-gradient(transparent 70%, #d69696 70%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin-bottom: 4px;
}

.related-articles-list,
.new-article-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.related-article-item,
.new-article-item {
  display: flex;
  flex-direction: row;
  padding: 2% 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
}

.related-article-image,
.new-article-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.article-info {
  display: flex;
  flex-direction: column;
}

.related-article-title .new-article-title {
  margin: 0;
}
.related-article-title a,
.new-article-title a {
  font-size: 12px;
  padding-left: 15px;
  color: #3e3e3e;
}

.related-article-date,
.new-article-date {
  font-size: 12px;
  color: #883838;
  padding: 4px 12px;
  font-family: "Oswald", sans-serif;
}
.back-news-page {
  padding: 32px 16px;
}
.back-news-page a {
  color: #883838;
  font-size: 16px;
  font-weight: bold;
}
.back-news-page a:after {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 5px;
  background: #e2bf35;
  bottom: -5px;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.2s;
}
.back-news-page a:hover::after {
  transform: scale(1, 1);
}
/*--------------------- company info section ------------------*/

/* Company Section - Modern Design */
.company-container {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

.company-header .title-container {
  height: auto;
  padding: 0;
  margin-bottom: 60px;
}

.company-header .title-container h2 {
  text-align: left;
  margin-left: 3%;
  line-height: 1.2em;
  letter-spacing: 4px;
  font-size: 2.5rem;
  font-family: "Oswald", sans-serif;
  opacity: 1;
}

.company-header .title-container h4 {
  font-size: 1.5rem;
  margin-left: 3%;
  letter-spacing: 5px;
  padding: 0;
  opacity: 1;
}

.company-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.company-logo-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.company-logo-container {
  text-align: center;
}

.company-logo-container img {
  max-width: 120px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.company-info-section {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.company-info-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}

.info-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

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

.info-label {
  font-weight: 600;
  color: #333;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-value {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}

.additional-info {
  padding-top: 40px;
  border-top: 2px solid #f0f0f0;
}

.additional-info .info-item {
  padding: 20px 0;
}

.additional-info .info-label {
  color: #666;
  font-size: 12px;
}

.info-value a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.info-value a:hover {
  color: #0056b3;
  transform: translateY(-1px);
}

.info-value a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: linear-gradient(90deg, #007bff, #0056b3);
  transition: width 0.3s ease;
}

.info-value a:hover::after {
  width: 100%;
}


/* AboutUs-section */

#about-us-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

#about-us-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23f0f0f0" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23f0f0f0" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23f0f0f0" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  z-index: 0;
}

.about-us-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
#intro {
  margin: 5% auto;
  padding-bottom: 5%;
  text-align: center;
}
.intro-content {
  position: relative;
  padding: 2% 0;
  border-bottom: none;
}
.intro-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    #e2bf35,
    #f59e0b,
    #953939,
    #e2bf35
  );
  background-size: 300% 100%;
  animation: gradientSlide 4s linear infinite;
}
@keyframes gradientSlide {
  0%   { background-position: 0%   0%; }
  50%  { background-position: 100% 0%; }
  100% { background-position: 300% 0%; }
}

.intro-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 32px;
  background: linear-gradient(135deg, #e2bf35, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: serif;
  background-clip: text;
  letter-spacing: -0.01em;
}

.intro-content p {
  font-size: 1.2rem;
  color: #282828;
  line-height: 1.8;
  font-weight: 600;
  margin-bottom: 2%;
}
.member-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 2% auto;
}

.member-container {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 40px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  height: fit-content;
}
.member-info {
  display: flex;
  align-items: center;
  margin-bottom: 36px;
  gap: 32px;
  position: relative;
}

.member-image {
  flex-shrink: 0;
  position: relative;
}

.member-image img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(255, 255, 255, 0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.member-details {
  flex: 1;
}

.member-position h3 {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
  position: relative;
  display: inline-block;
}

.member-position h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #e2bf35;
  transition: width 0.3s ease;
}

.member-container:hover .member-position h3::after {
  width: 100%;
}

.member-name h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #222323;
  letter-spacing: -0.02em;
  margin: 0;
}

.member-description {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), rgba(255, 255, 255, 0.6));
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(226, 191, 53, 0.15);
  position: relative;
  backdrop-filter: blur(10px);
}

.member-description::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(226, 191, 53, 0.2), transparent, rgba(226, 53, 53, 0.1));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.member-description dt {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid transparent;
  background: linear-gradient(90deg, #e2bf35, #f59e0b) bottom/100% 3px no-repeat;
  display: inline-block;
  letter-spacing: 0.05em;
  position: relative;
}

.member-description dd {
  margin-bottom: 20px;
  color: #475569;
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 400;
}

.member-description dd:last-child {
  margin-bottom: 0;
}

.member-description dd p {
  margin-bottom: 16px;
}

.member-description dd p:last-child {
  margin-bottom: 0;
}

.member-description time {
  display: inline-block;
  font-weight: 700;
  color: #e2bf35;
  font-size: 1rem;
  margin-bottom: 10px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(226, 191, 53, 0.15), rgba(245, 158, 11, 0.1));
  border-radius: 8px;
  border: 1px solid rgba(226, 191, 53, 0.2);
  position: relative;
  transition: all 0.3s ease;
}

.member-description time:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(226, 191, 53, 0.2);
}

.coment {
  font-style: italic;
  background: linear-gradient(135deg, rgba(254, 100, 83, 0.12), rgba(245, 73, 11, 0.08));
  padding: 28px;
  border-radius: 16px;
  border-left: 5px solid #8e0606;
  font-size: 1rem !important;
  line-height: 1.9 !important;
  color: #374151 !important;
  position: relative;
  box-shadow: 0 2px 8px rgba(226, 191, 53, 0.1);
}

.coment::before {
  content: '"';
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 2rem;
  color: #8e0606;
  opacity: 0.3;
  font-family: serif;
}

.mobile-only {
  display: none;
}

.member-container:focus-within {
  outline: 3px solid #e2bf35;
  outline-offset: 4px;
}

/*――――――――――――――――――――――――――――
  マネージメントチームセクション
――――――――――――――――――――――――――――*/
.management-team {
  padding: 4rem 1rem;
  background: #f8fafc;
}

.management-container {
  max-width: 1200px;
  margin: 0 auto;
}
.second-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.second-header h2 {
  font-family: "Oswald", sans-serif;
  font-size: 2.5rem;
  color:#800000;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}
.second-header h4 {
  font-size: 1rem;
  color: var(--text-dark);
  letter-spacing: 0.1em;
}
.management-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 240px));
  justify-content: center;
}
.team-card {
  position: relative;
}

.team-card .card-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.team-card .card-name {
  text-align: center;
  margin-top: 1rem;
  font-size: 1.2rem;
  color: #303030;
  font-weight: bold;
}
.team-card .card-role {
  position: absolute;
  bottom: 16px;
  left: 30%;
  transform: translateX(-50%);
  background: #953939;
  color: #fff;
  padding: 0.4em 1em;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 4px;
  white-space: nowrap;
}
.card-image {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
}
.card-image img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-role {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: var(--accent);
  color: #fff;
  padding: 4px 8px;
  font-size: 0.7rem;
  border-radius: 4px;
  white-space: nowrap;
}

.card-name {
  text-align: center;
  margin: 1rem 0;
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--text-dark);
}

/* CTA ボタンコンテナ */
.cta-container {
  text-align: center;
  margin: 2rem 0 4rem;
}
.cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #e2bf35 0%, #953939 100%);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}
.cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Footer Section - Modern Design */
#footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  padding: 0;
  position: relative;
}

#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #333, transparent);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 60px 0 40px;
}

.footer-brand {
  text-align: center;
}

.footer-logo img {
  max-width: 150px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-description {
  color: #b0b0b0;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer-section h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
}

.footer-section ul li a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-section ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background: #ffffff;
  transition: width 0.3s ease;
}

.footer-section ul li a:hover::after {
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 20px 0;
  text-align: center;
}

.footer-bottom .copyright {
  color: #888;
  font-size: 12px;
  margin: 0;
  letter-spacing: 0.5px;
}
iframe {
  width: 100%;
  min-height: 1000px;
  border: none;
}

/* Privacy Section - Modern Design */

#privacy {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 80px 0 100px;
  position: relative;
}

.privacy-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

#privacy .title-container {
  text-align: center;
  margin-bottom: 60px;
  padding: 0;
  height: auto;
}

#privacy .title-container .title h2 {
  font-size: 3rem;
  opacity: 1;
  margin-left: 0;
  text-align: center;
}

#privacy .title-container .japanese-title h4 {
  opacity: 1;
  margin-left: 0;
  text-align: center;
}

.privacy-content {
  background: white;
  border-radius: 20px;
  padding: 60px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.privacy-intro {
  background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 50px;
  border-left: 4px solid #792828;
}

.privacy-intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  font-weight: 500;
}

.privacy-sections {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.privacy-section {
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}

.privacy-section:last-child {
  border-bottom: none;
}

.privacy-section h2 {
  color: #792828;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #792828;
  font-family: "Noto Serif JP", serif;
}

.privacy-section h3 {
  color: #444;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 16px;
  position: relative;
  padding-left: 16px;
}

.privacy-section h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: #792828;
  border-radius: 2px;
}

.privacy-section p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 20px;
}

.privacy-section p:last-child {
  margin-bottom: 0;
}

.privacy-section ul {
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
}

.privacy-section ul li {
  position: relative;
  padding: 8px 0 8px 30px;
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  counter-increment: list-counter;
}

.privacy-section ul li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  background: #792828;
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy-section ul {
  counter-reset: list-counter;
}

.privacy-section a {
  color: #792828;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.privacy-section a:hover {
  border-bottom-color: #792828;
  color: #a63535;
}

.privacy-footer {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid #f0f0f0;
  text-align: right;
}

.privacy-footer .supplementary {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  font-style: italic;
}

/*-------------- contact-section -----------*/
.contact-iframe {
  display: flex;
  justify-content: center;
}

#contact .title-container {
  padding: 20% 0 0 0;
}


/* ──────────────────────────────────
   以下はレスポンシブ対応
────────────────────────────────── */


@media (max-width: 480px) {

  .title-container p {
    font-size: 0.9rem;
    line-height: 1.5;
    letter-spacing: 0.5px;
  }
  
  /* Privacy Mobile Styles */
  #privacy {
    padding: 60px 0 80px;
  }
  
  .privacy-content {
    padding: 40px 20px;
  }
  
  .privacy-intro {
    padding: 25px;
  }
  
  .privacy-intro p {
    font-size: 14px;
  }
  
  .privacy-section {
    padding: 20px 0;
  }
  
  .privacy-section h2 {
    font-size: 1.5rem;
  }
  
  .privacy-section h3 {
    font-size: 1.2rem;
  }
  
  .privacy-section p {
    font-size: 14px;
  }
  
  .privacy-section ul li {
    font-size: 14px;
    padding: 6px 0 6px 25px;
  }
  
  .privacy-section ul li::before {
    width: 16px;
    height: 16px;
    font-size: 10px;
    top: 6px;
  }
  .member-container {
      padding: 20px;
  }

  .member-description {
      padding: 20px;
  }

  .member-name h3 {
      font-size: 1.4rem;
  }

  .coment {
      padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .member-container {
      transition: none;
  }

  .member-container:hover {
      transform: none;
  }

  .member-image img {
      transition: none;
  }

  .member-container:hover .member-image img {
      transform: none;
  }

  .member-description time {
      transition: none;
  }

  .member-description time:hover {
      transform: none;
  }

  @keyframes gradientShift {
      0%, 100% { background-position: 0% 50%; }
  }
}

@media (max-width: 768px) {
    #about-us-section {
      padding: 60px 0;
  }

  .about-us-container {
      padding: 0 16px;
  }

  #intro {
      margin-bottom: 60px;
  }
  .intro-content p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .member-list {
      grid-template-columns: 1fr;
      gap: 40px;
  }

  .member-container {
      padding: 24px;
  }

  .member-info {
      flex-direction: column;
      text-align: center;
      gap: 16px;
      margin-bottom: 28px;
  }

  .member-image img {
      width: 180px;
      height: 180px;
  }

  .member-description {
      padding: 24px;
  }

  .member-name h3 {
      font-size: 1.7rem;
  }

  .mobile-only {
      display: inline;
  }
  .management-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
  }
  .team-card {
    padding: 1rem 0.5rem;
  }
  .team-card .card-image {
    position: relative;
    width: 120px;
    height: 120px;
    padding-top: 0;
    margin: 0 auto 0.75rem;
  }
  .team-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .team-card .card-role {
    bottom: 4px;
    font-size: 0.5rem;
    padding: 2px 6px;
  }
  .team-card .card-name {
    font-size: 0.8rem;
    margin-top: 0.1rem;
  }
}

@media screen and (min-width: 600px) {
  /* --------- title-container --------*/
  .title-container p {
    font-size: 1.1rem;
    line-height: 1.7;
    letter-spacing: 1.2px;
  }
  
  /* --------- header --------*/
  .header-container {
    padding: 0;
  }
  /* --------- hero-section --------*/
  #hero-section .Company-name {
    width: 100%;
  }
  #hero-section .company-description {
    padding-top: 5%;
    line-height: 3rem;
    font-size: 1.2rem;
  }
  .iphone-mockup-container {
    margin: 10% 0;
  }

  /* --------- title-container --------*/
  .title-container {
    height: 30%;
    width: 100%;
    padding: 4% 0 2% 0;
  }
  /* --------- service-section --------*/
  #service .title-container {
    padding-bottom: 0;
  }
  #service {
    padding-bottom: 5%;
  }

  /* --------- team-section --------*/

  .team-images-container button {
    font-size: 16px;
  }

  /* --------- track-record-section --------*/

  .track-record-container {
    padding: 100px 0;
  }
  
  .record-stats-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
  .stat-card {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 50px 30px;
  }
  
  .stat-icon {
    width: 100px;
    height: 100px;
  }
  
  .stat-number {
    font-size: 3rem;
  }
  
  .stat-label {
    font-size: 18px;
  }
  /* ---------company info --------*/
  /* Company Section - Tablet/Desktop */
  .company-container {
    padding: 100px 40px;
    margin: 40px auto;
  }
  
  .company-content {
    grid-template-columns: 1fr 2fr;
    gap: 60px;
  }
  
  .company-logo-section {
    padding: 50px;
  }
  
  .company-logo-container img {
    max-width: 150px;
  }
  
  .company-info-section {
    padding: 50px;
  }
  
  .info-item {
    grid-template-columns: 120px 1fr;
    gap: 24px;
    padding: 18px 0;
  }
  
  .info-label {
    font-size: 14px;
  }
  
  .info-value {
    font-size: 16px;
  }
  /* --------- footer --------*/
  .footer-content {
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
  }
  
  .footer-brand {
    text-align: left;
  }
  
  .footer-logo img {
    max-width: 180px;
  }
  
  .footer-description {
    font-size: 15px;
  }
  
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  
  .footer-section h4 {
    font-size: 17px;
  }
  
  .footer-section ul li a {
    font-size: 15px;
  }

  /* --------- contact --------*/

  #contact .title-container {
    padding-top: 10%;
  }
  #contact .form-container {
    max-width: 800px;
    padding: 5%;
  }
  #contact .form-group {
    margin-bottom: 5%;
    padding: 0 5%;
  }

  /* --------- ALL News --------*/
  #news .news-list .news-item .news-title {
    font-size: 1.2rem;
  }
  #news .news-list .news-item .news-summary {
    font-size: 12px;
  }
  #news .news-list .news-item .news-date {
    font-size: 12px;
  }
  .latest-news-title h3 {
    font-size: 1.2rem;
  }
  #news .news-category {
    font-size: 16px;
  }
  /* --------- News detail --------*/
  #news-title {
    padding-top: 80px;
  }
  #news-date {
    font-size: 16px;
    margin: 16px 0;
  }
  #news-content {
    padding: 64px 48px;
  }
  #news-content h2 {
    font-size: 1.6rem;
    padding-left: 14px;
    border-left: 6px solid #792828;
  }
  #news-content h3 {
    font-size: 1.3rem;
  }
  #news-content p {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 1.6em;
  }
  #news-content blockquote {
    padding: 1.5em 2em;
    font-size: 1rem;
  }
  #news-content li {
    font-size: 15px;
    line-height: 2;
  }
  #news-content a {
    font-size: 15px;
  }
  .share-button img {
    width: 16px;
    height: 16px;
  }
  .share-button {
    width: 32px;
    height: 32px;
  }
  /* author */
  .author-heading {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    padding-left: 0px;
    text-align: left;
  }
  .author-profile {
    display: flex;
    align-items: center;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
  }
  .author-image {
    width: 160px;
    height: 160px;
    margin-right: 2rem;
    margin-bottom: 0;
  }
  .author-info {
    flex: 1;
  }
  .author-name {
    font-size: 1.2rem;
  }
  .author-bio {
    font-size: 1rem;
    padding: 0;
    margin: 0;
  }
  .related-articles-container,
  .new-articles-container {
    padding: 1rem;
    margin: 1rem auto;
    max-width: 1000px;
  }
  .related-article-date,
  .new-article-date {
    font-size: 16px;
  }
  .related-article-title a, .new-article-title a{
    font-size: 1rem;
  }
  .related-articles-title,
.new-articles-title {
  font-size: 20px;
  margin-bottom: 4px;
}
  .back-news-page {
    padding: 64px 32px;
  }
  .back-news-page a {
    font-size: 20px;
  }
}

/* -----------------width:1000px以上----------------------*/
@media screen and (min-width: 1000px) {
  .iphone-mockup-container {
    margin: 8%;
  }
  #hero-section .company-name img {
    width: 100%;
  }
  #hero-section .company-description {
    padding-top: 7%;
    padding-left: 7%;
    font-size: 1.5rem;
  }
}