@charset "UTF-8";

html{
    font-size: 100%;
}

* {
    box-sizing: border-box;
}

body{
    font-family: "Noto Sans","Roboto", Arial, sans-serif, Helvetica ;
    font-size: 1.1em;
    color:#444;
}

img{
    width: 100%;
    object-fit: cover;
    vertical-align: bottom;
}

a{
    text-decoration: none;
    color:#444;
}

li{
    list-style: none;
}

p{
    font-weight: 300;
}

ul{
    margin:0;
	padding: 0;
	list-style: none;
}
header{
	position: fixed;
	top: 0;
    z-index:15;
	width:100vw;
    background-color:white;
}

.header{
    display:flex;
    justify-content: space-between;
    padding-right:100px;
    padding-left: 80px;
}

#splash{
	position: fixed;
    top:0;
	width: 100vw;
	height:100vh;
	background:#130d78;
	z-index: 999;
	text-align:center;
}

#splash-logo{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
    font-size: 1.8rem;
    letter-spacing: 0.2em;
    color:#fff;
    font-weight:500;
    font-family:'Raleway','Noto sans','Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.fadeUp{
    animation-name: fadeUpAnime;
    animation-duration:0.5s;
    animation-fill-mode:forwards;
    opacity: 0;
}
    
    @keyframes fadeUpAnime{
    from {
        opacity: 0;
    transform: translateY(100px);
    }
    
    to {
        opacity: 1;
    transform: translateY(0);
    }
}

/*画面遷移の後現れるコンテンツ設定*/
#container{
	opacity: 0;
    position: relative;
    z-index: 90;
}

/*bodyにappearクラスがついたら出現*/
body.appear #container{
	animation-name:PageAnimeAppear;
	animation-duration:.1s;
	animation-delay:0.2s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes PageAnimeAppear{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}

.logo{
    width: 80px;
    height: 80px;
    margin-top:10px;
}

.nav{
    display:flex;
    justify-content: space-evenly;
    height:50px;
    margin-top:25px;
}

.nav li{
    list-style: none;
    padding: 10px 24px;
    font-size: 0.9em;
}

.nav li a:hover{
    border-radius: 5px;
}

.nav li a{
    position: relative;
}

.nav li a::after {
    background-color: currentColor;
    bottom: -6px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform .3s;
    width: 100%;
}

.nav li a:hover::after {
    transform-origin: left top;
    transform: scale(1, 1);
}

.hbg-button{
opacity:0;
visibility: hidden;
}

.nav-mask{
    text-align: center;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top:0;
    left:0;
    /* transform: translateX(-100%); */
    /* display:none; */
    visibility: hidden;
    z-index:10;
    transition: 0.8s ease;
    opacity:0;
}

/*main visual*/
.mainvisual{
    position: relative;
    height:calc(100vh - 200px);
    margin-top:80px;
}

.bg-video{
    width:100vw;
    cursor:pointer;
    height:calc(100vh- 100px);
    object-fit: cover;
}

video{
    height:calc(100vh - 200px);
    width: 100vw;
}

.slogan .first{
    position:absolute;
    top: 25%;
    left: 3%;
}

.mainvisual .slogan h1{
    font-size:48px;
    color: #fff;
    font-weight: 600;
    font-family:  "Noto Sans", "Raleway";
    -webkit-text-stroke-color: rgb(213, 213, 246);
    -webkit-text-stroke-width: 1px;
    line-height:1.5em;
}

.first{
    text-align: left;
}

/* SVGスタイル */
svg{
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100vw;
    height:calc(100vh - 200px);
    z-index: 10; /* 日本語テキストの上に表示 */
}


/* マウスフォローテキストの効果 */
.masked-text{
    font-size: 48px;
    text-anchor: middle;
    font-weight:600;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    dominant-baseline: middle;
    /* SVGの text 要素で使用するプロパティで、テキストの垂直方向の基準を指定するもの */
    fill: #fff;
    overflow: hidden;
}

/*スクロールダウン全体の場所*/
.scrolldown3{
	position:absolute;
	bottom:0px;
	right:50%;
	animation:mousemove 1.6s ease-in-out infinite;
}

/*下からの距離が変化して上から下に動く*/
@keyframes mousemove{
    0%{bottom:10px;}
    50%{bottom:5px;}
    100%{bottom:10px;}
}

