/* =========================================
   tennis-tech.css — Tennis Tech ページ固有スタイル
   ========================================= */

/* ----- ページ固有カラー ----- */
:root {
  --tt-teal:    #45818e;   /* ページタイトル色 */
  --tt-magenta: #b426ca;   /* 技術・エビデンスラベル */
}


/* =========================================
   ① HERO
   ========================================= */
.tt-hero {
  padding-top: var(--nav-height);
  background: linear-gradient(to bottom, #e5c8e5 0%, #f4eef8 65%, #ffffff 100%);
  text-align: center;
}
.tt-hero__inner {
  padding: 64px 32px 0;
  max-width: 760px;
  margin: 0 auto;
}
.tt-hero__title {
  font-family: var(--font-jp);
  font-size: 18pt;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 32px;
}
.tt-hero__img {
  line-height: 0;
  padding: 0 40px;
}
.tt-hero__img img {
  display: block;
  width: 100%;
  max-width: 1280px;
  height: auto;
  margin: 0 auto;
}
.tt-hero__tagline {
  font-family: var(--font-jp);
  font-size: 14pt;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.8;
  padding: 48px 0 32px;
  max-width: 760px;
  margin: 0 auto;
  white-space: nowrap;
}


/* =========================================
   装飾背景ブレイク（共通）
   ========================================= */
.tt-bgbreak {
  height: 240px;
  background-size: cover;
  background-position: center;
  background-color: var(--color-primary);
}
.tt-bgbreak--1 {
  background-image: url('../images/tennis-tech/tt-bg1.jpg');
}
.tt-bgbreak--2 {
  background-image: url('../images/tennis-tech/tt-bg2.jpg');
}


/* =========================================
   ③ 技術 A〜F
   ========================================= */
.tt-tech {
  background: var(--color-white);
  padding-top: 48px;
  padding-bottom: 48px;
}
.tt-tech__inner {
  max-width: 760px;
  text-align: center;
}
.tt-tech__heading-wrap {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 40px 32px;
  margin-bottom: 48px;
}
.tt-tech__heading-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/tennis_tech_image_1.png');
  background-size: cover;
  background-position: center;
  filter: blur(4px);
  transform: scale(1.05);
}
.tt-tech__heading {
  position: relative;
  font-family: var(--font-jp);
  font-size: 16pt;
  font-weight: 400;
  color: var(--color-white);
}

/* 3列グリッド */
.tt-tech__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
.tt-tech__card {
  text-align: center;
}
.tt-tech__card-img {
  overflow: hidden;
  margin-bottom: 16px;
}
.tt-tech__card-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.tt-tech__card-img img:hover {
  transform: scale(1.04);
}
.tt-tech__label {
  font-family: var(--font-jp);
  font-size: 11pt;
  color: var(--tt-magenta);
  margin-bottom: 6px;
}
.tt-tech__name {
  font-family: var(--font-jp);
  font-size: 12pt;
  color: var(--color-text);
  line-height: 1.5;
}


/* =========================================
   ⑤ Evidence-based Tennis
   ========================================= */
.tt-evidence {
  background: #fafafa;
  padding-top: 48px;
  padding-bottom: 48px;
}
.tt-evidence__inner {
  max-width: 760px;
  text-align: center;
}
.tt-evidence__heading-wrap {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 40px 32px;
  margin-bottom: 48px;
}
.tt-evidence__heading-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/tennis_tech_image_14.png');
  background-size: cover;
  background-position: center;
  filter: blur(4px);
  transform: scale(1.05);
}
.tt-evidence__heading {
  position: relative;
  font-family: var(--font-ui);
  font-size: 22pt;
  font-weight: 400;
  color: var(--color-white);
}
.tt-evidence__logo {
  display: inline-block;
  margin-bottom: 48px;
}
.tt-evidence__logo img {
  height: 43px;
  width: auto;
  display: block;
}

/* 3列グリッド */
.tt-evidence__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  text-align: left;
}

/* 各エビデンスカード */
.tt-ecard {
  background: var(--color-white);
  border: 1px solid var(--color-divider);
  padding: 28px 24px;
}
.tt-ecard__label {
  font-family: var(--font-jp);
  font-size: 10pt;
  color: var(--tt-magenta);
  margin-bottom: 10px;
}
.tt-ecard__title {
  font-family: var(--font-jp);
  font-size: 13pt;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 4px;
}
.tt-ecard__sub {
  font-weight: 400;
  font-size: 10pt;
  color: var(--color-text);
}
.tt-ecard__body {
  font-family: var(--font-jp);
  font-size: 11pt;
  color: var(--color-text);
  line-height: 1.9;
  margin: 14px 0 8px;
}
.tt-ecard__small {
  font-size: 8pt;
  vertical-align: baseline;
}
.tt-ecard__source {
  font-family: var(--font-ui);
  font-size: 8pt;
  color: #888;
  margin-top: 8px;
  margin-bottom: 16px;
}
.tt-ecard__img {
  overflow: hidden;
  margin-bottom: 16px;
}
.tt-ecard__img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}


/* =========================================
   ⑥ イメージ映像
   ========================================= */
.tt-video {
  background: var(--color-white);
  padding-top: 48px;
}
.tt-video__inner {
  max-width: 760px;
  text-align: center;
}
.tt-video__label {
  font-family: var(--font-jp);
  font-size: 9pt;
  color: var(--color-text);
  margin-bottom: 24px;
}

/* レスポンシブな YouTube 埋め込み */
.tt-video__embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}
.tt-video__embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 767px) {
  .tt-hero__title    { font-size: 14pt; }
  .tt-hero__tagline  { font-size: 12pt; padding: 36px 0 48px; }
  .tt-hero__img      { padding: 0 16px; }

  .tt-bgbreak        { height: 160px; }

  .tt-tech__grid     { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }

  .tt-evidence__cards { grid-template-columns: 1fr; }

  .tt-evidence__heading { font-size: 18pt; }
}

@media (max-width: 479px) {
  .tt-tech__grid     { grid-template-columns: 1fr; }
}
