/* 全ページ共通/文字など */

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

:root {
  --light-clr: #fff;
  --dark-clr: #1d3643;
  --light-blue-clr: #3850f0;
  --strong-yellow-clr: #f6c944;
  --light-yellow-clr: #f6d98b;
  --general-font-size-jp: 1.8rem;
  --general-font-size-en: 2rem;
  --pc-general-font-size-en: 2.7rem;
  --s-small-font-size-jp: 1.2rem;
  --small-font-size-jp: 1.4rem;
  --pc-small-font-size-jp: 1.4rem;
  --small-font-size-en: 1.6rem;
  --pc-small-font-size-en: 2rem;
  --primary-tittle-font-size-jp: 2.35rem;
  --pc-primary-tittle-font-size-en: 4rem;
  --pc-primary-tittle-font-size-jp: 3.2rem;
  --primary-tittle-font-size-en: 3rem;
  --page-tittle-font-size-en: 3.3rem;
  --pc-page-tittle-font-size-en: 6rem;
  --page-tittle-font-size-jp: 2.8rem;
  --main-font-family-en: "Forum", cursive;
  --main-font-family-jp: "Noto Serif JP", serif;
  --sub-font-family-jp: "Noto Sans JP", sans-serif;
  /*
    --section-spacing: 5.6rem 2.4rem;
    --container-width: 126rem; 
  */
}

body {
  color: var(--dark-clr);
  font-family: var(--main-font-family-en), var(--main-font-family-jp);
}

a {
  text-decoration: none;
  color: var(--dark-clr);
}

a:visited {
  color: var(--dark-clr);
}

ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

html {
  font-size: 62.5%;
}

.display-pc {
  display: none;
}

.plan-container_line {
  position: relative;
}
.line-plan {
  width: 100%;
  height: 0.1rem;
  background: var(--dark-clr);
  pointer-events: none;
  position: absolute;
  top: 120%;
  left: 0%;
}

.line-plan:hover {
  background: var(--strong-yellow-clr);
}

.link-g1-container {
  width: 110px;
}
.link-ab-container {
  width: 155px;
}

.line-index {
  width: 100%;
  height: 0.1rem;
  background: var(--dark-clr);
  pointer-events: none;
  margin-top: 0.5rem;
}

.line-index.light {
  background: var(--light-clr);
}

/* preloader ///////////////////////// */
#preloader {
  background: var(--light-clr) url(../img/meta/loader.gif) no-repeat center;
  background-size: 35%;
  height: 100vh;
  width: 100vw;
  position: fixed;
  z-index: 100;
}

/* cursor ///////////////////////// */

.cursor {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--strong-yellow-clr);
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: all 0.5s ease-in-out;
  transition-property: background, transform;
  /* 設定することでbackgroundの場所のみtransitionする */
  transform-origin: 75% 75%;
  /* ポイントアウトした場所からcenterから大きくなるように設定する */
  z-index: 11;
}
/* translateを指定してカーソルがサークルの真ん中にいくようにする */
/* pointer events noneにしてカーソルを非表示にする、そしてカーソルとして読み込ませないようにする */

.cursor.nav-active,
.cursor.logo-active,
.cursor.link-en-active,
.cursor.img-text-active {
  background: rgba(255, 255, 255, 0.4);
  width: 15rem;
  height: 15rem;
  border: 1px solid var(--strong-yellow-clr);
}

.cursor.link-en-active,
.cursor.link-plan-active,
.cursor.link-page-active {
  background: rgba(255, 255, 255, 0.4);
  width: 10rem;
  height: 10rem;
  border: 1px solid var(--strong-yellow-clr);
}

.cursor-text {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 1rem;
  color: var(--strong-yellow-clr);
  transform: translate(-50%, -50%);
  font-family: var(--sub-font-family-jp);
}

/* 1rem =10px */

/* font
  font-family: 'Forum', cursive;
  font-family: 'Noto Sans JP', sans-serif;
  font-family: 'Noto Serif JP', serif; */

/* nav-  ///////////////////////// */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-clr);
  /* display: flex;
  justify-content: space-around;
  align-items: center; */
  z-index: 10;
  opacity: 1;
  clip-path: circle(50px at 100% -10%);
  -webkit-clip-path: circle(50px at 100% -10%);
}
/* clip pathをout of the frameにおいておくので(50px at 100% -10%)に指定する　 */

