@charset "UTF-8";

/*
COLORS
================================================ */
:root {
    --gray: #555;
    --black: #000000;
    --white: #fff;
    --brown: #432;
    --skyblue: #0bd;
    --cream:#fffaf0;
    --red:#ff0000;
    --red2:#b22222;
}
@media (prefers-color-scheme: dark) {
    :root {
        --text: #ddd;
        --bg: #000;
    }
}

/*共通部分
-------------------------------*/
html{
    font-size: 62.5%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
body{
    font-size: 16px;
    font-size: 1.6rem;
    min-width: 1280px;
    margin: 0;
    padding: 0;
    color:var(--black);
    background:var(--black);
    font-family: 'Bree Serif', sans-serif;
}

/*========= ローディング画面のためのCSS ===============*/
#splash {
    position: fixed;
    width: 100%;
    height: 100%;
    background: var(--black);
    z-index: 9999999;
    text-align:center;
    color:#fff;
}
/*========= 画面遷移のためのCSS ===============*/

body.appear{
    background:#fff;/*画面を開いた後の背景色を指定*/
}

/*画面遷移アニメーション*/
.splashbg1,
.splashbg2{
    display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg1,
body.appear .splashbg2{
  display:block;
}

/*上に消えるエリア*/
body.appear .splashbg1{
  animation-name:PageAnime;
  animation-duration:1.4s;
  animation-timing-function:ease-in-out;
  animation-fill-mode:forwards;
    content: "";
    position:fixed;
  z-index: 999;
    width: 100%;
    height: 100vh;
    bottom:50%;
    left:0;
    transform: scaleY(1);
    background-color: var(--black);/*伸びる背景色の設定*/
}

@keyframes PageAnime{
  0% {
    transform-origin:top;
    transform:scaleY(1);
  }

  100% {
    transform-origin:top;
    transform:scaleY(0);
  }
}

/*下に消えるエリア*/
body.appear .splashbg2{
    animation-name:PageAnime2;
  animation-duration:1.4s;
  animation-timing-function:ease-in-out;
  animation-fill-mode:forwards;
    content: "";
    position:fixed;
  z-index: 999;
    width: 100%;
    height: 100vh;
    top: 50%;
  left:0;
    transform: scaleY(1);
    background-color: var(--black);/*伸びる背景色の設定*/
}

@keyframes PageAnime2{
  0% {
    transform-origin:bottom;
    transform:scaleY(1);
  }
  100% {
    transform-origin:bottom;
    transform:scaleY(0);
  }
}

/*画面遷移の後現れるコンテンツ設定*/
#container{
  opacity: 0;/*はじめは透過0に*/
}

/*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;
}
}
/*--ここまでが画面移動アニメーション--*/


/* 一般
---------------------------------*/
p {
    line-height: 1.7;
    font-family: 'Noto Serif JP', serif;
}
img {
    max-width: 100%;
    image-rendering: -webkit-optimize-contrast;
}
a:hover {
    color: #0bd;
}
a{
    text-decoration: none;
    font-family: 'Noto Serif JP', serif;
}

/* HEADER
---------------------------------*/
.logo{
    width: 27rem;
    height: 4.7rem;
    margin-left: 1.5rem;
}
.main-nav{
    display: flex;
    font-size: 1.7rem;
    text-transform: uppercase;
    margin-top: 2.9rem;
    margin-right: 2.5rem;
    list-style: none;
}
.main-nav li{
    margin-left: 3.6rem;
}
.main-nav a{
    font-family: 'Sawarabi Mincho', serif;
    display: inline-block;
	position: relative;
	text-decoration: none;
    color: var(--black);
}
.main-nav a::after {
	position: absolute;
	content: '';
	bottom: .2em;
	left: 0;
	width: 100%;
	height: .1rem;
	opacity: 0;
	background: var(--red);
	transition: all .3s ease 0s;
}
.main-nav a:hover{
    color: var(--red);
    cursor: pointer;
}
.main-nav a:hover::after {
	bottom: 0;
	opacity: 1;
}
.page-header{
    display: flex;
    justify-content: space-between;
    height: 90px;
    background-image: url(../../images/background-white.jpg);
}

