@import url('https://fonts.googleapis.com/css2?family=LINE+Seed+JP:wght@100;400;700;800&family=Outfit:wght@100..900&display=swap');

:root {
    --main-color: #FF5146;
    --blackdark: #1C272F;
    --black: #131E25;
}

html,body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

html {
    scrollbar-gutter: stable;
}

body {
    font-family: 'LINE Seed JP', sans-serif;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

img {
    max-width: 100%;
}

.outfit {
    font-family: 'Outfit', sans-serif;
}

.flex {
    display: flex;
}

.pc {
    display: block;
}
.sp {
    display: none;
}

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

/*---------------------------------

  ヘッダー

---------------------------------*/

.header {
    position: fixed;
    top: 15px;
    left: 15px;
    right: 15px;
    height: 84px;
    margin: 0;
    z-index: 5;
    color: #000;
}

.header > .flex{
    justify-content: space-between;
    height: 100%;
}
.header .logo{
    width: 232px;
    height: 100%;
    margin: 0;
    padding: 24px;
    background: #000;
    border-radius: 4px;
}
.header .header_nav{
    width: calc(100% - 237px);
    background: #000;
    border-radius: 4px;
    padding-right: 50px;
}
.header .header_nav ul {
    justify-content: flex-end;

}
.header .header_nav li a{
    display: block;
    height: 84px;
    padding: 30px 15px 0 18px;
    color: #fff;
}
.header .header_nav li{
    position: relative;
    padding: 0 15px 0 0;
}
.header .header_nav li a:hover{
    color: var(--main-color);
}

@media screen and (max-width:1100px){
    .header .header_nav li:first-child a{
        margin: 0;
    }
}

@media screen and (max-width:1024px){
    .header{
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 68px;
        margin: 0;
        background: #000;
        z-index: 5;
    }
    .header .logo{
        width: 232px;
        height: 100%;
        margin: 0;
        padding: 15px 15px 0;
        background: transparent;
        border-radius: 4px;
    }
    .header .header_nav{
        display: none;
    }
}

/*---------------------------------

  ハンバーガー周り

---------------------------------*/

.header_nav_sp{
    display: none;

}

.header .nav_trigger {
    display: none;
}

/* ハンバーガーメニュー用オーバーレイ */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 4;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

@media screen and (max-width:1024px){
    .header_nav_sp{
        display: block;
        position: fixed;
        top: 68px;
        right: -390px;
        width: 100%;
        max-width: 390px;
        max-height: calc(100% - 68px);
        padding: 30px 30px 60px;
        background: #000;
        z-index: 5;
        -webkit-transition: all .5s ease;
        transition: all .5s ease;
        overflow-y: scroll;
    }
    /* サイドメニューオープン */
    .side_open .header_nav_sp{
        -webkit-transform: translate3d(-390px, 0, 0);
        transform: translate3d(-390px, 0, 0);
    }

    .header_nav_sp > ul > li{
        border-bottom: 1px solid #808080;
    }
    .header_nav_sp > ul > li > a{
        display: block;
        width: 100%;
        padding: 25px 0;
        color: #fff;
    }
    .header .nav_trigger {
        position: fixed;
        right: 0px;
        top: 0px;
        display: block;
        width: 68px;
        height: 68px;
        background: #000;
        cursor: pointer;
        z-index: 10;
        transition: all .4s;
    }

    .header .nav_trigger span{
        position: absolute;
        top: 48px;
        right: 22px;
        display: block;
        width: 24px;
        height: 4px;
        transition: all .4s;
    }
    .header .nav_trigger span::before,
    .header .nav_trigger span::after {
        position: absolute;
        display: block;
        height: 3px;
        margin: auto;
        background: #fff;
        border-radius: 0;
        transition: all .4s;
    }
    .header .nav_trigger span::before {
        content: '';
        top: -11px;
        width: 24px;
    }
    .header .nav_trigger span::after {
        content: '';
        top: -20px;
        width: 24px;
    }
    .nav_trigger.active{
        right: 0px;
        width: 68px;
        height: 68px;
    }
    .nav_trigger.active span::before {
        width: 24px;
        height: 3px;
        -webkit-transform: translateY(-3px) rotate(-45deg);
        transform: translateY(-3px) rotate(-45deg);
    }
    .nav_trigger.active span {
        background: rgba( 0, 0, 0, 0);
    }
    .nav_trigger.active span::after {
        width: 24px;
        height: 3px;
        -webkit-transform: translateY(6px) rotate(45deg);
        transform: translateY(6px) rotate(45deg);
    }

}

/*---------------------------------

  キービジュアル

---------------------------------*/
.kv {
    height: 860px;
    background-color: var(--blackdark);
    background-image: url('../img/kv/kv.png');
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.kv_wrap {
    position: relative;
    height: 100%;
}

.kv_movie {
    width: 100%;
    height: 100%;
    position: relative;
}
.kv_movie video{
    width: 1100px;
    height: 620px;
    position: absolute;
    top: 220px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid var(--black);
    background-color: var(--black);
    box-shadow: 0 4px 40px 30px #000;
    display: block;
}
.kv_movie::before {
    content: '';
    width: 47vw;
    aspect-ratio: 677 / 116;
    position: absolute;
    top: 129px;
    left: 50%;
    transform: translateX(-50%);
    background-image: url('../img/common/logo_maxxis_or.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: 2;
}
.kv h2 {
    font-size: 6.1vw;
    font-weight: 800;
    letter-spacing: -0.16em;
    position: absolute;
    left: 0;
    bottom: -185px;
    z-index: 4;
    white-space: nowrap;
    overflow: visible;
}
.kv h2 .no_space {
    letter-spacing: -0.6em;
}
.kv h2 .space {
    letter-spacing: 0;
}
.marker-yellow {
    background-color: #FAD500;
    color: #000;
    padding: 7px 10px;
    border-radius: 1px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1200px) {
    .kv_movie video {
        width: 900px;
        height: 507px;
        top: 180px;
    }
}

@media screen and  (max-width: 768px) {
    .kv {
        height: 85vh;
        height: 85dvh;
        background-image: url('../img/kv/kv_sp.png');
        background-size: 100% auto;
        background-position: center 68px;
        background-repeat: no-repeat;
    }

    .kv_wrap {
        padding-top: 68px;
        height: 100%;
    }

    .kv_movie::before {
        width: 95vw;
        top: 60px;
        filter: drop-shadow(0 4px 35px var(--black));
    }

    .kv_movie video {
        width: 100vw;
        height: auto;
        max-width: none;
        top: 170px;
        left: 0;
        transform: none;
        border: none;
        border-top: 5px solid var(--black);
        border-bottom: 5px solid var(--black);
    }
    .kv h2 {
        font-size: 9.5vw;
        top: 72vh;
        top: 72dvh;
    }
    .marker-yellow {
        padding: 4px 6px;
    }
}

/* タブレット対応 */
@media screen and  (max-width: 1024px) and (min-width: 769px) {
    .kv_movie::before {
        width: 50vw;
        top: 100px;
    }
}

/*---------------------------------

  コンセプト

---------------------------------*/
.concept {
    background-color: var(--blackdark);
    position: relative;
    padding: 270px;
    text-align: center;
}
.concept img{
    position: relative;
}
.concept_txt {
    color: #E8E8EB;
    font-size: 28px;
    font-weight: 700;
    line-height: 180%;
    letter-spacing: 0.57px;
    padding: 10px 100px;
    position: relative;
    z-index: 1;
    text-align: center;
}
.concept::before {
    content: '';
    width: 100%;
    height: 854px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    background-image: url('../img/concept/concept_bg.png');
    background-repeat: no-repeat;
    background-size: contain;
    mix-blend-mode: overlay;
}
.concept::after {
    content: '';
    width: 100%;
    height: 223px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    background-image: url('../img/common/logo_maxxis_wh.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

@media screen and  (max-width: 768px) {
    .concept {
        padding: 30%;
        padding-left: 0;
        padding-right: 0;
    }
    .concept img {
        width: 90%;
    }
    .concept_txt {
        font-size: 16px;
    }
    .concept::before {
        background-size: auto;
    }
    .concept::after {
        bottom: -60px;
    }
}
/*---------------------------------

  特徴

---------------------------------*/
.features {
    background-image: url('../img/features/features_bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    position: relative;
    padding: 150px 100px 180px;
}
.features_inner {
    max-width: 1240px;
    margin: 0 auto;
}
.features h2 {
    color: var(--black);
    font-size: 118px;
    font-weight: 800;
    line-height: 100%;
    letter-spacing: 5.9px;
    text-align: center;
    overflow: hidden;
}

.features h2 span {
    display: inline-block;
    transform: translateY(100%);
    transition: all ease 0.5s;
}

.features h2.fadeIn span {
    transform: translateY(0);
}
.features_sub {
    background-color: var(--main-color);
    width: 100%;
    padding: 10px 0;
    margin-bottom: 60px;
}
.features_sub p {
    color: #E8E8EB;
    font-family: "Noto Sans JP";
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    line-height: 130%;
    letter-spacing: 2.4px;
}
.features_list {
    display: flex;
    gap: 10px;
}
.features_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #E8E8EB;
    color: var(--black);
    flex: 1;
    padding: 20px 40px 50px;
    gap: 24px;
}
.features_number {
    display: block;
    color: var(--main-color);
    font-size: 92px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: 4.6px;
}
.features_item h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 160%;
    margin-bottom: 31px;
}
.features_item:last-child h3 {
    margin-bottom: 0;
}
.features_item p {
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
}
@media screen and  (max-width: 1024px) {
    .features {
        padding: 150px 60px 180px;
    }
    .features h2 {
        font-size: 80px;
    }
}
@media screen and  (max-width: 768px) {
    .features {
        padding: 80px 30px;
        height: auto;
    }
    .features h2 {
        font-size: 55px;
        letter-spacing: 3px;
        margin-bottom: 10px;
    }
    .features_list {
        flex-direction: column;
    }
}
/*---------------------------------

  LINE UP

---------------------------------*/
.lineup {
    width: 100%;
    background-color: var(--black);
}
.lineup_head {
    background-image: url('../img/lineup/lineup_bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 414px;
    position: relative;
    padding: 156px 100px 140px;
}
.lineup_head h2 {
    color: var(--white);
    font-size: 118px;
    font-weight: 800;
    line-height: 100%;
    letter-spacing: 5.9px;
    overflow: hidden;
}

.lineup_head h2 span {
    display: inline-block;
    transform: translateY(100%);
    transition: all ease 0.5s;
}

.lineup_head h2.fadeIn span {
    transform: translateY(0);
}
.lineup_sub{
    background-color: var(--main-color);
}
.lineup_sub p {
    color: #E8E8EB;
    font-family: "Noto Sans JP";
    font-size: 24px;
    font-weight: 900;
    line-height: 130%;
    letter-spacing: 2.4px;
    padding: 10px 100px;
}
.lineup_box {
    padding: 100px 100px 120px 100px;
}
.lineup_buttons {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}
.lineup-modal-trigger {
    background-color: var(--main-color);
    padding: 15px 28px;
    font-size: 18px;
    font-weight: 900;
    color: var(--black);
    border-radius: 25px;
    width: fit-content;
    align-self: flex-end;
    position: relative;
    transition: all 0.3s ease;
}
.lineup-modal-trigger:hover {
    opacity: 0.8;
    transform: scale(1.05);
}




.lineup_list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 1240px;
    margin: 0 auto;
}
.lineup_group {
    width: 100%;
    margin-bottom: 40px;
}
.lineup_group_flex {
    display: flex;
    gap: 40px;
    align-items: center;
}
.lineup_group_title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    padding-left: 10px;
}
.lineup_group_items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}
.lineup_item {
    background-color: var(--blackdark);
    display: flex;
    padding: 20px 40px 30px 40px;
    flex-direction: column;
    flex: 0 1 calc(50% - 4px);
    border: 1px solid transparent;
    cursor: pointer;
}
.lineup_item:hover {
    border-color: var(--main-color);
    background-color: #34424C;
}
.lineup_item h3 {
    color: var(--main-color);
    font-size: 32px;
    font-weight: 700;
}
.lineup_item_kana {
    font-size: 12px;
    font-weight: 400;
    color: #fff;
}
.lineup_item_subtitle {
    font-size: 14px;
    color: #fff;
    line-height: 1.4;
    font-weight: 300;
    margin-bottom: 10px;
}
.lineup_item_content {
    display: flex;
    gap: 24px;
    margin-top: 24px;
}
.lineup_item_content img {
    width: 211px;
    height: 144px;
}
.lineup_item_text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.lineup_item_btn {
    background-color: #03FCB5;
    padding: 10px 24px 10px 15px;
    font-size: 15px;
    font-weight: 900;
    color: var(--black);
    border-radius: 20px;
    width: fit-content;
    align-self: flex-end;
    position: relative;
    margin-top: 20px;
}
.lineup_item_btn::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 6px;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url('../img/common/icon_arrow_r.svg');
    background-repeat: no-repeat;
    background-size: contain;
}
.lineup_attention {
    background-color: var(--blackdark);
    display: flex;
    padding: 20px 40px 30px 40px;
    flex-direction: column;
    flex: 0 1 calc(50% - 4px);
    border: 1px solid #fff;
}
.lineup_attention p {
    margin: auto;
    font-weight: 400;
    font-size: 18px;
    line-height: 180%;
}
.lineup_attention a {
    color: var(--main-color);
    text-decoration: underline;
}

@media screen and  (max-width: 1100px) {
    .lineup_item_content {
        align-items: center;
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
    }
    .lineup_item_btn {
        width: stretch;
        max-width: 350px;
        align-self: center;
        text-align: center;
        margin-top: 30px;
    }
    .lineup_item_btn::after {
        right: calc(50% - 50px);
    }
}
@media screen and (max-width: 768px) {
    .lineup_head {
        background-image: url('../img/lineup/lineup_bg_sp.png');
        height: auto;
        padding: 58px 79.5px 60px;
    }
    .lineup_head h2 {
        font-size: 55px;
        letter-spacing: 3px;
        margin-bottom: 10px;
    }
    .lineup_group_flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .lineup_group_flex .lineup-modal-trigger {
        align-self: auto;
    }
    .lineup_sub p {
        padding: 10px 0 12px 0;
        text-align: center;
        font-size: 20px;
    }
    .lineup_box {
        padding: 50px 30px;
    }
    .lineup_item {
        align-items: center;
        flex: auto;
        padding: 20px 30px 40px 30px;
    }
    .lineup_item h3 {
        text-align: center;
    }
    .lineup_attention {
        flex: 1;
    }
    .lineup_attention p {
        font-size: 16px;
        line-height: 140%;
    }

    .lineup_buttons {
        gap: 10px;
    }

    .lineup-modal-trigger {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/*---------------------------------

  VIDEOS

---------------------------------*/
.videos {
    width: 100%;
    background-color: var(--black);
    background-image: url('../img/videos/videos_bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 510px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 88px 0;
}
.videos_list {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1112px;
    margin: 0 auto;
    gap: 30px;
}
.videos_item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}
.videos_item img {
    width: 500px;
    height: auto;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    border: 3px solid var(--main-color);
    position: relative;
}
.videos_item::after {
    content: '';
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 89px;
    height: 89px;
    background: url('../img/videos/play.png') no-repeat center / contain;
    pointer-events: none;
}
.videos_item:hover img {
    filter: grayscale(0%);
}
.videos_item_title {
    color: var(--main-color);
    font-size: 32px;
    font-weight: 700;
    margin-top: 20px;
}

@media screen and (max-width: 768px) {
    .videos {
        height: auto;
    }
    .videos_list {
        width: 82%;
        flex-direction: column;
        gap: 40px;
    }
    .videos_item_title {
        font-size: 20px;
        margin-top: 12px;
    }
    .videos_item::after {
        width: 57px;
        height: 57px;
    }
}

/*---------------------------------

  LINK

---------------------------------*/
.link {
    background-color: var(--blackdark);
    padding: 100px;
}
.link h2 {
    color: var(--white);
    font-size: 118px;
    font-weight: 800;
    line-height: 100%;
    letter-spacing: 5.9px;
    text-align: center;
    overflow: hidden;
}

.link h2 span {
    display: inline-block;
    transform: translateY(100%);
    transition: all ease 0.5s;
}

.link h2.fadeIn span {
    transform: translateY(0);
}
.link_sub {
    background-color: var(--main-color);
    width: 100%;
    padding: 10px 0;
    margin-bottom: 60px;
}
.link_sub p {
    color: #E8E8EB;
    font-family: "Noto Sans JP";
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    line-height: 130%;
    letter-spacing: 2.4px;
}
.link_box {
    display: flex;
    justify-content: space-around;
}
.link h3 {
    color: var(--main-color);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}
.link_list li{
    font-size: 20px;
    padding-bottom: 40px;
    display: flex;
    gap: 15px;
}
.link_listitem {
    display: flex;
    flex-direction: column;
}
.link_header {
    margin-bottom: 5px;
}
.link_body {
    text-decoration: underline;
}
.link_body:hover {
    color: var(--main-color);
}
@media screen and  (max-width: 1024px) {
    .link h3 {
        font-size: 28px;
    }
    .link_list li {
        font-size: 18px;
    }
}
@media screen and (max-width: 768px) {
    .link {
        padding: 50px 30px;
    }
    .link h2 {
        font-size: 55px;
        letter-spacing: 3px;
        margin: 10px 0;
    }
    .link_sub p {
        text-align: center;
        font-size: 20px;
    }
    .link_box {
        flex-direction: column;
        gap: 40px;
    }
    .link h3 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .link_list li{
        font-size: 16px;
        padding-bottom: 20px;
    }
}

/*---------------------------------

  VISUAL

---------------------------------*/
.visual {
    width: 100%;
    height: 357px;
    background-image: url('../img/visual/visual_bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
@media (max-width: 768px) {
    .visual {
        height: auto;
        aspect-ratio: 2880 / 714;
        background-size: cover;
    }
}
/*---------------------------------

  PRICE

---------------------------------*/
.price {
    background-color: #34424C;
    width: 100%;
    padding: 70px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.price h2 {
    font-size: 20px;
    margin: 0 auto 15px;
    text-align: left;
    max-width: 1240px;
    width: 100%;
}
.price h3 {
    font-size: 18px;
    margin: 40px auto 10px;
    text-align: left;
    max-width: 1240px;
    width: 100%;
}
.price p {
    width: 100%;
    max-width: 1240px;
    line-height: 1.6;
    text-align: left;
}
@media (max-width: 768px) {
    .price {
        padding: 50px 30px;
    }
    .price p {
        font-size: 14px;
        font-weight: 400;
    }
}

/*---------------------------------

  ATTENTION

---------------------------------*/
.attention {
    background-color: var(--blackdark);
    width: 100%;
    padding: 70px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.attention h2{
    font-size: 20px;
    margin: 0 auto 20px;
    text-align: left;
    max-width: 1240px;
    width: 100%;
}
.attention ol {
    text-align: left;
    max-width: 1240px;
    width: 100%;
}
.attention ol li {
    margin: 0 0 5px 20px;
    list-style: disc;
    font-size: 15px;
}
@media (max-width: 768px) {
    .attention  {
        padding: 50px 30px;
    }
}
/*---------------------------------

  PARTNER

---------------------------------*/
.partner {
    position: relative;
    width: 100%;
    background-color: #34424C;
    padding: 110px 100px;
    z-index: 1;
}
.partner::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 300px;
    height: 300px;
    background-image: url('../img/partner/partner_r.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: -1;
}
.partner::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 300px;
    height: 300px;
    background-image: url('../img/partner/partner_l.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: -1;
}
.partner_heading {
    max-width: 1240px;
    margin: 0 auto;
    background-color: var(--blackdark);
    color: #03FCB5;
    font-size: 62px;
    font-weight: 400;
    padding: 31.5px 0;
    text-align: center;
    border-radius: 4px 4px 0 0;
}
.partner_content {
    max-width: 1240px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    border-radius: 0 0 4px 4px;
}
.partner_content p {
    color: #000;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
}
.partner_btn {
    background-color: #F36E23;
    color: #fff;
    border-radius: 4px;
    font-size: 22px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 72px;
    position: relative;
    padding-left: 103px;
    padding-right: 45px;
    box-sizing: border-box;
    border: none;
    transition: opacity 0.3s ease;
}
.partner_btn:hover {
    opacity: 0.8;
}
.partner_btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 45px;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: url('../img/common/icon_mail.png') no-repeat center / contain;
}

@media (max-width: 768px) {
    .partner {
        padding: 50px 30px;
        overflow: hidden;
    }
    .partner::before {
        right: -100px;
        top: -65px;
    }
    .partner::after {
        left: -108px;
        bottom: -50px;
    }
    .partner_heading {
        font-size: 32px;
        padding: 30px 0;
    }
    .partner_content {
        padding: 40px 20px;
    }
    .partner_content p {
        font-size: 16px;
    }
    .partner_btn {
        font-size: 16px;
        padding-left: 73px;
        padding-right: 25px;
        height: 60px;
    }
    .partner_btn::before {
        left: 15px;
    }
}

/*---------------------------------

  お問い合わせ

---------------------------------*/
.contact_maxxis {
    background-image: url('../img/contact/contact_bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    position: relative;
    padding: 100px;
}
.contact_maxxis h2 {
    color: #fff;
    font-size: 118px;
    font-weight: 800;
    line-height: 100%;
    letter-spacing: 5.9px;
    text-align: center;
    overflow: hidden;
}

.contact_maxxis h2 span {
    display: inline-block;
    transform: translateY(100%);
    transition: all ease 0.5s;
}

.contact_maxxis h2.fadeIn span {
    transform: translateY(0);
}
.contact_maxxis_sub {
    background-color: var(--main-color);
    width: 100%;
    padding: 10px 0;
    margin-bottom: 50px;
}
.contact_maxxis_sub p {
    color: #E8E8EB;
    font-family: "Noto Sans JP";
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    line-height: 130%;
    letter-spacing: 2.4px;
}
.contact_maxxis_text {
    color: #FFF;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 160%;
    margin-bottom: 20px;
}
.contact_maxxis_inner {
    max-width: 1240px;
    margin: 0 auto;
}
.contact_maxxis_wrapper{
    background-color: #fff;
    display: flex;
    padding: 60px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
.contact_maxxis_content {
    background-color: #E8E8EB;
    padding: 47.5px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 30px;
}
.contact_maxxis_logo img {
    width: 400px;
}
.contact_maxxis_info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    color: #000;
}
.contact_maxxis_info h4 {
    font-size: 32px;
    font-weight: 700;
}
.contact_maxxis_info .shop {
    font-size: 20px;
    font-weight: 400;
}
.contact_maxxis_info .address {
    font-size: 16px;
    font-weight: 400;
}
.contact_maxxis_buttons {
    display: flex;
    gap: 24px;
    width: 100%;
    justify-content: center;
}
.contact_maxxis_button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    width: 371px;
    height: 72px;
    position: relative;
    padding-left: 63px;
    box-sizing: border-box;
}
.contact_maxxis_button_tel {
    background-color: #fff;
    color: #000;
    border-radius: 4px;
    border: 2px solid #5C5C5C;
    font-weight: 700;
    font-size: 28px;
}
.contact_maxxis_button_tel::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: url('../img/common/icon_tel.svg') no-repeat center / contain;
}
.contact_maxxis_button_tel:hover {
    opacity: 0.8;
}
.contact_maxxis_button_contact {
    background-color: #F36E23;
    color: #fff;
    font-weight: 400;
    font-size: 24px;
}
.contact_maxxis_button_contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: url('../img/common/icon_mail.png') no-repeat center / contain;
}
.contact_maxxis_button_contact:hover {
    opacity: 0.8;
}
@media screen and  (max-width: 1024px) {
    .contact_maxxis h2 {
        font-size: 80px;
    }
    .contact_maxxis_content {
        padding: 47.5px 40px;
    }
}
@media (max-width: 768px) {
    .contact_maxxis {
        padding: 50px 30px;
        height: auto;
    }
    .contact_maxxis h2 {
        font-size: 50px;
        margin-bottom: 10px;
    }
    .contact_maxxis_sub {
        margin-bottom: 30px;
    }
    .contact_maxxis_sub p {
        font-size: 20px;
    }
    .contact_maxxis_text {
        text-align: left;
        font-size: 18px;
    }
    .contact_maxxis_content {
        background-color: #fff;
        padding: 0;
        flex-direction: column;
        gap: 45px;
    }
    .contact_maxxis_buttons {
        flex-direction: column;
    }
    .contact_maxxis_wrapper {
        padding: 45px 20px 30px 20px;
    }
    .contact_maxxis_button {
        height: 60px;
    }
    .contact_maxxis_button_tel,
    .contact_maxxis_button_contact {
        width: 100%;
        font-size: 20px;
    }
    .contact_maxxis_info h4 {
        font-size: 20px;
    }
    .contact_maxxis_info .shop {
        font-size: 16px;
    }
    .contact_maxxis_info .address {
        font-size: 14px;
    }
}
/*---------------------------------

  お問い合わせについて（注意事項）

---------------------------------*/
.contact_notice {
    background-color: var(--black);
    width: 100%;
    height: auto;
    position: relative;
    padding: 80px 100px;
    display: flex;
    justify-content: center;
}

.contact_notice_inner {
    max-width: 1240px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.contact_notice_inner p {
    font-size: 16px;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: 0.8px;
}
.contact_notice h2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 160%;
}

@media (max-width: 768px) {
    .contact_notice {
        padding: 50px 30px;
    }
    .contact_notice_inner p {
        font-size: 14px;
    }
}
/*---------------------------------

  フッター

---------------------------------*/
.footer {
    width: 100%;
    background-color: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
}
.footer_visual {
    width: 100%;
    height: 232px;
    background-image: url('../img/footer/footer_bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.footer_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 40px 0;
}
.footer_logo {
    width: 250px;
}
.footer_logo img {
    width: 100%;
    max-width: 250px;
}
.footer_info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.footer_company {
    font-size: 16px;
    font-weight: 700;
    line-height: 160%;
    margin: 0;
}
.footer_address {
    font-size: 14px;
    font-weight: 400;
    line-height: 160%;
    margin: 0;
}
.footer_copyright {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    background-color: #fff;
}
.footer_copyright p {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: 0.7px;
}
@media (max-width: 768px) {
    .footer_visual {
        height: auto;
        aspect-ratio: 2880 / 646;
        background-size: cover;
    }
}
/*---------------------------------

  モーダル

---------------------------------*/
/* モーダル開時に背景のスクロールを防ぎつつ、レイアウトのズレを防ぐ */
body:has(.modal-back.open),
body:has(.modal-common-back.open),
body:has(.videos-modal-back.open) {
    overflow: hidden;
}

body:has(.modal-back.open) main,
body:has(.modal-common-back.open) main,
body:has(.videos-modal-back.open) main {
    scrollbar-gutter: stable;
}

/* サイズ表モーダル */
.modal-common-back {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 100;
}

.modal-common-back.open {
    display: block;
}

.modal_wrap {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
}
.modal {
    display: none;
}
.modal.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1100px;
    max-height: calc(100vh - 80px);
    z-index: 101;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}
.modal_body {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    min-height: 0;
    padding: 0 4px 16px 0;
    -webkit-overflow-scrolling: touch;
}
.modal_head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 2;
    margin: 0 0 28px;
    padding-bottom: 4px;
    background: rgba(0, 0, 0, 0.9);
}
.modal_main_title {
    flex: 1;
    min-width: 0;
    font-weight: 600;
    font-size: 24px;
    line-height: 160%;
    letter-spacing: 2.4px;
    color: #fff;
    margin: 0;
}
.size_season {
    margin-bottom: 48px;
}
.size_season_title {
    font-weight: 700;
    font-size: 20px;
    line-height: 160%;
    letter-spacing: 1.6px;
    color: var(--main-color);
    margin: 0 0 24px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.size_subcategory {
    margin-bottom: 32px;
}
.size_subcategory_title {
    font-weight: 600;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: 1.2px;
    color: #fff;
    margin: 0 0 20px;
}
.size_product_pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 16px;
}
.size_table_note {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 8px;
}
.size_flagship_note {
    margin: 0 0 28px;
    color: var(--main-color);
}
.size_season--stack > .size_product + .size_product {
    margin-top: 40px;
}
.size_product {
    min-width: 0;
}
.size_product_title {
    font-weight: 600;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 1.2px;
    color: #fff;
    margin: 0 0 16px;
    text-align: center;
}
.size_season > .size_product {
    margin-bottom: 32px;
}
.modal.active .size_product .tbl_wrap {
    overflow: visible;
    height: auto;
}
.modal_head .close {
    display: none;
    flex-shrink: 0;
    height: 51px;
    width: 51px;
    position: relative;
    top: auto;
    right: auto;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 8;
}
.modal_head .close img {
    display: block;
    width: 100%;
    height: 100%;
}
.modal.active .modal_head .close {
    display: block;
}

/* テーブル */
.tbl_wrap {
    overflow-x: auto;
}
.modal.active table {
    width: 100%;
    height: auto;
    font-weight: 600;
    line-height: 160%;
    letter-spacing: 1.6px;
    font-size: 14px;
    color: #000;
}
.tbl_header {
    background-color: #FAD500;
    font-size: 16px;
    border-bottom: 3px solid #0F151D;
}
.row_header {
    background-color: #cfcfcf;
}
.modal.active table th,td {
    text-align: center;
    vertical-align: middle;
    border: 1px solid #0F151D;
}
.modal.active table th {
    padding: 12px 8px;
}
.modal.active table td {
    padding: 12px 8px;
}
.modal.active table tr {
    height: 48px;
}
.modal.active table td {
    background-color: #fff;
}
.rim {
    text-align: left;
    vertical-align: top;
    padding: 14px 16px;
    font-size: 16px;
    background-color: #fff;
}
@media screen and (max-width: 1100px) {
    .modal.active {
        width: 92%;
        max-width: none;
    }
}

@media screen and (max-width: 768px) {
    .modal.active {
        width: 94%;
        max-height: calc(100vh - 40px);
        top: 20px;
        transform: translateX(-50%);
    }
    .modal_head {
        gap: 12px;
        margin-bottom: 20px;
    }
    .modal_body {
        overflow-x: hidden;
    }
    .modal_head .close {
        width: 44px;
        height: 44px;
        margin-top: 2px;
    }
    .modal_main_title {
        font-size: 18px;
        letter-spacing: 1.2px;
    }
    .size_season_title {
        font-size: 16px;
    }
    .size_product_title {
        font-size: 15px;
    }
    .size_product_pair {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .size_table_note,
    .size_flagship_note {
        font-size: 13px;
        line-height: 1.7;
    }
    .modal.active .size_product .tbl_wrap {
        overflow-x: auto;
        overflow-y: visible;
        max-width: 100%;
        width: 100%;
        margin: 0;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }
    .modal.active .size_product .tbl_wrap table {
        width: auto;
        min-width: 100%;
    }
    .modal.active table {
        font-size: 13px;
        letter-spacing: 0.4px;
        line-height: 1.55;
    }
    .tbl_header {
        font-size: 13px;
        letter-spacing: 0;
    }
    .tbl_header th {
        padding: 14px 6px;
        line-height: 1.45;
        white-space: normal;
        word-break: keep-all;
    }
    .modal.active table tr {
        height: auto;
    }
    .modal.active table td {
        padding: 14px 8px;
    }
    .modal.active table td.col-size,
    .modal.active table td.col-code {
        padding: 14px 10px;
        line-height: 1.65;
        word-break: break-word;
        overflow-wrap: anywhere;
        min-width: 3.6em;
        max-width: 5.5em;
    }
    .modal.active table td.col-size {
        min-width: 4.2em;
        max-width: 6em;
    }
    .modal.active table td.col-code {
        min-width: 4.8em;
        max-width: 6.5em;
        font-size: 13px;
        letter-spacing: 0;
    }
    .rim {
        font-size: 13px;
        padding: 14px 10px;
        min-width: 2.2em;
        white-space: nowrap;
    }

    #modal-allseason .tbl_wrap {
        overflow-x: hidden;
    }
    #modal-allseason table {
        table-layout: fixed;
        width: 100%;
        font-size: 13px;
        letter-spacing: 0;
    }
    #modal-allseason .tbl_header th,
    #modal-allseason table td {
        padding: 10px 4px;
        word-break: break-word;
        white-space: normal;
    }
    /* 列幅の配分（4列合計100%） */
    #modal-allseason .tbl_header th:nth-child(1) { width: 30%; } /* 路面状況 */
    #modal-allseason .tbl_header th:nth-child(2) { width: 26%; } /* オールシーズン */
    #modal-allseason .tbl_header th:nth-child(3) { width: 22%; } /* スタッドレス */
    #modal-allseason .tbl_header th:nth-child(4) { width: 22%; } /* サマー */

    /* 3個目（Competition）：8列をスマホ幅に収める */
    #modal-competition .tbl_wrap {
        overflow-x: auto;
    }
    #modal-competition table {
        table-layout: fixed;
        width: 100%;
        min-width: 0;
        font-size: 13px;
        letter-spacing: 0;
        line-height: 1.5;
    }
    #modal-competition .tbl_header {
        font-size: 13px;
    }
    #modal-competition .tbl_header th,
    #modal-competition table td {
        padding: 10px 3px;
        word-break: break-word;
        overflow-wrap: anywhere;
        white-space: normal;
    }
    #modal-competition .tbl_header th:nth-child(1) { width: 8%; }
    #modal-competition .tbl_header th:nth-child(2) { width: 26%; }
    #modal-competition .tbl_header th:nth-child(3) { width: 8%; }
    #modal-competition .tbl_header th:nth-child(4) { width: 6%; }
    #modal-competition .tbl_header th:nth-child(5) { width: 11%; }
    #modal-competition .tbl_header th:nth-child(6) { width: 10%; }
    #modal-competition .tbl_header th:nth-child(7) { width: 21%; }
    #modal-competition .tbl_header th:nth-child(8) { width: 10%; }
    #modal-competition table td.col-size,
    #modal-competition table td.col-code {
        min-width: 0;
        max-width: none;
        padding: 10px 3px;
        font-size: 13px;
    }
    #modal-competition .rim {
        min-width: 0;
        padding: 10px 3px;
        font-size: 13px;
        white-space: normal;
    }
}

