@charset "utf-8";

/*========= LoadingのためのCSS ===============*/

/* Loading背景画面設定　*/
#splash {
    /*fixedで全面に固定*/
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 999;
	background:#333;
	text-align:center;
	color:#fff;
}

/* Loading画像中央配置　*/
#splash_logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* Loading アイコンの大きさ設定　*/
#splash_logo svg{
	width:300px;
}

/*========= SVG操作手書き風にするためのCSS ===============*/

#mask .st0{
    fill:none;
    stroke:#fff;
    stroke-width:90;/*線の太さを指定する*/
    stroke-linecap:round;
    stroke-linejoin:round;
    stroke-miterlimit:10;
    stroke-dasharray: 1500; /* 線の間隔を指定する */
    stroke-dashoffset:1500; /* 線の位置を指定する */
}

/*================== 全体設定ここから ==================*/
body {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

.house {
    position: relative;
    width: 100%;
}

.pc-container {
    width: 100%;
    height: 100vh;
    background-image: url(../image/Heroimg/heroimg.png);
    background-size: cover;
    background-repeat: no-repeat;
    position: fixed;
}

.mobile-container{
width: 375px;
position: absolute;
right: 15%;
z-index: 9;
overflow: hidden;
}

.mobile-header {
    display: none;
}

/* ========= pc-headerスタイルここから ========= */

.pc-header {
    /* background-color: #000; */
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 8;
}

.pc-header-inner {
    max-width: 92%;
    height: 100px;
    margin-left: auto;
    margin-right: auto;
    display:  flex;
    align-items: center;
}

.headerlogo-pc {
    display: block;
}

.site-menu ul {
    display: flex;
    margin: 90px;
    align-items: center;
}

.site-menu ul li {
    margin-left: 20px;
    margin-right: 20px;
    color: #fff;
    opacity: 0.9;
    font-family: "Shippori Mincho", serif;
    font-weight: 700;
    font-style: normal;
}

.tel-pc {
    display: flex;
    align-items: center;
    line-height: 2%;
    justify-content: flex-start;
}

.tel-pc > img {
    display: block;
    margin-right: 1%;
}

.tel-pc a {
    letter-spacing: 2px;
}

.tel-pc p {
    letter-spacing: 2px;
    font-size: 16px;
}

.sns_icon {
    display: flex;
    flex-direction: column;
    width: 50px;
    position: absolute;
    right: 15px;
    bottom: 0;
    justify-content: space-between;
    margin: 0 2.5% 0;
}

.sns_icon a {
    width: 100%;
    margin-bottom: 25px;
}

.sns_icon a img {
    display: block;
    width: 100%;
}
/* ========= PCハンバーガーメニューここから ========= */
@media (max-width: 1330px){
    .pc-header-inner{
        position: relative;
    }
    .pc-header-site-menu{
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        /* background-color: #192346; */
        display: none;
        z-index: 999;
    }
    
    .pc-header-site-menu.is-show {
        display: table-cell;
        width: 70vw;
        left: -100px;
    }


    .toggle-menu-button{
        position: absolute;
        right: 0;
        display: block;
        width: 60px;
        height: 35px;
        background-image: url(../image/Common/header-menu.png);
        background-size: 60%;
        background-repeat: no-repeat;
        background-position: center;
        border: none;
    }

    .pc-header-nav {
        flex-direction: column;
        align-items: center;
        /* display: inline-block; */
    }

    .tel-pc{
        justify-content: center;
    }

    .site-menu ul {
        display: flex;
        margin: 90px 90px 90px 0;
        line-height: 2.5;
        font-size: 19px;
        align-items: center;
    }

    .tel-pc {
        line-height: 2.5;
    }
}
/* ========= PCハンバーガーメニューここまで ========= */
/* ========= pc-headerスタイルここまで ========= */

/*========= ページトップのためのCSS ===============*/
/*リンクを右下に固定*/
#page-top {
	/* position: fixed;
	right: 10px;
	bottom:30px; */
	z-index: 2;
	opacity: 0;
	transform: translateY(150px);
    padding-bottom: 15px;
}

/*　上に上がる動き　*/
#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(150px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/
#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(150px);
  }
}

/*画像の切り替えと動き*/
#page-top a {
    /*aタグの形状*/
	display: block;
	width: 100px;
	height: 70px;
	color: #333;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
    /*背景画像の指定*/
	background: url("../image/Common/page-toplink01.png") no-repeat center;
	background-size: contain;
    margin-bottom: 0;
}

