@charset "UTF-8";
/*
Theme Name: Team Kyota
Author: Keita Kamiyama
Description: レーシングドライバー高橋響太 公式サイト
Version: 1.0
*/

/*PC・タブレット・スマホ(全端末)共通設定
---------------------------------------------------------------------------*/
/*全体の設定
---------------------------------------------------------------------------*/
/*====================
common
====================*/
html {
    font-size: 62.5%;
}

body {
    font-family: "Noto Serif JP", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.9rem;
    color: #2F2F2F;
    background-color: #fff;
    line-height: 1.5;
}

img {
    width: 100%;
    height: auto;
}

.section__topic, 
.section__topic--white {
    font-family: "Kurale", serif;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    letter-spacing: 1.35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 0;
}

.section__topic--white {
    color: #fff;
}

.section__topic:before, 
.section__topic:after {
    border-top: 1px solid #2F2F2F;
    content: "";
    width: 1.25em;
}

.section__topic--white:before, 
.section__topic--white:after {
    border-top: 1px solid #fff;
    content: "";
    width: 1.25em;
}

.section__img {
    padding: 0 4.6%;
}

.section__txt {
    padding: 30px 4.6% 45px;
}

.section__txt--white {
    color: #fff;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Karantina";
    font-size: 4rem;
    color: #fff;
    width: 225px;
    margin:0 auto;
    border: none;
    border-radius: 5px;
    background-color: #ef2525;
}

.btn::after {
    transform: rotate(45deg);
    width: 10px;
    height: 10px;
    margin-left: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    content: '';
}

.wpforms-submit {
    display: flex !important; 
    justify-content: center !important;
    align-items: center !important;
    font-family: "Karantina" !important;
    font-size: 4rem !important;
    color: #fff !important;
    width: 225px !important;
    margin:0 auto !important;
    border: none !important;
    border-radius: 5px !important;
    background-color: #ef2525 !important;
}

.wpforms-submit::after {
    transform: rotate(45deg) !important;
    width: 10px !important;
    height: 10px !important;
    margin-left: 10px !important;
    border-top: 2px solid #fff !important;
    border-right: 2px solid #fff !important;
    content: '';
}

.wpforms-container-full button {
    height: 60px !important;
}

.wpforms-submit:hover,
.btn:hover {
    background-color: #df1515;
}

/* スクロールして要素が画面に入ったら表示（初期表示） */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    filter: blur(8px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 表示時にアニメーション */
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}


/* ↓ common pc ↓ */
@media screen and (min-width: 769px) {
.section__topic, 
.section__topic--white {
    padding: 50px 0;
}

}/* ↑ common pc ↑ */


/*====================
header
====================*/
.header {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 13px 4.6%;
    /*header追尾*/
    position: sticky;
    width: 100%;
    top: 0;
    background-color: white;
    left: 0;
    z-index: 65;
}

.header__topic img {
    width: auto;
    height: 35px;
}


/* .nav初期表示 */
.nav {
    background: rgba(0, 0, 0, 1);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.4s;
}

.nav__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    padding: 13px 4.6%;
}

.nav__headerIcon {
    display: flex;
    gap: 25px;
    cursor: pointer;
}

.nav__headerIcon a img {
    width: 100%;
    height: 35px;
}

.nav__list {
    text-align: center;
    color: #fff;
    display: flex;
    justify-content: center;
    flex-direction: column;
    font-size: 4.2rem;
    font-family: "Katibeh", serif;
    gap: 15px;
}

.nav__btn {
    width: 35px;
    height: 35px;
    cursor: pointer;
}

.header .active {
    transform: translateX(0);
}

.header__btn {
    width: 35px;
    height: 35px;
}

.x-white {
    display: block;
}

.x-black {
    display: none;
}


/* ↓ header pc ↓ */
@media screen and (min-width: 769px) {
    .header {
    max-width: 1100px;
    align-items: center;
    padding: 10px 4.6% 10px;
    /*header追尾解除*/
    position: static;
    }
    
    .header__topic img {
    width: auto;
    height: 50px;
    }
    
    .nav {
    display: flex;
    flex-direction: column;
    transform: translateX(0);
    position: static;
    background:#fff;
    }

    .nav__header {
        display: block;
        margin-bottom: 0;
        padding: 0;
    }

    .nav__item:hover {
        color: #8d8d8d;
    }
    
    .nav__headerIcon {
    display: flex;
    justify-content: end;
    gap: 15px;
    }
    
    .nav__list {
    flex-direction: row;
    font-size: 2.2rem;
    justify-content: end;
    gap: 15px;
    color: #2F2F2F;
    }

    .nav__headerIcon a img {
        width: auto;
        height: 20px;
    }
    
    .header__btn, .nav__btn {
        display: none;
    }

    .x-white {
        display: none;
    }

    .x-black {
        display: inline-block;
    }

    
}/* ↑ header pc ↑ */

