body {
    background-color: #FBFBFB;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: "Zen Kaku Gothic New", sans-serif;
}

::selection {
    background-color: #EF5350;
    color: #FBFBFB;            
}


::-moz-selection {
    background-color: #EF5350;
    color: #FBFBFB;
}

.head-left img {
    overflow: visible !important;
    width: 53vw;
    height: auto;
}
.page-title {
    padding: 0 140px;
    margin-top: -130px;
}
.page-title h1 {
    font-size: 50px;
    font-weight: 500;
    margin-bottom: 100px;
}
.content {
    padding: 0 140px;
}
.content h2 {
    font-size: 30px;
    letter-spacing: 0.06em;
    font-weight: 500;
    margin: 0;
}
.section-title {
    width: fit-content;
    margin-bottom: 35px;
}
.under-line {
  margin-top: 2px;
  height: 1.5px;
  width: 100%;
  background-color: #EF5350;
  transform-origin: left center;
  transform: scaleX(0); 
  transition: transform 0.6s ease-out;
}

.under-line.is-active {
  transform: scaleX(1);
}
.content p {
    font-size: 20px;
    letter-spacing: 0.06em;
    line-height: 33px;
    margin: 0;
}
a {
    font-size: 20px;
    letter-spacing: 0.06em;
    line-height: 33px;
    color: #EF5350;
    text-decoration: underline;
    text-decoration-thickness: 6.5%;
    text-underline-offset: 19%;
    margin: 0;
}
.footer-all {
    position: relative;
    margin-top: 100px;
}
/* .foooter-back {
    position: absolute;
    z-index: -1;
} */
.foooter-back img {
    width: 100vw;
    height: auto;
}
footer a {
    text-decoration: none;
    color: #FBFBFB;
    font-size: 25px;
    letter-spacing: 0.06em;
}
.flex-box {
    position: absolute;
    top: 33%;
    right: 10%;
    display: flex;
    gap: 30px;
}
.flex-box-left,
.flex-box-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sns-icons {
    display: flex;
    gap: 35px;
    margin-top: 15px;
    align-items: center;
}
.menu-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 100;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.2, 0, 0.2, 1);
}


.menu-icon {
    width: 45px; 
    height: auto;
}

.menu-text {
    font-size: 16px;
    color: #222222;
    margin-top: 5px;
    font-weight: 500;
}

.menu-overlay {
    position: fixed;
    top: 0;
    right: 0;       
    width: 35vw;         
    min-width: 320px;    
    max-width: 450px;     
   height: 65vh;      
    min-height: 550px;   
    z-index: 101;
    background: transparent; 
    transform-origin: top right;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease; 
    display: flex;
    flex-direction: column;
    padding: 80px 40px 40px 40px;
    box-sizing: border-box;
}

.menu-bg-svg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: top right;    
    z-index: -1; 
    pointer-events: none; 
}

.menu-overlay.active {
    transform: scale(1);
    opacity: 1;
}

.menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #FBFBFB;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.close-icon-wrap {
    position: relative;
    width: 45px;
    height: 45px;
}

.close-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1.4px;
    background-color: #FBFBFB;
}

.close-line:nth-child(1) { transform: rotate(45deg); }
.close-line:nth-child(2) { transform: rotate(-45deg); }

.close-text {
    font-size: 16px;
    margin-top: 5px;
    font-weight: 300;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: auto 0;
    text-align: center;
    transform: translateX(30px);
}

.menu-list li {
    margin-bottom: 35px;
}

