:root {
    --basic-primary-color : #b5e1ff;
    --basic-secondary-color : #e7f5ff;
    --standard-primary-color : #ded4ff;
    --standard-secondary-color : #f2efff;
    --premium-primary-color : #ffe5b4;
    --premium-secondary-color : #fff7e8;
    --text-base-color : #122637;
    --primary-color: #006FCE;
    --accent-primary-color : #fcff38;
    --accent-secondary-color: #feffd1;
}

* {
    margin:0;
    padding: 0;
}

body {
  font-family: 'Lato', 'Noto Sans JP', -apple-system, BlinkMacSystemFont,
    'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  color: var(--text-base-color);
  font-weight: 400;
  font-size: 16px;
  /* 文字のにじみ、ガビガビ感対策 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  text-decoration: none;
}

@keyframes slideUp {
    0% {
    transform: translateY(180px);
    opacity: 0;
  }
  30% {
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideIn {
    0% {
    transform: translateX(180px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
  }
  40%,100% {
    opacity: 1;
  }
}

@keyframes trigger {
    to { --animate: true; }
}


/* SP向け */
.pc-only {
    display: none;
}
.sp-only {
    display: block;
}
.first_view_wrapper {
    width: 100%;
    height: 90dvh;
    min-height: 550px;
    display: grid;
    place-items: center;
    background: center / cover no-repeat url("images/first_view_background_sp.svg");
    background-color: var(--primary-color);
}
.first_view_content_wrapper {
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideUp 1.5s forwards;
}
.first_view_left_content_wrapper {
    display: grid;
    gap: 24px;
    align-content: space-between;
}
.main_heading_wrapper {
    display: grid;
    justify-items: center;
    color: #ffffff;
}
.main_heading_wrapper .main_heading {
    font-size: 36px;
    font-weight: 900;
    white-space: nowrap;
    text-align: center;
}
.main_heading_wrapper .main_heading span {
    font-size: 64px;
}
.line {
    width: 100%;
    height: 4px;
    background-color: var(--accent-primary-color);
}
.first_view_button_wrapper{
    display: grid;
    justify-items: center;
    gap: 12px;
}
.first_view_button_wrapper > p {
    color: #ffffff;
}
.first_view_button_wrapper > p > span {
    font-size: 32px;
    font-weight: 700;
    vertical-align: -1px;
}
.sign_up_button {
    all:unset;
    width: 332px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 50px;
    background-color: var(--accent-primary-color);
    color: var(--text-base-color);
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: 
        background-color 0.4s ease,
        color 0.4s ease,
        width 0.4s ease;
}
.sign_up_button path {
    transition: stroke 0.4s ease;
}
.sign_up_button > svg {
    position: absolute;
    right: 30px;
}
.sign_up_button:hover {
    background-color: #fdff71;
    color: #122637a2;
}
.sign_up_button:hover path {
    stroke: #122637a2;
}

.introduction_wrapper{
    width: 100%;
    display: grid;
    gap: 64px;
    justify-items: center;
    padding: 60px 0;
    background: linear-gradient(#EFF7FF, #E6F3FF);
    animation: trigger steps(1) forwards;
    animation-timeline: view();
    animation-range: cover 20% cover 30%;
}
.introduction_heading {
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}
.introduction_content {
    max-width: 768px;
    margin:auto;
    display: grid;
    gap:20px;
    justify-content: center;
    align-items: center;
    justify-items: center;
    padding: 0 24px;
}
.introduction_cases {
    display: grid;
    height: 100%;
    align-content: center;
    gap: 16px;
}
.introduction_cases p {
    width: 90%;
    padding: 15px 20px;
    border-radius: 100px;
    background-color: #ffffff;
    font-weight: 700;
    text-align: center;
}
.introduction_cases span {
    color: var(--primary-color);
}
.introduction_content img {
    max-width: 80dvw;
}

@container style(--animate: true) {
    .member_service_wrapper {
        animation: slideUp 1s forwards;
    }
}
.member_service_wrapper {
    display: flex;
    flex-flow: column;
    align-items: center;
}
.member_service_wrapper > div {
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 150px;
    background-color: #ffffff;
    box-shadow: 16px 16px 16px #1B84DE33;
    text-align: center;
    font-size: 20px;
    font-weight: 900;
}
.member_service_wrapper > div span {
    font-size: 32px;
}
.member_service_wrapper img {
    max-width: 70vw;
    border-radius: 24px;
    box-shadow: 16px 16px 16px #CCEBFF;
    transition: opacity 0.4s ease;
}
.member_service_wrapper img:hover {
    opacity: 80%;
}

.feature_list_wrapper {
    width: 100%;
    display: grid;
    gap: 16px;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
}
.feature_heading_wrapper {
    position: relative;
    width: fit-content;
    height: fit-content;
    margin: 0 auto;
    
}
.feature_heading_wrapper h1{
    position: absolute;
    top: 20%;
    left: 7%;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}
.feature_list {
    max-width: 768px;
    display: grid;
    gap: 16px;
    padding: 0 24px;
}
.feature_card {
    display: grid;
    gap: 16px;
    align-content: center;
    padding: 24px 0;
    border-radius: 8px;
    background-color: #EFF7FF;
    box-shadow: 0 0 8px #CCEBFF4D;
}
.feature_decoration {
    padding: 10px;
    justify-self: end;
    font-size: 12px;
    font-weight: 400;
}
.feature_content_wrapper {
    max-width: 310px;
    height: 100%;
    display: grid;
    gap: 24px;
    justify-self: center;
    align-content: space-between;
    padding: 0 24px;
    line-height: 2;
}
.feature_content_wrapper > div {
    min-height: 120px;
}
.feature_content_wrapper h2 {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary-color);
}
.feature_content_wrapper p {
    font-size: 14px;
}
.feature_content_wrapper svg{
    justify-self: center;
}

.plan_list_wrapper {
    width: 100%;
    display: grid;
    gap: 46px;
    padding: 80px 0;
    justify-items: center;
    background-color: #EFF7FF;
}
.plan_list_wrapper h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}
.plan_list_wrapper h2 span {
    font-size: 48px;
    vertical-align: -2px;
}
.plan_list {
    display: grid;
    gap: 16px;
    padding: 0 24px;
}
.plan_card {
    padding: 30px 20px;
    display: grid;
    gap: 16px;
    justify-items: center;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 0 8px #CCEBFF;
}
.plan_title {
    display: grid;
    gap: 4px;
    justify-items: center;
}
.plan_title p {
    font-size: 14px;
    text-align: center;
}
.plan_title h3 {
    font-size: 24px;
    font-weight: 900;
}
.plan_title div {
    width: 200px;
    height: 8px;
}
.plan_price {
    font-size: 24px;
    font-weight: 900;
}
.plan_price span {
    font-size: 48px;
    vertical-align: -2px;
}
.plan_feature_list {
    height: 294px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 12px;
}
.plan_feature_list > div {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}