/*Scrollテキストの描写*/
.scrolldown3 span{
    /*描画位置*/
	position: absolute;
	left:-15px;
	bottom:45px;
    /*テキストの形状*/
	color: #dfcfd1;
	font-size: 0.8rem;
	letter-spacing: 0.05em;
    font-weight:600;
}

/*マウスの中の線描写 */
.scrolldown3 span::after{
	content: "";
    /*描画位置*/
	position: absolute;
	top:10px;
	left:17px;
    /*線の形状*/
	width: 2px;
	height: 15px;
	background: #dfcfd1;
    /*線の動き1.4秒かけて動く。永遠にループ*/
	animation: mousepathmove 1.4s linear infinite;
	opacity:0;
}

@keyframes mousepathmove{
	0%{
		height:0;
		top:10px;
		opacity: 0;
	}
	50%{
		height:15px;
		opacity: 1;
	}
	100%{
		height:0;
		top:30px;
		opacity: 0;
	}
}

/*mouse*/
.scrolldown3:before {
    content: "";
    position: absolute;
    bottom:0;
    left:-10px;
	width:25px;
	height:37px;
	border-radius: 10px;
	border:3px solid #dfcfd1;
}

.scrolldown3:after{
	content:"";
	position: absolute;
	bottom:26px;
	left:0;
	width:5px;
	height: 5px;
	border-radius: 50%;
	border:2px solid #dfcfd1;
}

/*about*/
#about{
    background-color:#ffffff;
}

.section_about {
    padding: 80px 100px 40px;
}

.section_about h2 {
    padding: 24px 0;
    font-family: "Raleway", "Noto Sans", "Roboto", Arial, Helvetica, sans-serif;
    color:#130d78;
}

.bgextend{
	animation-name:bgextendAnimeBase;
	animation-duration:1s;
	animation-fill-mode:forwards;
	position: relative;
	overflow: hidden;
	opacity:0;
}

@keyframes bgextendAnimeBase{
    from {
    opacity:0;
    }

    to {
    opacity:1;  
    }
}

.bgappear{
	animation-name:bgextendAnimeSecond;
	animation-duration:1s;
	animation-delay: 0.6s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes bgextendAnimeSecond{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
    }
}