#page-top.floatAnime a{
	width: 100px;
	height: 100px;
    /*背景画像の指定*/
	background: url("../image/Common/page-toplink02.png") no-repeat center;
	background-size: contain;
    /*アニメーションの指定*/
	animation: floatAnime 2s linear infinite;
	opacity: 0;
}

@keyframes floatAnime {
  0% { transform: translateX(0); opacity: 0; }
  25% { transform: translateX(-6px);opacity: 1; }
  50% { transform: translateX(0) }
  100% { transform: translateX(6px);opacity: 1; }
}

/*Page Topと書かれたテキストの位置*/
#page-top {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#page-top p {
	color: #FFF;
    font-size: 9px;
    white-space: nowrap;
}

/* ================== 768px以下の時の表示 ================== */

@media (max-width: 768px){
    .pc-container {
        display: none;
    }

    .mobile-container {
        width: 100%;
        position: absolute;
        left: 0;
        right: 0;
    }

    .pc-header-inner {
        display: none;
    }
    .pc-header {
        position: static;
    }

    .mobile-header {
        display: block;
    }
}

/* ================== 768px以下の時の表示 ================== */

/*================== モバイルヘッダーここから ==================*/
/*========= 表ヘッダースタイル =========*/
#header-nav {
    position: fixed;
    max-width: 100%;
    bottom: 0px;
    left: 0;
    right: 0;
    height: 76px;
    background-color: #c01920;
    z-index: 999;
    
}

.header-nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 5% 20px;
}

.header-nav-container li {
    text-align: center;
}

.header-nav-container li p {
    font-size: 16px;
    font-family: "Shippori Mincho", serif;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 1px;
    color: #fff;
}

.header-nav-container li img {
    display:block;
    margin: auto;
}

.header-nav-container li button {
    border: none;
    outline: none;
    background: transparent;
    display: block;
    margin: auto;
    height: 30px;
}

.tel {
    display: flex;
    column-gap: 5px;
    font-size: 16px;
    font-family: "Shippori Mincho", serif;
    font-weight: 600;
    font-style: normal;
    color: #fff;
    margin-bottom: 6px;
    align-items: center;
}
/* ========= 裏ヘッダースタイル ========= */
#header-hide-nav {
    position:fixed;
    bottom:-120%;
    left:0;
    width:100%;
    height: 140px;
    background-color: #192346;
}

#header-hide-nav.is-active {
    z-index: 9999;
    bottom: 0;
}

.header-hide-nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 5% 20px;
}

.header-hide-nav-container li {
    text-align: center;
}

.header-hide-nav-container li p {
    font-size: 16px;
    font-family: "Shippori Mincho", serif;
    font-weight: 600;
    font-style: normal;
    color: #fff;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 1px;
}

.header-hide-nav-text {
    display: flex;
    flex-direction: row-reverse;
    width: clamp(6.6rem, 0.000rem + 33vw, 15.84rem);
    align-items: flex-end;
    justify-content: space-between;
}

.nav-text {
    margin-top: 1em;
}

.header-hide-nav-container li img {
    display:block;
}

.openbtn {
    border: none;
    outline: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.openbtn img {
    width: 16px;
    margin-bottom: 0.3em;
}

.open-hamburger {
    border: none;
    outline: none;
    background: transparent;
    display: block;
    height: 30px;
    margin-top: calc(12vh);
}

.nav-icon {
    margin-top: calc(12vh);
}

.nav-sns-link {
    display: grid;
    row-gap: 20px;
    margin: 0 10px;
}


/*========= 裏ナビゲーションスタイル ===============*/

#g-nav{
/*position:fixed;にし、z-indexの数値を大きくして前面へ*/
position:fixed;
z-index: 888;
/*ナビのスタート位置と形状*/
bottom:-120%;
left:0;
width:100%;
height: 230px;/*ナビの高さ*/
background: rgba( 25, 35, 70, 0.7);
/*動き*/
transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
bottom: 0;
margin: 0 0 140px;
}

/*ナビゲーション*/
#g-nav ul {
max-width: 80%;
margin: 1rem auto;
display: flex;
justify-content: space-between;
flex-direction: row-reverse;
}

/*リストのレイアウト設定*/

#g-nav li{
text-align: center; 
}

#g-nav li a{
font-size: 14px;
font-family: "Shippori Mincho", serif;
font-weight: 400;
font-style: normal;
color: #fff;
writing-mode: vertical-rl;
text-orientation: upright;
letter-spacing: 1px;
text-decoration: none;
}

/*================== モバイルヘッダーここまで ==================*/
