@charset "UTF-8";
html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  position: relative;
  font-family: "メイリオ", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "Yu Gothic", "游ゴシック", "ＭＳ ゴシック", "MS Gothic", sans-serif;
}

main {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

section,
article {
  scroll-margin-top: 4rem;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

input[type=text],
input[type=email],
input[type=tel],
textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus,
textarea:focus {
  border-color: #888;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  outline: none;
}

/* 送信ボタン */
input[type=submit] {
  width: 100%;
  padding: 12px;
  background-color: #0059aa;
  color: #fff;
  font-size: 16px;
  text-align: center;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

input::-moz-placeholder, textarea::-moz-placeholder {
  color: #818181;
  opacity: 1;
}

input::placeholder,
textarea::placeholder {
  color: #818181;
  opacity: 1;
}

select {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  background-color: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none;
  /* ブラウザ標準の矢印を非表示 */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23888' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
}

select:focus {
  border-color: #888;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  outline: none;
}

label > .required {
  color: red;
}

select:has(option[value=""]:checked) {
  color: #818181;
}

option {
  color: #000;
}

option[value=""] {
  color: #818181;
}

/* チェックボックス本体 */
input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
  vertical-align: middle;
  margin-right: 8px;
}

/* チェックされた時 */
input[type=checkbox]:checked {
  background-color: #333;
  border-color: #333;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M20.285 6.709l-11.01 11.01-5.556-5.556 1.414-1.414 4.142 4.142 9.596-9.596z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

/* フォーカス時 */
input[type=checkbox]:focus {
  outline: none;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  border-color: #888;
}

.checkbox {
  margin-bottom: 15px;
  display: block;
}

a {
  word-break: break-all;
  overflow-wrap: anywhere;
}

.sup_r {
  font-size: 0.7rem;
  position: relative;
  top: -0.4rem;
}

@media (max-width: 768px) {
  .br_none {
    display: none;
  }
}
#header {
  position: fixed;
  width: 100%;
  height: 4rem;
  z-index: 1000;
  background: #fff;
  display: flex;
}
@media (max-width: 768px) {
  #header {
    display: block;
  }
}

#header_logo {
  overflow: hidden;
  width: 20%;
}
@media (max-width: 768px) {
  #header_logo {
    display: flex;
    width: 100%;
  }
}

#logo {
  padding: 0.5rem;
  width: 100%;
  height: 4rem;
}
@media (max-width: 768px) {
  #logo {
    width: 90%;
    display: flexbox;
  }
}
#logo img {
  height: 100%;
}

#header_nav_btn {
  display: none;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 2rem;
  height: 2rem;
  line-height: 1;
  z-index: 1001;
  padding: 1rem;
}
@media (max-width: 768px) {
  #header_nav_btn {
    display: block;
    width: 20%;
    text-align: right;
  }
}

@media (min-width: 768px) {
  #header_nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  #header_nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  #header_nav li {
    position: relative;
  }
  #header_nav > ul > li > a {
    height: 4rem;
    display: flex;
    align-items: center;
    height: 4rem;
    padding: 0 1rem;
  }
  #header_nav a:hover {
    text-decoration: underline;
  }
  #header_nav ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 15rem;
    display: none;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  #header_nav ul ul li a {
    padding: 0.75rem 1rem;
    display: block;
    color: #333;
    border-bottom: 1px solid #eee;
  }
  #header_nav li:hover > ul {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }
}
@media (max-width: 768px) {
  #header_nav {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background: #fff;
    transition: right 0.3s ease;
    z-index: 1000;
  }
  #header_nav ul {
    list-style: none;
    padding: 0;
    margin: 60px 0 0;
  }
  #header_nav li {
    position: relative;
  }
  #header_nav li a {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid #ccc;
    font-size: 1.2rem;
    color: #333;
    text-decoration: none;
    flex: 1;
  }
  #header_nav ul ul {
    display: none;
    background: none;
    box-shadow: none;
  }
  #header_nav li.open > ul {
    display: block;
  }
  #header_nav ul ul li a {
    padding-left: 2rem;
    font-size: 1rem;
  }
  #header_nav.active {
    right: 0;
  }
}

