@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@600&display=swap');

html, body{
    font-family: 'Comfortaa', bold;
    letter-spacing: 0.02rem;
    margin:0;
    padding: 0;
    color: #282828;
}

h1,h2,h3,h4,h5,h6{
    margin: 0;
    padding: 0;
}



a{
    text-decoration: none;
    color:#282828;
    opacity: 1;
}

a:hover{
    opacity: 0.5;
}

/* ----------header---------- */
.header{
    width:100%;
    background-color: #FFFFFF;
     position: fixed;
}

.header__inner{
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content:space-between;
}

.header__inner .logo{
    margin-top: 20px;
    margin-bottom: 15px;     
}

.message {
text-align: center
}

.table {
    width: 95%;
    margin: 0 auto; /* 画面中央に配置 */
    border-collapse: collapse;
    table-layout: fixed; /* テーブルの幅を固定 */
    margin-top: 20px;
    margin-bottom: 50px;
}

.table th, .table td {
    word-wrap: break-word; /* 長い単語の折り返し */
    padding: 8px;
    border: 1px solid #ddd;
    text-align: left;
    overflow: hidden; /* はみ出た部分を隠す */
}

/* 長い文章のセルには横スクロールを追加 */
.table td.long-text {
    overflow-x: auto;
}

.table th.table_name, .table td.table_name {
    text-align: center;
    width: 20%; /* 列の幅 */
}

.table th.table_contents, .table td.table_contents {
    text-align: center;
    width: 60%; /* 列の幅 */
}

.table th.table_submit_at, .table td.table_submit_at {
    text-align: center;
    width: 15%; /* 列の幅 */
}




/* ----------main image---------- */




@media (max-width: 747px){
/* スマートフォン画面用スタイル */

        label {
            display: inline-block; /* ラベル要素をブロックレベルに */
            width: 100%; /* ラベルの幅を調整 */
            text-align: left; /* ラベルテキストを右揃えに */
            margin-right: 20px; /* ラベルと入力フィールドの間隔 */
        }

        #name {
            font-family: 'Comfortaa', bold;
            width: 80%; /* 幅を設定 */
            padding: 10px; /* 内側の余白を設定 */
            border: 1px solid #ccc; /* 枠線の設定 */
            border-radius: 5px; /* 枠線の角を丸くする */
            font-size: 16px; /* フォントサイズを設定 */
            margin-bottom: 10px; /* 下の余白を設定 */
            box-sizing: border-box; /* 幅や高さにpaddingやborderを含める */
        }

        /* 必須フィールドのスタイル */
        #name:required {
            border-color: rgb(0, 0, 0); /* 必須の場合は枠線の色を変更 */
        }

        /* フォーカス時のスタイル */
        #name:focus {
            outline: none; /* フォーカス時の枠線を削除 */
            border-color: #97cfbd; /* フォーカス時の枠線の色を変更 */
            box-shadow: 0 0 5px #97cfbd; /* フォーカス時の影の設定 */
        }

        
        #request {
            font-family: 'Comfortaa', bold;
            width: 100%; /* 幅を設定 */
            height: 200px;
            padding: 10px; /* 内側の余白を設定 */
            border: 1px solid #ccc; /* 枠線の設定 */
            border-radius: 5px; /* 枠線の角を丸くする */
            font-size: 16px; /* フォントサイズを設定 */
            margin-bottom: 10px; /* 下の余白を設定 */
            box-sizing: border-box; /* 幅や高さにpaddingやborderを含める */
        }

        /* 必須フィールドのスタイル */
        #request:required {
            border-color: rgb(0, 0, 0); /* 必須の場合は枠線の色を変更 */
        }

        /* フォーカス時のスタイル */
        #request:focus {
            outline: none; /* フォーカス時の枠線を削除 */
            border-color: #97cfbd; /* フォーカス時の枠線の色を変更 */
            box-shadow: 0 0 5px #97cfbd; /* フォーカス時の影の設定 */
        }

        ul li a {
            text-decoration: none;
            font-size: 11px;
            font-family: 'Comfortaa', bold;
        }

        .header__inner .logo img{
            width: 130px;
        }

        .header__inner .nav{
            display: flex;
            gap:5px;
            align-items: center;
            padding: 0;
            margin: 0;
        }

        .header__inner .nav li{
            font-family: 'Comfortaa', bold;
            list-style: none;
            font-size: 0.9rem;
            margin: 10px 0 6px;
        }

    .main-image{
        float: right;
        max-width: 100%;
        height: auto;
        width: 100%;
        height: 60vh;
        margin-bottom: 200px;
        background: url(../image/oliver-unsplashーiphone.jpg);

        /* background-size: cover;
        background-attachment:fixed; */
    }

    .text-image{
        display:block;
        justify-content: space-between;
    }

    .btn_style{
        text-align: center;
        margin-top: 30px;
    }

    .btn_style_center{
        text-align: center;
        margin-top: 30px;
    }

    .button{
        align-items: center;
        padding: 10px 30px;
        font-weight: 400;
        font-size: 1.0rem;
        text-align: center;
        background-color: #97cfbd;
        color: #FFF;
        border-radius: 44px;
    }

    .text-image .text-image__image{
        margin-top: 50px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .header__inner .nav li{
    font-family: 'Comfortaa', bold;
    list-style: none;
    font-size: 0.8rem;
    margin: 10px 0 6px;
}
}

