@charset "utf-8";

/******
フォント

Zen Old Mincho
font-family: "Zen Old Mincho", serif;

Zen Kaku Gothic Antique
font-family: "Zen Kaku Gothic Antique", sans-serif;

Noto Sans JP
font-family: "Noto Sans JP", sans-serif;


*******/

body {
  color: #447065;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.img {
  width: 100%;
  height: auto;
}

.hover--opacity {
  transition: opacity 0.3s;
}
.hover--opacity:hover {
  opacity: 0.7;
}

.inner-480 {
  width: calc(100% - 40px);
  max-width: 480px;
  margin: 0 auto;
}

a.sptel {
  cursor: default;
  pointer-events: none;
}

.ilblk {
  display: inline-block;
}

.clr--wh {
  color: #fff;
}
.clr--cream {
  color: #f4ece3;
}

.bg--wh {
  background-color: #fff;
}
.bg--green {
  background-color: #447065;
}
.bg--cream {
  background-color: #f4ece3;
}

.vertical {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
}

.text-indent {
  text-indent: -1em;
  padding-left: 1em;
}

.wrapper__verticalText {
  color: #fff;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.014em;
  position: absolute;
  top: 50%;
  left: 20px;
  z-index: 1;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}
.wrapper__verticalText--copy {
  display: inline-block;
  transform: rotate(90deg);
  vertical-align: top;
  line-height: 1;
  position: relative;
  left: 1px;
}

.section-title__label--en {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.24;
  margin-bottom: 17px;
}
.section-title__label--ja {
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
}
.section-title__label--ja span {
  display: inline-block;
  padding-top: 6px;
  padding-bottom: 15px;
  padding-left: 4px;
  padding-right: 4px;
}
.section-title__label--ja span:not(:last-child) {
  margin-bottom: 16px;
}

.fv__logo a {
  display: block;
}

@media screen and (max-width: 750px) {
  a.sptel {
    cursor: pointer;
    pointer-events: auto;
  }
}

@media screen and (max-width: 480px) {
  .wrapper__verticalText {
    font-size: 2.0833vw;
    left: 4.1666vw;
  }
  .wrapper__verticalText--copy {
    left: 0.2083vw;
  }

  .section-title__label--en {
    font-size: 3.75vw;
    margin-bottom: 3.5416vw;
  }
  .section-title__label--ja {
    font-size: 7.5vw;
  }
  .section-title__label--ja span {
    padding-top: 1.25vw;
    padding-bottom: 3.125vw;
    padding-left: 0.8333vw;
    padding-right: 0.8333vw;
  }
  .section-title__label--ja span:not(:last-child) {
    margin-bottom: 3.3333vw;
  }
}

/* ==========================================================
   0. 共通変数
   左右の実際の見た目の幅と、center固定幅をここに集約。
   マジックナンバー（480 / 745 / 200 / 430...）を各所に
   直書きしない。
   ========================================================== */

:root {
  --center-w: 480px;
  --left-w: 745px;
  --right-w: 200px;
  --natural-w: 1425px; /* --left-w + --center-w + --right-w */
  --left-ratio: 0.78836; /* --left-w / (--left-w + --right-w) = 745/945 */
  --right-ratio: 0.21164; /* --right-w / (--left-w + --right-w) = 200/945 */
}

/* ==========================================================
		 2. レイアウト（.wrapper 3カラム）
		 モバイルファースト：
		 ベース = center のみ表示の1カラム
		 481px〜 = 左右の固定パネルを表示
		 ========================================================== */
.wrapper {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  height: 100svh;
}

.wrapper__bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  background: url("../imgs/index/bg.jpg") center center / cover no-repeat;
}

/* ベース：左右パネルは無し。centerが画面いっぱい */
.wrapper__left,
.wrapper__right,
.wrapper__fix--left,
.wrapper__fix--right {
  display: none;
}

.wrapper__center {
  order: 2;
  flex: 1 1 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.wrapper__fix {
  margin: 0 auto;
  height: 100%;
  position: fixed;
  top: 0;
  z-index: 2;
}

.theme__join-item,
.flow-list__item {
  padding-bottom: 35px;
  margin-bottom: 35px;
  border-bottom: 1px dotted #231815;
  position: relative;
}
.theme__join-item:last-child,
.flow-list__item:last-child {
  padding-bottom: 0;
  margin-bottom: 66px;
  border-bottom: none;
}
.theme__join-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 2.14;
  letter-spacing: 0.06em;
  position: relative;
  margin-bottom: 8px;
}
.theme__join-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #9fa0a0;
  position: absolute;
  top: 20px;
  right: 0;
  z-index: 1;
}
.theme__join-title span {
  padding-right: 7px;
  display: block;
  width: fit-content;
  position: relative;
  z-index: 2;
}
.theme__join-icon,
.flow-list__icon {
  width: 85px;
  margin: 0 auto 15px;
}
.theme__join-text,
.flow-list__text {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.06em;
}
.flow-list__text--deco {
  position: relative;
}
.flow-list__text--deco::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  background-color: #447065;
  position: absolute;
  top: 12px;
  left: 4px;
  border-radius: 50px;
}
.flow-list__text--deco span {
  display: block;
  padding-left: 1em;
}
.theme__join-account,
.flow-list__account {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  padding-top: 32px;
  margin: 0 auto;
}
.theme__join-account img,
.flow-list__account img {
  width: 27px;
}
.theme__join-account span,
.flow-list__account span {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
}

