html {
    font-size: 62.5%;
}
body {
    margin: 0;
    padding: 0;
    width: 100%;
    color: #445566;
	font-family: 'Noto Sans JP', sans-serif;
}
p,a,td,span {
    font-size: 1.6rem;
    line-height: 3.2rem;
    color: #445566;
    text-decoration: none;
}
h1 {
    font-size: 6.0rem;
    line-height: 8.0rem;
}
h2 {
    font-size: 4.0rem;
    line-height: 7.0rem;
    font-weight: normal;
}
h2 small {
    color: #007BC7;
    display: block;
    font-size: 1.6rem;
}
h3 {
    font-size: 3.0rem;
    line-height: 7.0rem;
}
img {
    width: 100%;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    z-index: 999;
}
header > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    max-width: 1082px;
    margin: auto;
    padding: 2rem;
}
header a img {
    max-width: 240px;
    position: relative;
}
header .hamburger-menu {
    width: 100%;
}
header .menu {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 3rem;
}
header .menu ul {
    display: flex;
    align-items: center;
    padding: 0;
    gap: 3rem;
}
header .menu ul li {
    list-style-type: none;
}
header .menu ul li a:hover {
    opacity: 0.7;
}
header .menu > a {
    background: #007BC7;
    color: #fff;
    padding: 0.5rem 2.5rem;
    border-radius: 30px;
    border: 2px solid #007BC7;
}
header .menu > a:hover {
    border: 2px solid #007BC7;
    color: #007BC7;
    background: #fff;
}

main {
    margin-top: 120px;
}
.about {
    background-image: url(../img/about_back.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top center;
    padding: 10rem 0;
}
.about > div {
    max-width: 1082px;
    margin: auto;
    display: flex;
    padding: 0 2rem;
}
.about > div > div {
    width: 50%;
}
.about > div > div:last-child {
    padding-top: 8rem;
}
.about > div > div h2,
.about > div > div h2 small,
.about > div > div p {
    color: #fff;
}
.parallax {
    position: relative;
    width: fit-content;
    margin:  0 auto;
}
.parallax img {
    display: block;
    width: 60%;
}
.parallax#animate2 img {
    margin-left: auto;
}

