@charset "UTF-8";


/*　＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊　*/
/*　＊＊＊＊＊＊＊　主要ボックス設定　＊＊＊＊＊＊　*/
/*　＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊　*/

/*-------------------------★bodyの指定：フォント等*/
body {

    /* font-family: YuGothic, "游ゴシック体", "游ゴシック", "Yu Gothic", "PingFang HK", "Microsoft YaHei", "KaiTi", sans-serif; */
    /* 中国語フォントを削除 */
    font-family: YuGothic, "游ゴシック体", "游ゴシック", "Yu Gothic", sans-serif;

    font-weight: 100;
    position: relative;
    line-height: 100%;
    font-size: 16px;
    background-color: #fff;
    margin: 0 auto;
    padding: 0;
    color: #808080;
    /* 80 <= c0 */
}

/*-------bodyの中全体を囲む*/
.wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/*＊レスポ対応：スマホ用＊PC表示時の幅広で表示崩れ防止*/
.inner {
    position: relative;
    max-width: 1200px;
    /*PC時のみ*/
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.inner-wh {
    position: relative;
/*
    max-width: 1000px;
    写真回り込み防止のため、削除　12/21
*/
    /*PC時のみ*/
    width: 100%;
    margin: 0 auto 0px;
    padding: 0;
/* ＊＊冒頭写真を生かすために白設定＊＊  */
    background-color: #ffffff;
}
/*-------------------------★headerの指定*/
header {
    position: fixed;
    background-color: #ffffff;
    top: 0px;
    z-index: 10;
    width: 100%;  /* <= 900px*/
    height: 120px;
    /* 115px ＜＝ 155px */
    text-align: left;
    margin: 0px auto;
}

/*-------------------------★mainの指定*/
main {
    position: relative;
    top: 135px;
    /* 135px <= 115px ＜＝155px40：隙間が狭い ＝＞　60px */
    /* 別ページでは上が切れる＝＞155px */
    width: 100%;
    text-align: left;
    margin: 0px auto;
    background-color: #ffffff;
}

/* 固定高さのテスト用 7/4*/
.main-box {
    position: relative;
    top: 155px;
    /* 40：隙間が狭い ＝＞　60px */
    /* 別ページでは上が切れる＝＞155px */
    width: 100%;
    height: 750px;
    text-align: left;
    margin: 0px auto;
    background-color: #ffffff;
}


/*-------------------------★footerの指定*/
footer {
    position: relative;
    width: 100%;
    text-align: center;
    margin: 160px auto 0;
}

/* .footer-box {
    position: fixed;
    top: 400px;
    width: 100%;
    text-align: center;
    margin: 160px auto 0;
    background-color: aquamarine;
} */


/*　＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊　*/
/*　＊＊＊＊＊＊＊　個別ボックス設定　＊＊＊＊＊＊　*/
/*　＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊　*/


/* ＊＊＊＊＊ ヘッダ部分 ＊＊＊＊＊ */

/*ヘッダ全体／並列：フッタ共用*/
.box-hd-1 {
    background-color: #ffffff;
    width: 98%;
    height: 15px;
    text-align: right;
    margin: 0 auto;
    padding-top: 15px;
}

.box-hd-2 {
    background-color: #ffffff;
    width: 100%;
    padding-bottom: 10px;
    text-align: center;
    margin: 0 auto;
    margin-top: 10px;
}

/* ロゴのimgのwidth指定 */
.width-logo{
    width: 200px;
}


/* ＊＊＊＊　ハンバーガｆｏｒＰＣ　＊＊＊＊　*/

/*メニューチェックボタンを非表示にする：たぶん不要*/
#menu-btn-check {   
    display: none;
}


/* navの上下に線を付けるため */
.nav-box{
    width: 100%;
    margin: 0 auto;
    border-top: #c0c0c0 solid 0.5px;
    border-bottom: #c0c0c0 solid 0.5px; 
}

nav {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 15px 0;
}

