@charset "UTF-8";

/* -----スマホ表示用(共通)----- */
body {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 100%;
    color: #333;
    line-height: 1.8;
    background-image: none;
}
img {
    max-width: 100%;
}
/* フッダーを下部に配置 */
.wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* 画面の高さを保証 */
}
/* ヘッダー部分 */
.header-wrap {
    width: 100%;
    padding: 20px 10px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    gap: 10px;
}
.rogo {
    width: 50%;
    height: auot;
    margin: 0 auto;
}
.nav-wrap {
    width: 50%;
    display: flex;
    justify-content: center;
}
.nav-item {
    display: flex;
    gap: 10px;
    list-style: none;
    font-size: 14px;
}
.nav-wrap a {
    color: #333;
}
.nav-wrap a:hover {
    text-decoration: underline;
    text-underline-offset: 4px; /* アンダーラインを3px下にずらす */
}
/* index.html */
.index-wrap {
    flex: 1;
}
.frame {
    max-width: 100%;
    height: 50vh;
    overflow: hidden;
    position: relative;
}
.main-img {
    max-width: 100%;
    height: auto;
    position: absolute;        /* トリミング調整のため絶対配置 */
    top: 50%;                  /* 上から50%の位置に配置し... */
    transform: translateY(-50%); /* 中心から表示するように補正 */
}
.title {
    position: absolute;       /* 画像の上に配置 */
    top: 50%;                 /* 上から50%の位置に */
    left: 50%;                /* 左から50%の位置に */
    transform: translate(-50%, -50%); /* 文字を中央揃え */
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: white;             /* 文字色（画像によって変更） */ 
}
.index-txt{
    padding: 40px 20px;
    font-size: 16px;
    text-align: left;
}
/* about.html */
.about-wrap {
    flex: 1;
    display: flex;
    padding: 90px 50px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
                      url("../image/about-background.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.about-box {
    flex: 1;
    padding: 40px 20px;
    background-color: white;
}
.about-title {
    font-size: 38px;
    text-align: center;
}
.about-txt {
    padding: 20px 20px 0;
    list-style: disc;
}
.about-txt br {
    display: none;
}
/* works.html */
.works-wrap {
    flex: 1;
    display: flex;
    padding: 90px 50px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
                      url("../image/about-background.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.works-box {
    flex: 1;
    padding: 40px 20px;
    background-color: white;
}
.works-title {
    font-size: 38px;
    text-align: center;
}
.content-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 auto;
    padding: 20px 0;  
}
/* contact.php */
.contact-wrap {
    flex: 1;
    display: flex;
    padding: 90px 50px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
                      url("../image/contach-background.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.contact-box {
    flex: 1;
    padding: 40px 20px;
    background-color: white;
}
.contact-title {
    font-size: 38px;
    text-align: center;
}
label {
color: #333;
font-weight: bold;
display: block;
margin-bottom: 5px;
}
/* 入力欄の大きさと色 */
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    color: #333;
    box-sizing: border-box;
    margin-bottom: 15px;
}
button {
    padding: 10px 20px;
    font-size: 16px;
    border: 2px solid #ccc;
     background-color: #f9f9f9;
    color: #333;
    border-radius: 5px;
    cursor: pointer;
}
button:hover {
    background-color: #005ea6;
}
/* terms.html */
.terms-wrap {
    flex: 1;
    padding: 100px 20px;
    background-color: white;
}
.terms-title {
    font-size: 38px;
    text-align: center;
}
.terms-txt {
    padding: 20px;
}
/* フッダー部分 */
.footer-wrap {
    width: 100%;
    padding: 15px 20px;
    text-align: center;
    background: #f5f5f5;
    font-size: 14px;
}
footer a:hover {
    text-decoration: underline;
    text-underline-offset: 4px; /* アンダーラインを3px下にずらす */
}

/* -----タブレット用----- */
@media (min-width: 600px) {
    /* フッダーを下部に配置 */
    .wrap {
        display: flex;
        flex-direction: column;
        min-height: 100vh; /* 画面の高さを保証 */
    }
    /* ヘッダー部分 */
    .header-wrap {
        width: 100%;
        padding: 20px 10px;
        background: #f5f5f5;
        display: flex;
        align-items: center;
    }
    .rogo {
        width: 50%;
        height: auot;
        display: flex;
        justify-content: center; /* 水平方向に中央 */
        align-items: center;     /* 垂直方向に中央 */
    }
    .nav-wrap {
        width: 50%;
        display: flex;
        justify-content: center;
    }
    .nav-item {
        display: flex;
        gap: 18px;
        list-style: none;
        font-size: 22px;
    }
    .nav-wrap a {
        color: #333;
    }
    .nav-wrap a:hover {
        text-decoration: underline;
        text-underline-offset: 4px; /* アンダーラインを3px下にずらす */
    }
    /* index.html */
    .index-wrap {
        flex: 1;
    }
    .frame {
        max-width: 100%;
        height: 50vh;
        overflow: hidden;
        position: relative;
    }
    .main-img {
        max-width: 100%;
        height: auto;
        position: absolute;        /* トリミング調整のため絶対配置 */
        top: 50%;                  /* 上から50%の位置に配置し... */
        transform: translateY(-50%); /* 中心から表示するように補正 */
    }
    .title {
        position: absolute;       /* 画像の上に配置 */
        top: 50%;                 /* 上から50%の位置に */
        left: 50%;                /* 左から50%の位置に */
        transform: translate(-50%, -50%); /* 文字を中央揃え */
        font-family: 'Work Sans', sans-serif;
        font-weight: 700;
        font-size: 30px;
        color: white;             /* 文字色（画像によって変更） */ 
    }
    .index-txt{
        padding: 50px 30px;
        font-size: 16px;
        text-align: left;
    }
    /* about.html */
    .about-wrap {
        flex: 1;
        display: flex;
        padding: 90px 50px;
        background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
                          url("../image/about-background.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .about-box {
        flex: 1;
        padding: 40px 20px;
        background-color: white;
    }
    .about-title {
        font-size: 38px;
        text-align: center;
    }
    .about-txt {
        padding: 30px 40px;
        list-style: disc;
    }
    .about-txt br {
        display: inline;
}
    /* works.html */
    .works-wrap {
        flex: 1;
        display: flex;
        padding: 90px 50px;
        background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
                          url("../image/about-background.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .works-box {
        flex: 1;
        padding: 40px 20px;
        background-color: white;
    }
    .works-title {
        font-size: 38px;
        text-align: center;
    }
    .content-wrap {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: 0 auto;
        padding: 30px 0;  
    }
    .content-img {
        padding-top: 30px;
    }
    .content-txt {
        padding-top: 20px;
    }
    /* contact.php */
    .contact-wrap {
        flex: 1;
        display: flex;
        padding: 90px 50px;
        background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
                          url("../image/contach-background.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .contact-box {
        flex: 1;
        padding: 40px 20px;
        background-color: white;
    }
    .contact-title {
        font-size: 38px;
        text-align: center;
    }
    form {
        padding: 30px 0;
    }
    label {
        color: #333;
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
    }
    input[type="text"],
    input[type="email"],
    textarea {
        width: 100%;
        padding: 10px;
        font-size: 16px;
        border: 2px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
        color: #333;
        box-sizing: border-box;
        margin-bottom: 15px;
    }
    button {
        padding: 10px 20px;
        font-size: 16px;
        border: 2px solid #ccc;
        background-color: #f9f9f9;
        color: #333;
        border-radius: 5px;
        cursor: pointer;
    }
    button:hover {
        background-color: #005ea6;
    }
    /* terms.html */
    .terms-wrap {
        flex: 1;
        padding: 100px 20px;
        background-color: white;
    }
    .terms-title {
        font-size: 38px;
        text-align: center;
    }
    .terms-txt {
     padding: 20px 50px;
    }
    /* フッダー部分 */
    .footer-wrap {
        width: 100%;
        padding: 20px;
        text-align: center;
        background: #f5f5f5;
        font-size: 14px;
    }
    footer a:hover {
        text-decoration: underline;
        text-underline-offset: 4px; /* アンダーラインを3px下にずらす */
    }
}

/* -----パソコン用----- */
@media (min-width: 1024px) {
    /* フッダーを下部に配置 */
    .wrap {
        display: flex;
        flex-direction: column;
        min-height: 100vh; /* 画面の高さを保証 */
    }
    /* ヘッダー部分 */
    .header-wrap {
        width: 100%;
        padding: 20px 10px;
        background: #f5f5f5;
        display: flex;
        align-items: center;
    }
    .rogo {
        width: 50%;
        height: auot;
        display: flex;
        justify-content: center; /* 水平方向に中央 */
        align-items: center;     /* 垂直方向に中央 */
    }
    .nav-wrap {
        width: 50%;
        display: flex;
        justify-content: center;
    }
    .nav-item {
        display: flex;
        gap: 30px;
        list-style: none;
        font-size: 22px;
    }
    .nav-wrap a {
        color: #333;
    }
    .nav-wrap a:hover {
        text-decoration: underline;
        text-underline-offset: 4px; /* アンダーラインを3px下にずらす */
    }
    /* index.html */
    .index-wrap {
        flex: 1;
    }
    .frame {
        max-width: 100%;
        height: 50vh;
        overflow: hidden;
        position: relative;
    }
    .main-img {
        max-width: 100%;
        height: auto;
        position: absolute;        /* トリミング調整のため絶対配置 */
        top: 50%;                  /* 上から50%の位置に配置し... */
        transform: translateY(-50%); /* 中心から表示するように補正 */
    }
    .title {
        position: absolute;       /* 画像の上に配置 */
        top: 50%;                 /* 上から50%の位置に */
        left: 50%;                /* 左から50%の位置に */
        transform: translate(-50%, -50%); /* 文字を中央揃え */
        font-family: 'Work Sans', sans-serif;
        font-weight: 700;
        font-size: 30px;
        color: white;             /* 文字色（画像によって変更） */ 
    }
    .index-txt {
        padding: 50px 130px;
        font-size: 16px;
        text-align: left;
    }
    /* about.html */
    .about-wrap {
        flex: 1;
        display: flex;
        padding: 90px 50px;
        background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
                          url("../image/about-background.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .about-box {
        flex: 1;
        padding: 40px 20px;
        background-color: white;
    }
    .about-title {
        font-size: 38px;
        text-align: center;
    }
    .about-txt {
        padding: 30px 100px;
        list-style: disc;
    }
    .about-txt br {
        display: inline;
}
    /* works.html */
    .works-wrap {
        flex: 1;
        display: flex;
        padding: 90px 50px;
        background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
                          url("../image/about-background.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .works-box {
        flex: 1;
        padding: 40px 20px;
        background-color: white;
    }
    .works-title {
        font-size: 38px;
        text-align: center;
    }
    .content-wrap {
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        padding: 0 100px;  
    }
    .content-wrap {
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        padding: 0 150px;  
    }
    /* contact.php */
    .contact-wrap {
        flex: 1;
        display: flex;
        padding: 90px 50px;
        background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
                          url("../image/contach-background.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .contact-box {
        flex: 1;
        padding: 40px 20px;
        background-color: white;
    }
    .contact-title {
        font-size: 38px;
        text-align: center;
    }
    form {
        padding: 30px 40px;
    }
    label {
        color: #333;
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
    }
    input[type="text"],
    input[type="email"],
    textarea {
        width: 100%;
        padding: 10px;
        font-size: 16px;
        border: 2px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
        color: #333;
        box-sizing: border-box;
        margin-bottom: 15px;
    }
    button {
        padding: 10px 20px;
        font-size: 16px;
        border: 2px solid #ccc;
        background-color: #f9f9f9;
        color: #333;
        border-radius: 5px;
        cursor: pointer;
    }
    button:hover {
        background-color: #005ea6;
    }
    /* terms.html */
    .terms-wrap {
        flex: 1;
        padding: 100px 20px;
        background-color: white;
    }
    .terms-title {
        font-size: 38px;
        text-align: center;
    }
    .terms-txt {
     padding: 20px 50px;
    }
    /* フッダー部分 */
    .footer-wrap {
        width: 100%;
        padding: 20px;
        text-align: center;
        background: #f5f5f5;
        font-size: 14px;
    }
    footer a:hover {
        text-decoration: underline;
        text-underline-offset: 4px; /* アンダーラインを3px下にずらす */
    }
}