
/*=================================
共通パーツ
=================================*/
html{
  max-width: 100vw;
  background-color: #fff;
}
body{
  font-family: 'Noto Sans JP', sans-serif;
}

/*=================================
header
=================================*/
/*PC時*/
@media screen and (min-width: 751px){
  #header {
    width: 100%;
    height: calc(202 / 2880 * 100vw);
    max-height: calc(202px / 2);
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
  }
  .inner{
    height: 100%;
    padding: 0 calc(76 / 2880 * 100%);
    display: flex;
    justify-content: space-between;
    position: relative;
  }
  #header h1{
    width: calc(290 / 2800 * 100vw);
    height: 100%;
    transform: inherit !important;
  }
  #header h1 img {
    width: calc(290 / 2800 * 100vw);
    max-width: calc(290px / 2);
    position: relative;
    top: 50%;
    transform: translateY(-50%);
  }
  #pc-main-logo{
    display: block;
  }  
  #sp-main-logo{
    display: none;
  }
  .gbtn{
    display: none;
  }
  #header #gnav-wrap {
    display: flex;
    justify-content: center;
  }
  .scroll{
    display: flex;
  }
  #gnav-menu > ul {
    height: 100%;
    display: flex;
    align-items: center;
  }
  #gnav-menu > ul > li{
    height: 100%;
    font-weight: 400;
    position: relative;
  }
  #gnav-menu > ul > li::after{
    position: absolute;
    width: 0;
    content: '';
    top: 0;
    left: 0;
    height: 3px;
    background-color: #7f2e7d;
    transition: .3s;
  }
  #gnav-menu > ul > li:hover::after{
    width: 100%;
  }
  #gnav-menu > ul > li > a {
    padding: 0 calc(15 / 1440 * 100vw);
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    transition: .3s;
  }
  #gnav-menu > ul > li > a:hover{
    color: #7f2e7d;
  }
  #header #gnav-sns {
    display: flex;
    align-items: center;
  }
  #header #gnav-sns > ul {
    display: flex;
    align-items: flex-start;
    height: 35px;
  }
  #gnav-sns > ul > li {
    width: calc(42 / 2 / 1440 * 100vw);
    min-width: calc(62px / 2 * .75);
    max-width: calc(42px / 2);
    height: calc(42 / 2 / 1440 * 100vw);
    max-height: calc(42 / 2 / 1440 * 100vw);
    margin: 0 0 0 calc(35 / 1440 * 100vw);
  }
  #gnav-sns > ul > li img{
    height: 35px;
    transition: .3s;
  }
  #gnav-sns > ul > li img:hover{
    opacity: 0.6;
  }
  .sp-desc{
    display: none;
  }
  #gnav-foot{
    display: none;
  }
}
/*SP時*/
@media screen and (max-width: 750px){
  html{
    width: 100%;
    overflow-x: hidden;
    background-color: #fff;
  }
  .gbtn{
    display: block;
  }
  #pc-main-logo{
    display: none;
  }
  #sp-main-logo{
    display: block;
  }
  .scroll{
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  #gnav-wrap {
    width: 100%;
    min-height: 100vh;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 10;
  }
  #gnav-wrap h1 {
    /*opacity: 0;
    visibility: visible !important;*/
    display: block !important;
    position: absolute;
    top: calc(38 / 750 * 100vw);
    left: 0;
    z-index: 11;
    width: 100%;
    height: calc(128 / 750 * 100vw);
    background-color: #fff;
  }
  #gnav-wrap h1 img {
    width: calc(343 / 750 * 100vw);
    position: relative;
    top: 50%;
    left: calc(40 / 750 * 100vw);
    transform: translateY(-50%);
  }
  #gnav-menu {
    padding: 0 calc(40 / 750 * 100vw);
    padding-top: calc(206 / 750 * 100vw);
  }
  #gnav-menu > ul > li {
    font-size: 5vw;
    font-weight: 700;
    color: #7f2e7d;
    letter-spacing: .06em;
    position: relative;
  }
  #gnav-menu > ul > li:last-child {
    margin-bottom: calc(35 / 750 * 100vw);
  }
  #gnav-menu > ul > li > a {
    width: 100%;
    padding: calc(38 / 750 * 100vw) calc(15 / 750 * 100vw);
    display: block;
  }
  #gnav-menu > ul > li > a::before {
    content: "";
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    right: calc(10 / 750 * 100vw);
    width: calc( 7px + 1vw );
    height: calc( 7px + 1vw );
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: rotate(45deg);
  }
  #gnav-sns{
    overflow: hidden;
    padding: 0 calc(40 / 750 * 100vw);
    position: relative;
  }
  #gnav-sns ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }
  #gnav-sns img{
    width: 12vw;
  }
  .sp-desc{
    display: block;
    padding: calc(20 / 750 * 100vw) calc(15 / 750 * 100vw);
    font-weight: 500;
    font-size: 4.267vw;
  }
}

 /*グローバルメニューアニメーション*/
