@charset "utf-8";

html,
body,
h1,
h2,
h3,
p,
dl,
dt,
dd,
ul,
li {
    margin: 0;
    padding: 0;
    line-height: 1;
    color: white;
    font-family: "dnp-shuei-gothic-kin-std", "minion-pro";
    transition: all 0.5s;
}

/* ダークモードの時(入れ子で書いてOK！) */
body.dark_mode {
    max-width: 1900px;
    margin: 0 auto;
    color: #f1f1f1;
    font-weight: bold;
    background-color: hsla(223, 8%, 10%, 1);
    background-image: radial-gradient(
            at 52% 69%,
            hsla(229, 54%, 8%, 1) 0px,
            transparent 50%
        ),
        radial-gradient(at 92% 9%, hsla(229, 54%, 8%, 1) 0px, transparent 50%),
        radial-gradient(at 23% 86%, hsla(51, 100%, 8%, 1) 0px, transparent 50%),
        radial-gradient(at 95% 92%, hsla(51, 100%, 8%, 1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, hsla(344, 77%, 15%, 1) 0px, transparent 50%),
        radial-gradient(at 54% 41%, hsla(344, 77%, 15%, 1) 0px, transparent 50%),
        radial-gradient(at 0% 0%, hsla(239, 100%, 17%, 1) 0px, transparent 50%);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    border: none;
}

body {
    max-width: 1900px;
    margin: 0 auto;
    color: #ffffff;
    font-weight: bold;
    background-image: radial-gradient(
            at 51% 97%,
            hsl(197, 59%, 56%) 0px,
            transparent 50%
        ),
        radial-gradient(at 34% 44%, hsl(343, 82%, 70%) 0px, transparent 50%),
        radial-gradient(at 2% 44%, hsl(71, 58%, 60%) 0px, transparent 50%),
        radial-gradient(
            at 10% 61%,
            hsla(314, 100%, 76%, 1) 0px,
            transparent 50%
        ),
        radial-gradient(
            at 39% 28%,
            hsla(343, 100%, 76%, 0.79) 0px,
            transparent 50%
        ),
        radial-gradient(
            at 100% 31%,
            hsla(240, 100%, 70%, 0.61) 0px,
            transparent 50%
        ),
        radial-gradient(at 90% 54%, hsla(28, 100%, 74%, 1) 0px, transparent 50%),
        radial-gradient(
            at 61% 12%,
            hsla(189, 100%, 56%, 1) 0px,
            transparent 50%
        ),
        radial-gradient(
            at 29% 80%,
            hsla(355, 100%, 93%, 1) 0px,
            transparent 50%
        ),
        radial-gradient(
            at 57% 61%,
            hsla(340, 100%, 76%, 1) 0px,
            transparent 50%
        ),
        radial-gradient(at 0% 100%, hsla(22, 100%, 77%, 1) 0px, transparent 50%),
        radial-gradient(
            at 94% 96%,
            hsla(240, 100%, 70%, 0.79) 0px,
            transparent 50%
        ),
        radial-gradient(
            at 12% 17%,
            hsla(343, 100%, 76%, 1) 0px,
            transparent 50%
        );
}

/* フェードインさせる要素 */
.block {
    opacity: 0; /* 最初は非表示にしておく */
    transition: all 1s; /* 動きを滑らかに */
}
/* フェードイン用のクラス */
.fadeIn {
    opacity: 1;
}

/* ヘッダー */
header {
    max-width: 100%;
    margin: 0 1%;
    position: relative;
    z-index: 100;
}
/* nav */
.pc_nav {
    margin-bottom: 19px;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 1%;
    position: fixed; /*← fixedで固定 */
    width: 100%;
    height: 60px;
    padding-right: 75px;
    box-sizing: border-box;
    top: 10px;
    left: 0;
}

.pc_nav div {
    font-size: 15px;
    font-family: "minion-pro", serif;
    font-style: normal;
}

/* トグルボタン */
.toggle {
    position: relative;
    width: 90px;
    height: 35px;
    border-radius: 50px;
    overflow: hidden;
    user-select: none;
    cursor: pointer;
}

.toggle input[type="checkbox"] {
    display: none;
}

.toggle span {
    position: absolute;
    text-align: center;
    font-size: 15px;
    top: 50%;
    transform: translatey(-50%);
    font-weight: bold;
    line-height: 1;
    -webkit-transition: 0.2s ease-out;
    transition: 0.2s ease-out;
}

.toggle span:nth-of-type(1) {
    right: 8px;
    color: rgba(0, 0, 0, 0.175);
}

.toggle span:nth-of-type(2) {
    left: 11px;
    color: #fff;
    letter-spacing: 2px;
}

.toggle:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    display: block;
    background: #e9e9eb;
    -webkit-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
}

