/* reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================================
   common
   ======================================== */

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    padding-top: 5.25rem;
}

p {
    line-height: 170%;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem 1rem 2rem;
    background: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

header #header-nav-main {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
}

header #header-nav-main ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
}

header #header-nav-main ul li  {
    display: flex;
    flex-direction: row;
    align-items: center;
}

header #header-nav-main ul li a {
    text-decoration: none;
    color: #0154A6;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

header #header-nav-main ul li a:hover {
    filter: brightness(1.2);
}

header #header-nav-main ul li a:after {
    display: block;
    color: #8D8D8D;
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.3;
}

.nav-about:after {
    content: "about us";
}

.nav-service:after {
    content: "service";
}

.nav-company:after {
    content: "company";
}

header #header-nav-main ul li:not(:last-child)::after {
    content: " / ";
    color: #0154A6;
    font-size: 01rem;
    opacity: 0.3;
    margin: 0 1.2rem;
    font-weight: 300;
}

header #header-nav-sub {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
}

header #header-nav-sub ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    gap: 1.2rem;
}

header #header-nav-sub ul li.external-service {
    padding-left: 1.2rem;
    position: relative;
}

header #header-nav-sub ul li.external-service::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 1.2rem;
    background-color: #C2C2C2;
}

header #header-nav-sub ul li a {
    transition: all 0.3s ease;
}

header #header-nav-sub a:hover {
    filter: brightness(1.2);
}

header #header-nav-sub a.nav-contact {
    text-decoration: none;
    background-color: #0154A6;
    color: white;
    font-size: 1rem;
    font-weight: 400;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
}

header #header-nav-sub a.nav-contact:hover {
    filter: brightness(1.2);
}

header #header-nav-sub a.nav-contact::before {
    content: "";
    display: block;
    background: url('../images/icon_contact.svg') no-repeat center center;
    width: 1.2rem;
    height: 1.2rem;
}

/* ========================================
   main section
   ======================================== */

#main-visual {
    position: relative;
    background-color: #0154A6;
}

/* アスペクト比を維持した背景を作成 */
#main-visual:after {
    content: "";
    display: block;
    width: 100%;
    padding-top: 51%;
}

#main-visual h1 {
    position: absolute;
    top: 55%;
    left: 0;
    transform: translateY(-50%);
    width: 46%;
    text-align: left;
    z-index: 10;
}

#main-visual h1 img {
    width: 100%;
    height: auto;
}

#main-visual .mv-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Vegas.js スライドショーのスタイル調整 */
#vegas-slideshow {
    z-index: 1;
}

#main-visual h1 {
    z-index: 10;
}

/* ========================================
   about section
   ======================================== */

#about h2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: #0154A6;
}

#about h2::first-letter {
    font-size: 3.25rem;
}

#about h2::after {
    content: "about us";
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-size: 1.375rem;
    color: inherit;
    margin-left: 1.2rem;
}

#about h3 {
    display: inline-block;
    text-align: left;
    padding: 0.625rem 1rem;
    border: 0.0625rem solid #0154A6;
    font-weight: 700;
    font-size: 1.375rem;
    line-height: 100%;
    color: #0154A6;
    margin: 0 0 2rem 0;
    width: fit-content;
    position: relative;
}

#about h3:after {
    content: "";
    display: block;
    background-color: #0154A6;
    height: 1px;
    width: 1rem;
    position: absolute;
    right: -1rem;
    transform: translateX(100%);
    bottom: -1px;
}

#about .h3-section {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#about ul li {
    list-style: disc;
    margin-left: 2rem;
}

#about ul li::marker {
    color: #000;
}

#about ul li::marker {
    color: #000;
}

#about {
    background: url('../images/bg_about_pc.jpg') no-repeat center bottom;
    background-size: cover;
}

#about .about-inner {
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 6.25rem 0;
}

#about .about-list {
    margin-top: 0.5rem;
}

#about .about-list li {
    margin-top: 0.5rem;
}

#about .about-list li:last-child {
    margin-bottom: 2rem;
}

#about .about-img01, #about .about-img02 {
    width: 37%;
}


#about .about-content01 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 3.25rem;
    align-items: flex-start;
    margin-bottom: 3.25rem;
}

/* 左側のダミースペーサー */
#about .about-content01::before {
    content: "";
    display: block;
    width: 37%;
}

/* 左側の画像の強制絶対位置設定 */
#about .about-content01 .about-img01 {
    position: absolute;
    left: 0;
}

#about .about-content01-inner,#about .about-content02-inner {
    width: 58%;
    display: flex;
    flex-direction: column;
    gap: 3.25rem;
    justify-content: flex-start;
    align-items: flex-start;
}

