@charset "UTF-8";
html{
    font-size:100%; /*ユーザー設定の文字サイズを正しく反映*/
    scroll-behavior: smooth;
}

*{
    box-sizing:border-box; /*余白や線を幅や高さに含める*/
}

img{
    max-width:100%; /*画像が親要素からはみ出すのを防ぐ*/
    height:auto;
}

@media screen and (min-width: 1024px){
    body{
        color: #333;
        background-color:#fff;
        margin:0;
        padding:0;
        font-family: "游ゴシック Medium","Yu Gothic Medium","游ゴシック体",YuGothic,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック",sans-serif;
        line-height: 1.7;
        letter-spacing: .04rem;
        -webkit-text-size-adjust: 100%;
        -webkit-font-smoothing: antialiased;
    }
    
    header{
        position: fixed; /*** 画面上部に固定 ***/
        height: 5.6rem;
        width: 100%;
        padding: 0;
        display: flex;
        justify-content: space-between;  /*両端に配置*/
        align-items: center;  /*ロゴ、メニューの文字を垂直中央に並べる*/
        z-index: 10;
    }
    
    header .company-logo {
        position: fixed;
        text-decoration: none;
        height: 6rem;
        width: 16rem;
        padding-left: 6rem;
        padding-top: 1.4rem;
        padding-bottom: 2rem;
        display: block;
        background-image: url('./image/sinalgae_logo_horizontal.png');
        background-repeat: no-repeat;
        background-position: 50% 50%;
        background-size: 13rem;
        font-size: 0.9rem;
    }

    header nav {
        flex: 1;
        margin-top: 1rem;
        margin-right: 14rem;
    }
    
    header nav ul{
        list-style: none;
        display: flex;
        justify-content: flex-end;
    }

    header nav li {
        width: 7rem;
    }
    
    header nav a {
        text-decoration: none;
        font-weight: 600;
        color:#333;
        line-height: auto;
        position: relative;
    }
    
    header nav a::after {
        content: '';
        /*絶対配置で線の位置を決める*/
        position: absolute;
        bottom: -0.3rem;
        left: 0;
        /*線の形状*/
        width: 100%;
        height: 0.14rem;
        background:#ed7626;
        /*アニメーションの指定*/
        transition: all .3s;
        transform: scale(0, 1);/*X方向0、Y方向1*/
        transform-origin: center top;/*上部中央基点*/
    }
    
    header nav a:hover::after {
        transform: scale(1.3, 1);/*X方向にスケール拡大*/
    }

    header .contact-button {
        position: fixed;
        font-weight: 600;
        text-decoration: none;
        background-color: #2781A0;
        border-radius: 4rem;
        height: 4rem;
        width: 15rem;
        box-sizing: border-box;
        padding: 1.2rem 0.6rem 0.5rem 0.1rem;
        right: -2rem;
        margin-top: 0.6rem;
        text-align: center;
        color: #FFFFFF;
        display: block;
        background-image: url('./image/mail_button.png');
        background-repeat: no-repeat;
        background-position: 7% 50%;
        background-size: 2.6rem;
    }
    
    .first-view {
        background-image: url(./image/3914286_m.jpg);
        min-height: 37rem;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        position: relative;
    }

    .first-view::after {
        position: absolute;
        content: "";
        background-color: #ed7626;
        bottom: 0;
        left: 0;
        width: 25rem;
        height: 5rem;
    }
    
    .catch-copy {
        padding-left: 6rem;
        padding-top: 10rem;
    }
    
    .catch-copy h1 {
        font-size: 3.2rem;
        font-family: 'Noto Serif JP',serif;
    }

    .company-head {
        margin-right: 13rem;
    }

    .company-head h2 {
        font-size: 3.2rem;
        font-weight: 700;
        float: left;
        position: relative;
        color: #fff;
        padding-top: 2.2rem;
        padding-left: 6rem;
    }

    .company-head h2::before {
        position: absolute;
        content: "";
        background-color: #2781A0;
        top: -3rem;
        left: 0;
        z-index: -1;
        width: 20rem;
        height: 15rem;
    }

    .company-head h2::after {
        position: absolute;
        content: "";
        background-color: #ed7626;
        top: -6rem;
        left: 0;
        z-index: -2;
        width: 25rem;
        height: 15rem;
    }

    .company-head .message {
        float: left;
        margin-left: 27rem;
        margin-top: -5rem;
        margin-bottom: 2rem;
        height: 100%;
    }

    .company-body {
        clear: left;
        margin: 0 10rem;
        max-width: 80rem;
        display: block;
    }

     .cb-section {
        position: relative;
        background-color: #2781A0;
        color: #fff;
        padding: 0 100px;
        font-size: 1.5rem;
        font-weight: 700;
        line-height: 1.6;
        letter-spacing: .04rem;
        padding: .4rem 1.6rem;
        margin-bottom: 3.5rem;
        border-left: .8rem solid #ed7626;
     }

     .cb-section p {
        color: #333;
     }

    .table-design {
        background-color: #FFFFFF;
        margin: auto;
        border-collapse: collapse;
        width: 100%;
        max-width: 700px;
        margin-bottom: 5rem;
    }
    
    .table-design th, .table-design td {
        border: 1px solid rgb(212, 211, 211);
        background-color: #ffffff;
        padding: 1em;
    }

    .table-design th {
        background-color: rgba(37,88,155,.05);
        color: #2781A0;
        font-weight: bold;
        text-align: center;
        width: 20%;
        min-width: 4em;
    }

    .development {
        position:static;
        margin-bottom:  5rem;
    }

    .development .img-box {
        text-align:center;
    }

    .development img{
        width: 20rem;
    }

    .development .message{
        margin-top: 2rem;
        margin-left: 5%;
        margin-right: 5%;
        display: block;
        height: 100%;
    }

    .danraku {
        margin-bottom: 1rem;
    }

    .product {
        position: relative;
        margin-bottom:  5rem;
        height: 25rem;
    }

    .product img{
        position: absolute;
        width: 14rem;
        margin-left: 10%;
    }

    .product ul {
        position: absolute;
        list-style: none;
        left: 45%;
    }
    
    .product li {
        text-indent: -1em;
        padding-left: 1em;
    }
    
    .product li::before {
        content: '・';
    }

    footer {
        position: relative;
        height: 20rem;
    }
    
    footer .company-info{
        float: left;
        width: 35%;
        height: 100%;
        text-align: center;
        border-left: 3rem solid #ed7626;
    }

    footer .company-logo {
        text-decoration: none;
        height: 6rem;
        padding-left: 4.4rem;
        padding-top: 1.4rem;
        padding-bottom: 2rem;
        margin-top: 3rem;
        display: block;
        background-image: url('./image/sinalgae_logo_horizontal.png');
        background-repeat: no-repeat;
        background-position: 50% 50%;
        background-size: 13rem;
        font-size: 0.9rem;
    }
    
    footer .copyright {
        font-size: 0.8rem;
        bottom: 0;
        margin-top: 4rem;
    }
    
    footer .contact {
        float: right;
        width: 65%;
        background-color: #2781A0;
        height: 100%;
        text-align: center;
    }
    
    footer .contact h2 {
        color: #ffffff;
        margin-top: 2rem;
        font-size: 3.2rem;
        font-weight: 700;
    }
    
    footer .contact .description {
        margin-top: 0;
        color: #ffffff;
    }

    footer .contact-button {
        font-weight: 600;
        text-decoration: none;
        background-color: #fff;
        border-radius: 4rem;
        height: 4rem;
        width: 15rem;
        box-sizing: border-box;
        padding: 1.2rem 0.6rem 0.6rem 2rem;
        right: -2rem;
        margin: auto;
        margin-top: 2rem;
        text-align: center;
        color: #000;
        display: block;
        background-image: url('./image/mail_button.png');
        background-repeat: no-repeat;
        background-position: 7% 50%;
        background-size: 2.6rem;
    }
}

