@charset "UTF-8";

/* 
Theme Name: Whimsy Smartponsive
Author: Whimsy_Mimi
Version: 1.02
 */

:root {
    --title-color: #D9D9D9;
    --text-color: rgb(84, 84, 84);
    --bg-color: #FFFFFF;
    --frame-color: #B6B6B6;
    --pink-color: #FFEAEA;
    --blue-color: #8DADD0;
    --yellow-color: #FDF0AC;
    
    --en-font: "Cormorant Garamond", serif;
    --jp-font: "Montserrat", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    
    --ombre-color:linear-gradient(180deg,#8DADD0 0%,#E49AAC 47%,#FDF0AC 100%);
}



/* 全体 */
body {
    font-family: "Montserrat", "Cormorant Garamond", "Noto Sans JP", "Arial","Hiragino Kaku Gothic ProN",
    "Hiragino Sans", serif,sans-serif;
    width: 100vw;
    color: var(--text-color);
    line-height: 1.7;
    letter-spacing: 0.1em;
    font-size: 16px;
    font-feature-settings: "palt";
    min-height: 100vh;
    background-attachment: fixed;
    background-image: url(images/sky-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color:rgba(255,255,255,0.6);
    background-blend-mode:lighten;
}


main {
    position: relative;
    z-index: 1;
}

a {
    text-decoration: none;
}

.flex {
    display: flex;
}

.subtitle {
    font-size: 16px;
    margin-bottom: 10px;
}

/* 共通レイアウト */
section {
    width: 100%;
    max-width: 540px;
    padding: 0 20px;
    margin: 0 auto;
    background-color:rgba(255,255,255,0.5);
}

.section-inner {
    width: 82%;
    padding: 50px 0 60px;
    text-align: center;
    margin: 0 auto;
    position: relative;
}

.section-title {
    font-size: 50px;
    margin-bottom: 40px;
    color: var(--bg-color);
    font-family: var(--en-font);
}

#about .section-title,#works .section-title,#service .section-title,#contact .section-title {
    margin-bottom: 50px;
    position: absolute;
    top: 120px;
    transform: rotate(-90deg);
}

#about .section-title {
    left: -120px;
}
#works .section-title {
    left: -123px;
}
#service .section-title {
    left: -134px;
}
#contact .section-title {
    left: -157px;
}

.subtitle {
font-size: 14px;
}

.sp {
    display: block;
}

.sns-logo {
    width: 60px;
    height: 60px;
    padding: 15px;
    box-sizing: border-box;
}

/* MVメインビジュアル */
.mv {
    width: 100%;
    max-width: 540px;
    align-content: center;
    background-color:rgba(255,255,255,0.5);
    position: relative;
    margin: 0 auto;
}

.mv-inner {
    padding: 50px 0;
}

.logo {
    width: 55%;
    height: auto;
    margin: 0 auto;
    margin-bottom: 20px;
}

.clear-logo {
    width: 100%;
}

.frame {
    width: 50%;
    height: 250px;
    margin: 0 auto;
    position: relative;
}

.mv-folder {
    background-image: url(images/PCfolder.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 100%;    
    margin: 0 auto;
    background-position: top;
    position: relative;
}

.mv-folder:hover {
    background-image: url(images/PCfolder_hover.png);
}

.mv-cursor {
    position: absolute;
    bottom: 25%;
    transform: translateY(-50%);
    right: 40%;
    width: 50px;
    animation: slideIn 4s cubic-bezier(0.5, 1, 0.5, 1) forwards;
}

#cursor-icon {
    font-size: 40px;
    color: rgba(84, 84, 84, 0.7);
}

@keyframes slideIn {
    0% {
        transform: translateX(280px);
    }
    100% {
        transform: translateX(50px);

    }
}

.fixed-btn {
    position: fixed;
    right: 2px;
    top: 15vh;
    background: var(--text-color);
    text-align: center;
    color: #FFF;
    padding: 10px;
    border-radius: 20px;
    z-index: 2;
}