/* H2
-----------------------------*/
#greeting{
    position: relative;
    text-align: center;
    height: auto;
    background-image: url(../../images/background-white.jpg);
    background-color:rgba(255,255,255,0.5);
    background-blend-mode: lighten;
    padding: 0 0 40px 0 ;
}
#greeting h2{
    font-family: 'Noto Serif JP', serif;
    font-size: 5.5rem;
    position: relative;
    display: inline-block;
    padding: 0.25em 0;
    font-weight:100;
    text-shadow: 1px 1.5px 2px #808080; 
}
#greeting h2:after {
    content: '';
    position: absolute;
    left: 53%;
    bottom: -10px;/*線の上下位置*/
    display: inline-block;
    width: 80px;/*線の長さ*/
    height: 2.5px;/*線の太さ*/
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);/*位置調整*/
    background-color: var(--gray);/*線の色*/
    border-radius: 2px;/*線の丸み*/
}
.greeting-flex{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 2rem 0 2rem;
    gap: 0 2rem;
}
.greeting-flex .greeting-image{
    width: 500px;
    height: 400px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    border-radius: 50%;
    border: 7px solid rgba(253, 253, 253, 0.5);
}

.greeting-flex .greeting-right{
    position: relative;
    width: 600px;
    height: 400px;
    padding: 0;
}
.greeting-flex .greeting-text{
    font-family: 'Noto Serif JP', serif;
    text-align: left;
    margin: 12rem 5rem 3rem 5rem;
    padding: 0;
    font-size: 1.5rem;
}
.greeting-flex .greeting-name{
    font-family: 'Sawarabi Mincho', serif;
    position: absolute;
    right: 0;
    bottom: 0;
    text-align: right;
    font-size: 1.8rem;
    margin: 0 5rem 0 5rem ;
}

/*写真
-----------------------------*/
.corp-image{
    background-image: url(../../images/background-white.jpg);
    background-color:rgba(255,255,255,0.6);
    background-blend-mode: lighten;
    height: auto;
    text-align: center;
    padding: 5rem 0;
}
.corp-size{
    width: 1200px;
    height: auto;
}


/*会社概要
------------------------------*/
#corp{
    background-image: url(../../images/background-white.jpg);
    background-color:rgba(255,255,255,0.6);
    background-blend-mode: lighten;
    height: auto;
    position: relative;
    text-align: center;
    padding: 1rem 0 2rem 0 ;
}
#corp h2{
    border-bottom: solid 3px #555;
    display: inline-block;
    text-align: left;
    width: 1200px;
    font-family: 'Noto Serif JP', serif;
    font-size: 3.3rem;
    padding: 1rem 0;
    font-weight: bold;
}
table{
    margin: 3.5rem 0;
    margin-left: auto;
    margin-right: auto;
    width: 1200px;
}
th{
    background: var(--cream);
    vertical-align: middle;
    text-align: left;
    padding: 1rem;
    font-family: 'Noto Serif JP', serif;
}
td{
    padding: .75rem 1rem 1.75rem;
    font-family: 'Noto Serif JP', serif;
    text-align: left;
}
th,td{
    display: block;
}

/*アクセス
-----------------------------*/
#access{
    background-image: url(../../images/background-white.jpg);
    background-color:rgba(255,255,255,0.6);
    background-blend-mode: lighten;
    height: auto;
    position: relative;
    text-align: center;
    padding: 1rem 0 7rem 0 ;
}
#access h2{
    border-bottom: solid 3px #555;
    display: inline-block;
    text-align: left;
    width: 1200px;
    font-family: 'Noto Serif JP', serif;
    font-size: 3.3rem;
    padding: 1rem 0;
    font-weight: bold;
}
.gmap {
    height: 0;
    overflow: hidden;
    padding-bottom: 30%;
    position: relative;
    margin: 3.5rem 0 ;
    margin-left: auto;
    margin-right: auto;
    width: 1200px;
}
.gmap iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}
.flex{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 5rem 0;
}
.flex-left{
    width: 600px;
    display: inline-block;
    text-align: left;
}
.flex-title{
    font-weight: bold;
    font-size: 2rem;
}
.flex-text{
    font-size: 1.7rem;
}
.flex-right{
    width: 600px;
    display: inline-block;
    text-align: left;
}


