@charset "UTF-8";
/* CSS Document */

/*---------------------

基本装飾

---------------------*/
:root {
	/* --- ベースカラー --- */
	--base-color:#fff;
	--main-color:#000;
	--gray-color:#7c7c7c;
	
	/* --- レッドー --- */
	--red:#af4343;
	
	/* --- グレーー --- */
	--gray:#f1f1f1;
	
	/* --- シャドウ --- */
	--box-shadow:0px 0px 15px -5px rgba(0,90,173,0.5);
	
	/* --- フォントサイズ スケール --- */
	--txt-ss:1.3rem;
	--txt-s:1.6rem;
	--txt-m:1.8rem;
	--txt-l:2rem;
	--txt-xl:2.2rem;
	--txt-2xl:2.4rem;
	--txt-3xl:2.6rem;
	
	/* --- タイトルサイズ スケール --- */
	--txt-jattl:1.8rem;
	--txt-ttl:5rem;
	--txt-pagettl:3rem;
	
	
	/* --- トランジション --- */
    --transition: .4s;
}

@media screen and (max-width:769px){
	:root {
		--txt-s:1.4rem;
		--txt-m:1.6rem;
		--txt-l:1.8rem;
		--txt-xl:2rem;
		--txt-2xl:2.2rem;
		--txt-3xl:2.2rem;
		/* --- タイトルサイズ スケール --- */
		--txt-jattl:1.6rem;
		--txt-ttl:3rem;
		--txt-pagettl:2rem;
		
	}
}
/*---------------------

ボディ

---------------------*/
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}
body {
    letter-spacing: 0.05em;
    font-feature-settings: "palt";
    font-size: 1.4rem;
	line-height: 2;
    font-weight: 400;
    font-style: 500;
	color: var(--main-color);
    font-family: 'Noto Sans JP', sans-serif;
    -webkit-appearance: none;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    background: var(--base-color);
    margin: 0 auto;
}

/*---------------------

画面幅

---------------------*/
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0;
}
@media screen and (max-width:1300px){
    .wrap{
        margin: 0 5%;
    }
}
@media screen and (max-width:425px){
	.wrap{
		margin: 0 15px;
	}
}



/*---------------------

余白

---------------------*/
.block {
    padding: 100px 0;
    display: block;
}
.block-bottom{
    padding-bottom: 100px;
}
.block-top{
    padding-top: 100px;
}
@media screen and (max-width:1300px){

}
@media screen and (max-width:769px){
	.block {
		padding: 60px 0;
		display: block;
	}
	.block-bottom{
		padding-bottom: 60px;
	}
	.block-top{
		padding-top: 60px;
	}
}


/*---------------------

フェードアップ

---------------------*/
/* フェードインのCSS */
.fadeup {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.33, 1, 0.68, 1),
              transform 1s cubic-bezier(0.33, 1, 0.68, 1);
}
.fadeup.fadeup2{
	 transition-delay: 0.40s;
}

.fadeup.fadeup3{
	 transition-delay: 0.55s;
}

.fadeup.is-visible {
  opacity: 1;
  transform: translateY(0);
}

 
/*---------------------

レスポンシブ

---------------------*/
.pconly {
    display: block;
}
.sponly {
    display: none;
}
@media screen and (max-width:769px){
	.sponly{
		display: block;
	}
	.pconly{
		display: none;
	}
}
@media screen and (max-width:769px){

}

/*---------------------

共通クラス

---------------------*/
.center {
    text-align: center;
}
.center img{
    margin: 0 auto;
}
.bold{
	font-weight: bold;
}
small{
    font-size: 1.2rem;
}
a{
    transition: .4s;
}
ul{
	list-style: none;
}
div,
li,
a{
    box-sizing: border-box;
}
iframe{
    max-width: 100%;
    height: auto;
}
/*---------------------

ボタン動き

---------------------*/
a,
a::before,
a::after{
	transition: var(--transition);
    box-sizing: border-box;
}
div{
    box-sizing: border-box;
}
a:hover{
/*    opacity: .6;*/
}