.nav-container {
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  grid-template:
    "... ...... ...... ...... ...... ...... ...... ..." 0.5fr
    "... ...... main   main   main   main   ...... ..." 2fr
    "... ...... ...... ...... ...... ...... ...... ..." 30px
    "... ...... bottom bottom bottom bottom ...... ..." 0.2fr
    "... ...... link   link   link   link   ...... ..." 0.3fr
    "... ...... ...... ...... ...... ...... ...... ..." 30px
    / auto 20px 45px 1fr 1fr 45px 20px auto;
}

.nav-links {
  grid-area: main;
}

.white-nav a {
  color: var(--light-clr);
}
.white-nav a:visited {
  color: var(--light-clr);
}

.nav-links {
  display: flex;
  color: var(--light-clr);
  flex-direction: column;
  font-size: 3rem;
  justify-content: space-around;
  align-items: left;
}

.request.nav-requets {
  margin-bottom: 0rem;
}

/*========= scroll down*/

/*スクロールダウン全体の場所*/
.scrolldown1 {
  position: absolute;
  bottom: 10px;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  /*全体の高さ*/
  height: 50px;
}

/*Scrollテキストの描写*/
.scrolldown1 span {
  /*描画位置*/
  position: absolute;
  left: -15px;
  top: -15px;
  /*テキストの形状*/
  color: #eee;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

/* 線の描写 */
.scrolldown1::after {
  content: "";
  /*描画位置*/
  position: absolute;
  top: 0;
  /*線の形状*/
  width: 1px;
  height: 30px;
  background: #eee;
  /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  30% {
    height: 30px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}

/*========= scroll down */

/* font color ///////////////////////// */

.white {
  color: var(--light-clr);
}

.white-v:visited {
  color: var(--light-clr);
}

.strong-yellow {
  color: var(--strong-yellow-clr);
}

.strong-yellow-v:visited {
  color: var(--strong-yellow-clr);
}

.light-yellow {
  color: var(--light-yellow-clr);
}

.light-yellow-v:visited {
  color: var(--light-yellow-clr);
}

.dark {
  color: var(--dark-clr);
}
.dark-v:visited {
  color: var(--dark-clr);
}

/* header ///////////////////////// */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 20px 0;
  z-index: 12;
}

.header-container {
  max-width: 70rem;
  margin: 0 auto;
}

header .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--main-font-family-en);
}

.logo-sg-size {
  width: 48px;
}

.line1,
.line2 {
  width: 3rem;
  height: 0.2rem;
  margin: 0.4rem;
  background: white;
  pointer-events: none;
}

.line1.dark {
  background: var(--dark-clr);
}
.line2.dark {
  background: var(--dark-clr);
}

body.hide {
  overflow: hidden;
}

/* ///////////////////////// header */

/* text-  ///////////////////////// */

.section-title {
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: var(--small-font-size-en);
  line-height: 2rem;
}

.section-title span {
  font-size: var(--general-font-size-en);
}

.main-copy h2 {
  font-size: var(--primary-tittle-font-size-jp);
  font-family: var(--main-font-family-jp);
  color: var(--dark-clr);
  letter-spacing: 0.04em;
  font-weight: 300;
}
/* font-weightをvarに設定したい */

.main-copy.white h2 {
  color: var(--light-clr);
  font-weight: 200;
}

.main-copy span {
  color: var(--strong-yellow-clr);
}

.main-copy.light-yellow span {
  color: var(--light-yellow-clr);
}

.sub-copy {
  padding-top: 3rem;
}

.sub-copy-jp {
  font-family: var(--main-font-family-jp);
  font-size: var(--general-font-size-jp);
  font-weight: 200;
}

.sub-copy-en {
  font-family: var(--main-font-family-en);
  font-size: var(--general-font-size-en);
  letter-spacing: 0.08em;
}

.sub-copy-en.white {
  color: var(--light-clr);
}

.small-copy-jp {
  font-size: var(--small-font-size-jp);
  font-family: var(--main-font-family-jp);
  margin-bottom: 2rem;
}

.page-big-title {
  font-size: var(--page-tittle-font-size-en);
  font-family: var(--main-font-family-en);
  color: var(--light-clr);
  letter-spacing: 0.2rem;
  margin-bottom: 5rem;
}

.page-big-title.dark {
  color: var(--dark-clr);
  padding-top: 2.5rem;
  margin-bottom: 2rem;
}

.plan-title {
  font-size: var(--page-tittle-font-size-en);
  font-family: var(--main-font-family-en);
  padding-top: 2.6rem;
  margin-bottom: 1rem;
  letter-spacing: 0.2rem;
}

.plan-title.voice {
  padding: 0;
  margin: 0;
}

