@charset "utf-8";

*, ::before, ::after {
    margin: 0;
    padding: 0;
}

:target {
    scroll-margin-top: 72px;
}

.toggle-menu-button {
    display: none;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    opacity: 0.6;
}

ul {
    list-style: none;
}

.w-container {
    max-width: 1100px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* ヘッダー */
header {
    height: 72px;
    position: fixed;
    inset: 0;
    z-index: 999;
    background-color: #fffdb5;
    opacity: 0.9;
    box-shadow: 0 0 15px -5px #777777;
}
.header-container,.footer-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    color: #95c7d5;
    font-family: "DynaPuff", system-ui;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:"wdth" 100;
}
.header-container img {
    width: auto;
    height: 64px;
}
.header-container ul,.footer-container ul {
    display: flex;
    gap: 32px;
}
.header-container p,.footer-container p {
    font-size: 64px;
}

/* メインビジュアル */
.main-visual {
    margin-top: 72px;
    height: calc(100vh - 72px);
    max-width: 100%;
    background-image: url(../images/mainvisual.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: rgba(255, 255, 255, 0.64);
}
.main-visual-txt {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    font-family: "DynaPuff", system-ui;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:"wdth" 100;
    font-size: 72px;
}

/* タイトルロゴ */
.title-logo,.title-logo-2 {
    position: relative;
    width: 203px;
    height: 151px;
}
h2 {
    z-index: 999;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "DynaPuff", system-ui;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:"wdth" 100;
    color: #95c7d5;
    font-size: 32px;
}
.title-logo,.title-logo-2,h2 {
    margin-left: auto;
    margin-right: auto;
    padding-top: 80px;
}
.title-logo-2 img {
    filter: drop-shadow(6px 5px 0 rgba(84, 119, 133, 0.5));
}
.title-logo img {
    filter: drop-shadow(6px 5px 0 rgba(105, 99, 76, 0.5));
}

/* アバウト */
#about {
    background-color: #FFFDE7;
    padding-bottom: 160px;
}

/* プロフィール */
.profile-container {
    color: #6cafc1;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
}
.profile img {
    aspect-ratio: 1 / 1;
    flex: auto;
    width: 300px;
    height: auto;
    margin-left: 80px;
    object-fit: contain;
}
.profile {
    display: flex;
    flex-direction: row-reverse;
    margin-top: 48px;
}
.profile-inner {
    margin-top: 20px;
    gap: 24px;
}
.profile-text {
    margin-top: 16px;
}
.profile-text h3 {
    font-size: 20px;
    font-weight: 400;
}
.profile-text p {
    margin-top: 8px;
    margin-bottom: 8px;
    font-weight: 300;
    font-size: 16px;
}
.kanji {
    font-size: 32px;
    margin-right: 16px;
}
.hiragana {
    font-size: 18px;
}
.name {
    display: flex;
    align-items: baseline;
}
.name-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 30px;
    font-weight: bold;
    gap: 16px;
}

/* スキル */
.skill {
    margin-top: 32px;
}
.skill h3 {
    font-size: 24px;
    font-weight: 700;
}
.skill-list {
    display:  grid;
    column-gap: 61px;
    row-gap: 40px;
    grid-template-columns: repeat(3,1fr);
    margin-top: 24px;
    margin-bottom: 48px;
}
.skill-list li {
    width: 326px;
    height: 336px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 10px 10px 0 rgba(159, 152, 120, 0.5);
}
.skill-txt {
    text-align: center;
    margin-top: 24px;
    margin-left: 32px;
    margin-right: 32px;
}
.skill-txt dt {
    font-size: 20px;
    font-weight: 700;
}
.skill-txt dd {
    margin-top: 16px;
    font-weight: 300;
}
.skill-list img {
    aspect-ratio: 1 / 1;
    width: 35%;
    height: auto;
    margin-top: 32px; 
    margin-left: 32.5%;
    margin-right: 32.5%;
}
.skill-button {
    display: flex;
    justify-content: flex-end;
}

#works {
    background-color: #C1DEE6;
    padding-bottom: 160px;
}
#works h3 {
    color: #fffdb5;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 80px;
    margin-bottom: 40px;
    font-size: 32px;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 900;
    font-style: normal;
}
.works-txt,.banner-txt,#contact {
    color: #3998b2;
}
.works-txt {
    text-align: center;
    padding-left: 40px;
    padding-right: 40px;
    background-color: rgba(255, 255, 255, 0.5);
    padding-top: 32px;
    border-radius: 0 20px 20px 0;
}
.works-txt, .banner-txt {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 300;
    font-style: normal;
}
.works-txt h4 {
    font-size: 24px;
    font-weight: 700;
    padding-bottom: 32px;
}
.website-container li {
    display: flex;
    margin-bottom: 32px;
}
.reverse {
    flex-direction: row-reverse;
}
.reverse .works-txt {
    padding-left: 0;
    padding-right: 40px;
    padding-left: 40px;
    border-radius: 20px 0 0 20px;
}
.website-container img {
    width: 640px;
    height: 400px;
}
.works-button {
    display: flex;
    justify-content: flex-end;
}
button:not(.toggle-menu-button) {
    display: inline-block;
    padding: 8px 16px;
    font-family: "DynaPuff", system-ui;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:"wdth" 100;
    color: #6cafc1;
    font-size: 16px;
    border-radius: 40px;
    border-width: 3px;
    border-style: solid;
    border-color: #6cafc1;
    cursor: pointer;
    box-shadow: 0px 5px 0 rgba(102, 149, 164, 0.8);
    background: rgba(255, 255, 255, 0.7);
}
button:hover {
    transform: translateY(5px);
    box-shadow: none;
}