/* 製品紹介モーダル */
.modal-back {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1f2326;
    opacity: 0.8;
    z-index: 100;
}

.modal-back.open {
    display: block;
}

.modal-resize {
    display: none;
    position: fixed;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90vw;
    max-width: 1140px;
    max-height: 90vh;
    max-height: 90dvh;
    background-color: #34424C;
    border: 3px solid var(--main-color);
    border-radius: 20px;
    z-index: 101;
    flex-direction: column;
    box-sizing: border-box;
}

/* 表示された時のクラス（JSと連動） */
.modal-resize.open-modal {
    display: flex;
}

.modal-content {
    padding: 50px;
    position: relative;
    display: flex;
    gap: 60px;
    box-sizing: border-box;
    flex: 1;
    min-height: 0;
    align-items: stretch;
    overflow-y: auto;
}

.modal-image,
.modal-content-left {
    flex-shrink: 0;
    max-height: 100%;
    display: flex;
    align-items: flex-start;
}

.modal-image img {
    display: block;
    max-width: 425px;
    max-height: 100%;
    object-fit: contain;
    width: 30vw;
}

.modal-details,
.modal-content-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 0;
}
.modal-details:has(.modal-info-box),
.modal-content-right:has(.modal-content-right-bottom) {
    overflow: hidden;
}

