@charset "utf-8";

/*-- Base Layout ----------------------------------------*/
ol {
    padding-left: 2em;
    line-height: 1.6;
}

ol li {
    list-style-type: decimal;
    display: list-item;
    padding-left: 5px;
    margin-bottom: 15px;
}

ol li:last-child {
    margin-bottom: 0;
}

a {
    -webkit-transition: all 0.15s;
    -moz-transition: all 0.15s;
    -ms-transition: all 0.15s;
    -o-transition: all 0.15s;
    transition: all 0.15s;
}

img {
    border: none;
    max-width: 100%;
    max-height: 100%;
}

body {
    font-family: "游ゴシック Medium", YuGothic, YuGothicM, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
    /*font-family: "Hiragino Kaku Gothic Pro","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;*/
    /*font-family: "筑紫A丸ゴシック","ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","Lucida Grande","segoe UI",Meiryo,Arial,sans-serif;*/
    /*font-family: "游明朝",YuMincho,"ヒラギノ明朝 ProN W3","Hiragino Mincho ProN","HG明朝E","ＭＳ Ｐ明朝","ＭＳ 明朝",serif;*/
    font-size: 16px;
    line-height: 1.75;
    text-align: left;
    word-wrap: break-word;
    /*word-break: break-word;*/
    word-break: break-all;
    letter-spacing: 0.02em;
    color: #333;
    background-color: #F0F0F0;
}

p {
    line-height: 1.8;
}

/*-- コンテンツ共通スタイル ----------------------------------------*/
.header {
    padding: 20px;
    background-color: #39C0FF;
    color: #FFF;
    font-size: 20pt;
}

.case {
    max-width: 1000px;
    width: 90%;
    margin: 50px auto 50px;
}
.case90 {
    width: 90%;
    margin: 50px auto 50px;
}

.bg-blue {
    background-color: #39C0FF !important;
}

.blue {
    color: #39C0FF;
}

.white {
    color: #fff;
}

.mt30 {
    margin-top: 30px;
}

/*-- 薬局情報入力フォーム ----------------------------------------*/
/* ===== タイトル（見出し） ===== */
.ttl01 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 30px 0 10px;
    padding: 7px 3%;
    background-color: #39C0FF;
    color: white;
    line-height: 1;
}

.ttl02 {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.yakkyokuname {
    font-weight: 600;
    font-size: 1.5rem;
    padding: 5px;
    border-bottom: 2px solid #333;
}

.yakkyokuname input {
    width: 100%;
}

/* ===== 入力フォーム（基本情報） ===== */
.form-group01 {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-group01 label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.form-group01 input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
}

.form-group01 textarea {
    width: 100%;
    height: 150px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
}

.form-group01 input[type="date"] {
    width: 200px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
}

.form-group01.arrow {
    position: relative;
}

.form-group01.arrow::before,
.form-group01.arrow::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 2px;
    background: #000;
    right: 22px;
    bottom: 20px;
    transform: rotate(40deg);
}

.form-group01.arrow::after {
    right: 15px;
    transform: rotate(320deg);
}

.form-group01 select {
    background-color: #fff;
    padding: 7px;
}

/* ===== ラジオボタン（会員区分） ===== */
.form-group01 input[type="radio"] {
    margin-right: 5px;
}

.radio-wrapper {
    display: flex;
    gap: 20px;
}

/* ===== 開局時間テーブルのスタイル ===== */
.opening {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background-color: #fff;
}

.opening th,
.opening td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

.opening th {
    background-color: #39C0FF;
    color: white;
    width: 180px;
    text-align: center;
}

/* ===== 曜日ごとの開局情報のテーブル ===== */
.opening table {
    width: 100%;
    border-collapse: collapse;
}

.opening table td {
    border: 1px solid #ddd;
    padding: 8px;
}

/* ===== ラジオボタン（開局 or 閉局） ===== */
.opening input[type="radio"] {
    margin-left: 10px;
}