#about .about-content02 {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 3.25rem;
    align-items: flex-start;
}

#about #special-message {
    margin-top: 60px;
    background: white;
    padding: 2.5rem;
    box-shadow: 0px 1px 14px rgba(88, 75, 210, 0.25);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

#about #special-message .special-message-profile {
    width: 24%;
}

#about #special-message .special-message-profile img {
    width: 100%;
}

#about #special-message .special-message-profile span {
    display: block;
    font-size: 1.2rem;
    color: #0154A6;
    font-weight: bold;
    margin-top: 0.2rem;
}

#about #special-message .special-message-content {
    width: 73%;
}

#about #special-message .special-message-content img {
    display: block;
    height: 3.6rem;
    width: auto;
    margin-bottom: 1rem;
}
    

/* ========================================
   service section
   ======================================== */

#service {
    background: url('../images/bg_service_pc.jpg') no-repeat center top;
    background-size: cover;
}

#service .service-inner {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 6.25rem 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 3.25rem;
}

#service ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    list-style: none;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 2rem;
}

#service ul li {
    width: 47%;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px 40px;
    box-shadow: 0px 1px 13px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    flex: 1;
}

#service h3 {
    font-size: 1.75rem;
    font-weight: bold;
    color: #0154A6;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#service h3 img {
width: 4rem;
   height: auto;
}

#service h3 + p {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    background: #fff;
    border-top: 1px solid #0154A6;
    border-bottom: 1px solid #0154A6;
    color: #0154A6;
    font-weight: bold;
}

#service .service-content-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#service .service-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
}

#service .service-content strong:first-child {
    min-height: 5em;
    display: flex;
    align-items: center;
}

#service .service-content span {
    color: #0154A6;
}

#service ul li a {
    display: block;
    background-color: #0154A6;
    color: white;
    padding: 18px 50px;
    border: none;
    cursor: pointer !important;
    font-size: 1.4rem;
    font-family: 'Noto Sans JP', sans-serif;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

#service ul li a:hover {
    background-color: #0056b3;
}

/* ========================================
   company section
   ======================================== */

#company {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 3.25rem;
}

#company h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0154A6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0rem;
    width: 100%;
}

#company h2::after {
    content: "company";
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-size: 1.375rem;
    color: #8EB4DA;
}

#company .company-inner {
    width: 50%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3.25rem;
}

#company::after {
    background: url('../images/img_company_pc.jpg') no-repeat center center;
    background-size: cover;
    display: block;
    content: "";
    width: 50%;
    padding-top: 50%;
}

#company dl {
    width: 70%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}

#company dl dt {
    font-size: 1rem;
    font-weight: bold;
    color: #0154A6;
    width: 30%;
    margin-bottom: 3rem;
}

#company dl dd {
    font-size: 1rem;
    color: #0154A6;
    width: 70%;
    margin-bottom: 3rem;
}

#company dl ul {
    margin-left: 1rem;
}

#company dl ul li {
    margin-bottom: 0.5rem;
}

/* ========================================
   contact section
   ======================================== */

#contact {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    background: url('../images/bg_contact_pc.jpg') no-repeat center center;
    background-size: cover;
    border: 41px solid white;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

#contact p {
    font-size: 1.5rem;
    color: #0154A6;
    font-weight: bold;
}

#contact a {
    background: #0154A6;
    color: white;
    padding: 1.4rem 3rem;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.4rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

#contact a:hover {
    filter: brightness(1.2);
}

#contact a::before {
    content: "";
    display: block;
    background: url('../images/icon_contact.svg') no-repeat center center;
    background-size: contain;
    width: 1.2em;
    height: 1.2em;
}

footer {
    background: white;
    padding: 1rem 0;
    text-decoration: none;
    font-weight: bold;
}

footer #footer-inner {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 50px;
}

footer .footer-content {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    position: relative;
}

footer .footer-content::before {
    position: absolute;
    left: 0;
    top: 0;
    content: "";
    display: block;
    width: 22px;
    height: 2px;
    background-color: #0154A6;
    transform: translateY(-3rem);
}

footer .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
}

footer .footer-nav li {
    list-style: none;
}

footer .footer-nav li a {
    text-decoration: none;
    color: #0154A6;
    font-weight: bold;
    list-style: none;
    transition: all 0.3s ease;
}

footer .footer-nav li a:hover {
    filter: brightness(1.4);
}

footer .footer-nav li a:after {
    content: "";
    display: block;
    color: #8D8D8D;
    opacity: 0.3;
    font-size: 12px;
}

