﻿

/* *********************************
FileName: style.css
UpdatedBy: -
*********************************** */

/* *********************************
特記事項：

*********************************** */

@import url('https://fonts.googleapis.com/css?family=Fjalla+One|Hammersmith+One&display=swap');

/* 000: リセット
********************************************************************** */

/* !HTML5 elements
----------------------------------- */
header, footer, nav, section, aside, article
{ display: block;}


/* !Reseting
----------------------------------- */
body, div, pre, p, blockquote, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, fieldset, th, td, figure
{ margin: 0; padding: 0;}
input, textarea
{ margin: 0; font-size: 100%;}
label
{ cursor: pointer;}
table
{ border-collapse: collapse; border-spacing: 0; font-size: 100%;}
fieldset, img
{ border: 0;}
img
{ vertical-align: top; max-width: 100%;}
address, caption, cite, code, dfn, em, th, var
{ font-style: normal; font-weight: normal;}
ol, ul
{ list-style: none;}
caption, th
{ text-align: left;}
h1, h2, h3, h4, h5, h6
{ font-size: 100%; font-weight: normal;}
q:after, q:before
{ content:'';}
a, input,select,textarea,button
{ outline: none; }
abbr, acronym
{ border: 0;}

select::-ms-expand {
	display: none;
}

input[type=radio]::-ms-check,
input[type=checkbox]::-ms-check{
	display: none;
}

select,
input[type=radio],
input[type=checkbox],
input[type=text],
input[type=password],
input[type=email],
input[type=tel],
input[type=number],
input[type=reset],
input[type=button],
input[type=submit],
textarea {
  -webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-border-radius: 0;
  -moz-border-radius: 0;
	border-radius: 0;
}
input[type=text]::-ms-clear,
input[type=tel]::-ms-clear,
input[type=number]::-ms-clear{
	display: none;
}
input[type=reset],
input[type=button],
input[type=submit]  {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue","メイリオ", Meiryo, "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, sans-serif;
  cursor: pointer;
}

