/* =========================================================
   RIDE GIRLS
   OFFICIAL WEBSITE
   ========================================================= */


/* =========================================================
   01. GLOBAL / RESET
   ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f4f4f2;
  color: #111;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Arial,
    sans-serif;

  line-height: 1.7;
}


/* =========================================================
   02. HEADER
   ========================================================= */

header {
  width: 100%;
  height: 58px;
  padding: 0 4%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background:
    radial-gradient(
      circle at 35% 30%,
      #303033 0%,
      #29292b 40%,
      #222224 100%
    );

  color: #fff;
}

header img {
  display: block;

  width: 250px;
  height: 54px;

  object-fit: contain;
  object-position: left center;
}

nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

nav a {
  color: #eee;

  text-decoration: none;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
}


/* =========================================================
   03. HERO
   ========================================================= */

#hero {
  position: relative;

  height: calc(100vh - 58px);
  min-height: 620px;
  max-height: 820px;

  overflow: hidden;

  background: #17181b;
  color: #fff;
}


/* -------------------------
   HERO IMAGE
   ------------------------- */

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-visual img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center 42%;
}


/* -------------------------
   HERO OVERLAY
   ------------------------- */

#hero::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 2;

  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(10, 11, 14, 0.34) 0%,
      rgba(10, 11, 14, 0.12) 34%,
      rgba(10, 11, 14, 0) 56%
    );
}


/* -------------------------
   HERO TEXT
   ------------------------- */

.hero-content {
  position: absolute;

  left: 5%;
  top: 50%;

  transform: translateY(-50%);

  z-index: 3;

  width: 36%;
  max-width: 600px;

  text-align: left;
}

.hero-label {
  margin: 0 0 18px;

  color: #fff;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.hero-content h2 {
  margin: 0;

  color: #fff;

  font-size: clamp(72px, 7.2vw, 124px);
  font-weight: 800;

  line-height: 0.88;
  letter-spacing: -0.055em;

  text-shadow:
    0 3px 24px rgba(0, 0, 0, 0.28);
}

.hero-description {
  margin-top: 28px;

  color: #fff;

  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 600;

  line-height: 1.9;

  text-shadow:
    0 2px 16px rgba(0, 0, 0, 0.4);
}


/* =========================================================
   04. ABOUT
   WHAT IS RIDE GIRLS?
   COMPACT WIDE VERSION
   ========================================================= */

./* =========================================================
   04. ABOUT
   HEROとの間に少し余白
   ========================================================= */

.about {
  position: relative;
  height: 440px;

  margin-top: 32px;

  overflow: hidden;

  background: #f7f7f5;
  color: #111;
}


/* -------------------------
   ABOUT INNER
   ------------------------- */

.about-inner {
  position: relative;

  width: 100%;
  max-width: 1500px;
  height: 100%;

  margin: 0 auto;
  padding: 38px 60px;

  display: flex;
  align-items: center;
}


/* -------------------------
   ABOUT COPY
   ------------------------- */

.about-copy {
  position: relative;
  z-index: 2;

  width: 41%;
  max-width: 560px;
}


/* ABOUT */

.about .section-label {
  margin: 0 0 10px;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.25em;
}


/* WHAT IS RIDE GIRLS? */

.about-copy h2 {
  margin: 0 0 20px;

  font-size: clamp(42px, 3.5vw, 58px);
  font-weight: 800;

  line-height: 0.88;
  letter-spacing: -0.045em;
}


/* メイン文章 */

.about-lead {
  margin: 0 0 16px;

  font-size: 16px;
  font-weight: 700;

  line-height: 1.65;
}


/* サブ文章 */

.about-text {
  margin: 0 0 18px;

  font-size: 13px;
  font-weight: 400;

  line-height: 1.7;
}


/* VIEW CHARACTERS */