.fixed-btn p {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 13px;
    letter-spacing: 0.02em;
}
/* main */
/* ABOUT セクション */
#about .subtitle {
    font-size: 20px;
    margin-bottom: 30px;
}

.about-wrap {
    gap: 30px;
    justify-content: center;
    margin-bottom: 100px;
    flex-direction: column;
    width: 100%;
}

.about-left {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 20px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.whimsy-left {
    margin: 0 auto;
    width: 240px;
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    object-fit: cover;
}

.profile-box {
    font-family: var(--en-font);
    letter-spacing: 0;
    border-bottom: #545454 1px solid;
    border-top: #545454 1px solid;
    padding: 25px 0 30px 0;
    margin-bottom: 20px;
}

.profile-name {
    font-size: 26px;
    font-weight: 500;
}

.profile-text {
    font-size: 15px;
}

.about-right {
    width: 100%;
    max-width: 550px;
    font-size: 13px;
    line-height: 1.7;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 auto;
}

.whimsy-right {
    width: 100%;
    max-width: 550px;
    font-size: 13px;
    text-align: left;
    margin: 0 auto;
}

#about .sns-logo {
    background-color: rgba(84, 84, 84, 0.7);
    border-radius: 5px;
    width: 48px;
    height: 48px;
    padding: 8px;
}

#about .sns-logo:hover {
    background-color: rgba(84, 84, 84, 0.3);
}

.whimsy-definition {
    width: 100%;
    height: 100%;
    align-content: center;
    border: 1px solid #545454;
    padding: 30px 10px;
    background: var(--bg-color);
    box-shadow: 0px 4px 4px 1px rgba(0, 0, 0, 0.25);
    font-family: var(--en-font);
}

.whimsy {
    font-weight: 600;
    font-size: 26px;
}

.definition {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 499px) {
    .about-left {
        flex-direction: column;
    }
    .about-left img {
        width: 150px;
        height: 150px;
    }

    .profile-name {
        font-size: 22px;
    }
    
    .profile-text {
        font-size: 13px;
    }
}

/* WORKS セクション */

.explanation {
    font-size: 12px;
}

.section-caption {
    margin-bottom: 20px;
}

.works-wrap {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    padding-left: 0;
}

.each-folder-wrap {
    align-items: center;
    gap: 10px;
    overflow: hidden;
    justify-content: center;
}


.folder-content_wrap {
    display: flex;
    z-index: -1;
    margin-left: -50px;
    flex: 1;
}

.works-image {
    width: auto;
    height: auto;
    aspect-ratio: 1 / 1;
}

.folder-img-wrap {
    aspect-ratio: 6 / 4;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 200px;
    height: 160px;
    flex: 1;
}

.folder-img-wrap:hover {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.pink {
    background-image: url(images/PCsmall.svg);
}
.pink:hover {
    background-image: url(images/PCsmall_hover.svg);
}

.blue {
    background-image: url(images/PCsmall_blue.svg);
}
.blue:hover {
    background-image: url(images/PCsmall_blue-hover.svg);
}

.yellow {
    background-image: url(images/PCsmall_yellow.svg);
}
.yellow:hover {
    background-image: url(images/PCsmall_yellow-hover.svg);
}

.works-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    max-width: 125px;
}
/* SERVICE セクション */
.service-wrap {
    margin: 30px 0;
    gap: 30px;
    justify-content: center;
    flex-direction: column;
}
/* .service-wrap {
        width: 100%;
        margin: 30px auto;
    } */

.service-box {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    border: var(--frame-color) 2px solid;
    padding: 25px 15px;
    background-color: var(--bg-color);
}

.box-title {
    border-radius: 5px;
    padding: 0 8px;
    height: 28px;
    margin-bottom: 25px;
    font-size: 14px;
    align-content: flex-end;
}

.pink-bg {
    background-color: rgba(228, 154, 172, 0.5);
}
.blue-bg {
    background-color: rgba(141, 173, 208, 0.5);
}
.yellow-bg {
    background-color: rgba(253, 240, 172, 0.5);
}

.service-icon_wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
    gap: 10px;
}