/*LtoRforAboutServiceContact*/
.bgLRextend::before{
	animation-name:bgLRextendAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #130d78;
}
.service-title .bgLRextend::before{
	animation-name:bgLRextendAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #444;
}
.contact-title .bgLRextend::before{
	animation-name:bgLRextendAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
}

    @keyframes bgLRextendAnime{
	0% {
		transform-origin:left;
		transform:scaleX(0);
	}
	50% {
		transform-origin:left;
		transform:scaleX(1);
	}
	50.001% {
		transform-origin:right;
	}
	100% {
		transform-origin:right;
		transform:scaleX(0);
	}
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgappearTrigger,
.bgLRextendTrigger{
    opacity: 0;
}

.about {
    display:flex;
    justify-content:space-between;
    opacity: 0;
    visibility: visible;
    transform: translateY(20px);
    transition: all ease-in-out .8s;
}

.about_details {
    width: 50%;
    margin-right: 45px;
}

.about p{
    line-height: 1.5em;
}

.about img{
    border-radius: 10px;
}

.about-img{
    width: 50%;
    height: auto;
    margin-left: 45px;
}

/*service*/
.section_service {
    padding:80px;

}

.service-container{
    opacity: 0;
    visibility: visible;
    transform: translateY(20px);
    transition: all ease-in-out .8s;
}

.section_service h2{
    padding: 24px 0;
    line-height: 1.4em;
    width: 100%;
    color:#444;
    font-family: "Raleway", "Noto Sans", "Roboto", Arial, Helvetica, sans-serif;
    text-align: center;
    margin-bottom:16px;
}

.service-container h3{
    padding: 16px 0;
}

.service-container p{
    line-height: 1.5em;
    margin-bottom:16px;
}

.service-container a{
    padding: 2px 16px;
    border: 1px solid #727171;
    border-radius: 3px;
}

.service-container ul{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap:40px;
}

.service-container img{
    height: 250px;
    object-fit: cover;
    border-radius: 3px;
}

.service-container li {
    list-style: none;
    padding-bottom: 24px;
}

.service-container li a h3{
    line-height: 2em;
    color: #444;
}


.btn{
    position: relative;
	overflow: hidden;
	text-decoration: none;
	display: inline-block;
   	border: 1px solid #727171;
    padding: 10px 30px;
    text-align: center;
    outline: none;  
    transition: ease .2s;
}

/*ボタン内spanの形状*/
.btn span {
	position: relative;
	z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
	color:#444;
    font-weight: 300;
}

.btn:hover span{
	color:#ffffff;
}

.bgleft:before {
    content: '';
 	position: absolute;
 	top: 0;
 	left: 0;
 	z-index: 2;
 	background:#727171;
 	width: 100%;
	height: 100%;
 	transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
 	transform: scale(0, 1);
	transform-origin: right top;
}

.bgleft:hover:before{
	transform-origin:left top;
	transform:scale(1, 1);
}


/*contact*/
.contact{
    background:url("../img/Singapore_night.jpg") no-repeat center;
    background-size: cover;
    min-height: 80vh;
    padding: 40vh 0;
}

.contact-title h2{
    color:#ffffff;
    text-align:center;
    line-height: 2em;
}

.contact-sentence h2{
    text-align:center;
    font-family: "Raleway", "Noto Sans", "Roboto", Arial, Helvetica, sans-serif;
}

.button-wrapper{
    display:flex;
    justify-content:center;
}

.contact-button {
    padding: 10px 60px;
    margin: 20px 0 0 0;
    border-radius:30px;
    text-decoration: none;
    border:1px solid #ffffff;
    color: #ffffff;
    transition: all 0.4s ease-in-out;
    cursor :pointer;
    max-width:300px;
}

.contact-button:hover{ 
    border-color:transparent;
    color: #fff;
    background: #130d78;
    background-size: 200% auto;
    background-position: right center;
    box-shadow: 0 5px 10px rgb(250,108,159,0.4);
}

.form-mask {
    text-align: center;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top:0;
    left:0;
     /* transform: translateX(-100%); */
    /* display:none; */
    visibility: hidden;
    z-index:10;
    transition: 0.8s ease;
    opacity:0;
}

.open .form-mask{
    text-align: center;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top:0;
    left:0;
    /* transform: translateX(-100%); */
    /* display:none; */
    visibility: visible;
    z-index:10;
    transition: 0.8s ease;
    opacity:1;
} 

.mask-close img{
    width:48px;
    height: 48px;
}

.mask-close {
    position: fixed;
    right: 8%;
    margin-top:24px;
}
    
.contact-form{
    background: rgb(242, 243, 244);
    background: radial-gradient(circle, rgb(227, 228, 228) 0%, rgb(130, 130, 131) 100%) 0 0 / 200% 100% repeat;
    animation: colorchangeanimation-bg2 5s infinite alternate;
    padding:20px 0;
    height:100vh;
    width:100vw;
    margin-top:75px;
  
}


/* 放射状が左右に動く */
@keyframes colorchangeanimation-bg2{
    0% {
    background-position: 0 0;
    }
    100% {
    background-position: 100% 0;
    }
}

.contact-form h3{
    text-align: center;
    padding-top: 80px;
    padding-bottom: 32px;
}

.form-list{
    width:100%;
    max-width: 950px;
    margin: 0 auto;
    padding:0 40px;
}

#form h3{
    text-align: center;
    margin: 50px 0;
}

input , button , textarea , select {
	margin:0;
	padding:0;
	border:none;
	outline:none;
	background:none;
    font-size: 16px;
}

.form-list input[type='text'] , 
.form-list input[type='email'] , 
.form-list textarea{
	width:100%;
	border:1px solid #ccc;
	background:#f8f9fa;
	padding: 10px;
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
}

.form-list input[type='text'] , input[type='email'] {
	height:50px;
}

.submit-btn{
    width:152px;
    margin: 0 auto;
}

input[type='submit']{
    background: #333;
    color: #fff;
    text-align: center;
    padding: 5px 20px;
    width:152px;
    margin: 0 auto;
}

input[type='submit']:hover{
    background: #555;
} 

.form-list dl{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
	padding:0 0 20px 0;
}

.form-list dt{
    width:30%;
}