.about-link {
  display: inline-block;

  color: #111;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;

  text-decoration: none;

  padding-bottom: 4px;

  border-bottom: 2px solid #6b42b8;

  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.about-link:hover {
  color: #6b42b8;
  border-color: #6b42b8;
}


/* -------------------------
   ABOUT MAP
   ------------------------- */

.about-visual {
  position: absolute;

  top: 18px;
  right: 0;
  bottom: 18px;

  z-index: 1;

  width: 64%;

  overflow: hidden;
}


/* 地図画像 */

.about-visual img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.25) 5%,
      #000 14%,
      #000 100%
    );

  mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.25) 5%,
      #000 14%,
      #000 100%
    );
}

/* =========================================================
   05. CHARACTERS
   ========================================================= */

/* =========================================================
   05. CHARACTERS
   ABOUTとの距離を縮める
   ========================================================= */

.characters {
  padding: 60px 0 120px;

  background: #e9e9e6;
  color: #111;
}

.characters-inner {
  width: min(90%, 1500px);

  margin: 0 auto;
}


/* -------------------------
   CHARACTERS HEADING
   ------------------------- */

.characters-heading {
  margin-bottom: 70px;
}

.characters-heading h2 {
  margin: 0;

  font-size: clamp(48px, 6vw, 90px);

  line-height: 0.9;
  letter-spacing: -0.05em;
}


/* -------------------------
   CHARACTER GROUP
   ------------------------- */

.character-group {
  margin-top: 80px;
}

.character-group-label {
  margin-bottom: 20px;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.character-group-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.character-group-link {
  color: #111;

  text-decoration: none;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;

  border-bottom: 2px solid #6b42b8;

  padding-bottom: 6px;
}


/* -------------------------
   CHARACTER GRID
   ------------------------- */

.character-grid {
  display: grid;

  gap: 16px;
}


/* MAIN 4人 */

.character-grid-main {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 16px;
}


/* SMALL / SUPPORT */

.character-grid-small {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 16px;
}


/* RIVALS */

.character-grid-rivals {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 16px;

  max-width: 760px;
}


/* -------------------------
   CHARACTER CARD
   ------------------------- */

.character-card {
  min-width: 0;
}


/* キャラクター画像 */

.character-image {
  width: 100%;

  aspect-ratio: 3 / 4;

  overflow: hidden;

  background: #d2d2cf;
}

.character-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center top;
}


/* 小型カード画像 */

.character-card-small .character-image {
  aspect-ratio: 4 / 5;
}


/* -------------------------
   CHARACTER INFO
   ------------------------- */

.character-info {
  padding: 16px 2px;
}

.character-info h3 {
  margin: 0;

  font-size: 20px;
  font-weight: 700;

  letter-spacing: -0.02em;
}

.character-info p {
  margin-top: 4px;

  color: #777;

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 0.12em;
}
/* =========================================================
   05. CHARACTERS
   STREET NAME PLATE DESIGN
   ========================================================= */

/* 名前プレート */