/* ↓ header tablet ↓ */
@media screen and (min-width: 900px) {
    .nav__list {
        font-size: 2.5rem;
        gap: 20px;
    }
    
    .header__topic img {
        width: auto;
        height: 57px;
    }

    .nav__headerIcon a img {
        width: auto;
        height: 25px;
    }
}/* ↑ header tablet ↑ */


/*====================
footer
====================*/
.footer {
    background-color: #000000;
    padding: 20px 4.6%;
}

.sns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.sns__item img {
    width: auto;
    height: 35px;
}

.copy {
    text-align: center;
    color: #ccc;
    font-size: 1.8rem;
}

.btn__top {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background-color: #0F1992;
    box-shadow: 0 0 6px rgb(187, 188, 255);
    
    z-index: 70;
    position: fixed;
    right: 2.5%;
    bottom: 2%;
}

.btn__top:hover {
    border: 1px solid #0F1992;
    background-color: #fff;
}

.btn__top:hover path {
    fill: #0F1992;
}

/* ↓ footer pc ↓ */
@media screen and (min-width: 769px) {
    .footer {
        padding: 15px 4.6%;
    }

    .footer--flex {
        display: flex;
        justify-content: space-between;
        max-width: 1000px;
        margin: 0 auto;
        width: 100%;
        padding: 0 4.6%;
    }

    .sns {
        margin-bottom: 0;
    }

    .sns__item img {
        width: auto;
        height: 25px;
    }
    
}/* ↑ footer pc ↑ */


/*
---------------------------------------------------------------------------*/
/*トップページ
---------------------------------------------------------------------------*/
/*====================
TopMainImg
====================*/
.TopMainImg {
    position: relative;
    height: 100vw;
    overflow: hidden;
}

.TopMainImg__text {
    position: absolute;
    bottom: 10%;
    left: 10%;
    z-index: 60;
    color: #fff;
}

.TopMainImg__title {
    font-family: "Karantina", system-ui;
    font-size: 6rem;
    line-height: 1;
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}

.TopMainImg__subTitle {
    font-size: 1.8rem;
    margin-bottom: 23px;
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}

.TopMainImg__sp--cover {
    position: absolute;
    left: 0;
    top: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: 50;
}

.TopMainImg__sp1, 
.TopMainImg__sp2, 
.TopMainImg__sp3 {
    opacity: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    animation: anime 20s 0s infinite;
}

.TopMainImg__sp2 {
    animation-delay: 6.6s;
}

.TopMainImg__sp3 {
    animation-delay: 13.2s;
}

.TopMainImg__btn {
    display: block;
    text-align: center;
    width: 145px;
    height: 50px;
    padding-left: 8.7px;
    font-family: "Karantina", system-ui;
    font-size: 3.7rem;
    letter-spacing: 3.7px;
    background: #0F1992;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.TopMainImg__btn::after {
    background: white;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -1;
}

.TopMainImg__btn::before {
    content: '';
    border-left: 8.7px solid #fff;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
}

.TopMainImg__btn:hover {
    color: #0F1992;
}
.TopMainImg__btn:hover::after {
    transform: scale(1, 1);
}


.TopMainImg .TopMainImg__pc  {
    display:none;
}

/* ↓ TopMainImg pc ↓ */
@media screen and (min-width: 769px) {
    .TopMainImg__text {
        position: absolute;
        bottom: 10%;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 1000px;
        padding: 0 20px;
        box-sizing: border-box;
        z-index: 60;
        color: #fff;
    }

    .TopMainImg {
        height: 650px;
    }
    
    .TopMainImg .TopMainImg__pc1, 
    .TopMainImg .TopMainImg__pc2, 
    .TopMainImg .TopMainImg__pc3, 
    .TopMainImg .TopMainImg__pc--cover {
        display: block;
        width: 100%;
        height: 650px;
        object-fit: cover;
    }

    .TopMainImg .TopMainImg__sp1, 
    .TopMainImg .TopMainImg__sp2, 
    .TopMainImg .TopMainImg__sp3, 
    .TopMainImg .TopMainImg__sp--cover {
        display: none;
    }

    .TopMainImg__pc--cover {
        position: absolute;
        left: 0;
        top: 0;
        object-fit: cover;
        width: 100%;
        height: 100%;
        z-index: 50;
    }

    .TopMainImg__pc1, 
    .TopMainImg__pc2, 
    .TopMainImg__pc3 {
        opacity: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        left: 0;
        top: 0;
        animation: anime 20s 0s infinite;
    }
    
    .TopMainImg__pc2 {
        animation-delay: 6.6s;
    }
    
    .TopMainImg__pc3 {
        animation-delay: 13.2s;
    }
    
    .TopMainImg__title {
        font-size: 7.5rem;
    }

    .TopMainImg__subTitle {
        font-size: 2.3rem;
        margin-bottom: 20px;
    }

    .TopMainImg__btn {
        width: 210px;
        height: 60px;
        font-size: 4rem;
    }

}/* ↑ TopMainImg pc ↑ */