.menu-list a {
    color: #FBFBFB;
    text-decoration: none;
    font-size: 20px;
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease;
}
.p-space {
    height: 33px;
}
.menu-list a:hover {
    opacity: 0.7;
}
.sp {
    display: none;
}
@media (min-width: 767px) and (max-width: 1024px) {
.head-left img {
    overflow: visible !important;
    width: 90vw;
    height: auto;
}
.page-title {
    padding: 0 60px;
    margin-top: -90px;
}
.page-title h1 {
    font-size: 35px;
    font-weight: 500;
    margin-bottom: 60px;
}
.content {
    padding: 0 60px;
}
.content h2 {
    font-size: 23px;
}
.content p {
    font-size: 16px;
    letter-spacing: 0.03em;
    line-height: 26px;
}
.p-space {
    height: 18px;
}
a {
    font-size: 16px;
    letter-spacing: 0.03em;
    line-height: 26px;
    text-decoration-thickness: 6.5%;
    text-underline-offset: 19%;
}
.p-space {
    height: 20px;
}
.flex-box {
    width: 100%;
    left: 0;
    top: 25%; /* お好みの高さに合わせてください */
    padding-left: 55%; /* ★ 左側に50%の余白を作り、文字全体を右に押し出す */
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start; /* ★ ここを flex-start（左揃え）に戻す */
    gap: 45px;
}

.flex-box-left,
.flex-box-right {
    display: contents; 
}
.flex-box-left > a,
.flex-box-right > a {
    font-size: 20px; 
}
    .flex-box-left > a:nth-of-type(1) { order: 1; }
    .flex-box-right > a:nth-of-type(1) { order: 2; }
    .flex-box-left > a:nth-of-type(2) { order: 3; }
    .flex-box-right > a:nth-of-type(2) { order: 4; }
    .sns-icons {
        position: absolute;
        left: 17%;
        bottom: 0%;
        margin-top: 0;
    }
.sns-icons img {
    height: 30px;
}
.menu-overlay {
        width: 55vw;         
        min-width: 450px;   
        max-width: 600px;
        
        height: 60vh;
        min-height: 500px;  
    }

    .menu-list {
        transform: translateX(32px); 
    }
.sp {
    display: block;
}
.pc {
    display: none;
}
}
@media (max-width: 767px) {
    .head-left img {
    overflow: visible !important;
    width: 90vw;
    height: auto;
}
.page-title {
    padding: 0 30px;
    margin-top: -60px;
}
.page-title h1 {
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 60px;
}
.content {
    padding: 0 30px;
}
.content h2 {
    font-size: 17px;
}
.content p {
    font-size: 14px;
    letter-spacing: 0.03em;
    line-height: 26px;
}
a {
    font-size: 14px;
    letter-spacing: 0.03em;
    line-height: 26px;
    text-decoration-thickness: 6.5%;
    text-underline-offset: 19%;
}
.flex-box {
    width: 100%;
    left: 0;
    top: 25%;
    padding-left: 55%;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.flex-box-left,
.flex-box-right {
    display: contents; 
}
.flex-box-left > a,
.flex-box-right > a {
    font-size: 14px; 
}
    .flex-box-left > a:nth-of-type(1) { order: 1; }
    .flex-box-right > a:nth-of-type(1) { order: 2; }
    .flex-box-left > a:nth-of-type(2) { order: 3; }
    .flex-box-right > a:nth-of-type(2) { order: 4; }
    .sns-icons {
        position: absolute;
        left: 14%;
        bottom: 0;
        margin-top: 0;
        gap: 25px;
    }
.sns-icons img {
    height: 20px;
}
.menu-btn {
        top: 15px;
        right: 15px;
    }
    
    .menu-icon {
        width: 35px;
    }
    
    .menu-text {
        font-size: 12px;
    }

    .menu-overlay {
        width: 280px;       
        min-width: unset;    
        max-width: 90vw;     
        height: 380px;      
        min-height: unset; 
        
        padding: 60px 15px 20px 15px; 
    }

    .menu-close {
        top: 15px;
        right: 15px;
    }
    
    .close-icon-wrap {
        width: 30px;
        height: 30px;
    }
    
    .close-text {
        font-size: 12px;
    }

    .menu-list {
        transform: translateX(22px); 
    }
    
    .menu-list li {
        margin-bottom: 20px; 
    }
    
    .menu-list a {
        font-size: 16px;     
    }
    .p-space {
    height: 18px;
}
.sp {
    display: block;
}
.pc {
    display: none;
}
}