/* 共通スタイル用CSS */

/* bp => 1200px => 960px */

html {
  scroll-behavior: auto;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.25rem;
}

strong {
  font-weight: inherit;
}

a:hover {
  opacity: 0.7;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#contents-wrapper {
  background-color: #c3b1de;
  width: 100%;
  min-height: 100vh;
}

/* ボタンっぽいリンク */

.link-like-btn {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.3em;
  color: white;
  display: block;
  background-color: #904a88;
  font-size: 2.5rem;
  padding: 0.5rem 3rem;
  margin: 0.25rem;
  text-align: center;
  width: 600px;
}

.option-kotira {
  font-size: 1.25rem;
  text-decoration: underline;
}

.only-show-sp {
  display: none;
}
.only-show-sp-xs {
  display: none;
}
.narrow-letter {
  letter-spacing: -2px;
}

.bg-lightgreen {
  background-color: #aec3a4 !important;
}

.text-purple {
  color: #904a88;
}

.red {
  color: #ed0000;
}

.blue {
  color: #0061ff;
}

.hover-underline:hover {
  text-decoration: underline;
}

.select-all {
  user-select: all;
}

/* 強制改行禁止 */
.nowrap {
  white-space: nowrap;
}

/* 注意書き用の小さい文字サイズ */

.small-text {
  font-size: 0.75rem;
}

/* ちょっと大きめの文字サイズ */

.large-text {
  font-size: 1.25rem;
}

/* 大きめの文字サイズ */
.larger-text {
  font-size: 1.5rem;
}

/* かなり大きめの文字サイズ */
.largest-text {
  font-size: 2rem;
}

.img-box {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 仮画像指定 */
.img-box[data-kari="true"]::after {
  content: "仮画像";
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0, 0.5);
}

.img-box img,
.img-box > picture {
  width: fit-content;
  max-width: 100%;
  height: auto;
}

.bx-wrapper img,
.bx-wrapper picture {
  width: fit-content;
  height: auto;
}

/* ヘッダー */

header {
  display: flex;
  width: 100%;
  height: 60px;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

#header-img {
  height: 50px;
  max-width: 238px;
}

#header-box {
  width: 1200px;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#header-box > h1 {
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

#h_navi > ul {
  display: flex;
  height: 100%;
}

#h_navi > ul > li {
  padding: 0 0.75rem;
  display: inline-block;
  height: 100%;
  display: flex;
  align-items: center;
  text-align: center;
  white-space: nowrap;
  font-family: serif;
  font-weight: bold;
}

#h_navi > ul > li:last-child {
  position: relative;
}

/* 通販サイトメニュー */

.ec-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  background-color: #ffffff;
  text-align: center;
  transform: translateY(-100%);
}

/* 通販サイトメニュー展開時 */

.ec-menu.active {
  display: flex;
  transform: translateY(0);
  top: 60px;
  /*
  右位置を計算。
  body幅からからメインの1200pxを引いた残りの半分の位置で、メイン要素の右端になるはず。
  */
}

.ec-menu ul {
  padding: 0;
  margin: 0;
}

.ec-menu ul li {
  display: block;
  padding: 40px;
  height: 96px;
  border-bottom: #000 solid 1px;
}

.ec-menu ul li:last-child {
  border: none;
}

.ec-menu ul li a {
  color: #000;
  font-family: serif;
  font-weight: bold;
}

.ec-toggle {
  position: relative;
}

/* ハンバーガーメニュー */

.navToggle {
  display: none;
  position: fixed;
  /* bodyに対しての絶対位置指定*/
  top: 5px;
  right: 15px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 3;
  text-align: center;
  background-color: #c3b1de;
  border-radius: 5px;
  z-index: 10001;
}

nav.globalMenuSp {
  display: none;
}

nav.globalMenuSp.inactive {
  position: fixed;
  z-index: 2;
  top: 60px;
  left: 0;
  width: 100%;
  background: #fff;
  color: #000;
  text-align: center;
  transform: translateX(100%);
  transition: all 0.6s;
  z-index: 10000;
}

nav.globalMenuSp ul {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  background: #ccc;
}

nav.globalMenuSp ul li {
  padding: 0;
  width: 100%;
  list-style-type: none;
  font-size: 1.25rem;
  border-bottom: 1px solid #fff;
}

/* 最後はラインを描かない */

nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

nav.globalMenuSp ul li a {
  display: block;
  padding: 1em 0;
  background-color: #c3b1de;
  color: #000;
}

/* このクラスを、JQueryを付与・削除する */

nav.globalMenuSp.active {
  transition: all 0.6s;
  transform: translateY(0%);
}

.navToggle span {
  display: block;
  position: absolute;
  /* .navToggleに対して */
  left: 10px;
  width: 31px;
  border-bottom: solid 3px #fff;
  transition: 0.35s ease-in-out;
  border-radius: 3px;
}

.navToggle span:nth-child(1) {
  top: 13px;
}

.navToggle span:nth-child(2) {
  top: 24px;
}

.navToggle span:nth-child(3) {
  top: 35px;
}

/* 最初のspanをマイナス45度に */

.navToggle.active span {
  top: 25px;
  transform: rotate(-45deg);
}

/* 2番目と3番目のspanを45度に */

.navToggle.active span:nth-child(2),
.navToggle.active span:nth-child(3) {
  transform: rotate(45deg);
}

.navToggle.active span:nth-child(2) {
  opacity: 0;
}

/* トップ画像を入れる */

#top-img-box {
  width: 1200px;
}

.bx-viewport > .slider a {
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-img {
  height: 100%;
}

/* ページ内コンテンツ本体 */

#contents {
  width: 1200px;
}

#contents section {
  padding: 3.5rem 0;
  width: 100%;
  min-height: 40vh;
  border-radius: 10px;
  background-color: #fff;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#contents > section h2,
#contents > section h3 {
  margin-bottom: 2.5rem !important;
  text-align: center;
}

#contents > section > div {
  margin-bottom: 3rem;
}

.bx-wrapper {
  margin-bottom: 45px !important;
}

/* フッター */

footer {
  position: relative;
  padding: 2rem;
  gap: 0.5rem;
  background-color: #fff;
  width: 100%;
  min-height: 80px;
}

#footer-wrapper {
  width: 100%;
  min-height: 80px;
  display: flex;
  justify-content: center;
}

#footer-box {
  width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

#footer-box p {
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

/* トップへ戻るボタン */

#to-top {
  position: absolute;
  bottom: 2.25rem;
  right: 0.25rem;
  border: none;
  background-color: transparent;
}

#to-top:hover {
  text-decoration: underline;
}

.footer-adress p {
  text-align: left;
}

.footer-privacy p {
  text-align: center;
}

/* bxslider読み込みまでに使用されるCSS */
#top-img-box > .slider {
  position: relative;
  min-height: 470px;
  background-color: white;
  margin-bottom: 90px;
}

#top-img-box > .slider > .silider-img-wrapper-a {
  position: absolute;
  width: 100%;
  height: 110%;
}

#top-img-box > .slider > .silider-img-wrapper-a img {
  position: relative;
  width: 100%;
}

#top-img-box > .slider > .silider-img-wrapper-a:before {
  display: flex;
  justify-content: center;
  align-items: center;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(2px);
  z-index: 1;
}

#top-img-box > .slider > .silider-img-wrapper-a::after {
  content: "";
  height: 100%;
  width: 50px;
  margin-bottom: 4rem;
}

.attention-p-box {
  padding: 0 5rem;
}
.attention-p-box p {
  margin-bottom: 1rem;
}