/* ふわっとアニメーション */
@keyframes anime {
    0% {
    opacity: 1;
    }
    30% {
    opacity: 1;
    }
    35% {
    opacity: 1;
    }
    50% {
    opacity: 0;
    z-index: 9;
    }
    100% {
    opacity: 0;
    }
}

/*====================
youtube banner
====================*/
.section--banner .section--banner__pc {
    display: none;
}

.section--banner__sp {
    padding: 30px 4.6%;
}

/* ↓ youtube banner pc ↓ */
@media screen and (min-width: 769px) {
    .section--banner {
        display: flex;
        justify-content: center;
    }

    .section--banner .section--banner__pc {
        display: block;
        transition: 0.4s;
        width: 700px;
        height: auto;
        padding: 60px 0;
    }

    .section--banner__pc:hover {
        opacity: 0.6;
    }
    
    .section--banner .section--banner__sp {
        display: none;
    }
}/* ↑ youtube banner pc ↑ */


/*====================
about
====================*/
.section--about, .section--gallery {
    background-image: url("images/bg_img_blue.jpg");
    object-fit: cover;
}

.section__img {
    display: block;
}

.section__img--pc {
    display: none;
}

/* ↓ about pc & tablet ↓ */
@media screen and (min-width: 769px) {
    .section--about {
        padding-bottom: 60px;
    }

    .section__flex--content {
        display: flex;
        gap: 40px;
    }

    .section__img {
        padding: 0;
        width: 50%;
        object-fit: cover;
    }

    .section__txt {
        width: 50%;
        max-width: 530px;
        padding: 0 20px 0 0;
    }


}/* ↑ about pc & tablet ↑ */

/* ↓ about pc ↓ */
@media screen and (min-width: 1249px) {
    .section__img {
        display: none;
    }
    
    .section__img--pc {
        display: block;
        max-height: 388px;
        width: 50%;
        object-fit: cover;
    }


}/* ↑ about pc ↑ */


/*====================
news & blog
====================*/
.section--blog{
    padding-bottom: 45px;
}

.section__flex--blog {
    display: flex;
    flex-direction: column;
}

.blog {
    margin: 0 4.6% 30px;
    box-shadow: 0 0 6px gray;
}

.blog__text {
    padding: 0 15px 20px;
}

.blog__img img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.blog__time {
    font-family: "Katibeh";
    font-size: 2.5rem;
}

/* ↓ news & blog pc ↓ */
@media screen and (min-width: 769px) {
    .section__flex--blog {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 30px;
        padding: 0 15px;
    }

    .blog {
        margin: 0 0 45px;
        max-width: 347px;
        min-height: 400px;
        transition: 0.3s;
    }

    .blog:hover {
        scale: 1.1;
    }

    .blog__img img {
        aspect-ratio: 5 / 3;
        object-fit: cover;
    }

    .blog__time {
        font-size: 3rem;
    }

    .blog__title {
        font-size: 2.3rem;
    }

    .section--blog {
        padding-bottom: 60px;
    }

}/* ↑ news & blog pc ↑ */

/*====================
gallery
====================*/
.section--gallery {
    padding-bottom: 45px;
}

.section__flex--gallery {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
    padding: 0 4.6%;
}

.section__flex--gallery a img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: 5px 4px 7px rgba(0, 0, 0, 0.4);
}

.modal-wrapper {
    z-index: 999;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 60px 10px;
    text-align: center
}

.modal-wrapper:not(:target) {
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

.modal-wrapper:target {
    opacity: 1;
    visibility: visible;
    transition: opacity .4s, visibility .4s;
}

.modal-wrapper::after {
    display: inline-block;
    height: 100%;
    margin-left: -.05em;
    vertical-align: middle;
    content: ""
}

.modal-wrapper .modal-window {
    box-sizing: border-box;
    display: inline-block;
    z-index: 20;
    position: relative;
    padding: 30px 10px 10px;
    border-radius: 2px;
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, .6);
    vertical-align: middle
}

.modal-wrapper .modal-window .modal-content {
    max-height: 80vh;
    overflow-y: auto;
}

.modal-overlay {
    z-index: 10;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .8)
}

.modal-wrapper .modal-close {
    z-index: 20;
    position: absolute;
    top: 0;
    right: 0;
    width: 35px;
    color: #95979c!important;
    font-size: 20px;
    font-weight: 700;
    line-height: 35px;
    text-align: center;
    text-decoration: none;
    text-indent: 0
}

