/* Reset
===================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    padding: 0;
    margin: 0;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, button, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    border: 0;
    font: inherit;
    font-size: 100%;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

small {
    font-size: 14px;
}

strong {
    font-weight: 700;
    margin-bottom: 8px;
}

@media (max-width: 767.98px) {

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 18px;
    }

    h4, h5, h6 {
        font-size: 16px;
    }

    small {
        font-size: 12px;
    }

}

html {
    line-height: 1;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption, th, td {
    font-weight: normal;
    text-align: left;
    vertical-align: middle;
}

q, blockquote {
    quotes: none;
}

q:before, q:after, blockquote:before, blockquote:after {
    content: "";
    content: none;
}

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

img {
    border: none;
    vertical-align: bottom;
    width: 100%;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

a, a:hover, a:visited {
    color: inherit;
}

/* ========================================================
   Custom colors
=========================================================*/
:root {
    --text-color: #222;
    --main-color: #2AAB9F;
    --bg-color: #F5F5F5;
    --gray-color: #AFAFAF;
    --margin-section: 100px;
    --margin-m: 48px;
}

@media (max-width: 767.98px) {
    :root {
        --margin-section: 60px;
        --margin-m: 32px;
    }
}

/* ========================================================
   Common
=========================================================*/
html {
    font-size: 62.5%;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Arial, nc3Jp, sans-serif;
    font-optical-sizing: auto;
    background: #FFF;
    color: var(--text-color);
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.08em;
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
    margin: 0;
}

p {
    font-size: 1.6rem;
    line-height: 1.7;
}

@media (max-width: 991.98px) {
    p {
        line-height: 1.7;
    }
}

@media (min-width: 576px) {
    .xs {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .xsnon {
        display: none!important;
    }
}


@media (min-width: 992px) {
    .sp {
        display: none!important;
    }
}

@media (max-width: 991.98px) {
    .pc {
        display: none!important;
    }
}

@media (max-width: 767.98px) {
    .sp_left {
        text-align: left;
    }
}

.content {
    position: relative;
    margin-top: 95px;
    flex: 1;
}

.wrapper {
    width: 90%;
    margin: 0 auto;
}

.section_link_wrap {
    text-align: center;
    margin-top: 64px;
    display: flex;
    justify-content: center;
    gap: 24px;
}

.section_link {
    color: #FFF;
    background: var(--main-color);
    display: inline-block;
    padding: 18px 46px;
    border-radius: 100vmax;
    line-height: normal;
    font-size: 16px;
    min-width: 290px;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.section_link.is_w {
    background: transparent;
    border: 1px solid var(--gray-color);
    color: var(--text-color);
    background: #FFF;
}

.section_link::before {
    content: "";
    display: inline-block;
    background: url(../images/btn_arrow.svg)no-repeat center;
    background-size: contain;
    width: 17px;
    height: 17px;
    transition: .2s ease;
}

.section_link.is_w::before {
    background: url(../images/btn_arrow_g.svg)no-repeat center;
}

.section_link:hover {
    color: #FFF;
    transform: translateY(4px);
    opacity: 0.8;
}

.section_link:visited{
    color: #FFF;
}

.section_link.is_w:hover {
    color: var(--main-color);
}

.section_link.is_w:visited{
    color: var(--text-color);
}

.section_link:hover::after {
    right: 17px;
}

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

}


@media (max-width: 575.98px) {
    .section_link {
        font-size: 18px;
    }
}

/* ========================================================
   Header
=========================================================*/
header {
    position: fixed;
    top: 0;
    z-index: 100000;
}

.header_container {
    width: 100vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    transition: all .2s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
}

@media (max-width: 991.98px) {
    .header_container {
        padding: 16px;
    }
}

@media (max-width: 575.98px) {
    .header_container {
        padding: 10px;
    }
}

.header_logo {
    display: flex;
    margin-right: auto;
}

.header_logo a{
    display: flex;
    align-items: flex-end;
    gap: 24px;
}

.header_logo .branch {
    font-size: 24px;
    position: relative;
}

.header_logo .logo_tus {
    width: 72px;
    aspect-ratio: 199 / 177;
}

.header_logo .logo_jp {
    width: auto;
    height: 46px;
    aspect-ratio: 9 / 4;
    object-fit: contain;
}

.header_logo .branch::before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -12px;
    background: var(--gray-color);
    height: 26px;
    width: 1px;
}

