﻿@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital@1&family=Shippori+Mincho+B1&display=swap');

/* ---------- font ---------- */

.liana, .patrima, #intro .intro_title {
    font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}

/*:root{
    --font-jp: 'BIZ UDPGothic', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
    --font-en: 'BIZ UDPGothic', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}
body, .font_sans-serif, .font_serif{
    font-family: var(--font-jp);
}
.font_en, a[href^="tel:"]{
    font-family: var(--font-en);
}*/

:root {
    --font-jp: 'Shippori Mincho B1', "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
    --font-en: 'Cormorant', 'Shippori Mincho B1', "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}
body, .font_sans-serif, .hgs, .patrima, a[href^="tel:"], .overlay .overlay-nav .en {
    font-family: var(--font-jp);
}
.font_en, .liana {
    font-family: var(--font-en);
    font-style: italic;
}

/* ---------- color ---------- */

.linkStyle{color: #fff;transition: opacity .3s;text-decoration: underline;}
.linkStyle:hover{opacity: 0.7}

/*:root {
    --normal_color: #333333;
    --color1: #222222;
    --color2: #e6e6e6;
    --color3: #222222;
    --color4: #222222;
}*/
:root {
    --normal_color: #333333;
    --color1: #0a0a0a;
    --color2: #e6e6e6;
    --color3: #222222;
    --color4: #222222;
}
.txt{
	color: var(--normal_color);
}

.cms_2-g i {
    color: #ccc;
}
.cms_2-g .box_txt1 {
    color: #fff!important;
}
.cms_2-g .box_wrap {
    box-shadow: rgb(0 0 0 / 0%) 0px 5px 15px 0px;
}


/* ======================================================================================
　　all
======================================================================================== */

.modal-open.more:before, .modal-open.more:after, .modal-open.more .dott:before, .modal-open.more .dott:after, #top_cms .more a:before, #top_cms .more a:after, #top_cms .more a .dott:before, #top_cms .more a .dott:after {
    content: "";
    width: 4px;
    height: 4px;
    background-color: #ffffff;
    position: absolute;
    border-radius: 50%;
}



/* ---------- header ---------- */
header #logo {
    opacity: 0;
    filter: blur(5px);
    transition: 2s;
    padding-left: 13px;
    max-width: 200px;
}
.scr_header  #logo {
    opacity: 1;
    filter: none;
}



/* ======================================================================================
　　top
======================================================================================== */

.height_box span {height: 200px; width: 80%;}


#intro .intro_photo h2{
    font-family: var(--font-en);
    font-style: italic;
}
#intro .intro_right .intro_title{
    color: #fff;
    font-size: 24px;
}

#intro .intro_title{
    font-size: -webkit-calc(1rem + 12px);
    font-size: calc(1rem + 12px);
    font-weight: bold;
    letter-spacing: 3px;
}
#intro .con_title {
    position: relative;
    font-size: -webkit-calc(1rem + 8px);
    font-size: calc(1rem + 8px);
    display: inline-block;
    border-bottom: 1px solid #fff;
    margin-bottom: 25px;
}
#intro .con_title:before,#intro .con_title:after{
    content: "";
    width: 3px;
    height: 3px;
    background-color: #fff;
    position: absolute;    
}
#intro .con_title:before {
    border-radius: 50%;
    bottom: -2px;
    left: -10px;
}
#intro .con_title:after {
    bottom: -2px;
    right: -10px;
}

#contents .con_title {
    font-size: 30px;
    padding-bottom: 25px;
}
/*#contents .con_title {
    font-size: 60px;
}*/

