/* html, body {
  margin: 0;
  padding: 0;
} */

.header_container {
    width: 100%;
    background-color: #fff;
    margin-bottom: 1em;
}

.header_top_container {
    margin-bottom: 0.3em;
}

.header_top,
.header_bot {
    text-align: center;
    color: #222;
    width: 1080px;
    margin: 0 auto;
}

.header_top {
    padding-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

.header_logo img {
    max-width: 200px;
}

.header_logo {
    order: 1;
}

.header_btns {
    order: 2;
}

.header_txts {
    order: 3;
}

.header_top img {
    max-height: 80px;
    width: auto;
}

.header_top .header_btns {
    width: 475px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.header_top .header_btns img {
    margin: 0;
}

.header_top .header_txts {
    text-align: right;
}

.header_top .header_txts span {
    display: inline-block;
    vertical-align: middle;
    margin: 10px 5px;
}

.header_bot_container {
    background-image: linear-gradient(135deg, var(--site-main-hi-color2) 25%, transparent 25%, transparent 50%, var(--site-main-hi-color2) 50%, var(--site-main-hi-color2) 75%, transparent 75%, transparent);
    background-size: 2.85em 2.85em;
}

.header_bot {
    padding: 2.5em 0;
}

.header_title {
    display: block;
    background-color: #fff;
    color: #313131;
    border: 1px solid var(--site-main-color);
    border-radius: 5em;
    text-align: center;
    padding: 10px;
    max-width: 400px;
    margin: 0 auto;
    font-family: 'メイリオ', 'Meiryo', sans-serif;
}

.line-right {
    width: 1px;
    height: 70px;
    background: repeating-linear-gradient(#7d7d7d, #7d7d7d 5px, #fff 5px, #fff 10px);
    margin-left: 5px;
    margin-right: 5px;
}

.header_title span {
    display: block;
}

.header_title .txt_main {
    font-size: 1.5em;
    letter-spacing: 0.2em;
}

.header_title .txt_sub {
    font-size: 1em;
    margin-top: -0.5em;
    color: #a0a0a0;
}

.btn_mypage {
    display: block;
    background-color: #fff;
    color: #000;
    border: 1px solid var(--site-main-color2);
    border-radius: 5em;
    text-align: center;
    padding: 10px;
    width: 350px;
    margin: 0 auto;
}

.btn_mypage span {
    display: block;
}

.btn_mypage .txt_main {
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: 0.2em;
}

.btn_mypage .txt_sub {
    font-size: 1em;
    margin-top: -0.5em;
    color: #a0a0a0;
}

.wrap_gray {
    padding: 5px;
    background-color: #555;
    color: #fff;
}

a,
a:visited {
    text-decoration: none;
}

@media only screen and (max-width:960px) {

    .header_top,
    .header_bot {
        width: 100%;
    }

    .header_top {
        display: block;
    }

    .header_logo {
        float: left;
        width: 40%;
        padding: 0 10px;
    }

    .header_logo img {
        max-height: unset;
        width: 100%;
        height: auto;
    }

    .header_top .header_btns {
        display: block;
        padding-top: 20px;
        clear: both;
        margin: 0 auto;
        width: unset;
    }

    .header_txts {
        float: right;
        font-size: 12px;
        padding: 0 10px;
    }

    .header_title {
        width: 85%;
    }

    .btn_mypage {
        width: 85%;
    }
}

.line-right {
    width: 1px;
    height: 70px;
    background: repeating-linear-gradient(#7d7d7d, #7d7d7d 5px, #fff 5px, #fff 10px);
}

.icn {
    background: #fff;
}

.icn:hover {
    background: var(--site-main-hi-color2);
    border-radius: 5px;
}

.spview {
    display: none;
}

@media screen and (max-width: 979px) {
    .pcview {
        display: none;
    }

    .spview {
        display: block;
    }
}

/* 検索窓 */
.search-form-3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    border: 1px solid #777777;
    border-radius: 25px;
}

.search-form-3 input {
    width: 350px;
    height: 45px;
    padding: 5px 15px;
    border: none;
    box-sizing: border-box;
    font-size: 1em;
    outline: none;
}

.search-form-3 input::placeholder {
    color: #777777;
}

.search-form-3 button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 45px;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.search-form-3 button::after {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z' fill='%23777777'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    content: '';
}