@media (max-width: 767.98px) {
    .header_logo{
        padding: 0;
    }

    .header_logo .logo_tus {
        width: 14.21vw;
        max-width: 64px;
    }

    .header_logo .branch {
        font-size: 18px;
        margin-left: 16px;
        writing-mode: horizontal-tb;
        -ms-writing-mode: lr-tb;
    }

    .header_logo .branch::before{
        display: none;
    }
}

/* ========================================================
   PC Navigation
=========================================================*/
.nav_pc {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nav_pc_link {
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav_pc_link li a {
    letter-spacing: 0.06em;
    text-transform: capitalize;
    font-weight: 600;
    font-style: normal;
    position: relative;
    cursor: pointer;
    font-size: 14px;
    transition: .2s ease;
}


.nav_pc_link li a:hover {
    color: var(--main-color);
}

.nav_btn {
    background: #F97168;
    border-radius: 100vmax;
    color: #FFF;
    padding: 16px 24px;
    transition: .2s ease;
    box-shadow: 0 5px 10px -5px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.nav_btn::before {
    content: "";
    display: inline-block;
    background: url(../images/btn_arrow.svg) no-repeat center;
    background-size: contain;
    width: 17px;
    height: 17px;
    transition: .2s ease;
}

.nav_btn:hover {
    color: #FFF !important;
    background: var(--main-color);
}

@media (min-width: 992px) {
    .nav_sp {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .nav_pc {
        display: none;
    }
}

/* ========================================================
   SP Navigation
=========================================================*/
.nav_sp {
    position: relative;
}

.menu_btn {
    position: relative;
    display: block;
    width: 24px;
    height: 48px;
    cursor: pointer;
    z-index: 10000;
    cursor: pointer;
}

.menu_btn span {
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    background: var(--text-color);
    transition: .4s;
}

.top_bar {
    top: calc(35% - 2px / 2);
}

.center_bar {
    top: calc(50% - 2px / 2);
}

.under_bar {
    top: calc(65% - 2px / 2);
}

#open:checked~.menu_btn>.top_bar {
    top: calc(50% - 2px / 2);
    transform: rotate(45deg);
}

#open:checked~.menu_btn>.center_bar {
    opacity: 0;
}

#open:checked~.menu_btn>.under_bar {
    top: calc(50% - 2px / 2);
    transform: rotate(-45deg);
}

#open {
    display: none;
}

.drawer {
    width: 100vw;
    max-width: 500px;
    min-height: 100%;
    position: fixed;
    top: 0;
    right: -100%;
    -webkit-transition: .7s;
    transition: .5s;
    background: var(--main-color);
    color: #FFF;
    padding: 100px 10%;
    z-index: 1000;
    overflow: scroll;
}

.drawer.open {
    right: 0;
}

.drawer_logo {
    width: 80%;
    max-width: 260px;
    aspect-ratio: 407 / 59;
    margin-bottom: 32px;
}

.drawer_menu, .drawer_links {
    padding: 40px 26px;
    margin: 0;
    position: relative;
    list-style: none;
}

.drawer_links {
    margin-top: 16px;
}

.drawer_menu li, .drawer_links li {
    padding: 14px;
    position: relative;
    text-align: left;
    letter-spacing: 0.06em;
    text-transform: capitalize;
    font-weight: 600;
    font-style: normal;
}

.drawer_menu li a {
    font-size: 20px;
}

