:root {
    --base-width: 1366; /* デザインの基準幅 */
    scroll-behavior: smooth;
}

.parallax {
    background-image: url(../img/back_0221.png);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
}

.float {
    font-size: 120px;
    font-family: "Inter", sans-serif;
    margin-left: 50px;
    line-height: 1;
    opacity: 0.2004;
}

@media screen and (orientation: portrait) {
    .float {
        margin-left: 40px;
    }
}

@media screen and (max-width: 649px), screen and (max-height: 649px) {
    .float {
        font-size: 60px;
        margin-left: 20px;
    }
}

.index-kv__container,
.index-about__container,
.index-work__container,
.index-access__container,
.index-contact__container {
    height: 100vh;
}

@media screen and (orientation: landscape) and (max-height: 649px) {
    .index-kv__container,
    .index-about__container,
    .index-work__container,
    .index-access__container,
    .index-contact__container {
        height: calc(100vh * 1.5);
    }
}

.index-kv,
.index-about,
.index-work,
.index-access,
.index-contact {
    height: 100%;
}

.index-kv__inner,
.index-about__inner,
.index-work__inner,
.index-access__inner,
.index-contact__inner {
    height: 100%;
    position: relative;
}

/*
header
 */
.header {
    width: 100%;
    height: 80px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    z-index: 1;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    margin: 15px 45px 0 44px;
}


.header__logo-img {
    width: 45px;
    height: 45px;
}

.header__nav {
    width: 289px;
}

.header__nav-list {
    display: flex;
    justify-content: space-between;
    margin: 8px 0 0 0;
}

.header__nav-link {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
}

@media screen and (orientation: portrait) {
    .header__inner {
        margin: 18px 35px 0 40px;
    }

    .header__nav {
        width: 313px;
    }

    .header__nav-link {
        font-size: 18px;
    }
}

@media screen and (max-width: 649px), screen and (max-height: 649px) {
    .header {
        height: calc(80px / 2);
    }

    .header__inner {
        margin: 9px 17.5px 0 20px;
    }


    .header__logo-img {
        width: calc(45px / 2);
        height: calc(45px / 2);
    }

    .header__nav {
        width: calc(313px / 2);
    }

    .header__nav-list {
        margin: 4px 0 0 0;
    }

    .header__nav-link {
        font-size: calc(18px / 2);
        line-height: calc(24px / 2);
    }
}

/*
kv
 */
.index-kv__img {
    width: 250px;
    height: 250px;
    position: absolute;
    top: 0;
    right: 4px;
    bottom: 4px;
    left: 0;
    margin: auto;
}

@media screen and (orientation: portrait) {
    .index-kv__img {
        width: 346px;
        height: 346px;
        top: 6px;
        right: 0;
        bottom: 0;
        left: 0;
    }
}

@media screen and (max-width: 649px), screen and (max-height: 649px) {
    .index-kv__img {
        width: calc(346px / 2);
        height: calc(346px / 2);
        top: calc(3px / 2);
        right: 0;
        bottom: 0;
        left: 0;
    }
}

/*
about
 */
.index-about__img {
    width: 536px;
    height: 536px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50%), calc(-50% + 2px / 2));
    opacity: 0.4475;
    mix-blend-mode: hard-light;
}

.index-about__txt1 {
    font-size: 34px;
    font-weight: bold;
    line-height: 68px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% + (261px - 683px) / 2), calc(-50% + (263px - 319px) / 2));
}

.index-about__txt2 {
    font-size: 10px;
    line-height: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% + (275px - 811px) / 2), calc(-50% + (472px - 152px) / 2));
}

@media screen and (orientation: portrait) {
    .index-about__img {
        width: 514px;
        height: 514px;
        transform: translate(calc(-50%), calc(-50% + (210px - 610px) / 2));
    }

    .index-about__txt1 {
        top: unset;
        bottom: 322px;
        left: 40px;
        transform: unset;
    }

    .index-about__txt2 {
        font-size: 18px;
        line-height: 36px;
        top: unset;
        bottom: 72px;
        left: 54px;
        transform: unset;
    }
}

@media screen and (max-width: 649px), screen and (max-height: 649px) {
    .index-about__img {
        width: calc(514px / 2);
        height: calc(514px / 2);
        transform: translate(calc(-50%), calc(-50% + (210px - 610px) / 4));
    }

    .index-about__txt1 {
        font-size: calc(34px / 2);
        line-height: calc(68px / 2);
        top: unset;
        bottom: calc(322px / 2);
        left: calc(40px / 2);
        transform: unset;
    }

    .index-about__txt2 {
        font-size: calc(18px / 2);
        line-height: calc(36px / 2);
        top: unset;
        bottom: calc(72px / 2);
        left: calc(54px / 2);
        transform: unset;
    }
}

