@charset "UTF-8";

.body {
  text-align: left;
}

.bg1 {
  background-color: #fff;
}

/*=============================================================
#mainimage
=============================================================*/

#mainimage {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 0;
  background-image: url("../image/mainimage.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-attachment: fixed;
}

@media screen and (max-width: 960px) {
  #mainimage {
    width: 100%;
    overflow: hidden;
    position: inherit;
    background-image: none;
  }

  /* 背景画像 */
  #mainimage .parallax::before {
    background-image: url("../image/mainimage.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: -10;
  }
}

#mainimage .maintop {
  width: 100%;
  height: 100vh;
  position: relative;
}

#mainimage .maintop h2 {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  -webkit- transform: translateX(-50%);
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  font-size: 34px;
  color: #fff;
  text-shadow: 0 0 0.2em black;
  line-height: 1.8em;
  text-align: left;
  z-index: 100
}

#mainimage .maintop a {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit- transform: translateY(-50%) translateX(-50%);
  z-index: 100;
}

#mainimage .maingradation {
  padding-top: 50vh;
  background: rgba(255, 255, 255, 0.8);
  /*保険用*/
  background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 100%) 100%);
  /*古いFireFox向け*/
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 100%) 100%);
  /*古いSafariなど向け*/
  filter: progid:DXImageTransform.Microsoft.Gradient(startColorstr='gold',
      endColorstr='orange',
      GradientType=0);
  /*IE9以下向け*/
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 100%);
  /*正規の指定*/
}

#mainimage .mainsecond {
  background: rgba(255, 255, 255, 0.8);
  padding-bottom: 60px;
}

#mainimage .mainsecond p {
  line-height: 2.5em;
}

#mainimage .mainsecond p.kagi {
  position: relative;
  padding: 1rem;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin: 60px 0 0;
}

#mainimage .mainsecond p.kagi::before,
#mainimage .mainsecond p.kagi::after {
  position: absolute;
  width: 30px;
  height: 30px;
  content: '';
}

#mainimage .mainsecond p.kagi::before {
  border-left: solid 1px;
  border-top: solid 1px;
  top: 0;
  left: 0;
}

#mainimage .mainsecond p.kagi::after {
  border-right: solid 1px;
  border-bottom: solid 1px;
  bottom: 0;
  right: 0;
}

/*=============================================================
#Mind
=============================================================*/
#Mind {
  padding: 60px 0;
}

#Mind .title {
  display: flex;
  justify-content: space-between;
}

#Mind h5 {
  font-size: 20px;
}

#Mind h5.tate {
  font-size: 40px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

#Mind h5.tate span {
  font-size: 65px;
  vertical-align: middle;
}

#Mind .subtitle {
  position: relative;
  margin: 30px 0;
}

#Mind .subtitle h3 {
  font-size: 20px;
  font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
}

#Mind .subtitle h3::before {
  content: attr(data-en);
  position: absolute;
  top: -60px;
  left: 0;
  color: rgba(0, 0, 0, 0.1);
  font-size: 75px;
}

#box_one ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 10px 0 60px;
}

#box_one ul li {
  width: 90px;
  position: relative;
  padding: 10px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  margin: 30px 0;
}

#box_one ul li::before,
#box_one ul li::after {
  position: absolute;
  width: 30px;
  height: 30px;
  content: '';
}

#box_one ul li::before {
  border-left: solid 1px;
  border-top: solid 1px;
  top: 0;
  left: 0;
}

#box_one ul li::after {
  border-right: solid 1px;
  border-bottom: solid 1px;
  bottom: 0;
  right: 0;
}

#box_one ul li .box {
  width: 100%;
  height: 90px;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

#box_two {
  margin: 60px 0 80px;
}

#box_two h5 {
  font-size: 40px;
  text-align: center;
  margin: 30px 0;
}

#box_two ul li {
  margin-bottom: 30px;
}

#box_two ul li .box dl {
  text-align: center;
  margin-bottom: 10px;
}

#box_two ul li .box dt {
  width: 164px;
  margin: auto;
}

#box_two ul li .box dd {
  font-size: 16px;
}

#box_two .cp_box *,
.cp_box *:before,
.cp_box *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#box_two .cp_box {
  width: auto;
  margin: 2em auto;
}

#box_two .cp_box label {
  font-weight: bold;
  position: relative;
  display: block;
  width: 130px;
  padding: 0.3em 1em 0.5em;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  color: #ffffff;
  background: #333;
  border-radius: 3px;
  margin: 30px 0;
}

#box_two .cp_box label:hover {
  transition: all 0.3s;
  color: #ffffff;
  background: #999;
}

#box_two .cp_box input {
  display: none;
}

#box_two .cp_box .cp_container {
  position: relative;
  z-index: 10;
  overflow: hidden;
  height: 0;
  margin-top: -1px;
  transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
}

#box_two .cp_box input:checked~div {
  transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
}

/* 続きを読むを押すと表示されるテキストの高さ */
#box_two .cp_box input:checked~div.cp_container {
  height: 500px;
}

#box_three ul {
  margin: 60px 0;
  text-align: center;
}

#box_three ul li {
  margin: 30px 0;
}

#box_three ul li.three_box1 {
  background: url("../image/three_img01.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#box_three ul li.three_box1 .box {
  position: relative;
  padding-bottom: 237px;
}

#box_three ul li.three_box1 .box p {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 100%;
  color: #fff;
  width: 154px;
  height: 154px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#box_three ul li.three_box2 {
  background: url("../image/three_img02.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#box_three ul li.three_box2 .box {
  position: relative;
  padding-top: 237px;
}

#box_three ul li.three_box2 .box p {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 100%;
  color: #fff;
  width: 154px;
  height: 154px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#Mind p.tate {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  font-size: 20px;
  margin: auto;
}

/*=============================================================
#info
=============================================================*/
#info {
  padding: 60px 0;
}

#info h5 {
  font-size: 40px;
  text-align: center;
  margin-bottom: 30px
}

#info dl {
  text-align: left;
  display: flex;
  padding-bottom: 10px;
}

#info dl dt {
  width: 126px;
}

#info dl dd {
  width: 100%;
  border-left: 1px solid #333;
  padding-left: 10px;
}

/*タブ切り替え全体のスタイル*/
#info .tabs {
  margin-top: 50px;
  padding-bottom: 40px;
  margin: 0 auto;
  width: 100%;
}

/*タブのスタイル*/
#info .tab_item {
  width: calc(100%/2);
  height: 40px;
  border-bottom: 1px solid #fff;
  background-color: #e7e7e7;
  line-height: 40px;
  font-size: 14px;
  text-align: center;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
}

#info .tab_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
#info .tab_content {
  display: none;
  padding: 40px 0 0;
  clear: both;
  overflow: hidden;
}


/*選択されているタブのコンテンツのみを表示*/
#hair:checked~#hair_content,
#nail:checked~#nail_content,
#eye:checked~#eye_content,
#esthetic:checked~#esthetic_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked+.tab_item {
  background-color: #999999;
  color: #999;
}