.modal-wrapper .modal-close:hover {
    color: #2b2e38!important
}

/* ↓ gallery pc ↓ */
@media screen and (min-width: 769px) {
    .section--gallery {
        padding-bottom: 60px;
    }

    .section__flex--gallery {
        display: flex;
        flex-direction: row;
        justify-content: center;
        max-width: 1100px;
        margin: 0 auto 30px;
    }

    .section__flex--gallery--bottom {
        margin-bottom: 45px;
    }

    .section__flex--gallery a img {
        transition: 0.3s;
    }

    .section__flex--gallery img:hover {
        scale: 1.1;
        box-shadow: 0 0 10px rgba(190, 190, 190, 0.4);
    }


    /* 20250614追加 */

    .section__flex--gallery {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        max-width: 1100px;
        margin: 0 auto 45px;
        gap: 20px;
        justify-content: center;
    }

    .gallery-item {
        aspect-ratio: 4 / 3;
        overflow: hidden;
        transition: transform 0.3s;
        width: calc(33.333% - 20px); /* gapを引いた幅 */
        box-shadow: 5px 4px 7px rgba(0, 0, 0, 0.4);
    }
    
    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .gallery-item:hover {
        transform: scale(1.05);
    }
    /* 20250614追加ここまで */
    
}/* ↑ gallery pc ↑ */


/*====================
contact
====================*/
.section--contact__pc {
    display: none;
}

.section--contact__tablet {
    display: none;
}

.section--contact__sp {
    padding: 0 4.6% 30px;
}

.contact {
    padding: 0 4.6% 45px;
}

.contact__text {
    margin-bottom: 30px;
}

.contact__list {
    margin-bottom: 30px;
}

.contact__item {
    font-size: 1.7rem;
    color: #6D6D6D;

}

.contact__item::before {
    content: "";
    width: 10px;
    height: 10px;
    display: inline-block;
    background-color: #6D6D6D;
    border-radius:  50%;
    margin-right: 5px;
}

.form__area {
    margin-bottom: 30px;
}