.table { padding-top:40px;}
table.type1 { width:80%; border-top:1px solid #333; font-size:133%; margin:0 auto; color: #333;}
table.type1 th { width:20%; font-weight:normal; border-bottom:1px solid #333; background-color:#45B3C2; padding:15px; color:#fff;}
table.type1 td { border-bottom:1px solid #333; padding:15px; background-color: #fff; text-align: left;}
table.type1 p { font-size:100%; line-height:133%;}
table.type1 p.last { padding-bottom:0;}

/* !Clearfix
----------------------------------- */
.clearfix {
	display: block;
	min-height: 1%;
}
.clearfix:after {
	clear: both;
	content:".";
	display: block;
	height: 0;
	visibility: hidden;
}
* html .clearfix {
	height: 1%;
	/*\*//*/
	height: auto;
	overflow: hidden;
	/**/
}

h1.sp{
  position: absolute;
  top: 15px;
  left:15px;
}
h1.sp img{
  width: 100%;
  max-width: 200px;
}

/* !View
----------------------------------- */
.viewPc{
  display: block;
}
.viewSp{
  display: none;
}

@media screen and (max-width: 748px) {
  .viewPc{
    display: none;
  }
  .viewSp{
    display: block;
  }
}


/* !Layout
----------------------------------- */
html { 
	overflow-y: scroll;
	font-size: 62.5%;
}

body {
 font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue","メイリオ", Meiryo, "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, sans-serif;
 font-size: 1.4rem;
 -webkit-text-size-adjust: none;
 line-height: 1.5;
 color: #000;
}


/* 001: レイアウト
********************************************************************** */

/* 見出し */
.contents_inner h2 {
  font-size: 4.5rem;
  font-weight: bold;
  font-family: 'Hammersmith One', sans-serif;
  margin-bottom: 60px;
}
.contents_inner h2.mainTxt {
  font-size: 7rem;
}
.contents_inner h3 {
  font-size: 2.6rem;
  margin-bottom: 60px;
  color: #E5876D;
}

@media screen and (max-width: 748px) {

.contents_inner h2.mainTxt {
  font-size: 3.2rem;
}

.contents_inner h2 {
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 30px;
}

}


/* !Header,Footer
------------------------------------------------------- */
header{
  padding: 0;
}
footer{
  background-color: #000;
  color: #fff;
  padding: 0;
}

/* header */
header{
  width: 100%;
  padding: 0 0 0 70px;
  position: fixed;
  z-index: 99;
  background-color: #fff;
}
header h1{
  padding: 20px 0;
}
@media screen and (max-width: 748px) {
  header{
    padding: 0;
    position: relative;
  }
  header h1{
    padding: 0;
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 9999;
  }
  header h1 img{
    max-width: 200px;
    width: 100%;
    height: auto;
  }
}

/* nav */
nav{
  position: absolute;
  top: 0;
  right: 70px;
  width: 45%;
}
nav li{
  float: left;
  width: calc(25% - 20px);
  padding: 10px;
}
nav a{
  color: #000;
  text-decoration: none;
  display: block;
  font-size: 2.0rem;
  font-family: 'Hammersmith One', sans-serif;
}
nav a:hover{
  color: #FFCC00;
}
.slicknav_menu {
 display:none;/*PC時は非表示*/
}
@media screen and (max-width: 748px) {
   #gnav {
   display:none;/*モバイル時は非表示*/
  }
   .slicknav_menu {
   display:block;/*モバイル時は表示*/}
}
.button {
  flex: 1 1 auto;
  padding: 22px;
  text-align: center;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: .3s;
}
.button:after {
  position: absolute;
  transition: .2s;
  content: '';
  width: 0;
  left: 50%;
  bottom: 0;
  height: 5px;
  background: #FFCC00;
}
.button:hover {
  cursor: pointer;
}
.button:hover:after {
  width: 100%;
  left: 0;
}

/* footer */
footer {
  padding: 20px 70px;
  text-align: center;
}
footer dl{
  padding: 20px 0 0;
  margin: 0;
  font-size: 1.6rem
}
footer .copy {
  padding-top: 20px;
  text-align: center;
  font-family: 'Hammersmith One', sans-serif;
  font-size: 1.4rem;
}
@media screen and (max-width: 748px) {
  footer {
    padding: 20px;
  }
  footer dl,footer .copy{
    font-size: 1.2rem
  }
  footer figure {
    max-width: 260px;
    text-align: left;
  }
}


/* !Contents
------------------------------------------------------- */
.contents_inner {
  position: relative;
  box-sizing: boder-box;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 100px 0;
  color: #000;
  text-align: center;
  z-index: 99;
}

#mainarea{
    background-image: url(../images/main_img.jpg); 
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: cover;
    width:100%;
    height:calc(100vh - 80px);
    -webkit-animation: act_anime 25s infinite alternate linear;
    animation: act_anime 25s infinite alternate linear;
    background-color: #A6D2F5;
    padding-top: 80px;
}


@-webkit-keyframes act_anime {
    0% { 
        background-position: 0px 0px;
     }
    100% { 
        background-position: 570px 0px;
    }
}
@keyframes act_anime {
    0% { 
        background-position: 0px 0px;
     }
    100% { 
        background-position: 570px 0px;
    }
}

#mainarea .wrap {
    width:100%;
    height:100%;
    background: url(../images/main_img.png) 50% 50% no-repeat;
    background-size: cover;
    position: relative;
    z-index: 0;
}
#mainarea .wrap .pic {
  margin: 0 auto;
  padding: 17vh 0 0 10vw;
  position: relative;
  z-index: 1;
}
#mainarea .wrap .txt {
  font-size: 22px;
  padding: 50px 0 0 10vw;
  position: relative;
  z-index: 1;
}
#mainarea .wrap .btn {
  padding: 50px 0 0 10vw;
  position: relative;
  z-index: 1;
}
#mainarea .wrap .btn a {
  position: relative;
  z-index: 1;
  display: inline-block;
  transition: .3s;
}
#mainarea .wrap .btn a:hover {
  transform: translateY(-10px);
}
#mainarea .wrap .btn a:hover::before {
  transform: translateY(10px);
  opacity: 1;
}