nav ul {
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

nav ul li {
    /* width: 150px;
     隙間詰め表記の為、削除 */ 
    margin-right: 1px;
    padding: 0px 10px;
    border-right: #c0c0c0 solid 1px;
    text-align: center;     
}

nav ul li:last-child {
    border-right: none; 
}

nav ul li a {
    display: block;
    width: 100%;
/*    box-sizing: border-box;*/
    text-decoration: none;
    position: relative;
    /* font-size: 16px; */
}

/*★★★　ここまで　ハンバーガｆｏｒＰＣ　★★★*/



/* ＊＊＊＊＊ フッタ部分 ＊＊＊＊＊ */

.box-ft-1 {
    position: relative;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.box-ft-2 {
    width: 100%;
    z-index: 10;
    text-align: center;
    margin: 0 auto 30px auto;
    border-bottom: solid #c0c0c0 1px;
}

/* CSSのposition: absoluteを設定した要素に対してmargin: 0 autoが効かないのは、absoluteの配置が親要素を基準とするためです。親要素にposition: relativeが指定されていない場合、ページ全体を基準に配置されてしまい、margin: autoで中央揃えが期待通りに動作しないことがあります。この問題を解決するには、親要素にposition: relativeを指定するか、`transform: translate(-50%, -50%)`を使用する方法があります。 */

.box-ft-3 {
    position: absolute;
    top: 6px;
    width: 100%;
    text-align: center;
}

.box-ft-4-par {
    z-index: 20;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 120px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
    background-color: #ffffff;
}

.box-ft-5 {
    /* コピーライト小さく */
    /* width: 100%; */
    width: 240px;
    margin-top: 50px;
    text-align: center;
    margin: 0 auto;
}


/* ＊＊＊＊＊ メイン部分 ＊＊＊＊＊ */

/*　冒頭写真のスライドショー 8枚をスライド　ＸＸ秒ごと　*/
.photo-slide{
    width: 70%;
    /* 70% <= 100% */
    /* max-height: 800px; */
	position: relative;
    padding-bottom: 20px;
    margin: 0 auto;
}

/* 5秒から7秒へ変更（5/19）40s=>56s */
.photo-slide img{
	animation: show 56s infinite;
	width: 100%;
	height: auto;
	opacity: 0;
	position: absolute;
	left: 0;
	top: 0;
}

/* 間の白がさらに短いバージョン */
/* @keyframes show{
	0% {opacity: 0}
	3% {opacity: 1}
	13% {opacity: 1}
	16% {opacity: 0}
} */

/* 間の白が短いバージョン */
/* @keyframes show{
	0% {opacity: 0}
	5% {opacity: 1}
	11% {opacity: 1}
	16% {opacity: 0}
} */

/* 間の白が長いバージョン　＜＝5/19 */
@keyframes show{
	0% {opacity: 0}
	6% {opacity: 1}
	10% {opacity: 1}
	16% {opacity: 0}
}

/* 間の白がさらに長いバージョン */
/* @keyframes show{
	0% {opacity: 0}
	7% {opacity: 1}
	9% {opacity: 1}
	16% {opacity: 0}
} */

/* 5秒から7秒へ変更（5/19） */
.photo-slide img:nth-of-type(1){position: relative}
.photo-slide img:nth-of-type(2){animation-delay: 0s;}
.photo-slide img:nth-of-type(3){animation-delay: 7s;}
.photo-slide img:nth-of-type(4){animation-delay: 14s;}
.photo-slide img:nth-of-type(5){animation-delay: 21s;}
.photo-slide img:nth-of-type(6){animation-delay: 28s;}
.photo-slide img:nth-of-type(7){animation-delay: 35s;}
.photo-slide img:nth-of-type(8){animation-delay: 42s;}
.photo-slide img:nth-of-type(9){animation-delay: 49s;}


/* ＊＊＊＊＊ 各種ボックス ＊＊＊＊＊ */

.box-80-par{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 80%;
    margin: 10px auto;
}

.box-80{
    width: 80%;
    margin: 10px auto;
}

.box-80-center{
    width: 80%;
    margin: 10px auto;
    text-align: center;
}

.box-70-par{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 70%;
    margin: 10px auto;
}


/* タイトルの下線トル 6/1 */
/* .box-80-center h4{
    text-decoration: underline;
} */

.box-60{
    width: 60%;
    margin: 0 auto;
}

.box-45{
    width: 45%;
    margin: 10px auto;
}

.box-40{
    width: 40%;
    margin: 10px auto;
}

.box-25{
    width: 25%;
    margin: 10px auto;
}

.box-pht{
    width: 80%;
    margin: 5px auto;
    text-align: center;
}

.box-pro-pht{
    width: 40%;
    margin: 6px auto;
    text-align: center;
}

.width-pro{
    width: 150px;
}

.box-cmt{
    width: 80%;
    /* 写真と頭を合わせる　9/23 */
    margin: 5px auto;
    text-align: left;
}




/*　＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊　*/
/*　＊＊＊＊＊＊＊　文字設定　＊＊＊＊＊＊＊＊＊＊　*/
/*　＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊　*/

h1, h2, h3, h4, h5, h6, p, a{
    color: #808080;
    /* 80 <= c0 */
        font-weight: 100;
    }

h1 {
    font-size: 32px;
    line-height: 48px;
}

h2 {
    font-size: 24px;
    line-height: 36px;
}

h3 {
    font-size: 20px;
    line-height: 30px;
}

h4 {
    font-size: 17px;
    line-height: 26px;
}

h5 {
    font-size: 14px;
    line-height: 21px;
}

h6 {
    font-size: 12px;
    line-height: 18px;
}

p {
    font-size: 16px;
    line-height: 24px;
}

a {
    font-size: 16px;
    text-decoration: none;
}
a visited{
    text-decoration: none;  
}

/* 問合せページの文字色 */
dl, dt, dd{
    color: #808080;
    /* 80 <= c0 */
}


/* Ｐ青文字　*/
/* 375977(blue) <= ff5700(red) 6/10  */
.p-blue{
    color: #375977;
    }
    
    /* .p-red{
    color: #375977;
    } */

/* Ｐ小文字　*/
.p-small{
    font-size: 80%;
    }

/*Ｐを右寄せ：代表者挨拶用　使用するか？？？　*/
.p-right{
    text-align: right;
    }


/*Ｐを右寄せ、小文字：トップ写真説明用　使用するか？？？　*/
.p-right-small{
    text-align: right;
    font-size: 12px;
    }

/*ｂｒの改行幅を広く：会社概要のｔｄ内にて　使用するか？？？　*/
.br-wide{
    display: block;
    content:"";
    margin: 8px 0;
    }

/*ｂｒの改行幅を狭く：英語トピックｔｄ内にて　使用するか？？？　*/
.br-narrow{
    display: block;
    content:"";
    margin: -8px 0;
    }
    

/*ページ内リンク先位置修正 12/27-OK*/
/* #pro-a, #pro-a-1, #pro-a-2, #pro-a-3,
#pro-b, #pro-b-1, #pro-b-2,
#pro-c, #pro-c-1, #pro-c-2, #pro-c-3, #pro-c-4{
    margin-top: -90px;
    padding-top: 90px;
} */



/*　＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊　*/
/*　＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊　*/
/*　＊＊＊＊＊　　　　　　　　　　＊＊＊＊＊＊　*/
/*　＊＊＊＊＊　スマホ対応ＣＳＳ　＊＊＊＊＊＊　*/
/*　＊＊＊＊＊　　　　　　　　　　＊＊＊＊＊＊　*/
/*　＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊　*/
/*　＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊　*/

/*★★　ここからＳＰ対応　ｍａｘ－ｗｉｄｔｈ＝６２８ 560=>628  10/31 　=>800 12/13★★★*/
@media (max-width: 800px) {
    




/*　＊＊＊＊＊　ここからハンバーガforスマホ　＊＊＊＊＊　*/

/* スマホ時、ボタンの下に線を残す目的 */
    .nav-box{
        height: 48px;
        top: 10px;
        /* 上下線をトル　7/4 */
        border-top: none;
        border-bottom: none; 
    }

    .menu-btn {
        position: absolute;
        /* 55px ＜＝ 80px */
        /* 上へ(ロゴ左側へ)移動 53=>-3 7/4 */
        top: -3px;
        /* 左＝＞右へ移動
        left: 5px; */
        right: 5px;
        display: flex;
        height: 50px;
        width: 50px;
        justify-content: center;
        align-items: center;
        z-index: 90;
        /* background-color: #fff; */
    }
    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        content: '';
        display: block;
        height: 1px;
        /* 三とＸの線幅を細く */
        width: 25px;
        border-radius: 3px;
        background-color: #375977;
        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);
    }

    nav {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 100%;/* 
        leftの値を変更してメニューを画面外へ 100%とすべし　*/
        z-index: 80;
        background-color: #ffffff;
        transition: all 0.5s;/*アニメーション設定*/
    }

    nav ul {
        padding: 100px 10px 0 20px;
        flex-direction: column;
    }

    nav ul li {
        border-bottom: solid 1px #c0c0c0;
        border-right: #ffffff;
        width: 90%;

    /*  これ不要のもよう
        list-style: none;
        display: block;
    */
    }
    
    nav ul li a {
        display: block;
        width: 100%;
        font-size: 14px;
        /* <=15px */
        box-sizing: border-box;
        color:#c0c0c0;
        text-decoration: none;
        /* スマホメニューの縦間隔を狭く 30＝＞20 */
        padding: 20px 10px 20px 10px;
        position: relative;
        text-align: left;
    }

    /*これは、右向き矢印表示*/
    nav ul li a::before {
        content: "";
        width: 7px;
        height: 7px;
        border-top: solid 1px #c0c0c0;
        border-right: solid 1px #c0c0c0;
        transform: rotate(45deg);
        position: absolute;
        right: 11px;
        top: 33px;
    }

    #menu-btn-check:checked ~ nav {
        left: 0%;
        /*　メニューを画面内へ　*/
        /*　０％より大きくすると、画面途中までの表示となる　*/
        /*　現状、７０％：画面３割のみでメニュー表示　*/
        /* 12％でハンバーガメニュぎりぎり見える */
    }
    
