/*------------------------------------
共通スタイル
------------------------------------*/

body{
    letter-spacing: 0;
}

.inner{
    width: 100%;
    max-width: 1300px;
    margin-inline: auto;
    padding-left: 50px;
    padding-right: 50px;
}

main{
    margin-left: 100px;
    position: relative;
}

.section{
    padding: 200px 0;
}

.section__heading{
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.section__heading.--white{
    color: #fff;
}

.section__title{
    font-family: var(--mincho);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.11em;
    line-height: 1.4;
    text-align: center;
    margin-top: 18px;
}

.section__title-en{
    font-family: var(--en-font);
    font-size: 100px;
    font-weight: 400;
    line-height: calc(105/100);
    letter-spacing: -0.02em;
    text-align: center;
}

.section__contents{
    margin-top: 60px;
}

.link-btn{
    display: inline-block;
    background-color: var(--red);
    border-radius: calc(1px / 0);
    border: 1px solid var(--red);
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.11em;
    /* margin-left: 0.11em; */
    line-height: 68px;
    text-align: center;
    width: 100%;
    max-width: 400px;
    height: 70px;
    text-align: center;
    position: relative;
}

.link-btn:hover{
    opacity: 1;
    background-color: #fff;
    color: var(--red);
}

.link-btn.--footer{

}

.link-btn::before {
    content: '';
    width: 8px;
    height: 8px;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    position: absolute;
    right: 21px;
    top: 49%;
    transform: rotate(45deg) translateY(-50%);
}

.link-btn:hover::before{
    border-top: solid 2px var(--red);
    border-right: solid 2px var(--red);
}

.link-area{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.link-area__text{
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    line-height: 1.3;
}

.link-area__text .--ja{
    font-family: var(--mincho);
    font-size: 2em;
    letter-spacing: 0.11em;
}

.link-area__text .--en{
    font-family: var(--en-font);
    font-size: 1em;
    letter-spacing: 0.04em;
}

.link-more{
    color: #fff;
    font-family: var(--en-font);
    font-size: 1.125em;
    position: absolute;
    bottom: 15px;
    right: 20px;
}

.link-more span {
    padding-right: 0.8em;
    position: relative;
    letter-spacing: 0.04em;
}

.link-more span::before {
    content: '';
    width: 6px;
    height: 6px;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    position: absolute;
    right: 4px;
    top: 60%;
    transform: rotate(45deg) translateY(-50%);
}

@media (max-width: 1299px) {
    .link-area__text .--ja{
        font-size: 2.46vw;
    }
}

@media (max-width: 1194px) {
    .section{
        padding: max(80px, 15vw) 0;
    }

    .section__title-en {
        font-size: 75px;
    }

    .link-more {
        font-size: 1em;
    }
}

@media (max-width: 1023px) {

    main{
        margin-left: 0;
    }

    .inner{
        padding-left: 5vw;
        padding-right: 5vw;
    }

    .section__title-en {
        font-size: 70px;
    }
}

@media (max-width: 767px) {
    .section__title {
        font-size: max(14px, 2.6vw);
        margin-top: 14px;
    }

    .section__title-en {
        font-size: max(34px, 9vw);
    }

    .link-btn {
        font-size: 18px;
        line-height: 60px;
        max-width: 350px;
        height: 60px;
    }

    .section__contents {
        margin-top: 40px;
    }

    .link-area__text .--ja {
        font-size: 3.6vw;
    }
}

@media (max-width: 499px) {
    .link-btn {
        font-size: 16px;
    }

    .link-area__text .--ja {
        font-size: max(22px, 6vw) !important;
    }
}

/*------------------------------------
MV
------------------------------------*/

.mv{
    background-image: url(../img/top/mv_pc.jpg);
    background-position: top right;
    background-repeat: no-repeat;
    background-size: 75vw;
    padding: 18.5vw 0 48vw;
}

.webp .mv{
    background-image: url(../img/top/mv_pc.jpg.webp);
}

.inner.--mv{
    max-width: 100%;
}

.mv__text-top{
    padding-left: 10.67vw;
}

.mv__text-main{
    font-family: var(--en-font);
    font-size: 5.729vw;
    line-height: 1;
    letter-spacing: -0.02em;
}

.mv__text-sub{
    font-family: var(--mincho);
    font-weight: 500;
    font-size: 1.25vw;
    line-height: 1.4;
    letter-spacing: 0.05em;
    margin-top: 1.458vw;
}

.mv__text-bottom{
    display: flex;
    flex-direction: column;
    gap: 1.04vw;
    font-family: var(--mincho);
    font-size: 2.1875vw;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-align: center;
    margin-left: 0.4em;

    margin-top: -8.8vw;
    padding-bottom: 225px;
}

.mv__text-bottom .--large{
    color: #990000;
    font-size: 3.095em;
    letter-spacing: 0.07em;
    line-height: 1;
    margin-left: 0.3em;
}

.mv__text-bottom .--large span{
    display: inline-block;
    font-size: 4.6875vw;
    position: relative;
}

.mv__text-bottom .--large span:first-of-type{
    vertical-align: top;
    left: 0.1em;
}

.mv__text-bottom .--large span:last-of-type{
    left: -0.2em;
}

@media screen and (min-width: 1920px){
    .mv {
        padding: 355px 0 49vw;
    }
}

@media screen and (max-width: 1499px){
    .mv__text-top {
        padding-left: 5vw;
    }

    .mv__text-main {
        font-size: 6.2vw;
    }

    .mv__text-sub {
        font-size: 1.6vw;
    }

    .mv__text-bottom {
        padding-bottom: max(80px, 15vw);
    }
}

@media (max-width: 1023px) {
    .mv {
        margin-top: 80px;
    }

    .mv__text-top {
        padding-left: 0;
    }

    .mv__text-main {
        font-size: 7.5vw;
    }

    .mv__text-sub {
        font-size: 1.8vw;
        margin-top: 20px;
    }

    .mv__text-bottom {
        font-size: 3vw;
    }
}

@media (max-width: 767px) {
    .mv {
        background-image: url(../img/top/mv_sp.jpg);
        background-position: bottom;
        background-size: 100% auto;
        padding-top: 15vw;
        padding-bottom: 70.5vw;
    }

    .inner.--mv {
        padding-left: 7.3vw;
        padding-right: 7.3vw;
    }

    .mv__text-main {
        font-size: 18vw;
        letter-spacing: 0;
        line-height: 0.9;
    }

    .mv__text-top .sp-block{
        display: block;
    }

    .mv__text-sub{
        font-size: 3.83vw;
        line-height: 1.8;
        letter-spacing: 0.08em;
        margin-top: 5vw;
    }

    .mv__text-bottom {
        margin-top: 80px;
        font-size: clamp(16px, 4.6vw, 30px);
    }
}

@media (max-width: 599px) {
    .mv__text-bottom .--large {
        padding: 0.1em 0;
    }
}

@media (max-width: 499px) {
    .mv {
        margin-top: 70px;
    }
}

@media (max-width: 399px) {
    .mv {
        margin-top: 60px;
    }
}

/*------------------------------------
Corporate
------------------------------------*/
.corporate{
    background-color: #d5d5d5;
    position: relative;
    z-index: 0;
}

.corporate::before{
    content: "";
    display: block;
    background-image: url(../img/top/corporate-bg_pc.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 500px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.webp .corporate::before{
    background-image: url(../img/top/corporate-bg_pc.jpg.webp);
}

.corporate__contents{
    background-color: #fff;
    padding: 80px 100px 120px;
}

.corporate__text{
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: calc(40/18);
    font-feature-settings: "palt";
    text-align: justify;
}

.corporate__text > *+*{
    margin-top: 1.3em;
}

.corporate__link{
    text-align: center;
    margin-top: 55px;
}

@media (max-width: 1194px) {
    .corporate__contents {
        padding: 70px 80px 80px;
    }

    .corporate::before {
        height: 40%;
    }
}

@media (max-width: 767px) {
    .corporate__contents {
        padding: 60px 7vw 70px;
    }

    .corporate__text {
        font-size: 16px;
    }
}

@media (max-width: 599px) {
    .corporate__contents {
        padding: 40px 7vw 50px;
    }

    .corporate__link {
        text-align: center;
        margin-top: 40px;
    }
}

/*------------------------------------
Specialized ALG&Associates
------------------------------------*/
.specialized__link{
    text-align: center;
}

.specialized__items{
    margin-top: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.specialized__item a{
    border: 1px solid var(--green);
    background-color: var(--green);
    aspect-ratio: 380/200;
}

.specialized__item a:hover{
    background-color: #fff;
    opacity: 1;
}

.specialized__item a:hover .link-area__text{
    color: var(--green);
}

.specialized__item a:hover .link-more {
    color: var(--green);
}

.specialized__item a:hover .link-more span::before {
    border-top-color: var(--green);
    border-right-color: var(--green);
}

@media (max-width: 1299px) {
    .specialized__items {
        gap: 2.3vw;
    }

    .specialized__item a {
        aspect-ratio: auto;
        height: 180px;
    }
}

@media (max-width: 1194px) {
    .specialized__item a {
        padding-bottom: 40px;
    }
}

@media (max-width: 1023px) {
    .specialized__item a {
        padding-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .specialized__items {
        margin-top: 60px;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 499px) {
    .specialized__items {
        grid-template-columns: 1fr;
        margin-top: 50px;
    }

    .specialized__item a {
        height: 150px;
    }
}

/*------------------------------------
lawyers
------------------------------------*/
.lawyers__heading{
    background-image: url(../img/top/lawyer-bg_pc.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 220px;
}

.webp .lawyers__heading{
    background-image: url(../img/top/lawyer-bg_pc.jpg.webp);
}

.lawyers .section__title-en{
    letter-spacing: 0;
}

.lawyers__link{
    text-align: center;
}

.lawyers__items{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.lawyers__item a{
    background-size: cover;
    background-repeat: no-repeat;
    aspect-ratio: 59/25;
    overflow: hidden;
    background-position: center;
    transition: background-size 0.3s ease, opacity 0.3s ease;
}

.lawyers__item a:hover{
    background-size: 120%;
    opacity: 1;
}

.lawyers__item:first-of-type a{
    background-image: url(../img/top/link01-bg_pc.jpg);
}

.webp .lawyers__item:first-of-type a{
    background-image: url(../img/top/link01-bg_pc.jpg.webp);
}

.lawyers__item:last-of-type a{
    background-image: url(../img/top/link02-bg_pc.jpg);
}

.webp .lawyers__item:last-of-type a{
    background-image: url(../img/top/link02-bg_pc.jpg.webp);
}

.lawyers__item a::before {
    content: '';
    border: 1px solid #acacac;
    pointer-events: none;
    box-sizing: border-box;
    background-color: transparent;
    width: calc(100% - 20px);
    display: block;
    height: calc(100% - 20px);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lawyers .link-more{
    font-size: 20px;
    bottom: 20px;
    right: 26px;
}

.lawyers .link-more span::before{
    width: 8px;
    height: 8px;
    right: 6px;
    top: 50%;
}

@media (max-width: 1194px) {
    .lawyers__heading {
        padding-top: max(80px, 12vw);
        padding-bottom: max(90px, 13vw);
    }

    .lawyers__item a {
        aspect-ratio: auto;
        height: 200px;
    }
}

@media (max-width: 1023px) {
    .lawyers .link-area__text .--ja {
        font-size: max(22px, 3.5vw);
    }
}

@media (max-width: 767px) {
    .lawyers__item a {
        aspect-ratio: 33/20;
        height: auto;
    }

    .lawyers .link-more {
        font-size: 16px;
        bottom: 18px;
        right: 20px;
    }

    .lawyers .link-more span::before {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 599px) {
    .lawyers__items {
        grid-template-columns: 1fr;
        width: 90%;
        margin-inline: auto;
    }

    .lawyers__item a {
        aspect-ratio: 59/25;
    }
}

@media (max-width: 499px) {
    .lawyers__items {
        width: 100%;
    }

    .lawyers__item a {
        aspect-ratio: 59/25;
    }
}

@media (max-width: 399px) {
    .lawyers__item a {
        aspect-ratio: auto;
        height: 150px;
    }
}