.theme__join-btn,
.flow-list__btn {
  width: 100%;
  margin: 0 auto;
}
.theme__join-btn a,
.flow-list__btn a {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  line-height: 1.46;
  letter-spacing: -0.02em;
  padding: 20px 20px;
  display: block;
  background-color: #fff;
  border: 1px solid #447065;
  border-radius: 33px;
  position: relative;
  transition: all 0.3s;
}
.theme__join-btn a::after,
.flow-list__btn a:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 8px solid #447065;
  border-right: 0;
  position: absolute;
  top: 50%;
  right: 25px;
  z-index: 1;
  transform: translateY(-50%);
  transition: all 0.3s;
}
.theme__join-btn a:hover,
.flow-list__btn a:hover {
  color: #fff;
  background-color: #447065;
  border: 1px solid #fff;
}
.theme__join-btn a:hover::after,
.flow-list__btn a:hover::after {
  border-left: 8px solid #fff;
}
.theme__join--deco,
.flow-list__deco {
  padding: 0 6px;
  background-color: #f4ece3;
  position: absolute;
  bottom: -10px;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}
.theme__join--deco span,
.flow-list__deco span {
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  border-top: 17px solid #447065;
  border-bottom: 0;
}

@media screen and (min-width: 481px) {
  /* 左右パネル出現。centerはここから480px固定になる */
  .wrapper__left,
  .wrapper__right,
  .wrapper__fix--left,
  .wrapper__fix--right {
    display: block;
  }

  .wrapper__left {
    order: 1;
    flex: 745 1 var(--left-w); /* grow比745 : shrink基準745px */
    height: 100svh;
  }
  .wrapper__right {
    order: 3;
    flex: 200 1 var(--right-w); /* grow比200 : shrink基準200px */
    height: 100svh;
  }
  .wrapper__center {
    flex: 0 0 var(--center-w); /* 伸びも縮みもしない、常に480px */
  }

  .wrapper__fix--left {
    width: calc(var(--left-w) + (100% - var(--natural-w)) * var(--left-ratio));
    padding: 0 20px;
    left: 0;
  }
  .wrapper__fix--right {
    width: calc(var(--right-w) + (100% - var(--natural-w)) * var(--right-ratio));
    right: 0;
  }

  .wrapper__bg {
    height: 100svh;
  }
}
@media screen and (min-width: 481px) and (max-width: 1000px) {
  .wrapper__left,
  .wrapper__right {
    flex: 0 0 calc((100% - var(--center-w)) / 2);
  }
  .wrapper__fix--left,
  .wrapper__fix--right {
    width: calc((100% - var(--center-w)) / 2);
  }
}

@media screen and (max-width: 480px) {
  .theme__join-item,
  .flow-list__item {
    padding-bottom: 7.2916vw;
    margin-bottom: 7.2916vw;
  }
  .theme__join-item:last-child,
  .flow-list__item:last-child {
    margin-bottom: 13.75vw;
  }
  .theme__join-title {
    font-size: 3.75vw;
    margin-bottom: 1.6666vw;
  }
  .theme__join-title::after {
    top: 4.1666vw;
  }
  .theme__join-title span {
    padding-right: 1.4583vw;
  }
  .theme__join-icon,
  .flow-list__icon {
    width: 17.7083vw;
    margin: 0 auto 3.125vw;
  }
  .theme__join-text,
  .flow-list__text {
    font-size: 3.5416vw;
  }
  .flow-list__text--deco::before {
    width: 1.0416vw;
    height: 1.0416vw;
    top: 2.5vw;
    left: 0.8333vw;
  }
  .theme__join-account,
  .flow-list__account {
    gap: 10px 2.0833vw;
    padding-top: 6.6666vw;
  }
  .theme__join-account img,
  .flow-list__account img {
    width: 5.625vw;
  }
  .theme__join-account span,
  .flow-list__account span {
    font-size: 3.75vw;
  }

  .theme__join-btn a,
  .flow-list__btn a {
    font-size: 3.75vw;
    padding: 4.1666vw 20px;
  }
  .theme__join-btn a::after,
  .flow-list__btn a:after {
    border-top: 0.8333vw solid transparent;
    border-bottom: 0.8333vw solid transparent;
    border-left: 1.6666vw solid #447065;
    right: 5.2083vw;
  }
  .theme__join-btn a:hover::after,
  .flow-list__btn a:hover::after {
    border-left: 1.6666vw solid #fff;
  }
  .theme__join--deco,
  .flow-list__deco {
    padding: 0 1.25vw;
    bottom: -2.0833vw;
  }
  .theme__join--deco span,
  .flow-list__deco span {
    border-right: 2.0833vw solid transparent;
    border-left: 2.0833vw solid transparent;
    border-top: 3.5416vw solid #447065;
  }
}

/* 404ページ↓ */
.not-found {
  text-align: center;
}
.not-found__wrap {
  padding: 100px 0;
}
.not-found__en {
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 30px;
}
.not-found__ja {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 30px;
  line-height: 2.2;
}
.not-found__ja strong {
  font-size: 20px;
  display: block;
  margin-bottom: 20px;
}
.not-found a {
  font-size: 16px;
  font-weight: 500;
  text-decoration: underline;
  display: inline;
}
/* 404ページ↑ */

@media screen and (max-width: 480px) {
  /* 404ページ↓ */
  .not-found__wrap {
    padding: 20.8333vw 0;
  }
  .not-found__en {
    font-size: 5.2083vw;
    margin-bottom: 6.25vw;
  }
  .not-found__ja {
    font-size: 3.3333vw;
    margin-bottom: 6.25vw;
  }
  .not-found__ja strong {
    font-size: 4.1666vw;
    margin-bottom: 4.1666vw;
  }
  .not-found a {
    font-size: 3.3333vw;
  }
  /* 404ページ↑ */
}
