/*========= base ===========*/

*,
*:before,
*:after {
    background-repeat: no-repeat;
}

html {
    font-size: 90%;
}

body {
    font-family: "Helvetica Neue", "Arial", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    font-weight: 400;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    color: #303030;
    letter-spacing: 0.2em;
}

h2 {
    width: 100%;
    font-size: 75px;
    text-align: center;
    color: #fff;
    margin-top: 30px;
}

a {
    color: #6ba6e7;
}

a:hover {
    color: #303030;
}

.title-cute {
    color: rgba(0, 0, 0, 0);
    font-family: "Noto Sans Japanese";
    font-size: 72px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-align: center;
    -webkit-text-stroke: 2px #303030;
    text-shadow: 3px 3px #6ba6e7;
}

/*========= header ===========*/
.header {
    width: 100%;
    height: 60px;
    background-color: #6ba6e7;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header__logo {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
}

.obj-arrow {
    position: fixed;
    top: 45px;
    right: 70px;
    z-index: 40;
    width: 150px;
    height: auto;
    transform: rotate(-15deg);
    transition: opacity 0.3s;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

/*========= main ===========*/
.main {
    width: 100%;
    padding: 12px 32px 32px 32px;
    background-color: #eee;
}

/* skill-section */
.skill-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.skill-section__text {
    width: 75%;
    height: auto;
}

.skill-section__text dl dt {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #303030;
    text-decoration: underline;
    text-decoration-color: #6ba6e7;
}

.skill-section__text dl dd {
    padding: 0 0 10px 20px;
}

/* works-section */
.works-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.works-section__contens {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 0;
    margin: 0;
    max-width: 600px;
}

.works-section__contens dl {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style-type: none;
    width: 100%;
}

.works-section__contens__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 calc(50% - 20px);
    box-sizing: border-box;
    margin-bottom: 80px;
}

.works-section__contens dd {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    margin: 0;
}

.works-section__contens dd img {
    /* 幅をリストアイテムに合わせる */
    width: 100%;
    height: auto;
    max-width: 250px;
    cursor: pointer;
}

.works-section__contens__item dt {
    display: none;
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    color: #080808;
    text-decoration: underline;
    text-decoration-color: #6ba6e7;
    text-align: center;
    font-size: 15px;
}

@media only screen and (max-width: 767px) {
    .works-section__contens__item dt {
        font-size: 10px;
    }
}

.works-section__contens__item:hover dt {
    display: block;
}

/* modal */
.modal {
    position: fixed;
    left: 10%;
    top: 10%;
    width: 80%;
    height: 80%;
    margin: 0 auto;
    text-align: center;
    z-index: 100;
    transform: translateX(500%);
}

.modal__close {
    width: 30px;
    height: auto;
    cursor: pointer;
    margin: 0 5px;
}

.modal__item {
    width: 70vh;
    max-width: 600px;
    height: auto;
    width: 100%;
    max-width: 100%; /* モーダルの幅に合わせる */
    max-height: 80vh; /* 高さの最大値を設定 */
    object-fit: contain; /* 画像が収まるように調整 */
}

.overlay {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.3s;
}

/* about-section */
.about-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.about-section__text {
    width: 75%;
    height: auto;
}

/*========= footer ===========*/
footer {
    text-align: center;
    width: 100%;
}

.copylight {
    font-size: 8px;
    margin: 80px 0 10px 0;
}

/*===========================*/
/*========= other ===========*/
/*===========================*/

/* hamburger */
.header__menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 50;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: #fff;
    transform: translateX(100%);
    transition: all 0.3s;
}

.MenuIsOpen {
    transform: translateX(0);
}

.header__menu__header {
    width: 100%;
    height: 60px;
    background-color: #6ba6e7;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header__menu__list {
    width: 100%;
    padding: 0 8px;
}

.header__menu__list__item {
    width: 100%;
    padding: 16px 0 16px 32px;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
}

.button {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 60;
    height: 60px;
    padding: 0 20px;
    background-color: #6ba6e7;
    cursor: pointer;
}

.button-lineTop,
.button-lineMedium,
.button-lineBottom {
    display: block;
    width: 40px;
    height: 4px;
    background-color: #fff;
    margin: 8px 0;
    transition: all 0.3s;
}

.ButtonIsOpen .button-lineTop {
    transform: translateY(12px) rotate(45deg);
}

.ButtonIsOpen .button-lineMedium {
    opacity: 0;
}

.ButtonIsOpen .button-lineBottom {
    transform: translateY(-12px) rotate(-45deg);
}

.header__overlay {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.3s;
}

.OverlayIsOpen {
    visibility: visible;
    opacity: 1;
}

/* Slide Show */
.slide-wrapper {
    width: 100%;
    height: 50vh;
    position: relative;
    overflow: hidden;
}

.slide {
    height: 100%;
    display: flex;
    transition: all 0.6s;
}

.slide div {
    height: 100%;
    font-size: 16px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.Next {
    position: absolute;
    width: 15px;
    height: 15px;
    right: 10px;
    bottom: 50%;
    z-index: 50;
    cursor: pointer;
    border-top: solid 3px #fff;
    border-right: solid 3px #fff;
    -webkit-transform: rotate(45deg) translateY(50%);
    transform: rotate(45deg) translateY(50%);
}

.Prev {
    position: absolute;
    width: 15px;
    height: 15px;
    left: 10px;
    bottom: 50%;
    z-index: 50;
    cursor: pointer;
    border-top: solid 3px #fff;
    border-right: solid 3px #fff;
    -webkit-transform: rotate(-135deg) translateY(50%);
    transform: rotate(-135deg) translateY(50%);
}

.indicator {
    width: 100%;
    position: absolute;
    bottom: 20px;
    display: flex;
    column-gap: 18px;
    z-index: 10;
    justify-content: center;
    align-items: center;
}

.indicator li {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    list-style-type: none;
    border: solid 2px #ccc;
    cursor: pointer;
}

.IsScrollAllowed {
    overflow: hidden;
}

#test__slide,
#test__tab {
    font-size: 40px;
}

/* tab-menu */
.tab {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 60px;
}

.tab__menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    min-height: 50px;
}

.tab__menu-item {
    background-color: silver;
    color: black;
    border-radius: 10px 10px 0 0;
    padding: 10px 0;
    margin: 0 2px;
    font-size: 13px;
    cursor: pointer;
    animation: .3s;
    width: 20%;
    text-align: center;
}

.is-active {
    background-color: #11aaff;
    color: white;
    padding: 13px 0;
}

.tab__panel {
    width: 80%;
    margin: 0 auto;
}

.tab__panel-box {
    border-radius: 10px;
    min-height: 400px;
    height: 50vh;
    padding: 15px;
    font-size: 13px;
}

.tab__panel-box001 {
    background-color: rgb(205, 246, 246);
    display: none;
}

.tab__panel-box002 {
    background-color: rgb(249 227 243);
    display: none;
}

.tab__panel-box003 {
    background-color: rgb(200, 248, 195);
    display: none;
}

.is-show {
    display: block;
}