.step_list_wrapper {
    display: grid;
    gap: 30px;
    justify-items: center;
    padding: 80px 0;
    background-color: #D0E8FF;
}
.step_list_heading_wrapper {
    position: relative;
}
.step_list_heading_wrapper h2 {
    position: absolute;
    top: -3%;
    left: 14%;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    text-align: center;
}
.step_list_heading_wrapper h2 span {
    font-size: 48px;
    vertical-align: -2px;
}
.step_list {
    display: grid;
    gap: 24px;
    padding: 0 24px;
}
.step_card {
    display: grid;
    gap: 12px;
    background-color: #E5F3FF;
    border-radius: 16px;
    box-shadow: 0 0 8px #D0E8FF;
}
.step_card .step {
    display: grid;
    gap: 8px;
    justify-items: center;
    padding: 20px 30px;
    border-radius: 16px;
    background-color: #ffffff;
}
.step_card .step_number {
    color: var(--primary-color);
    font-size: 48px;
    font-weight: 900;
}
.step_card .step_title {
    font-size: 24px;
    font-weight: 700;
}

.step_card .step_plan_list {
    display: grid;
    justify-items: center;
    border-radius: 16px;
    background-color: #ffffff;
}
.step_plan_list > p {
    color: var(--primary-color);
    font-weight: 700;
}
.step_card .step_plan {
    display: grid;
    gap: 4px;
    justify-items: center;
    padding: 20px 30px;
}
.step_card .step_plan > div {
    width: 128px;
    height: 11px;
}
.step_plan_title, .step_plan_price {
    font-size: 20px;
    font-weight: 700;
}

