@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 12px;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "width" 100;
}

body {
    overflow-x: hidden;
}

header, footer, nav, menu, article, aside, section, details, figcaption, figure {
    display: block;
}

ul, ol {
    list-style: none;
}
table {
    border-collapse: collapse;
}

img {
    vertical-align: bottom;
    width: 100%;
}

a {
    text-decoration: none;
}

a img {
    border: none;
}

strong {
    font-weight: normal;
}

i{
    font-style: normal;
}

span {
    display: inline-block;
}

.layout {
    width: 70%;
    margin: 0 auto;
}

figure {
    margin-bottom: 1rem;
}

/* header */

header {
    position: fixed;
    width: 100%;
    z-index: 1;
    /* display: flex;
    justify-content: space-between;
    align-items: center; */
    /* padding: 3rem; */
}

.logo {
    width: 12rem;
    background: #000000;
    padding: 1.5rem 2rem 1rem 1rem;
    position: relative;
}

.logo::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: -2.98rem;
    width: 0;
    height: 0;
    border-right: 0rem solid transparent;
    border-bottom: 8rem solid transparent;
    border-left: 3rem solid #000000;
}

.logo img {
    width: 10rem;
}

/* page */
.page_area{
    height: 100vh;
    position: relative;
}

.page_area::before {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 0;
    border-right: 0rem solid transparent;
    border-top: 5rem solid transparent;
    border-left: 50vw solid #ffffff;
}

.page_area::after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 0;
    height: 0;
    border-left: 0rem solid transparent;
    border-top: 6rem solid transparent;
    border-right: 50vw solid #ffffff;
}

.page_area_img {
    position: fixed;
    z-index: -1;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: url("../img/portrait_person.jpg") no-repeat center center;
    background-size: cover;
}

.page_area_bk {
    width: 60%;
    margin: 0 auto;
    position: absolute;
    bottom: 5%;
    transform: translateX(-50%);
    left: 50%;
}

@media (max-width: 768px) {
    .page_area_bk {
        width: 80%;
    }
}

@media screen and (orientation: portrait) {
    .page_area_bk {
        bottom: 12%;
    }
}



.page_title_jp {
    font-size: clamp(2rem, 4vw, 5rem);
    font-weight: bold;
    color: #ffffff;
    padding-bottom: 1.5rem;
    text-align: center;
}

.page_category {
    background: #ffffff;
    font-size: 1rem;
    color: #000000;
    padding: 0.5rem 1rem;
    font-weight: bold;
}

.page_title_en {
    color: #ffffff;
    padding: 0.5rem 1rem;
}

.page_top {
    text-align: center;
}

.page_arrow {
    width: 0;
    height: 0;
    border-left: 0.75rem solid transparent;
    border-right: 0.75rem solid transparent;
    border-top: 1rem solid #df005d;
    margin: 1rem auto 2rem;
    animation: arrowBounce 1.25s infinite;
}

.main_section {
    background: #ffffff;
    padding-top: 10rem;
    padding-bottom: 6rem;
}

.content_area {
    margin-bottom: 6rem;
}

/* .main_section::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-top: 50px solid transparent;
    border-right: 50px solid red;
} */

/* title */
.title_25 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.title_20 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.title_15 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.content {
    font-size: 1.25rem;
    line-height: 2rem;
    margin-bottom: 3rem;
}

.arrow_r {
    border-top: 0.5rem solid transparent;
    border-bottom: 0.5rem solid transparent;
    border-left: 0.75rem solid #8fc31f;
    margin: 0 1rem;
}

.merit_has_tag_item{
    margin-bottom: 2rem;
    margin-right: 2rem;
    border-bottom: 2px solid #8fc31f;
    display: inline-block;
    padding-bottom: 0.25rem;
    font-size: 2rem;
}
.merit_has_tag {
    font-size: 2rem;
    font-weight: bold;
    margin: 0 1.5rem;
    color: #2ea7e0;
}

.flow_card_collection_fill {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
}

.flow_card_collection_fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
}

.gap_2 {
    gap: 2rem;
}

.gap_4 {
    gap: 4rem;
}

.flow_card {

}

/* tab */
.tabs {
    display: flex;
    justify-content: center;
}

.tab_button {
    width: 100%;
    padding: 3rem 2rem;
    border: none;
    background-color: #ddd;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.tab_button.active {
    background-color: #8fc31f;
    color: white;
}

.tab_content {
    display: block;
    padding: 5rem 2rem;
    border: 1px solid #ddd;
    flex: 1;
}

@media (max-width: 768px) {
    .tab_content {
        display: none;
    }
}

.tab_content.active {
    display: block;
}


/*  */


.step_block {
    display: flex;
}

.step_item {
    display: block;
    background: #2ea7e0;
    border-radius: 0.5rem;
    width: 16rem;
    font-size: 1.5rem;
    text-align: center;
    color: #ffffff;
    padding: 1rem;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
}

.step_item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

.step_item_tag {
    font-size: 1rem;
}

.step_arrow {
    width: 0;
    height: 0;
    border-left: 0.75rem solid transparent;
    border-right: 0.75rem solid transparent;
    border-top: 1rem solid #8fc31f;
    margin: 1rem auto 2rem;
    animation: arrowFall 3s infinite;
}

.flag {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    object-fit: cover;
}

.has_tag_item {
    margin-bottom: 1rem;
    margin-right: 1rem;
    border-bottom: 2px solid #8fc31f;
    display: inline-block;
    padding-bottom: 0.25rem;
}

.has_tag {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 0.75rem;
    color: #2ea7e0;
}


footer {
    background: #000000;
    color: #ffffff;
    padding: 1rem;
    text-align: center;
}

.contact_info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 4rem;
}

@media (max-width: 768px) {
    .contact_info {
        flex-direction: column;
    }
}


/* アニメーション*/
@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

@keyframes arrowFall {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    30% {
        opacity: 1;
        transform: translateY(0);
    }
    70% {
        opacity: 1;
        transform: translateY(15px);
    }
    100% {
        opacity: 0;
        transform: translateY(30px);
    }
}