/* バナー */
.banner-container {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    max-width: 1100px;
    margin: 0 auto 48px;
    gap: 24px;
}
.banner-container li  {
    width: auto;
    height: 480px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    /* box-shadow: 13px 13px 0 rgba(159, 152, 120, 0.5); */
}
.banner-container img {
    aspect-ratio: 6 / 5;
    width: 250px;
    height: auto;
    margin-top: 32px;
    margin-left: 50px;
    margin-right: 50px;
}
.banner-txt {
    text-align: center;
    margin-top: 24px;
    margin-left: 40px;
    margin-right: 40px;
}
.banner-txt dt {
    font-size: 24px;
    font-weight: 700;
}
.banner-txt dd {
    margin-top: 16px;
}

#contact {
    background-color: #FFFDE7;
}
.form {
    max-width: 1100px;
    max-height: 1020px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    margin-top: 48px;
    padding: 120px 240px;
}
.form-area {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px 40px;
    align-items: start;
}
.form-area input,textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border: 3px solid #95c7d5;
    border-radius: 20px;
    font-size: 16px;
}
.form-area textarea {
  /* 高さを手動で設定したり、行数を指定したりできます */
  height: 300px; /* 例として100pxに設定 */
  resize: vertical; /* 縦方向のみリサイズ可能にする */
  margin-bottom: 48px;
}
.form-area dt {
    width: 200px;
    font-size: 24px;
    font-weight: 700;
    color: #95c7d5;
}
.send-button {
    display: flex;
    justify-content: center;
    align-items: center;
}
.send-button button {
    padding-left: 32px;
    padding-right: 32px;
}

footer {
    background-color: #fffdb5;
    height: 112px;
    display: grid;
    place-items: center;
    padding-top: 32px;
    padding-bottom: 32px;
}
footer small {
    color: #6cafc1;
}


@media (max-width: 768px) {
    .w-container {
        width: 90%
    }

    .header-container {
        position: relative;
        display: flex;
    }
    .header-site-menu {
        width: 100vw;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        color: rgba(255, 255, 255, 0.8);
        background-color: #C1DEE6;
        padding: 15% 0;
        line-height: 88px;
        font-size: 48px;
        display: none;
    }
    .header-site-menu.is-show {
        display: block;
    }
    .toggle-menu-button {
        display: block;
        background-color: transparent;
        border: none;
        color: #95c7d5;
        font-size: 40px;
    }
    .footer-container {
        display: block;
    }
    .header-container p,.footer-container p {
        font-size: 56px;
    }
    .header-container ul,.footer-container ul {
        display: block;
        text-align: center;
        margin-top: 20 auto 0;
    }

    .main-visual {
        background-position: right center;
    }
    .main-visual-txt {
        font-size: 52px;
    }

    #about {
        padding-bottom: 100px;
    }
    .profile {
        display: block;
    }
    .profile-text h3,.profile-text p {
        text-align: center;
    }
    .profile-text h3 {
        font-size: 18px;
        margin-top: 24px;
    }
    .kanji {
        font-size: 24px;
    }
    .hiragana {
        font-size: 16px;
    }
    .profile-container img {
        max-width: 70%;
        width: 100%;
        height: auto;
        margin-left: 15%;
        margin-right: 15%;
    }
    .name {
        justify-content: center;
        margin-top: 40px;
    }

    .skill {
        margin-top: 40px;
    }
    .skill h3 {
        text-align: center;
    }
    .skill-list {
        display: block;
    }
    .skill-list li {
        width: 100%;
        height: 50%;
        margin-bottom: 40px;
    }
    .skill-list img {
        margin: 32px 30% 0; 
        width: 40%;
    }
    .skill-txt {
        margin: 16px 24px 0;
        padding-bottom: 24px;
    }
    .skill-txt dd {
        margin-top: 8px;
    }
    .skill-button {
        justify-content: center;
    }

    #works {
        padding-bottom: 100px;
    }
    .works-txt {
        border-radius: 0 0 20px 20px;
        padding: 8px 24px 32px;
    }
    .works-txt h4 {
        padding-bottom: 16px;
        font-size: 20px;
    }
    .reverse .works-txt {
        border-radius: 0 0 20px 20px;
    }
    .website-container li {
        display: block;
        margin-bottom: 40px;
    }
    .website-container img {
        aspect-ratio: 3 / 2;
        width: 100%;
        height: auto;
    }
    .works-button {
        justify-content: center;
    }
    .banner-container {
        display: block;
    }
    .banner-container li {
        margin-bottom: 40px;
        height: 100%;
    }
    .banner-container img {
        width: 80%;
        height: auto;
        margin: 7% 10% 0;
    }
    .banner-txt {
        margin: 16px 0 0;
    }
    .banner-txt dl {
        margin: 0 10%;
        padding-bottom: 32px;
    }
    .banner-txt dt {
        font-size: 20px;
    }

    #contact {
        padding-bottom: 40px;
    }
    .form {
        padding: 0;
        margin: 0;
    }
    .form-area {
        display: block;
        padding-left: 10%;
        padding-right: 10%;
        padding-top: 48px;
        margin-top: 32px;
    }
    .form-area dt {
        text-align: center;
        margin: 16px auto;
        font-size: 20px;
    }
    .form-area input,textarea {
        padding: 5px;
    }
    .form-area textarea {
        margin-bottom: 24px;
    }
    .send-button {
        padding-bottom: 40px;
    }
    footer {
        height: auto;
        padding-top: 24px;
        padding-bottom: 24px;
    }
    footer li {
        margin: 8px 0;
    }
    footer p {
        margin-top: 10px;
    }
    .footer-container p {
        text-align: center;
    }
}