/*---------------------

見出しは太く

---------------------*/
h1,h2,h3,h4{
/*    font-weight: 600;*/
}
/*---------------------

背景

---------------------*/
.bg-gray{
	background: #e4e4e4;
}
/*---------------------

PCだけフレックス

---------------------*/
.flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
@media screen and (max-width:769px){
	.flex{
		display: block;
	}
}
/*---------------------

英語はフォント変更

---------------------*/
.en{
    font-family: "avenir-next-lt-pro", sans-serif;
	font-weight: 200;
	font-style: normal;
}
/*---------------------

ボタン

---------------------*/
.btnarea{
    margin-top: 40px;
}
.btnarea.center{
    text-align: center;
}
.btn{
    background: var(--main-color);
    padding: 8px 20px;
    position: relative;
    display: inline-flex;
	align-items: center;
    color: var(--base-color);
    font-size: var(--txt-s);
    box-sizing: border-box;
    border:  var(--main-color) solid 1px;
}
.btn::after{
	  content: '';
	  width: 20px;
	  height: 5px;
	  border-bottom: solid 1px;
	  border-right: solid 1px;
	  transform: skew(45deg);
	margin: 0 0 0 10px;
}
.btn:hover,
.btn.white{
    background: var(--base-color);
    color: var(--main-color);
}
.btn.white:hover{
    background: var(--main-color);
    color: var(--base-color);
}
@media screen and (max-width:425px){
	.btn{
		width: 100%;
		justify-content: center;
	}
}

/*---------------------

トップページのセクション見出し

---------------------*/
.ttlarea{
    margin-bottom: 60px;
	text-align: center;
}
.ttlarea .ja-ttl{
    font-size: var(--txt-jattl);
    line-height: 1;
    margin-bottom: 20px;
/*	font-weight: 500;*/
}
.ttlarea .ttl{
    font-size:  var(--txt-ttl);
    line-height: 1;
}
@media screen and (max-width:425px){
	.ttlarea{
		margin-bottom: 40px;
	}
}
/*---------------------

下層ページのセクション見出し

---------------------*/
.secttl{
    font-size: var(--txt-l);
/*    font-weight: 500;*/
    line-height: 1;
}
.sec-ttlarea{
	text-align: left;
}
.sec-ttlarea .secttl{
	border-bottom:  1px solid var(--main-color);
	padding:0 0 20px 10px;
}
@media screen and (max-width:425px){

	.sec-ttlarea .secttl{
		padding: 0 0 15px 5px;
	}
}

/*-----------------------

ハンバーガーメニュー

-----------------------*/
.hamburger-menu {
	width: 40px;
    height: 20px;
	position: relative;
    cursor: pointer;
    z-index: 999999999;
	background: none;
	border: none;
	display: block;
}
    .hamburger-menu__bar {
      display: inline-block;
      height: 2px;
      background: var(--main-color);
      position: absolute;
      transition: .5s;
		right: 0;
		left: auto;
		width: 100%;
		margin-left: auto;
    }
    .hamburger-menu__bar:first-child {
      top: 0;
    }
    .hamburger-menu__bar:nth-child(2) {
      top: 8px;
		width: 80%;
    }
    .hamburger-menu__bar:last-child {
      top: 16px;
		width: 50%;
    }
    .hamburger-menu--open .hamburger-menu__bar {
      top: 50%;
    }
.hamburger-menu--open .hamburger-menu__bar{
	background: var(--base-color);
	width: 100%;
}
    .hamburger-menu--open .hamburger-menu__bar:first-child {
      transform:  rotate(45deg);
    }
    .hamburger-menu--open .hamburger-menu__bar:last-child {
      transform:  rotate(-45deg);
    }
    .hamburger-menu--open .hamburger-menu__bar:nth-child(2) {
      display: none;
    }
    #header .nav {