/*フッター
------------------------------*/
#footer{
    position: relative;
    bottom: 0;
    left:0;
    right:0;
}
#footer .main .left{
    background-image: linear-gradient(to right, rgba(255,255,255,0.9),rgba(255,255,255,0.4)),url(../../images/footer-backimamge.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 1rem 0;
}
#footer .main .logo{
    margin-bottom: 1.6rem;
    margin-top: -.1rem;
    text-align: center;
}
#footer .main .logo > a{
    display: inline-block;
}
#footer .main .company{
    color: var(--black);
    font-size: 1.8rem;
    line-height: normal;
    margin-top: -.4rem;
    margin-left: 6.2rem;
    margin-bottom: .5rem;
    text-align: center;
}

#footer .main .address {
    color: var(--white);
    font-size: 1.4rem;
    line-height: 1.6;
    margin-top: -2rem;
    margin-bottom: .5rem;
    text-align: center;
}
#footer .main .address a{
    color: var(--white);
    font-size: 1.4rem;
    line-height: 1.6;
    margin-top: -1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}
#footer .main .tel{
    color: var(--white);
    font-size: 1.4rem;
    line-height: 1.6;
    margin-top: -.5rem;
    margin-bottom: 1rem;
    text-align: center;
}
#footer .main .mapicon{
    margin-bottom: -.3rem;
    width: 1.5rem;
}
#footer .main .right{
    background: #222;
}
#footer .main .footer-nav a{
    color: #ccc;
}

