* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Noto Sans JP', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url(./img/pc_bg.webp) no-repeat bottom center / cover fixed;
    position: relative;
}
img {
    width: 100%;
    height: auto;
}

/*---------------- 
leftBox 
----------------*/
.leftBox {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 274px;
    height: 306px;
    z-index: 10;
}

@media (min-width: 753px) {
    .leftBox {
        left: calc((100vw - 375px) / 4 - 137px);
    }
}

@media (max-width: 1024px) {
    .leftBox {
        width: 220px;
        left: calc((100vw - 375px) / 4 - 110px);
    }
}

@media (max-width: 752px) {
    .leftBox {
        display: none;
    }
}

/*---------------- 
rightBox 
----------------*/
.rightBox {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 247px;
    z-index: 10;
}

#image-typewriter {
    display: inline-block;
    max-height: 183px;
}
#image-typewriter > div {
    display: flex;
    align-items: center;
    white-space: nowrap;
    background: #000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 8px;
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease;
    height: 53px;
}
#image-typewriter #images03 {
    display: block !important;
    height: 53px !important;
    overflow-x: auto; /* 横スクロール有効 */
    overflow-y: hidden; /* 縦スクロール無効 */
    white-space: nowrap;
    line-height: 53px;
    /* スクロールバーを隠す（オプション） */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}
#image-typewriter #images03::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}
#image-typewriter #images03 img {
    height: 53px !important;
    width: auto;
    display: inline-block; /* 横並びにする */
    vertical-align: middle; /* 縦方向の中央揃え */
    margin: 0 2px;
}
#image-typewriter #images03 .cursor {
    display: inline-block;
    vertical-align: middle;
    line-height: 53px;
}
.image-typewriter img {
    width: auto;
    height: 53px;
    object-fit: contain;
    vertical-align: middle;
    margin: 0 2px;
}
.cursor {
    width: 2px;
    height: 40px;
    background-color: white;
    margin-left: 4px;
    animation: blink 1s infinite;
}
@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}

.rightBox .navBox {
    list-style: none;
    background: #fff;
    border-radius: 24px;
    margin: 2rem 0;
    padding: 20px 16px;
}

.rightBox .navBox a {
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: center;
    color: #3C4090;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 0;
    border-top: 1px dashed #3C4090;
}

.rightBox .navBox a:hover {
    color: #E73278;
}

.rightBox .navBox img {
    width: 50%;
    margin: 0 auto;
    display: block;
    margin-bottom: 12px;
}

.rightBox .hover-image {
    position: relative;
    display: block;
    width: 90%;
}

@keyframes rotateClockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.rightBox .hover-image .bg {
    display: block;
    position: relative;
    z-index: 0;
    animation: rotateClockwise 50s linear infinite;
    transform-origin: center center;
}

.rightBox .hover-image .img03 {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%);
    width: 149px;
    height: 133px;
    transition: opacity 0.3s ease;
}

.rightBox .hover-image .img03_hover {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%);
    width: 149px;
    height: 133px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rightBox .hover-image:hover .img03 {
    opacity: 0;
}

.rightBox .hover-image:hover .img03_hover {
    opacity: 1;
}

@media (min-width: 1440px) {
    .rightBox {
        right: calc((100vw - 375px) / 4 - 60px);
    }
}

@media (max-width: 1439px) {
    .rightBox {
        right: calc((100vw - 375px) / 4 - 130px);
    }
}

@media (max-width: 1024px) {
    .rightBox {
        width: 247px;
    }
}

@media (max-width: 752px) {
    .rightBox {
        display: none;
    }
}

/*---------------- 
contents 
----------------*/
.contents {
    width: 375px;
    margin: 0 auto;
    min-height: 100vh;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.16);
    position: relative;
    z-index: 1;
    background-color: #fff;
}

.inner {
    padding: 0 15px;
}

@media (max-width: 752px) {
    .contents {
        width: 100%;
        box-shadow: none;
        overflow: hidden;
    }
}

