html{
    scroll-behavior: smooth;
}

body{
    overflow: visible;
    font-size: 40px;
    line-height: 1.7;
    color: #4f4f4f;
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
}

a{
    text-decoration: none;
}

.serif{
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.totop-banner{
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 120px;
    right: 20px;
    z-index: 10000;
}

.header {
    position: sticky;
    display: block;
    justify-content: center;
    align-items: center;
    background: #fff;
    width: 100%;
    height: 13%;
    top: 0;
    z-index: 9998;
}

.header-logo {
    width: auto;
    height: 40%;
    position: absolute;
    left: 1%;
    top: 0;
    bottom: 0;
    margin: auto 0;
}

/* ここから下がハンバーガーメニューに関するCSS */
  
/* チェックボックスを非表示にする */
.drawer_hidden {
    display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    right: 5%;
    z-index: 10000;/* 重なり順を一番上にする */
    cursor: pointer;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
    content: '';
    display: block;
    height: 5px;
    width: 50px;
    border-radius: 5px;
    background: #333;
    transition: 0.5s;
    position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
    top: -300%;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
    top: 300%;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked ~ .drawer_open span {
    background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked ~ .drawer_open span::before {
    top: 0;
    transform: rotate(45deg);
}

#drawer_input:checked ~ .drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
}
  
/* メニューのデザイン*/
.nav-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0%;
    right: 100%; /* メニューを画面の外に飛ばす */
    z-index: 99;
    background: rgba(110, 110, 110, 0.5);
    transition: .3s ease-in-out;
    text-align: center;
    overflow-y: auto;
    opacity: 0;
}

.nav-back{
    width: 70%;
    height: 100%;
    padding: 0 0;
    margin: 0 0;
    background-color: rgb(87, 144, 209);
}

.nav-list{
    list-style: none;
    width: 100%;
    height: 100%;
    padding: 0 0;
    margin: 0 0;
    display: flex;
    flex-direction: column;
}

.nav-list li{
    width: 100%;
    height: 100px;
    display: block;
    text-align: left;
    align-items: center;
    justify-content: left;
    position: relative;
}
.nav-list li::after{
    border: 1px dotted white;
}

.nav{
    color: white;
    padding: 50px auto;
    text-align: left;
    align-items: center;
    justify-content: left;
}

.row{
    position: relative;
    align-items: center;
    margin: auto 0;
    top: 0;
    bottom: 0;
}

.has-child{
    margin-bottom: 0;
}
.has-child.open{
    margin-bottom: 100px;
}

.child {
    display: none;
    width: 100%;
    height: 100px;
    top: calc(100% - 68px);
    left: 0;
    position: relative;
    margin: 0 0;
    padding: 0 0;
    justify-content: left;
    text-decoration: none;
    color: white;
    text-align: left;
}
.has-child.open .child {
    display: block;
}

.child li a{
    color: white;
}

.navlist li :nth-child(3){
    flex-direction: row;
}

.nav-list li a{
    padding-left: 10%;
}

.toggle{
    width: 45px;
    height: 45px;
    position: absolute;
    display: flex;
    align-items: center;
    left: 15px;
    top: 11px;
    border: 3px solid white;
    color: white;
    background: transparent;
}

.toggle::before {
    content: "+";
    font-size: 40px;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: block;
    position: relative;
    left: 0;
    right: 0;
    margin: 0 auto;
}

/* 開いたら - */
.has-child.open .toggle::before {
    content: "-";
    font-size: 40px;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: block;
    position: relative;
    left: 0;
    right: 0;
    margin: 0 auto;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .nav-content {
    right: 0;
    opacity: 1;
}

.header-white{
    top: 0;
    height: 77%;
    width: 100%;
}

.header-tel{
    height: 23%;
    width: 100%;
    text-align: center;
    background-color: rgb(128, 184, 229);
    justify-content: center;
    display: flex;
}

.header-tel a{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0a;
    font-size: 2vh;
}

.slideshow{
    position: relative;
    width: 100%;
    box-sizing: border-box;
    height: 1000px;
    margin-top: 0;
    margin-left: 0;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* スライド共通 */
.slideshow .slide{
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0;
    transform: scale(1.5);

    animation: slideshow 30s linear infinite;

    z-index: -5
}

/* 各スライドの画像 */
.slideshow .slide:nth-child(1){
    background-image: url(images/slide-1.jpg);
    animation-delay: 0s;
}

.slideshow .slide:nth-child(2){
    background-image: url(images/slide-2.jpg);
    animation-delay: 10s;
}

.slideshow .slide:nth-child(3){
    background-image: url(images/slide-3.jpg);
    animation-delay: 20s;
}

/* スライドのアニメーション */
@keyframes slideshow{

    0%{
        opacity: 0;
        transform: scale(1.5);
	    filter: blur(0.5rem);
    }
    8%{
        opacity: 1;
    }
    27%{
	    filter: blur(0rem);
    }
    33%{
        opacity: 1;
    }
    45%{
        opacity: 0;
    }
    100%{
        opacity: 0;
        transform: scale(1);
    }
}

.title{
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 150px;
    margin-bottom: 40px;
    left: 0;
    right: 0;
    margin: 0, 0;
    position: relative;
    text-align: center;
}

.title-inner{
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
}

.subtitle{
    font-size: 30px;
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
}

.trust{
    color: white;
    position: relative;
    margin: auto 40px;
    text-shadow: 5px 5px 10px #132132;
}

.trust .title{
    margin: 30px auto;
}

.kenou-button{
    object-fit: contain;
	cursor: pointer;
    width: 500px;
    position: relative;
    left: 0;
    right: 0;
    margin: 40px auto;
    display: block;
}

.company{
    background: rgb(87, 182, 219);
    color: white;
    position: relative;
}

.company .subtitle{
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
}

.company .text{
    margin: auto 40px;
}

.overview-button{
    margin-top: 80px;
    margin-left: 50px;
    margin-right: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    border: 3px solid white;
    box-shadow: -3px -3px 0 inset rgb(99, 206, 248), 3px 3px 0 inset rgb(73, 153, 185);
	cursor: pointer;
}

.philosophy-button{
    margin: 50px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    border: 3px solid white;
    box-shadow: -3px -3px 0 inset rgb(99, 206, 248), 3px 3px 0 inset rgb(73, 153, 185);
	cursor: pointer;
}

.business{
    background-image: url("images/sp-business-back.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.business .sp-bus{
    width: calc(100% - 200px);
    margin: auto 100px;
}

.business-list {
    list-style: none;
    align-items: center;
    display: grid;
    top: 0;
    right: 0;
    position: relative;
    width: 100%;
    height: auto;
    padding: 0 0;
}

.business-list li{
    margin: 50px 50px;
}

.busnav{
    display: block;
    align-items: center;
    justify-content: center;
}

.busnav-number,
.busnav-title{
    text-align: center;
}

.busnav-number {
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 60px;
    position: relative;
    top: 0;
}

.busnav img{
    position: relative;
    margin: 40px 100px;
    width: calc(100% - 200px);
}

.busnav-title{
    font-size: 50px;
    font-weight: bold;
    color: #005F96;
    margin-bottom: 20px;
}

.busnav .text{
    margin: 40px 100px;
    width: calc(100% - 200px);
}

.recruitment .head{
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 60px;
    margin: 40px 100px;
    margin-top: 60px;
    width: calc(100% - 200px);
    text-align: center;
    line-break: strict;
    line-height: 150px;
}

.marker{
    background: linear-gradient(transparent 45%, #FFE881 45%);
}

.recruitment .sentence{
    margin: 40px 100px;
    width: calc(100% - 200px);
}

.recruitment img{
  aspect-ratio: 1/1;
  width: 60%;
  position: relative;
  opacity: 1;
  align-content: center;
  margin: 60px 20%;
}

.recruit-button{
    margin-top: 80px;
    margin-left: 50px;
    margin-right: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    color: white;
    background-color: rgb(87, 182, 219);
    box-shadow: -3px -3px 0 inset rgb(73, 153, 185), 3px 3px 0 inset rgb(99, 206, 248);
	cursor: pointer;
}

.event-button{
    margin: 50px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    color: white;
    background-color: #005F96;
    box-shadow: -3px -3px 0 inset rgb(0, 76, 121), 3px 3px 0 inset rgb(0, 120, 189);
	cursor: pointer;
}

.timeline{
    top: 20px;
    left: 35%;
    width: 90%;
    height: 120px;
    margin: auto 5%;
    font-size: if(media(width > 700px): 80%; else: 90%;);
}

.topics-enquiry{
    background-image: url(images/topics-enquiry.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 5svh;
}

.enquiry{
    padding-top: 400px;
    text-align: center;
    display: block;
    color: white;
}

.enquiry .address{
    font-size: 80%;
}

.enquiry .number{
    font-size: 200%;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.enquiry-button{
    margin: 100px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    color: white;
    background-color: #005F96;
    box-shadow: -3px -3px 0 inset rgb(0, 76, 121), 3px 3px 0 inset rgb(0, 120, 189);
	cursor: pointer;
    position: relative;
}

.news{
    color: #4a4a4a;
    width: auto;
    background-color: white;
    display: block;
    text-align: center;
    height: 600px;
}

.news .serif{
    font-size: 150%;
    margin: 50px auto;
}

.bottom-enquiry{
  width: 100%;
  height: 800px;
  background-image: url(images/bot-enquiry.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  position: relative;
}

.bottom-enquiry .contents{
  position: absolute;
  height: 100%;
  width: calc(100% - 100px);
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 0 50px;
}

.bottom-enquiry .serif{
    font-size: 180%;
    margin: 30px 0;
}

.bottom-enquiry .number{
    font-size: 200%;
}

.bottom-enquiry-button{
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  background-color: #DF9340;
  border-radius: 50px;
  width: 100%;
  height: 150px;
  font-size: 120%;
  text-align: center;
  margin: 50px 0;
}

.footer{
    padding: 30px 0;
    font-size: 80%;
    width: auto;
    color: #4f4f4f;
    background-color: rgb(128, 184, 229);
    display: flex;
    justify-content: center;
    align-items: center;
}
