@charset "utf-8";

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: #333;
}

a:hover {
  opacity: 0.6;
}

/* header */
header {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.95);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

.top {
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

h1 {
  font-weight: bold;
  font-size: 1.3rem;
  color: #1a365d;
}

#js-nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
}

.btn {
  color: #fff;
  background-color: #1a365d;
  padding: 10px 20px;
  border-radius: 4px;
}

.menu-trigger {
  display: none;
  position: relative;
  width: 30px;
  height: 24px;
  cursor: pointer;
  z-index: 101;
}

.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #333;
  transition: all 0.4s;
}

.menu-trigger span:nth-of-type(1) {
  top: 0;
}

.menu-trigger span:nth-of-type(2) {
  top: 11px;
}

.menu-trigger span:nth-of-type(3) {
  bottom: 0;
}

.menu-trigger.active span:nth-of-type(1) {
  transform: translateY(11px) rotate(-45deg);
  background-color: #fff;
}

.menu-trigger.active span:nth-of-type(2) {
  opacity: 0;
}

.menu-trigger.active span:nth-of-type(3) {
  transform: translateY(-11px) rotate(45deg);
  background-color: #fff;
}

/* main */
.hero {
  margin-top: 72px;
  height: 80vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(image/hero-image.jpg);
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-text {
  color: #fff;
  text-align: center;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.container {
  max-width: 1100px;
  padding: 0 16px;
  margin: 0 auto;
}

#concept {
  text-align: center;
  padding-top: 120px;
  padding-bottom: 100px;
}

h3 {
  color: #1a365d;
  font-size: 2rem;
  margin-bottom: 20px;
}

.con-text {
  display: flex;
  gap: 50px;
  margin-top: 60px;
}

.image, .text {
  flex: 1;
}

img {
  max-width: 100%;
  vertical-align: bottom;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.text {
  text-align: left;
  display: flex;
  justify-content: center;
  align-items: center;
}

#profile {
  background-color: #f8fafc;
  text-align: center;
  padding: 120px 16px 100px;
}

.table-parent {
  max-width: 800px;
  margin: 100px auto 0;
}

table {
  width: 100%;
  background-color: #fff;
  max-width: 900px;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 30px 20px;
  border-bottom: 1px solid #e2e8f0;
}

th {
  width: 30%;
}

td {
  width: 70%;
}

/* footer */
footer {
  background-color: #1a365d;
  color: #fff;
  padding: 30px;
  text-align: center;
  font-size: 0.9rem;
}

/* フェードイン */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.scroll-in {
  opacity: 1;
  transform: translateY(0);
}

/* SP*/
@media (max-width: 768px) {
  #js-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(26, 54, 93, 0.98);
    z-index: 100;
  }

  #js-nav ul {
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 50px;
  }

  a {
    color: #fff;
    font-size: 1.2rem;
  }

  .btn {
    background-color: #fff;
    color: #1a365d; 
  }

  .menu-trigger {
    display: block;
  }

  .hero {
    height: 60vh;
  }

  .con-text {
    flex-direction: column;
  }

  th,
  td {
    width: 100%;
    display: block;
    padding: 20px;
  }

  th {
    background-color: #f8fafc;
  }
}