/* -------------------------
   Secure Pages 共通スタイル
   (price/content_x.html 用)
   ------------------------- */

<?php
header("Content-Type: text/css; charset=UTF-8");
?>



/* ページ全体 */
body {
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.6;
  margin: 40px;
  background-color: #f9f9f9;
  color: #333;
}

/* 見出し */
h1 {
  color: #004080;
  border-bottom: 2px solid #004080;
  padding-bottom: 6px;
  margin-bottom: 20px;
}

h2 {
  color: #004080;
  margin-top: 30px;
  font-size: 1.2em;
}

/* 段落 */
p {
  margin: 10px 0;
}

/* リスト */
ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

ul li {
  margin: 8px 0;
}

/* リンク */
a {
  color: #004080;
  text-decoration: none;
  border-bottom: 1px dotted #004080;
  transition: 0.2s;
}

a:hover {
  color: #c00;
  border-bottom: 1px solid #c00;
}

/* ログアウトリンク */
.logout {
  margin-top: 40px;
  font-size: 0.9em;
}

.logout a {
  color: #666;
  border-bottom: none;
}

.logout a:hover {
  color: #c00;
}

/* ================================
   共通ボタンスタイル
================================= */
.link-list a {
  display: inline-block;
  margin: 10px;
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 0.95em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  color: #fff;
}
.link-list a:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* 戻るボタン（グレー＋白文字） */
.btn-back {
  background: #6c757d;
  color: #fff;
  border: 1px solid #555;
}
.btn-back:hover {
  background: #5a6268;
}

/* 青ボタン */
.btn-blue {
  background: #007BFF;
  color: #fff;
}
.btn-blue:hover {
  background: #0056b3;
}

/* 緑ボタン */
.btn-green {
  background: #28a745;
  color: #fff;
}
.btn-green:hover {
  background: #1e7e34;
}

/* 赤ボタン */
.btn-red, .btn-logout {
  background: #dc3545;
  color: #fff;
}
.btn-red:hover, .btn-logout:hover {
  background: #a71d2a;
}

/* ========= ここから portal.php 専用デザイン =============== */

/* ページ全体（portal専用の上書き） */
body {
    font-family: "Meiryo", sans-serif;
    background-color: #f5f7fa;
    margin: 20px;
    text-align: center;
}

/* portalの見出し */
h2 {
    color: #333;
    margin-bottom: 10px;
}

/* メニューのリスト */
ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin: 10px 0;
}

ul li a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0078d7;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

ul li a:hover {
    background-color: #005a9e;
}

/* 共通お知らせボックス */
.news-box {
    border: 1px solid #ccc;
    background-color: #fff;
    padding: 15px;
    margin-top: 20px;
    text-align: left;
    display: inline-block;
    width: 60%;
    border-radius: 8px;
}

.news-box h3 {
    margin-top: 0;
    color: #0078d7;
}

/* ========= login.php 専用デザイン =============== */

.login-form {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    margin: 40px auto;
    width: 300px;
    border-radius: 8px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
    text-align: left;
}

.login-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.login-form button {
    width: 100%;
    padding: 10px;
    background-color: #0078d7;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.login-form button:hover {
    background-color: #005a9e;
}
