/***
基準サイズ
    タブレット
        width: 768px
    スマホ
        width: 480px
***/

/* Webフォント: M PLUS 1p */
@import url("https://fonts.googleapis.com/css2?family=M+PLUS+1p&display=swap");

/* Body */
body {
    background-color: #f8f8f8;
    font-family: "M PLUS 1p", sans-serif;
}
button,
input,
select,
textarea {
    font-family : inherit;
}

/* ハンバーガーメニュー */
.menu-btn {
    position: fixed;
    top: 15px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    border-radius: 10px;
    background-color: #F55E61;
}

#menu-btn-check {
    display: none;
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: "";
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    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);
}

.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 80;
    background-color: #F55E61;
    transition: all 0.5s;
}
.menu-content ul {
    padding: 70px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
    font-weight: bolder;
    letter-spacing: 0.1em;
    text-align: center;
}
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}

#menu-btn-check:checked ~ .menu-content {
    left: 0;
}
/* ここまで */

/* ホーム index.html */
/* ロゴ画像 */
.logo img {
    width: 150px;
    margin-left: 25px;
}

/* プロダクトイラスト */
.toppic {
    display: flex;
    justify-content: center;
    margin-top: 80px;
    margin-left: 10px;
    margin-right: 10px;
}
@media screen and (max-width: 768px) {
    .toppic {
        flex-wrap: wrap;
    }
}
@media screen and (max-width: 480px) {
    .toppic {
        flex-wrap: wrap;
        display: flex;
    }
    .toppic img {
        width: 100px;
        height: 100px;
    }
}


/* index.html タイトル */
.title-text {
    margin-top: 30px;
    font-size: 15px;
    letter-spacing: 0.1em;
    font-weight: bold;
    text-align: center;
    color: #000000;
}

.title-text-2 {
    margin-top: 30px;
    font-size: 34px;
    letter-spacing: 0.03em;
    font-weight: bolder;
    text-align: center;
}
/* スマホ 改行 */
.sp-br {
    display: none;
}

@media screen and (max-width: 768px) {
    .sp-br {
        display: block;
    }
}
/* ここまで */

/* index.html ユーザー登録ボタン */
.user-btn-style {
    text-align: center;
    margin-top: 80px;
}

.user-btn,
a.user-btn {
    color: #fff;
    background-color: #f85255;
    text-align: center;
    padding: 20px;
    margin: 50px;
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 100vh;
    font-size: 17px;
    font-weight: bolder;
    letter-spacing: 0.1em;
    text-decoration: none;
}

.user-btn:hover,
a.user-btn:hover {
    color: #fff;
    background: #F55E61;
}
/* ここまで */

/* 汎用ボタン */
.general-btn-style {
    text-align: center;
    margin-top: 40px;
}

.general-btn,
a.general-btn {
    color: #fff;
    background-color: #f85255;
    text-align: center;
    padding: 15px;
    margin: 50px;
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 100vh;
    font-size: 17px;
    font-weight: bolder;
    letter-spacing: 0.1em;
    text-decoration: none;
}

.general-btn:hover,
a.general-btn:hover {
    color: #fff;
    background: #F55E61;
}
/* ここまで */

/* news & user & contact ページ h2 もじ */
.head-text {
    padding: 1rem 3rem;
    border-radius: 100vh;
    background-color: #ffffff;
    margin-left: 50px;
    margin-right: 50px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    letter-spacing: 0.1em;

    display: flex;
    justify-content: center;
    align-items: center;
}
/* ここまで */

/* ユーザー登録フォーム status/action 左揃え */
.user-form-left {
    list-style: none;
    text-align: left;
    font-size: 18px;
}
/* フォーム margin中央揃え */
.form-m {
    display: block;
    margin: 50px;
}
/* ここまで */

/* お問い合わせフォーム */
.form {
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
}
@media screen and (max-width: 768px) {
    .form {
        margin-top: 40px;
    }
}

.form-item {
    border-top: 1px solid #ddd;
    padding-top: 24px;
    padding-bottom: 24px;
    display: flex;
    align-items: center;
}
@media screen and (max-width: 768px) {
    .form-item {
        padding-left: 14px;
        padding-right: 14px;
        padding-top: 16px;
        padding-bottom: 16px;
        flex-wrap: wrap;
    }
}
/* チェックボックス タブレット対応 レスポンシブ */
@media screen and (max-width: 768px) {
    .form-item-sp {
        margin-left: -40px;
    }
}
.form-item:nth-child(5) {
    border-bottom: 1px solid #ddd;
}
.form-item-label {
    width: 100%;
    max-width: 248px;
    letter-spacing: 0.05em;
    font-weight: bold;
    font-size: 18px;
    text-align: left;
}
@media screen and (max-width: 768px) {
    .form-item-label {
        max-width: inherit;
        display: flex;
        align-items: center;
        font-size: 15px;
    }
}

.form-item-label.is-msg {
    margin-top: 8px;
    margin-bottom: auto;
}
@media screen and (max-width: 768px) {
    .form-item-label.is-msg {
        margin-top: 0;
    }
}

.form-item-label-required {
    border-radius: 6px;
    margin-right: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 48px;
    display: inline-block;
    text-align: center;
    background: #2b3874;
    color: #fff;
    font-size: 14px;
}
.form-item-label-optional {
    border-radius: 6px;
    margin-right: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 48px;
    display: inline-block;
    text-align: center;
    background: #ccc;
    color: #000;
    font-size: 14px;
}
@media screen and (max-width: 768px) {
    .form-item-label-required,
    .form-item-label-optional {
        border-radius: 4px;
        padding-top: 4px;
        padding-bottom: 4px;
        width: 32px;
        font-size: 10px;
    }
}

.form-item-input {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 48px;
    width: 290px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #ffffff;
    font-size: 18px;
}
@media screen and (max-width: 768px) {
    .form-item-input {
        margin-left: 0;
        margin-top: 18px;
        height: 40px;
        width: 100%;
        max-width: initial;
        flex: inherit;
        font-size: 15px;
    }
}

.form-item-textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 216px;
    width: 290px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #ffffff;
    font-size: 18px;
}
@media screen and (max-width: 768px) {
    .form-item-textarea {
        margin-top: 18px;
        margin-left: 0;
        height: 200px;
        width: 100%;
        max-width: initial;
        flex: inherit;
        font-size: 15px;
    }
}

.form-btn {
    border-radius: 6px;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 280px;
    display: block;
    letter-spacing: 0.05em;
    background: #2b3874;
    border: none;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
}
.form-btn:disabled{
    background: #ccc;
    color: #000;
}
@media screen and (max-width: 768px) {
    .form-btn {
        margin-top: 24px;
        padding-top: 8px;
        padding-bottom: 8px;
        width: 100%;
        font-size: 16px;
    }
}
/* ここまで */

/* 受付完了ページ */
.thx-box {
    padding: 2.5em 1em;
    margin: 2em 0;
    color: #ffffff;
    background: #1a2838;
}
.thx-box h3 {
    margin: 0; 
    padding: 0;
    letter-spacing: 0.05em;
}
/* ここまで */