/*
=============================================================
GLOBAL SETTING
=============================================================
*/
:root {
    --ef-red: #B8466C;
    --ef-blue: #58A6C4;
    --ef-black: #231815;
    --ef-gray: #595757;
    --ef-light-gray: #ececec;
    --ef-white: #ffffff;
    --ef-bg-color: #ffffff;
    --form-accent: #58A6C4;
    --form-liner: #cccccc;
}

.fbox {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

/*
=============================================================
FONT
=============================================================
*/
h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
dt,
dd,
th,
td,
code,
caption,
figcaption,
kbd,
pre,
samp,
small,
time {
    color: var(--ef-gray);
    font-size: .95rem;
    font-weight: 200;
    letter-spacing: 0.12rem;
}

b {
    font-weight: 500;
}

.hl2 {
    border-bottom: 2px solid var(--ef-blue);
    color: var(--ef-black);
    font-size: 1.5rem;
    margin: 0 0 16px 0;
    padding: 0 0 8px 0;
}

.hl3 {
    color: var(--ef-blue);
    font-size: 1.2rem;
    margin: 0 0 16px 0;
}

p {
    margin: 0 auto 11px auto;
}

.price-font {
    font-size: 1.2rem;
    font-weight: 300;
    margin: 30px auto 15px auto;
    text-align: center;
}

.notice-font {
    font-size: .8rem;
    margin: 12px 0;
}

.notice-red {
    color: var(--ef-red);
}

/*
=============================================================
LAYOUT
=============================================================
*/
html {
    height: 100%;
}

body {
    background-color: var(--ef-white);
    height: 100%;
}

header {
    margin: 0 auto 85px auto;
    padding: 0;
    text-align: left;
    width: 71%;
    max-width: 1000px;
}

.logo-box {
    margin: 60px 0 0 0;
}

.header-logo {
    width: 60px;
}

.top-image-area {
    margin: 0 auto 85px auto;
    width: 100%;
    max-width: 1000px;
}

.top-image-area img {
    width: 100%;
}

.cnt {
    margin: 0 auto 85px auto;
    padding: 0;
    text-align: left;
    width: 71%;
    max-width: 1000px;
}

.info-image {
    display: block;
    margin: 30px auto 15px auto;
    text-align: center;
    width: 100%;
}

.item-image {
    display: block;
    margin: 30px auto 15px auto;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.sub-cnt {
    margin: 0 auto 60px auto;
}

.product-area {
    margin: 60px auto 85px auto;
    padding: 0;
    width: 100%;
}

.flex-item2 {
    margin: 30px auto;
    text-align: center;
    width: 100%;
}

.flex-item2 a {
    text-decoration: none;
}

.flex-item3 {
    margin: 30px auto;
    text-align: center;
    width: 100%;
}

.flex-item3 a {
    text-decoration: none;
}

.button-style {
    background-color: var(--ef-blue);
    border: 2px solid var(--ef-blue);
    border-radius: 15px;
    box-sizing: border-box;
    color: var(--ef-white);
    display: block;
    margin: 30px auto;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    transition: .5s;
    width: 71%;
}

.button-style:hover {
    background-color: var(--ef-white);
    color: var(--ef-blue);
}

.table-style {
    list-style: none;
    margin: 6px 0 15px 0;
}

.table-style dt {
    border-bottom: 1px solid var(--ef-light-gray);
    font-weight: 300;
    padding: 3px 0;
    width: 100%;
}

.table-style dt::before {
    content: "□";
    color: var(--ef-blue);
    margin-right: 5px;
}

.table-style dd {
    display: block;
    padding: 3px 0;
    width: 100%;
}

/*
=============================================================
FOOTER
=============================================================
*/
footer {
    background-color: var(--ef-blue);
    padding: 30px 0;
    position: sticky;
    text-align: left;
    top: 100vh;
    width: 100%;
}

.footer-cnt {
    margin: 0 auto;
    width: 71%;
    max-width: 1000px;
}

.footer-cnt>h3 {
    color: var(--ef-white);
}

.footer-cnt>h3>a {
    color: var(--ef-white);
    text-decoration: none;
}

.footer-cnt>address>p {
    color: var(--ef-white);
    font-size: .8rem;
}

.footer-sitemap {
    list-style: none;
    margin: 30px auto;
    padding: 0;
    width: 100%;
}

.footer-sitemap li {
    font-size: .75rem;
    margin: 0 0 15px 0;
}

.footer-sitemap a {
    border-bottom: 1px dotted var(--ef-white);
    color: var(--ef-white);
    padding: 0 0 3px 0;
    text-decoration: none;
}

.footer-sitemap a:hover {
    border-bottom: 1px dotted var(--ef-black);
    color: var(--ef-black);
}

.footer-sitemap a::before {
    content: "□";
    margin-right: 5px;
}

.copyright {
    color: var(--ef-white);
    display: block;
    font-size: .7rem;
    margin: 60px auto 0 auto;
    text-align: center;
}

/*
=============================================================
NAVIGATION
=============================================================
*/
.hamburger-menu {
    margin: 0 auto;
}

.menu-btn {
    position: fixed;
    top: 60px;
    right: 14.5%;
    display: flex;
    height: 40px;
    width: 40px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: var(--ef-blue);
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: var(--ef-white);
    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-btn-check {
    display: none;
}

#menu-btn-check:checked~.global-navigation {
    left: 0;
}

.global-navigation {
    margin: 0 auto;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 80;
    background-color: var(--ef-blue);
    transition: all .5s;
}

.g-navi-logo {
    margin: 60px auto 0 auto;
    padding: 0;
    text-align: left;
    width: 71%;
}

.g-navi-list {
    border-top: .99px solid var(--ef-white);
    border-bottom: .99px solid var(--ef-white);
    list-style: none;
    margin: 90px 0 0 0;
    padding: 0;
    text-align: center;
}

.g-navi-list li {
    background: var(--ef-blue);
    border-bottom: .99px solid var(--ef-blue);
    box-sizing: border-box;
    color: var(--ef-white);
    display: block;
    margin: 0;
    padding: 20px 0;
}

.g-navi-list li:last-child {
    border-bottom: none;
}

.g-navi-list li>a {
    background: var(--ef-white);
    color: var(--ef-blue);
    display: block;
    margin: -20px 0;
    padding: 20px 0;
    text-decoration: none;
    transition: background-color .5s, color .5s;
}

.g-navi-list li>a:hover {
    background: var(--ef-blue);
    color: var(--ef-white);
}

/*
=============================================================
MAILFORM
=============================================================
*/
.formHIDE {
    width: 100%;
    margin: auto;
}

.doui-area {
    width: 100%;
    box-sizing: border-box;
    margin: 20px auto 40px auto;
    overflow: hidden;
    padding: 20px 0;
}

.formDOUI {
    width: 71%;
    background-color: var(--ef-bg-color);
    border: 2px solid var(--ef-blue);
    border-radius: 0;
    color: var(--ef-blue);
    display: block;
    margin: 40px auto;
    overflow: hidden;
    padding: 20px;
    text-align: center;
    transition: 0.4s;
}

.formDOUI:hover {
    background: var(--ef-blue);
    color: var(--ef-bg-color);
    cursor: pointer;
}

.form-table {
    margin: 0 auto 40px auto;
    text-align: left;
    width: 100%;
}

.form-table>dt {
    color: var(--ef-gray);
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    padding: 10px 0;
    text-align: left;
}

.form-table>dd {
    padding: 6px 0;
    text-align: left;
}

.form-item {
    width: 150px;
    margin: 0 0 0 20px;
    vertical-align: top;
}

/* Textarea [ALL] */
textarea {
    border: none;
}

textarea {
    background-color: transparent;
    border: 2px solid var(--form-liner);
    border-radius: 0;
    box-sizing: border-box;
    color: var(--form-accent);
    font-size: 16px;
    height: 120px;
    margin: 6px auto;
    padding: 6px;
    resize: vertical;
    width: 100%;
}

textarea:placeholder-shown {
    border: 2px solid var(--form-liner);
}

textarea:not(placeholder-shown) {
    border: 2px solid var(--form-accent);
}

textarea:focus {
    border: 2px solid var(--form-accent);
    outline: none;
    transition: .4s;
}

/* Input [ALL] */
input {
    box-sizing: border-box;
    font-size: 16px;
    margin: 0;
}

/* Input [TEXT] */
input[type=text] {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid var(--form-liner);
    border-radius: 0;
    box-sizing: border-box;
    margin: 6px auto;
    padding: 6px;
    transition: 0.4s;
}

input[type=text]:focus {
    border-bottom: 2px solid var(--form-accent);
    outline: none;
}

input[type=text]:valid {
    color: var(--form-accent);
    border-bottom: 2px solid var(--form-accent);
}

input[type=text]:placeholder-shown {
    border-bottom: 2px solid var(--form-liner);
}

input[type=text]:not(placeholder-shown) {
    border-bottom: 2px solid var(--form-accent);
}

/* Input [TEL] */
input[type=tel] {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid var(--form-liner);
    border-radius: 0;
    box-sizing: border-box;
    margin: 6px auto;
    padding: 6px;
    transition: 0.4s;
}

input[type=tel]:focus {
    border-bottom: 2px solid var(--form-accent);
    outline: none;
}

input[type=tel]:valid {
    color: var(--form-accent);
}

/* Input [EMAIL] */
input[type=email] {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid var(--form-liner);
    border-radius: 0;
    box-sizing: border-box;
    margin: 6px auto;
    padding: 6px;
    transition: 0.4s;
}

input[type=email]:focus {
    border-bottom: 2px solid var(--form-accent);
    outline: none;
}

input[type=email]:valid {
    color: var(--form-accent);
}

label {
    display: block;
}

/* Button's */
.button-area {
    width: 100%;
    border-top: .99px dashed var(--form-liner);
    box-sizing: border-box;
    display: block;
    margin: 20px auto 0 auto;
    padding: 40px 0 0 0;
    text-align: center;
}

.to-check {
    width: 50%;
    background-color: var(--ef-white);
    border: 2px solid var(--ef-blue);
    border-radius: 10px;
    color: var(--ef-blue);
    margin: 30px auto;
    padding: 15px 10px;
    transition: 0.4s;
}

.to-check:hover {
    background-color: var(--ef-blue);
    color: var(--ef-white);
    cursor: pointer;
}

@media screen and (min-width: 800px) {

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    li,
    dt,
    dd,
    th,
    td,
    code,
    caption,
    figcaption,
    kbd,
    pre,
    samp,
    small,
    time {
        color: var(--ef-gray);
        font-size: 1rem;
        font-weight: 200;
        letter-spacing: 0.12rem;
    }

    .hl2 {
        font-size: 1.9rem;
    }

    .hl3 {
        font-size: 1.5rem;
    }

    .global-navigation {
        margin: 0 auto;
        width: 100%;
        position: static;
        top: 0;
        left: 0;
        z-index: 80;
        background-color: var(--ef-bg-color);
        transition: all .0s;
    }

    .g-navi-logo {
        display: none;
    }

    .menu-btn {
        display: none;
    }

    .g-navi-list {
        border-top: none;
        border-bottom: none;
        list-style: none;
        margin: 60px 0 30px 0;
        padding: 60px 0 45px 0;
    }

    .g-navi-list li {
        background: var(--ef-bg-color);
        border-top: 2px solid var(--ef-blue);
        border-bottom: 2px solid var(--ef-white);
        box-sizing: border-box;
        color: var(--ef-gray);
        display: inline-block;
        margin: 0 10px;
        padding: 3px 0;
    }

    .g-navi-list li:last-child {
        border-top: 2px solid var(--ef-blue);
        border-bottom: 2px solid var(--ef-white);
    }

    .g-navi-list li>a {
        background: var(--ef-bg-color);
        border-top: 2px solid var(--ef-white);
        border-bottom: 2px solid var(--ef-white);
        box-sizing: border-box;
        color: var(--ef-gray);
        display: block;
        margin: -5px 0;
        padding: 3px 0;
        text-decoration: none;
        transition: border-color .3s;
    }

    .g-navi-list li>a:hover {
        background-color: transparent;
        border-bottom-color: var(--ef-blue);
        color: var(--ef-blue);
    }

    .g-navi-list li>.onPage {
        border-top-color: var(--ef-blue);
    }

    .g-navi-list li>.onPage:hover {
        border-top-color: var(--ef-white);
    }

    .flex-item2 {
        width: 45%;
    }

    .flex-item3 {
        width: 32%;
    }

    .info-image {
        margin: 30px 0;
        width: 40%;
    }

    .cnt-text-area {
        margin: 30px 0;
        width: 50%;
    }

    .table-style dt {
        font-weight: 300;
        width: 40%;
    }

    .table-style dd {
        border-bottom: 1px solid var(--ef-light-gray);
        width: 60%;
    }
}