@media screen and (max-width: 1023px){
    body{
        color: #333;
        background-color:#fff;
        margin:0;
        padding:0;
        font-family: "游ゴシック Medium","Yu Gothic Medium","游ゴシック体",YuGothic,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック",sans-serif;
        line-height: 1.7;
        letter-spacing: .04rem;
        -webkit-text-size-adjust: 100%;
        -webkit-font-smoothing: antialiased;
    }
    
    header{
        height: 6rem;
        width: 100%;
        display: flex;
        justify-content: space-between;  /*両端に配置*/
        align-items: center;  /*ロゴ、メニューの文字を垂直中央に並べる*/
        position: absolute;
        z-index: 10;
    }
    
    header .company-logo {
        position: fixed;
        text-decoration: none;
        height: 5rem;
        width: 12rem;
        padding-left: 3rem;
        padding-top: 1.4rem;
        padding-bottom: 2rem;
        display: block;
        background-image: url('./image/sinalgae_logo_horizontal.png');
        background-repeat: no-repeat;
        background-position: 50% 50%;
        background-size: 10rem;
        font-size: 0.9rem;
    }

    header .contact-button {
        position: fixed;
        font-weight: 600;
        text-decoration: none;
        background-color: #2781A0;
        border-radius: 4rem;
        height: 4rem;
        width: 15rem;
        box-sizing: border-box;
        padding: 1.2rem 0.6rem 0.5rem 0.1rem;
        right: -2rem;
        margin-top: 0.6rem;
        text-align: center;
        color: #FFFFFF;
        display: block;
        background-image: url('./image/mail_button.png');
        background-repeat: no-repeat;
        background-position: 7% 50%;
        background-size: 2.6rem;
    }

    header nav {
        position: fixed;
        bottom: 0;
        width: 100%;
        background-color: #f6f5f5;
        height: 7rem;
    }
    
    header nav ul{
        list-style: none;
        display: flex;
        justify-content: space-around;
        text-align: center;
        height: 100%;
        margin: auto;
    }

    header nav li{
        display: flex;
        width: 100%;
        margin: 0;
        vertical-align: bottom;
    }
    
    header nav a {
        text-decoration: none;
        font-weight: 600;
        font-size: 1.4rem;
        color:#333;
        display: block;
        width: 100%;
        box-sizing: border-box;
        background-repeat: no-repeat;
        background-position: 50% 30%;
        background-size: 2.6rem;
        padding-top: 4rem;
    }

    header nav .home{
        background-image: url('./image/home_icon_gray.png');
    }

    header nav .company{
        background-image: url('./image/company_icon_gray.png');
    }

    header nav a:hover {
        color: #2781A0;
        background-repeat: no-repeat;
        background-position: 50% 30%;
        background-size: 2.6rem;
    }

    header nav .home:hover {
        background-image: url('./image/home_icon_blue.png');
    }

    header nav .company:hover {
        background-image: url('./image/company_icon_blue.png');
    }

    header .contact-button {
        position: fixed;
        font-weight: 600;
        text-decoration: none;
        background-color: #2781A0;
        border-radius: 4rem;
        height: 4rem;
        width: 15rem;
        box-sizing: border-box;
        padding: 1.2rem 0.6rem 0.5rem 0.1rem;
        right: -2rem;
        margin-top: 0.6rem;
        text-align: center;
        color: #FFFFFF;
        display: block;
        background-image: url('./image/mail_button.png');
        background-repeat: no-repeat;
        background-position: 7% 50%;
        background-size: 2.6rem;
    }

    .first-view {
        background-image: url(./image/3914286_m.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center, center;
        width: 100%;
        height: 30rem;
        position: relative;
    }

    .first-view::before {
        position: absolute;
        content: "";
        background-color: #2781A0;
        bottom: 0;
        left: 0;
        width: 20rem;
        height: 3rem;
        z-index: 2;
    }

    .first-view::after {
        position: absolute;
        content: "";
        background-color: #ed7626;
        bottom: 0;
        left: 0;
        width: 23rem;
        height: 6rem;
        z-index: 1;
    }
    
    .catch-copy {
        padding-left: 3rem;
        padding-top: 9rem;
    }
    
    .catch-copy h1 {
        font-size: 2.2rem;
        font-family: 'Noto Serif JP',serif;
    }

    .company-head h2 {
        font-size: 2.8rem;
        font-weight: 700;
        position: relative;
        color: #fff;
        padding-left: 6rem;
    }

    .company-head h2::before {
        position: absolute;
        content: "";
        background-color: #2781A0;
        top: -3rem;
        left: 0;
        z-index: -1;
        width: 20rem;
        height: 10rem;
    }

    .company-head h2::after {
        position: absolute;
        content: "";
        background-color: #ed7626;
        top: -6rem;
        left: 0;
        z-index: -2;
        width: 23rem;
        height: 10rem;
    }

    .company-head .message {
        margin-left: 5rem;
        margin-right: 5rem;
        margin-top: 3.6rem;
        margin-bottom: 2rem;
        height: 100%;
    }

    .company-body {
        clear: left;
        margin: 0 5rem;
        display: block;
    }

     .cb-section {
        position: relative;
        background-color: #2781A0;
        color: #fff;
        padding: 0 100px;
        font-size: 1.5rem;
        font-weight: 700;
        line-height: 1.6;
        letter-spacing: .04rem;
        padding: .4rem 1.6rem;
        margin-bottom: 3.5rem;
        border-left: .8rem solid #ed7626;
     }

     .cb-section p {
        color: #333;
     }

    .table-design {
        background-color: #FFFFFF;
        border-collapse: collapse;
        width: 100%;
        max-width: 700px;
        margin-bottom: 5rem;
    }
    
    .table-design th, .table-design td {
        border: 1px solid rgb(212, 211, 211);
        background-color: #ffffff;
        padding: 1em;
    }

    .table-design th {
        background-color: rgba(37,88,155,.05);
        color: #2781A0;
        font-weight: bold;
        text-align: center;
        width: 20%;
        min-width: 4em;
    }

    .development {
        position:static;
        margin-bottom:  2rem;
    }

    .development .img-box {
        text-align:center;
    }

    .development img{
        width: 20rem;
    }

    .development .message{
        margin-top: 2rem;
        margin-left: 5%;
        margin-right: 5%;
        display: block;
        height: 100%;
    }

    .danraku {
        margin-bottom: 1rem;
    }

    .product {
        position: relative;
        margin-bottom:  5rem;
        height: 25rem;
    }

    .product img{
        position: absolute;
        width: 14rem;
        margin-left: 10%;
    }

    .product ul {
        position: absolute;
        list-style: none;
        left: 45%;
    }
    
    .product li {
        text-indent: -1em;
        padding-left: 1em;
    }
    
    .product li::before {
        content: '・';
    }

    footer {
        position: relative;
        height: 20rem;
        margin-bottom: 7rem;
    }
    
    footer .company-info{
        float: left;
        width: 35%;
        height: 100%;
        text-align: center;
        border-left: 3rem solid #ed7626;
    }

    footer .company-logo {
        text-decoration: none;
        height: 6rem;
        padding-left: 4.4rem;
        padding-top: 1.4rem;
        padding-bottom: 2rem;
        margin-top: 3rem;
        display: block;
        background-image: url('./image/sinalgae_logo_horizontal.png');
        background-repeat: no-repeat;
        background-position: 50% 50%;
        background-size: 13rem;
        font-size: 0.9rem;
    }
    
    footer .copyright {
        font-size: 0.8rem;
        bottom: 0;
        margin-top: 4rem;
    }
    
    footer .contact {
        float: right;
        width: 65%;
        background-color: #2781A0;
        height: 100%;
        text-align: center;
    }
    
    footer .contact h2 {
        color: #ffffff;
        margin-top: 2rem;
        font-size: 3.2rem;
        font-weight: 700;
    }
    
    footer .contact .description {
        margin-top: 0;
        color: #ffffff;
    }

    footer .contact-button {
        font-weight: 600;
        text-decoration: none;
        background-color: #fff;
        border-radius: 4rem;
        height: 4rem;
        width: 15rem;
        box-sizing: border-box;
        padding: 1.2rem 0.6rem 0.6rem 2rem;
        right: -2rem;
        margin: auto;
        margin-top: 2rem;
        text-align: center;
        color: #000;
        display: block;
        background-image: url('./image/mail_button.png');
        background-repeat: no-repeat;
        background-position: 7% 50%;
        background-size: 2.6rem;
    }
}

@media screen and (max-width: 800px){
    header .contact-button {
        position: fixed;
        font-weight: 600;
        text-decoration: none;
        background-color: #2781A0;
        border-radius: 4rem;
        height: 4rem;
        width: 12rem;
        box-sizing: border-box;
        padding: 1rem 0rem 1rem 1.5rem;
        right: -2rem;
        margin-top: 0.6rem;
        text-align: center;
        color: #FFFFFF;
        display: block;
        background-image: url('./image/mail_button.png');
        background-repeat: no-repeat;
        background-position: 7% 50%;
        background-size: 2.6rem;
    }

    .company-head .message {
        margin-left: 2rem;
        margin-right: 2rem;
        margin-top: 3.6rem;
        margin-bottom: 2rem;
        height: 100%;
    }

    .company-body {
        clear: left;
        margin: 0 2rem;
        max-width: 80rem;
        display: block;
    }

    .development .message{
        margin-top: 2rem;
        display: block;
        height: 100%;
    }

    .product {
        position: static;
        margin-bottom:  9rem;
        height: auto;
    }

    .product .img-box {
        text-align: center;
    }

    .product img{
        position: static;
    }

    .product ul {
        position: static;
        width: 100%;
        left: 0;
    }

    footer{
        display:none;
    }
}