.form__text,
.form__email,
.form__comment {
    background-color: #fff ;
    color: #2F2F2F;
    width: 100%;
    padding: 5px 16px;
    margin-top: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 0 0 1px #ccc inset;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form__text,
.form__email {
    height: 2.4em;
}

.form__comment {
    height: 7.2em;
    margin-bottom: 15px;
}




.form__text input,
.form__email input,
.form__comment input {
    background-color: #fff ;
    color: #2F2F2F;
    width: 100%;
    padding: 5px 16px;
    margin-top: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 0 0 1px #ccc inset;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form__text input,
.form__email input {
    height: 2.4em;
}

.form__comment input {
    height: 7.2em;
    margin-bottom: 15px;
}




.error-msg {
    color: red;
    font-size: 1.4rem;
    margin-bottom: 10px;
    display: block;
}


/* ↓ contact pc & tablet ↓ */
@media screen and (min-width: 769px) {
    .section--contact {
        padding-bottom: 60px;
    }

    .section__flex--contact {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }

    .section--contact__pc {
        display: block;
        transition: 0.4s;
        padding: 0;
        width: 50%;
        object-fit: cover;
    }

    .section--contact__tablet {
        display: none;
    }
    
    .section--contact__sp {
        display: none;
    }

    .section__flex--content {
        display: flex;
        gap: 40px;
    }

    .contact {
        width: 50%;
        max-width: 630px;
        padding: 0 3%;
    }
    

}/* ↑ contact pc & tablet ↑ */


/* ↓ contact pc ↓ */
@media screen and (min-width: 1199px) {
    .section--contact__pc {
        display: none;
    }

    .section--contact__sp {
        display: none;
    }
    
    .section--contact__tablet {
        display: block;
        max-height: 713px;
        width: 50%;
        object-fit: cover;
    }


}/* ↑ contact pc ↑ */


/*====================
sponsors
====================*/
.section--sponsors {
    padding: 0 4.6% 45px;
}

.section__flex--sponsors {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.section__flex--sponsors img {
    width: 47%;
}

/* ↓ sponsors pc ↓ */
@media screen and (min-width: 769px) {
    .section--sponsors {
        padding-bottom: 60px;
    }

    .section__flex--sponsors {
        gap: 30px;
        max-width: 1100px;
        margin: 0 auto;
    }

    .section__flex--sponsors img {
        width: 30%;
    }
    
}/* ↑ sponsors pc ↑ */

/*
---------------------------------------------------------------------------*/
/*プロフィールページ
---------------------------------------------------------------------------*/
/*====================
mainImg
====================*/
.mainImg {
    position: relative;
    height: 200px;
}

.mainImg__text {
    position: absolute;
    bottom: 3%;
    left: 10%;
    z-index: 60;
    color: #fff;
}

.mainImg__title {
    font-family: "Karantina", system-ui;
    font-size: 9rem;
    line-height: 1;
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}

.mainImg__subTitle {
    font-size: 2.8rem;
    margin-bottom: 23px;
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}

.mainImg__sp--cover {
    position: absolute;
    left: 0;
    top: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: 50;
}

.mainImg__sp {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
}

.mainImg .mainImg__pc,
.mainImg .mainImg__pc--cover {
    display:none;
}

/* ↓ mainImg pc ↓ */
@media screen and (min-width: 769px) {
    .mainImg__text {
        position: absolute;
        bottom: 15%;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 1000px;
        padding: 0 40px;
        box-sizing: border-box;
        z-index: 60;
        color: #fff;
    }

    .mainImg {
        height: 300px;
    }
    
    .mainImg .mainImg__pc, 
    .mainImg .mainImg__pc--cover {
        display: block;
        width: 100%;
        height: 300px;
        object-fit: cover;
    }

    .mainImg .mainImg__sp, 
    .mainImg .mainImg__sp--cover {
        display: none;
    }

    .mainImg__pc--cover {
        position: absolute;
        left: 0;
        top: 0;
        object-fit: cover;
        width: 100%;
        height: 100%;
        z-index: 50;
    }

    .mainImg__pc {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        left: 0;
        top: 0;
    }

    .mainImg__title {
        font-size: 11rem;
    }

    .mainImg__subTitle {
        font-size: 3.5rem;
        margin-bottom: 20px;
    }


}/* ↑ mainImg pc ↑ */

/*====================
profile
====================*/
.f_red {
    color: #EF2525;
}

.profile {
    margin-bottom: 30px;
    padding: 30px 4.6%;
}

.profile_img {
    text-align: center;
}

.profile_img img {
    margin-bottom: 10px;
    width: 80%;
}

.profile__title {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.profile__text {
    text-align: center;
}

.name__text--en {
    font-family: "Katibeh";
    font-size: 3rem;
}

.name__text--ja {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.profile__table {
    display: flex;
    justify-content: center;
}

.table_design {
    border-collapse: collapse;
}

.table_design th, .table_design td {
    border-bottom: 2px solid #dddfde;
    white-space: nowrap;
    padding: 1em;
    font-size: 1.8rem;
}

.table_design th {
    border-bottom: 2px solid #e77e7e;;
    font-weight: bold;
    text-align: center;
    width: 20%;
    min-width: 4em;
}

.table_design tbody tr:first-of-type {
    border-top: 4px solid #dddfde;
}

/* ↓ profile tablet ↓ */
@media screen and (min-width: 600px) {
    .table_design th, .table_design td {
        padding: 1em 3em;
    }
    
}/* ↑ profile tablet ↑ */

/* ↓ profile pc ↓ */
@media screen and (min-width: 769px) {
    .profile {
        display: flex;
        justify-content: center;
        flex-direction: row-reverse;
        max-width: 1100px;
        padding: 60px 4.6% 0;
        margin: 0 auto 60px;
        gap: 50px;
    }

    .profile_img {
        text-align: start;
    }

    .profile_img img {
        margin-bottom: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
    
    .table_design th, .table_design td {
        padding: 1.5em;
    }

}/* ↑ profile pc ↑ */

/*====================
vision
====================*/
.section--vision {
    padding: 30px 4.6%;
}

.vision__title {
    padding: 0.3rem;
    border-left: 10px solid;
    border-color: #0F1992;
    font-weight: 700;
    padding-left: 10px;
    margin: 30px 0;
}

.vision {
    display: flex;
    flex-direction: column-reverse;
}

.vision__text {
    margin: 30px 0;
}


/* ↓ vision pc ↓ */
@media screen and (min-width: 769px) {
    .vision {
        flex-direction: row; /* 横並びに変更 */
        justify-content: space-between;
        align-items: center;
        max-width: 1100px;
        margin: 0 auto 45px;
        gap: 20px; /* 任意：間隔調整 */
    }

    .vision__mainText1,
    .vision__mainText2,
    .vision__mainText3,
    .vision__img {
        width: 47%;
    }

    .vision__mainText1,
    .vision__mainText3 {
        order: 2; /* 画像 → テキスト */
    }

    .vision__mainText2 {
        order: 1; /* テキスト → 画像 */
    }


    .vision__img {
        order: 1; /* デフォルト：画像を左に */
        max-width: 530px;
        aspect-ratio: 4 / 3;
        height: auto;
        object-fit: cover;
    }

    .vision__title {
        margin: 0 0 30px;
    }

    .vision__text {
        margin: 0;
    }

    .vision__text--last {
        margin: 0 auto;
        max-width: 1100px;
    }

        
}/* ↑ vision pc ↑ */


/*====================
media
====================*/
.section--media {
    padding: 0 4.6% 30px;
}

.media__img {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    margin: 45px 0;
}

/* ↓ media pc ↓ */
@media screen and (min-width: 769px) {
    .media__text {
        display: flex;
        justify-content: center;
        max-width: 1100px;
        margin: 0 auto 45px;
    }

    .media__img {
        display: flex;
        justify-content: center;
        flex-direction: row;
        max-width: 1100px;
        margin: 0 auto 60px;
    }

    .media__img img {
        width: 30%;
    }
    

}/* ↑ media pc ↑ */


/*
---------------------------------------------------------------------------*/
/*レース戦歴ページ
---------------------------------------------------------------------------*/
/*====================
result
====================*/
.section--result{
    padding: 20px 4.6%;
    margin: 0 auto;
}

.section--result:first-of-type {
    padding-top: 30px;
}

.section--result:last-of-type {
    padding-bottom: 30px;
}

.result__title {
    font-size: 3rem;
    border-left: 10px solid;
    border-color: #0F1992;
    font-weight: bold;
    padding-left: 10px;
    margin-bottom: 13px;
    line-height: 1.1;
}

.result__raceName {
    display: flex;
    gap: 6px;
}

.raceName {
    font-weight: 600;
}

.shapes {
    box-sizing: border-box;
    display: inline-block;
    position: relative;
    width: 20px;
    height: 20px;
    border-style: solid;
    border-width: 3px 3px 0 0;
    border-color: #9F9F9F;  
    transform: rotate(-180deg);
}


.result__table {
    border-collapse: collapse;
    width: 100%;
    max-width: 700px;
    margin: 15px 0 30px;
    text-align: left;
}

.result__table thead {
    display:none;
}

.result__table th, .result__table td {
    display: block;
    border: 0;
    border-bottom: 2px solid #e6f1f6;
    padding: 0.7em;
    font-size: 1.6rem;
}

.result__table tbody th{
    background: #0F1992;
    color:#fff;
}

.result__table td::before{
    content: attr(data-label);
    color: #0F1992;
    font-weight: bold;
    display: inline-block;
    width: 30%;
    min-width: 4em;
}

.brPC {
    display: none;
}


/* ↓ result pc ↓ */
@media screen and (min-width: 769px) {
    .section--result{
        padding: 20px 4.6%;
        margin: 0 auto;
    }

    .section--result:first-of-type {
        padding-top: 60px;
    }

    .section--result:last-of-type {
        padding-bottom: 60px;
    }
        
    .result__title {
        font-size: 3rem;
    }

    .raceName {
        font-size: 2rem;
    }

    .section--result{
        max-width: 1100px;
        margin: 0 auto;
    }

    .result__table {
        width: 100%;
        max-width: 769px;
        border-collapse: collapse;
        table-layout: fixed;
        text-align: center;
        margin: 20px auto;
    }

    .result__table thead {
        display: table-header-group;
    }
    
    .result__table th, .result__table td {
        display: table-cell;
        border: 2px solid #B9B9B9;
        padding: 0.5em;
        font-size: 1.6rem;
        word-break: break-word;
        text-align: center;
        vertical-align: middle;
    }

    .result__table thead th {
        background-color: #0F1992;
        color: #fff;
        border: 2px solid #B9B9B9;
        border-right: 2px solid #B9B9B9;
        border-bottom: 2px solid #B9B9B9;
    }

    .result__table thead th:last-of-type {
        border-right: 2px solid #B9B9B9;
    }
    
    .result__table tbody th {
        color: #0F1992;
        font-weight: bold;
        text-align: center;
        background: #fff;
    }

    .result__table td::before{
        display: none;
    }
    
    .brPC {
        display: inline;
    }
        

}/* ↑ result pc ↑ */



/*
---------------------------------------------------------------------------*/
/*ギャラリーページ
---------------------------------------------------------------------------*/
/*====================
youtube
====================*/
.youtube__text {
    margin-bottom: 30px;
}

.youtube__movie {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.youtube__movie--responsive {
    width: 100%;
    aspect-ratio: 16/9;
}

.youtube__movie--responsive iframe {
    width: 100%;
    height: 100%;
}



/* ↓ youtube pc ↓ */
@media screen and (min-width: 769px) {
        
    .section--youtube {
        max-width: 1100px;
    }

    .youtube__movie {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .youtube__movie--responsive {
        width: 45%;
    }

    .youtube__text {
        display: flex;
        justify-content: center;
        max-width: 1100px;
        margin: 0 auto 45px;
    }

}/* ↑ youtube pc ↑ */


/*====================
gallery2
====================*/

.section--photo,
.section--youtube {
    padding: 30px 4.6%;
    margin: 0 auto;
}

.gallery2__title {
    font-size: 3rem;
    border-left: 10px solid;
    border-color: #0F1992;
    font-weight: bold;
    padding-left: 10px;
    margin-bottom: 13px;
    line-height: 1.1;
}

.gallery2__raceName {
    display: flex;
    gap: 6px;
    margin-bottom: 30px;
}

.raceName {
    font-weight: 600;
}

.shapes {
    box-sizing: border-box;
    display: inline-block;
    position: relative;
    width: 20px;
    height: 20px;
    border-style: solid;
    border-width: 3px 3px 0 0;
    border-color: #9F9F9F;  
    transform: rotate(-180deg);
}

.section__flex--gallery2 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.section__flex--gallery2 a {
    width: 45%;
}

.section__flex--gallery2 a img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.modal-wrapper {
    z-index: 999;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 60px 10px;
    text-align: center
}

.modal-wrapper:not(:target) {
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

.modal-wrapper:target {
    opacity: 1;
    visibility: visible;
    transition: opacity .4s, visibility .4s;
}

.modal-wrapper::after {
    display: inline-block;
    height: 100%;
    margin-left: -.05em;
    vertical-align: middle;
    content: ""
}

.modal-wrapper .modal-window {
    box-sizing: border-box;
    display: inline-block;
    z-index: 20;
    position: relative;
    padding: 30px 10px 10px;
    border-radius: 2px;
    background: #fff;
    vertical-align: middle
}

.modal-wrapper .modal-window .modal-content {
    max-height: 80vh;
    overflow-y: auto;
}

.modal-overlay {
    z-index: 10;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .8)
}

.modal-wrapper .modal-close {
    z-index: 20;
    position: absolute;
    top: 0;
    right: 0;
    width: 35px;
    color: #95979c!important;
    font-size: 20px;
    font-weight: 700;
    line-height: 35px;
    text-align: center;
    text-decoration: none;
    text-indent: 0
}

.modal-wrapper .modal-close:hover {
    color: #2b2e38!important
}

/* 20250614追加 */
.gallery-card {
    margin-bottom: 30px;
}

.gallery-card:last-of-type {
    margin-bottom: 60px;
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
    aspect-ratio: 4 / 3;
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img:hover {
    scale: 1.02;
    opacity: 0.6;
}



/* ↓ gallery pc ↓ */

@media screen and (min-width: 769px) {
    .section--photo {
        max-width: 1100px;
    }

    .section--photo, .section--youtube {
        padding: 30px 4.6% 0;
        margin: 0 auto;
    }

    .section--gallery2{
        padding: 20px 4.6%;
        margin: 0 auto;
    }
        
    .gallery2__title {
        font-size: 3rem;
    }

    .raceName {
        font-size: 2rem;
    }

    .section--gallery2 {
        max-width: 1100px;
        margin: 0 auto;
    }

    .section__flex--gallery2 {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .section__flex--gallery2--bottom {
        margin-bottom: 60px;
    }

    .section__flex--gallery2 a img {
        transition: 0.3s;
    }

    .section__flex--gallery2 a {
        width: 31%;
    }

    .section__flex--gallery2 img:hover {
        scale: 1.1;
        box-shadow: 0 0 10px rgba(190, 190, 190, 0.4);
    }

    /* 20250614追加 */
    .gallery-card:last-of-type {
    margin-bottom: 90px;
}

}/* ↑ gallery pc ↑ */



/*
---------------------------------------------------------------------------*/
/*ブログページ
---------------------------------------------------------------------------*/
/*====================
blog2
====================*/

.section__flex--blog2 {
    display: flex;
    flex-direction: column;
    margin: 30px 4.6%;
}

.blog2 {
    margin: 0 4.6% 30px;
    box-shadow: 0 0 6px gray;
}

.blog2__text {
    padding: 0 15px 20px;
}

.blog2__img img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.blog2__time {
    font-family: "Katibeh";
    font-size: 2.5rem;
}

/* ↓ news & blog pc ↓ */
@media screen and (min-width: 769px) {
    .section__flex--blog2 {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 30px;
        padding: 0 15px;
        flex-wrap: wrap;
        margin: 90px auto 60px;
        max-width: 1100px;
    }

    .blog2 {
        margin: 0;
        max-width: 280px;
        min-height: 350px;
        transition: 0.3s;
    }

    .blog2:hover {
        scale: 1.1;
    }

    .blog2__img img {
        aspect-ratio: 5 / 3;
        object-fit: cover;
    }

    .blog2__time {
        font-size: 2.8rem;
    }

    .blog2__title {
        font-size: 1.9rem;
    }

}/* ↑ news & blog pc ↑ */


/*====================
Pagination
====================*/
.paginationArea {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.page-numbers {
    display: flex;
    gap: 10px;
}

.page-numbers li {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 45px;
    height: 45px;
    background: #fff;
    border: solid 2px #111;
    font-size: 14px;
    color: #111;
    font-weight: bold;
    transition: all 0.15s linear;
}

.page-numbers li a,
.page-numbers li span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    font-weight: inherit;
}

.page-numbers li .current {
    background: #111;
    color: #fff;
    border: 2px solid #111;
}

.page-numbers li a:hover {
    background: #111;
    color: #fff;
}






/*====================
mainText
====================*/
.section__blogMainText{
    margin: 30px 4.6% 60px;
}

.section__blogMainText h3 {
    font-size: 3rem;
    font-weight: 600;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: solid 2px #c3c3c3;
}

.blogMainText__time {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.time {
    padding-left: 5px;
}

.section__blogMainText p {
    margin: 30px 0;
    font-size: 1.6rem;
}

.section__blogMainText h4 {
    font-weight: bold;
    padding: 0.5em 1em;
    background-color: #0F1992;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.section__blogMainText h4::after {
    content: '';
    background-color: #fff;
    opacity: 0.3;
    transform: rotate(-65deg);
    position: absolute;
    bottom: -250px;
    right: -250px;
    width: 300px;
    height: 500px;
}

.section__blogMainText h5 {
    padding: 0.5em 0 0;
    font-weight: bold;
    font-size: 1.8rem;
}

.back__link {
    display: flex;
    justify-content: end;
    margin: 0 4.6% 30px;
}

.back__link:hover {
    color: #8d8d8d;
}


/*時計アイコン*/
.dli-clock {
    display: inline-block;
    vertical-align: middle;
    color: #333;
    line-height: 1;
    position: relative;
    width: 1em;
    height: 1em;
    border: 0.1em solid currentColor;
    border-radius: 50%;
    box-sizing: content-box;
}

.dli-clock::before, .dli-clock::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 50%;
    background: currentColor;
    border-radius: 0.1em;
    transform: translate(-0.05em, 0.05em);
}

.dli-clock::before {
    width: 0.1em;
    height: 0.4em;
}

.dli-clock::after {
    width: 0.35em;
    height: 0.1em;
}

/* ↓ mainText pc ↓ */
@media screen and (min-width: 769px) {
    .section__blogMainText {
        max-width: 769px;
        margin: 30px auto 60px;
        padding: 0 4.6%;
    }

    .back__link {
        max-width: 769px;
        margin: 0 auto 30px;
        padding: 0 4.6%;
    }

}/* ↑ mainText pc ↑ */


/*
---------------------------------------------------------------------------*/
/*スポンサーページ
---------------------------------------------------------------------------*/
/*====================
sponsor
====================*/
.section--sponsor {
    padding: 60px 4.6%;
}

.sponsor__text {
    margin-bottom: 60px;
    text-align: center;
}

.section__flex--sponsors {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.section__flex--sponsors img {
    width: 47%;
}


/* ↓ sponsor pc ↓ */
@media screen and (min-width: 769px) {
        
    .section--sponsor {
        max-width: 1100px;
        margin: 60px auto;
    }

    .sponsor__text {
        display: flex;
        justify-content: center;
        max-width: 1100px;
        margin: 0 auto 90px;
        font-size: 2.6rem;
    }

    .section__flex--sponsors {
        gap: 30px;
        max-width: 1100px;
        margin: 0 auto;
    }

    .section__flex--sponsors img {
        width: 30%;
    }

}/* ↑ sponsor pc ↑ */

/*====================
recruitment
====================*/
.recruitment {
    padding: 30px 4.6% 60px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.recruitment__title {
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    font-size: 2.3rem;
}

.recruitment__img {
    max-width: 600px;
    margin: 0 auto;
    object-fit: cover;
}

/* ↓ recruitment pc ↓ */
@media screen and (min-width: 769px) {
    .recruitment {
        max-width: 1100px;
        margin: 0 auto;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 40px;
    }

    .recruitment__img {
        max-width: 50%;
    }

    .recruitment__texteArea {
        width: 45%;
    }
        

}/* ↑ recruitment pc ↑ */


/*
---------------------------------------------------------------------------*/
/*応募完了ページ
---------------------------------------------------------------------------*/
/*====================
complete
====================*/
.section--complete {
    padding: 60px 4.6%;
}

.complete__text {
    margin-bottom: 60px;
    text-align: center;
}

.complete__subtext {
    font-size: 1.7rem;
    color: #6D6D6D;
}

.complete__subtext--cotion {
    font-size: 1.4rem;
}

/* ↓ complete pc ↓ */
@media screen and (min-width: 769px) {
        
    .section--complete {
        max-width: 1100px;
        margin: 60px auto;
    }

    .complete__text {
        display: flex;
        justify-content: center;
        max-width: 1100px;
        margin: 0 auto 90px;
        font-size: 2.6rem;
    }

}/* ↑ complete pc ↑ */