footer .footer-nav li.footer-nav-about a:after {
    content: "about us";
}

footer .footer-nav li.footer-nav-service a:after {
    content: "service";
}

footer .footer-nav li.footer-nav-company a:after {
    content: "company";
}

footer .footer-nav li.footer-nav-contact a:after {
    content: "contact";
}

footer #footer-logo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
}

footer #footer-logo ul {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    list-style: none;
    justify-content: center;
    align-items: center;
}

footer #footer-logo ul li a {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    transition: all 0.3s ease;
}

footer #footer-logo ul li a:hover {
    filter: brightness(1.2);
}

footer #footer-logo ul li a img {
    width: 1.2rem;
    height: auto;
}

footer #footer-logo ul li.external-service {
    padding-left: 1rem;
    position: relative;
}

footer #footer-logo ul li.external-service::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 1.2rem;
    background-color: #C2C2C2;
}   

footer ul {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    list-style: none;
}

footer .footer-copyright {
    font-size: 12px;
    color: #0154A6;
    font-weight: bold;
    width: 100%;
    text-align: right;
}

/* ========================================
   back-to-top section
   ======================================== */

#back-to-top {
    position: fixed;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    bottom: 2rem;
    right: 0;
    display: none; /* 初期状態は非表示 */
    z-index: 100;
}

#back-to-top a {
    width: 4rem;
    height: 4rem;
    background: #0154A6;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

#back-to-top a:hover {
    filter: brightness(1.2);
}

/* デスクトップ・タブレット表示時のモバイルナビゲーション非表示 */
#btn-header-nav-mobile,
#header-nav-mobile {
    display: none;
}

/* ========================================
   responsive (tablet)
   ======================================== */

/* タブレット版の調整 */
@media screen and (max-width: 1130px) and (min-width: 769px) {

    header {
        justify-content: flex-end;
        gap: 2rem;
    }

    header #header-logo {
        position: absolute;
        left: 2rem;
        top: 50%;
        transform: translateY(-50%);
    }

    header #header-nav-main {
        position: static;
        transform: none;
    }

    header #header-nav-main ul {
        gap: 1rem;
    }

    header #header-nav-main ul li:not(:last-child)::after {
        display: none;
    }

    #about .about-inner {
        max-width: 900px;
        padding: 5rem 2rem;
    }
    
    #about .about-content01 {
        gap: 2.5rem;
    }
    
    #about .about-content01-inner,
    #about .about-content02-inner {
        width: 55%;
        gap: 2.5rem;
    }
    
    #about .about-img01,
    #about .about-img02 {
        width: 40%;
    }
    
    #about #special-message {
        padding: 2rem;
        gap: 2rem;
        justify-content: center;
    }
    
    #about #special-message .special-message-profile {
        width: 30%;
    }
    
    #about #special-message .special-message-content {
        width: 64%;
    }
    
    /* company section adjustments for tablet */
    #company {
        max-width: none;
        width: 100%;
        gap: 2.5rem;
    }
    
    #company .company-inner {
        width: 50%;
        gap: 2.5rem;
    }
    
    #company::after {
        width: 50%;
        padding-top: 50%;
    }
    
    #company dl {
        width: 80%;
    }
    
    #company dl dt {
        width: 35%;
        margin-bottom: 1rem;
    }
    
    #company dl dd {
        width: 65%;
        margin-bottom: 1rem;
    }
    
    /* service section adjustments for tablet */


    #service .section-title-service {
        width: 100%;
    }

    #service .section-title-service img {
        width: 100%;
    }  

    #service .service-inner {
        max-width: none;
        width: 100%;
        padding: 5rem 2rem;
        gap: 2.5rem;
    }
    
    #service ul {
        gap: 2rem;
    }
    
    #service ul li {
        width: 47%;
        padding: 3rem 2.5rem;
        gap: 1.5rem;
    }
    
    #service h3 {
        font-size: 1.5rem;
        gap: 0.8rem;
    }
    
    #service h3 img {
        width: 3.5rem;
    }
    
    #service h3 + p {
        padding: 1.5rem 0;
        font-size: 0.9rem;
    }
    
    #service .service-content {
        gap: 1.5rem;
    }
}

/* ========================================
   responsive (mobile)
   ======================================== */

