body {
    background-color: #fff;
    color: #333;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 16px;
}
input, textarea, select {
    background-color: #fff;
    color: #333;
}
a {
    text-decoration: none;
    color: #333;
}
.pc {
    display: block;
}
.sp {
    display: none;
}

main {
    margin-top: 100px;
    overflow-x: hidden;
}

header {
    position: fixed;
    z-index: 100;
    width: 100%;
    height: 100px;
    left: 0;
    top: 0;
    padding: 0 20px;
    background-color: #fff;
    opacity: 1;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}
header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
}
header h1 {
    width: 16.8%;
    min-width: 230px;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}
header .navigation {
    width: 83%;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-weight: bold;
}
header .navigation li {
    margin: 0 1.4%;
}
header .navigation li:first-child {
    margin-left: 0;
}

header .navigation .pulldown {
    position: relative;
}
/* 初期状態（非表示） */
header .navigation .pulldown-list {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    padding: 20px;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
header .navigation .pulldown-list li {
    border-bottom: 1px solid #404040;
    padding: 15px 0;
}
/* ホバー時に表示 */
header .navigation .pulldown:hover .pulldown-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
header .navigation li.contact {
    position: relative;
    margin-right: 0;
    margin-left: 10px;
    font-size: 16px;
    padding: 20px 5.5% 20px 3.7%;
}
header .navigation li.contact::after {
    content: "";
    background-image: url("../img/cv-wh.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    width: 12px;
    right: 17px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
}
header .navigation li.contact a {
    color: #fff;
}
#hamburger {
    display: none;
}
#sp-nav {
    display: none;
}

@media screen and (max-width: 768px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
    main {
        margin-top: 70px;
    }

    header {
        padding: 0 25px;
        height: 70px;
    }
    header .container {
        position: relative;
        height: 70px;
        z-index: 1000;
    }
    header h1 {
        width: 180px;
        min-width: 153px;
    }
    header .navigation {
        display: none;
    }

    #hamburger {
        width: 34px;
        height: 27px;
        display: block;
    }
    #hamburger span {
        position: relative;
        display: block;
        width: 100%;
        height: 5px;
        border-radius: 10px;
        transition: ease .5s;
    }
    #hamburger span:nth-child(1) {
        top: 0;
    }
    #hamburger span:nth-child(2) {
        margin: 5px 0;
    } 
    #hamburger span:nth-child(3) {
        top: 0;
    }
    #hamburger.active span:nth-child(1) {
        top: 9px;
        transform: rotate(45deg);
    }
    #hamburger.active span:nth-child(2) {
        opacity: 0;  
    }
    #hamburger.active span:nth-child(3) {
        top: -12px;
        transform: rotate(-45deg);
    }

    #sp-nav {
        display: block;
        opacity: 0;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        padding: 70px 32px 0 32px;
        background-color: #fff;
        transition: ease .5s;
        pointer-events: none;
    }
    #sp-nav.active {
        z-index: 100;
        opacity: 1;
        pointer-events: all;
    }
    #sp-nav li {
        padding: 18px 11.4px;
        border-bottom: 1px solid #D9D9D9;
        font-weight: bold;
    }
    #sp-nav .bottom-none {
        padding-bottom: 0;
    }
    #sp-nav .sub-menu li {
        border-bottom: none;
    }
    #sp-nav li a {
        font-size: 14px; /* 修正済み */
        color: #404040;
    }
    #sp-nav li.contact {
        position: relative;
        width: 230px;
        border-bottom: none;
        text-align: center;
        margin: 40px auto 0;
    }
    #sp-nav li.contact a {
        width: 100%;
        color: #fff;
        padding: 20px ;
    }
    #sp-nav li.contact::after {
        content: "";
        background-image: url("../img/cv-wh.png");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        position: absolute;
        width: 12px;
        right: 17px;
        height: 40px;
        top: 50%;
        transform: translateY(-50%);
    }
}

