@charset "utf-8";

/* ===============================================
   CORU TOP メインビジュアル
   ログイン前・ログイン後共通
=============================================== */

.coru-top-hero,
.coru-top-hero *,
.coru-top-hero *::before,
.coru-top-hero *::after {
  box-sizing: border-box;
}

.coru-top-hero {
  position: relative;
  width: 100vw;
  max-width: none;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  color: #23442f;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.75;
}


/* ===============================================
   ログイン後メインビジュアル
=============================================== */

.coru-top-hero--member {
  width: 100vw;
  max-width: none;
  height: auto;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: #eaf2ea;
}

.coru-top-hero--member .coru-top-hero__image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
}

/* システム標準CSSより優先 */
body.LC_Page_Index .coru-top-hero--member {
  width: 100vw !important;
  max-width: none !important;
}

body.LC_Page_Index .coru-top-hero--member .coru-top-hero__image {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
}


/* ===============================================
   ログイン前メインビジュアル
=============================================== */

/*
   kv01.jpgの比率
   横3500px・縦1673px
   1673 ÷ 3500 = 約47.8%
*/

.coru-top-hero--guest {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100vw;
  max-width: none;
  height: 47.8vw;
  min-height: 0;
  max-height: none;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  isolation: isolate;
  background:
    url("../img/kv01.jpg")
    center center / cover no-repeat;
}

/* システム標準CSSより優先 */
body.LC_Page_Index .coru-top-hero--guest {
  width: 100vw !important;
  max-width: none !important;
  height: 47.8vw !important;
  min-height: 0 !important;
  max-height: none !important;
}


/* ===============================================
   ログイン前メインビジュアル内側
=============================================== */

.coru-top-hero--guest .coru-top-hero__inner {
  position: relative;
  z-index: 1;
  width: calc(100% - 48px);
  max-width: 1100px;
  margin: 0 auto;
  padding: 68px 0;
  text-align: center;
}

/* ログイン前トップ：ボタン下のショップロゴ */
.coru-top-hero--guest .coru-top-hero__shop-logo {
  display: block;
  width: 215px;
  max-width: 70%;
  height: auto;
  margin: 85px auto 0;
  padding: 0;
  border: 0;
}

/* ===============================================
   ログイン前メインビジュアル見出し
=============================================== */

#main_column .coru-top-hero h1.coru-top-hero__title {
  margin: 0 0 22px;
  padding: 0;
  border: none;
  background: none;
  color: #23442f;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .2em;
  text-align: center;
}

.coru-top-hero__title strong {
  font-size: 1.15em;
  font-weight: 500;
  letter-spacing: 6px;
}

.coru-top-hero__title span {
  font-size: 0.72em;
  font-weight: 500;
  letter-spacing: 2px;
}


/* ===============================================
   ログイン前メインビジュアル本文
=============================================== */

.coru-top-hero__lead,
.coru-top-hero__text {
  margin: 0;
  padding: 0;
  color: #23442f;
  text-align: center;
}

.coru-top-hero__lead {
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: .05em;
}

.coru-top-hero__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0;
}


/* ===============================================
   ログイン前メインビジュアルボタン
=============================================== */

.coru-top-hero__buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
}

.coru-top-hero .coru-top-hero-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 360px;
  min-height: 90px;
  padding: 14px 26px;
  border-radius: 60px;
  color: #23442f;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.coru-top-hero-button--entry {
  border: 2px solid #23442f;
  background: rgba(255, 255, 255, 0.88);
}

.coru-top-hero-button--login {
  border: 2px solid #ffb65f;
  background: #ffb65f;
}

.coru-top-hero-button__icon {
  display: block;
  flex: 0 0 auto;
  width: 40px;
  height: auto;
  object-fit: contain;
}

.coru-top-hero-button__body {
  display: block;
}

.coru-top-hero-button__title,
.coru-top-hero-button__sub {
  display: block;
  color: #1a1a1a;
}

.coru-top-hero-button__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

.coru-top-hero-button__sub {
  margin-top: 2px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.coru-top-hero .coru-top-hero-button:hover,
.coru-top-hero .coru-top-hero-button:focus-visible {
  color: #23442f;
  opacity: 1;
  filter: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(35, 70, 50, 0.14);
}

.coru-top-hero .coru-top-hero-button--entry:hover,
.coru-top-hero .coru-top-hero-button--entry:focus-visible {
  background: #fff;
}

.coru-top-hero .coru-top-hero-button--login:hover,
.coru-top-hero .coru-top-hero-button--login:focus-visible {
  background: #ffaa45;
}

.coru-top-hero .coru-top-hero-button:hover .coru-top-hero-button__title,
.coru-top-hero .coru-top-hero-button:hover .coru-top-hero-button__sub,
.coru-top-hero .coru-top-hero-button:focus-visible .coru-top-hero-button__title,
.coru-top-hero .coru-top-hero-button:focus-visible .coru-top-hero-button__sub {
  color: #1a1a1a;
  font-weight: 500;
  opacity: 1;
}

.coru-top-hero .coru-top-hero-button:focus-visible {
  outline: 3px solid #b48237;
  outline-offset: 4px;
}


/* ===============================================
   スマートフォン
=============================================== */

@media screen and (max-width: 640px) {
  /*
     ログイン前は画像比率だけでは高さが不足するため、
     テキストとボタンが収まる最低高さを確保します。
  */

  body.LC_Page_Index .coru-top-hero--guest {
    width: 100vw !important;
    height: auto !important;
    min-height: 550px !important;
    max-height: none !important;
    background-position: 65% center;
  }

  .coru-top-hero--guest .coru-top-hero__inner {
    width: calc(100% - 40px);
    padding: 58px 0;
  }

  #main_column .coru-top-hero h1.coru-top-hero__title {
    margin-bottom: 22px;
    font-size: 23px;
    line-height: 1.6;
    letter-spacing: 2px;
  }

  .coru-top-hero__title strong,
  .coru-top-hero__title span {
    display: block;
  }

  .coru-top-hero__title strong {
    letter-spacing: 5px;
  }

  .coru-top-hero__title span {
    margin-top: 4px;
    font-size: 0.7em;
  }

  .coru-top-hero__lead {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.9;
  }

  .coru-top-hero__text {
    font-size: 12px;
    line-height: 1.9;
  }

  .coru-top-hero__buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
  }

  .coru-top-hero .coru-top-hero-button {
    width: 100%;
    max-width: 350px;
    min-height: 76px;
    gap: 20px;
    padding: 12px 22px;
  }

  .coru-top-hero-button__icon {
    width: 34px;
  }

  .coru-top-hero-button__title {
    font-size: 16px;
  }

  .coru-top-hero-button__sub {
    font-size: 12px;
  }

  /*
     ログイン後はimg要素なので、
     スマートフォンでも画像本来の比率を維持します。
  */

  body.LC_Page_Index .coru-top-hero--member,
  body.LC_Page_Index .coru-top-hero--member .coru-top-hero__image {
    width: 100vw !important;
    max-width: none !important;
    height: auto !important;
  }
}


/* ===============================================
   動きを減らす設定
=============================================== */

@media (prefers-reduced-motion: reduce) {
  .coru-top-hero .coru-top-hero-button {
    transition: none;
  }
}