/* more */
.more .more_item {
    border: none;
    border-bottom: 1px solid #fff;
    border-top: 1px solid #fff;
}
.modal-open.more{
    position: relative;
}
.modal-open.more:before,.modal-open.more:after,.modal-open.more .dott:before,.modal-open.more .dott:after,#top_cms .more a:before ,#top_cms .more a:after,#top_cms .more a .dott:before ,#top_cms .more a .dott:after{
    content: "";
    width: 4px;
    height: 4px;
    background-color: #ffffff;   
    position: absolute;
    border-radius: 50%;
}
#top_cms .more a:before ,#top_cms .more a:after,#top_cms .more a .dott:before ,#top_cms .more a .dott:after{
    background-color: #2e3344;       
    background-color: transparent;
}
.modal-open.more:before,#top_cms .more a:before {
    top: -1px;
    left: -10px;
}
.modal-open.more:after ,#top_cms .more a:after {
    top: -1px;
    right: -10px;
}
.modal-open.more .dott:before,#top_cms .more a .dott:before  {
    bottom: -1px;
    left: -10px;
}
.modal-open.more .dott:after ,#top_cms .more a .dott:after{
    bottom: -1px;
    right: -10px;
}
.modal_title1 {
    padding-top: 80px;
}
.modal_title1 span {
    margin-left: -15px;
}
.icon-right.after:after,.icon-right.after:before {
    display: none;
}
.icon-right:after {
    transition: 0.3s;
}
.more .more_item:hover .icon-right:after {
    right: 15px;
}
.more .more_item:hover {
    color: white;
}

.modal_title_wrap {
    display: none;
}

.modal_img {
    max-width: 500px;
}

.top_title h2{
    width: 100%;
    position: absolute;
    top: auto;
    bottom: -50px;
    left: 0!important;
    right: 0!important;
    letter-spacing: 10px;
    font-size: 100px;
    text-align: center;
    font-family: var(--font-en);
    font-style: italic;
}
.top_title h2 > span{
    padding-top: 0;
}
.top_title h2 > span:before{
    display: none;
}
.top_title .rotate_txt span{
    transform: none;
    display: inline;
    line-height: 1;
}

#top_cms .top_cms_box{
    padding: 0;
    border: none;
}
#top_cms .cms_title h3{
    font-size: 20px;
    letter-spacing: 4px;
}
#top_cms .cms_title p{
    font-size: 50px;
    letter-spacing: 3px;
    font-family: var(--font-en);
    font-style: italic;
    color: #fff;
    position: relative;
}
#top_cms .cms_title p::before{
    position: absolute;
    content: "";
    width: 50vw;
    height: 1px;
    background-color: #fff;
    top: 0;
    bottom: 0;
    left: calc(-50vw - 20px);
    margin: auto
}

/* ======================================================================================
　　under
======================================================================================== */

#cms_5-a .cate .cate_title {
    cursor: pointer;
    background-color: var(--color1);
}


/* ======================================================================================
　　コード集
======================================================================================== */

#main_catch, #main_catch2 {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0;
    filter: blur(5px);
    transition: 2s;
    transition-property: transform, opacity, filter;
    width: 72%;
    max-width: 1200px;
}
#main_catch.active, #main_catch2.active{
    transform: translate(-50%, -50%);
    opacity: 1;
    filter: none;
}
#main_catch2.active{
    transition-delay: .4s;
}
#main_catch img, #main_catch2 img{
    width: 100%!important;
}

#main_h .grid_container .grid_item{
    opacity: 0;
    transition: opacity 2s;
}
#main_h .grid_container .grid_item.fadeUpMain {
    opacity: 1;
}
#main_h .grid_container {
    display: grid;
    grid-template-columns: 50px repeat(2, 1fr) 50px 1fr 50px 1fr;
    grid-template-rows: 50px 1fr 50px 1fr 50px 1fr 50px;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    height: 100vh;
    min-height: 800px;
}
#main_h .grid_box1 { grid-area: 1 / 1 / 3 / 4; }
#main_h .grid_box2 { grid-area: 4 / 1 / 6 / 3; }
#main_h .grid_box3 { grid-area: 6 / 2 / 8 / 3; }
#main_h .grid_box4 { grid-area: 3 / 3 / 7 / 4; }
#main_h .grid_box5 { grid-area: 2 / 4 / 4 / 7; }
#main_h .grid_box6 { grid-area: 4 / 4 / 6 / 6; }
#main_h .grid_box7 { grid-area: 6 / 5 / 8 / 8; }
#main_h .grid_box8 { grid-area: 2 / 7 / 5 / 8; }