/*---------------- 
header 
----------------*/
header {
    background: #fff;
    margin: 6px 0 0 20px;
}

header {
    max-width: 184px;
}

/*---------------- 
fv 
----------------*/
.fv {
    background: url(./img/fv_bg.png) no-repeat bottom center / cover;
    padding: 0 0 2rem 0;
}

.fv .img01 {
    width: 103%;
    position: relative;
    top: -15px;
    left: -10px;
}

.fv .contBox {
    position: relative;
}

.fv .contBox .txt {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 16%;
    color: #3C4090;
    font-weight: bold;
    line-height: 24px;
}

.fv .contBox .txt .p01 {
    margin-bottom: 4px;
}

.fv .contBox .txt .red {
    color: #F30A65;
}

.fv .contBox .txt p.red {
    font-size: 34px;
    padding: 6px 0;
}

.fv .contBox .txt .img03 {
    width: 40px;
    margin-top: 8px;
}

@media (max-width: 752px) {
    .fv .contBox .txt {
        font-weight: bold;
        line-height: 40px;
        font-size: 25px;
        letter-spacing: 5px;
    }
    .fv .contBox .txt p.red {
        font-size: 4rem;
        padding: 1.8rem 0;
    }
    .fv .contBox .txt .img03 {
        width: 10%;
        margin-top: 1.5rem;
    }
}

@media (max-width: 645px) {
    .fv .contBox .txt {
        line-height: 30px;
        font-size: 20px;
    }
}

@media (max-width: 550px) {
    .fv .contBox .txt {
        line-height: 21px;
        font-size: 16px;
    }
    .fv .contBox .txt .img03 {
        margin-top: 1.2rem;
    }
}

@media (max-width: 445px) {
    .fv .contBox .txt {
        line-height: 19px;
        letter-spacing: 3px;
        font-size: 14px;
    }
    .fv .contBox .txt p.red {
        font-size: 3rem;
        padding: 1.5rem 0;
    }
    .fv .contBox .txt .img03 {
        margin-top: 1rem;
    }
}

@media (max-width: 375px) {
    .fv .contBox .txt {
        top: 20%;
        line-height: 14px;
        font-size: 12px;
        letter-spacing: 3px;
    }
    .fv .contBox .txt p.red {
        font-size: 2.5rem;
        padding: 1.2rem 0;
    }
}

/*---------------- 
sec01
----------------*/
#sec01 {
    background: url(./img/sec01_bg.png) repeat center / contain;
    padding: 0 0 1rem 0;
}
#sec01 .topBox {
    position: relative;
}
#sec01 .topBox::before {
    position: absolute;
}
#sec01 .topBox::after {
    content: "";
    position: absolute;
    background: url(./sec01_txt02.png) no-repeat center / contain;
    top: 20px;
    right: 0;
    width: 20px;
    height: 100px;
}
#sec01 .topBox .txt01 {
    position: absolute;
    width: 90%;
    top: 33px;
    left: 5%;
}
.sec01-txt01-zoom {
    opacity: 0;
    transform: scale(1.5) translateY(-30px) translateZ(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), 
                transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.sec01-txt01-zoom.show {
    opacity: 1;
    transform: scale(1) translateY(0) translateZ(0);
}
#sec01 .topBox .txt02 {
    position: absolute;
    bottom: -95px;
    right: 15px;
    width: 23%;
}
#sec01 .topBox .sec01_ttl {
    position: absolute;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
}
#sec01 .ttlBox {
    margin-top: -100px;
    position: relative;
}
#sec01 .ttlBox p {
    width: fit-content;
    background: #fff;
    margin-bottom: 6px;
    font-weight: bold;
    padding: 4px 12px;
    color: #333333;
}
#sec01 .ttlBox p.p01 {
    font-size: 18px;
}
#sec01 .ttlBox p.p02 {
    font-size: 33px;
}
#sec01 .ttlBox p.p03 {
    font-size: 14px;
}
#sec01 .txtBox p {
    color: #fff;
}
#sec01 .txtBox .txt03 {
    width: 45%;
    margin: 4px 0 .8rem 0;
}
#sec01 .imgBox {
    background: #fff;
    margin-top: 40px;
}
#sec01 .imgBox p {
    padding: 0 2rem 0 2rem;
    margin: -16px 0 0 0;
    font-size: 13px;
    color: #333333;
    letter-spacing: 1px;
    line-height: 20px;
}
#sec01 .imgBox img {
    display: block;
}
#sec01 .imgBox .img03 {
    width: 90%;
    margin: 0 auto;
    position: relative;
    top: -25px;
}
#sec01 .imgBox .img04 {
    width: 95%;
    margin: 0 0 0 auto;
    position: relative;
    right: -12px;
}