.service-icon {
    width: 30px;
    height: 30px;
    padding: 5px;
    background-color: rgba(84, 84, 84, 0.7);
    border-radius: 5px;
}

.box-text {
    font-size: 12px;
    letter-spacing: normal;
    text-align: left;
    margin-bottom: 25px;
}

.price-box {
    font-size: 14px;
}

.bold {
    font-weight: bold;
    font-size: 12px;
}

.caution {
    font-size: 12px;
    margin-bottom: 30px;
    text-align: left;
    display: inline-block;
    justify-content: center;
}

.another-caution {
    font-size: 12px;
    margin-bottom: 20px;
}

.sky-bg {
    background-image: url(images/sky-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color:rgba(255,255,255,0.8);
    background-blend-mode:lighten;
    width: 100vw;
    height: 150px;
}
@media screen and (max-width: 979px) {
    


    .pink-bg {
        background-color: rgba(228, 154, 172, 0.5);
    }
    .blue-bg {
        background-color: rgba(141, 173, 208, 0.5);
    }
    .yellow-bg {
        background-color: rgba(253, 240, 172, 0.5);
    }

    .box-text {
        font-size: 12px;
        letter-spacing: normal;
        text-align: left;
        margin-bottom: 25px;
    }

    .price-box {
        font-size: 14px;
    }

    .bold {
        font-size: 11px;
        line-height: 1;
    }

    .caution {
        font-size: 12px;
        margin-bottom: 30px;
        text-align: left;
        display: inline-block;
        justify-content: center;
    }

    .another-caution {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .sky-bg {
        background-image: url(images/sky-bg.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-color:rgba(255,255,255,0.8);
        background-blend-mode:lighten;
        width: 100vw;
        height: 150px;
    }
}

/* CONTACTセクション */
.register {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    margin: 50px auto;
    text-align: left;
    border-radius: 6px;
    border: 1px solid #AAAAAA;
}

.label {
    font-size: 12px;
    line-height: 1.4;
}

.label-required {
    margin-left: 9px;
    font-size: 10px;
    color: var(--blue-color);
}

.label-wrap {
    display: block;
    font-size: 12px;
}

.item:last-of-type {
    margin-bottom: 50px;
}

#name,#email,#company,#media-option, textarea {
    border-radius: 6px;
    border: 1px solid #AAAAAA;
    width: 100%;
    height: 35px;
    padding-left: 10px;
}

#inquery {
    height: 200px;
}

textarea {
    padding: 10px;
}

textarea::placeholder {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.15;
    color: #8B8B8B;
}

button.btn-text {
    color: #FFF;
    font-size: 18px;
    text-align: center;
    background-color: var(--text-color);
    width: 100%;
    border-radius: 8px;
    padding: 12px;
}

.cf-turnstile {
    transform: scale(0.7);
    text-align: center;
}

.pagetop {
    display: none;
    position: fixed;
    width: 80px;
    height: 80px;
    border-radius: 50px;
    background-image: var(--ombre-color);
    bottom: 40px;
    right: 40px;
}
.pagetop a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #FFF;
    text-decoration: none;
}
.pagetop a:hover {
	filter:alpha(opacity=50);
    /* -moz-opacity: 0.5; */
    opacity: 0.5;
}

span.material-icons {
    font-size: 40px;
}

/* Footer */
footer {
    padding: 70px 20px;
    background-color:rgba(255,255,255,0.5);
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
}

.footer-inner {
    text-align: center;
}

.footer-logo {
    width: 200px;
    height: auto;
    margin-bottom: 10px;
}

.footer-pp {
    text-decoration: underline;
    font-size: 10px;
}

.copyright {
    line-height: 1.15;
    font-size: 10px;
    margin-top: 20px;
}

/* 子ページ WORK website */
.page-title {
    text-align: center;
}

.work-folder_wrap {
    gap: 20px;
    justify-content: center;
    margin: 0 auto 70px;
    align-items: center;
}

.mv-folder_small {
    width: 120px;
    height: 100px;
}

.folder-center {
    width: 200px;
    height: 160px;
}

