*,
*::before,
*::after {
  box-sizing: border-box;
}

@font-face {
  font-family: "Affogato";
  src: url(../font/AffogatoRegular.otf);
}

body {
  width: 100%;
  height: 100%;
  font-family:
    "Yu Gothic", "游ゴシック体", YuGothic, "游ゴシック Medium",
    "Yu Gothic Medium", "游ゴシック", sans-serif;
  letter-spacing: 0.1em;
  font-size: var(--fs14);
  font-weight: bold;
  color: var(--main-color1);
  background-image: url(../images/bg-body.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

:root {
  --main-color1: #424242;
  --main-color2: #fffffd;
  --sub-color1: #aa8bc3;
  /* --sub-color2: #;
    --sub-color3: #; */
  --fs10: calc(10 / 16 * 1rem);
  --fs11: calc(11 / 16 * 1rem);
  --fs12: calc(12 / 16 * 1rem);
  --fs13: calc(13 / 16 * 1rem);
  --fs14: calc(14 / 16 * 1rem);
  --fs15: calc(15 / 16 * 1rem);
  --fs16: calc(16 / 16 * 1rem);
  --fs17: calc(17 / 16 * 1rem);
  --fs18: calc(18 / 16 * 1rem);
  --fs19: calc(19 / 16 * 1rem);
  --fs20: calc(20 / 16 * 1rem);
  --fs21: calc(21 / 16 * 1rem);
  --fs22: calc(22 / 16 * 1rem);
  --fs23: calc(23 / 16 * 1rem);
  --fs24: calc(24 / 16 * 1rem);
  --fs25: calc(25 / 16 * 1rem);
  --fs26: calc(26 / 16 * 1rem);
  --fs27: calc(27 / 16 * 1rem);
  --fs28: calc(28 / 16 * 1rem);
  --fs29: calc(29 / 16 * 1rem);
  --fs30: calc(30 / 16 * 1rem);
  --fs31: calc(31 / 16 * 1rem);
  --fs32: calc(32 / 16 * 1rem);
  --fs33: calc(33 / 16 * 1rem);
  --fs34: calc(34 / 16 * 1rem);
  --fs35: calc(35 / 16 * 1rem);
  --fs36: calc(36 / 16 * 1rem);
  --fs37: calc(37 / 16 * 1rem);
  --fs38: calc(38 / 16 * 1rem);
  --fs39: calc(39 / 16 * 1rem);
  --fs40: calc(40 / 16 * 1rem);
  --fs42: calc(42 / 16 * 1rem);
  --fs44: calc(44 / 16 * 1rem);
  --fs46: calc(46 / 16 * 1rem);
  --fs48: calc(48 / 16 * 1rem);
  --fs50: calc(50 / 16 * 1rem);
  --fs52: calc(52 / 16 * 1rem);
  --fs54: calc(54 / 16 * 1rem);
  --fs56: calc(56 / 16 * 1rem);
  --fs58: calc(58 / 16 * 1rem);
  --fs60: calc(60 / 16 * 1rem);
  --fs70: calc(70 / 16 * 1rem);
  --fs80: calc(80 / 16 * 1rem);
}

p {
  font-size: var(--fs14);
  /* ↑上の変数を反映させる書き方 */
  /*  margin-bottom: 1em; */
}

.wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.main_title {
  font-family: Affogato;
  font-size: var(--fs32);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 100px;
  padding-bottom: 50px;
}

.nail_category_title {
  font-family: Affogato;
  font-size: var(--fs28);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 30px;
}

.white {
  color: var(--main-color2);
}

.main_title span {
  display: block;
  font-size: var(--fs14);
  /* margin-bottom: 100px; */
  letter-spacing: 0;
}

/* check */
#category_title {
  font-size: var(--fs28);
  font-weight: 400;
}

/* check out */
.sub_title {
  font-family: Affogato;
  font-size: var(--fs26);
  padding-bottom: 10px;
  margin-bottom: 80px;
  border-bottom: solid 1px var(--main-color2);
  font-weight: 400;
  letter-spacing: 0.2em;
}

.sub_title span {
  font-size: var(--fs14);
  letter-spacing: 0;
  font-family:
    "Yu Gothic", "游ゴシック体", YuGothic, "游ゴシック Medium",
    "Yu Gothic Medium", "游ゴシック", sans-serif;
}

.sub_title span::before {
  content: "/";
  margin: 0 1em;
}

.btn_wh {
  /* display: inline-block; */
  background-color: var(--main-color2);
  padding: 14px 75px;
  display: block;
  width: fit-content;
  text-align: center;
  margin-inline: auto;
  position: relative;
  box-sizing: border-box;
}

/* 追加 */
.btn_wh::before {
  content: "";
  width: 30px;
  height: 1px;
  display: block;
  background: #000;
  position: absolute;
  left: 0;
  top: 48%;
  translate: 0 -50%;
}

.btn_wh::after {
  content: "";
  width: 10px;
  height: 1px;
  display: block;
  background: #000;
  position: absolute;
  rotate: 30deg;
  top: 50%;
  left: 30px;
  translate: -10px -3px;
}

/* 追加ここまで */
.btn_bk {
  /* display: inline-block; */
  background-color: #000;
  color: var(--main-color2);
  padding: 14px 75px;
  display: block;
  width: fit-content;
  text-align: center;
  margin-inline: auto;
  position: relative;
  box-sizing: border-box;
}

/* 追加 */
.btn_bk::before {
  content: "";
  width: 30px;
  height: 1px;
  display: block;
  background: #fff;
  position: absolute;
  left: 0;
  top: 48%;
  translate: 0 -50%;
}

.btn_bk::after {
  content: "";
  width: 10px;
  height: 1px;
  display: block;
  background: #fff;
  position: absolute;
  rotate: 30deg;
  top: 50%;
  left: 30px;
  translate: -10px -3px;
}

.btn_bk:hover,
.btn_wh:hover {
  border-radius: 8px;
  transform: scale(0.95);
}


/* 追加ここまで */
.inner {
  width: 1000px;
  margin: 0 auto;
}

.marker_bk {
  display: inline-block;
  padding: 0.1em 1em;
  color: var(--main-color2);
  background-color: #000;
}

.marker_accent {
  display: inline-block;
  padding: 0.1em 1em;
  color: var(--main-color2);
  background-color: var(--sub-color1);
}

.menu_list_img,
.staff_list_item,
.gallery_list_item {
  opacity: 0;
  transform: translateY(50px);
}

.menu_list_img.show,
.staff_list_item.show,
.gallery_list_item.show {
  opacity: 1;
  transform: none;
  transition: all 0.3s;
}

#top-access,
#top-insta {
  background-image: url(../images/bg-white.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

/* ===================================================================== */
/* Link * /
/* ===================================================================== */

a,
/* a:link, */
a:active {
  text-decoration: none;
  outline: none;
  transition: 0.2s;
  color: inherit;
}

a:hover {
  /* color: var(--sub-color1); */
  text-decoration: none;
  transition: 0.2s;
}

a img {
  border: none;
  transition: 0.2s;
}

a:hover img {
  opacity: 0.5;
  transition: 0.2s;
}

/* ===================================================================== */
/* Image * /
/* ===================================================================== */

/* イメージ画像を歪ませないで、綺麗にするために必要な考え方。 */
img {
  max-width: 100%;
  max-height: 100%;
  /* filter: brightness(1.1) contrast(1.1) grayscale(0.2); */
}

.object-fit {
  object-fit: cover;
  font-family: "object-fit: cover;";
  /*IE対策*/
}

.img-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 2;

  &::before {
    content: "";
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 66.6666%;
  }

  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }

  img {
    position: absolute;
    top: 0;
    left: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    font-family: "object-fit: cover;";
    object-position: center center;
  }
}

