*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td,
small,
button,
time,
figure {
  border: 0;
  font: inherit;
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

li,
dd {
  list-style-type: none;
}

header,
footer,
nav,
section,
article,
main,
aside,
figure,
figcaption {
  display: block;
}

img {
  border: none;
  vertical-align: bottom;
}

a {
  cursor: pointer;
  text-decoration: none;
}

address {
  font-style: normal;
}

@font-face {
  font-family: "BebasNeue";
  font-style: normal;
  font-weight: normal;
  src: url("../fonts/BebasNeue.otf") format("opentype");
}

@font-face {
  font-family: "KozGoPr6N";
  font-style: normal;
  font-weight: normal;
  src: url("../fonts/KozGoPr6N-Regular.otf") format("opentype");
}

@font-face {
  font-family: "Paris";
  font-style: normal;
  font-weight: normal;
  src: url("../fonts/Paris2024-Variable.ttf") format("truetype");
}

body {
  background: #fff;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  line-height: 1.5;
}

img {
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
}

.l-inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 500px;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

.u-separate {
  margin-bottom: 24px;
  margin-top: 24px;
}

.hidden-sp {
  display: none;
}

/* ===== 背景 ===== */

.hero {
  background: url("../img/2x/top-bg-sp@2x.webp") center/cover no-repeat;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

/* PC用 背景切替 */

/* ===== グラデーション ===== */

.hero-overlay {
  animation: gradientMove 18s ease forwards;
  background: linear-gradient(120deg, rgba(13, 71, 161, 0.82), rgba(25, 118, 210, 0.78), rgba(25, 118, 210, 0.78), rgba(67, 160, 71, 0.72), rgba(79, 195, 247, 0.75), rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82));
  background-size: 320% 320%;
  inset: 0;
  position: absolute;
  z-index: 1;
}

/* ===== テキスト中央 ===== */

.hero-text {
  color: #fff;
  left: 50%;
  position: absolute;
  text-align: center;
  top: 30%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* ===== テキスト共通 ===== */

.word {
  filter: blur(12px);
  font-family: "Noto Serif JP", serif;
  font-size: 2.5rem;
  left: 50%;
  letter-spacing: 10px;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  writing-mode: vertical-rl;
}

/* ===== 順番表示 ===== */

/* ===== 順番表示 ===== */

/* 少し遅らせる */

.w1 {
  animation: wordAnim 3s ease 2s;
}

.w2 {
  animation: wordAnim 3s ease 6s;
}

.w3 {
  animation: wordAnim 3s ease 10s;
}

.w4 {
  animation: wordAnim 3s ease 14s;
  color: #333;
}

/* 最後 */

.final {
  animation: finalAnim 2s ease 18s forwards;
  writing-mode: horizontal-tb;
}

/* ===== ふわっと表示 ===== */

/* ===== スマホ対応 ===== */

.final-1 {
  font-size: 34px;
}

.final-2 {
  font-size: 17px;
}

.final-3 {
  font-size: 30px;
}

.final-4 {
  font-size: 33px;
}

.scroll-indicator {
  align-items: center;
  animation: scrollFade 1.5s ease 22s forwards;
  bottom: 10px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  left: 50%;
  opacity: 0;
  position: absolute;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-indicator p {
  font-size: 12px;
  letter-spacing: 4px;
  writing-mode: vertical-rl;
}

.scroll-line {
  height: 80px;
  position: relative;
  width: 1px;
}

.scroll-line .line {
  background: #fff;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 1px;
}

.scroll-line .slash {
  background: #fff;
  bottom: 0;
  height: 1px;
  left: 1px;
  position: absolute;
  transform: rotate(-45deg);
  transform-origin: left center;
  width: 14px;
}

/* 初期状態 */

.final-pc {
  display: none;
}

/* PCだけ切り替え */

.sp-logo {
  padding: 10px 0;
  text-align: center;
}

.sp-logo img {
  width: 120px;
}

.section {
  padding-bottom: 100px;
  padding-top: 100px;
}

.top {
  background: #efefef;
}

.top-inner {
  text-align: center;
}

.top-head {
  font-family: "Noto Serif JP", serif;
  font-size: 23px;
  letter-spacing: 3px;
}

.top-head-pc {
  display: none;
}

.top-P {
  font-size: 14px;
  line-height: 2;
  margin-top: 50px;
}

.section-head {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
}

.section-head-j {
  font-family: "Noto Serif JP", serif;
  font-size: 30px;
}

.section-head-e {
  font-family: "Cinzel", serif;
  font-size: 13px;
}

.section-head-e.green {
  color: #3eb370;
}

.section-head-e.blue {
  color: #0096d5;
}

.section-head-e.deep-blue {
  color: #0075c2;
}

.section-head-e.gray {
  color: #6b6b6b;
}

.section-head-line {
  background: #9fa0a0;
  display: block;
  height: 30px;
  margin-top: 10px;
  text-align: center;
  width: 1px;
}

.section-head-p {
  font-size: 14px;
  margin-top: 15px;
  text-align: center;
}

.ac-item-img {
  margin-top: 30px;
}

.ac-item {
  margin-bottom: 100px;
}

.use {
  background: #efefef;
}

.acc-map {
  height: 260px;
  margin-top: 30px;
  width: 100%;
}

.acc-map-p {
  font-size: 12px;
  margin-top: 20px;
  text-align: center;
}

.con-p {
  font-size: 14px;
  margin-top: 30px;
  text-align: center;
}

.car-form-wrap {
  border-radius: 16px;
  margin: 0 auto;
  max-width: 780px;
  padding: 30px;
}

.car-contact-form {
  width: 100%;
}

.car-form-group {
  margin-bottom: 30px;
}

.car-form-group label {
  display: block;
  margin-bottom: 8px;
}

.car-required {
  background: #9aa0a6;
  border-radius: 3px;
  color: #fff;
  font-size: 12px;
  margin-left: 8px;
  padding: 2px 6px;
}

.car-contact-form input,
.car-contact-form textarea {
  background: #eee;
  border: none;
  box-sizing: border-box;
  padding: 14px;
  width: 100%;
}

.car-contact-form textarea {
  height: 200px;
  resize: none;
}

.car-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 25px;
  margin-top: 10px;
}

.car-radio-group label {
  align-items: center;
  display: flex;
}

.car-radio-group input {
  margin-right: 6px;
}

.car-form-btn {
  margin-top: 30px;
  text-align: center;
}

.car-form-btn button {
  background: #333;
  border: none;
  color: #fff;
  cursor: pointer;
  max-width: 300px;
  padding: 16px;
  transition: 0.3s;
  width: 100%;
}

.car-form-btn button:hover {
  background: rgba(51, 51, 51, 0.4392156863);
}

.car-form-btn input {
  background: #333;
  border: none;
  color: #fff;
  cursor: pointer;
  max-width: 150px;
  padding: 8px 16px;
  transition: 0.3s;
  width: 100%;
}

.car-form-btn input:hover {
  background: #333;
}

label {
  white-space: nowrap;
}

.car-radio-group input[type="radio"] {
  margin-right: 8px;
  transform: scale(1.4);
}

.wpcf7-spinner {
  display: none;
}

small {
  display: block;
  font-size: 11px;
  margin-bottom: 5px;
  margin-top: 5px;
  text-align: center;
}

body.is-loading {
  height: 100vh;
  overflow: hidden;
}
.hero-height {
  display: none;
}
@media screen and (min-width: 768px) {
  .l-inner {
    margin-left: auto;
    margin-right: auto;
    max-width: 820px;
    padding-left: 30px;
    padding-right: 30px;
  }

  .hidden-pc {
    display: none;
  }

  .hidden-sp {
    display: block;
  }
  .hero-height {
    display: block;
  }

  .hero {
    background: url("../img/2x/top-bg-st@2x.webp") center top/cover no-repeat;
    height: auto;
  }

  .hero::before {
    animation: bgReveal 3s ease 16s forwards;
    background: url("../img/2x/top-bg@2x.webp") center top/cover no-repeat;
    content: "";
    filter: blur(10px);
    inset: 0;
    opacity: 0;
    position: absolute;
    transform: scale(1.04);
    z-index: 0;
  }

  .word {
    letter-spacing: 20px;
    writing-mode: horizontal-tb;
  }

  .final-1 {
    font-size: 50px;
    font-weight: 600;
  }

  .final-2 {
    font-size: 22px;
    font-weight: 600;
  }

  .final-3 {
    font-size: 40px;
    font-weight: 600;
  }

  .final-4 {
    font-size: 50px;
    font-weight: 600;
  }

  .final {
    top: 30%;
  }

  .final {
    display: none;
  }

  .final-pc {
    animation: finalAnim 2s ease 18s forwards;
    color: #fff;
    display: block;
    font-size: 42px;
    left: 50%;
    letter-spacing: 10px;
    opacity: 0;
    position: absolute;
    top: 30%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    writing-mode: horizontal-tb;
    z-index: 2;
  }

  .top-head {
    display: none;
  }

  .top-head-pc {
    display: block;
    font-family: "Noto Serif JP", serif;
    font-size: 35px;
    letter-spacing: 3px;
  }

  .top-P {
    font-size: 17px;
  }

  .section-head-j {
    font-size: 42px;
  }

  .section-head-e {
    font-size: 24px;
  }

  .section-head-line {
    height: 70px;
  }

  .section-head-p {
    font-size: 17px;
  }

  .acc-map {
    height: 800px;
  }

  .con-p {
    font-size: 17px;
  }

  .car-form-wrap {
    padding: 50px;
  }

  .car-contact-form {
    font-size: 18px;
  }

  .car-form-group {
    margin-bottom: 50px;
  }

  .car-form-btn input {
    max-width: 300px;
    padding: 16px;
  }
  .hero-text {
    top: 50%;
  }
}

@media (max-width: 768px) {
  .word {
    font-size: 1.4rem;
  }

  .final {
    font-size: 1.8rem;
  }
}

@keyframes bgReveal {
  0% {
    filter: blur(10px);
    opacity: 0;
    transform: scale(1.04);
  }

  40% {
    opacity: 0.5;
  }

  100% {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
    opacity: 1;
  }

  /* 青 */

  26% {
    background-position: 18% 50%;
    opacity: 1;
  }

  /* 緑を早めに抜ける */

  48% {
    background-position: 48% 50%;
    opacity: 1;
  }

  /* 水色 */

  72% {
    background-position: 82% 50%;
    opacity: 1;
  }

  /* 白 */

  82% {
    background-position: 100% 50%;
    opacity: 1;
  }

  /* 白キープ */

  90% {
    background-position: 100% 50%;
    opacity: 1;
  }

  /* フェード */

  100% {
    background-position: 100% 50%;
    opacity: 0;
  }
}

@keyframes wordAnim {
  0% {
    filter: blur(12px);
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.05);
  }

  25% {
    filter: blur(0);
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  75% {
    opacity: 1;
  }

  100% {
    filter: blur(12px);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.98);
  }
}

@keyframes finalAnim {
  0% {
    filter: blur(12px);
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.05);
  }

  100% {
    filter: blur(0);
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes scrollFade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;

  color: #fff;
  z-index: 3;

  opacity: 0;

  animation: scrollFade 1.5s ease 22s forwards;
}

.scroll-indicator p {
  writing-mode: vertical-rl;
   font-size: 14px;
  letter-spacing: 4px;
  font-weight: 500px;
}

/* =========================
スクロールライン
========================= */
.scroll-line {
  position: relative;
  width: 2px;
  height: 80px;
  overflow: hidden;
}

/* ベース線 */
.scroll-line .line {
  position: absolute;
  left: 0;
  top: 0;

  width: 2px;
  height: 100%;

  background: rgba(255, 255, 255, 0.25);
}

/* 流れる縦線 */
.scroll-line .line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40px;

  width: 2px;
  height: 40px;

  background: #fff;

  animation: scrollMove 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* 矢印 */
.scroll-line .slash {
  position: absolute;

  left: 1px;
  top: -40px;

  width: 14px;
  height: 2px;

  background: #fff;

  transform: rotate(-45deg);
  transform-origin: left center;

  animation: slashMove 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* =========================
スクロール表示
========================= */
@keyframes scrollFade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* =========================
縦線アニメーション
========================= */
@keyframes scrollMove {
  0% {
    top: -40px;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

/* =========================
矢印アニメーション
========================= */
@keyframes slashMove {
  0% {
    top: -40px;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  100% {
    top: calc(100% - 2px);
    opacity: 0;
  }
}

.sp-logo {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff; /* 背景透過防止 */
}

.hero::before {
  animation: bgReveal 3s ease 16s forwards;
  background: url("../img/2x/top-bg-sp-b@2x.webp") center bottom/cover no-repeat;
  content: "";
  filter: blur(10px);
  inset: 0;
  opacity: 0;
  position: absolute;
  transform: scale(1.04);
  z-index: 0;
}

.logo-f {
  left: 20px;
  position: absolute;
  top: 20px;
  width: 96px;
  z-index: 2;
}

@media screen and (min-width: 768px) {
  .hero {
    background: url("../img/2x/top-bg-st@2x.webp") center bottom/cover no-repeat;
    height: auto;
  }
  .hero::before {
    animation: bgReveal 3s ease 16s forwards;
    background: url("../img/2x/top-bg@2x.webp") center bottom/cover no-repeat;
    content: "";
    filter: blur(10px);
    inset: 0;
    opacity: 0;
    position: absolute;
    transform: scale(1.04);
    z-index: 0;
  }
  .logo-f {
    width: 240px;
  }
}

.logo-f {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  width: 96px;
}

@media (min-width: 768px) {
  .logo-f {
    width: 240px;

    animation: logoFadeOut 1.5s ease 16s forwards;
  }
}

@keyframes logoFadeOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
  }
}

.guide {
  width: 100%;
  font-size: 15px;
  color: #333;
  font-weight: 600;
}

.guide__head {
  align-items: center;
  gap: 40px;
  margin-top: 20px;
  padding: 5px 10px;
  color: #fff;
  background: linear-gradient(135deg, #3fb86a 0%, #56bf9a 50%, #7d96c8 100%);
}
.guide__head.sky {
  color: #fff;
  background: linear-gradient(90deg, #1b9ee0 0%, #69b8e5 55%, #c7dceb 100%);
}
.guide__head.blue {
  color: #fff;
  background: linear-gradient(90deg, #0068b7 0%, #1096dc 55%, #1ea9e6 100%);
}
.guide__body {
  padding: 0 10px;
  background: #ececec;
  font-weight: 400;
}
.guide__body.fff {
  background: #fff;
}

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

  padding: 8px 0;
}
.guide__row.right {
  justify-content: end;
  padding-top: 5px;
}

.guide__body p {
  margin: 0;
}

.guide__body p + p {
  margin-top: 30px;
}
@media screen and (min-width: 768px) {
  .guide {
    font-size: 18px;
  }
  .guide__head {
    padding: 5px 20px;
  }
  .guide__body {
    padding: 0 20px;
  }
}

.schedule {
  width: 100%;
  color: #333;
}

/* タイトル */
.schedule__title {
  display: flex;
  margin-bottom: 20px;
}
.schedule__title.mt {
  margin-top: 80px;
}

.schedule__title-left {
  flex: 1;
  padding: 5px 10px;
  color: #fff;

  background: linear-gradient(90deg, #43bb72 0%, #58c08d 50%, #8797ca 100%);
}

.schedule__title-right {
  width: 110px;
  text-align: center;
  padding: 5px 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (min-width: 768px) {
  .schedule {
    font-size: 18px;
  }

  .schedule__title-right {
    width: 320px;
    font-size: 18px;
  }
}
/* テーブル */
.schedule__table {
  width: 100%;
  border-collapse: collapse;
}

.schedule__table th {
  background: #b8d2c0;

  font-weight: 500;
  padding: 5px 10px;
}

.schedule__table td {
  text-align: center;
  white-space: nowrap;
  padding: 5px 10px;
}

.schedule__table tbody tr:nth-child(odd) {
  background: #d6dfd9;
}

.schedule__table tbody tr:nth-child(even) {
  background: #efefef;
}

/* 列幅 */
.schedule__table th:nth-child(1),
.schedule__table td:nth-child(1) {
  width: 45%;
}

.schedule__table th:nth-child(2),
.schedule__table td:nth-child(2) {
  width: 10%;
}

.schedule__table th:nth-child(3),
.schedule__table td:nth-child(3) {
  width: 45%;
}
.schedule__table tbody tr:nth-child(even) {
  background: #fff;
}

.schedule__title {
  display: flex;
  margin-bottom: 20px;
}

.schedule__title-left-wrap {
  flex: 1;
}

.schedule__title-left {
  color: #fff;
  padding: 10px 35px;
}

.schedule__title-left.blue {
  background: linear-gradient(90deg, #0068b7 0%, #1096dc 55%, #1ea9e6 100%);
}

.schedule__title-left.sky {
  background: linear-gradient(90deg, #1b9ee0 0%, #69b8e5 55%, #c7dceb 100%);
}

.schedule__note {
  margin-top: 10px;
  text-align: right;
  color: #444;
  font-size: 0.9em;
}