.characters .character-info {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 68px;
  padding: 12px 18px 12px 24px;

  background: #19191d;
  border-left: 4px solid #8352c7;

  overflow: hidden;

  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

/* 日本語キャラクター名 */

.characters .character-info h3 {
  position: relative;
  z-index: 1;

  margin: 0;

  color: #fff;

  font-family:
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;

  font-size: clamp(19px, 1.6vw, 26px);
  font-weight: 900;

  line-height: 1.3;
  letter-spacing: 0.045em;

  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

/* 以前の紫ラインを無効化 */

.characters .character-info::before {
  content: none;
}

/* ホバー演出 */

.characters .character-card:hover .character-info {
  background: #292330;
  border-left-color: #ae7aff;
}

.characters .character-card:hover .character-info h3 {
  color: #fff;
  transform: translateX(5px);
}

/* ANOTHERなど小さいカード */

.characters .character-card-small .character-info {
  min-height: 56px;
  padding: 10px 14px 10px 18px;
}

.characters .character-card-small .character-info h3 {
  font-size: 18px;
}

/* スマホ */

@media (max-width: 560px) {

  .characters .character-info {
    min-height: 52px;
    padding: 10px 10px 10px 13px;
    border-left-width: 3px;
  }

  .characters .character-info h3,
  .characters .character-card-small .character-info h3 {
    font-size: 16px;
  }

  .characters .character-card-small .character-info {
    min-height: 48px;
    padding: 9px 10px 9px 13px;
  }
}

/* =========================================================
   CHARACTERS
   名前の下線・リンク装飾を削除
   ========================================================= */

.characters .character-card a,
.characters .character-info a {
  text-decoration: none;
}

.characters .character-info {
  border-bottom: none;
}

.characters .character-info h3 {
  text-decoration: none;
  border-bottom: none;
}

.characters .character-info::after {
  content: none;
}

/* =========================================
   CHARACTERS
   カード内リンクの下線を削除
========================================= */

#characters .character-card,
#characters .character-card a,
#characters .character-card a:link,
#characters .character-card a:visited,
#characters .character-card a:hover {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

#characters .character-info::after,
#characters .character-info h3::after {
  content: none !important;
}

/* =========================================================
   06. COMIC
   RIDE GIRLS MAIN STORY
   ========================================================= */

#comic {
  position: relative;

  padding: 100px 0 120px;

  background: #151518;
  color: #f5f5f5;
}

.comic-inner {
  width: min(90%, 1500px);
  margin: 0 auto;
}


/* =========================
   COMIC HEADER
========================= */

.comic-heading {
  margin-bottom: 55px;
}

.comic-label {
  margin-bottom: 14px;

  color: #a98ad5;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.comic-heading h2 {
  margin: 0;

  font-size: clamp(52px, 6vw, 90px);
  font-weight: 900;

  line-height: 0.95;
  letter-spacing: -0.055em;
}

.comic-intro {
  margin-top: 18px;

  color: #aaa;

  font-size: 14px;
  letter-spacing: 0.08em;
}


/* =========================
   LATEST EPISODE
========================= */

.comic-featured {
  display: grid;

  grid-template-columns: 42% 1fr;
  gap: 50px;

  align-items: center;

  padding: 30px;

  background: #222226;

  border: 1px solid #35353a;
  border-left: 4px solid #8050bd;
}

.comic-featured-image {
  width: 100%;
  aspect-ratio: 4 / 5;

  overflow: hidden;

  background: #303036;
}

.comic-featured-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.comic-featured-info {
  min-width: 0;
}

.comic-new-label {
  display: inline-block;

  padding: 6px 12px;

  background: #7544b8;
  color: #fff;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.comic-episode-number {
  margin-top: 30px;

  color: #999;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.comic-featured-info h3 {
  margin: 15px 0 22px;

  font-size: clamp(28px, 3vw, 46px);
  font-weight: 800;

  line-height: 1.25;
}

.comic-description {
  max-width: 440px;

  color: #bbb;

  font-size: 14px;
  line-height: 2;
}

.comic-read-link {
  display: inline-block;

  margin-top: 35px;
  padding: 12px 26px;

  border: 1px solid #777;

  color: #ccc;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}


/* =========================
   IMAGE PLACEHOLDER
========================= */

.comic-image-placeholder {
  display: flex;

  width: 100%;
  height: 100%;

  align-items: center;
  justify-content: center;

  background:
    linear-gradient(
      135deg,
      #35353a,
      #242429
    );
}

.comic-image-placeholder span {
  color: #777;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
}


/* =========================
   EPISODE ARCHIVE
========================= */

.comic-archive {
  margin-top: 90px;
}

.comic-archive-heading {
  display: flex;

  align-items: center;
  justify-content: space-between;

  margin-bottom: 28px;
  padding-bottom: 15px;

  border-bottom: 1px solid #45454b;
}

.comic-archive-heading h3 {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.comic-archive-sub {
  color: #888;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
}


/* =========================
   EPISODE GRID
========================= */

.comic-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 22px;
}

.comic-card {
  min-width: 0;
}

.comic-card-image {
  width: 100%;
  aspect-ratio: 4 / 5;

  overflow: hidden;

  background: #303036;
}

.comic-card-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.4s ease;
}