.small_pink {
    background-image: url(images/PCsmall.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.small_pink:hover {
    background-image: url(images/PCsmall_hover.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

@media screen and (max-width: 599px) {
    .work-folder_wrap {
    gap: 10px;
    padding: 0 15px;
    }

    .mv-folder_small {
        width: 100px;
        height: 80px;
    }

    .folder-center {
        width: 150px;
        height: 120px;
    }

    .small_pink {
        width: 100px;
        height: 80px;
    }

    .small_pink:hover {
        width: 100px;
        height: 80px;
    }

    .folder-center {
        width: 100%;
        aspect-ratio: 5 / 4;
        max-width: 150px;
        height: 120px;
    }

    .mv-folder_small {
        width: 100%;
        aspect-ratio: 5 / 4;
        max-width: 100px;
        height: 80px;
    }
}

/* DETAILSセクション */
#details .section-inner {
    padding: 110px 0;
}

.details-wrap {
    flex-direction: column;
    gap: 100px;
}

.each-box {
    gap: 25px;
    align-items: center;
    flex-direction: column-reverse;
}

.work-img_wrap {
    width: 400px;
    height: 275px;
    border: var(--frame-color) 1px solid;
    border-radius: 50px;
}

.work-mockup {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50px;
}

.work-text_wrap {
    align-content: center;
    flex: 1;
}

.text-innerbox {
    text-align: left;
    display: inline-block;
    margin: 0 auto;
    min-width: 350px;
}

.link-btn {
    justify-content: center;
    background-color: var(--pink-color);
    padding: 14px 50px;
    margin-top: 30px;
    text-align: center;
    align-items: center;
    border-radius: 30px;
    position: relative;
    display: inline-flex;
}

.cursor-icon {
    position: absolute;
    right: -40px; /* 初期位置：ボタンの外（右） */
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: right 0.5s ease, opacity 0.5s ease;
}

.link-btn:hover {
    background-color: var(--blue-color);
    color: #FFF;
}

.link-btn:hover .cursor-icon {
    right: 10px;
    opacity: 1;
}

@media screen and (max-width: 979px) {
    .work-img_wrap {
        width: 100%;
        height: auto;
        border-radius: 30px;
    }

    .work-mockup {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 50px;
    }

    .text-innerbox {
        min-width: 100%;
    }

    .link-btn {
        justify-content: center;
        background-color: var(--pink-color);
        padding: 14px 50px;
        margin-top: 30px;
        text-align: center;
        align-items: center;
        border-radius: 30px;
        position: relative;
        display: inline-flex;
    }

    .cursor-icon {
        position: absolute;
        right: -40px; /* 初期位置：ボタンの外（右） */
        top: 50%;
        transform: translateY(-50%);
        opacity: 0;
        transition: right 0.5s ease, opacity 0.5s ease;
    }
}

/* 子ページ WORK design */
.small_blue {
    background-image: url(images/PCsmall_blue.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.small_blue:hover {
    background-image: url(images/PCsmall_blue-hover.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}


/* 子ページ WORK others */
.small_yellow {
    background-image: url(images/PCsmall_yellow.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.small_yellow:hover {
    background-image: url(images/PCsmall_yellow-hover.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}


/*=========================================
#modal
=========================================*/
.modal {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 100vh;
    transition: opacity .3s, visibility .3s;
}

.modal.is-active {
    visibility: visible;
    opacity: 1;
}

/* オーバーレイ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);
    cursor: pointer;
}

/* モーダルコンテンツ */
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 890px;
    width: 90%;
    background-color: #fff;
    border-radius: 8px;
}

.modal-content__inner {
    padding: 30px;
    position: relative;
}

.modal-content__img {
    width: 100%;
    height: auto;
}

/* 閉じるボタン */
.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 24px;
}


/* Privacy Policy ページ */
.privacy-policy {
    width: 100%;
    height: auto;
}

.privacy-policy .mv {
    height: 280px;
}

.policy-inner {
    text-align: left;
}

.policy-inner h1 {
    font-weight: bold;
    font-size: 24px;
}