/* スマートフォン版の背景設定 */
@media screen and (max-width: 768px) {
    html,body {
        font-size: 2.67vw !important; /* 1rem = 10px相当 (375px基準) */
    }

    body {
        padding-top: 5rem;
    }
    header {
        height: 5rem;
        padding: 0 0 0 1.4rem;
    }

    #header-nav-main {
        display: none;
    }

    header #header-nav-sub {
        height: 100%;
        gap: 0;
    }

    header #header-nav-sub ul {
        display: none;
    }

    header #header-nav-sub a.nav-contact {
        height: 100%;
        padding: 0 2rem;
        font-size: 1.2rem;
        gap: 0.8rem;
    }

    header #header-nav-sub a.nav-contact:before {
        background-size: 100% auto;
        width: 1.6rem;
        height: 1.6rem;
    }

    /* モバイルナビゲーションボタン */
    #btn-header-nav-mobile {
        display: block;
        position: relative;
        width: 5rem;
        height: 5rem;
        background: white;
        cursor: pointer;
        z-index: 200;
    }

    /* 2本線のハンバーガーメニュー */
    #btn-header-nav-mobile::before,
    #btn-header-nav-mobile::after {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 1.6rem;
        height: 0.2rem;
        background: #0154A6;
        transition: all 0.3s ease;
    }

    #btn-header-nav-mobile::before {
        top: 2rem;
    }

    #btn-header-nav-mobile::after {
        bottom: 2rem;
    }

    #btn-header-nav-mobile.active::before {
        top: 50%;
        transform: translateX(-50%) translateY(-50%) rotate(45deg);
    }

    #btn-header-nav-mobile.active::after {
        bottom: 50%;
        transform: translateX(-50%) translateY(50%) rotate(-45deg);
    }

    /* モバイルナビゲーション */
    #header-nav-mobile {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        z-index: 150;
        display: none;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    #header-nav-mobile.active {
        opacity: 1;
    }

    #header-nav-mobile-inner {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: white;
        padding: 4rem 3rem;
        border-radius: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        width: 80%;
        max-width: 30rem;
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
        transition: all 0.4s ease;
    }

    #header-nav-mobile.active #header-nav-mobile-inner {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    #header-nav-mobile-inner ul {
        list-style: none;
        margin-bottom: 3rem;
    }

    #header-nav-mobile-inner ul:last-child {
        margin-bottom: 0;
        display: flex;
        justify-content: center;
        gap: 2rem;
        align-items: center;
    }

    #header-nav-mobile-inner ul li {
        margin-bottom: 2rem;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    #header-nav-mobile.active #header-nav-mobile-inner ul li {
        opacity: 1;
        transform: translateY(0);
    }

    #header-nav-mobile.active #header-nav-mobile-inner ul li:nth-child(1) { transition-delay: 0.1s; }
    #header-nav-mobile.active #header-nav-mobile-inner ul li:nth-child(2) { transition-delay: 0.2s; }
    #header-nav-mobile.active #header-nav-mobile-inner ul li:nth-child(3) { transition-delay: 0.3s; }

    #header-nav-mobile-inner ul:last-child li {
        margin-bottom: 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    #header-nav-mobile.active #header-nav-mobile-inner ul:last-child li {
        opacity: 1;
        transform: translateY(0);
    }

    #header-nav-mobile.active #header-nav-mobile-inner ul:last-child li:nth-child(1) { transition-delay: 0.4s; }
    #header-nav-mobile.active #header-nav-mobile-inner ul:last-child li:nth-child(2) { transition-delay: 0.5s; }
    #header-nav-mobile.active #header-nav-mobile-inner ul:last-child li:nth-child(3) { transition-delay: 0.6s; }

    #header-nav-mobile-inner ul li a {
        color: #0154A6;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-size: 1.8rem;
        font-weight: bold;
        text-align: center;
        transition: all 0.3s ease;
    }

    #header-nav-mobile-inner ul li a::after {
        font-size: 1.2rem !important;
        font-weight: 400 !important;
    }

    #header-nav-mobile-inner ul li a:hover {
        color: #003d7a;
    }

    #header-nav-mobile-inner ul:last-child li a {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        transition: all 0.3s ease;
        background: none;
        border-radius: 0;
        width: auto;
        height: auto;
        padding: 0;
    }

    #header-nav-mobile-inner ul:last-child li a:hover {
        filter: brightness(1.2);
        transform: none;
    }

    #header-nav-mobile-inner ul:last-child li a img {
        width: 2rem;
        height: auto;
        filter: none;
    }

    #main-visual {
        width: 100vw;
        padding-top: 112%;
    }

    #main-visual h1 {
        width: 70%;
        bottom: 0;
        transform: none;
    }

    #about {
        background: url('../images/bg_about_sp.jpg') no-repeat center bottom;
        background-size: cover;
        padding: 6rem 2rem;
    }

    #about .section-title-about {
        font-size: 3.2rem;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    #about h2.section-title-about::first-letter {
        font-size: 4rem !important;
    }

    #about .section-title-about::after {
        font-size: 1.6rem;
        margin-left: 0;
    }

    #about .about-content01 {
        flex-direction: column;
        gap: 1rem;
    }

    #about .about-content01 .about-img01 {
        position: static;
        width: 65%;
    }

    #about .about-inner {
        width: 100%;
        padding: 0;
    }
    
    #about .about-content01-inner {
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    #about .about-content01-inner .h3-section {
        width: 100%;
    }

    #about .about-content01-inner .h3-section h3 {
        font-size: 1.6rem;
        padding: 0.5rem 0.8rem;
    }

    #about .about-content01-inner .h3-section h4 {
        font-size: 1.4rem;
    }

    #about .about-content01-inner .h3-section ul li {
        font-size: 1.4rem;
    }

    #about .about-content01-inner .h3-section p {
        font-size: 1.4rem;
    }

    #about .about-content02 {
        flex-direction: column;
        gap: 1rem;
        position: relative;
    }

    #about .about-content02-inner {
        width: 100%;
        padding-bottom: 7rem;
    }

    #about .about-content02 .about-img02 {
        position: absolute;
        width: 48%;
        bottom: 0;
        right: 0;
        transform: translateX(2rem)
    }

    #about .about-content02-inner .h3-section p {
        font-size: 1.4rem;
    }

    #about .about-content02-inner .h3-section ul li {
        font-size: 1.4rem;
    }

    #about .about-content02-inner .h3-section:nth-child(2) {
        width: 60%;
    }

    #about #special-message {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: -3rem;
        position: relative;
        z-index: 5;
        padding: 8rem 2rem 2rem;
    }

    #about #special-message .special-message-profile {
        width: 70%;
        font-size: 1.4rem;
        text-align: center;
    }
    
    #about #special-message .special-message-profile span {
        font-size: 2rem;
    }

    #about #special-message .special-message-content img {
        height: 2.4rem;
    }

    #about #special-message .special-message-content {
        width: 100%;
        font-size: 1.4rem;
    }

    #about #special-message .special-message-content h4 {
        width: 60%;
        position: absolute;
        top: 2rem;
        left: 2rem;
    }

    #about #special-message .special-message-content h4 img {
        width: 100%;
        height: auto;
    }
    
    #service {
        background: url('../images/bg_service_sp.jpg') no-repeat center top;
        background-size: auto 100%;
    }

    #service .section-title-service {
         width: 100%;
     }

    #service .service-inner {
        padding: 6rem 2rem;
    }

    #service h3 {
        font-size: 2rem;
    }

    #service .section-title-service img {
        width: 100%;
    }

    #service ul {
        flex-direction: column;
        gap: 2rem;
    }

    #service ul li {
        width: 100%;
        padding: 4rem 2rem;
        gap: 2rem;
    }

    #service h3 + p {
        font-size: 1.8rem;
    }

    #service .service-content {
        font-size: 1.4rem;
    }

    #service .service-content strong {
        font-size: 1.6rem;
    }

    #company {
        flex-direction: column;
        gap: 0;
    }

    #company .company-inner {
        width: 100%;
        padding: 6rem 2rem;
    }

    #company .section-title-company {
        font-size: 4rem;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    #company h2::after {
        font-size: 1.8rem;
    }

    #company dl {
        width: 100%;
    }

    #company dl dt {
        width: 100%;
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    #company dl dd {
        width: 100%;
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    #company dl dd ul {
        margin-left: 3rem;
    }

    #company:after {
        width: 100%;
        padding-top: 100%;
    }

    #contact {
        border: 1rem solid white;
        padding: 6rem 4rem;
    }

    #contact p {
        text-align: center;
    }

    #contact a {
        width: 100%;
        justify-content: center;
        font-size: 2rem;
        font-weight: 400;
    }

    footer {
        padding-top: 4rem;
    }

    footer .footer-content {
        justify-content: space-between;
    }

    footer #footer-inner {
        padding: 4rem 2rem;
    }

    footer #footer-logo {
        width: 40%;
        gap: 2rem;
    }

    footer #footer-logo> img {
        width: 100%;
    }

    footer #footer-logo ul {
        gap: 2rem;
    }
    
    footer #footer-logo ul li a img {
        width: 2rem;
    }

    footer #footer-logo ul li.external-service {
        padding-left: 2rem;
    }

    footer .footer-nav li a {
        font-size: 1.6rem;
    }

}