/* ===== テキスト入力欄（開局時間） ===== */
.opening input[type="text"],
.opening input[type="password"] {
    width: 100%;
    max-width: 200px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
}
.opening textarea {
    width: 100%;
    max-width: 600px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
}


/*-- ログイン画面 ----------------------------------------*/
/* ===== 見出し（タイトル） ===== */
.login-container h1 {
    font-size: 26px;
    margin-bottom: 5px;
    font-weight: bold;
    text-align: center;
}

.login-container h2 {
    font-size: 26px;
    margin-bottom: 30px;
    font-weight: bold;
    text-align: center;
}

/* ===== ログインボックス（フォームの枠） ===== */
.login-box {
    background-color: #F1F1F1;
    max-width: 410px;
    width: 90%;
    padding: 30px;
    margin: 0 auto;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    pointer-events: auto;
    overflow: visible;
}

/* ===== フォームのラベル ===== */
.login-box label {
    display: block;
    font-weight: bold;
    text-align: left;
    margin-bottom: 5px;
    color: #333;
}

/* ===== 入力フィールド ===== */
.login-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

/* ===== ログインボタン ===== */
.login-box button {
    width: 100%;
    background-color: #222;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    margin-top: 30px;
}

.login-box button:hover {
    background-color: #000;
}

/*-- CSVインポート ----------------------------------------*/
/* ===== 見出し ===== */
h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
}

/* ===== インポートボックス（フォームの枠） ===== */
.import-box {
    background-color: white;
    padding: 30px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.import__wrapper {
    display: flex;
    align-items: center;
}

/* ===== ラベル ===== */
.form-label {
    font-weight: bold;
    display: block;
    width: 30%;
}

/* 必須マーク */
.required {
    color: red;
    font-weight: normal;
}

/* ===== ラジオボタン（横並び） ===== */
.radio-group {
    display: flex;
    gap: 20px;
}

.radio-group label {
    display: flex;
    align-items: center;
}

/* ===== ファイル選択ボタン ===== */
input[type="file"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    cursor: pointer;
}

/* ===== 注意書き ===== */
.notice {
    margin: 15px 0;
    border-top: 1px solid #A5A5A5;
    padding-top: 10px;
}

/* ===== インポートボタン ===== */
.import-btn,
.update-btn {
    width: 90%;
    max-width: 300px;
    text-align: center;
    background-color: #222;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    display: block;
    margin-top: 35px;
    margin-left: auto;
    margin-right: auto;
}

.import-btn:hover {
    background-color: #000;
}

.import-btn__wrapper a {
    width: 90%;
    max-width: 300px;
    text-align: center;
    background-color: #222;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    display: block;
    margin-top: 35px;
    margin-left: auto;
    margin-right: auto;
}

.btn-1col {
    display: flex;
    flex-direction: column-reverse;
}


/* --------- 薬局リスト ----------*/

.search-container {
  margin: 1.5em 0;
  display: flex;
  gap: 0.5em;
  align-items: center;
}

.search-container select,
.search-container input[type="text"] {
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}

.search-container button {
  padding: 0.5em 1em;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.search-container button:hover {
  background-color: #0056b3;
}

.btn-edit {
  padding: 0.5em 1em;
  font-size: 1em;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.btn-edit:hover {
  background-color: #0056b3;
}

/* holiday_list.php 用ボタン */
.btn {
  display: inline-block;
  padding: 6px 12px;
  margin-right: 8px;
  border: none;
  border-radius: 4px;
  font-size: 0.9em;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
}

/* 編集ボタン */
.btn-edit {
  background-color: #007bff;
  color: #fff;
}

/* 削除ボタン */
.btn-delete {
  background-color: #dc3545;
  color: #fff;
}

/* ホバー時に少し透明度を下げる */
.btn:hover {
  opacity: 0.85;
}

.btn-group {
  display: flex;
  gap: 10px;       /* ボタン間の余白 */
  width: 500px;
  margin: 20px auto 0; /* お好みで上下の余白 */
}