/*　＊＊＊＊＊　ここまでハンバーガメニュー　＊＊＊＊＊　*/

    
/*　＊＊＊＊＊　ここからＳＰ設定　＊＊＊＊＊　*/


    /* スマホで上へ詰め */
    header {
        height: 60px;
        /* 60px <= 70px */
    }

    main{
        top: 80px;
        /* 8px <= 60px */

    }

    .main-box {
        top: 60px;
    }



    .inner {
        /*    max-width: 1000px; PC時のみ*/
        /*     ＝＞   有ってもいいかも？？？*/
        width: 96%;
        margin: 0 auto;
        padding: 0;
    }

    .inner-wh {
        width: 96%;
        margin: 0 auto;
        padding: 0;
    }
    
    /*　＊＊＊＊＊　ヘッダ　＊＊＊＊＊　*/


     /* ＊＊＊＊＊ フッタ ＊＊＊＊＊ */
    /* 変更なし */


/*　＊＊＊＊＊　メイン　＊＊＊＊＊　*/

    /* スマホでは、ロゴを中央＝＞左へ　7/4 */
    .box-hd-2 {
        text-align: left;
    }

    /* スマホでは、ロゴを小さく　160px ＜＝ 200px */
    .width-logo{
        width: 160px;
    }

    .box-80-par{
        flex-direction: column;
        width: 95%;
    }
 
    .box-70-par{
        flex-direction: column;
        width: 95%;
    }

    .box-80, .box-80-center, .box-60,
    .box-45, .box-25{
        width: 98%;
    }

    .box-pht{
        width: 50%;
        text-align: center;
}

    .box-cmt{
        width: 50%;
        text-align: left;
}


h3 {
    font-size: 14px;

}

p {
    font-size: 12px;
}

a {
    font-size: 12px;
}



/*　＊＊＊　ＳＰ対応設定　ここまで　＊＊＊　*/

}