@media (min-width: 748px){
/* PC画面用スタイル */



        label {
            margin-left: 80px;
            display: inline-block; /* ラベル要素をブロックレベルに */
            width: 100%; /* ラベルの幅を調整 */
            text-align: left; /* ラベルテキストを右揃えに */
            margin-right: 20px; /* ラベルと入力フィールドの間隔 */
        }
        
        #name {
            font-family: 'Comfortaa', bold;
            margin-left: 80px;
            width: 500px; /* 幅を設定 */
            padding: 10px; /* 内側の余白を設定 */
            border: 1px solid #ccc; /* 枠線の設定 */
            border-radius: 5px; /* 枠線の角を丸くする */
            font-size: 16px; /* フォントサイズを設定 */
            margin-bottom: 10px; /* 下の余白を設定 */
            box-sizing: border-box; /* 幅や高さにpaddingやborderを含める */
        }

        /* 必須フィールドのスタイル */
        #name:required {
            border-color: rgb(0, 0, 0); /* 必須の場合は枠線の色を変更 */
        }

        /* フォーカス時のスタイル */
        #name:focus {
            outline: none; /* フォーカス時の枠線を削除 */
            border-color: #97cfbd; /* フォーカス時の枠線の色を変更 */
            box-shadow: 0 0 5px #97cfbd; /* フォーカス時の影の設定 */
        }

        
        #request {
            font-family: 'Comfortaa', bold;
            margin-left: 80px;
            width: 80%; /* 幅を設定 */
            height: 200px;
            padding: 10px; /* 内側の余白を設定 */
            border: 1px solid #ccc; /* 枠線の設定 */
            border-radius: 5px; /* 枠線の角を丸くする */
            font-size: 16px; /* フォントサイズを設定 */
            margin-bottom: 10px; /* 下の余白を設定 */
            box-sizing: border-box; /* 幅や高さにpaddingやborderを含める */
        }

        /* 必須フィールドのスタイル */
        #request:required {
            border-color: rgb(0, 0, 0); /* 必須の場合は枠線の色を変更 */
        }

        /* フォーカス時のスタイル */
        #request:focus {
            outline: none; /* フォーカス時の枠線を削除 */
            border-color: #97cfbd; /* フォーカス時の枠線の色を変更 */
            box-shadow: 0 0 5px #97cfbd; /* フォーカス時の影の設定 */
        }

ul li a {
    text-decoration: none;
    font-size: 15px;
    font-family: 'Comfortaa', bold;
}

.header__inner .logo img{
    width: 170px;
}

