@charset "utf-8";

/* --- 基本リセットと共通設定 --- */
*, *::before, *::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #F7F7F7;
  font-family: "Noto Sans JP", sans-serif, "游ゴシック", "Yu Gothic", Yu Gothic, "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ ゴシック";
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: #262626;
}

/* --- 画像・リスト・リンク --- */
img { display: block; vertical-align: middle; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
/* --- a:hover { color: #d6d3d1; } --- */

.pp { color: inherit; text-decoration: underline; }

/* --- レイアウト関連 --- */
#wrapper {
  max-width: 64rem; /* Tailwind: max-w-5xl */
  margin: 2rem auto 2rem;
  background: #fff;
  padding: 1rem;
}

/* --- ヘッダー再現 --- */
.site-header {
  background-color: #333;
  height: 160px;
}
.header-inner {
  max-width: 64rem;
  height: 160px;
  margin: auto;
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* ↓ロゴとh2を縦に並べる */
.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-title {
  margin-top: 12px;
  font-size: 20px;
  color: white;
  font-weight: bold;
}
.logo-image {
  max-width: 100%;
  width: 400px;
  height: auto;
  margin-top: 24px;
}

.desktop-nav .nav-list {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.desktop-nav a {
  color: white;
  font-size: 14px;
  letter-spacing: normal;
}

/* --- モバイルナビ（オプション） --- */
.hamburger-container { display: none; }
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .hamburger-container { display: flex; }
}

/* --- フッター再現 --- */
.site-footer {
/* background-color: #333; */
/* color: white; */
  text-align: center;
  padding: 24px 16px;
}
.footer-logo {
  width: 192px;
  height: auto;
  margin: 0 auto 24px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-link {
  font-size: 12px;
  font-weight: 300;
  text-decoration: none;
}
.footer-link:hover {
  color: #d6d3d1;
}
.copyright {
  font-size: 12px;
}

/* --- セクションタイトルなど --- */
.section__ttl {
  text-align: center;
  font-weight: bold;
  font-size: 24px;
  color: #fff;
  background: #999;
  padding: 10px;
  margin-bottom: 20px;
}
.section__body {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* --- フォーム --- */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}
.table th, .table td {
  border: none;
  padding: 10px 12px;
  font-size: 14px;
}
.table th {
  background: #fff;
  color: #222;
  width: 25%;
  font-size: 16px;
  text-align: left;
}
.table td {
  background: #fff;
  color: #222;
}

input[type="text"],
input[type="password"],
textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  resize: vertical;
}
input:focus,
textarea:focus {
  border-color: #209dd9;
  outline: none;
}
input[type="submit"],
button {
  border-radius: 0;
}
select {
  border: 1px solid #ccc;
  font-size: 14px;
  padding: 10px;
  border-radius: 4px;
}

/* --- ボタン --- */
.custom-button {
  background-color: #000000;
  color: white;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.1em;
  padding: 1rem 1.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 0;
}
.custom-button:hover {
  background-color: #44403c;
}

.button_box {
  text-align: center;
  margin-top: 1.5rem;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 640px) {
  .section__body {
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .table th,
  .table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  input[type="text"],
  input[type="password"],
  textarea,
  select {
    width: 100%;
    box-sizing: border-box;
  }

  #wrapper {
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
    overflow-x: hidden; /* 横スクロール防止 */
  }
}

/* 必須表示のカスタマイズ */
.red {
  display: inline-block;
  float: right;
  background-color: #eb1600;
  color: #ffffff;
  font-size: 11px; 
  padding: 0.1em 0.4em; 
  border-radius: 3px; 
}