@media only screen and (min-width:599px) {
    /*--会社概要--*/
    th,td{
        padding: 1.25rem;
        display: table-cell;
    }
    tr:nth-child(odd){
        background: var(--cream);
    }
    tr:nth-child(even) th{
        background: var(--white);
    }
    tr:nth-child(even) td{
        background: var(--white);
    }
    
    /*--フッター--*/
        #footer .main {
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
        }
        #footer .main .left{
            width: 50%;
        }
        #footer .main .left > .inner{
            margin-left: auto;
            text-align: left;
            width: 75rem;
            height: 7rem;
        }
        #footer .main .head{
            display: inline-block;
            font-size: 0;
        }
        #footer .main .logo{
            display: inline-block;
            margin-bottom: 0;
            padding-left: 5rem;
            vertical-align: middle;
        }
        #footer .main .logo > a{
            width: 30rem;
        }
        #footer .main .address{
            display: inline-block;
            margin-bottom: 0;
            margin-left: 2rem;
            padding-left: 2rem;
            position: relative;
            text-align: left;
            vertical-align: middle;
        }
        #footer .main .tel{
            display: inline-block;
            margin-bottom: 2rem;
            margin-left: 2rem;
            padding-left: 2rem;
            position: relative;
            text-align: left;
            vertical-align: middle;
        }
        #footer .main .right {
            -webkit-box-align: center;
            -webkit-align-items: center;
            -ms-flex-align: center;
            align-items: center;
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
            width: 50%;
        }
        #footer .main .right > .inner {
            padding-left: 5rem;
            width: 60rem;
            height: 6rem;
        }
        #footer .main .footer-nav{
            font-size: 0;
            margin-bottom: -2rem;
        }
        #footer .main .footer-nav > li{
            display: inline-block;
            font-size: 1.2rem;
            margin-top: -1rem;
            margin-bottom: 2rem;
            margin-right: 1.5rem;
        }
        #footer .main .footer-nav a{
            padding-right: 1rem;
            position: relative;
        }
        #footer .main .footer-nav a::before{
            content: '>';
            position: absolute;
            height: .3rem;
            right: 0;
            top: 0;
            width: .5rem;
            font-size: 1.2rem;
        }
        #footer .main .footer-nav a:hover{
            color: var(--red2);
            opacity: 1;
        }
        #footer .main .footer-nav a:hover::before{
            color: var(--red2);
        }
        #footer .copyright{
            background-color: var(--black);
            color: var(--white);
            padding: 0.5% 0;
            font-size: 1.2rem;
            font-family:'Noto Serif JP', serif; 
            text-align: center;
        }
    }
    
    /*-------スマホサイズ-------*/
    
    @media only screen and (max-width: 766px) {
    /*--メニューボタン--*/
        .menu-btn {
            position: fixed;
            top: 10px;
            right: 10px;
            display: flex;
            height: 60px;
            width: 60px;
            justify-content: center;
            align-items: center;
            z-index: 90;
            background-color: var(--black);
        }
        .menu-btn span,
        .menu-btn span:before,
        .menu-btn span:after {
            content: '';
            display: block;
            height: 3px;
            width: 25px;
            border-radius: 3px;
            background-color: var(--white);
            position: absolute;
        }
        .menu-btn span:before {
            bottom: 8px;
        }
        .menu-btn span:after {
            top: 8px;
        }
        #menu-btn-check:checked ~ .menu-btn span {
            background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
        }
        #menu-btn-check:checked ~ .menu-btn span::before {
            bottom: 0;
            transform: rotate(45deg);
        }
        #menu-btn-check:checked ~ .menu-btn span::after {
            top: 0;
            transform: rotate(-45deg);
        }
        #menu-btn-check {
            display: none;
        }
    /*--メニュー中身--*/
    .main-nav{
        display: none;
    }
    .menu-content {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 100%;/*leftの値を変更してメニューを画面外へ*/
        z-index: 80;
        background-color: rgba(0,0,0, .5);
        transition: all 0.5s;/*アニメーション設定*/
    }
    
    .menu-content ul {
        padding: 70px 10px 0;
    }
    .menu-content ul li {
        border-bottom: solid 1px #ffffff;
        list-style: none;
    }
    .menu-content ul li a {
        display: block;
        width: 100%;
        font-size: 1.5rem;
        box-sizing: border-box;
        color:#ffffff;
        text-decoration: none;
        padding: 9px 15px 10px 0;
        position: relative;
    }
    .menu-content ul li a::before {
        content: "";
        width: 7px;
        height: 7px;
        border-top: solid 2px #ffffff;
        border-right: solid 2px #ffffff;
        transform: rotate(45deg);
        position: absolute;
        right: 11px;
        top: 16px;
    }
    #menu-btn-check:checked ~ .menu-content {
        left: 0;/*メニューを画面内へ*/
    }
}
@media only screen and (max-width: 599px){
    /*--フッター--*/
        #footer .main .left{
            display: none;
        }
        #footer .main .right{
            position: relative;
            bottom:-1rem;
        }
        #footer .main .address{
            text-align: center;
            font-size: 1.2rem;
        }
        #footer .main .footer-nav{
            display: none;
        }
        #footer .copyright{
            background-color: var(--black);
            color:var(--white);
            font-size: .8rem;
            padding: 1% 0;
            font-family:'Noto Serif JP', serif; 
            text-align: center;
        }
    }