.gbtn{
  position: fixed;
  background: #7f2e7d;
  cursor: pointer;
  width: 50px;
  height: 50px;
  top: 0;
  right: 0;
  z-index: 1000;
}
.gbtn span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 2px;
  border-radius: 5px;
  background: #fff;
  width: 45%;
}
.gbtn span:nth-of-type(1) {
  top: 13px;	
}
.gbtn span:nth-of-type(2) {
  top: 19px;
}
.gbtn span:nth-of-type(3) {
  top: 25px;
}
.gbtn span:nth-of-type(3)::after {
  content: "Menu";/*3つ目の要素のafterにMenu表示を指定*/
  position: absolute;
  top: 5px;
  left: -2px;
  color: #fff;
  font-size: 0.6rem;
  text-transform: uppercase;
}
.gbtn.active span:nth-of-type(1) {
  top: 14px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}
.gbtn.active span:nth-of-type(2) {
  opacity: 0;
}
.gbtn.active span:nth-of-type(3){
  top: 26px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
.gbtn.active span:nth-of-type(3)::after {
  content: "Close";
  transform: translateY(0) rotate(-45deg);
  top: 5px;
  left: 4px;
}

/* Loading背景画面設定　*/
#splash {
/*fixedで全面に固定*/
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 2000;
  background: #f3edff;
  text-align: center;
  color: #fff;
}

/* Loading画像中央配置　*/
#splash_logo {
  position: absolute;
  top: 50%;
  left: 15%;
  transform: translateY(-50%);
}

/* Loading アイコンの大きさ設定　*/
#splash_logo img {
  width: 350px;
}