.fluid {
  width:40vh;
  height: 40vh;
  background: -moz-linear-gradient(65deg, #FDD519, #2EB298); 
  background: -webkit-linear-gradient(65deg, #FDD519, #2EB298); 
  background: linear-gradient(25deg, #FDD519, #2EB298); 
  animation: fluidrotate 30s ease 0s infinite;
  position: absolute;
  bottom: -10%;
  left: -8%;
  z-index: 0;
}
@keyframes fluidrotate {  
	  
  0%, 100% {
      border-radius: 63% 37% 54% 46%/55% 48% 52% 45%;
  }
  14% {
      border-radius: 40% 60% 54% 46%/49% 60% 40% 51%;
  }
  28% {
      border-radius: 54% 46% 38% 62%/49% 70% 30% 51%;
  }
  42% {
      border-radius: 61% 39% 55% 45%/61% 38% 62% 39%;
  }
  56% {
      border-radius: 61% 39% 67% 33%/70% 50% 50% 30%;
  }
  70% {
      border-radius: 50% 50% 34% 66%/56% 68% 32% 44%;
  }
  84% {
      border-radius: 46% 54% 50% 50%/35% 61% 39% 65%;
  }
	  
}

.fadeUp {
animation-name:fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity: 0;
}
@keyframes fadeUpAnime{
  from {
    opacity: 0;
	transform: translateY(50px);
  }

  to {
    opacity: 1;
	transform: translateY(0);
  }
}
.delay-time02{
animation-delay: 0.2s;
}
.delay-time04{
animation-delay: 0.4s;
}


/* mainarea2 202602 */
#mainarea2{
    background-image: url(../images/main_img02.jpg); 
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: cover;
    width:100%;
    height:100vh;
    position: relative;
    top: 86px;
}

#mainarea2 h2{
  position: absolute;
  top:80px;
  right: 12vw;
}
#mainarea2 .text{
  position: absolute;
  bottom:140px;
  right: 12vw;
}

@media screen and (max-width: 1024px) {

#mainarea{
    width:100%;
    height:calc(100vh - 50px);
    background-image: url(../images/main_img.jpg);
    background-size: cover;
    -webkit-animation: none;
    animation: none;
    top: 86px;
}
  #mainarea .wrap .pic {
    padding: 35vh 0 0 6vw;
  }
  #mainarea .wrap .pic img {
    max-width: 240px;
  }
  #mainarea .wrap .txt {
    font-size: 16px;
    padding: 20px 10vw 0 6vw;
  }
  #mainarea .wrap .btn {
    padding: 20px 0 0 6vw;
  }
  #mainarea .wrap .btn img {
    max-width: 320px;
  }
  .fluid {
    width:20vh;
    height: 20vh;
    bottom: -10%;
    left: -8%;
  }

  #mainarea2{
      background-image: url(../images/main_img02_sp.jpg); 
      background-repeat: no-repeat;
      background-position: 0 100%;
      background-size: cover;
      width:100%;
      height:calc(100vh - 50px);
      position: relative;
      top: 0;
  }
  #mainarea2 h2{
    position: relative;
    top:0;
    right: 0;
    padding: 40px 10px 0;
    text-align: center;
  }
  #mainarea2 .text{
    position: relative;
    top:0;
    right: 0;
    padding: 40px 10px 60px;
    text-align: center;
  }
  #mainarea2 .pic{
    padding: 0 60px 0 0;
  }
  #mainarea2 .pic img{
    width: 100%;
  }

}

.contents1 {
  position: relative;
  overflow: hidden;
  margin:0;
  padding: 180px 0 50px;
  background-color:#86CED8;
}
.contents1:before {
  content: '';
  position: absolute;
  top: 0;
  right: 20%;
  background: url(../images/bc01.png) 0 0 no-repeat;
  width: 1700px;
  height: 410px;
  z-index: 1;
}.contents1 .contents_inner {
  color: #fff;
}
@media screen and (max-width: 748px) {

  .contents1 {
    padding: 0;
  }

}