.drawer_menu li a.sns {
    font-size: 22px;
}

.drawer_item {
    list-style: none;
    position: relative;
    z-index: 2;
}

.drawer_item:last-child {
    margin-bottom: 0;
}

.drawer_btn {
    text-align: center;
    display: inline-block;
    margin-top: 3.8rem;
    width: 100%;
    padding-top: 3rem;
    padding-bottom: 2.9rem;
    border: 1px solid #ededed;
    font-weight: bold;
    background: #FFF;
    color: var(--main-color);
    border-radius: 100vmax;
}

@media (min-width: 992px) {
    .drawer {
        display: none;
    }
}

@media (max-width: 991.98px) {

    .nav_pc {
        display: none;
    }

    .drawer {
        width: 100vw;
    }

    .drawer_menu, .drawer_links {
        padding: 0;
        margin: 0;
    }
}


@media (min-width: 768px) {
    .drawer {
        max-width: 500px;
    }

    .drawer.open {
        box-shadow: 0px 9px 21px rgba(17, 17, 17, 0.3);
    }
}

/* ========================================================
   Footer
=========================================================*/
footer {
    padding: 40px 0 24px 0;
    position: relative;
    background: var(--main-color);
    color: #FFF;
}

.footer_top {
    background: url(../images/ft_bg.png);
}

.footer_container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 60px;
    align-items: center;
    gap: 32px;
}

