@charset "utf-8";
/* =========================
LOWER PAGE COMMON
========================= */
#header,
#g-navi {
    top: 0;
}

#header {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-color: transparent;
    box-shadow: none;
}

#header::before {
    content: none;
}
.openbtn {
    background: linear-gradient(180deg, rgba(var(--font-black-rgb), 0.18) 0%, rgba(var(--font-black-rgb), 0.25) 70%, rgba(var(--font-black-rgb), 0.4) 100%);
}
/*========= VISUAL ===============*/
.visual {
    position: relative;
    background: url(../images/entryvisual.webp) center / cover;
    background-repeat: no-repeat;
    min-height: 500px;
}

.visual__topic {
    position: absolute;
    bottom: 15%;
    left: 7%;
    z-index: 1;
}

.visual__topic h4 {
    color: var(--font-white);
    line-height: 1.4;
}

.visual__topic .ruby {
    font-size: clamp(1.2rem, 1.67vw, 2.4rem);
    color: var(--main-purple);
}

.visual:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--font-black-rgb), 0.3);
    z-index: 1;
}

/***** VISUAL SP *****/
@media screen and (max-width: 768px){
    .visual {
        background: url(../images/licensesvisual_sp.webp) center / cover;
    }
    
    .visual__topic {
        bottom: 10%;
    }

} /* VISUAL SP 768px */

/*========= CONTENTS ===============*/
.mainTxt {
    text-align: left;
    width: 50vw;
    margin: 10rem auto 2rem;
    font-size: clamp(1.4rem, 1.38vw, 2rem);
    line-height: 2;
}

@media screen and (max-width: 768px){
    .mainTxt {
        width: 85%;
        font-size: 1.2rem;
        margin: 0 auto;
        padding: 10% 0% 0%;
        text-align: left;
    }
} /* SP 768px */

/*========= MNAVI ===============*/
.mnavi {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 5rem 0 5rem 0;
    list-style: none;
    font-size: clamp(1.6rem, 1.66vw, 2.4rem);
}

.mnavi a {
    display: block;
    padding: clamp(5px, 0.69vw, 10px) clamp(15px, 2.08vw, 30px)    ;
    text-decoration: none;
    color: var(--font-black);
}

.mnavi li {
    margin-bottom: clamp(10px, 1.38vw, 20px);
}

.mnavi li a {
    position: relative;
}

.mnavi li.current a, .mnavi li a:hover {
    color: var(--main-color);
}

.mnavi li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--main-color);
    transition: all .3s;
    transform: scale(0, 1);
    transform-origin: left top;
}

.mnavi li.current a::after, .mnavi li a:hover::after {
    transform: scale(1, 1);
}

/*========= TAB ===============*/
.tab {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.tab li a {
    display: block;
    font-size: clamp(1.6rem, 1.66vw, 2.4rem);
    background: rgba(var(--main-color-rgb), 0.2);
    margin: 0 2px;
    padding: 1rem 2rem;
}

.tab li.active a {
    color: var(--font-white);
    background: var(--main-color);
}

.area {
    display: none;
    opacity: 0;
    background: var(--font-white);
    padding: 5rem 10rem;
}

.area.is-active {
    display: block;
    animation-name: displayAnime;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

@keyframes displayAnime {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/*========= TITLENAME ===============*/
.title {
    position: absolute;
    top: 1%;
    color: var(--main-color);
    font-weight: 700;
    font-size: clamp(1.6rem, 1.94vw, 2.8rem);
}

.titlename {
    position: absolute;
    top: 0;
    left: 0;
    color: rgba(var(--main-color-rgb), 0.1);
    font-size: clamp(4rem, 7.64vw, 11rem);
    font-weight: 800;
    line-height: 0.8;
}

/*========= TIME LINE ===============*/
.timeline {
    /* max-width: 400px; */
    width: 100%;
    margin: 50px auto;
    padding: 0 30px;
    font-size: clamp(1.4rem, 1.25vw, 1.8rem);
}

.timeline li {
    position: relative;
    list-style: none;
    padding: 0 0 20px 0;
}

.timeline dl {
    margin: 0 0 20px 3em;
}

.border-line {
    position: absolute;
    left: 0.85rem;
    top: 0;
    width: 2px;
    height: 0;
    background: rgba(var(--main-color-rgb), 0.3);
}

.timeline li::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: var(--main-color);
    border-radius: 50%;
}

strong {
    color: var(--main-color);
    font-size: clamp(1.4rem, 1.25vw, 1.8rem);
    line-height: 2;
}

/*========= FLOW ===============*/
#flow {
    background: url(../images/flowbg.webp) center / cover;
    padding: 10% 7% 0;
    /* 調整は基本この変数群のみ */
    --flow-circle-size: 300px;
    --flow-item-gap: 120px;
    --flow-text-offset: 360px;
    --flow-line-left: 149px;
    --flow-line-top: 300px;
    --flow-line-max: 144px;
    --flow-line-width: 2px;
    --flow-line-alpha: 0.45;
    --flow-text-gap-bottom: 20px;
}

#flow .timeline li {
    position: relative;
    min-height: var(--flow-circle-size);
    padding: 0 0 var(--flow-item-gap) 0;
}