/*      background: #eaf8ff;*/
position: fixed;
        right:0;
        top: 0;
        height: 100vh;
      max-width: 400px;
      z-index: 9999999;
        right: -100%;
        padding: 100px 0 60px;
        height: 100vh;
        display: none;
         padding-bottom: 100px;
/*        overflow: scroll;*/
    }
    #header .nav.open{
        height: 100vh;
        display: block;
        right: 0;
        border-radius: 0;
        width: 100%;
        background: var(--main-color);
        box-sizing: border-box;   
    }
    #header .nav ul {
        display: block;
      list-style: none;
      padding: 0;
      margin: 0;
        border: none;
        width: 100%;
    }
    #header nav ul li{
        text-align: left;
    }
    #header .nav ul li a{
        width: 100%;
        padding: 8px 30px;
        font-size: var(--txt-s);
        border-bottom: solid 1px #707070;
        display: flex;
		align-items: center;
		color: var(--base-color)
    }
#header .nav ul li a .en{
	font-size: 3rem;
	padding-right: 10px;
}
    

/*---------------------

ヘッダー

---------------------*/

header{
    position: relative;
	background: var(--base-color);
	position: fixed;
    padding: 20px 60px 20px;
    width: 100%;
    z-index: 111111111;
	box-sizing: border-box;
}
header .logo{
	font-size: 4rem;
	position: absolute;
	margin: auto;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	text-align: center;
	z-index: -1;
	width: max-content;
	line-height: 1.6;
}
.login-name{
	font-size: 1.1rem;
}
.navinner{
	display: flex;
	align-items: center;
}
.mainmenu li{
	margin-right: 15px;
}
.mainmenu li a{
	display: flex;
	align-items: center;
}
.mainmenu li a img{
	padding-right: 3px;
}
.header-nav{
	max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}
header nav ul{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
@media screen and (max-width:769px){
	header{
		padding: 10px 20px 10px;
	}
	.mainmenu li a{
		display: block;
		font-size: 1.2rem;;
		text-align: center;
	}
	.mainmenu li a span{
		display: block;
	}
	.mainmenu li a img{
		padding:0;
	}
}
@media screen and (max-width:500px){
	.mainmenu li a img{
		width: 20px;
		height: 20px;
	}
	.mainmenu li{
		margin-right: 5px;
	}
	.mainmenu li a{
		font-size: 1rem;
		line-height: 1.8;
	}
	header .logo{
		font-size: 2.6rem;
		line-height: 2;
	}
	.hamburger-menu{
		width: 30px;
		height: 18px;
	}
}
@media screen and (max-width:425px){
	header{
		padding: 10px;
	}
}

/*---------------------

パンクズリクス

---------------------*/
.breadcrumb{
    background: var(--base-color);
    font-size: 12px;
    color: var(--main-color);
}
/*---------------------

ファーストビュー

---------------------*/
.pagettlarea{
    padding: 160px 20px 100px;
    text-align: center;
    line-height: 1.1;
	background: var(--gray);
	font-size: var(--txt-pagettl);
}
header .ja-ttl{
    font-size: 2rem;
}
header .page-ttl{
   text-transform:uppercase;
    font-size: 7rem;
    font-weight: 700;
}
header .pagettl .ja{
    font-size: 2rem;
}
.mainarea {
  height: 90vh;
  color: var(--base-color);
  position: relative;
  overflow: hidden;
}

/* 背景画像を疑似要素に分離してそこだけアニメーション */
.mainarea::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("../images/top/1st-firstview_pc.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  transform: scale(1.1); /* scaleで拡大→縮小に変更 */
  animation: kenburns 7s ease-out forwards;
  z-index: 0;
}
@keyframes kenburns {
  0%   { transform: scale(1.1); }
  100% { transform: scale(1.0); }
}
.mainarea h1{
	position: absolute;
	top: 40%;
	font-size: 3rem;	
}
/* カーソル点滅 */
.text-content {
  border-right: 2px solid currentColor;
  animation: blink 1s infinite;
}

/* タイピング完了後はカーソル非表示 */
.text-content.done {
  border-right: none;
  animation: none;
}

@keyframes blink {
  0%, 50%  { border-color: currentColor; }
  51%, 100% { border-color: transparent; }
}
@media screen and (max-width:769px){
	.mainarea h1{
		top: auto;
		bottom: 20%;
	}
}
@media screen and (max-width:425px){
	.pagettlarea{
		padding: 95px 15px 40px;
	}
	.mainarea{
		height: 90vh
	}
	.mainarea::before {
		background: url("../images/top/1st-firstview_sp.jpg")no-repeat;
		background-size: cover;
		background-position: right top;
	}
	.mainarea h1{
		font-size: 2.4rem;
		bottom: 15%;
		left: 20px;
	}
}




/*---------------------

ページトップ

---------------------*/
#page_top a{
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0,90,173,1);
    width: 50px;
    height: 50px;
    z-index: 1000;
    line-height: 60px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0px 0px 15px -5px rgba(41,42,44,0.6);
    opacity: 0.8;
    color: #fff;
}
#page_top a::before{
    position: absolute;
    content: "\f077";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #fff;
    margin: auto;
    right: 0;
    left:0;
