/* ==================================================
   RIDGE RACER V TOP
   VERSION 08
================================================== */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #000;
  color: #111;
  font-family: Arial, Helvetica, "Meiryo", sans-serif;
}

a {
  color: inherit;
}

.page-frame {
  width: 1100px;
  margin: 30px auto;
  background: #e6e6e6;
  border: 1px solid #666;
  overflow: hidden;
}

/* HEADER */

.top-header {
  position: relative;
  height: 135px;
  padding: 18px 24px 0;
  background: #e6e6e6;
  overflow: hidden;
}

.top-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(105,105,108,.52) 0 105px, transparent 106px) -30px -20px / 270px 235px repeat-y,
    radial-gradient(circle, rgba(118,118,121,.49) 0 94px, transparent 95px) 225px 28px / 245px 220px repeat-y,
    radial-gradient(circle, rgba(130,130,133,.46) 0 82px, transparent 83px) 455px 62px / 218px 202px repeat-y,
    radial-gradient(circle, rgba(140,140,143,.43) 0 69px, transparent 70px) 658px 90px / 190px 184px repeat-y,
    radial-gradient(circle, rgba(150,150,153,.40) 0 57px, transparent 58px) 835px 112px / 162px 166px repeat-y,
    radial-gradient(circle, rgba(160,160,163,.36) 0 46px, transparent 47px) 980px 132px / 138px 150px repeat-y;
  opacity: .95;
  pointer-events: none;
}


/* VERSION 08 : ヘッダーからメインまで横線も連続 */
.top-header::after,
.top-main .bg-overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.18) 0,
      rgba(255,255,255,0.18) 4px,
      rgba(0,0,0,0.02) 4px,
      rgba(0,0,0,0.02) 8px
    );
  pointer-events: none;
}

.top-header::after {
  content: "";
  z-index: 1;
}

.top-header .logo-row,
.top-header .menu-label {
  position: relative;
  z-index: 2;
}

.logo-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 18px 5px 12px;
  background: #3b3b3b;
  border-radius: 24px;
}

.logo-mark {
  color: #ffb400;
  font-size: 28px;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
}

.logo-title {
  color: #fff;
  font-size: 34px;
  font-style: italic;
  letter-spacing: 1px;
  line-height: 1;
}

.menu-label {
  display: block;
  width: max-content;
  margin: 8px 0 0 130px;
  padding: 4px 14px 5px;
  color: #28e01a;
  background: #4b4b4b;
  border-radius: 17px;
  font-size: 17px;
  font-weight: 700;
}

/* MAIN */

.top-main {
  position: relative;
  min-height: 720px;
  background:
    linear-gradient(rgba(255,255,255,0.14), rgba(255,255,255,0.14)),
    url(/images/top_bg.jpg) center / cover no-repeat;
  overflow: hidden;
}

/* 背景画像が未配置でも近い雰囲気を出す */
.top-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* VERSION 08
       ヘッダーと同じ水玉座標を使用し、
       ヘッダー高さ135px分だけY座標をずらして連続させる。 */
    radial-gradient(circle, rgba(105,105,108,.52) 0 105px, transparent 106px) -30px -155px / 270px 235px repeat-y,
    radial-gradient(circle, rgba(118,118,121,.49) 0 94px, transparent 95px) 225px -107px / 245px 220px repeat-y,
    radial-gradient(circle, rgba(130,130,133,.46) 0 82px, transparent 83px) 455px -73px / 218px 202px repeat-y,
    radial-gradient(circle, rgba(140,140,143,.43) 0 69px, transparent 70px) 658px -45px / 190px 184px repeat-y,
    radial-gradient(circle, rgba(150,150,153,.40) 0 57px, transparent 58px) 835px -23px / 162px 166px repeat-y,
    radial-gradient(circle, rgba(160,160,163,.36) 0 46px, transparent 47px) 980px -3px / 138px 150px repeat-y;

  opacity: .95;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.18) 0,
      rgba(255,255,255,0.18) 4px,
      rgba(0,0,0,0.02) 4px,
      rgba(0,0,0,0.02) 8px
    );
  pointer-events: none;
}

/* CENTRAL DECORATION
   青い水玉は VERSION 08 で削除
*/
.center-mark {
  display: none;
}

/* RIGHT MENU */

.menu-column {
  position: absolute;
  top: 20px;
  right: 42px;
  width: 360px;
  z-index: 5;
}

.producer-text {
  margin: 10px 0 18px;
  text-align: right;
  color: #292929;
  font-size: 14px;
  line-height: 1.3;
}

.main-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.menu-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 320px;
  min-height: 95px;
  text-decoration: none;
}

.menu-dot {
  position: absolute;
  right: 5px;
  width: 76px;
  height: 76px;
  background: #050505;
  border-radius: 50%;
  border: 4px solid transparent;
}

.menu-text {
  position: relative;
  z-index: 3;
  margin-right: 18px;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -2px;
  text-shadow:
    -2px -2px 0 #000,
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000;
}

.menu-item.active .menu-dot {
  width: 92px;
  height: 92px;
  right: -3px;
  background: #ffb400;
  border: 10px solid #000;
}

.menu-item.active .menu-text {
  margin-right: 3px;
  font-size: 38px;
}

.menu-item:hover .menu-text {
  color: #ffb400;
}

.menu-item.active:hover .menu-text {
  color: #fff;
}

/* FOOTER */

.top-footer {
  display: flex;
  justify-content: space-between;
  padding: 8px 16px 10px;
  color: #aaa;
  background: #111;
  font-size: 10px;
  letter-spacing: 2px;
}

@media screen and (max-width: 1120px) {
  .page-frame {
    width: calc(100% - 20px);
    margin: 10px auto;
  }

  .top-main {
    min-height: 680px;
  }

  .menu-column {
    right: 20px;
  }

  .center-mark {
    left: 18%;
  }
}

@media screen and (max-width: 760px) {
  .top-header {
    height: 120px;
  }

  .logo-title {
    font-size: 24px;
  }

  .menu-label {
  display: block;
  width: max-content;
  margin: 8px 0 0 130px;
  padding: 4px 14px 5px;
  color: #28e01a;
  background: #4b4b4b;
  border-radius: 17px;
  font-size: 17px;
  font-weight: 700;
}