#overlay {
  display: none;
}
@media (max-width: 768px) {
  #overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  #overlay.active {
    display: block;
  }
}

/* ▼ PC用サブメニューのアニメーション */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#footer {
  background: #fff;
  border-top: 1px solid #1c276d;
  font-size: 0.8rem;
}
@media (max-width: 768px) {
  #footer {
    text-align: right;
  }
}

#footer_above {
  padding: 1rem;
}
@media (min-width: 768px) {
  #footer_above {
    display: flex;
  }
}

#footer_left h1 img {
  height: 3rem;
}
#footer_left p {
  padding: 0 1rem;
}
@media (min-width: 768px) {
  #footer_left {
    width: 15rem;
  }
}

@media (min-width: 768px) {
  #footer_right {
    flex: 1;
  }
}
@media (max-width: 768px) {
  #footer_right {
    padding: 1rem;
  }
}

#footer_nav a {
  text-decoration: underline;
}
@media (min-width: 768px) {
  #footer_nav ul {
    display: flex;
    justify-content: flex-end;
  }
  #footer_nav li {
    padding-left: 1rem;
  }
  #footer_nav a:hover {
    text-decoration: none;
  }
}
@media (max-width: 768px) {
  #footer_nav li {
    margin-bottom: 1rem;
  }
}

#footer_under {
  background: #fff;
  color: #000;
  text-align: center;
  font-size: 0.7rem;
  padding: 0.5rem;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(76, 138, 195, 0.9);
  color: #fff;
  padding: 15px;
  text-align: center;
  z-index: 1000;
  font-family: sans-serif;
  font-size: 0.9rem;
}

#cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

#cookie-banner button {
  margin-left: 10px;
  padding: 0.5rem 2rem;
  background: #0059aa;
  border: none;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}
@media (min-width: 1024px) {
  #cookie-banner button {
    display: block;
    margin: 1rem auto 0;
  }
}

#cookie-banner button:hover {
  background: #666;
}

.contents {
  padding-top: 4rem;
  background: #fff;
}

.contents_title {
  width: 100%;
  background-image: url("../img/for_patients/title.png");
  background-repeat: no-repeat;
  background-size: cover;
  color: #003399;
  font-size: 3rem;
  box-sizing: border-box;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .contents_title {
    height: 330px;
    padding-top: 100px;
    padding-left: 115px;
    font-size: 3rem;
  }
}
@media (max-width: 768px) {
  .contents_title {
    font-size: 2rem;
    padding: 20px;
    background-position: center;
  }
}

@media (min-width: 768px) {
  .contents_text {
    margin: 50px auto 100px;
    width: 80%;
  }
}
@media (max-width: 768px) {
  .contents_text {
    padding: 15px 15px 50px;
  }
}
.contents_text h1 {
  color: #003399;
}
@media (min-width: 768px) {
  .contents_text h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 3rem;
  }
}
@media (max-width: 768px) {
  .contents_text h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
  }
}
.contents_text p,
.contents_text ul {
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .contents_text p,
  .contents_text ul {
    margin-left: 2rem;
  }
}
@media (max-width: 768px) {
  .contents_text p,
  .contents_text ul {
    padding: 0 1rem;
  }
}
.contents_text p.ml0 {
  margin-left: 0;
}
.contents_text ul {
  list-style: disc;
}
@media (min-width: 768px) {
  .contents_text ul {
    padding-left: 1rem;
  }
}
@media (max-width: 768px) {
  .contents_text ul {
    padding-left: 2rem;
  }
}
.contents_text a {
  text-decoration: underline;
}/*# sourceMappingURL=common.css.map */