@media screen and (375px <= width <= 752px) {
    #sec01 .imgBox p,
    #sec01 .txtBox p {
        font-size: 1rem;
    }
}

@media screen and (550px <= width <= 752px) {
    #sec01 .ttlBox p.p01,
    #sec01 .ttlBox p.p03 {
        font-size: 1.5rem;
    }
    #sec01 .ttlBox p.p02 {
        font-size: 3rem;
    }
    #sec01 .topBox .sec01_ttl {
        top: -8rem;
    }
}
@media screen and (375px <= width <= 550px) {
    #sec01 .ttlBox p.p01,
    #sec01 .ttlBox p.p03 {
        font-size: 1rem;
    }
    #sec01 .ttlBox p.p02 {
        font-size: 2rem;
    }
    #sec01 .topBox .sec01_ttl {
        top: -6rem;
    }
}

/*---------------- 
sec02
----------------*/
#sec02 {
    background: url(./img/sec02_bg.png) no-repeat center / cover;
    position: relative; 
    padding: 1rem 0 2rem 0;
}
#sec02::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    background: url(./img/sec02_line01.png) no-repeat left center / contain;
    z-index: 1; 
}
#sec02::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    background: url(./img/sec02_line02.png) no-repeat right center / contain;
    z-index: 1;
}
/* sec02 画像フェードインアニメーション */
.sec02-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.sec02-fade.show {
    opacity: 1;
    transform: translateY(0);
}
#sec02 .wrap {
    padding: 0 3rem;
}
#sec02 .ttl {
    width: 70%;
    margin: 0 auto;
    display: block;
}
#sec02 .txtBox {
    background: url(./img/sec02_txtBg.png) no-repeat center / cover;
    mix-blend-mode: multiply;
    text-align: center;
    color: #3C4090;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 1.5rem;
}
#sec02 .txtBox .txt01 {
    margin-bottom: 8px;
}
#sec02 .txtBox .txt02 p {
    width: fit-content;
    margin: 0 auto;
    background: #3C4090;
    padding: 1px 6px 3px 6px;
    color: #fff;
    margin-bottom: 6px;
}
#sec02 .txtBox .txt03 {
    margin-top: 2px;
    font-size: 12px;
    font-weight: normal;
}
#sec02 .txtBox img {
    width: 80%;
    margin-bottom: -40px;
}
#sec02 .imgBox img {
    position: relative;
    right: -10px;
}

@media screen and (550px <= width <= 752px) {
    #sec02 .txtBox .txt01,
    #sec02 .txtBox .txt02 {
        font-size: 1.5rem;
    }
    #sec02 .txtBox .txt03 {
        font-size: 1rem;
    }
}
@media screen and (476px <= width <= 550px) {
    #sec02 .txtBox .txt01,
    #sec02 .txtBox .txt02 {
        font-size: 1.2rem;
    }
    #sec02 .txtBox .txt03 {
        font-size: 1rem;
    }
}
@media screen and (375px <= width <= 476px) {
    #sec02 .txtBox .txt01,
    #sec02 .txtBox .txt02 {
        font-size: .8rem;
    }
    #sec02 .txtBox .txt03 {
        font-size: .7rem;
    }
}