/*
work
 */
.index-work__img {
    width: 1001px;
    height: 1033px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% + (-130px - 495px) / 2), calc(-50% + (12px + 274px) / 2));
    opacity: 0.45;
    mix-blend-mode: hard-light;
}

.index-work__txt {
    width: calc(267px * 2 + 55px);
    height: calc(211px * 2 + 5px);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% + (646px - 131px) / 2), calc(-50% + (151px - 187px) / 2));
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 5px;
}

@media screen and (orientation: portrait) {
    .index-work__img {
        width: 100vw;
        height: 100vw;
        top: 80px;
        left: 50%;
        transform: translateX(-50%);
    }

    .index-work__txt {
        top: unset;
        bottom: 162.5px;
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 649px), screen and (max-height: 649px) {
    .index-work__img {
        width: 100vw;
        height: 100vw;
        top: max(calc(80px / 2), 12vh);
        left: 50%;
        transform: translateX(-50%);
    }

    .index-work__txt {
        width: calc((267px * 2 + 55px) / 2);
        height: calc((211px * 2 + 5px) / 2);
        top: unset;
        bottom: calc(162.5px / 2);
        transform: translateX(-50%);
        row-gap: calc(5px / 2);
    }

    .index-work__txt-img {
        width: calc(267px / 2);
        height: calc(211px / 2);
    }
}

/*
access
 */
.index-access__img {
    width: clamp(0px, calc(592 * 100vw / 750), 592px);
    height: clamp(0px, calc(477 * 100vw / 750), 477px);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% + (563.75px - 210.25px) / 2), calc(-50% + (166px - 125px) / 2));
}

.index-access__txtArea {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% + (230.25px - 958.25px) / 2), calc(-50% + (241px - 197px) / 2));
}

.index-access__txtArea-CoName-area {
    margin-bottom: 15px;
}

.index-access__txtArea-CoName {
    font-size: 14px;
    line-height: 16.8px;
}

.index-access__txtArea-CoAdd-area {
    margin-bottom: 18px;
}

.index-access__txtArea-CoAdd {
    font-size: 12px;
    line-height: calc(16.8px + 5px);
}

.index-access__txtArea-CoGMap-area {
    margin-bottom: 18.58px;
}

.index-access__txtArea-CoTraInfo-area {
    margin-bottom: 57px;
}

.index-access__txtArea-CoTraInfo {
    font-size: 10px;
    line-height: 15px;
}

.index-access__txtArea-ttl2-area {
    margin-bottom: 13px;
}

.index-access__txtArea-ttl2 {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 24px;
    line-height: 40px;
}

.index-access__txtArea-GrCoName-area {
    margin-bottom: 10px;
}

.index-access__txtArea-GrCoName {
    font-size: 14px;
    line-height: 16.8px;
}

.index-access__txtArea-GrCoAdd {
    font-size: 10px;
    line-height: 16px;
    text-decoration: underline;
}

@media screen and (orientation: portrait) {
    .index-access__img {
        top: clamp(0px, calc(275 * 100vw / 1334), 275px);
        left: 50%;
        transform: translateX(-50%);
    }

    .index-access__txtArea {
        top: unset;
        bottom: clamp(0px, calc(149 * 100vw / 1334), 149px);
        left: 50%;
        transform: translateX(-50%);
    }

    .index-access__txtArea-CoName-area {
        margin-bottom: 10px;
    }

    .index-access__txtArea-CoName {
        font-size: 18px;
        line-height: unset;
    }

    .index-access__txtArea-CoAdd-area {
        margin-bottom: 14px;
    }

    .index-access__txtArea-CoAdd {
        font-size: 16px;
        line-height: calc(22px + 6px);
    }

    .index-access__txtArea-CoGMap-area {
        margin-bottom: 14px;
    }

    .index-access__txtArea-CoGMap {
        width: calc(128px * 1.5);
        height: calc(18px * 1.5);
    }

    .index-access__txtArea-CoTraInfo-area {
        margin-bottom: 26px;
    }

    .index-access__txtArea-CoTraInfo {
        font-size: 14px;
        line-height: 20px;
    }

    .index-access__txtArea-ttl2-area {
        margin-bottom: 9px;
    }

    .index-access__txtArea-GrCoName-area {
        margin-bottom: 13px;
    }

    .index-access__txtArea-GrCoName {
        font-size: 18px;
        line-height: unset;
    }

    .index-access__txtArea-GrCoAdd {
        font-size: 14px;
    }
}

