@charset "utf-8";

/* ===============================
   共通設定（全体）
=============================== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 16px;
  line-height: 2;
  color: #333;
  background: #f0f0f0;
  -webkit-text-size-adjust: none;
}

h1, h2, h3, h4, h5, p, ul, ol, li, dl, dt, dd, form, figure {
  margin: 0;
  padding: 0;
  font-size: 100%;
  font-weight: normal;
}

ul {
  list-style: none;
}

img {
  border: none;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: #1a81bd;
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: #ff4765;
}

/* ===============================
   ヘッダー
=============================== */
header {
  background: url(../images/mainimg.jpg) no-repeat center center / cover;
  height: 100%;
  overflow: auto;
  position: relative;
}

#logo img {
  display: block;
  width: 20%;
  position: absolute;
  left: 40%;
  bottom: 50%;
}

#menubar {
  position: absolute;
  bottom: 20%;
  width: 100%;
  text-align: center;
}

#menubar li {
  display: inline-block;
  margin: 0 1%;
}

#menubar li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  padding: 10px 0;
  font-size: 14px;
  color: #1a81bd;
  border-bottom: 2px solid transparent;
}

#menubar li a i,
#menubar li a span {
  color: #1a81bd;
}

#menubar li a:hover i,
#menubar li a:hover span {
  color: #ff4765;
}

/* ===============================
   レイアウト
=============================== */
#container {
  max-width: 1400px;
  margin: 0 auto;
}

#contents {
  padding: 50px 3%;
  overflow: hidden;
}

#contents section + section {
  padding-top: 50px;
}

#contents h2 {
  font-size: 20px;
  margin-bottom: 20px;
  padding: 0 20px;
  text-align: center;
  letter-spacing: 0.1em;
  background: #222;
  color: #fff;
  border-radius: 100px;
}

#contents h3 {
  font-size: 18px;
  margin-bottom: 20px;
  padding: 0 20px;
  text-align: center;
  border: 2px solid #222;
  border-radius: 100px;
}

#contents p {
  padding: 0 20px 20px;
}

#contents p + p {
  margin-top: -5px;
}

/* ===============================
   What's New
=============================== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  padding-left: 0;
  margin-top: 1em;
}

.news-list li {
  font-size: 0.95em;
  line-height: 1.6;
  padding-left: 1em;
}

.news-date {
  font-weight: bold;
  color: #3a80d3;
  margin-right: 0.5em;
  white-space: nowrap;
}

.newicon {
  background: #ff0000;
  color: #fff;
  font-size: 0.7em;
  padding: 0.1em 0.4em;
  margin-right: 0.5em;
  border-radius: 3px;
}

.toggle-news-btn {
  margin-top: 12px;
  padding: 6px 14px;
  background-color: #1a81bd;
  color: #fff;
  font-size: 14px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.toggle-news-btn:hover {
  background-color: #146a9e;
}

/* ===============================
   ログイン／FAQ／Contact／規約
=============================== */
.login-section, .contact-box {
  background: #f2faff;
  border: 2px solid #1a81bd;
  padding: 30px 20px;
  border-radius: 10px;
  max-width: 700px;
  margin: 30px auto;
  text-align: center;
}

.login-label {
  font-size: 18px;
  font-weight: bold;
  color: #1a81bd;
  margin-bottom: 10px;
}

.login-url-button {
  display: inline-block;
  background-color: #1a81bd;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 25px;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.login-url-button:hover {
  background-color: #146a9c;
}

.login-note-box {
  background: #fff;
  border: 1px dashed #1a81bd;
  border-radius: 6px;
  padding: 15px;
  margin-top: 20px;
  text-align: left;
  font-size: 15px;
}

.faq-question {
  background-color: #1a81bd;
  color: #fff;
  border: none;
  padding: 15px 20px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
  margin: 10px 0;
  position: relative;
}

.faq-question .icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  font-size: 20px;
}

.faq-answer {
  display: none;
  background: #f9f9f9;
  padding: 15px;
  border-left: 4px solid #1a81bd;
  border-radius: 0 0 5px 5px;
  margin-bottom: 10px;
}

.contact-box .email {
  font-size: 20px;
  font-weight: bold;
  color: #1a81bd;
  margin: 20px 0;
}

.line-box {
  background: #fff;
  border: 1px dashed #1a81bd;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.line-box i {
  color: #00c300;
  margin-right: 6px;
}

.terms-box {
  background: #fff5f5;
  border: 2px solid #ff9e9e;
  padding: 25px;
  border-radius: 10px;
  max-width: 700px;
  margin: 30px auto;
  font-size: 15px;
  line-height: 1.8;
}

.terms-intro {
  font-weight: bold;
  margin-bottom: 15px;
  color: #b30000;
  font-size: 16px;
}

.terms-list {
  list-style: disc;
  padding-left: 30px;
  margin-bottom: 20px;
}

.terms-list li {
  margin-bottom: 10px;
}

.terms-link {
  text-align: right;
  font-size: 14px;
}

.terms-link a {
  color: #ff4765;
  font-weight: bold;
}

.terms-link a:hover {
  text-decoration: underline;
}

/* ===============================
   フッター
=============================== */
footer {
  text-align: center;
  background: #222;
  color: #fff;
  font-size: 85%;
  padding: 20px;
}

footer a {
  color: #fff;
}

footer a:hover {
  text-decoration: underline;
}

footer .pr {
  display: block;
  font-size: 80%;
  margin-top: 5px;
}

/* ===============================
   レスポンシブ対応
=============================== */
@media screen and (max-width: 800px) {
  #logo img {
    width: 30%;
    left: 35%;
  }
}

@media screen and (max-width: 480px) {
  #logo img {
    width: 50%;
    left: 25%;
  }

  #contents h2 {
    font-size: 16px;
  }

  #contents h3 {
    font-size: 14px;
  }

  .login-url-button {
    font-size: 14px;
    padding: 10px 20px;
  }

  .faq-question {
    font-size: 15px;
  }

  .toggle-news-btn {
    font-size: 13px;
    padding: 5px 10px;
  }
}

/* ===== 動作環境テーブル ===== */
.env-wrapper {
  overflow-x: auto;          /* 画面幅が狭いときに横スクロール */
}

.env-table {
  width: 100%;
  border-collapse: collapse; /* 枠線を 1 本にまとめる */
  background: #fff;
  font-size: 14px;
}

.env-table th,
.env-table td {
  padding: 8px 12px;
  border: 1px solid #ccc;
}

.env-table thead th {
  background: #1a81bd;      /* 見出しを FAQ の青に合わせる */
  color: #fff;
  text-align: left;
}

.env-table tbody tr:nth-child(even) {
  background: #f8f9fa;      /* 偶数行をうっすら網掛けで見やすく */
}

.guidebook-preview {
  text-align: center;
  margin: 1.5em 0;
}

.guidebook-cover {
  width: 300px;
  max-width: 80%;
  height: auto;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.guidebook-cover:hover {
  transform: scale(1.05);
}
