/*
Theme Name:
Theme URI:
Description:
Version: 1
Author: R-H
Author URI:https://r-h.info */

/* ==============================
共通css
=============================== */
* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  color: #000;
  font-size: 1vw;
  /* outline: red 1px solid; */
}
/* .noto-sans-jp-<uniquifier> {
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} */
/* .orbitron-<uniquifier> {
  font-family: "Orbitron", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} */
ul {
  list-style: none;
}
html {
  scroll-behavior: smooth;
  width: 100%;
  scroll-padding-top: 6vw;
}
body {
  font-family: "Noto Sans JP"; 
  margin: 0 auto;
  background: #fff;
}
a:hover {
  opacity: 0.7;
}
img {
  width: 100%;
}
h1,
h1 a {
  font-size: 3vw;
  font-weight: bold;
  text-align: center;
}


.btn a {
  background: #fff;
  border-radius: 5vw;
  padding: 0.8vw 1.5vw;
  text-align: center;
  line-height: 0.8vw;
  display: inline-block;
}
.btn a:hover {
  color: #fff;
  opacity: 1;
}
.btn_blue a {
  border: 3px solid #0ab2f5;
}
.btn_blue a:hover {
  background: #0ab2f5;
}
.btn_orange a {
  border: 3px solid #f5860a;
}
.btn_orange a:hover {
  background: #f5860a;
}
.btn_navy a {
  border: 3px solid #055d7f;
}
.btn_navy a:hover {
  background: #055d7f;
}


/* スクロールすると下からふわっとさせるためのコード */
.fade_in {
  transform: translateY(15px);
  opacity: 0;
  transition: transform 2s, opacity 1s;
}

.fade_in.show {
  transform: translateY(0);
  opacity: 1;
}


/* introduction */
.hidden {
  display: none;
}
.intro {
  background: #fff;
  width: 100vw;
  height: 100vh;
  z-index: 9999999;
  position: fixed;
  margin: 0;
  left: 0;
  right: 0;
  top: 0;
}
.intro_wrap {
  width: 100vw;
  height: 100vh;
  margin: 0;
  left: 0;
  right: 0;
  top: 0;
  animation: 3s ease 1 both intro;
  animation-iteration-count: 1;
  position: fixed;
  display: flex;
  pointer-events: none; 
  opacity: 0;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
}
.intro.active {
  display: flex;
  opacity: 1;
  animation: 3s ease 1s both intro;
  animation-iteration-count: 1;
  animation: go_down 2s ease-in 4s 1 both;
}

@keyframes go_down {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(100vh);
  }
}