.toggle:after {
    content: "";
    position: absolute;
    width: 35px;
    height: 35px;
    display: block;
    border-radius: 50px;
    background: #fff;
    box-shadow: 0 9px 28px -6px rgba(0, 0, 0, 0.3);
    -webkit-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
}

.toggle.checked:before {
    background-image: linear-gradient(45deg, #3498db, #9b59b6);
}

.toggle.checked:after {
    left: 55px;
    box-shadow: 0 9px 28px -6px rgba(0, 0, 0, 0.5);
}

/* ハンバーガーメニュー */
/* Common Css must add */
svg {
    height: 40px;
    width: 40px;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
}

.plate {
    height: 41px;
    width: 41px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2;
    background-image: url("../img/humberger-menu.png");
    background-size: cover;
}

.burger {
    filter: url(#gooeyness);
}
.x {
    transform: scale(0);
    transition: transform 400ms;
}
.line {
    fill: none;
    stroke: black;
    stroke-width: 6px;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform-origin: 50%;
    transition: stroke-dasharray 500ms 200ms, stroke-dashoffset 500ms 200ms,
        transform 500ms 200ms;
}
.x .line {
    stroke-width: 5.5px;
}
/* Common Css must add end */

/* First Menu CSS Only */
.plate1 .line2 {
    stroke-dasharray: 40 200;
    stroke-dashoffset: 0px;
}
.plate1 .line3 {
    stroke-dasharray: 40 179;
    stroke-dashoffset: 0px;
}
.active .line {
    transition: stroke-dasharray 500ms, stroke-dashoffset 500ms, transform 500ms;
}
.active.plate1 .line1 {
    transform: scale(0, 1);
    transition: transform 500ms 100ms;
}
.active.plate1 .line2 {
    stroke-dasharray: 5px 200;
    stroke-dashoffset: -164px;
}
.active.plate1 .line3 {
    stroke-dasharray: 5px 179;
    stroke-dashoffset: -142px;
}
.active .x {
    transform: scale(1);
    transition: transform 400ms 350ms;
}
/* First Menu CSS Only end */

/* Second Menu CSS Only */
.plate2 .line1 {
    stroke-dasharray: 21 185.62753295898438;
    transition-delay: 0;
}
.plate2 .line2 {
    stroke-dasharray: 21 178.6514129638672;
    transition-delay: 30ms;
}
.plate2 .line3 {
    stroke-dasharray: 21 197.92425537109375;
    transition-delay: 60ms;
}
.plate2 .line4 {
    stroke-dasharray: 21 190.6597137451172;
    transition-delay: 90ms;
}
.plate2 .line5 {
    stroke-dasharray: 21 208.52874755859375;
    transition-delay: 120ms;
}
.plate2 .line6 {
    stroke-dasharray: 21 186.59703063964844;
    transition-delay: 150ms;
}
.active.plate2 .line1 {
    stroke-dasharray: 5 185.62753295898438;
    stroke-dashoffset: -155px;
}
.active.plate2 .line2 {
    stroke-dasharray: 5 178.6514129638672;
    stroke-dashoffset: -150px;
}
.active.plate2 .line3 {
    stroke-dasharray: 5 197.92425537109375;
    stroke-dashoffset: -190px;
}
.active.plate2 .line4 {
    stroke-dasharray: 5 190.6597137451172;
    stroke-dashoffset: -180px;
}
.active.plate2 .line5 {
    stroke-dasharray: 5 208.52874755859375;
    stroke-dashoffset: -160px;
}
.active.plate2 .line6 {
    stroke-dasharray: 5 186.59703063964844;
    stroke-dashoffset: -186px;
}
.active.plate2 .x {
    transition: transform 400ms 250ms;
}
/* Second Menu CSS Only */

.sp-nav {
    display: none;
}

.sp-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.sp-nav ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.sp-nav li {
    padding: 30px;
    color: aliceblue;
    font-family: "minion-pro", serif;
    font-size: 50px;
}

@media screen and (max-width: 878px) {
    .pc_nav div {
        font-size: 12px;
    }
}

/* ------------------------------------------- */
h1 {
    margin: 170px 0 76px 30px;
    font-size: 104px;
    font-family: "minion-pro", serif;
}

/* section */
.works {
    margin: 0 auto;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.35);
    border-radius: 30px;
}

.works div {
    width: 100%;
    margin: 0 auto;
    margin-top: 20px;
    text-align: center;
}

.works img {
    width: 710px;
    display: block;
    margin: 0 auto;
}

.button {
    width: 293px;
    margin: 0 auto;
    padding: 19px 0 19px 0;
    margin-top: 58px;
    margin-bottom: 58px;
    text-align: center;
    color: black;
    background-color: #fff;
}

.works h3 {
    font-size: 33px;
    margin-bottom: 25px;
}

.classification {
    text-align: center;
    align-items: center;
    margin: 0 40px 25px 40px;
    padding-bottom: 25px;
    font-size: 18px;
    border-bottom: 5px solid gray;
}

.explain {
    width: 600px;
    margin: 0 auto;
    font-size: 17px;
    text-align: left;
    line-height: 1.8;
}

.all_button {
    display: flex;
    margin: 0 auto;
    align-items: center;
    justify-content: space-around;
}

.all_button input {
    width: 80px;
    height: 40px;
    text-align: center;
    font-family: "zen-kaku-gothic-antique", sans-serif;
    background-color: black;
    color: white;
    cursor: pointer;
}

.slick-prev {
    left: 200px;
    z-index: 3;
}

.slick-next {
    right: 200px;
}

.slick-prev,
.slick-next {
    top: 104%;
    display: block;
    display: flex;
    width: auto;
    height: auto;
}

.slick-prev::before,
.slick-next::before {
    content: "";
    display: block;
    width: 50px;
    height: 50px;
    text-align: center;
    color: black;
    font-family: "zen-kaku-gothic-antique", sans-serif;
}

.slick-prev::before {
    content: "back";
    display: block;
    background: black;
    height: calc(tan(60deg) * 40px / 2);
    width: 35px;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.slick-prev::after {
    content: "";
    display: block;
    background: black;
    height: calc(tan(60deg) * 40px / 2);
    width: 35px;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.slick-next::before {
    content: "next";
    display: block;
    background: black;
    height: calc(tan(60deg) * 40px / 2);
    width: 35px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.slick-next::after {
    content: "";
    display: block;
    background: black;
    height: calc(tan(60deg) * 40px / 2);
    width: 35px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.slick-prev span,
.slick-next span {
    font-size: 18px;
    line-height: 1;
    color: black;
    position: absolute;
    top: 130%;
    left: 50%;
    transform: translatex(-50%);
}

@media screen and (max-width: 878px) {
    h1 {
        margin: 60px 0 16px 15px;
        font-size: 60px;
    }

    .works {
        border-radius: 15px;
    }

    .works div {
        margin-bottom: 0;
    }

    .works img {
        width: 211px;
    }

    .button {
        width: 117px;
        padding: 10px;
        margin-top: 24px;
        margin-bottom: 24px;
    }

    .works h3 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .classification {
        margin: 0 40px 16px 40px;
        padding-bottom: 16px;
        font-size: 14px;
        border-bottom: 5px solid gray;
    }

    .explain {
        width: 70%;
        padding-top: 0;
        font-size: 12px;
        line-height: 1.5;
    }

    .all_button input {
        width: 60px;
        height: 30px;
    }

    .slick-prev {
        left: 50px;
        z-index: 3;
    }

    .slick-next {
        right: 50px;
    }

    .slick-prev,
    .slick-next {
        top: 106%;
    }

    .slick-prev::before {
        height: calc(tan(60deg) * 30px / 2);
        width: 25px;
    }

    .slick-prev::after {
        height: calc(tan(60deg) * 30px / 2);
        width: 25px;
    }

    .slick-next::before {
        height: calc(tan(60deg) * 30px / 2);
        width: 25px;
    }

    .slick-next::after {
        height: calc(tan(60deg) * 30px / 2);
        width: 25px;
    }
}

/* Contact */
.callout {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    margin-top: 126px;
    margin-bottom: 80px;
    font-size: 31px;
    letter-spacing: 0.2em;
}

.contactbutton {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: solid white;
    text-align: center;
    line-height: 320px;
    font-size: 50px;
    margin: 0 auto;
    opacity: 0.7;
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}

.contactbutton:hover {
    background-image: linear-gradient(45deg, #3498db, #9b59b6);
    border: none;
    opacity: 1;
}

@media screen and (max-width: 878px) {
    .callout {
        margin-top: 57px;
        margin-bottom: 57px;
        font-size: 13px;
        writing-mode: vertical-rl;
    }

    .contactbutton {
        width: 156px;
        height: 156px;
        line-height: 156px;
        font-size: 24px;
        margin: 0 auto;
    }
}

/* footer */
footer {
    width: 100%;
    padding: 0 1%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
}

small {
    writing-mode: vertical-rl;
}

.footer nav {
    margin-right: 30px;
    display: flex;
    flex-direction: column;
    font-size: 36px;
}

.footer p {
    font-family: "minion-pro", serif;
    padding-bottom: 40px;
}

@media screen and (max-width: 878px) {
    footer {
        width: 100%;
        padding-top: 40px;
        display: flex;
        justify-content: space-between;
    }

    .footer nav {
        margin-right: 30px;
        display: flex;
        flex-direction: column;
        font-size: 32px;
    }

    .footer p {
        padding-bottom: 30px;
    }
}
