@charset "utf-8";

/* JSでbodyに付与するクラス */
body.is-modal-open {
  overflow: hidden;
}

/* ページ全体のスタイル　主に色 */
body {
  background-color: #1b324d;
}

.box_top {
  background-color: #fff;
  color: 000000;
}

.nametx {
  background-color: #267597;
}
.img_notes_2_wrapper img {
  vertical-align: bottom;
}
.fragrance_tx {
  color: #ffe600;
}

.info_area {
  color: #000;
}

.fragrance_tx {
  margin-top: 2rem;
}

.fragrance_text_r2 {
  margin: 0 0 2% 2%;
  color: #fff;
}
.img_notes_2 {
  margin: 0;
}

.img_notes_2_wrapper {
  position: relative;
}
.img_notes_2_wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, #1b324d 3%, transparent 3%, transparent 97%, #1b324d 97%);
}

.nametx {
  z-index: 0;
}
.nametx--ls {
  letter-spacing: 0.2em;
}

.p-under599 {
  display: none;
}

/* ■■■ ポップアップ画面に関する ■■■ */
.p-overlay {
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
  opacity: 0;
  width: 100vw;
  height: 100vh;
  visibility: none;
  transition: visibility 0.2s, opacity 0.2s;
}
.p-overlay.js-open {
  opacity: 0.9;
  visibility: visible;
  cursor: pointer;
}

.p-caution {
  position: fixed;
  top: 50%;
  left: 50%;
  background-color: #000;
  width: 100%;
  height: 100%;
  width: 800px;
  max-height: 0px;
  opacity: 0;
  visibility: none;
  transform: translate(-50%, -50%);
  transition: visibility 0.5s, max-height 0.5s, opacity 0.5s;
}
.p-caution.js-open {
  opacity: 1;
  visibility: visible;
  max-height: 350px;
}

.p-caution__container {
  width: 100%;
  height: 100%;
  outline: 3px solid #fff;
  outline-offset: -10px;
  position: relative;
  display: flex;
  justify-content: left;
  align-items: center;
}

.p-caution_close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.p-caution_closeSpan {
  font-size: 12px;
  position: absolute;
  top: 33px;
  left: 2px;
}

/* バーの開閉アニメーション */
.p-caution_close::before,
.p-caution_close::after {
  content: "";
  position: absolute;
  background-color: #fff;
  border-radius: 3px;
  top: 50%;
  left: 50%;
  width: 45px;
  height: 3px;
}
.p-caution_close::before {
  animation-name: bar1;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
}
.p-caution.js-open .p-caution_close::before {
  animation-name: bar1_open;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
}
@keyframes bar1 {
  0% {
    transform: translate(-50%, -50%) rotate(45deg) scaleX(1);
  }
  50% {
    transform: translate(-50%, -50%) rotate(0deg) scaleX(1);
  }
  100% {
    transform: translate(-50%, -50%) rotate(0deg) scaleX(0);
  }
}
@keyframes bar1_open {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scaleX(0);
  }
  50% {
    transform: translate(-50%, -50%) rotate(0deg) scaleX(1);
  }
  100% {
    transform: translate(-50%, -50%) rotate(45deg) scaleX(1);
  }
}

.p-caution_close::after {
  top: 50%;
  left: 50%;
  width: 3px;
  height: 45px;
  animation-name: bar2;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
}
.p-caution.js-open .p-caution_close::after {
  animation-name: bar2_open;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
}
@keyframes bar2 {
  0% {
    transform: translate(-50%, -50%) rotate(45deg) scaleX(1);
  }
  50% {
    transform: translate(-50%, -50%) rotate(90deg) scaleX(1);
  }
  100% {
    transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
  }
}
@keyframes bar2_open {
  0% {
    transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
  }
  50% {
    transform: translate(-50%, -50%) rotate(90deg) scaleX(1);
  }
  100% {
    transform: translate(-50%, -50%) rotate(45deg) scaleX(1);
  }
}
/* バーの開閉アニメーションここまで */

.p-caution__imgBox {
  /* width: calc(100% - 32em); */
  width: 270px;
  height: 100%;
  background-image: url(./img/toshikai1.png);
  background-size: 96%;
  background-position: 20px 0px;
  background-repeat: no-repeat;
}

.p-caution__pBox {
  width: auto;
  margin-top: 2rem;
}

.p-caution__p {
  font-family: serif;
  padding: 0;
  margin: 1em 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}

/* ボタンのスタイル */
.p-button__box {
  margin-top: 2em;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.p-button__dtl {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.p-button__dtl a {
  background: #fff;
  border: solid 2px #686868;
  color: #686868;
  margin: 0;
  padding: 10px 15px 10px 25px;
  font-size: 15px;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.p-button__dtl__red {
  color: #ff3838;
  margin: 0;
  display: inline-block;
  font-family: serif;
  font-weight: bold;
}
.p-button__dtl__p {
  margin: 0;
  line-height: 1;
}
.p-button__dtl__span {
  font-size: 0.8em;
  font-family: serif;
  font-weight: bold;
  color: #ff3838;
  letter-spacing: 0.3em;
  margin: 0;
  line-height: 1.5;
}

.p-button__ec {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.p-button__ec__a {
  display: inline-block;
  background: #686868 !important;
  border: solid 2px #686868;
  color: #fff;
  margin-top: 0.5em;
  padding: 6px 45px;
  font-size: 15px;
  text-decoration: none;
}

.p-button__glasses {
  display: block;
  width: 35px;
  margin-left: 12px;
}
.p-button__arrow {
  display: block;
  width: 25px;
}

@media (max-width: 799px) {
  .p-caution {
    width: 600px;
  }
  .p-caution.js-open {
    max-height: 262px;
  }
  .p-caution__container {
    outline: 2px solid #fff;
    justify-content: space-between;
    outline-offset: -8px;
  }
  .p-caution__imgBox {
    width: 150px;
    background-size: 100%;
    background-position: 5px 60%;
  }
  .p-caution__pBox {
    margin-top: 0;
    padding-right: 0.75em;
  }
  .p-caution__p {
    margin: 1em 0;
    font-size: 14px;
    line-height: 1.5;
  }
}

@media screen and (max-width: 767px) {
  .fragrance_tx {
    font-size: 14px;
    margin-top: 25px;
  }
}

@media (max-width: 599px) {
  .p-caution {
    width: 95vw;
  }
  .p-caution.js-open {
    max-height: 90dvh;
  }
  .p-caution__container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90dvh;
  }
  .p-caution__imgBox {
    width: 69%;
    height: 50%;
    background-size: 100%;
    background-position: 0px center;
  }
  .p-caution__pBox {
    padding: 0 1em 0;
  }
  .p-caution__p {
    margin: 1em 0;
    font-size: 3.5vw;
    line-height: 1.5;
    text-align: center;
  }

  .p-under599 {
    display: block;
  }
  .u-colorRed {
    letter-spacing: 0.1em;
  }
}
@media (max-width: 380px) {
  .p-caution {
    width: 100vw;
  }
  .p-caution.js-open {
    max-height: 100dvh;
  }
  .p-caution__container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100dvh;
  }
  .p-caution__imgBox {
    width: 60%;
    height: 50%;
    background-size: 100%;
    background-position: 0px center;
  }
  .p-caution__p {
    margin: 1em 0;
    line-height: 1.5;
    text-align: center;
  }

  .p-under599 {
    display: block;
  }
  .u-colorRed {
    letter-spacing: 0.1em;
  }
}

.u-colorRed {
  color: red;
  font-weight: bold;
}