.modal-details:has(.modal-info-box) > .modal-description,
.modal-content-right:has(.modal-content-right-bottom) > .modal-content-right-top {
    flex: 0 1 auto;
    max-height: 35%;
    overflow-y: auto;
    flex-shrink: 1;
}


/* デフォルト（modal-info-boxが無い場合） */
.modal-description,
.modal-content-right-top {
    flex-shrink: 0;
}

.modal-description p,
.modal-content-right-top p {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    margin: 0;
}

.modal-info-box,
.modal-content-right-bottom {
    background-color: #E8E8EB;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

.modal-info-box {
    padding: 25px 50px 30px 50px;
}

.modal-info-box h4,
.modal-content-right-bottom h4 {
    color: var(--main-color);
    font-weight: 700;
    margin: 0;
}

.modal-info-box h4 {
    font-size: 22px;
}

.modal-info-box p {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

.modal-info-box ul,
.modal-feature-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
    padding-right: 10px;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

/* PRAGMATA以降のモーダルのスタイル */
.modal-content-left img {
    display: block;
    width: 30vw;
    max-width: 425px;
    height: auto;
    max-height: 425px;
    object-fit: contain;
}

.modal-content-right-bottom {
    padding: 20px 50px 30px 50px;
}

.modal-content-right-bottom h4 {
    font-size: 18px;
}

.modal-info-box ul li,
.modal-feature-list li {
    color: #000;
    font-size: 15px;
    font-weight: 400;
    padding: 10px 0 10px 20px;
    position: relative;
}

.modal-info-box ul li::before,
.modal-feature-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    top: 14px;
    color: var(--black);
    font-size: 8px;
}

.modal-header {
    padding: 30px 40px 30px 80px;
    position: relative;
    background-color: var(--blackdark);
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    flex-shrink: 0;
}

/* .modal-header::before {
    content: '';
    position: absolute;
    left: -110px;
    top: -37px;
    width: 211px;
    height: 300px;
    background-image: url('../img/partner/partner_r.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 1;
} */

.modal-header h3 {
    color: var(--main-color);
    font-size: 48px;
    font-weight: 700;
    line-height: 100%;
    margin: 0;
}

.modal-close-button {
    position: absolute;
    top: -20px;
    right: -20px;
    background: none;
    border: none;
    cursor: pointer;
    width: 51px;
    height: 51px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    z-index: 112;
}

.modal-close-button img {
    width: 51px;
    height: 51px;
}

.modal-close-button:hover {
    opacity: 0.7;
}
@media screen and (max-width: 1024px) {
    .modal-content {
        padding: 30px;
    }
    .modal-info-box {
        padding: 30px;
    }
}
@media screen and (max-width: 768px) {
    .modal-content {
        flex-direction: column;
        padding: 25px;
        height: 70vh;
        height: 70dvh;
        overflow-y: auto;
        gap: 30px;
    }

    .modal-header {
        padding: 25px 40px;
    }
    .modal-header h3 {
        font-size: 30px;
    }
    /* .modal-header::before {
        left: -80px;
    } */
    .modal-image img,
    .modal-content-left img {
        width: 300px;
        height: 200px;
    }

    /* 構造A（RAZAR MT772など旧モーダル） */
    .modal-details:has(.modal-info-box),
    .modal-content-right:has(.modal-content-right-bottom) {
        overflow: visible;
    }
    
    .modal-details:has(.modal-info-box) > .modal-description,
    .modal-content-right:has(.modal-content-right-bottom) > .modal-content-right-top {
        flex: none;
        max-height: none;
        overflow-y: visible;
    }
    
    .modal-info-box,
    .modal-content-right-bottom {
        flex: none;
        min-height: auto;
        overflow: visible;
        padding: 20px 30px;
    }
    .modal-feature-list {
        flex: none;
        overflow-y: visible;
        min-height: auto;
    }
}
/*---------------------------------

  動画モーダル

---------------------------------*/
.videos-modal-back {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 110;
}

.videos-modal-back.open {
    display: block;
}

.videos-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 1020px;
    background-color: #000;
    border: 8px solid var(--main-color);
    box-shadow: 0 4px 54px 0 var(--main-color);
    z-index: 111;
    padding: 0;
    box-sizing: border-box;
}

.videos-modal.open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.videos-modal video {
    width: 100%;
    height: auto;
    display: block;
}

.videos-modal-close-button {
    position: absolute;
    top: -20px;
    right: -20px;
    background: none;
    border: none;
    cursor: pointer;
    width: 51px;
    height: 51px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    z-index: 112;
}

.videos-modal-close-button img {
    width: 51px;
    height: 51px;
}

.videos-modal-close-button:hover {
    opacity: 0.7;
}