#flow .timeline li::after {
    width: var(--flow-circle-size);
    height: var(--flow-circle-size);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#flow .timeline li:nth-child(1)::after {
    background-image: url(../images/flow01.webp);
}

#flow .timeline li:nth-child(2)::after {
    background-image: url(../images/flow02.webp);
}

#flow .timeline li:nth-child(3)::after {
    background-image: url(../images/flow03.webp);
}

#flow .timeline li:nth-child(4)::after {
    background-image: url(../images/flow04.webp);
}

#flow .timeline li:nth-child(5)::after {
    background-image: url(../images/flow05.webp);
}

#flow .timeline dl {
    margin: 0 0 var(--flow-text-gap-bottom) var(--flow-text-offset);
    min-height: var(--flow-circle-size);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#flow .flow-note {
    position: relative;
    padding-left: 1.4em;
}

#flow .flow-note::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--main-color);
}

#flow .border-line {
    width: var(--flow-line-width);
    left: var(--flow-line-left);
    top: var(--flow-line-top);
    max-height: var(--flow-line-max);
    background: rgba(var(--main-color-rgb), var(--flow-line-alpha));
}

#flow .timeline li:last-child .border-line {
    display: none;
}

#flow .timeline-actions {
    display: flex;
    gap: 5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

#flow .timeline-actions .btn {
    padding: 0 1.5rem;
}

#flow .timeline-actions .icon {
    margin-right: 0.8rem;
    font-size: 1.2em;
}

.btn::before {
    content: '';
    background: rgba(255, 170, 0, 0.5);
}

#flow .timeline-actions .btn-mail::before {
    content: '';
    background: rgba(var(--main-color-rgb), 0.3) !important;
}

.number {
    font-size: clamp(2rem, 3.47vw, 5rem);
    line-height: 1;
}

strong {
    display: flex;
    align-items: center;
    /* font-size: clamp(1.6rem, 1.94vw, 2.8rem); */
    font-size: clamp(1.6rem, 1.66vw, 2.4rem);
}

#flow .timeline dt {
    display: flex;
    align-items: center;
}

/* 下層ページのナビ展開時は背景を少し暗くして可読性を確保 */
#g-navi.navopen {
    background: linear-gradient(
        180deg,
        rgba(var(--font-black-rgb), 0.62) 0%,
        rgba(var(--font-black-rgb), 0.56) 45%,
        rgba(var(--font-black-rgb), 0.66) 100%
    );
}

/*****  FLOW SP *****/
@media screen and (max-width: 768px){
    #flow {
        background: url(../images/flowbg_sp.webp) center / cover;
        --flow-circle-size: 180px;
        --flow-item-gap: 72px;
        --flow-text-offset: 200px;
        --flow-line-left: 89px;
        --flow-line-top: 180px;
        --flow-line-max: 72px;
        --flow-line-width: 2px;
        --flow-text-gap-bottom: 16px;
    }
} /* SP 768px */