/* リセット・基本設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.8;
  background-color: #f9f9f9;
  color: #333;
  font-size: 16px;
}

/* ヘッダー */
.header {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-left:15px;
  padding-right:10px;
  margin:0px;
  z-index: 9999; /* 他の要素より前面に表示 */
}


.logo {
  font-size: 1.8rem;
  width:90px;
}

.nav ul {
  padding-top:10px;
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* x, y, blur, color */
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* ファーストビュー */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* 画面の高さ全体 */
  background-image: url('https://rweb-c.sakura.ne.jp/test/sakana/assets/image/top.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white; /* テキストの視認性 */
  text-align: center;
  flex-direction:column;
}

.hero-content {
  background: rgba(0, 0, 0, 0.4); /* 背景をうっすら黒で覆って可読性を上げる */
  padding: 2rem;
  border-radius: 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* x, y, blur, color */
}

.hero p {
  font-size: 1.2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* x, y, blur, color */
}

.page-title {
  background-image: url('https://rweb-c.sakura.ne.jp/test/sakana/assets/image/top2.png'); /* 共通の背景画像などを指定 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 400px; /* 高さは低めに設定 */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.page-title::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* 見出しの可読性を高める半透明オーバーレイ */
}

.page-title h1 {
  position: relative;
  font-size: 2rem;
  z-index: 1;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* x, y, blur, color */
}

/* メインコンテンツ */
.container {
  max-width: 1200px; /* PC表示で広め */
  margin: 3rem auto;
  padding: 0 2rem;
}

/* h2 - メイントピック、強い存在感・海の深さ */
h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #0a3d62;
  font-size: 1.8rem;
  font-weight: bold;
  position: relative;
  padding-left: 1em;
  border-left: 6px solid #0a3d62;
  background: linear-gradient(to right, rgba(10, 61, 98, 0.08), transparent);
}

h2::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #0a3d62;
  border-radius: 2px;
}


/* h3 - サブトピック、小見出しとして柔らかめ */
h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
  color: #145da0;
  font-size: 1.4rem;
  font-weight: bold;
  border-bottom: 2px solid #145da0;
  display: inline-block;
  padding-bottom: 0.2em;
}


/* h4 - 補足・ポイント、波のような装飾をつける */
h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #1e3799;
  font-size: 1.2rem;
  font-weight: bold;
  position: relative;
  padding-left: 1.2em;
}

h4::before {
  content: "🐟";
  font-size: 1em;
  transform: translateY(0.1em);
}


/* 画像 */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem 0;
}

/* Image */

.image {
	border-radius: 4px;
	border: 0;
	display: inline-block;
	position: relative;
}

	.image img {
		border-radius: 4px;
		display: block;
	}

	.image.left, .image.right {
		max-width: 40%;
	}

		.image.left img, .image.right img {
			width: 100%;
		}

	.image.left {
		float: left;
		padding: 0 1.5em 1em 0;
		top: 0.25em;
	}

	.image.right {
		float: right;
		padding: 0 0 1em 1.5em;
		top: 0.25em;
	}

	.image.fit {
		display: block;
		margin: 0 0 2em 0;
		width: 100%;
	}

		.image.fit img {
			width: 100%;
		}

	.image.main {
		display: block;
		margin: 0 0 3em 0;
		width: 100%;
	}

		.image.main img {
			width: 100%;
		}

		@media screen and (max-width: 736px) {

			.image.main {
				margin: 0 0 2em 0;
			}

		}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

a {
  color: #0066cc;
  text-decoration: underline;
}

.link-button {
  display: inline-block;
  background-color: #0a3d62;      /* 深い海のブルー */
  color: #fff;                    /* 白文字 */
  padding: 0.75em 1.5em;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
  margin: 1em auto;
}

.link-button:hover {
  background-color: #145da0;     /* 少し明るめのブルーに変化 */
  box-shadow: 0 6px 10px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

/* 中央寄せラッパー */
.button-center {
  text-align: center;
}


ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

/* テーブル */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

th, td {
  border: 1px solid #ccc;
  padding: 0.75rem;
  text-align: left;
  background-color: #fff;
}

th {
  background-color: #f0f0f0;
}

/* フォーム */
form {
  margin-top: 1rem;
}

form label {
  display: block;
  margin-bottom: 1rem;
}

form input,
form select {
  padding: 0.5rem;
  width: 100%;
  max-width: 400px;
  margin-top: 0.25rem;
}

form input[type="submit"] {
  width: auto;
  background-color: #007acc;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  margin-top: 1rem;
}

/* 画像 */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem 0;
  border-radius: 8px;
}

.footer {
  background-color: #231c62; /* ヘッダーと合わせて落ち着いた紺色 */
  color: #fff;
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 3rem;
}

.footer a {
  color: #a9d1ff;
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer a:hover {
  text-decoration: underline;
}

/* コンテナの幅を揃える */
.footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: rgba(0, 80, 150, 0.8); /* 深めの海系ブルー */
  color: #fff;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 20px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: none;
  z-index: 999;
  transition: opacity 0.3s, transform 0.3s;
}

.back-to-top:hover {
  background-color: rgba(0, 100, 180, 0.9);
  transform: scale(1.1);
}

.br-sp {
  display: none;
}
.image-container {
	position: relative;
	text-align:center;
	width:600px;
	margin: 0 auto;
}
.image-container img {
	width: 100%;
	display: block;
}
.overlay-text {
	position: absolute;
	top: 10px;  /* 画像上部から少し余白 */
	left: 10px;
	right: 10px;
	color:white;
	background: rgba(0, 0, 0, 0.15);
	padding: 10px 15px;
	border-radius: 6px;
}
.overlay-text .title {
	font-size: 1.4rem;
	font-weight: bold;
	margin-bottom: 6px;
}
.overlay-text .caption {
	font-size: 1rem;
	opacity: 0.85;
}


.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  padding-left: 0;
  list-style: none;
  justify-content: space-between;
}

.product-list li {
  flex: 1 1 calc(50% - 1em); /* 2列表示 */
  display: flex;
  align-items: center;
  gap: 1em;
  border: 1px solid #eee;
  padding: 1em;
  border-radius: 8px;
  background-color: #fffefb;
}

.product-list li img {
  width: 64px;
  height: auto;
}

.product-list .desc {
  font-size: 1em;
  font-weight: bold;
  color: #333;
}

.product-list .desc small {
  font-weight: normal;
  color: #666;
  font-size: 0.9em;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .product-list li {
    flex: 1 1 100%; /* 縦並び */
  }
}

 
/* レスポンシブ（スマホ）対応 */
@media screen and (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background: #1d276f;
    width: 100%;
    z-index: 10;
  }

  .nav ul {
    flex-direction: column;
    padding: 1rem;
  }

  .hamburger {
    padding: 1rem;
    display: block;
    z-index:9999;
    color:#0a3d62;
    background-color:#f9f9f966;

  }

  .nav.active {
    display: block;
  }

  .container {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }
  .br-sp {
    display: block;
  }
}