/* 766px〜959px：タブレット
------------------------------ */
@media screen and (min-width:766px) and (max-width:959px) {
    body{
        min-width: 760px;
    }
    .page-header{
        height: 7rem;
    }
    .logo{
        width: 20rem;
        height: 3.6rem;
        margin-left: 1.5rem;
    }
    .main-nav{
        font-size: 1.3rem;
    }
    .main-nav li{
        margin-left: 2rem;
    }

    #greeting h2{
        font-size: 3.5rem;
    }
    .greeting-flex .greeting-text{
        margin: 1.5rem 1rem 0 1rem;
    }
    .greeting-flex .greeting-name{
        font-size: 1.3rem;
        margin: 0;
    }
    .greeting-flex .greeting-right{
        height: 350px;
    }
    .greeting-flex .greeting-image{
        height: 350px;
    }

    #corp h2{
        font-size: 3.1rem;
        width: 760px;
    }
    table{
        width: 760px;
    }

    #access h2{
        font-size: 3.1rem;
        width: 760px;
    }
    .gmap {
        width: 760px;
        padding-bottom: 40%;
    }
    .flex-title{
        font-size: 1.8rem;
    }
    .flex-text{
        font-size: 1.5rem;
    }
    .flex-left{
        width: 365px;
        height: 100px;
        margin-right: 30px;
    }
    .flex-right{
        width: 365px;
        height: 100px;
    }

    #footer .main .mapicon {
        width: 1.5rem;
     }
     #footer .main .access u{
         font-size: 1.2rem;
     }
     #footer .main .left .inner{
         margin-left: -6rem;
     }
     #footer .main .head{
         padding-top: 1.5rem;
     }
     #footer .main .company{
         font-size: 1.4rem;
         padding-left: .5rem;
     }
     #footer .main .logo > a{
         width: 23rem;
     }
     #footer .main .right .inner{
         margin-left: -8rem;
     }
     #footer .main .address {
         font-size: 1.2rem; 
     }
     #footer .main .tel{
         font-size: 1.2rem;
     }
     #footer .main .footer-nav > li{
         font-size: 1rem;
         margin-right: .7rem;
     }
     #footer .main .footer-nav a::before{
         font-size: 1rem;
     }
}

@media only screen and (min-width:766px) {
    /*--メニューボタン削除--*/    
    .hamburger-menu{
        display: none;
    }
}

/* 600px~766px 
------------------------------ */
@media screen and (min-width:599px) and (max-width:766px) { 
    body{
        min-width: 599px;
    }
    .page-header{
        height: 7rem;
    }
    .logo{
        width: 20rem;
        height: 3.6rem;
        margin-left: 1.5rem;
    }

    #greeting h2{
        font-size: 3rem;
    }
    .greeting-flex .greeting-text{
        font-size: 1.2rem;
        margin: 1.5rem 1rem 0 1rem;
    }
    .greeting-flex .greeting-name{
        width: 230px;
        margin: 0;
    }
    .greeting-flex .greeting-right{
        height: 270px;
    }
    .greeting-flex .greeting-image{
        height: 270px;
    }

    #corp h2{
        font-size: 2.5rem;
        width: 599px;
    }
    table{
        width: 599px;
    }

    #access h2{
        font-size: 2.5rem;
        width: 599px;
    }
    .gmap {
        width: 599px;
        padding-bottom: 40%;
    }
    .flex-title{
        font-size: 1.5rem;
    }
    .flex-text{
        font-size: 1.2rem;
    }
    .flex-left{
        width: 280px;
        height: 100px;
        margin-right: 30px;
    }
    .flex-right{
        width: 280px;
        height: 100px;
    }

    #footer .main .mapicon {
        display: none;
    }
    #footer .main .access{
        display: none;
    }
    #footer .main .left{
        padding: 2rem 0;
    }
    #footer .main .left .inner{
        margin-left: -20rem;
    }
    #footer .main .head{
        padding-top: 1.5rem;
        padding-left: 14rem;
    }
    #footer .main .company{
        font-size: 1.3rem;
        padding-left: 1rem;
    }
    #footer .main .logo > a{
        width: 23rem;
    }
    #footer .main .right .inner{
        margin-left: -8rem;
    }
    #footer .main .right > .inner {
        height: 7.5rem;
    }
    #footer .main .address {
        font-size: 1.2rem; 
    }
    #footer .main .tel{
        font-size: 1.2rem;
    }
    #footer .main .footer-nav > li{
        font-size: 1rem;
        margin-right: .7rem;
    }
    #footer .main .footer-nav a::before{
        font-size: 1rem;
    }
}