.plan-title-jp {
  font-size: var(--page-tittle-font-size-jp);
  font-family: var(--main-font-family-jp);
  padding-top: 2.6rem;
  margin-bottom: 1rem;
  letter-spacing: 0.2rem;
  font-weight: 200;
}

.big-title-jp {
  font-size: var(--primary-tittle-font-size-jp);
  font-family: var(--main-font-family-jp);
  font-weight: 200;
  margin-bottom: 2.4rem;
}

.explain-en {
  font-family: var(--main-font-family-en), var(--main-font-family-jp);
  font-size: var(--small-font-size-en);
  margin-bottom: 0.8rem;
  letter-spacing: 0.08em;
}

.explain-en.price {
  margin-bottom: 1.4rem;
}

.explain-en-footer {
  font-family: "Fourm", "Noto Serif JP";
  font-size: var(--small-font-size-en);
  margin-bottom: 0.8rem;
}

.explain-jp.dark {
  color: var(--dark-clr);
}

.explain-jp {
  font-family: var(--sub-font-family-jp);
  font-size: var(--small-font-size-jp);
  line-height: 2.6rem;
  font-weight: lighter;
}

.explain-jp.join {
  padding-top: 4rem;
}

.small-explain-jp {
  font-family: var(--sub-font-family-jp);
  font-size: var(--s-small-font-size-jp);
  line-height: 2.6rem;
  font-weight: 200;
}

/* ///////////////////////// text-style */

/* link ///////////////////////// */

.link-en {
  color: var(--dark-clr);
  font-family: var(--main-font-family-en);
  font-size: var(--general-font-size-en);
  padding-top: 4.2rem;
}

.link-en:hover,
.link-en.see-more:hover,
.link-en.about:hover {
  color: var(--light-yellow-clr);
}

.link-en.white {
  color: var(--light-clr);
}

.link-en.see-more {
  text-align: center;
  padding-top: 12.2rem;
  margin-bottom: 3.6rem;
}

.link-en.see-more.plan {
  padding-top: 4rem;
}

.link-en.see-more-plan {
  padding-top: 2rem;
  margin-bottom: 5rem;
  font-size: small;
}

.see-more-plan:hover {
  color: var(--strong-yellow-clr);
}

.link-en.about {
  padding-top: 0;
}

.see-more.page-bottom {
  margin-bottom: 12.6rem;
}

/* ///////////////////////// link */

.line-gray {
  width: 100%;
  border: 0.4px solid #b6b4b4;
}

.line-light-gray {
  width: 100%;
  border: 0.4px solid #c4c4c4;
  margin-bottom: 0.5rem;
}

/* logo-size ///////////////////////// */

.logo-sg-big-size {
  width: 10rem;
}

@media screen and (min-width: 768px) {
  .display-sp {
    display: none;
  }

  .display-pc {
    display: block;
  }

  .header-container {
    max-width: 100vw;
    margin: 0 auto;
  }

  header {
    padding-right: 3rem;
    padding-left: 3rem;
  }

  /* preloader ///////////////////////// */
  #preloader {
    background-size: 10%;
  }

  /* text-  ///////////////////////// */

  .main-copy h2 {
    font-size: var(--pc-primary-tittle-font-size-jp);
  }

  .section-title {
    justify-content: flex-end;
    text-align: right;
  }

  .section-title span {
    display: block;
    padding-top: 2rem;
    font-size: var(--pc-general-font-size-en);
  }

  .big-title-jp {
    font-size: var(--pc-primary-tittle-font-size-jp);
  }

  .page-big-title {
    font-size: var(--pc-page-tittle-font-size-en);
    letter-spacing: 0.07em;
  }

  .explain-en {
    font-size: var(--pc-small-font-size-en);
  }

  .explain-jp {
    font-size: var(--pc-small-font-size-jp);
    line-height: 186.2%;
  }
  .small-explain-jp {
    font-size: var(--small-font-size-jp);
  }

  /* nav-  ///////////////////////// */

  .nav-container {
    width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    display: grid;
    grid-template:
      "... ...... ...... ...... ...... ...... ...... ...... ...... ...... ..." 1fr
      "... ...... ...... main   main   main   main   main   ...... ...... ..." 1.5fr
      "... ...... ...... bottom bottom link   link   link   ...... ...... ..." 1fr
      / auto 30px 50px 1fr 0.5fr 1fr 1fr 1fr 50px 30px auto;
  }

  .nav-links {
    display: flex;
    color: var(--light-clr);
    font-size: 6rem;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
  }

  .nav-bar a:hover {
    color: var(--light-yellow-clr);
  }
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  .nav-links {
    display: flex;
    color: var(--light-clr);
    font-size: 4rem;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
  }
}
