/*
Theme Name:Shoei
*/
html{
	height:100%;
	overflow:auto;
}
body{
    width: 100%;
    font-family: "Noto Sans JP", sans-serif;
    font-size: min(3.5vw, 16px);
    line-height: min(7.5vw,180%);
	font-weight:400;
    position: relative;
    overflow: hidden;
	-webkit-text-size-adjust: 100%;
    letter-spacing: 0.3px;
    animation: Fadein 500ms cubic-bezier(0.32, 0, 0.67, 0) forwards;
}
@keyframes Fadein {
    0%{opacity: 0;}
    100%{opacity: 1;}
}
h1, h2, h3, h4, h5, h6,*{
	box-sizing:border-box;
	margin:0px;
	padding:0px;
}
:not(input){
	caret-color: rgba(0,0,0,1);
}
a {
    overflow: hidden;
    outline: none;
    color: inherit;
}
a:link,a:hover,a:visited{
	text-decoration:none;
}
a,a::before,a::after{
	transition: all ease 300ms;
    color: inherit;
}
li{
	list-style-type:none;
}
img{
	vertical-align: bottom;
	border-style:none;
	box-shadow: #000 0 0 0;
	height:auto;
	width:100%;
}
img:not([src*=".svg"]) {
    width: 100%;
    /*max-width: max-content;
    max-width: -moz-max-content;*/
}
img.move {
    transition: clip-path ease 300ms;
    transition-delay: 150ms;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
}
img.moved {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
input[type="text"]:focus {
/*  outline: 0;*/
}
x:-moz-any-link, x:default {
	box-shadow: #000 0 0 0;
}
table,th,td{
border-collapse: collapse;
border: 0 ;
}
input::-webkit-input-placeholder,
input:-ms-input-placeholder,
input::-moz-placeholder{
    color: #ccc;
    font-weight: normal;
}
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
    transition: all ease 200ms;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}
input.searchsubmit {
    background: #4c4c4c url(./img/cmn/ico_search.svg) no-repeat center / 20px;
    text-indent: -99999px;
}
form{
    position: relative;
}
form.wpcf7-form {
    width: 100%;
}
form#searchform {
    width: fit-content;
}
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
select,
textarea{
    background: #fff;
    font-size: 1em;
    padding: 0.5em 1em;
    display: inline-block;
    border-color: #d9d9d9;
}
textarea{
	resize: none;
}
address {
    font-style: normal;
}
.input_w100{
    width: 100%;
}
input.input_w100:focus,
select.input_w100:focus,
textarea.input_w100:focus{
    outline: 2px solid #005baa;
}
.move{
/*    transition: all ease 500ms;*/
}
.mini {
    font-size: 80%;
}
div[role="main"] {
    width: 90%;
    max-width: 1410px;
    margin: 0 auto;
}
article{
    position: relative;
}
main{
    position: relative;
}
@media screen and (min-width:641px) {
	.sp{display: none !important;}
}
@media screen and (max-width:640px) {
	.pc{display: none !important;}
}
/*================================
Font
================================*/
.font_j{
    font-family: "Josefin Sans", sans-serif;
}
/*================================
linkbtn
================================*/
.link_btn {
    display: flex;
    background: #0071b7;
    color: #fff;
    line-height: 100%;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #0071b7;
    font-size: min(4.5vw, 23px);
    font-weight: 600;
    width: min(70vw, 300px);
    padding: min(5vw, 20px) min(4vw, 25px) min(5vw, 20px) min(7vw, 35px);
    border-radius: min(8vw, 60px);
}
.link_btn::after {
    content: "";
    display: block;
    background: #fff;
    width: 0.6em;
    height: 0.6em;
    border-radius: 50%;
}
.link_btn:hover {
    color: #0071b7;
    background: #fff;
}
.link_btn:hover::after  {
    background: #0071b7;
}
/*================================
Header
================================*/
main{
    padding-top: min(20vw,90px);
}
header {
    height: min(20vw,90px);
    position: fixed;
    width: 100%;
    z-index: 1000;
}
.h_inr {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 100%;
    padding: 0px 4%;
}
.h_logo{
    display: block;
    width: min(30vw, 115px);
}
.h_contact_btn {
    width: min(33vw, 170px);
    padding: min(3vw,15px) min(3vw,20px);
    border-radius: 40px;
    font-size: min(3.5vw, 16px);
    font-weight: 400;
    margin-bottom: min(2.5vw, 10px);
    margin-right: min(18vw, 105px);
}

