@charset "utf-8";

:root {
    --color-black: #000;
    --color-white: #fff;
    --color-navy: #101842;
}

@media (min-width: 641px) {
    html {
        font-size: 1px;
    }
    body {
        font-size: 16rem;
    }
}
@media (max-width: 640px) {
    html {
        font-size: calc(100 / 390 * 1vw);
    }
    body {
        font-size: 16rem;
    }
}

@font-face {
    font-family: "Toyota Type";
    font-display: swap;
    src: url("../fonts/ToyotaTypeW02-Light.otf") format("opentype"),
         url("../fonts/ToyotaType-Light.ttf") format("truetype");
    font-weight: 300;
}
@font-face {
    font-family: "Toyota Type";
    font-display: swap;
    src: url("../fonts/ToyotaTypeW02-Regular.otf") format("opentype"),
         url("../fonts/ToyotaType-Regular.ttf") format("truetype");
    font-weight: 400;
}
@font-face {
    font-family: "Toyota Type";
    font-display: swap;
    src: url("../fonts/ToyotaTypeW02-Book.otf") format("opentype"),
         url("../fonts/ToyotaType-Book.ttf") format("truetype");
    font-weight: 500;
}
@font-face {
    font-family: "Toyota Type";
    font-display: swap;
    src: url("../fonts/ToyotaTypeW02-Semibold.otf") format("truetype"),
         url("../fonts/ToyotaType-Semibold.ttf") format("truetype");
    font-weight: 600;
}
.font_noto {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
.font_en {
    font-family: "Toyota Type";
    font-weight: 500;
}
.fw300 {
    font-weight: 300;
}
.fw400 {
    font-weight: 400;
}
.fw500 {
    font-weight: 500;
}
.fw600 {
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}
.hover_line:hover .hover_line_txt {
    text-decoration: underline;
}
.news_listitem [target="_blank"] .news_txt_jp::after {
    content: '';
    display: inline-block;
    vertical-align: baseline;
    background: url(../images/icon_external_link.svg) no-repeat center center / contain;
    width: 16px;
    height: 16px;
    position: relative;
    top: 1px;
    vertical-align: baseline;
}

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

.wrapper {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    position: relative;
    overflow: hidden;
}
.container::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: url(../images/bg.jpg) no-repeat center top;
}
.container {
    max-width: 1280px;
    margin-inline: auto;
}
.section_ttl {
    text-align: center;
}
@media (min-width: 641px) {
    .wrapper {
        padding-inline: 40rem;
        padding-bottom: 150rem;
    }
    .container::before {
        top: 35vh;
        background-size: 2511px auto;
    }
    .section_ttl {
        font-size: 40rem;
    }
}
@media (max-width: 640px) {
    .container::before {
        top: calc(50vh - 150rem);
        background-size: 550% auto;
    }
    .section_ttl {
        font-size: 32rem;
    }
}

/* mv */
.mv {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40rem 73rem;
    color: var(--color-navy);
    height: 100svh;
}
.mv_logo {
    flex-shrink: 0;
}
.mv_txt {
    display: flex;
    flex-wrap: wrap;
    max-width: 428px;
}
@media (min-width: 993px) {
    .mv {
        padding-left: 40px;
    }
}
@media (max-width: 992px) {
    .mv {
        flex-direction: column;
    }
}
@media (min-width: 641px) {
    .mv {
        max-height: 770px;
    }
    .mv_txt {
        font-size: 34px;
        gap: 8px;
    }
}
@media (max-width: 640px) {
    .mv {
        padding: 45rem;
        min-height: 550rem;
    }
    .mv_txt {
        font-size: 28rem;
        line-height: 1.4;
    }
}

/* lead */
.lead {
    color: var(--color-white);
    max-width: 800px;
    margin-inline: auto;
}
@media (min-width: 993px) {
    .lead_txt + .lead_txt {
        margin-left: 300px;
    }
}
@media (min-width: 641px) {
    .lead {
        padding-top: 200rem;
    }
    .lead_txt p + p {
        margin-top: 32rem;
    }
    .lead_txt + .lead_txt {
        margin-top: 80rem;
    }
    .lead_txt {
        line-height: 1.8;
        font-size: 16rem;
    }
    .lead_txt.font_en {
        font-size: 18rem;
    }
}
@media (max-width: 640px) {
    .lead {
        padding-inline: 18rem;
    }
    .lead_txt p + p {
        margin-top: 24rem;
    }
    .lead_txt + .lead_txt {
        margin-top: 60rem;
    }
    .lead_txt {
        line-height: 1.7;
        font-size: 14rem;
    }
    .lead_txt.font_en {
        font-size: 16rem;
    }
}