.form-list dd{
    width:66%;
}

.form-list textarea {
	height:200px;
}

/*footer*/
footer{
    background-color: white;
}

.footer-wrap{
    margin: 0 100px;
    padding: 16px o;
}

.company {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-img img{
    width: 64px;
    height:64px;
}

.footer-img{
    text-align: center;
    margin: 16px 0;
}

.company p{
    font-size: 0.7em;
    margin: 16px 0;
}

.copyright{
    font-size: 0.6em;
    padding-bottom:16px;
    text-align: center;
}

.page_top {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: fixed;
    right: 20px;
    bottom: 30px;
    opacity: 1;
    transition: all 1s ease;
    background-color:rgb(19, 19, 18);
    border: 2px solid white;
}

.page_top a {
    position: relative;
    display: block;
    width: 90px;
    height: 90px;
    text-decoration: none;
    color: white;
}

.page_top a::before{
    content: '';
    border-style: solid;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
    transform:rotate(-90deg);
    position: absolute;
    top:11px;
    right: 61px;
}

/*pages*/
.pages{
    margin-bottom:80px;
    margin-top:80px;
    margin-left:100px;
    margin-right:100px;
    background-color: white;
    color: #444;
    }   


.pages h2 {
    padding: 36px 0;
    font-family: "Raleway", "Noto Sans", "Roboto", Arial, Helvetica, sans-serif;
}

.page_details {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 40px;
    flex-grow: 1;
}
.page_details h3{
    padding-bottom:16px;
    font-size:1.3em;
}

.page_details p{
    font-size: 0.9em;
    line-height: 1.5em;
}

.page-pic{
    max-width:100%;
}
.page-pic img{
    height: 300px;
}
/*page-nav*/
.pagination {
    display: flex;
    justify-content: center;
    margin-bottom:40px;
}

.pagination a{
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ddd;
    margin: 0 4px;
}
.pagination a.active {
    background-color: #4CAF50;
    color: white;
}
.pagination a:hover:not(.active) {background-color: #ddd;}

/*thanks-page*/
/* thanks.css - thanks.html 専用スタイル */

body.thanks-body {
    font-family: 'Helvetica Neue', sans-serif;
    background-color: #fffdf5;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.thanks-wrapper {
    background-color: #ffffff;
    padding: 40px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 600px;
    width: 90%;
    margin: 20px;
}

.thanks-wrapper h1 {
    font-size: 1.5em;
    margin-bottom: 16px;
    color: #222;
}

.thanks-wrapper p {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.6;
}

  .thanks-wrapper a {
    display: inline-block;
    padding: 12px 24px;
    background-color:#130d78;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .thanks-wrapper a:hover {
    background-color:#0b084c;
  }
  



@media (max-width:1024px){
	.header {
        padding-right: 40px;
        padding-left: 30px;
    }

	.logo {
        width: 60px;
        height: 60px;
        margin-top:15px;
        padding:0;
    }

    .slogan h1{
        font-size:30px;
    }

    .slogan .first{
        position:absolute;
        top: 35%;
        left:0;
        right:0;
        text-align: center;
    }

    svg{
        display: none;
    }

/*about*/
    .section_about {
        padding: 80px 40px;
    }

    .about  {
        flex-direction: column;
        justify-content:space-between;
    }

    #about h2{
        text-align: center;
    }

    .about_details {
        width: 100%;
        margin:0 0 45px 0;
    }

    .about-img{
        width: 100%;
        height: auto;
        margin-left: 0px;
    }

/*service*/
    .section_service {
        padding:50px 40px;
    }

/*hbg not open*/
    .hbg-button {
        height: 32px;
        width: 32px;
        cursor: pointer;
        position: relative;
        z-index: 30;
        position: fixed;
        top: 3.5%;
        right: 40px;
        transition: 0.3s;
        opacity:1;
        visibility: visible;
    }

    .footer-wrap{
        margin: 0 90px;
    }
/*pages*/
    .pages {
        margin: 80px 40px 50px;
    }

    .page_details {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .page_details p{
        width: 100%;
        line-height: 1.8em;
    }

    .page_details img {
        max-width: 100%;
        height: 400px;
    }
/*footer*/
    .footer-wrap{
        margin: 0 40px;
        padding-top: 36px;
    }
}

@media (max-width:820px) {
.nav {
opacity:0;
display:none;
}

/*hbg not open*/
    .hbg-button {
        height: 32px;
        width: 32px;
        cursor: pointer;
        position: relative;
        z-index: 30;
        position: fixed;
        top: 2.5%;
        right: 40px;
        transition: 0.3s;
        opacity:1;
        visibility: visible;
    }

    .hbg-button span{
        width:32px;
        height: 3px;
        display: block;
        background-color: black;
        border-radius: 2px;
        position: absolute;
        transition: 0.3s;
    }

    .hbg-button span:first-child{
        top:0;}
    .hbg-button span:nth-child(2){
        top:12px;}
    .hbg-button span:last-child{
        top:24px;}

/*open*/
    .open .hbg-button span:first-child{
        top: 12px;
        transform: rotate(225deg);
    }

    .open .hbg-button span:nth-child(2){
        opacity: 0;
    }

    .open .hbg-button span:last-child{
        top: 12px;
        transform: rotate(-225deg);
    }

    .open .hbg-button span{
        background-color: white;
    }

    .open .mask {
        background-color: black;
        opacity: 0.8;
        width: 100vw;
        height: 100vh;
        cursor: pointer;
        transition: 0.3s;
        position:fixed;
        top: 0;
        left:0;
        z-index:20;
    }

    .open .nav-mask {
        text-align: center;
        width: 100vw;
        height: 100vh;
        position: fixed;
        top:30%;
        left:0;
        right:0;
        visibility: visible;
        z-index:10;
        transition: 0.8s ease;
        opacity:1;
        line-height: 2em;
    }

    .open .nav-mask li a{
        color: white;
    }

/*main visual*/
    .slogan{
        font-size: 1em;
    }
    .masked-text {
        visibility: hidden;
    }
    svg{
        visibility: hidden;
    }
    .footer-img img {
        width: 45px;
        height:45px;
    }
}

@media(max-width:615px){
    .slogan{
        visibility:hidden;
    }
    .service-container ul{
        display: grid;
        grid-template-columns: 1fr ;
        gap:40px;
    }
    .hbg-button {
        height: 32px;
        width: 32px;
        cursor: pointer;
        position: relative;
        z-index: 30;
        position: fixed;
        top: 3.5%;
        right: 40px;
        transition: 0.3s;
        opacity:1;
        visibility: visible;
    }
}

@media (max-width:390px){
    body {
        font-size:1em;
    }
    .slogan{
        visibility: hidden;
    }
    .masked-text {
        visibility: hidden;
    }
    svg{
        visibility: hidden;
    }
    .header {
        padding-right: 20px;
        padding-left: 10px;
    }
    .hbg-button {
        height: 32px;
        width: 32px;
        cursor: pointer;
        position: relative;
        z-index: 30;
        position: fixed;
        top: 3%;
        right: 20px;
        transition: 0.3s;
        opacity:1;
        visibility: visible;
    }

    /*about*/
    .section_about {
        padding: 50px 20px;
    }

    /*service*/
    .section_service {
        padding:50px 20px;
    }

    /*contact*/
    .contact_us h2{
        position: absolute;
        top:4%;
        left:20px;
    }
    .contact_frorm h2{
        font-size:1em;
    }	
    .contact_img{
        height:calc(100vh + 200px);
    }
    .contact_form{
        position: absolute;
        top:11%;
        left:0;
        right:0;
        background-color: rgb(22, 22, 22, 0.7);
        color: white;
        height: 525px;
        max-width: 100%;
        font-size: 0.9em;
        margin: 0 20px;
    }
    #name, #email{
        background-color: white;
        padding: 10px 10px;
        margin: 10px 18px;
        width: 85%;
    }

    #message {
        background-color: white;
        padding: 10px 10px;
        margin: 10px 18px;
        margin-bottom:30px;
        width: 85%;
        height:calc(1em*5);
        text-align: justify;
    }

    /*footer*/
    .footer-wrap{
    margin: 0 20px;
    padding-top: 24px;
    }

    .address {
        margin-left:10px;
    }
    .email{
        margin-left:10px;
    }

    /*pages*/
    .pages {
        margin: 50px 30px 50px;
    }
    .page_details {
        flex-direction: column;
        gap: 40px;
    }
}