.contents2 {
  position: relative;
  overflow: hidden;
  background-color:#fff;
  margin:0;
  padding: 50px 0;
}
.contents2:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 80%;
  background: url(../images/bc03.png) 0 0 no-repeat;
  width: 1700px;
  height: 410px;
  z-index: 1;
}
@media screen and (max-width: 748px) {

  .contents2 {
    padding: 0;
  }

}

.contents3 {
  position: relative;
  overflow: hidden;
  background-color:#F1DC76;
  margin:0;
  padding: 160px 0 50px;
}
.contents3:before {
  content: '';
  position: absolute;
  top: 0;
  right: 20%;
  background: url(../images/bc02.png) 0 0 no-repeat;
  width: 1700px;
  height: 410px;
  z-index: 1;
}
@media screen and (max-width: 748px) {

  .contents3 {
    padding: 0;
  }

}



/* オンライン診療202603 */
.online01 {
  position: relative;
  overflow: hidden;
  margin:0;
  padding: 80px 0 60px;
  background-color:#fff;
  text-align: center;
}
.online01 h3 {
  margin-bottom: 40px;
}
.online01 .box {
  background: url(../images/online01_bg.jpg) 0 50% no-repeat;
  padding: 0;
  background-size: contain;
}
.online01 .box .textarea {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}
.online01 .box .textarea dt {
  width: 38%;
  float: left;
}
.online01 .box .textarea dd {
  background-color:#fff;
  width: 50%;
  float: right;
  padding: 30px 40px 10px;
  margin-top: 50px;
  text-align: left;
  border-radius: 5px;
}
.online01 .box .textarea dd p {
  font-size: 1.8rem;
  padding: 20px 0;
}

.online02 {
  position: relative;
  overflow: hidden;
  margin:0;
  padding: 80px 0;
  background-color:#fff;
  text-align: center;
}
.online02:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 80%;
  background: url(../images/bc04.png) 0 0 no-repeat;
  width: 1700px;
  height: 410px;
  z-index: 1;
}

.online02 .lead {
  font-size: 2.0rem;
  padding: 60px 0;
  margin: 0 auto;
  text-align: left;
  width: 100%;
  max-width: 1090px;
}
.online02 .pic {
  margin-bottom: 40px;
}

@media screen and (max-width: 748px) {

.online01 {
  padding: 50px 20px;
}
.online01 h3 {
  margin-bottom: 20px;
}
.online01 .box {
  background: none;
  padding: 0;
  background-size: contain;
}
.online01 .box .textarea dt {
  width: 100%;
  float: none;
}
.online01 .box .textarea dd {
  background-color:#fff;
  width: 100%;
  float: none;
  padding: 0;
  margin-top: 30px;
}
.online01 .box .textarea dd p {
  font-size: 1.5rem;
  padding: 20px 0;
}

.online02 {
  padding: 50px 20px;
}
.online02 .lead {
  font-size: 2.0rem;
  padding: 30px 0;
  margin: 0 auto;
  text-align: left;
  width: 100%;
  max-width: 1090px;
}
.online02 .pic {
  margin-bottom: 40px;
}

}


/* コンテンツ */
.contents_inner .pic {
  margin-bottom: 70px;
}

.contents_inner .txt01 {
  font-size: 2.8rem;
  margin-bottom: 40px;
}
.contents_inner .txt02 {
  font-size: 2.0rem;
  margin-bottom: 25px;
}
.contents_inner .line {
  font-size: 4.8rem;
  margin-bottom: 40px;
}

@media screen and (max-width: 748px) {

  .contents_inner .txt01 {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }
  .contents_inner .txt02 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }
  .contents_inner .line {
    font-size: 2.4rem;
    margin-bottom: 15px;
  }

}

