/* ---- TOPへ戻るボタン ----- */
.return-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(to bottom, #ddb568, #ab9063);
  transition: 0.4s;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0px 0px 12px -5px rgba(0, 0, 0, 0.6);
  z-index: 10;
}
.return-btn:hover {
  background: linear-gradient(to bottom, #f2d293, #ab9063);
  transition: 0.4s;
}

#section2 {
  padding-top: 40px;
  margin-top: -40px;
}

.arrow {
  width: 10px;
  height: 10px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(-45deg);
  margin-top: 5px;
}

.return-btn.active {
  opacity: 1;
  visibility: visible;
  transition: 0.4s;
}

/* ---- スクロール ----- */
.scroll_down {
  position: absolute;
  bottom: 0px;
  left: 95%;
}
.scroll_down a {
  position: absolute;
  left: 10px;
  bottom: 87px;
  color: var(--primary-color);
  font-size: 15px;
  font-family: "Jost", sans-serif;
  letter-spacing: 0.2em;
  writing-mode: vertical-lr;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll_down:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--primary-color);
  animation: circlemove 2s ease-in-out infinite,
    cirlemovehide 2s ease-out infinite;
}

@keyframes circlemove {
  0% {
    bottom: 160px;
  }
  100% {
    bottom: 0px;
  }
}

@keyframes cirlemovehide {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}

.scroll_down:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2px;
  height: 160px;
  background: var(--primary-color);
}

/* ---------------------------------- 

共通

---------------------------------- */

:root {
  --primary-color: #252525;
  --base-color: #ce9837;
  --gold001-color: #af7e29;
  --white-color: #ffffff;
  --logo-color: #243e36;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  color: var(--primary-color);
}

.container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  text-align: center;
}

