@charset "UTF-8";

*{
    margin: 0;
    padding: 0;
    /* 各ブラウザが持っている外部・内部余白、行間を初期化する */
    box-sizing: border-box;
    /* 幅を指定した要素（タグ）にborder、paddingを設定した際に要素が広がってしまうことを防ぐため */      
}

body {
    font-family: "Oswald", "Noto Sans JP", sans-serif;
    font-weight: 200;
    line-height: 1;
    color: #333;
    /* サイト全体の文字色を定義しておく */
}



ul {
    list-style: none;
    /*   liの装飾を削除する  */
}


a {
    text-decoration: none;
    /*   aタグの初期設定。aタグはでデフォルトで持っている下線を消しておく */
}

img{
    max-width: 100%;
    /* 親要素の大きさ以上大きくならない */
    vertical-align: bottom;
    /* imgは、文字と同等扱いなので、必ず下部に余白（デセンダー）が出来てしまうのを防ぐ。他の防ぐ方法としてインライン要素をブロック要素に変える方法もあり */
}



/*-----------------------------------------
    各パーツ共有 - setting   
-----------------------------------------*/

.container {
    max-width:1024px;
    padding: 0 10px;
    margin: 0 auto;
}
/* 各パーツ共有の設定 ------ 各パーツでこのCSSを再利用（マルチクラス）、または流用  */


/*-----------------------------------------
    header setting
------------------------------------------*/
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 30;
}

header .header_inner {
    display: flex;
    /* 子要素、水平方向の揃えの親要素設定  */
    height: 100px;
    /* 高さ指定 100px */
    align-items: center;
    /* heightの垂直中央揃えのオプション  */
    justify-content: space-between;
    /* 横並び対象子要素の両端揃い設定 */
}

header h1{
    padding:0 0 3px 10px;
    width: 180px;
     /* フォントサイズや、その他のデザイン装飾は適宜設定 */
}

header p{
    font-size: 14px;
    padding-left: 13px;
    font-weight: 400;
    /* フォントサイズは適宜設定 */
}



/*-----------------------------------------
    nav_menu setting
------------------------------------------*/


nav ul {
    display: flex;
    /* 子要素、水平方向の揃えの親要素設定  */   
}

nav li a {
    display: block;
    /* aタグをブロックボックスに設定してマウスの反応範囲を広げる */
    padding: 10px ;
    /* aタグのテキストに上下、左右のpadding（10px） */
    color: #555;
    /* フォントカラー装飾は適宜設定 */
    margin: 0 20px;
    /* 左右の外側余白、20px程度 */
    font-weight: 400;
}


nav li a:hover {
    color: #f00;
}

nav li a[href='#']{
    border-bottom: 2px solid #f00;
    color: #f00;
}


/*-----------------------------------------
    main_image setting
------------------------------------------*/
.main_image{
    padding: 100px 0 0;
}

.top .main_image{
    position: relative;
}
/* トップページの.main_imageだけposition:relative */
/* その子要素の.wrapがposition:absoluteに設定する */

.top .main_image p{
    aspect-ratio: 4 / 1;
}
/* トップページのみのアスペクト比 */


.main_image p{
    aspect-ratio: 16 / 3;
}

.main_image p img{
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
}


/*-----------------------------------------
   main_image loading svg-animation - setting   
-----------------------------------------*/

.top .main_image .wrap{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: #527982; */
    background-color: #fff;
    animation: load_back 3s forwards;
    z-index: 20;
}

.top .main_image svg{
    position: absolute;
    width: 30%;
    inset: 0;
    top: 100px;
    margin: auto;
    z-index: 21;
}

.top .main_image svg path{
    fill-opacity: 0;
    stroke: #666;
    stroke-width: 0.5;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation:  load 2.5s 0.2s forwards;
}
 @keyframes load{
        0%{

        }
        90%{
            stroke:#666;  
            stroke-width: 0.4;
            fill-opacity: 0;
        }
        100%{
            stroke: #fff;
            stroke-width: 1.2;
            stroke-dashoffset: 0;
            fill-opacity: 1;
            fill: #fff;
        }
    }

    @keyframes load_back{
        0%{
            opacity: 1;

        }
        70%{
            opacity: 1;


        }
        100%{
            opacity: 0.2;
        }
    }



/*-----------------------------------------
   main mainの中で共通なタグの設定
------------------------------------------*/
main h3{
    font-size: 24px;
    padding: 3px 6px 4px;
    margin-bottom: 13px;
    font-weight: 600;
    border-left: 4px solid rgb(38, 82, 126);
}

main h4{
    font-size: 18px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 600;
    text-align: center;
}

/*-----------------------------------------
    content about
------------------------------------------*/
 .about{
    text-align: center;
    /* テキスト中央揃い */
    padding: 60px 15px 70px;
    /* 内側余白、上40px、左右15px、下70px程度で設定 */
}

.about h2{
    font-size: 28px;
    /* フォントサイズ、24pxほどに設定 */
    line-height: 1.6;
    font-weight: 600;
    margin-bottom: 40px;
    /* 見出しの次のブロックの段落との下側の外余白を */
}