/* fadeUpをするアイコンの動き */
.fadeUp{
  animation-name: fadeUpAnime;
  animation-duration: 3s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
    transform: scale(0.975);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/*=================================
index
=================================*/
/*PC時*/
@media screen and (min-width: 751px){
  section{
    margin-top: calc(-202 / 2880 * 100vw);
    padding-top: calc(202 / 2880 * 100vw);
  }
  .sp{
    display: none;
  }
  #slider{
    margin-top: min(calc(202px / 2),calc(202 / 2880 * 100vw));
    height: max(calc(100vh - (202px / 2)),calc(100vh - (202 / 2880 * 100vw)));
  }
  #slider a{
    display: inline-block;
  }
  #mainlogo{
    top: 70%;
    left: 10%;
    transform: translateY(-50%);
  }
  .wrap-inner{
    margin: 5vw calc(76 / 2880 * 100%) 7vw;
  }
  #message p{
    font-weight: 900;
    font-size: 5vw;
    padding-left: 5vw;
    margin: 10vw 0;
    line-height: 1.3em;
  }
  #policy p{
    font-weight: 600;
    font-size: 4vw;
    padding-left: 5vw;
    margin: 8vw 0 5vw;
    line-height: 1.3em;
  }
  #policy ul > li div{
    display: flex;
    justify-content: flex-end;
  }
  #policy ul > li img{
    width: 40%;
    height: 25vw;
    object-fit: cover;
    margin-left: 1%;
  }
  .Text-Span:after {
    height: calc(40 / 2880 * 100vw);
  }
  .secttl h2 {
    display: inline-block;
    font-size: 5vw;
    font-weight: 900;
    background-color: #7f2e7d;
    padding: 4vw;
    color: #fff;
    position: absolute;
    bottom: 0;
  }
  #policy .secttl,
  #profile .secttl,
  #contact .secttl,
  #content .secttl{
    height: calc(1000 / 2880 * 100vw);
  }
  #contact h3{
    font-weight: 900;
    font-size: 4vw;
    margin-bottom: 3vw;
  }
  #content h3{
    font-weight: 900;
    font-size: 4vw;
    margin-bottom: 3vw;
  }
  #content p{
    line-height: 1.5em;
    margin-bottom: 2vw;
  }
  .cont-subtxt{
    line-height: 1.5em;
    margin-bottom: 2vw;
  }
  .btm-sns ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }
  .btm-sns ul>li{
    width: calc(100% / 3);
    text-align: center;
    border-top: 1px solid #7f2e7d;
    border-bottom: 1px solid #7f2e7d;
    border-right: 1px solid #7f2e7d;
    position: relative;
    transition: .3s;
  }
  .btm-sns ul>li:first-child{
    border-left: 1px solid #7f2e7d;
  }
  .btm-sns ul>li:hover{
    background-color: #7f2e7d;
  }
  .btm-sns ul>li>a{
    display: block;
    width: 100%;
    height: 100%;
    padding: 50px;
  }
  .btm-sns img{
    width: 5vw;
    transform: translate(0, -10px);
  }
  .fb::after{
    content: 'facebook';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 2vw);
    color: #fff;
    font-size: 1.25vw;
  }
  .ig::after{
    content: 'instagram';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 2vw);
    color: #fff;
    font-size: 1.25vw;
  }
  .tw::after{
    content: 'twitter';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 2vw);
    color: #fff;
    font-size: 1.25vw;
  }
  .btm-sec{
    margin-bottom: 2vw;
  }
  #profile p{
    font-size: 2.75vw;
    font-weight: 600;
    line-height: 1.5em;
  }
}
/*SP時*/
@media screen and (max-width: 750px){
  .sp{
    display: block;
  }
  #slider{
    height: 80vh;
  }
  #slider a{
    display: none;
  }
  #mainlogo{
    top: 75%;
    left: 50%;
    transform: translate(-50%,-50%);
  }
  .wrap-inner{
    margin: calc(100 / 750 * 100vw) calc(40 / 750 * 100vw) calc(150 / 750 * 100vw);
  }
  #message p{
    font-weight: 900;
    font-size: calc((100vw - (40 / 750 * 100vw)*2)/10 );
    line-height: 1.3em;
  }
  #policy p{
    font-weight: 600;
    font-size: calc((100vw - (40 / 750 * 100vw)*2)/14 );
    line-height: 1.3em;
    margin-bottom: 3vw;
  }
  #policy ul > li div{
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8vw;
  }
  #policy ul > li img{
    width: 45%;
    height: 30vw;
    object-fit: cover;
    margin-left: 2%;
  }
  .Text-Span:after {
    height: calc(20 / 750 * 100vw);
  }
  .secttl h2 {
    display: inline-block;
    font-size: 7vw;
    font-weight: 900;
    background-color: #7f2e7d;
    padding: 4vw;
    color: #fff;
    position: absolute;
    bottom: 0;
  }
  #policy .secttl,
  #profile .secttl,
  #contact .secttl,
  #content .secttl{
    height: calc(400 / 750 * 100vw);
  }
  #contact h3{
    font-weight: 900;
    font-size: calc((100vw - (40 / 750 * 100vw)*2)/12 );
    margin-bottom: 8vw;
  }
  #content h3{
    font-weight: 900;
    font-size: calc((100vw - (40 / 750 * 100vw)*2)/12 );
    margin-bottom: 8vw;
  }
  #content p{
    line-height: 1.5em;
    margin-bottom: 15vw;
  }
  .cont-subtxt{
    line-height: 1.5em;
    margin-bottom: 15vw;
  }
  .btm-sns{
    overflow: hidden;
    position: relative;
  }
  .btm-sns ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }
  .btm-sns ul>li{
    width: calc(100% / 3);
    text-align: center;
    border-top: 1px solid #7f2e7d;
    border-bottom: 1px solid #7f2e7d;
    border-right: 1px solid #7f2e7d;
    position: relative;
    transition: .3s;
  }
  .btm-sns ul>li:first-child{
    border-left: 1px solid #7f2e7d;
  }
  .btm-sns img{
    width: 7vw;
    transform: translate(0, -10px);
  }
  .btm-sns ul>li>a{
    display: block;
    width: 100%;
    height: 100%;
    padding: 9vw;
  }
  .fb::after{
    content: 'facebook';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 2vw);
    color: #7f2e7d;
    font-size: 3.25vw;
  }
  .ig::after{
    content: 'instagram';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 2vw);
    color: #7f2e7d;
    font-size: 3.25vw;
  }
  .tw::after{
    content: 'twitter';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 2vw);
    color: #7f2e7d;
    font-size: 3.25vw;
  }
  .btm-sec{
    margin-bottom: 5vw;
  }
  #profile p{
    font-size: 5vw;
    font-weight: 500;
    line-height: 1.5em;
  }
}
#policy .secttl,
#profile .secttl,
#contact .secttl,
#content .secttl{
  width: 100%;
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
}