@keyframes intro {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.intro_wrap p {
  font-size: 12vh;
  writing-mode: vertical-rl;
  line-height: 15vh;
  font-family: serif;
}

.intro_wrap p.intro_right {
  margin: 0 0 10vh 0;
}
.intro_wrap p.intro_left {
  margin: 25vh 0 0 0;
}

.wrap {
  background: #fff;
  z-index: 1;
  position: relative;
}

header {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 19fr;
  position: fixed;
  padding: 1vw 2vw;
  z-index: 99999;
  background: #0ab2f5;
  top: 0;
}
header h1 img {
  width: 25vw;
}
nav {
  text-align: right;
}
nav ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
nav li {
  margin-left: 1vw;
  padding: 1vw;
}
nav li a {
  font-size: 1.1vw;
  vertical-align: middle;
}
nav li a:hover {
  color: #0032aa;
  text-decoration: underline;
}
nav .line {
  display: inline;
}
nav li.btn a {
  width: 10vw;
}
nav li.btn_orange {
  margin: 0;
  padding: 0;
}

.fadein_top {
  animation: opening 1s ease-in-out forwards;
  opacity: 0;
}
@keyframes opening {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.top_slider {
  width: 68vw;
  position: fixed;
  overflow: hidden;
  animation: fade 1s ease-in-out;
  top: 6.3vw;
  left: 0;
  z-index: -1;
}

.top-image h2 {
  font-size: 2.5vw;
  font-weight: 400;
  margin-left: 80vw;
  margin-top: 11vw;
  font-family: serif;
  writing-mode: vertical-rl;  
}
.kerning {
  margin: 0 -1.5vw;
  font-size: 2.5vw;
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.feature {
  display: grid;
  width: 39vw;
  margin: 15vw 0 0 60vw;
  justify-items: center;
  height: 60vw;
  align-content: center;
}
.feature h1 {
  font-size: 2vw;
  font-weight: 500;
}
.feature .text {
  text-align: center;
  width: 39vw;
}
.feature .text p {
  width: 39vw;
  margin-top: 1vw;
  line-height: 3vw;
  font-size: 1.2vw;
}

.info {
  margin: 0 auto;
  padding: 20vw 0;
  text-align: center;
}
.info h1 {
  font-size: 3.3vw;
}
.info li {
  width: 40vw;
  margin: 1vw auto 0; 
  border-bottom: 1px dashed #000;
}
.info a {
  font-size: 1.8vw;
}

.company {
  padding: 5.2vw;
  background: #0ab2f5;
}
.company_slider {
  padding: 5.2vw 0;
}
.company p.btn {
  text-align: center;
}
.company p.btn a {
  width: 36.45vw;
  line-height: 2vw;
  font-size: 1.5vw;
}

.vn,
.reha {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background: #0ab2f5;
  padding: 5.2vw 0;
  margin: 8vw auto;
}
.vn {
 flex-direction: row-reverse;
}
.vn h1,
.reha h1 {
  position: relative;
  color: #fff;
}
.vn h2,
.reha h2 {
  font-family: nouvelle-vague, sans-serif;
  font-size: 10vw;
  color: #f5860a;
  width: 100%;
  height: 0;
  transform: rotate(-10deg);
  position: relative;
  right: 2vw;
}
.reha h2 {
  font-size: 7vw;
  top: 3vw;
}
.vn img,
.reha img {
  width: 50vw;
  position: relative;
  z-index: -10;
}
.reha img {
  right: 2vw;
}
.vn ul,
.reha ul {
  position: relative;
} 
.vn li,
.reha li {
  text-align: center;
  font-size: 1.2vw;
  text-shadow: 0 0 #666;
  line-height: 2vw;
  color: #fff;
}
.line {
  width:5vw;
  height: 0.2vw;
  display: block;
  margin: 2vw auto;
  background: #fff;
  position: relative;
}
.vn h1,
.vn ul,
.vn .line {
  right: -2vw;
}

.insta {
  width: 88vw;
  margin: 8vw auto;
}
.insta h1 {
  text-align: center;
}
.feed {
  padding: 5.2vw 0;
}
.feed #sb_instagram,
.feed #sbi_images {
  margin: 0;
  padding: 0!important;
}
.sbi_photo {
  padding: 0.5vw;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 5vw;
  margin: 0 auto;
  padding: 5.2vw 6vw;
  background: #0ab2f5;
}
.contact .iframe {
  width: 38vw;
  height: 28vw;
  overflow: hidden;
  margin: 4.5vw auto;
}
iframe {
  height: 60vw;
  margin-top: -15.5vw;
  margin-left: -5vw;
  width: 47vw;
}

.grecaptcha-logo iframe {
  width: 100%;
  margin-top: 0;
  margin-left: 0;
  height: 100%;
}
.grecaptcha-badge {
  bottom: 0;
} 

.contact h1 {
  margin-bottom: 3vw;
}
.form input,
.form textarea {
  width: 96.5%;
  height: 4vw;
  padding: 0.5vw;
  border-radius: 1vw;
  border: 0;
}
.form textarea {
  height: 8vw;
  width: 96.9%;
}
.form .wpcf7-submit {
  width: 50%;
  margin: 1vw 0 0 auto;
  display: block;
}
.form .wpcf7-submit:hover {
  background: #055d7f;
  color: #fff;
  box-shadow: 2px 2px 1px #999;
  transform: translateX(-2px);
}


footer {
  background: #ffefd2;
}
footer .policy {
  background: no-repeat center bottom/100% url("images/policy.jpg");
  height: 22.5vw;
}
footer .policy a {
  font-size: 1.5vw;
  line-height: 22.5vw;
  display: inline-block;
  width: 100%;
}
footer .policy a:hover {
  background: rgb(0 51 102 / 0.7);
  color: #fff;
  text-decoration: underline;
}
.sns_ico ul {
  display: flex;
  margin: 11vw auto;
  justify-content: center;
}
.sns_ico li {
  width: 5vw;
  margin: 0 2.5vw;
}
.footer_adress {
  width: 37vw;
  text-align: center;
  margin: 0 auto;
  font-weight: 600;
  line-height: 2vw;
}
#copy p {
  text-align: center;
  padding: 5vw 0 2vw;
}
#copy p,
#copy a {
  font-weight: 600;
  font-size: 1.3vw;
}