/*-- info --*/
.info {
    background-color: rgba(255,255,255,0.8);
}
@media (min-width: 641px) {
    .info {
        border-radius: 30rem 30rem 0 0;
        margin-top: 140rem;
        padding: 128rem 40rem 95rem;
    }
}
@media (max-width: 640px) {
    .info {
        border-radius: 20rem 20rem 0 0;
        margin-top: 135rem;
        padding: 107rem 18rem 75rem;
    }
}

/* news */
.news {
    max-width: 800px;
    margin-inline: auto;
}
.news_list {
    border-bottom: 1px solid rgba(16, 24, 66, 0.4);
}
.news_listitem {
    display: flex;
    align-items: baseline;
    border-top: 1px solid rgba(16, 24, 66, 0.4);
}
.news_date {
    flex-shrink: 0;
    font-size: 14rem;
}
.news_txt_en {
    font-size: 18rem;
    line-height: 1.8; 
}
.news_txt_jp {
    font-weight: 400;
    line-height: 1.8;
    font-size: 16rem;
    margin-top: 8rem;
}
@media (min-width: 641px) {
    .news_list {
        margin-top: 80rem;
    }
    .news_listitem {
        padding-block: 32rem;
        column-gap: 32rem;
    }
}
@media (max-width: 640px) {
    .news_list {
        margin-top: 56rem;
    }
    .news_listitem {
        flex-direction: column;
        padding-block: 30rem 24rem;
        row-gap: 10rem;
    }
}

/* company */
.company {
    max-width: 800px;
    margin-inline: auto;
}
.company_table {
    width: 100%;
}
.company_table tr + tr {
    border-top: 1px solid rgba(16, 24, 66, 0.4);
}
.company_table th,
.company_table td {
    vertical-align: top;
    text-align: left;
    line-height: 1.8;
}
.company_table_th,
.company_table_td {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.company_table_th {
    row-gap: 4rem;
    padding-right: 20rem;
}
.company_table_td {
    row-gap: 8rem;
}
.company_table_td  a {
    pointer-events: none;
}
.company_ttl_jp {
    font-size: 12rem;
}
.company_txt_jp {
    font-size: 14rem;
}
@media (min-width: 641px) {
    .company {
        margin-top: 130rem;
    }
    .company_table {
        margin-top: 56rem;
    }
    .company_table td {
        width: 62%;
    }
    .company_table th,
    .company_table td {
        padding: 24rem 0;
    }
}
@media (max-width: 640px) {
    .company {
        margin-top: 107rem;
    }
    .company_table {
        margin-top: 32rem;
    }
    .company_table th,
    .company_table td {
        display: block;
    }
    .company_table th {
        padding-block: 24rem 8rem;
    }
    .company_table td {
        padding-block: 8rem 24rem;
    }
    .company_table_th .font_en {
        font-size: 14rem;
    }
}

/*-- footer --*/
.footer {
    padding-block: 90rem 40rem;
    row-gap: 100rem;
    background-color: var(--color-navy);
    color: var(--color-white);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer_contact_btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 240rem;
    border: 1px solid var(--color-white);
    padding: 8rem 8rem 8rem 32rem;
    border-radius: 100rem;
    margin-top: 24rem;
}
.footer_contact_btn_txt {
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.footer_contact_btn_arrow {
    position: relative;
    width: 46rem;
    height: 46rem;
    border: 1px solid var(--color-white);
    flex-shrink: 0;
    border-radius: 50%;
}   
.footer_contact_btn_arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 15rem;
    transform: translateY(-50%) rotate(45deg);
    width: 8rem;
    height: 8rem;
    border-top: 1px solid var(--color-white);
    border-right: 1px solid var(--color-white);
}
.footer_contact_btn_arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16rem;
    height: 1px;
    background-color: var(--color-white);
}
.footer_logo_wrap {
    display: flex;
    flex-direction: column;
    row-gap: 32rem;
}
.footer_copyright {
    font-size: 12px;
    line-height: 1.8;
}
@media(hover:hover) {
    .footer_contact_btn {
        transition: color 0.4s, background-color 0.4s;
    }
    .footer_contact_btn:hover {
        background-color: var(--color-white);
    }
    .footer_contact_btn:hover .footer_contact_btn_txt {
        color: var(--color-navy);
    }
    .footer_contact_btn:hover .footer_contact_btn_arrow,
    .footer_contact_btn:hover .footer_contact_btn_arrow::before{
         border-color: var(--color-navy);
    }
    .footer_contact_btn:hover .footer_contact_btn_arrow::after{
         background-color: var(--color-navy);
    }
}
@media (min-width: 641px) {
    .footer {
        border-radius: 30rem;
    }
}
@media (max-width: 640px) {
    .footer {
        border-radius: 20rem 20rem 0 0;
    }
    .footer_logo {
        max-width: 165rem;
        margin: auto;
    }
}