/*    bottom: 0;*/
    line-height: 50px;
}
#page_top a:hover{
    opacity: 1;
}

/*---------------------

固定問い合わせエリア

---------------------*/
#form_area .inner a{
	background: url("../images/common/form_pc.jpg")no-repeat;
	background-size: cover;
	color: var(--base-color);
	padding: 100px 60px;
	display: block;
}
#form_area .inner a:hover{
	opacity: 0.6;
}
#form_area .inner .ttlarea{
	align-items: center;
	justify-content: flex-start;
	margin: 0;
}
#form_area .inner .ttl{
	margin-right: 15px;
}
#form_area .inner .ja-ttl{
	margin:0;
}
@media screen and (max-width:769px){
	#form_area .inner a{
		background: url("../images/common/form_sp.jpg")no-repeat;
		background-size: cover;
		padding: 60px 30px;
	}
	#form_area .inner .ttlarea{
		text-align: left;
	}
	#form_area .inner .ja-ttl{
		padding-top: 15px;
	}
}



/*---------------------

フッター

---------------------*/

footer .logo{
	font-size: 6rem;
	line-height: 1;
}
footer{
    background: var(--main-color);
    padding: 80px 0 20px;
    color: var(--base-color);
}
footer .snsbox{
	display: flex;
	margin-top: 20px;
	justify-content: center;
	align-items: center;
}
footer .snsbox li{
	margin:0 5px;
}
footer .snsbox li a img{
	border: solid 1px var(--base-color);
	border-radius: 50%;
}
footer .snsbox li a:hover{
	opacity: 0.6;
}
footer .wrap{
    justify-content: space-between;
    align-items: flex-start;
}
footer .menu{
/*    width: 66%;*/
}
footer .menu li a::before{
	content: "⚫︎";
	color:var(--red);
	padding-right: 10px;
	display: inline-block;
}
footer .menu li a:hover{
	padding-left: 10px;
	color: var(--red);
}
footer .menu li a:hover::before{
	padding-right: 5px;
}
footer small{
    text-align: center;
    margin-top: 60px;
    display: block;
}

@media screen and (max-width:769px){
	.logo_area{
		text-align: center;
	}
	footer .snsbox{
		justify-content: center;
		margin:15px 0 30px;
	}
	footer .menu{
		display: flex;
		justify-content: center;
	}
/*
	footer .menu ul li{
		width: 30%;
	}
*/
}










