@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}
img {
    width: 100%;
    vertical-align: bottom;
}
body {
    width: 100%;
    background-color: rgb(188, 225, 213);
}
.wrap {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 16px;
}

h2 {
    text-align: center;
    margin: 50px;
}
h3 {
    text-align: center;
    margin: 30px 0px 10px 0px;
}
p {
    text-align: center;
}
ul {
    text-align: center;
}

/* ハンバーガー */
.ham {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 10001;
    background-color: #c9d3f5;
    padding: 4px;
}

.ham span {
    width: 100%;
    height: 2px;
    background-color: #003b73fa;
    display: block;
    transition: 0.7s;
}

/* クリック後のスタイル */
.ham.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: #fffffffa;
}
.ham.active span:nth-child(2) {
    transform: translateY(10px) rotate(45deg);
    opacity: 0;
}
.ham.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: #fffffffa;
}

/* nav */
.sp-nav {
    width: 100%;
    height: 130vh;
    background: #003b73d7;
    position: fixed;
    top: -15vh;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* スライダーより前面 */
    opacity: 0;
    transition: 0.7s;
    pointer-events: none;
    font-size: 1.3em;
}

.sp-nav ul {
    list-style: none;
    text-align: center;
}

.sp-nav a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    padding: 10px 20px;
}

.sp-nav li a:hover {
    color: #0d2257;
}

/* navが開いた状態 */
.sp-nav.active {
    opacity: 1;
    pointer-events: all;
}
.pc-nav {
    display: none;
    font-size: 20px;
    margin: 20px;
}

/* header */

header h1 img {
    margin: 20px;
    width: 30%;
}
@media (min-width: 768px) {
    header h1 img {
        width: 200px;
        padding-left: 20px;
    }
    .ham {
        display: none;
    }
    .pc-nav {
        display: block;
    }
    .pc-nav a {
        color: #003b73;
        font-family: "Ramabhadra", sans-serif;
    }

    .pc-nav a:hover {
        color: #57a2cd;
    }
    .pc-nav ul {
        display: flex;
        gap: 30px;
    }
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99999;
        padding: 0 100px;
        width: 100%;
        background-color: rgb(188, 225, 213);
    }
}

/* ヒーロー */
.hero img {
    width: 100%;
    display: block;
    margin: 0 auto;
    border-radius: 30px;
    margin-top: 55px;

}
/* ロゴ */
h1 .hero-logo img {
  width: 300px; /* 好きなサイズで */
  display: block;
  margin: 0 auto;
  margin-top: 40px;
}

@media (min-width: 768px) {
    .hero img {
        margin-top: 100px;
    }
    .hero {
  position: relative;
}

.hero-logo {
  position: absolute;
  top: 90%;
  left: 20%;
  transform: translate(-50%, -50%);
}

h1.hero-logo img {
  width: 400px; /* 好きなサイズで */
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.307);
  border-radius: 30px;
}
}
#TOP h1 {
    margin: 50px;
    text-align: center;
}


/* WORKS */
.works-item {
    background-color: #ffffff69;
    border-radius: 30px;
    padding: 20px;
    text-align: center;

    width: 100%;
    max-width: 500px;
    margin: 40px auto;
}


/* スライダー */
.swiper {
    max-width: 400px;
}

.swiper img {
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: #bfa7c7 !important;
}

.swiper-slide {
    aspect-ratio: 4 / 3;
}

@media (min-width: 768px) {
    .works-flex {
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    .works-item {
        flex: 0 0 48%;
        min-width: 0;
        box-sizing: border-box;
    }

    .swiper,
    .swiper-wrapper {
        width: 100%;
    }

    .swiper-slide img {
        max-width: 100%;
        display: block;
    }
}