.header__inner .nav{
    display: flex;
    gap:20px;
    align-items: center;
    padding: 0;
    margin: 0;
}

.header__inner .nav li{
    font-family: 'Comfortaa', bold;
    list-style: none;
    font-size: 0.9rem;
    margin: 10px 0 6px;
}

    .main-image{
        max-width: 100%;
        height: auto;
        display: block;
        width: 100%;
        height: 70vh;
        margin-bottom: 200px;
        background: url(../image/oliver-sjostrom-gofDws5Y_CU-unsplash.jpg);
        background-size: cover;
        background-position: center;
        background-attachment:fixed;
    }

    .text-image{
        display: flex;
        justify-content: space-between;
        gap:15px;
    }

    .btn_style{
        text-align: right;
        margin-top: 30px;
    }

    .btn_style_center{
        text-align: center;
        margin-top: 30px;
    }

    .button{
        padding: 10px 30px;
        font-weight: 400;
        font-size: 1.0rem;
        text-align: center;
        background-color: #97cfbd;
        color: #FFF;
        border-radius: 44px;
    }
    .text-image .text-image__image{
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
}

.text-image .text-image__text{
    margin-top: 50px;
    width: 100%;
    line-height: 1.5;
    word-wrap: break-word;
}



.text-image .text-image__image > img{
    width:300px ;
    border-radius: 4cap;
}


.section{
    max-width: 1000%;
    width: 90%;
}

.wrapper{
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
}


section h2::after, .section h3::after{
    background-color: #282828;
    width: 10px;
    height: 1px;
    content: "";
}

.center{
    text-align: center;
}

.center__top{
    text-align: center;
    margin-bottom: 20px;
}

/* ----------about---------- */

.about{
    margin: 80px auto 20px;
}

.about h2{
    margin: 0 auto 40px;
}


/* ----------articles---------- */

@media (max-width: 747px){
/* スマートフォン画面用スタイル */

    .section h2, .section h3{
        font-family: 'Comfortaa', bold;

        margin-bottom: 10px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .section h2{
        font-size: 1.8rem;
        margin-top: 100px;
    }

    .section h3{
        text-align: center;
        font-size: 1.4rem;
    }
    

    .articles{
        margin: auto;
    }
    
    .articles__articles .thumbnail >img{
        display: block;
        justify-content: center;
        align-items: center;
        width: 350px;
    }

    .screen_image .screen_image__image >img{
        display: block;
        justify-content: center;
        align-items: center;
        
        width:80%;
    }

    .articles__articles{
        display: flex;
        flex-direction: column;
        align-items: center; /* コンテンツを中央揃え */
        margin-top: 30px;
    }

    .articles__articles span{
        font-weight: 500;
        font-size: 1.0rem;
        text-align: justify;
        margin-top: 10px;
    }
}



@media (min-width: 748px){
/* PC画面用スタイル */

    .section h2, .section h3{
        font-family: 'Comfortaa', bold;

        margin-bottom: 10px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .section h2{
        font-size: 1.8rem;
        margin-top: 100px;
    }

    .section h3{
        font-size: 1.6rem;
    }

    .articles{
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
    }

    .articles__articles .thumbnail >img{
        width: 100%;
    }

    .articles__articles{
    width: calc((100% - 20px * 2)/2);
    display: flex;
    flex-direction: column;
    align-items: center; /* コンテンツを中央揃え */
    margin-top: 30px;
    }

    .articles__articles span{
        font-weight: 500;
        font-size: 1.0rem;
        text-align: justify;
        margin-top: 10px;
    }
}

    .PWAapp_icon{
        margin:auto;
        display: block;
        width:80%;
        border-radius: 60px;
        padding:20px;
    }

    .PWAapp_img{
        margin:auto;
        display: block;
        width:80%;
        padding:35px 0px 15px 0px;
    }

/* ----------works---------- */

.works{
    margin: 60px auto 40px;
}

/* ----------footer---------- */
.footer{
    background-color: #F4F4F4;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
}

.footer span{
    margin: 20px;
    font-size: 0.7rem;
}