.footer_nav ul {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer_nav ul li {
    list-style: none;
}

.footer_nav ul li a {
    font-size: 14px;
    cursor: pointer;
}

.footer_nav ul li a:hover {
    opacity: 0.8;
}

.footer_logo {
    display: flex;
    align-items: flex-end;
}

.footer_logo img{
    width: 100px;
    aspect-ratio: 116 / 51;
}

.footer_logo .branch {
    font-size: 18px;
    position: relative;
    margin-left: 8px;
}

.copyright {
    font-size: 14px;
    text-align: center;
}


@media (max-width: 767.98px) {
    .footer_nav ul {
        gap: 16px;
    }

    .footer_container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .footer_nav {
        flex-wrap: wrap;
        flex-direction: column;
        gap: 24px;
    }
}

/* ========================================================
   Animation
=========================================================*/
/* ----------------------------------------------------------------------------------------------------------------------- 
           Animation / アニメーション
----------------------------------------------------------------------------------------------------------------------- */
.fadeInUpMin {
    animation-name: fadeInUpMin;
}

@keyframes fadeInUpMin {
    from {
        opacity: 0;
        transform: translate3d(0, 20%, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.fadeLeft {
    animation-name: fadeLeftAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeLeftAnime {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.fadeRight {
    animation-name: fadeRightAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeRightAnime {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.blur {
    animation-name: blurAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes blurAnime {
    from {
        filter: blur(20px);
        transform: scale(1.02);
        opacity: 0;
    }

    to {
        filter: blur(0);
        transform: scale(1);
        opacity: 1;
    }
}

.blurTrigger {
    opacity: 0;
}

/* ========================================================
   TOP
=========================================================*/
/* mv 
-------------------------*/
section.mv {
    padding: 0;
    width: 100%;
    aspect-ratio: 1440 / 596;
    position: relative;
}

.mv_main {
    width: 69.03vw;
    position: absolute;
    top: 0;
    right: 0;
    aspect-ratio: 1491 / 758;
    object-fit: cover;
}

.mv_sub {
    width: 41.81vw;
    position: absolute;
    left: 0;
    bottom: 0;
    aspect-ratio: 602 / 376;
    object-fit: cover;
}

.mv_deco {
    width: 17vw;
    position: absolute;
    bottom: -20vw;
    left: 0;
    z-index: -1;
}

@media (max-width: 991.98px) {
    section.mv {
        aspect-ratio: 428 / 271;
    }

    .mv_main {
        width: 86.45vw;
        left: 0;
        top: 0;
        right: unset;
    }

    .mv_sub {
        width: 44.52vw;
        right: 0;
        bottom: 0;
        left: unset;
    }

    .mv_deco {
        width: 27vw;
        position: absolute;
        bottom: 10px;
        left: 0;
        z-index: -1;
    }

}

/* mv ex
-------------------------*/
.mv_ex{
    padding: 32px;
    position: relative;
}

@media (max-width: 767.98px) {
    .mv_ex{
        padding: 0;
    }
}

.mv_ex_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.mv_ex_swiper{
    width: 65vw;
}

@media (max-width: 767.98px) {
    .mv_ex_swiper{
        width: 100%;
    }
}

.mv_ex_swiper .swiper-slide{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.mv_ex_swiper .swiper-slide img{
    width: 100%;
    aspect-ratio: 865 / 537;
    object-fit: contain;
}

.mv_ex_text{
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 16px;
    position: relative;
}

@media (min-width:1440px) {
    .mv_ex_text{
        gap: 24px;
    }
}

@media (max-width: 767.98px) {
    .mv_ex_text{
        padding: 13.26vw 5%;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .mv_ex_text{
        gap: 8px;
    }
}

.mv_ex_text span{
    font-size: clamp(32px, calc((38 / 1440) * 100vw), 46px);
    color: #FFF;
    background: var(--main-color);
    padding: 18px;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-weight: 700;
    box-shadow: 0px 8.444px 50.667px 0px rgba(0, 0, 0, 0.25);
}

@media (max-width: 991.98px) {
    .mv_ex_text span{
        font-size: 28px;
        box-shadow: 0px 4.973px 29.838px 0px rgba(0, 0, 0, 0.25);
    }
}

@media (max-width: 767.98px) {
    .mv_ex_text span{
        -ms-writing-mode: unset;
        writing-mode: unset;
        font-size: clamp(18px, calc((20 / 380) * 100vw), 28px);
        padding: 12px;
        position: relative;
        z-index: 2;
    }

    .mv_ex_text::before{
        content: "";
        display: inline-block;
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        width: 30.26vw;
        aspect-ratio: 115 / 149;
        background: url(../images/mv_ex_sp_deco.svg) no-repeat center center / contain;
        z-index: 1;
    }
}

/* TOP
-------------------------*/
section {
    padding: var(--margin-section) 0;
}

.flex_columns {
    display: flex;
    gap: 5vw;
    align-items: center;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .flex_columns {
        align-items: flex-end;
    }

    .flex_column {
        width: 50%;
    }
}


.flex_columns_three {
    display: flex;
    gap: 3vw;
}

.flex_columns_three .flex_column {
    width: 33.33%;
}

@media (max-width: 767.98px) {
    .flex_columns {
        flex-wrap: wrap;
        gap: 24px;
    }

    .flex_columns_three {
        flex-wrap: wrap;
        gap: 8px;
    }

    .flex_column {
        width: 100% !important;
    }
}

@media (min-width: 768px) {
    .row_reverse {
        flex-direction: row-reverse;
    }
}

@media (max-width: 767.98px) {
    .col_reverse {
        flex-direction: column-reverse;
    }
}

.infinite_slider {
    pointer-events: none;
    overflow: hidden;
}

.infinite_slider>.swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}

.infinite_slider .swiper-slide img {
    aspect-ratio: 560 / 500;
    object-fit: cover;
    border-radius: 20px;
    overflow: hidden;
}

/* Message
-------------------------*/
.message_main {
    font-size: 30px;
    text-align: center;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: var(--margin-m);
    line-height: 1.5;
}

.message_txt {
    font-size: 18px;
    text-align: left;
    line-height: 1.8;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--margin-m);
}

.message_txt a {
    color: var(--main-color);
    text-decoration: underline;
}

.infinite_slider {
    pointer-events: none;
    overflow: hidden;
}

.infinite_slider>.swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}

.infinite_slider .swiper-slide {
    width: 300px;
}

.infinite_slider .swiper-slide img {

    aspect-ratio: 240 / 163;
    object-fit: cover;
    border-radius: 10px;
    overflow: hidden;
}

@media (max-width: 767.98px) {

    .infinite_slider .swiper-slide {
        width: 240px;
    }

    .message_main {
        font-size: 22px;
    }

    .message_txt {
        font-size: 16px;
        text-align: left;
    }
}

/* Greeting
-------------------------*/
section.greeting {
    background: var(--bg-color);
    position: relative;
}

.greeting_columns .flex_column:first-child {
    width: 32%;
}

.greeting_columns .flex_column:last-child {
    width: 68%;
}

.greeting_ttl {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--margin-m);
}

.greeting_ttl .en {
    font-size: 64px;
    font-family: "Overpass", sans-serif;
    color: var(--main-color);
    font-weight: 800;
}

.greeting_ttl .ja {
    font-size: 18px;
    font-weight: 500;
    margin-left: 4px;
}

.greeting_img {
    border-radius: 10px;
    overflow: hidden;
    object-fit: cover;
    aspect-ratio: 131 / 75;
}

.greeting_name {
    font-weight: 500;
    text-align: right;
    margin-top: 24px;
}

.greeting_deco {
    position: absolute;
    right: 0;
    bottom: -100px;
    width: 223px;
}

@media (max-width: 767.98px) {
    .greeting_deco {
        right: 0;
        bottom: -70px;
        width: 132px;
    }

    .greeting_ttl .en {
        font-size: 48px;
    }
}


/* PostList
-------------------------*/
.posts_columns {
    padding: var(--margin-section) 5%;
    align-items: flex-start;
}

@media (max-width: 767.98px) {
    .posts_columns {
        gap: var(--margin-section);
    }
}

.posts_columns .flex_column{
    width: 100%;
}


.title_line {
    display: flex;
    gap: 40px;
    padding: 0 8px 32px 8px;
    border-bottom: 1px solid var(--main-color);
}

.title_line .ja {
    font-size: 26px;
    position: relative;
    font-weight: 500;
}

.title_line .ja::after {
    content: "";
    display: inline-block;
    position: absolute;
    bottom: 0;
    right: -20px;
    background: var(--gray-color);
    height: 26px;
    width: 1px;
}

.title_line .en {
    font-size: 26px;
    font-family: "Overpass", sans-serif;
    color: var(--main-color);
    transform: translateY(5px);
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .title_line .ja {
        font-size: 20px;
    }

    .title_line .en {
        font-size: 18px;
    }

}

.post_list {
    display: flex;
    flex-direction: column;
    list-style: none;
}

.post_list li a {
    padding: 24px 32px 24px 16px;
    border-bottom: 1px solid var(--gray-color);
    position: relative;
    transition: .2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
}

.post_list li a::after {
    content: url(../images/list_arrow.svg);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 8px;
}

.post_title_wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.post_title_wrap.is_rep {
    width: 70%;
}

.post_thumbnail_wrap {
    width: 30%;
}

.post_thumbnail {
    aspect-ratio: 121 / 74;
    border-radius: 6px;
    object-fit: cover;
}

.post_list li time {
    color: #888;
    font-family: "Overpass", sans-serif;
}

.post_list li h3 {
    line-height: 1.6;
    transition: .2s ease;
    font-size: 16px;
}

.post_list li a:hover h3 {
    color: var(--main-color);
}

.post_link_wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
}

@media (max-width: 767.98px) {
    .post_thumbnail {
        aspect-ratio: 121 / 61;
    }

    .post_list li a {
        flex-wrap: wrap;
        flex-direction: column;
        padding: 16px;
    }

    .post_thumbnail_wrap {
        width: 100%;
    }

    .post_title_wrap.is_rep {
        width: 100%;
    }

    .post_link_wrap {
        justify-content: center;
    }

    .post_list li a::after {
        display: none;
    }
}

.post_link_wrap .section_link {
    min-width: 260px;
}

.coming_soon {
    padding: 24px 32px 24px 16px;
}

/* Join us
-------------------------*/

.joinus {
    background: url(../images/joinus_bg.jpg)no-repeat;
    text-align: center;
    background-size: cover;
    padding: 120px 5%;
    position: relative;
}

.joinus::before {
    content: '';
    display: inline-block;
    background: url(../images/joinus_deco1.svg)no-repeat;
    background-size: contain;
    position: absolute;
    top: 16px;
    left: 0;
    width: 28.13vw;
    aspect-ratio: 261 / 229;
    height: auto;
}

.joinus::after {
    content: '';
    display: inline-block;
    background: url(../images/joinus_deco2.svg)no-repeat;
    background-size: contain;
    position: absolute;
    bottom: -20px;
    right: 0;
    width: 21.13vw;
    aspect-ratio: 259 / 494;
    height: auto;
    z-index: 1;
}

.joinus h2 {
    font-size: 3.33vw;
    color: #FFF;
    font-weight: bold;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.joinus h2::after {
    background: url(../images/joinus.svg);
    background-size: cover;
    content: '';
    display: inline-block;
    width: 146px;
    aspect-ratio: 49 / 13;
}

.joinus p {
    font-size: 18px;
    line-height: 2;
    color: #FFF;
}

@media (max-width: 767.98px) {
    .joinus h2 {
        font-size: 6.14vw;
    }

    .joinus h2::after {
        width: 24.3vw;
    }
}

/* Related Links
-------------------------*/
.related_link {
    display: inline-block;
    width: 100%;
    aspect-ratio: 380 / 187;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-top: 3vw;
    transition: all 0.2s ease;
    cursor: pointer;
}

.related_link:hover {
    opacity: .8;
    transform: translateY(4px);
}

.related_link span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%)translateY(-50%);
    color: #FFF;
    font-size: 24px;
    font-weight: bold;
    width: 100%;
    text-align: center;
}

.related_link span::after {
    content: "";
    display: inline-block;
    background: url(../images/related_icon.svg)no-repeat;
    object-fit: contain;
    width: 19px;
    height: 18px;
    margin-left: 6px;
}

@media (max-width: 767.98px) {
    .related_link {
        aspect-ratio: 380 / 121;
        ;
    }

    .related_link span {
        font-size: 18px;
    }
}

/* ========================================================
   PAGES
=========================================================*/
.page section {
    padding: var(--margin-m) 0;
}

.page_header {
    min-height: 240px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--main-color);
}

@media (max-width: 767.98px) {
    .page_header {
        min-height: 36.46vw;
    }
}

.error.page_header{
    height: auto;
}

.page_title {
    display: flex;
    gap: 40px;
    letter-spacing: 0.07em;
    align-items: flex-end;
}

.page_title .en {
    font-size: 64px;
    color: var(--main-color);
    font-family: "Overpass", sans-serif;
    font-weight: 700;

}

@media (max-width: 575.98px) {
    .page_title {
        gap: 16px;
    }

    .page_title .en {
        font-size: 12.92vw;
    }
}

.page_title .ja {
    font-size: 18px;
    transform: translateY(-16px);
    position: relative;
}

.page_title .ja::before {
    content: "";
    display: inline-block;
    position: absolute;
    bottom: -4px;
    left: -20px;
    background: var(--gray-color);
    height: 26px;
    width: 1px;
}

.page_header_inner {
    width: 90%;
    margin: 0 auto;
}


@media (max-width: 575.98px) {
    .page_title .ja {
        font-size: 14px;
    }

    .page_title .ja::before {
        left: -8px;
        height: 20px;
    }
}

.page_wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.page .post_thumbnail_wrap {
    width: 170px;
}

@media (max-width: 767.98px) {
    .page .post_thumbnail_wrap {
        width: 100%;
    }
}

.pager {
    margin: var(--margin-section);
}

.pager .page_numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    list-style: none;
}

@media (max-width: 767.98px) {

    .pager .page_numbers {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }
}

.page_numbers li a,
.page_numbers li span {
    display: inline-block !important;
    width: 44px;
    line-height: 44px;
    height: 44px;
    text-decoration: none;
    text-align: center;
    position: relative;
    transition: .2s ease-in;
    border-radius: 100vmax;
    background: rgba(175, 175, 175, .3);
}

.page_numbers li a {
    cursor: pointer;
}

.page_numbers li a:hover {
    opacity: 0.7;
}

.page_numbers li a.prev::after {
    content: url(../images/page_prev.svg);
}

.page_numbers li a.next::after {
    content: url(../images/page_next.svg);
}

.page_numbers li .current {
    background-color: var(--main-color);
    color: #FFF;
}

.post_footer {
    width: 90%;
    max-width: 1200px;
    margin: var(--margin-section) auto;
    padding: var(--margin-m) 0;
    border-top: 1px solid var(--gray-color);
}

.post_nav{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    align-items: center;
    gap: 10px;
}

@media (max-width: 991.98px) {
    .post_nav{
        grid-template-columns: repeat(2, 1fr);
    }
}

.post_nav a {
    color: var(--text-color);
}

.post_footer_prev, .post_footer_next {
    display: block;
    width: 100%;
    transition: all 0.2s ease;
    cursor: pointer;
}

.post_footer_prev{
    text-align: left;
}

.post_footer_next{
    text-align: right;
}

.post_footer_prev:hover, .post_footer_next:hover {
    color: var(--main-color);
}

.post_footer_prev::before {
    content: url(../images/post_footer_prev.svg);
    margin-right: 8px;
}

.post_footer_next::after {
    content: url(../images/post_footer_next.svg);
    margin-left: 8px;
}

.post_footer_btn {
    border: 1px solid var(--gray-color);
    color: var(--text-color);
    background: #FFF;
    padding: 18px 46px;
    border-radius: 100vmax;
    transition: all 0.2s ease;
}

.post_footer_btn:hover {
    background: var(--main-color);
    color: #FFF !important;
}

.post_btn_wrap.sp {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}


/*  Single
-------------------------*/
.single_title_inner {
    width: 90%;
    max-width: 1200px;
    margin:0 auto;
    padding: 20px 0;
}

.single_title_info {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
}

.single_title_info time {
    color: var(--main-color);
    font-family: "Overpass", sans-serif;
    font-size: 18px;
}

.single_title_info .cat {
    padding: 4px 1em;
    border: 1px solid var(--gray-color);
    border-radius: 100vmax;
    font-size: 16px;
}

.single_title {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.6;
}

.single article {
    width: 90%;
    max-width: 1200px;
    margin: var(--margin-m) auto;
}

@media (max-width: 767.98px) {
    .single_title_info .cat {
        font-size: 14px;
    }

    .single_title_info {
        gap: 16px;
        margin-bottom: 16px;
    }

    .single_title {
        font-size: 22px;
    }
}


/*  Single Parts
-------------------------*/

.single article h2,
.single article h3,
.single article h4 {
    font-weight: 500;
    margin-bottom: var(--margin-m);
    line-height: 1.8;
}

.single article h2 {
    font-size: 22px;
    padding: 16px 0 16px 24px;
    border-left: 2px solid var(--main-color);
}

.single article h3 {
    font-size: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    padding-bottom: 16px;
    position: relative;
    line-height: 1.4;
}

.single article h3::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 108px;
    height: 1px;
    background: var(--main-color);
    display: block;
}

.single article h4 {
    font-size: 18px;
}

@media (max-width: 767.98px) {
    .single article h2 {
        font-size: 20px;
        padding: 8px 0 8px 16px;
    }

    .single article h3, .single article h4 {
        font-size: 18px;
    }
}

.single article p {
    margin-bottom: var(--margin-m);
    line-height: 1.9;
    word-break:break-all;
}

.single article a:not(.post_footer_btn) {
    color: #1967d2;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 2px;
    word-break:break-all;
}

.single article img {
    margin-bottom: var(--margin-m);
    width: auto;
}

.single ul, .single ol{
    padding-left: 1.5em;
    line-height: 1.8;
    margin-bottom: var(--margin-m);
}


.single ul ul,
.single ul ul,
.single ol ul,
.single ol ol{
    margin-bottom: 8px;
}


.single table {
    border: 1px solid rgba(34, 34, 34, 0.15);
    width: 100%;
    margin-top: 40px;
}

.single table tr td {
    padding: 16px;
    background-color: transparent;
    border: 1px solid rgba(34, 34, 34, 0.15);
    line-height: 1.6;
}

.single table tr th {
    padding: 16px;
    /* width: 25%; */
    font-weight: 500;
    background: rgba(42, 171, 159, .2);
    border: 1px solid rgba(34, 34, 34, 0.15);
}

.single table tr:first-child td {
    border-top: none !important;
}

.single table tr:nth-child(8) td:last-child {
    vertical-align: top;
}

.single table tr:last-child td {
    border-bottom: none !important;
}

@media (max-width: 540px) {
    .single table tr td {
        font-size: 14px;
    }
}

/* FVに動画を使用 */
.mv_fv {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.mv_video {
    width: 100%;
    height: auto;
    display: block;
}

.mv_caption {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 10px 16px;
    color: #FFF;
    background: rgba(0,0,0,0.5);
    border-radius: 0 0 0 4px;
}

.mv_caption p {
    font-size: 14px;
    margin: 0;
    text-shadow: none;
}

.mv_btn_wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 32px;
}

.mv_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    padding: 0 16px;
    background: var(--main-color);
    border: none;
    border-radius: 100vmax;
    font-size: 14px;
    transition: .2s ease;
    height: 100%;
}

.mv_btn:hover {
    opacity: 0.8;
}

.mv_sound {
    background: rgba(0,0,0,0.4);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #FFF;
    cursor: pointer;
    transition: .2s ease;
    padding: 0;
}

.mv_sound:hover {
    background: rgba(0,0,0,0.6);
}

.mv_sound .sound_on {
    display: none;
}

.mv_sound.unmuted .sound_on {
    display: inline-block;
}

.mv_sound.unmuted .sound_off {
    display: none;
}

.mv_sound.sp {
    display: none;
}

.mv_sound.pc {
    background: #000;
    border: 1px solid #000;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 14px;
    transition: .3s;
    display: flex;
    align-items: center;
    width: auto;
    height: auto;
    gap: 4px;
    color: #fff;
}

.mv_sound.pc i {
    margin-right: 4px;
}

.mv_sound.pc:hover {
    background: #fff;
    color: #000;
}

@media (max-width: 767.98px) {
    .mv_fv {
        position: relative;
    }

    .mv_video {
        position: relative;
        display: block;
        width: 100%;
        height: auto;
    }

    .mv_caption {
        position: static;
        padding: 16px;
        color: #FFF;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        background: rgba(0,0,0,0.6);
        border-radius: 0;
    }
    
    .mv_caption p {
        font-size: 12px;
    }
    
    .mv_btn_wrap {
        height: 28px;
    }

    .mv_btn {
        padding: 0 12px;
        font-size: 12px;
    }

    .mv_sound {
        width: 28px;
        height: 28px;
    }

    .mv_sound.pc {
        display: none;
    }

    .mv_sound.sp {
        display: block;
        position: absolute;
        bottom: 97px;
        right: 8px;
        z-index: 2;
    }
}