.heading {
  background-image: linear-gradient(to bottom, #ddb568, #ab9063);
  -webkit-background-clip: text;
  color: transparent;
  font-family: "Jost", sans-serif;
  font-size: clamp(1.625rem, 0.655rem + 4.13vw, 3.75rem);
  margin-bottom: 100px;
  text-align: center;
}

.primary-btn {
  font-size: clamp(1rem, 0.943rem + 0.24vw, 1.125rem); /* 16px,18px */
  font-weight: 500;
  color: #ffffff;
  width: 100%;
  max-width: 580px;
  padding: 23px;
  align-items: center;
  display: flex;
  justify-content: center;
  background: linear-gradient(to bottom, #ddb568, #ab9063);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

.primary-btn:active {
  transform: translateY(4px);
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);
  border-bottom: none;
}
.primary-btn:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background-image: linear-gradient(
    130deg,
    rgba(255, 255, 255, 0) 25%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 55%
  );
  animation: shine 4s infinite;
}
@keyframes shine {
  33% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

.primary-btn:hover {
  opacity: 0.9;
  transition: 0.3s;
}

.secondary-btn {
  font-size: clamp(0.938rem, 0.852rem + 0.36vw, 1.125rem); /* 15px,18px */
  font-weight: 500;
  width: 100%;
  max-width: 580px;
  padding: 20px;
  align-items: center;
  display: flex;
  justify-content: center;
  border: solid 1px var(--gold001-color);
  margin: 0 auto;
  color: var(--gold001-color);
  background-color: #ffffff;
  transition: 0.3s;
}

.secondary-btn:hover {
  box-shadow: 0px 0px 12px -5px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: 0.3s;
}

.tagline {
  display: inline-block;
  margin-bottom: 60px;
}

.text {
  font-size: clamp(15px, 0.915rem + 0.11vw, 16px);
  line-height: 2;
  letter-spacing: 0.5px;
}

.sp-br {
  display: none;
}

.attention {
  color: #e83333;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .container {
    width: 95%;
    margin: 0 auto;
  }
  h2 {
    font-size: 16px;
    margin-bottom: 8px;
  }
  .heading {
    margin-bottom: 32px;
  }
  .tagline {
    margin-bottom: 30px;
    display: block;
  }
  .text {
    text-align: left;
    line-height: 1.6;
    margin-bottom: 30px;
  }
  .primary-btn {
    width: 100%;
    height: auto;
    padding: 18px;
  }
  .secondary-btn {
    width: 100%;
    height: auto;
    padding: 15px;
  }
  .sp-br {
    display: block;
  }
  .scroll_down {
    position: absolute;
    bottom: 30%;
    left: 90%;
  }
}

/* ---------------------------------- 

ヘッダー セクション１ メインビュー 

---------------------------------- */

header {
  display: flex;
  align-items: center;
  padding: 20px 0 0 40px;
  position: absolute;
  z-index: 5;
}

header .logo {
  height: clamp(40px, 1.932rem + 2.84vw, 65px);
  filter: drop-shadow(0 0 3px rgb(255, 255, 255));
}

.section1 {
  background-image: url(/image/tmariko_template/landing_ysuniverse/pc_lp_mv.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: auto;
  height: 75vh;
  margin-bottom: 120px;
  display: flex;
  align-items: center;
  object-fit: cover;
  position: relative;
}

.section1 .wrap {
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
  margin-bottom: 30px;
}

.section1 .catch-phrase {
  font-family: "Shippori Antique B1", sans-serif;
  font-size: clamp(22px, 0.377rem + 4.25vw, 57px);
  color: var(--primary-color);
  line-height: 1.5;
  margin-bottom: 60px;
}

/* 横幅が 1750px を超える場合 */
@media screen and (min-width: 1751px) {
  .section1 {
    background-position: right top; /* 右上を基準に調整 */
    /* 他の調整が必要であれば追加 */
  }
}

/* タブレット（769px〜1150px） */
@media screen and (min-width: 769px) and (max-width: 1150px) {
  .section1 {
    background-image: url(/image/tmariko_template/landing_ysuniverse/tab_lp_mv2.jpg);
    background-size: cover; /* 必要に応じて調整 */
    background-position: center top; /* 必要に応じて調整 */
    background-repeat: no-repeat;

    min-height: 1000px; /* 必要に応じて調整 */
    position: relative; /* catch-phrase の配置の基準とするため追加 */

    flex-direction: column; /* 要素を縦に並べる */
    justify-content: flex-end; /* 下端に寄せる */
    padding-bottom: 80px; /* 下部に余白を作る（必要に応じて調整） */
  }

  .wrap {
    padding: 0 8px;
    position: absolute;
    bottom: 32px; /* 背景画像のbottomから0pxの位置に配置 */
    left: 50%; /* 水平方向の中央に配置 */
    transform: translateX(-50%); /* 水平方向の中央に配置 */
  }
  .section1 .catch-phrase {
    margin-bottom: 24px;
  }

  .section1 h2 {
    margin-bottom: 8px;
  }
  .section1 .heading {
    margin-bottom: 20px;
  }
  .tagline {
    margin-bottom: 30px;
    display: block;
  }
}

/* スマホ */
@media screen and (max-width: 768px) {
  header {
    padding: 20px 0 0 20px;
  }
  .section1 {
    background-image: url(/image/tmariko_template/landing_ysuniverse/sp_lp_mv2.jpg);
    object-fit: cover;
    margin-bottom: 40px;
    background-position: right top;
  }
  .wrap {
    padding: 0 8px;
    position: absolute;
    bottom: 5px; /* 背景画像のbottomから0pxの位置に配置 */
    left: 50%; /* 水平方向の中央に配置 */
    transform: translateX(-50%); /* 水平方向の中央に配置 */
  }
  .section1 .catch-phrase {
    margin-bottom: 24px;
  }
  .section1 .catch-phrase .sp-copy {
    font-size: 36px;
    line-height: 1.3;
    display: inline-block;
    margin-bottom: 8px;
  }
}

/* ---------------------------------- 

セクション２ 動画

---------------------------------- */

.section2 {
  text-align: center;
  padding-bottom: 120px;
  background-image: url(/image/tmariko_template/landing_ysuniverse/back_01.jpg);
  background-position: bottom right;
  background-size: 80% auto;
  background-repeat: no-repeat;
  margin: 0 auto;
}

.sp-onlytext {
  display: none;
}

.video-container {
  width: 100%; /* 親要素の幅に合わせる */
  max-width: 950px; /* 必要に応じて最大幅を設定 */
  margin: 0 auto; /* 中央寄せにする場合 */
}

.section2 iframe {
  display: block; /* インライン要素の余白問題を解消 */
  width: 100%; /* 親要素の幅に合わせる */
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  box-shadow: 0px 0px 10px -3px rgba(0, 0, 0, 0.3);
}

/* スマホ */
@media screen and (max-width: 768px) {
  .section2 {
    padding-bottom: 40px;
    background-size: cover;
    background-position: bottom -70px right -280px;
  }
  .sp-onlytext {
    display: inline-block;
    font-size: 14px;
    border: solid 1px var(--primary-color);
    padding: 7px 18px 8px;
    margin-bottom: 20px;
  }
  .section2 iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}

/* ----------------------------------

セクション３ メニュー

---------------------------------- */

.section3 {
  background-color: #f4f4f4;
  padding: 120px 0;
  counter-reset: num;
  background-image: url(/image/tmariko_template/landing_ysuniverse/moyou_1100.png);
  background-position: top 50px left 50px;
  background-size: 40%;
  background-repeat: no-repeat;
}

.section3 .row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  background-color: #ffffff;
  padding: 40px;
  margin-bottom: 30px;
  align-items: center;
  box-shadow: 0px 0px 10px -3px rgba(0, 0, 0, 0.3);
  counter-increment: num;
}

.section3 .row::before {
  content: "";
  background-image: linear-gradient(to bottom, #ddb568, #ab9063);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 20px;
  color: #ffffff;
  font-weight: 700;
  font-family: "Jost", sans-serif;
  font-size: 25px;
  line-height: 48px;
  display: inline-block;
  text-align: center;
  content: counter(num); /* カウンターの値を表示 */
}

.section3 .col {
  text-align: left;
}

.section3 .col:first-child {
  width: 60%;
}

.section3 .col:last-child {
  width: 30%;
}

.section3 .sub-photo {
  width: 318px;
  height: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.section3 h3 {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.4;
}

.section3 hr {
  border: solid 1px var(--base-color);
  width: 50px;
  margin-bottom: 20px;
}

.section3 .text {
  margin-bottom: 20px;
}

.section3 .more-btn {
  color: var(--base-color);
  border: solid 1px var(--base-color);
  padding: 8px 45px 9px;
  display: inline-block;
  font-size: clamp(15px, 0.915rem + 0.11vw, 16px);
  transition: 0.3s;
  font-size: 15px;
  font-weight: 500;
}

.section3 .more-btn:hover {
  transition: 0.3s;
  background-image: linear-gradient(to bottom, #ddb568, #ab9063);
  color: var(--white-color);
}

/* タブレット（769px〜890px） */
@media screen and (min-width: 769px) and (max-width: 890px) {
  .section3 .row::before {
    margin-bottom: 10px;
  }

  .section3 .col:first-child {
    width: 100%; /* 少し幅を狭める */
  }

  .section3 .col:last-child {
    width: 100%; /* 少し幅を広げる */
  }

  .section3 .sub-photo {
    width: 100%; /* 親要素に合わせて伸縮させる */
    height: auto;
  }

  .section3 h3 {
    font-size: 24px; /* PCとスマホの中間のサイズ */
    margin-bottom: 18px;
  }

  .section3 hr {
    width: 40px; /* PCとスマホの中間のサイズ */
    margin-bottom: 18px;
  }

  .section3 .text {
    margin-bottom: 18px;
  }

  .section3 .more-btn {
    font-size: 14px; /* PCとスマホの中間のサイズ */
    padding: 8px 30px 9px;
    margin-bottom: 20px;
  }
}

/* スマホ */
@media screen and (max-width: 768px) {
  .section3 {
    padding: 40px 0;
    text-align: center;
  }
  .section3 .row::before {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 0;
    font-size: 22px;
    line-height: 40px;
  }

  .section3 h3 {
    font-size: 21px;
    font-weight: 500;
    margin-bottom: 15px;
  }

  .section3 hr {
    display: inline-block; /* インライン要素にする */
  }
  .section3 .row {
    flex-direction: column; /*要素を縦並びにする */
    margin-bottom: 16px;
    padding: 20px 0;
  }
  .section3 .col {
    width: 100%; /* 列の幅を100%にする */
    text-align: center;
    padding-top: 10px;
  }
  .section3 .col:first-child {
    width: 90%;
  }

  .section3 .col:last-child {
    width: 90%;
  }
  .section3 .sub-photo {
    width: 100%; /* 画像の幅を100%にする */
    height: auto; /* 画像の高さを自動調整する */
  }
  .section3 .more-btn {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* ----------------------------------

セクション４　入会ボタン

---------------------------------- */

.section4 {
  padding: 120px 0;
  text-align: center;
}

.section4 .primary-btn {
  margin: 0 auto;
}

/* ----スマホ---- */
@media screen and (max-width: 768px) {
  .section4 {
    padding: 60px 20px;
  }
  .section4 h2 {
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0;
  }
}

/* ---------------------------------- 

セクション５ 詳細 

---------------------------------- */
.section5 {
  text-align: center;
  background-color: #f4f4f4;
  padding: 120px 0;
  background-image: url(/image/tmariko_template/landing_ysuniverse/moyou_1100.png);
  background-position: bottom 50px right 50px;
  background-size: 30%;
  background-repeat: no-repeat;
}

.section5 .row {
  display: flex;
  /* border-top: solid 1px #c6c6c6; */
  padding: 40px;
  align-items: center;
  border-top: solid 1px #c6c6c6;
}

.section5 .row:last-of-type {
  margin-bottom: 90px;
  border-bottom: solid 1px #c6c6c6;
}

.section5 .label {
  text-align: left;
  font-weight: 600;
  width: 20%;
  font-size: 14px;
}

.section5 .value {
  text-align: left;
  width: 80%;
  font-size: 14px;
  line-height: 2;
}

/* ----スマホ---- */
@media screen and (max-width: 768px) {
  .section5 {
    padding: 60px 20px;
  }
  .section5 .row {
    flex-wrap: wrap;
    padding: 24px 0;
  }
  .section5 .label {
    width: 100%;
    margin-bottom: 5px;
  }
  .section5 .value {
    width: 100%;
    line-height: 1.6;
  }
  .section5 .row:last-of-type {
    margin-bottom: 24px;
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* ----------------------------------

セクション6 お問い合わせ

---------------------------------- */

.section6 {
  text-align: center;
  padding: 120px 0;
  background-image: url(/image/tmariko_template/landing_ysuniverse/back_02.jpg);
  background-position: bottom left;
  background-size: 80% auto;
  background-repeat: no-repeat;
}
.section6 .text-btn {
  font-weight: 500;
  transition: 0.3s;
  color: var(--gold001-color);
}
.section6 .text-btn:hover {
  color: var(--base-color);
  transition: 0.3s;
  border-bottom: solid 1px var(--base-color);
}
.section6 .text {
  margin-bottom: 50px;
}

/* ----スマホ---- */
@media screen and (max-width: 768px) {
  .section6 {
    padding: 60px 20px;
    background-size: cover;
    background-position: bottom -90px center;
  }
  .section6 .text {
    margin-bottom: 24px;
  }
}

/* ----------------------------------

フッター

---------------------------------- */

footer {
  text-align: center;
  background-color: var(--logo-color);
  padding: 20px 0;
  font-size: 13px;
  color: var(--white-color);
}