.sign_up_button_wrapper {
    display: grid;
    gap: 24px;
    justify-items: center;
    padding: 160px 0;
    background: linear-gradient(0.25turn, var(--primary-color), #3993E1);
}
.sign_up_button_wrapper > p {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.other_contents_wrapper {
    background-color: #EFF7FF;
}
.detail_list_wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 64px;
    padding: 80px 0;
    background-color: #ffffff;
}
.detail_list {
    display: grid;
    gap: 24px;
    justify-items: center;
}
.detail_list h3 {
    font-size: 14px;
}
.detail_title {
    display: grid;
    gap: 8px;
    justify-items: center;
}
.accordion_menu_wrapper {
    display: grid;
    gap: 24px;
    padding: 0 24px;
}
.accordion_menu {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 12px #E5F3FF;
    transition: box-shadow 0.4s ease;
}
.accordion_menu:hover {
    box-shadow: 0 0 12px #c2e2ff;
}
.accordion_title {
    width: 100%;
    min-height: 40px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 20px;
}
.accordion_title > div {
    display: flex;
    gap: 16px;
    align-items: center;
}
.accordion_title .question_icon {
    width: 40px;
}
.accordion_content {
    margin-top: 0px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
    line-height: 2;
}
.accordion_menu.active .accordion_content {
    margin-top: 16px;
    display: block;
}

.toggle_icon {
    position: relative;
    width: 40px;
    height: 40px;
}
.toggle_icon .rotate_part {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    rotate: -90deg;
    transition: rotate 0.4s ease;
}
.accordion_menu.active .toggle_icon .rotate_part {
    rotate: none;
}
.accordion_menu .accordion_content.change_plan {
    display: grid;
    gap: 16px;
}
.change_plan_example {
    font-size: 14px;
    line-height: 1.8;
}

.ad_free_images_wrapper {
    max-width: 800px;
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    padding: 12px 0;
    color: #122637a2;
    font-size: 14px;
}
.ad_free_images_wrapper img {
    max-width: 100%;
    border: #CCEBFF solid 1px;
}

.notice_wrapper {
    margin: 0 auto;
    display: grid;
    gap: 24px;
    justify-items: center;
    padding: 80px 24px;
    background-color: #ffffe7;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 20px;
    text-align: center;
}
.notice_wrapper > div{
    display: grid;
    gap: 12px;
    justify-items: center;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
}
.notice_wrapper > div > p {
    font-size: 32px;
}
.gigafile_feature_wrapper {
    display: flex;
    gap: 12px;
}
.gigafile_feature_title {
    padding: 4px 24px;
    border-radius: 8px;
    background-color: var(--primary-color);
    color: #ffffe7;
    text-align: center;
    text-wrap: nowrap;
}
.gigafile_feature_content {
    text-align: center;
}
.gigafile_feature_content span{
    font-size: 40px;
    vertical-align: -1px;
}

.under_buttons_wrapper {
    margin: 0 auto;
    display: grid;
    gap: 20px;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    background-color: #ffffff;
}
.under_button {
    all: unset;
    width: 290px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: opacity 0.4s ease;
}
.under_button:hover {
    opacity: 80%;
}
.under_button.sign_up {
    background-color: var(--accent-primary-color);
    color: inherit;
}
.under_button.gigafile_top {
    background-color: var(--primary-color);
    color: #ffffff;
}

footer {
    background-color: #3B3B3B;
    display: grid;
    justify-items: center;
    align-content: start;
    min-height: 180px;
    padding: 16px 0;
}
.footer_link_wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
    padding: 2px 0;
}
.footer_link_wrapper a {
    font-size: 12px;
    color: #838383;
}
.copyright {
    color: #838383;
    font-size: 14px;
}

.side_button {
    position: fixed;
    right: 0;
    bottom: 0px;
    z-index: 900;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100dvw;
    padding: 20px 0;
    font-size: 24px;
    font-weight: 700;
    background-color: var(--accent-primary-color);
    border-radius: 8px 8px 0 0;
    color: var(--text-base-color);
    transition: background-color 0.4s ease, color 0.4s ease;
}
.side_button:hover {
    background-color: #fdff71;
    color: #122637a2;
}
.side_button > p {
    transition: color 0.4s ease;
}
.side_button path {
    transition: stroke 0.4s ease;
}
.side_button:hover path {
    stroke: #122637a2;
}

.basic_bg {
    background-color: var(--basic-primary-color);
}
.standard_bg {
    background-color: var(--standard-primary-color);
}
.premium_bg {
    background-color: var(--premium-primary-color);
}
.basic_secondary_bg {
    background-color: var(--basic-secondary-color);
}
.standard_secondary_bg {
    background-color: var(--standard-secondary-color);
}
.premium_secondary_bg {
    background-color: var(--premium-secondary-color);
}
.basic_border {
    border: solid 1px var(--basic-primary-color);
}
.standard_border {
    border: solid 1px var(--standard-primary-color);
}
.premium_border {
    border: solid 1px var(--premium-primary-color);
}