.message {
    background-image: url(../img/message_back.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right bottom;
    padding: 7rem 0;
}
.message > div {
    max-width: 958px;
    margin: auto;
    display: flex;
    align-items: flex-start;
    padding: 0 2rem 10rem;
}
.message img {
    margin-right: 10rem;
    width: 40%;
}
.message > div > div {
    width: 60%;
}
.text-right {
    text-align: right;
}

.company {
    background-image: url(../img/company_back.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 1rem 0;
}
.company > div {
    max-width: 1082px;
    margin: auto;
    padding: 0 2rem 10rem;
}
.company table {
    width: 80%;
    margin-left: auto;
    border-spacing: 3rem 0;
}
.company table td {
    padding: 2rem;
    border-bottom: 1px solid #e3e3e3;
}
.company table td:first-child {
    text-align: center;
    width: 25%;
    vertical-align: top;
}
.company table tr:last-child td {
    border-bottom: none;
}

.service {
    background-image: url(../img/service_back.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left top;
    padding: 7rem 0;
}
.service > div {
    max-width: 1082px;
    margin: auto;
    padding: 0 2rem;
}
.service > div > img {
    margin: 10rem auto 5rem;
}
.service > div > div > div {
    border: 1px solid;
    display: flex;
    margin-bottom: 10rem;
}
.service .img {
    max-width: 500px;
    width: 40%;
    border-right: 1px solid;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.service .img a {
    position: relative;
    display: flex;
    height: 100%;
    align-items: center;
    cursor: pointer;
}
.service_2 .img a,
.service_4 .img a {
    height: 50%;
}
.service .img a:hover {
    opacity: 0.7;
}
.service .img a::after {
    content: "";
    display: block;
    width: 15px;
    height: 12px;
    position: absolute;
    top: 10px;
    right: 10px;
    background-image: url(../img/service_link.png);
    background-repeat: no-repeat;
    background-size: contain;
}
.service .img img {
    padding: 1rem 4rem;
    box-sizing: border-box;
}
.service .img a:nth-child(2){
    border-top: 1px solid;
}
.service .txt {
    width: 60%;
    padding: 3rem 5rem;
    box-sizing: border-box;
}
.service .service_2 .txt,
.service .service_4 .txt {
    min-height: 350px;
    display: flex;
    align-items: center;
}
.service .txt a,
.service .txt span {
    display: block;
    margin-bottom: 2rem;
    font-weight: 500;
    font-size: 1.8rem;
}
.service .txt small {
    font-size: 1.6rem;
}
.service .txt a:hover {
    text-decoration: underline;
}
.service_1 > div {
    border-color: #007BC7 !important;
}
.service_1 .img {
    border-color: #007BC7 !important;
}
.service_1 h3 {
    color: #007BC7;
    font-weight: normal;
}
.service > div > div > img {
    width: 5%;
    margin-right: 2%;
    vertical-align: middle;
}
.service h3 {
    display: inline-block;
    line-height: 3rem;
    width: 80%;
    vertical-align: middle;
}
.service_2 > div {
    border-color: #9D000D !important;
}
.service_2 .img {
    border-color: #9D000D !important;
}
.service_2 .img a:nth-child(2) {
    border-color: #9D000D !important;
}
.service_2 h3 {
    color: #9D000D;
    font-weight: normal;
}
.service_3 > div {
    border-color: #B0872F !important;
}
.service_3 .img {
    border-color: #B0872F !important;
}
.service_3 h3 {
    color: #B0872F;
    font-weight: normal;
}
.service_4 > div {
    border-color: #FF9AC4 !important;
}
.service_4 .img {
    border-color: #FF9AC4 !important;
}
.service_4 .img a:nth-child(2) {
    border-color: #FF9AC4 !important;
}
.service_4 h3 {
    color: #FF9AC4;
    font-weight: normal;
}
.service_5 > div {
    border-color: #727272 !important;
}
.service_5 .img {
    border-color: #727272 !important;
}
.service_5 h3 {
    color: #727272;
    font-weight: normal;
}

.contact {
    background-image: url(../img/footer_back.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center bottom;
    padding: 15vw 0 6vw;
}
.contact div {
    max-width: 834px;
    margin: auto;
    padding: 0 2rem;
}
.contact div * {
    color: #fff;
}
.contact h2 {
    line-height: 5rem;
    margin-bottom: 0;
}
.contact p {
    margin-top: 0;
}
.contact a {
    width: 65px;
    height: 65px;
    position: relative;
    display: inline-block;
    vertical-align: bottom;
    margin-left: 10rem;
}
.contact a img {
    max-width: 65px;
    position: absolute;
    top: 0;
    left: 0;
}
.contact a img.hov {
    opacity: 0;
}
.contact a:hover img {
    opacity: 0;
}
.contact a:hover img.hov {
    opacity: 1;
}

footer {
    background: #007BC7;
}
footer * {
    color: #fff;
}
footer .content {
    max-width: 1082px;
    margin: auto;
    padding: 5rem 2rem 1rem;
}
footer .flex {
    display: flex;
    align-items: end;
}
footer .flex .address {
    width: 30%;
}
footer .flex .address a img {
    width: 80%;
    margin-bottom: 1rem;
}
footer .flex .address a:last-of-type img {
    max-width: 22px;
}
footer .flex .menu {
    width: 70%;
    text-align: right;
}
footer .flex .menu ul {
    display: flex;
    justify-content: end;
    gap: 3rem;
}
footer .flex .menu ul li {
    list-style-type: none;
}
footer .content > p {
    text-align: center;
    margin-bottom: 0;
}

.contact_page main > p {
    margin: 10rem 2rem 5rem;
    text-align: center;
}
.contact_page form {
    max-width: 1083px;
    margin: 10rem auto 15rem;
    padding: 0 2rem;
}
.contact_page dl {
    display: flex;
    margin-bottom: 5rem;
}
.contact_page dt {
    width: 25%;
    font-size: 1.6rem;
}
.contact_page dt .required {
    font-size: 1.4rem;
    color: #fff;
    background: #007BC7;
    padding: 0 10px;
    border-radius: 5px;
    float: right;
}
.contact_page dd, .contact_page input, .contact_page textarea {
    width: 100%;
}
.contact_page input, .contact_page textarea {
    border: 1px solid #c2c2c2;
    border-radius: 3px;
    padding: 5px;
    box-sizing: border-box;
}
.contact_page .error_blank {
    color: #A81E29;
}
#form_submit {
    text-align: center;
}
#form_submit input {
    background: #445566;
    color: #fff;
    border-radius: 50px;
    padding: 1rem 2rem;
    width: 35%;
    font-size: 2.0rem;
}

.thanks_page main  {
    text-align: center;
}
.thanks_page main > p  {
    padding: 10rem 2rem 5rem;
}
.thanks_page main > a {
    background: #445566;
    color: #fff;
    border-radius: 50px;
    padding: 1rem 2rem;
    width: 35%;
    font-size: 1.6rem;
    margin: 0 auto 15rem;
    display: block;
}

.privacy_page main div {
    max-width: 1083px;
    margin: auto;
    padding: 5rem 2rem;
}
.privacy_page main > p {
    max-width: 786px;
    margin: auto;
    padding: 10rem 2rem 5rem;
    text-align: center;
}
.privacy_page main div h2 {
    color: #007BC7;
    font-size: 3.0rem;
    line-height: 3.0rem;
}
.privacy_page main div p {
    margin-bottom: 8rem;
}

.pc {
    display: block;
}
.sp {
    display: none;
}

@media (max-width: 768px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
    /* ハンバーガーアイコン */
    .hamburger-icon {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 25px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1001;
    }
    /* ハンバーガーの線 */
    .hamburger-icon span {
    width: 30px;
    height: 1px;
    background: #445566;
    transition: transform 0.3s, opacity 0.3s;
    position: absolute;
    }
    /* 1本目（上の線） */
    .hamburger-icon span:nth-child(1) {
    top: 0;
    }
    /* 2本目（中央の線） */
    .hamburger-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
    }
    /* 3本目（下の線） */
    .hamburger-icon span:nth-child(3) {
    bottom: 0;
    }
    header a img {
        max-width: 104px;
        z-index: 999;
    }
    header .hamburger-menu {
        width: auto;
    }
    /* フルスクリーンメニュー */
    header .menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    z-index: 998;
    padding: 10rem 2rem;
    box-sizing: border-box;
    }
    /* メニューが開いたとき */
    .menu.active {
    opacity: 1;
    visibility: visible;
    }
    /* メニューのリンク */
    header .menu ul {
        display: block;
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }
    header .menu li a {
        padding: 2rem 0;
        display: block;
        border-top: 1px solid #ddd;
    }
    header .menu li:last-child a {
        border-bottom: 1px solid #ddd;
    }
    header .menu > a:last-child {
        background: none;
        border: none;
        padding: 0;
        max-width: 30px;
    }
    .hamburger-menu.active .hamburger-icon span {
    background: #445566;
    }
    /* ハンバーガーアイコンが「×」に変形 */
    .hamburger-menu.active .hamburger-icon span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
    }

    .hamburger-menu.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
    }
    .hamburger-menu.active .hamburger-icon span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
    }

    h2 {
        font-size: 2.6rem;
        line-height: 4rem;
    }
    p,a,td,span {
        font-size: 1.4rem;
        line-height: 2.8rem;
    }
    main {
        margin-top: 80px;
    }

    .about {
        background-image: url(../img/about_back_sp.png);
        padding: 1rem 0 10rem;
    }
    .about h2 small {
        color: #fff;
        font-size: 1.2rem;
    }
    .about > div {
        display: block;
    }
    .about > div > div {
        width: 100%;
    }
    .about > div > div:last-child {
        padding-top: 5rem;
    }
    .parallax {
        margin-bottom: 3rem;
    }
    .parallax img {
        width: 70%;
    }

    .message > div {
        display: block;
    }
    .message img {
        width: 100%;
        margin: 0;
    }
    .message > div > div {
        width: 100%;
    }

    .company {
        background-image: url(../img/company_back_sp.png);
        padding: 10rem 0;
    }
    .company table {
        width: 100%;
        border-spacing: 0;
    }
    .company table td:first-child {
        vertical-align: middle;
        padding: 2rem 1rem;
    }

    h3 {
        font-size: 2.0rem;
    }
    .service > div > div > img {
        width: 12%;
        margin-bottom: 1%;
    }
    .service > div > div > div {
        display: block;
        margin-bottom: 5rem;
    }
    .service .img {
        width: 100%;
        border-bottom: 1px solid;
        max-width: none;
    }
    .service .img img {
        padding: 3rem 2rem;
    }
    .service .txt {
        width: 100%;
        padding: 1rem 2rem;
    }

    .contact {
        background-image: url(../img/footer_back_sp.png);
    }
    .contact h2 {
        font-size: 4.0rem;
    }
    .contact a {
        padding: 1.5rem 1rem;
        max-width: 65px;
        display: block;
        margin-left: auto;
    }

    footer .flex {
        display: block;
    }
    footer .flex .address {
        width: 100%;
    }
    footer .flex .address > img {
        width: 60%;
    }
    footer .flex .menu {
        width: 100%;
        text-align: left;
    }
    footer .flex .menu ul {
        display: block;
        margin: 3rem 0;
        padding: 0;
    }
    footer .flex .menu ul li {
        margin-bottom: 1rem;
    }
    footer .flex .menu > a {
        margin-bottom: 3rem;
        display: inline-block;
    }
    footer .content > p {
        font-size: 1.0rem;
    }

    .contact_page main > p {
        margin: 5rem 2rem;
    }
    .contact_page form {
        margin: 5rem auto 10rem;
    }
    .contact_page dl {
        display: block;
        margin-bottom: 3rem;
    }
    .contact_page dt {
        width: 50%;
    }
    .contact_page dt .required {
        float: none;
        padding: 5px 10px;
        margin-left: 10px;
        font-size: 1.2rem;
    }
    .contact_page dd {
        margin: 0;
    }
    #form_submit input {
        width: 70%;
    }

    .thanks_page main > a {
        width: 70%;
    }

    .privacy_page main > p {
        padding: 5rem 2rem 0;
        text-align: left;
    }
    .privacy_page main div h2 {
        font-size: 2.0rem;
        line-height: 2.6rem;
    }
    .privacy_page main div p {
        margin-bottom: 5rem;
    }
}