/*スクロール時---------------------------------------*/
header,
.h_inr,
.h_contact_btn,
.menu_btn{
    transition: all ease 200ms;
}
body.past_fv header {
    background: rgba(255, 255, 255, 0.7);
    height: min(20vw, 70px);
    backdrop-filter: blur(5px);
}
body.past_fv .h_inr{
    align-items: center;
}
body.past_fv .h_contact_btn {
    margin-bottom: 0;
}
body.past_fv .menu_btn{
    top: min(9vw, 18px);    
}
/*================================
drawer menu
================================*/
.menu_btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: min(13vw,70px);
    height: min(6.5vw,36px);
    cursor: pointer;
    position: fixed;
    top: min(9vw, 35px);
    right: 4%;
    z-index: 2000;
}
.menu_btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
}
.menu_btn.menuopen span{
    background: #fff;
    transition: all ease 300ms;
}
.menu_btn.menuopen span:nth-of-type(1) {
    transform: rotate(26deg);
    transform-origin: top left;
    width: 110%;
}
.menu_btn.menuopen span:nth-of-type(2) {
    opacity: 0;
}
.menu_btn.menuopen span:nth-of-type(3) {
    transform: rotate(-26deg);
    transform-origin: bottom left;
    width: 110%;
}
.h_menu {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 1999;
    background: rgba(0, 87, 139, 0.95);
    color: #fff;
    width: min(100%, 500px);
    padding: min(25vw, 180px) min(7.5vw, 80px) 0;
    transition: all ease 300ms;
}
.menu_btn:not(.menuopen) + .h_menu {
    transform: translateX(100vw);
}
.drawermenu_wrap {
    transition: all ease 300ms;
    transition-delay: 350ms;
    font-size: min(4vw,18px);
}
.menu_btn:not(.menuopen) + .h_menu .drawermenu_wrap {
    opacity: 0;
    transform: translateY(1em);
}
.drawer_link {
    display: flex;
    padding: 0.7em 0;
    line-height: 1;
}
.drawer_link .jp {
    width: 11em;
    min-width: 11em;
}
.drawer_link .en {
    transition: all ease 300ms;
}
.drawer_link:not(:hover) .en {
    color: #0071b7;
}
/*================================
footer
================================*/
.f_contact_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    height: min(45vw, 280px);
}
.f_contact_btn {
}
.f_inr {
background: linear-gradient(to right,  rgba(0,135,226,1) 0%,rgba(0,87,139,1) 100%);
    color: #fff;
    padding: min(7vw, 50px) 4%;
}
.f_logo_wrap {
    display: flex;
    line-height: 1.2;
}
.f_logo {
    display: block;
    width: min(30vw, 140px);
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
    margin-right: 20px;
}
.copyright_wrap {
    background: #00578b;
    color: #fff;
    text-align: center;
    line-height: 1;
    padding: min(4vw, 25px) 0 min(4.5vw, 30px);
}
.address {
    font-style: normal;
    font-size: min(3.5vw, 15px);
}

/*================================
下層ページ タイトル部分（page_head）
================================*/
.page_head {
    padding: min(18vw, 80px) 0 min(10vw, 100px);
}
.page_ttl_wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.page_subttl {
    color: #0071b7;
    font-size: min(8.5vw, 46px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: min(0.3vw,3px);
    margin-bottom: min(1vw, 10px);
}
.page_ttl {
    font-size: min(4vw, 20px);
    font-weight: 500;
}