.standard_premium_bg {
    background: linear-gradient(0.25turn, var(--standard-primary-color), var(--premium-primary-color));
}
.inactive {
    opacity: 20%;
}
.underline {
    border-bottom: var(--accent-primary-color) solid 4px;
}

/* PC向け */
@media screen and (min-width:1024px){
    .sp-only {
        display: none;
    } 
    .pc-only {
        display: block;
    }

    .first_view_wrapper {
        min-height: 630px;
        display: grid;
        align-items: center;
        justify-content: center;
        background: center / cover no-repeat url("images/first_view_background.svg");
        background-color: var(--primary-color);
    }
    .first_view_content_wrapper {
        max-width: 1300px;
    }
    .first_view_left_content_wrapper {
        width: 703px;
    }
    .first_view_right_content_wrapper {
        flex: 1;
    }
    .first_view_right_content_wrapper img {
        max-width: 100%;
    }
    .main_heading_wrapper .sub_heading {
        font-size: 14px;
        letter-spacing: 16px;
    }
    .main_heading_wrapper .main_heading {
        font-size: 64px;
        line-height: 1.3;
    }
    .main_heading_wrapper .main_heading span {
        font-size: 96px;
    }
    .sign_up_button {
        width: 560px;
        height: 100px;
        font-size: 32px;
    }
    .sign_up_button:hover {
        width: 566px;
    }

    .introduction_heading {
        font-size: 32px;
    }
    .introduction_content {
        max-width: 1200px;
    }
    .introduction_content p {
        width: 100%;
        padding: 15px 20px;
    }
    .introduction_cases {
        grid-auto-flow: column;
        gap: 64px;
        font-size: 20px;
    }
    .member_service_wrapper {
        flex-flow: row;
    }
    .member_service_wrapper > div {
        width: 580px;
        height: 580px;
        border-radius: 290px;
        margin-right: -280px;
    }
    .member_service_wrapper > img {
        width: auto;
    }

    .feature_heading_wrapper h1{
        left: 25%;
    }
    .feature_list {
        max-width: 1200px;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        padding: 0;
    }
    .feature_card {
        align-content: start;
    }
    .feature_content_wrapper {
        padding: 0 24px;
        line-height: 1.5;
    }
    .feature_content_wrapper h2 {
        font-size: 20px;
        font-weight: 900;
        color: var(--primary-color);
    }
    .feature_content_wrapper p {
        font-size: 14px;
    }
    .feature_content_wrapper img{
        justify-self: center;
    }

    .plan_list {
        max-width: 1200px;
        grid-auto-flow: column;
        padding: 0;
    }

    .plan_feature_list {
        max-width: 340px;
        height: 294px;
        display: grid;
    }

    .step_list_heading_wrapper h2 {
        top: 8%;
        left: 14%;
    }

    .step_list {
        max-width: 1200px;
        padding: 0;
    }
    .step_card {
        gap: 48px;
        grid-template-columns: 450px auto;
    }
    .step_card .step_plan_list {
        grid-auto-flow: column;
        justify-content: center;
        align-items: center;
    }
    .step_card .step_plan_list.step_two {
        grid-template-columns: 1fr auto 1fr;
    }
    .accordion_menu_wrapper {
        width: 1000px;
        padding: 0;
    }
    .accordion_menu {
        padding: 20px 50px;
    }

    .notice_wrapper {
        max-width: 1200px;
        padding: 80px 0;
    }
    .notice_wrapper > div{
        width: 395px;
    }
    .notice_wrapper > div > p {
        font-size: 32px;
    }

    .gigafile_feature_title {
        width: 150px;
        padding: 4px;
    }

    .under_buttons_wrapper {
        max-width: 1200px;
        grid-auto-flow: column;
    }
    footer {
        padding-block: 20px;
        min-height: auto;
    }
    .footer_link_wrapper {
        width: 1024px;
        height: 40px;
        justify-content: space-evenly;
        flex-direction: row;
        padding: 0;
    }
    .footer_link_wrapper a {
        font-size: 14px;
    }
    .copyright {
        font-size: 16px;
        height: 40px;
        line-height: 2;
    }

    .side_button {
        bottom: 20px;
        width: 120px;
        display: grid;
        gap: 8px;
        justify-content: center;
        padding: 40px 0;
        border-radius: 8px 0 0 8px;
        transition: width 0.4s ease;
    }
    .side_button:hover {
        width: 125px;
    }
    .side_button p {
        writing-mode: vertical-rl;
    }
}

