/* ===== ベース ===== */
* { box-sizing: border-box; }

body {
  background-image: url("../img/black_ocean.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /*background-color: rgb(160, 212, 229);*/
  margin: 0;
  color: #0f2230;
  font-family: Cambria, "Helvetica Neue", Arial, sans-serif;
  display: flex;
  justify-content: center;
}

.blue-wrapper {
  width: 1700px;
  height: 3200px;
  background-color: rgba(255, 255, 255, 0.8);
}

.blue-wrapper h1 {
  color: black;
  font-size: 58px;
  text-align: center;
}

/* 中央ラッパー（ここだけ海の背景）
.main-container {
  width: 1480px;

}*/

/* ===== ナビバー ===== */
.navbar {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px 12px;
  padding-bottom: 0;
  margin-bottom: 0;
  margin-top: 30px;
}
.navbar a {
  font-size: 20px;
  text-decoration: none;
  color: #0f2230;
  background: rgb(126,165,192);
  border: 3px solid #fff;
  border-radius: 6px;
  padding: 6px 10px;
  transition: .25s;
}
.navbar a:hover {
  background: #fff;
  color: rgb(85,131,167);
}

/* ===== ページ3カラム ===== */
.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  gap: 40px;
}

/* 左カラム */
.left-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-right: 120px;
}
.side-image {
  width: 450px;
  height: 480px;
  margin-right: 20px;
  margin-bottom: 80px;
}

.side-image:hover {
  padding: 50px 0px 0px 0px;

}

.street-logo {
  width: 240px;
  height: 520px;
  border-radius: 8px;
}

.center-column {
  background-image: url("../img/osean.jpg");
  text-align: center;
  border-radius: 8px;
}

/* 中央カラム */
.center-column h1 {
  margin: 0 0 12px;
  text-align: center;
  font-size: 48px;
  text-decoration: underline;
}
.text-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 22px;
  text-align: center;
  color: white;
}

.text-box p { margin: 20px 0; }

.history-box {
  /*background-image: url("../img/osean.jpg");*/
  padding: 16px 22px;
  border-radius: 8px;
  text-align: center;
  color: white;
}
.history-box p { margin: 20px 0; }

.contact-box {
  /*background-image: url("../img/osean.jpg");*/
  padding: 16px 22px;
  border-radius: 8px;
  text-align: center;
  color: white;
}
.contact-box p { margin: 20px 0; }

.contact-box h3 {
  text-decoration-line: underline;
}

form {
  text-align: center;
}

label {
  color: white;
}

.member-box {
  background-color: rgb(160, 212, 229, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 450px;
  margin: 20px 0px;
  padding: 20px 0px;
  color: white;
}

.member-box h3 { margin: 0px 0px; 
  text-decoration: underline;}

.member-box p { margin: 20px 0; }

.works-box {
  background-color:rgb(160, 212, 229, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 450px;
  margin: 20px 0px;
  padding: 20px 0px;
  color: white;
}

.works-box a {
  margin: 5px 0px;
  text-decoration: none;
  color: white;
}

.works-box p { margin: 20px 0; }

.main-image { width: 420px; }

.history-image { width: 420px; }

.contact-image { width: 420px; }

.member {
  width: 220px;
  height: 220px;
}

.work {
  width: 220px;
  height: 220px;
}

.works-list {
  background-color: rgb(143, 156, 168);
  width: 1000px;
  height: 600px;
  text-align: center;
  padding: 50px;
  margin: 50px;
}

.works-all-wrapper h1 {
  text-decoration: underline;
}

.works-all-wrapper h3 {
  line-height: 360px;
}

.works-all-wrapper p {
  font-size: 16px;
}

/* 右カラム */
.right-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin-left: 120px;
}
.thumb { width: 360px; }

.works {
  width: 220px;
  height: 220px;
}

/* ===== レスポンシブ（スマホ） ===== */
@media (max-width: 900px) {
  body { justify-content: flex-start; }
  .main-container { width: 100%; }
  .page { grid-template-columns: 1fr; }
  .center-column h1 { font-size: 36px; }
}

/* ===== TOPICS AREA ===== */
.topics-area {
  width: 100%;
  text-align: center;
  padding: 12px 0;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-bottom: 16px;
}

.topics-area h3 {
  font-size: 20px;
  margin-bottom: 6px;
  color: #2d4373;
}

.topic-text {
  font-size: 16px;
  color: #394b6a;
  font-weight: bold;
  min-height: 20px;
  transition: opacity 0.4s ease;
}