@media screen and (max-width: 649px), screen and (max-height: 649px) {
    .index-access__img {
        width: calc(592px / 2);
        height: calc(477px / 2);
        top: max(64px, 16vh);
        left: 50%;
        transform: translateX(-50%);
    }

    .index-access__txtArea {
        top: unset;
        bottom: max(24px, 8vh);
        left: 50%;
        transform: translateX(-50%);
    }

    .index-access__txtArea-CoName-area {
        margin-bottom: calc(10px / 2);
    }

    .index-access__txtArea-CoName {
        font-size: calc(18px / 2);
        line-height: unset;
    }

    .index-access__txtArea-CoAdd-area {
        margin-bottom: calc(14px / 2);
    }

    .index-access__txtArea-CoAdd {
        font-size: calc(16px / 2);
        line-height: calc((22px + 6px) / 2);
    }

    .index-access__txtArea-CoGMap-area {
        margin-bottom: calc(14px / 2);
    }

    .index-access__txtArea-CoGMap {
        width: calc(128px * 0.75);
        height: calc(18px * 0.75);
    }

    .index-access__txtArea-CoTraInfo-area {
        margin-bottom: calc(26px / 2);
    }

    .index-access__txtArea-CoTraInfo {
        font-size: calc(14px / 2);
        line-height: calc(20px / 2);
    }

    .index-access__txtArea-ttl2-area {
        margin-bottom: calc(9px / 2);
    }

    .index-access__txtArea-GrCoName-area {
        margin-bottom: calc(13px / 2);
    }

    .index-access__txtArea-GrCoName {
        font-size: calc(18px / 2);
        line-height: unset;
    }

    .index-access__txtArea-GrCoAdd {
        font-size: calc(14px / 2);
    }
}

/*
contact
 */
.index-contact__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.index-contact__txt {
    margin-top: 33px;
    margin-bottom: 37px;
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 36px;
}

.index-contact__form {
    width: 486px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 5px;
}

.index-contact__form-name {
    grid-column: 1;
    grid-row: 1;
}

.index-contact__form-furigana {
    grid-column: 2;
    grid-row: 1;
}

.index-contact__form-email {
    grid-column: 1/3;
    grid-row: 2;
}

.index-contact__form-company {
    grid-column: 1/3;
    grid-row: 3;
}

.index-contact__form-massage {
    grid-column: 1/3;
    grid-row: 4;
}

.index-contact__form-button {
    grid-column: 1/3;
    grid-row: 5;
}

input {
    width: 100%;
    height: 26px;
    box-sizing: border-box;
}

textarea {
    width: 100%;
    height: 120px;
    box-sizing: border-box;
}

.index-contact__copyright {
    font-size: 9px;
    position: absolute;
    left: 50%;
    bottom: 23.95px;
    transform: translateX(-50%);
}

@media screen and (orientation: portrait) {
    .index-contact__txt {
        margin-top: 0;
        margin-bottom: 48px;
        font-size: 38px;
    }

    .index-contact__form {
        width: 400px;
        gap: 10px
    }

    .index-contact__form-name {
        grid-column: 1/3;
    }

    .index-contact__form-furigana {
        grid-column: 1/3;
        grid-row: 2;
    }

    .index-contact__form-email {
        grid-row: 3;
    }

    .index-contact__form-company {
        grid-row: 4;
    }

    .index-contact__form-massage {
        grid-row: 5;
    }

    .index-contact__form-button {
        grid-row: 6;
        width: 233.79px; /* 長方形の横幅 */
        height: 32.23px; /* 長方形の縦幅 */
        border-radius: 16.115px; /* 縦の半分を指定して左右を半円に */
        font-size: 17px;
        margin: 65px auto 0 auto;
    }

    textarea {
        height: 380px;
    }

    .index-contact__copyright {
        font-size: 12px;
        bottom: 40px;
    }
}

@media screen and (max-width: 649px), screen and (max-height: 649px) {
    .index-contact__txt {
        margin-bottom: 24px;
        font-size: 19px;
    }

    .index-contact__form {
        width: 200px;
        gap: 5px
    }

    .index-contact__form-button {
        width: 116.895px; /* 長方形の横幅 */
        height: 16.115px; /* 長方形の縦幅 */
        border-radius: 8.0575px; /* 縦の半分を指定して左右を半円に */
        font-size: 8.5px;
        margin: 32.5px auto 0 auto;
    }

    textarea {
        height: 250px;
    }

    .index-contact__copyright {
        font-size: 6px;
        bottom: 20px;
    }
}