.rec_btn {
  width: 10vw;
  position: fixed;
  top: 83vh;
  left: 86.5vw;
  z-index: 99999999;
  background: #f5860a;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}
.rec_btn p {
  font-size: 1.8vw;
  line-height: 2.2vw;
  margin: 1.5vw auto;
  text-align: center;
}
.rec_btn a {
  display: inline-block;
  width: 100%;
  height: 100%;
}
.rec_btn a:hover {
  background: #055d7f;
  border-radius: 8px;
}
.rec_btn a:hover p {
  color: #fff;
}
.rec_btn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}



/* プライバシーポリシー */
main.policy {
  margin: 10vw auto;
  width: 80vw;
}
main.policy article {
  margin: 5vw auto 0;
}
main.policy h2 {
  font-size: 1.5vw;
  margin: 2vw 0 0;
}
main.policy ol {
  margin: 0 0 0 2vw;
}
main.policy li {
  line-height: 2vw;
}
main.policy p,
main.policy li {
  font-size: 1.3vw;
}

/* =============================
スマートフォン用css max-width768
=============================== */
@media screen and (max-width: 768px){
  body {
    width: 100%;
  }
  h1, h1 a {
    text-align: center;
    font-size: unset;
    font-weight: unset;
  }
  .btn a {
    border-radius: 10vw;
  }
  header {
    display: block;
    position: unset;
    padding: 0;
  }
  header h1 {
    padding: 3vw 0;
  }
  header h1 img {
    width: 75vw;
  }

  .intro span {
    font-size: 6vw;
    line-height: 12vw;
  }
.fade_in {
  transform: none;
}
.fade_in.show {
  transform: none;
}


    /* ハンバーガーメニュー */
    #g-nav {
      position: fixed;
      z-index: 9999;
      top: -120%;
      left: 0;
      width: 100%;
      height: 100vh;
      background: rgba(234,234,226,0.9);
      transition: all 0.6s;
  }
  
  /* ナビゲーションが開かれたときのスタイル */
  #g-nav.panelopen {
      top: 0;
  }
  #g-nav p {
    text-align: center;
    font-size: 7vw;
    margin-top: 8vw;
    font-weight: 600;
  }
  #g-nav ul {
      position: absolute;
      z-index: 9999;
      top: 70vw;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
  }
  #g-nav ul a {
    font-size: 5vw;
    line-height: 10vw;
    width: 50vw;
  }
  nav li.btn_navy,
  nav li.btn_orange {
    margin: 5vw auto;
  }
  .openbtn1 {
      position: fixed;
      z-index: 99999;
      top: 1vw;
      cursor: pointer;
      width: 10vw;
      height: 10vw;
  }
  
  .openbtn1 span {
      display: inline-block;
      transition: all 0.4s;
      position: absolute;
      left: 14px;
      height: 3px;
      border-radius: 2px;
      background-color: #666;
      width: 45%;
  }
  
  .openbtn1 span:nth-of-type(1) {
      top: 15px;
  }
  
  .openbtn1 span:nth-of-type(2) {
      top: 23px;
  }
  
  .openbtn1 span:nth-of-type(3) {
      top: 31px;
  }
  
  /* ナビゲーションが開かれたときのボタンのスタイル */
  .openbtn1.open span:nth-of-type(1) {
      top: 18px;
      left: 18px;
      transform: translateY(6px) rotate(-45deg);
      width: 30%;
  }
  
  .openbtn1.open span:nth-of-type(2) {
      opacity: 0;
  }
  
  .openbtn1.open span:nth-of-type(3) {
      top: 30px;
      left: 18px;
      transform: translateY(-6px) rotate(45deg);
      width: 30%;
  }
    /* ハンバーガーメニューここまで */
  .top_slider {
    display: contents;
  }
  
  nav ul {
    display: block;
  }

  .top-image h2 {
    font-size: 4.5vw;
    position: absolute;
    top: 15vw;
    right: 7vw;
    color: #fff;
    text-shadow: 0px 0px 0.1px #fff;
    margin: 0;
  }
  .kerning {
    font-size: 4.5vw;
    color: #fff;
    text-shadow: 0px 0px 0.1px #fff;
  }
  .top-image h1 {
    font-size: 4.5vw;
    top: 58vw;
  }
  .feature {
    display: block;
    width: 100%;
    height: auto;
    margin: 10vw auto;
  }
  .feature h1,
  .info h1,
  .company h1,
  .vn h1,
  .reha h1,
  .insta h1,
  .contact h1 {
    font-size: 5vw;
  }
  .feature .text {
    width: 90vw;
    margin: 8vw auto 0;
  }
  .feature .text p {
    width: 90vw;
    line-height: 8vw;
    font-size: 4vw;
  }
  .info {
    padding: 10vw 0 15vw;
  }
  .info li {
    width: 90vw;
    margin: 4vw auto 0;
  }
  .info a {
    font-size: 4vw;
    line-height: 6vw;
  }
  .company p.btn a {
    width: 50vw;
    font-size: 4vw;
    line-height: 7vw;
  }

  .vn, .reha {
    flex-direction: column-reverse;
    margin: 10vw auto;
    padding: 10vw 0;
  }
  .vn h1,
  .reha h1 {
    right: 0;
    z-index: 1;
  }
  .vn img, .reha img {
    width: 70vw;
    margin-bottom: 3vw;
    position: unset;
  }
  .line {
    margin: 4vw auto;
    position: unset;
  }
  .vn li, .reha li {
    font-size: 4vw;
    line-height: 6vw;
    text-shadow: none;
  }