/* 480px〜599px：SP横
------------------------------ */
@media screen and (min-width:479px) and (max-width:599px) { 
    body{
        min-width: 480px;
    }
    .logo{
        width: 20rem;
        height: 3.6rem;
        margin-left: 1.5rem;
    }
    .page-header{
        height: 7rem;
    }
    .main-nav{
        font-size: 1.3rem;
    }
    .main-nav li{
        margin-left: 2rem;
    }
    .greeting-flex{
        display: flex;
        flex-direction: column;
    }
    #greeting h2{
        font-size: 2.8rem;
    }
    #greeting h2:after {
        width: 40px;/*線の長さ*/
        height: 2px;/*線の太さ*/
    }
    .greeting-flex .greeting-text{
        font-size: 1.2rem;
        margin: 1.5rem 1rem 0 1rem;
    }
    .greeting-flex .greeting-name{
        width: 230px;
        margin: 0;
    }
    .greeting-flex .greeting-right{
        margin-top: 3rem;
        width: 450px;
        height: 210px;
    }
    .greeting-flex .greeting-image{
        margin-top: 3rem;
        width: 350px;
        height: 250px;
    }

    #corp h2{
        font-size: 2.2rem;
        width: 475px;
    }
    table{
        width: 475px;
    }

    #access h2{
        font-size: 2.2rem;
        width: 475px;
    }
    .gmap {
        width: 475px;
        padding-bottom: 50%;
    }
    .flex{
        display: flex;
        flex-direction: column;
        margin: 0;
    }
    .flex-title{
        font-size: 1.4rem;
    }
    .flex-text{
        font-size: 1.2rem;
    }
    .flex-left{
        width: 475px;
        height: 100px;
    }
    .flex-right{
        width: 475px;
        height: 100px;
    }
    #footer .main .mapicon {
        display: none;
    }
    #footer .main .access{
        display: none;
    }
}

/* 〜479px：スマートフォン縦
------------------------------ */
@media screen and (max-width:479px) {
    body{
        min-width: 376px;
    }
    .page-header{
        height: 7rem;
    }
    .logo{
        width: 17rem;
        height: 3.2rem;
        margin-left: 1.5rem;
    }
    .main-nav{
        font-size: 1.3rem;
    }
    .main-nav li{
        margin-left: 2rem;
    }

    .greeting-flex{
        display: flex;
        flex-direction: column;
    }
    #greeting h2{
        font-size: 2.5rem;
    }
    #greeting h2:after {
        width: 35px;/*線の長さ*/
        height: 2px;/*線の太さ*/
    }
    .greeting-flex .greeting-text{
        font-size: 1.2rem;
        margin: 1.5rem 1rem 0 1rem;
    }
    .greeting-flex .greeting-name{
        width: 230px;
        margin: 0 ;
    }
    .greeting-flex .greeting-right{
        margin-top: 3rem;
        width: 350px;
        height: 250px;
    }
    .greeting-flex .greeting-image{
        margin-top: 4rem;
        width: 300px;
        height: 250px;
    }

    #corp h2{
        font-size: 2rem;
        width: 365px;
    }
    table{
        width: 365px;
    }

    #access h2{
        font-size: 2rem;
        width: 365px;
    }
    .gmap {
        width: 365px;
        padding-bottom: 60%;
    }
    .flex{
        display: flex;
        flex-direction: column;
        margin: 0;
    }
    .flex-title{
        font-size: 1.4rem;
    }
    .flex-text{
        font-size: 1.2rem;
    }
    .flex-left{
        width: 365px;
        height: 100px;
    }
    .flex-right{
        width: 365px;
        height: 100px;
    }
    #footer .main .mapicon {
        display: none;
    }
    #footer .main .access{
        display: none;
    }
}