#main_h .top_catch {
    top: 50px;
    left: 50px;
    transition: 1s;
    transition-property: color;
    font-size: -webkit-calc(1rem + 20px);
    font-size: calc(1rem + 20px);
}
#main_h .top_catch p{
    color: transparent;
    transition-delay: 0.5s;
}
#main_h .top_catch.active p {
    color: #fff;
    background-color: #1e1e1e;
    box-shadow: 2px 2px 5px #fff;
}
#main_h .top_catch p::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: #fff;
    top: 0;
    left: -100%;
}
#main_h .top_catch.active p::before{
    animation: txtAnim 1s cubic-bezier(.9,0,.1,1);
}
@keyframes txtAnim {
    0% {
        left: -100%;
    }
    50% {
        left: 0;
    }
    100% {
        left: 100%;
    }
}

/** tablet 780 **/
@media screen and (max-width: 768px){
#main_h .grid_container {
    grid-template-columns: 1fr 20px 1fr 20px 1fr 20px;
    grid-template-rows: 20px repeat(2, 1fr) 20px 1fr 20px 1fr 20px;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    height: 100vw;
    min-height: inherit;
}
#main_h .grid_box1 { grid-area: 1 / 1 / 3 / 5; }
#main_h .grid_box2 { grid-area: 3 / 1 / 4 / 2; }
#main_h .grid_box3 { grid-area: 3 / 2 / 4 / 4; }
#main_h .grid_box4 { grid-area: 2 / 5 / 5 / 7; }
#main_h .grid_box5 { grid-area: 4 / 2 / 6 / 5; }
#main_h .grid_box6 { grid-area: 5 / 5 / 7 / 6; }
#main_h .grid_box7 { grid-area: 7 / 3 / 9 / 6; }
#main_h .grid_box8 { grid-area: 5 / 1 / 8 / 2; }

#main_h .top_catch{
    top: 30px;
    left: 30px;
}
}

/** mobile 750 **/
@media screen and (max-width: 667px){
#main_h .grid_container {
    height: 150vw;
}
#main_h .top_catch{
    top: 20px;
    left: 20px;
}
}






/* ======================================================================================
　　window size
======================================================================================== */

/* ---------- tablet ---------- */
@media screen and (max-width: 768px){
#main_h .top_catch {
    top: 50px;
    font-size: -webkit-calc(1rem + 13px);
    font-size: calc(1rem + 13px);
}
.top_title h2 {
    bottom: -30px;
    font-size: 80px;
}
}

/* ---------- mobile ---------- */
@media screen and (max-width: 667px){
header #logo {
    max-width: 150px;
}
#main_catch, #main_catch2 {
    width: 92%;
    top: 52%;
}
#main_h .top_catch {
    font-size: -webkit-calc(1rem + 6px);
    font-size: calc(1rem + 6px);
}
.top_title h2 {
    bottom: -25px;
    font-size: 50px;
    letter-spacing: 5px;
}
#top_cms .cms_title p {
    font-size: 26px;
    letter-spacing: 2px;
}
}

/* fix_bnr ---------------------------------------------------------------------------------------------*/
#fix_bnr {
    bottom: 12px;
    right: 18px;
    z-index: 10;
    width: 24%;
    max-width: 300px;
    transition: 0.5s;
    opacity: 0;
}
#fix_bnr.scroll{
    /* width: 15%; */
    /* max-width: 220px; */
    opacity: 1;
}
#fix_bnr.close{
    opacity: 0;
    z-index: -1;
}
@media screen and (max-width: 768px){
#fix_bnr {
    width: 35%!important;
}
#fix_bnr.close{
    transform: translateX(200px);
}
}
@media screen and (max-width: 667px){
#fix_bnr {
    width: 50%!important;
    /* right: 0; */
    /* left: 0; */
    bottom: 10px;
}
}
/* fix_bnr end ---------------------------------------------------------------------------------------------*/