footer {
    background-color: #fff;
    padding: 65px 0 120px 0;
}
footer .container {
    width: 70%;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
footer .container .info .em {
    margin-bottom: 45px;
}
footer .container .info .em img {
    width: 75px;
    margin-bottom: 10px;
}
footer .container .info .em h2 {
    font-weight: bold;
    font-size: 18px;
}
footer .container .info .address {
    margin-bottom: 20px;
}
footer .container .info .address li {
    line-height: 1.8;
    margin-bottom: 5px;
}
footer .container .info .copy {
    font-size: 10px;
    line-height: 3;
}
footer .container .menu li {
    line-height: 1.8;
    margin-bottom: 15px;
}
@media screen and (max-width: 768px) {
    footer {
        padding: 47px 24px 20px 24px;
    }
    footer .container {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    footer .container .info .em h2 {
        font-size: 19px;
    }
    footer .container .menu {
        margin-bottom: 35px;
    }
    footer .container .copy {
        text-align: center;
        font-size: 10px;
    }
}

#footer-contact {
    width: 100%;
    background-color: #F9F6EF;
    padding: 55px 0 130px 0;
}
#footer-contact .ttl {
    text-align: center;
    margin-bottom: 90px;
}
#footer-contact .ttl img {
    display: block;
    width: 82px;
    margin: 0 auto 10px;
}
#footer-contact .ttl h2 {
    margin-bottom: 45px;
    font-size: 38px;
    font-weight: bold;
}
#footer-contact .ttl p {
    line-height: 1.8;
}
#footer-contact .bnr-block {
    display: flex;
    justify-content: space-between;
}
#footer-contact .bnr-block .bnr {
    width: 46.3%;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 40px 0;
    box-shadow: 0px 1px 18px 0px rgba(105, 105, 105, 0.16);
}
#footer-contact .bnr .head {
    display: flex;
    align-items: center;
    font-size: 18px;
    margin-bottom: 15px;
}
#footer-contact .bnr .head.white-txt {
    color: #fff;
}
#footer-contact .bnr .head img {
    width: 24px;
    margin-right: 15px;
}
#footer-contact .bnr .link {
    line-height: 1.1;
    margin-bottom: 10px;
}
#footer-contact .bnr .link span {
    font-size: 18px;
    margin-right: 10px;
}
#footer-contact .bnr .link strong {
    font-size: 38px;
    font-weight: bold;
}
#footer-contact .bnr .btn {
    width: 65%;
}
#footer-contact .bnr .btn a {
    position: relative;
    width: 100%;
    font-size: 16px;
    display: block;
    text-align: center;
    background-color: #fff;
    padding: 20px 0;
    border-radius: 30px;
}
#footer-contact .bnr .btn a::after {
    content: "";
    background-image: url("../img/arrow-black.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    width: 13px;
    right: 17px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
}
@media screen and (max-width: 768px) {
    #footer-contact {
        padding: 20px 20px 95px 20px;
    }
    #footer-contact .main-block {
        width: 100%;
    }
    #footer-contact .ttl {
        margin-bottom: 40px;
    }
    #footer-contact .ttl h2 {
        margin-bottom: 30px;
        font-size: 22px; /* 修正済み */
    }
    #footer-contact .bnr-block {
        display: block;
    }
    #footer-contact .bnr-block .bnr {
        width: 100%;
        padding: 40px 0;
    }
    #footer-contact .bnr-block .bnr:first-child {
        margin-bottom: 35px;
    }
    #footer-contact .bnr .link strong {
        font-size: 28px; /* 修正済み */
        font-weight: bold;
    }
    #footer-contact .bnr .btn {
        width: calc(100% - 20px);
    }
}

#sub-mv {
    position: relative;
    padding-bottom: 55px;
}
#sub-mv .mv {
    width: 78.2%;
    margin: 0 0 0 auto;
}
#sub-mv .mv img {
    border-radius: 30px 0 0 0;
}
#sub-mv .big-icon {
    width: 15%;
    position: absolute;
    z-index: 10;
    right: -20px;
    bottom: calc(-20% + 55px);
}
#sub-mv .small-icon {
    width: 5%;
    position: absolute;
    z-index: 10;
    left: -20px;
    bottom: 70px;
}
#sub-mv .label {
    position: absolute;
    z-index: 5;
    width: 55%;
    bottom: -20px;
    background-color: #fff;
    border-radius: 50px;
    padding: 25px 120px;
}
#sub-mv .label img {
    width: 11%;
    margin-bottom: 10px;
    min-width: 84px;
}
#sub-mv .label h2 {
    font-size: 38px;
}
@media screen and (max-width: 768px) {
    #sub-mv {
        position: relative;
        padding-bottom: 55px;
    }
    #sub-mv .mv {
        width: 94.1%;
        margin: 0 0 0 auto;
    }
    #sub-mv .mv img {
        border-radius: 20px 0 20px 0;
    }
    #sub-mv .big-icon {
        width: 24%;
        position: absolute;
        z-index: 10;
        right: -25px;
        bottom: calc(-20% + 35px);
    }
    #sub-mv .small-icon {
        width: 15%;
        left: -7%;
        bottom: 70px;
    }
    #sub-mv .label {
        width: 66%;
        bottom: -20px;
        border-radius: 20px;
        padding: 20px 20px;
    }
    #sub-mv .label img {
        width: 60px;
        margin-bottom: 10px;
        min-width: auto;
    }
    #sub-mv .label h2 {
        font-size: 18px; /* 修正済み */
    }
}

.page-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 100px;
}
.page-wrap .wp-pagenavi {
    display: flex;
    align-items: center;
}
.page-wrap .pages {
    display: none;
}
.page-wrap .current {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    background: #C22F4D;
    color: #fff;
    border: none;
    font-size: 19px; /* 修正済み */
    font-weight: bold;
    margin: 0 8px;
}
.page-wrap .page,
.page-wrap .first,
.page-wrap .last {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    text-align: center;
    margin: 0 8px;
    font-size: 22px;
    font-weight: bold;
    background: #fff;
}
.page-wrap .nextpostslink {
    font-size: 38px;
    margin-left: 10px;
    color: #000000;
}
.page-wrap .previouspostslink {
    font-size: 38px;
    margin-right: 10px;
    color: #000000;
}