.comic-card:hover .comic-card-image img {
  transform: scale(1.035);
}

.comic-card-info {
  padding: 18px 2px;
}

.comic-card-info p {
  margin-bottom: 8px;

  color: #9a9a9f;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.comic-card-info h4 {
  color: #f5f5f5;

  font-size: 19px;
  font-weight: 800;

  line-height: 1.5;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

  .comic-featured {
    grid-template-columns: 45% 1fr;
    gap: 25px;
    padding: 20px;
  }

  .comic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

  #comic {
    padding: 70px 0 90px;
  }

  .comic-heading {
    margin-bottom: 35px;
  }

  .comic-featured {
    grid-template-columns: 1fr;

    gap: 25px;
    padding: 15px;
  }

  .comic-featured-image {
    aspect-ratio: 4 / 5;
  }

  .comic-featured-info {
    padding: 5px 5px 15px;
  }

  .comic-episode-number {
    margin-top: 20px;
  }

  .comic-featured-info h3 {
    font-size: 28px;
  }

  .comic-archive {
    margin-top: 65px;
  }

  .comic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .comic-card-info h4 {
    font-size: 15px;
  }

  .comic-archive-heading h3 {
    font-size: 21px;
  }

}
/* =========================================================
   07. RIVALS
   ========================================================= */

#rivals {
  background: #dededb;
}





/* =========================================================
   09. FOOTER
   ========================================================= */

footer {
  padding: 60px 7%;

  background: #0d0d0d;
  color: #777;

  font-size: 12px;
  letter-spacing: 0.12em;
}


/* -------------------------
   SOCIAL LINKS
   ------------------------- */

.social-links {
  display: flex;

  gap: 12px;

  margin-top: 24px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 18px;

  border: 1px solid #555;

  color: #ccc;

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;

  text-decoration: none;

  transition: 0.25s ease;
}

.social-links a:hover {
  background: #f5f5f5;

  color: #111;

  border-color: #f5f5f5;
}


/* =========================================================
   10. TABLET
   900px以下
   ========================================================= */

@media (max-width: 900px) {

  /* -------------------------
     CHARACTERS
     ------------------------- */

  .character-grid-main,
  .character-grid-small {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .character-grid-rivals {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    max-width: none;
  }
}


/* =========================================================
   11. MOBILE
   760px以下
   ========================================================= */

@media (max-width: 760px) {

  /* -------------------------
     HEADER
     ------------------------- */

  header {
    height: auto;
    min-height: 58px;

    padding: 10px 7%;

    flex-direction: column;
    align-items: flex-start;

    gap: 10px;
  }

  header img {
    width: 210px;
    height: 46px;
  }

  nav {
    width: 100%;

    gap: 14px;

    overflow-x: auto;

    padding-bottom: 4px;
  }

  nav a {
    white-space: nowrap;
  }


  /* -------------------------
     HERO
     ------------------------- */

  #hero {
    height: 70vh;
    min-height: 560px;
    max-height: none;
  }

  .hero-content {
    left: 7%;
    right: 7%;
    top: auto;
    bottom: 55px;

    transform: none;

    width: auto;
    max-width: none;
  }

  .hero-content h2 {
    font-size: clamp(54px, 16vw, 82px);
  }

  .hero-description {
    font-size: 14px;
  }


  /* -------------------------
     ABOUT
     MOBILE
     ------------------------- */

  .about {
    min-height: auto;

    overflow: hidden;
  }

  .about-inner {
    display: block;

    width: 100%;
    min-height: auto;

    padding: 60px 7% 0;
  }

  .about-copy {
    width: 100%;
    max-width: none;

    padding-bottom: 45px;
  }

  .about-copy h2 {
    font-size: clamp(44px, 13vw, 64px);

    margin-bottom: 28px;
  }

  .about-lead {
    font-size: 17px;

    margin-bottom: 26px;
  }

  .about-text {
    font-size: 13px;
  }

  /*
    スマホでは地図を絶対配置しない。
    テキストの下に大きく表示する。
  */

  .about-visual {
    position: relative;

    top: auto;
    right: auto;
    bottom: auto;

    width: calc(100% + 14%);

    height: 340px;

    margin-left: -7%;
  }

  .about-visual img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    /*
      スマホでは左フェードを解除
    */

    -webkit-mask-image: none;
    mask-image: none;
  }


  /* -------------------------
     FOOTER
     ------------------------- */

  footer {
    padding: 50px 7%;
  }
}