.vn h2,
.reha h2 {
  font-size: 26vw;
  top: 5vw;
  z-index: 0;
  right: 6vw;
}
.reha h2 {
  top: 13vw;
  font-size: 15vw;
  right: 5vw;
}


  .contact {
    grid-template-columns: 1fr;
  }
  .contact .iframe {
    width: 70vw;
    height: auto;
  }
  iframe {
    width: 100%;
    margin: 0 auto;
  }
  .policy h1 a {
    font-size: 4vw;
  }

  .wpcf7 {
    width: 80vw;
    margin: 0 auto;
  }
  .form input, .form textarea {
    margin: 0 auto 3vw;
    padding: 2vw;
    width: 74.5vw;
    height: 8vw;
    font-size: 4vw;
  }
  .form .wpcf7-submit {
    margin: 5vw auto;
    height: 10vw;
  }
  .form textarea {
    height: 40vw;
  }
  .rec_btn {
    width: 16vw;
    top: 90vh;
    left: 78vw;
    padding: 2vw;
  }
  .rec_btn p {
    font-size: 4vw;
    line-height: 4vw;
    margin: 2.5vw auto;
    }
  .sns_ico li {
    width: 10vw;
    margin: 0 5vw;
  }
  .footer_adress {
    width: 50vw;
  }
  .footer_adress p {
    font-size: 2.5vw;
    line-height: 3vw;
    font-weight: 400;
  }
  #copy p, #copy a {
    font-size: 2.3vw;
    font-weight: 400;
  }


  .pc {
    display: none!important;
  }
}


/* =============================
PC用css min-width768
=============================== */
@media screen and (min-width: 769px){

.mobile {
  display: none!important;
}

}

