@charset "UTF-8";

html {
  font-size: 100%;
}

body {
  color: #1a3a52;
  font-family: sans-serif;
  background-color: #fff;
}

body,
h1, h2, h3,
ul, li,
a, p {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

li {
  list-style: none;
}

a {
  color: #1a3a52;
  text-decoration: none;
}

.wrapper {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-family: 'Kaisei Decol';
  font-size: 2.3rem;
  color: #1a3a52;
  padding: 2rem 0;
}

@media screen and (max-width: 767px) {
  .section-title {
    font-size: 1.9rem;
  }
}

/* ============================
    header
============================= */
#header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: linear-gradient(45deg, #eef6f8 0%, #7ab3d9 50%, #b3cc99 50%, #f5f8f3 100%);
}

#header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

#header .navi {
  display: flex;
}

#header .navi li {
  padding-left: 1.5rem;
  font-weight: bold;
}

#header .title {
  max-width: 20rem;
  width: 100%;
  font-family: 'Kaisei Decol';
  font-size: 2rem;
  color: #1a3a52;
}

@media screen and (max-width: 767px) {
  #header .header-inner {
    padding: 0.8rem 0;
  }

  #header .title {
    max-width: 10rem;
    font-size: 1.2rem;
  }

  #header .navi li {
    padding-left: 1rem;
    font-size: 0.8rem;
    font-weight: bold;
  }
}

/* ============================
  mainvisual
============================ */
.mainvisual {
  max-width: 100%;
  padding-top: 4.8rem;
}

.mainvisual .img {
  width: 100%;
  object-fit: cover;
  height: 48rem;
  object-position: 50% 65%;
}

@media screen and (max-width: 767px) {
  .mainvisual {
    padding-top: 3.2rem;
  }

  .mainvisual .img {
    object-fit: cover;
    height: 28rem;
    object-position: bottom;
  }
}

/* ============================
  about
============================ */
.about {
  padding: 5rem 0;
}

.about .content {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.5rem;
}

.about .content .logo {
  width: 30%;
  text-align: center;
}
.about .content .logo img {
  width: 11rem;
  height: 10.8rem;
  border-radius: 50%;
}

.about .content .byn-desc {
  width: 70%;
  padding-left: 20px;
}

.about .content .byn-desc .text {
  max-width: 44rem;
  line-height: 1.8;
  text-align: justify;

}

@media screen and (max-width: 767px) {
  .about {
    padding: 2rem 0;
  }
  .about .content {
    flex-direction: column;
    margin-bottom: 3rem;
  }

  .about .content .logo {
    width: 100%;
    margin-bottom: 2rem;
  }

  .about .content .byn-desc {
    width: 100%;
    padding-left: 0;
  }

  .about .content .description .text {
    font-size: 1rem;
    max-width: 100%;
  }
}

/* ============================
  aqua
============================ */
#aqua {
  scroll-margin-top: 100px;
  background: linear-gradient(0deg, #eef6f8 0%, #7ab3d9 100%);
  padding: 5rem 0;
}

.aqua-title {
  font-family: 'Kaisei Decol';
  font-size: 1.5rem;
  font-weight: normal;
  margin-bottom: 0.5rem;
}

.aqua {
  margin-bottom: 3rem;
}

.aqua .item {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
}
.aqua .img img {
  width: 100%;
}
.aqua .name {
  font-size: 1.2rem;
  text-align: left;
}

@media screen and (max-width: 767px) {
  #aqua {
    padding: 2rem 0;
  }
  .aqua-title {
    font-size: 1.5rem;
  }
  .aqua {
    margin-bottom: 1rem;
  }
  .aqua .item .img {
    text-align: center;
  }
}
/* ============================
  newt
============================ */
#newt {
  scroll-margin-top: 100px;
  background: linear-gradient(180deg, #f5f8f3 0%, #b3cc99 100%);
  padding: 5rem 0;
}

#newt .item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

#newt .name {
  font-size: 1.2rem;
  text-align: left;
}

#newt .img img {
  object-fit: cover;
  width: 100%;
  height: 25rem;
  object-position: 80% 50%;
}

@media screen and (max-width: 767px) {
  #newt {
    padding: 2rem 0;
  }
  #newt .item {
    grid-template-columns: repeat(1, 1fr);
    padding: 0 4rem;
  }
  #newt .img img {
    height: 20rem;
  }
}
@media screen and (max-width: 529px){
  #newt .item {
    padding:  0 1rem;
  }
  #newt .img img {
    height: 16.5rem;
  }
}

/* ============================
  footer
============================ */
.footer {
  padding: 5rem 0;
  text-align: center;
}

.footer .message {
  font-size: 1.6rem;
  color: #1a3a52;
  letter-spacing: 0.2em;
}

@media screen and (max-width: 767px) {
  .footer {
    padding: 3rem 0;
  }
  .footer .message {
    font-size: 1rem;
  }
}

/*--------------
JS
-----------------*/
button.name {
  background: none;
  border: none;
  padding: 0;
  margin: 6px 0 0 0;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

button.name::before {
  content: "▶︎";
  font-size: 14px;
  transition: transform 0.2s ease;
}

button.name.open::before {
  transform: rotate(90deg)
}


.description {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease, opacity 0.28s ease;
  opacity: 0;
  margin-top: 0;
}


.description.active {
  opacity: 1;
}

.description p {
  padding: 0 1.5rem;
  color: #444;
  line-height: 1.6;
  font-size: 14px;
}