/* =========================================================
   12. SMALL MOBILE
   560px以下
   ========================================================= */

@media (max-width: 560px) {

  /* -------------------------
     CHARACTERS
     ------------------------- */

  .characters {
    padding: 70px 0 90px;
  }

  .characters-inner {
    width: 92%;
  }

  .characters-heading {
    margin-bottom: 50px;
  }

  .character-group {
    margin-top: 60px;
  }

  .character-grid-main,
  .character-grid-small,
  .character-grid-rivals {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 10px;
  }

  .character-info {
    padding: 12px 2px;
  }

  .character-info h3 {
    font-size: 16px;
  }

  .character-info p {
    font-size: 10px;
  }


  /* -------------------------
     ABOUT MAP
     SMALL MOBILE
     ------------------------- */

  .about-visual {
    height: 280px;
  }
}

/* =========================================================
   08. NEWS
   RIDE GIRLS OFFICIAL NEWS
   ========================================================= */

#news {
  padding: 100px 0 120px;
  background: #f4f4f2;
  color: #111;
}

.news-inner {
  width: min(90%, 1500px);
  margin: 0 auto;
}

/* -------------------------
   NEWS HEADER
------------------------- */

.news-heading {
  margin-bottom: 55px;
}

.news-label {
  margin-bottom: 14px;
  color: #7544b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.news-heading h2 {
  margin: 0;
  font-size: clamp(52px, 6vw, 90px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.news-intro {
  margin-top: 18px;
  color: #777;
  font-size: 14px;
}

/* -------------------------
   NEWS LIST
------------------------- */

.news-list {
  border-top: 2px solid #111;
}

.news-item {
  display: grid;
  grid-template-columns: 130px 150px 1fr;
  align-items: center;
  gap: 25px;

  padding: 27px 12px;
  border-bottom: 1px solid #ccc;

  transition: background 0.25s ease;
}

.news-item:hover {
  background: #e9e7ed;
}

/* DATE */

.news-date {
  color: #666;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* CATEGORY */

.news-category {
  display: inline-block;
  width: fit-content;

  padding: 5px 10px;
  border: 1px solid #7544b8;
  color: #7544b8;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

/* TITLE */

.news-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.6;
}

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

.news-title a:hover {
  color: #7544b8;
}

/* DESCRIPTION */

.news-description {
  margin-top: 5px;
  color: #777;
  font-size: 12px;
  line-height: 1.8;
}

/* -------------------------
   MORE NEWS BUTTON
------------------------- */

.news-more {
  display: block;
  margin: 45px auto 0;
  padding: 12px 30px;

  border: 1px solid #111;
  background: transparent;
  color: #111;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;

  cursor: pointer;
  transition: 0.25s ease;
}

.news-more[hidden] {
  display: none;
}

.news-more:hover {
  background: #111;
  color: #fff;
}

/* -------------------------
   TABLET
------------------------- */

@media (max-width: 900px) {

  .news-item {
    grid-template-columns: 110px 120px 1fr;
    gap: 15px;
  }

}

/* -------------------------
   MOBILE
------------------------- */

@media (max-width: 600px) {

  main section#news {
    padding: 70px 7% 90px;
  }

  .news-heading {
    margin-bottom: 35px;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 8px;
  }

  .news-title {
    font-size: 15px;
  }

}

/* HEADER 上部の余白確認 */

html,
body {
  margin: 0;
  padding: 0;
}

body > header {
  margin-top: 0;
}