/* WP-PageNavi 全体の装飾 */
.wp-pagenavi {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 60px auto;
  clear: both;
}

.wp-pagenavi a,
.wp-pagenavi span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  text-decoration: none;
  font-size: 16px;
  color: var(--main-color1);
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  background-color: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 現在のページ */
.wp-pagenavi span.current {
  background-color: var(--main-color2);
  color: var(--main-color1);
  border: 1px solid var(--main-color2);
  text-decoration: none;
}

/* 他のページ */
.wp-pagenavi a:hover {
  border: 1px solid var(--main-color1);
  background-color: transparent;
  color: var(--main-color1);
}

.wp-pagenavi .nextpostslink,
.wp-pagenavi .previouspostslink {
  width: auto;
  padding: 0 15px;
}




@media (max-width: 767px) {
  .main_title {
    font-size: var(--fs26);
    margin-bottom: 50px;
  }

  .main_title span {
    font-size: var(--fs16);
  }

  .sub_title {
    font-size: var(--fs22);
    padding-bottom: 5px;
    margin-bottom: 50px;
    width: 100%;
  }

  .sub_title span {
    font-size: var(--fs12);
  }

  .nail_category_title {
    font-size: var(--fs24);
  }

  .inner {
    /*  width: 350px;*/
    /* スマホの時、メインの大きさを決めてるところは、100%とかautoとかにしてあげましょう。大きさを決め打ちしない。そのデバイスごとの
    パーセンテージで決めるようにする。 */
    width: 100%;
    padding: 0 20px;
  }

  .brsp::after {
    content: "\A";
    white-space: pre-line;
  }
}

.pc_none {
  display: none;
}

.footer iframe {
  width: 350px;
  height: 200px;
}

.title_bg {
  width: 100%;
  height: 430px;
  background-image: url(../images/bg-section.png);
  background-size: cover;
  position: relative;
}

.section_title {
  position: absolute;
  top: 200px;
}

@media (max-width: 767px) {
  .pc_none {
    display: block;
  }

  .footer iframe {
    width: 100%;
    height: 300px;
  }

  .wp-pagenavi {
    margin: 40px auto;
  }

  .wp-pagenavi a,
  .wp-pagenavi span {
    width: 35px;
    height: 35px;
    font-size: 13px;
  }
}