.contents3 .details {
  margin: 0 auto 70px;
  max-width: 1060px;
}
.contents3 .details li {
  float: left;
  width: 48%;
  max-width: 500px;
  text-align: right;
  position: relative;
}
.contents3 .details li:nth-child(2n) {
  float: right;
  text-align: left;
}
.details dl {
	position: absolute;
	top: 0;
	margin: 0;
	padding: 16px 24px;
	box-sizing: border-box;
	color: #000;
	background: rgba(255,255,255,.8);
  height: 100%;
}
.details dt {
  font-size: 2.6rem;
  padding: 30px 0 15px;
  font-weight: bold;
}
.details dd {
  font-size: 1.8rem;
  padding-bottom: 20px;
}
.details dd.icon {
  display: inline-block;
  padding: 10px 20px;
  background: #000;
  color: #fff;
  font-size: 1.6rem;
  min-width: 120px;
  font-family: 'Hammersmith One', sans-serif;
}
/* :::::: type3 :::::: */
.details .type3 {
	overflow: hidden;
}
.details .type3 dl {
	background: transparent;
  text-align: center;
  width: 100%;
}
.details .type3 dl dt,
.details .type3 dl dd {
	position: relative;
	z-index: 1;
	transition: opacity .3s .3s;
}
.details .type3:not(:hover) dl dt,
.details .type3:not(:hover) dl dd {
	opacity: 0;
	transition-delay: 0s;
}
.details .type3 dl::before,
.details .type3 dl::after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	width: 50%;
	height: 100%;
	background: rgba(255,255,255,.8);
	transition: opacity .3s, transform .3s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.details .type3 dl::before {
	left: 0;
}
.details .type3 dl::after {
	right: 0;
}
.details .type3:not(:hover) dl::before,
.details .type3:not(:hover) dl::after {
	opacity: 0;
	transition-duration: .6s;
}
.details .type3:not(:hover) dl::before {
	transform: translateX(-175px) skew(-30deg);
}
.details .type3:not(:hover) dl::after {
	transform: translateX(275px) skew(-30deg);
}

.contents3 .point li {
  position: relative;
  float: left;
  width: 30%;
  margin-left: 5%;
  background-color: #fff;
  margin-bottom: 40px;
  margin-top: 40px;
}
.contents3 .point li:first-child {
  margin-left: 0;
}
.contents3 .point li .point1 {
  border: 2px dashed #E9C727;
  background: url(../images/bc08.png) 50% 20px no-repeat;
  background-size: 100px auto;
  padding-top: 85px;
}
.contents3 .point li .point2 {
  border: 2px dashed #E9C727;
  background: url(../images/bc06.png) 50% 35px no-repeat;
  background-size: 100px auto;
  padding-top: 85px;
}
.contents3 .point li .point3 {
  border: 2px dashed #E9C727;
  background: url(../images/bc07.png) 50% 50px no-repeat;
  background-size: 100px auto;
  padding-top: 85px;
}
.contents3 .point li .icon {
  display: block;
  position: absolute;
  top: -20px;
  left:-20px;
  background-color: #C62828;
  color: #fff;
  padding: 10px;
  min-width: 80px;
  font-family: 'Fjalla One', sans-serif;
  font-size: 1.8rem;
}
.contents3 .point li h4 {
  padding: 40px 20px 0;
  font-size: 2rem;
  font-weight: bold;
}
.contents3 .point li h4 span {
  display: block;
  font-family: 'Fjalla One', sans-serif;
  font-size: 1.4rem;
  color: #C62828;
}
.contents3 .point li p {
  padding: 20px 20px ;
  font-size: 1.6rem;
  text-align: left;
}

@media screen and (max-width: 748px) {

.contents3 .point li {
  float: none;
  width: 90%;
  margin: 30px auto;
}
.contents3 .point li:first-child {
  margin: 30px auto;
}
.contents3 .point li .icon {
  top: -10px;
  left:-10px;
}

}


/*トップへ戻るボタン*/
.topBtn {
  position:fixed;
  bottom:20px;
  right:20px;
  display:block;
  z-index: 9999;
}
.topBtn:hover {
  opacity:0.9;
}
/*layout*/
.wrapper {
  position:relative;
  z-index: 0;
}

@media screen and (max-width: 748px) {

  .topBtn {
    max-width: 60px;
    right:10px;
  }
  .topBtn img {
    width: 100%;
    height: auto;
  }

}