/*メインビジュアルスライドアニメーション*/
#slider{
  width: 100%;
}
#mainlogo{
  position: absolute;
}
#mainlogo img{
  width: min(350px,90vw);
}
#slider a{
  position: absolute;
  right: 40px;
  bottom: 0;
  z-index: 2;
  padding: 10px 10px 110px;
  overflow: hidden;
  color: #000;
  font-size: 14px;
  font-family: 'Josefin Sans', sans-serif;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: vertical-lr;
}
#slider a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 100px;
  background: #000;
}
#slider a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 100px;
  background: rgba(255, 255, 255, .4);
}
#slider a::after {
  animation: sdl 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}
@keyframes sdl {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/*テキストアニメーション*/
.Text-Span {
  position: relative;
  z-index: 1;
}
.Text-Span:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 0%;
  background: #7f2e7d;
  z-index: -1;
  transition: all 0.8s;
}
.Text-Span.isActive:after {
  width: 100%;
}

/*フェードインアニメーション*/
.fadein-target{
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: opacity 1s, visibility 1s, transform 1s;
}
.is-fadein{
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/*フォームカスタマイズ*/
/* ------ テーブルレイアウト ------- */
.form-contact th,
.form-contact td {
  border-bottom: solid 1px #ccc;
}
.form-contact tr:last-of-type th,
.form-contact tr:last-of-type td {
  border: none;
}
.form-contact th {
  font-weight: normal;
  text-align: left;
  width: 30%;
  vertical-align: middle;
}
.form-contact td {
  padding: 20px 20px;
  width: 70%;
}
@media screen and (max-width: 750px) {
  .form-contact th,
  .form-contact td {
    border: none;
    display: block;
    padding: 0;
    width: 95%;
  }
  .form-contact tr {
    display: block;
    margin-bottom: 20px;
  }
}
/* ------ フォームスタイル ------- */
.form-contact {
  position: relative;
}
.form-contact table{
  width: min(900px, 90vw);
  margin-left: calc(100 / 2880 * 100vw);
}
.form-contact input,
.form-contact textarea,
.form-contact select{
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin: 8px 0;
  outline: none;
  padding: 10px 40px 10px 20px;
  transition: 0.3s;
  background-color: #fff;
}
.form-contact textarea {
  width: 100%;
}
.form-contact input:focus,
.form-contact textarea:focus {
  border: 1px solid #0086d1;
}
.text-required {
  background: #e5004f;
  border-radius: 3px;
  color: #fff;
  display: inline;
  font-size: 0.8rem;
  margin-right: 1rem;
  padding: 2px 7px 4px;
  position: relative;
  top: -2px;
  vertical-align: middle;
}
.form-contact__btn {
  display: flex;
  justify-content: center;
  margin: 50px 0 0 0;
}
.form-contact__btn input[type="submit"] {
  background-color: #7f2e7d;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: 0.1rem;
  padding: 20px 25px;
  text-align: center;
}
.form-contact__btn input[type="submit"]:hover {
  opacity: 0.8;
}
.wpcf7-radio input[type="radio"]{
  width: 20px;
  transform: scale(1.3);
}
@media screen and (max-width: 750px) {
  .form-contact input,
  .form-contact textarea {
    box-sizing: border-box;
    width: 95%;
  }
  .checkbox-inquiry .wpcf7-list-item {
    display: block;
  }
  .form-contact input[type="checkbox"] {
    float: left;
    margin-right: 10px;
    width: auto;
  }
  .wpcf7-checkbox > .wpcf7-list-item {
    display: block;
    margin-left: 0;
  }
  .wpcf7-list-item label {
    display: block;
    line-height: 1.7;
    overflow: hidden;
  }
  .wpcf7-checkbox {
    display: block;
    margin-top: 20px;
  }
  .wpcf7-radio{
    margin-left: -20px;
  }
}