.about p{
    line-height: 2;
    letter-spacing: 0.07em;
    font-weight: 400;
    margin-bottom: 20px;
    /* 行間設定、適宜　一般的には、1.5前後〜2前後での行間設定がよしとされる */
}

/* 画像を入れた時のabout */
.about .my_image{
    display: flex;
    justify-content: space-between;
    padding-top: 100px;
}
.about .my_image .image_photo{
    width: 30%;
    aspect-ratio: 5/4;
}

.about .my_image .image_photo img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}


.about .my_image .text{
    width: 65%;
    text-align: left;

}
  

/*-----------------------------------------
    .product setting
------------------------------------------*/

.product{
    padding: 40px 0 180px;
    /* padding-top:40px;
    margin-bottom: 180px; */
    /* 次の下のブロックに余白を設定 */
}


.product ul{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 100px 35px;
}

.banner .product ul{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 100px 50px;
}

.product li .photo{
   aspect-ratio: 16/9;
   margin-bottom: 8px;
   
}

.banner .product li .photo{
    aspect-ratio: 7/6;
    padding: 8px;
    background-color: #fff;
    box-shadow: 2px 2px 7px #555;
}
/* バナーページの設定 */

.product li .photo img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.product li .txt{
    letter-spacing: 0.07em;
    line-height: 1.8;
}


/*-----------------------------------------
    footer setting
------------------------------------------*/

footer{
    background-color: #527982;
}


.footer_inner p{
    text-align: right;
    line-height: 100px;
}
.footer_inner small{
    color: #fff;
    letter-spacing: 0.1em;
}


@media(width<768px){

/*-----------------------------------------
    loading svg-animation responsive - setting   
-----------------------------------------*/
    .top .main_image svg{
        width: 60%;
        inset: 0;
        top: 78px;
        margin: auto;
    
    }
    .top .main_image svg path{
        stroke-width: 1;
    }



/*-----------------------------------------
    burger responsive setting
------------------------------------------*/

    .burger{
        position: fixed;
        top: 20px;
        right: 10px;
        width: 50px;
        height: 45px;
        background-color: #fff;
        z-index: 100;
    }
    .burger span{
        position: absolute;
        width: 80%;
        height: 4px;
        background-color: #333;
        inset: 0;
        margin: auto;
        border-radius: 10px;
        transition: 0.3s;
    }

    .burger span:nth-of-type(1){
        top: -35%;
    }
    .burger span:nth-of-type(3){
        top: 35%;
    }

    .burger.active span:nth-of-type(1){
        top: 0;
        width: 60%;
    }    
    .burger.active span:nth-of-type(2){
        width: 60%;
    }    
    .burger.active span:nth-of-type(3){
        top: 0;
        width: 60%;
    }    


/*-----------------------------------------
    header responsive setting
------------------------------------------*/

    header .header_inner {
        display: block;
        /* 子要素、水平方向の揃えの親要素設定無効  */
        height: auto;
        /* 高さ指定 無効 */
    }    

    header h1{
        padding-top: 20px;
         width: 180px;
    }
    
    header p{
        font-size: 12px;
        padding: 0 0 10px 15px;
        /* フォントサイズは適宜設定 */
    }


/*-----------------------------------------
    nav responsive setting
------------------------------------------*/

    nav{
        position: fixed;
        top: 0;
        left: 100%;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        padding-top: 100px;
        transition: 0.3s;
    }
    nav.drawer{
        left: 0;
    }

    nav ul{
        display: block;
    }
 
    nav li a {
        text-align: center;
        padding: 30px 0;
        /* 上下の内側余白30px程度 左右なし */
        color: #fff;
        /* フォントカラー装飾は適宜設定 */  
    }

    nav li a[href='#']{
        border-bottom: none;
        /* スマホの下枠線なし */
        color: #f90;
    }
/*-----------------------------------------
    main_image resposive setting
------------------------------------------*/

    .main_image{
        padding: 78px 0 0;
    }
    

    .top .main_image p,.main_image p{
            aspect-ratio: 16 / 13;
    }

/*-----------------------------------------
    content about responsive setting
------------------------------------------*/   
    .about h2{
    font-size: 22px;
    /* フォントサイズ、22pxほどに設定 */
    }

    .about br.pc{
        display: none;
    }

    .about p{
        text-align: justify;
    }

    /* 画像を入れた時のabout */
    .about .my_image{
        display: block;
    }
    .about .my_image .image_photo{
        width: auto;
        margin-bottom: 10px;

    }
    .about .my_image .text{
        width: auto;

    }

/*-----------------------------------------
    .product responsive setting
------------------------------------------*/

    .product{
        padding-top: 40px;
        margin-bottom: 80px;
        /* 次の下のブロックに余白を設定 */
    }


    .product ul{
        grid-template-columns: repeat(1,1fr);
        grid-gap: 80px 0;
        width: 85%;
        margin: 0 auto;
    
    }
   
    .banner .product ul{
        grid-template-columns: repeat(1,1fr);
        grid-gap: 100px 10px;
        width: 95%;
    }
    
    
}
/* media end */