/*---------------- 
sec03
----------------*/
/* sec03 画像ふわっとフェードインアニメーション */
.sec03-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.sec03-fade.show {
    opacity: 1;
    transform: translateY(0);
}
/* sec03 疑似要素（before/after）のふわっとアニメーション */
#sec03 .image-container::before {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.0s ease-out, transform 1.0s ease-out;
}
#sec03 .image-container::after {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.0s ease-out, transform 1.0s ease-out;
}
#sec03 .image-container.show-before::before {
    opacity: 1;
    transform: translateY(0);
}
#sec03 .image-container.show-after::after {
    opacity: 1;
    transform: translateY(0);
}
#sec03 .ttl {
    width: 70%;
    margin: 0 auto;
    display: block;
}
#sec03 .txt01 {
    position: relative;
    bottom: -25px;
    margin-top: -35px;
    z-index: 1;
}
#sec03 .image-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 20px 60px 20px;
    background: url(./img/sec03_bg.png) no-repeat center / cover;
    position: relative;
}

#sec03 .image-container::before {
    position: absolute;
    content: "";
    background: url(./img/sec03_txt02.png) no-repeat center / contain;
    width: 60%;
    height: 9%;
    top: 20px;
    left: 20px;
    z-index: 1;
}
#sec03 .image-container::after {
    position: absolute;
    content: "";
    background: url(./img/sec03_txt03.png) no-repeat center / contain;
    width: 43%;
    height: 8%;
    bottom: 40px;
    right: 30px;
    z-index: 1;
}

#sec03 .left-column {
    transform: translateY(26px);
}

#sec03 .column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#sec03 .image-container img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 1.0s ease;
}

/*---------------- 
sec04
----------------*/
#sec04 .inner {
    position: relative;
}

#sec04 .img01 {
    position: relative;
    top: -15px;
    z-index: 2;
}

#sec04 .hover-image {
    position: relative;
    display: block;
    width: 90%;
    margin: 0 auto;
}

#sec04 .hover-image .bg {
    display: block;
    position: relative;
    z-index: 0;
    margin-top: -40px;
    animation: rotateClockwise 50s linear infinite;
    transform-origin: center center;
}

#sec04 .hover-image .img03 {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%);
    width: 209px;
    height: 178px;
    transition: opacity 0.3s ease;
}

#sec04 .hover-image .img03_hover {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%);
    width: 209px;
    height: 178px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#sec04 .hover-image:hover .img03 {
    opacity: 0;
}

#sec04 .hover-image:hover .img03_hover {
    opacity: 1;
}


@media screen and (550px <= width <= 752px) {
    #sec04 .hover-image .img03,
    #sec04 .hover-image .img03_hover {
        width: 389px;
        height: 328px;
    }
}
@media screen and (450px <= width <= 550px) {
    #sec04 .hover-image .img03,
    #sec04 .hover-image .img03_hover {
        width: 309px;
        height: 278px;
    }
}
@media screen and (375px <= width <= 460px) {
    #sec04 .hover-image .img03,
    #sec04 .hover-image .img03_hover {
        width: 209px;
        height: 178px;
    }
}

/*---------------- 
footer 
----------------*/
footer {
    background: url(./img/footer_bg.png) no-repeat top center / cover;
    padding: 4.5rem 0 20px 0;
    text-align: center;
    margin-top: -40px;
}

footer .footer-img {
    margin-bottom: 20px;
}

footer .fLogo {
    display: block;
    background: #fff;
    padding: 4px 3rem 0 3rem;
    border-radius: 30px;
    width: fit-content;
    margin: 0 auto;
    transition: transform .6s ease;
}

footer .fLogo:hover {
    transform: scale(1.05);
}

footer .footer-logo {
    width: 164px;
    height: auto;
}

footer .copy {
    font-size: 9px;
    font-weight: bold;
    margin-top: 10px;
    color: #fff;
}