@charset "UTF-8";
/*
Theme Name: 坂巻歯科医院 1.2
Theme URI: https://sakamakidc.mom
Version: 1.2
Description: This theme is exclusively for https://sakamakidc.mom.
Author: Malk LLC.
Author URI: http://malkinc.com
License: GNU Gneral Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sakamakidc
*/
.bshadow-card {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); }

.btnshadow {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  border: none;
  border-radius: 2px;
  cursor: pointer; }

.cf:before,
.cf:after {
  content: " ";
  display: table; }

.cf:after {
  clear: both; }

.cf {
  *zoom: 1; }

.bshadow-card {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); }

.btnshadow {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  border: none;
  border-radius: 2px;
  cursor: pointer; }

.cf:before,
.cf:after {
  content: " ";
  display: table; }

.cf:after {
  clear: both; }

.cf {
  *zoom: 1; }

@font-face {
  font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif; }
body {
  font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
  border-top: 5px solid #3e38cc; }

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

html,
body {
  background: #ffffff;
  margin: 0;
  padding: 0;
  color: #333333;
  font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif; }

.contents-wrapper {
  position: relative;
  min-height: 100%;
  height: auto !important; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
  margin: 0;
  padding: 0; }
  h1.jp, h2.jp, h3.jp, h4.jp, h5.jp, h6.jp {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif; }

h1 > a, h2 > a, h3 > a, h4 > a, h5 > a, h6 > a {
  font-weight: 700;
  font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif; }

ul, li {
  list-style: none;
  padding: 0; }

ul, li, p, a {
  text-decoration: none;
  word-wrap: break-word; }

a:hover {
  text-decoration: underline; }

a.thumbnail:active, a.thumbnail:focus, a.thumbnail:hover {
  border: none; }

li a {
  padding: 0; }

img {
  max-width: 100%; }

p {
  font-size: 14px;
  line-height: 1.5em;
  color: #5b728c; }

/* ==================================================================== */
/* 全体レイアウト & コンテナー */
/* -------------------------------------------------------------------- */
#wpadminbar {
  position: fixed; }

#container-site {
  width: 100%; }

.container {
  width: 95%;
  margin: 0 auto; }

#container {
  width: 100%; }

.bshadow-card {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); }

.btnshadow {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  border: none;
  border-radius: 2px;
  cursor: pointer; }

.cf:before,
.cf:after {
  content: " ";
  display: table; }

.cf:after {
  clear: both; }

.cf {
  *zoom: 1; }

.bshadow-card {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); }

.btnshadow {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  border: none;
  border-radius: 2px;
  cursor: pointer; }

.cf:before,
.cf:after {
  content: " ";
  display: table; }

.cf:after {
  clear: both; }

.cf {
  *zoom: 1; }

.bshadow-card {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); }

.btnshadow {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  border: none;
  border-radius: 2px;
  cursor: pointer; }

.cf:before,
.cf:after {
  content: " ";
  display: table; }

.cf:after {
  clear: both; }

.cf {
  *zoom: 1; }

@font-face {
  font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif; }
body {
  font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
  border-top: 5px solid #3e38cc; }

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

html,
body {
  background: #ffffff;
  margin: 0;
  padding: 0;
  color: #333333;
  font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif; }

.contents-wrapper {
  position: relative;
  min-height: 100%;
  height: auto !important; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
  margin: 0;
  padding: 0; }
  h1.jp, h2.jp, h3.jp, h4.jp, h5.jp, h6.jp {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif; }

h1 > a, h2 > a, h3 > a, h4 > a, h5 > a, h6 > a {
  font-weight: 700;
  font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif; }

ul, li {
  list-style: none;
  padding: 0; }

ul, li, p, a {
  text-decoration: none;
  word-wrap: break-word; }

a:hover {
  text-decoration: underline; }

a.thumbnail:active, a.thumbnail:focus, a.thumbnail:hover {
  border: none; }

li a {
  padding: 0; }

img {
  max-width: 100%; }

p {
  font-size: 14px;
  line-height: 1.5em;
  color: #5b728c; }

.logo-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 0 20px;
  width: 85%;
  margin: 10px auto; }
  .logo-area li {
    font-size: 12px; }
    .logo-area li .sp-none {
      display: block; }
    .logo-area li a {
      text-decoration: underline;
      color: #3e38cc; }
      .logo-area li a:hover {
        text-decoration: none; }
      .logo-area li a .header-logo {
        display: block;
        max-width: 70%;
        margin: 0 auto; }
    .logo-area li:first-child {
      width: 100%;
      padding-bottom: 20px; }
    .logo-area li:nth-child(2) {
      width: 70%;
      padding-right: 30px; }
      .logo-area li:nth-child(2) img {
        width: 90%;
        display: block; }
      @media (max-width: 768px) {
        .logo-area li:nth-child(2) .sp-none {
          display: none; } }
    .logo-area li:last-child {
      width: 30%;
      text-align: center; }
      .logo-area li:last-child .mail-button {
        display: block;
        margin: 0 auto;
        color: #ffffff;
        background-color: #625fd6;
        border-radius: 5px;
        font-size: 14px;
        text-align: center;
        color: #ffffff;
        margin-bottom: 10px; }
        .logo-area li:last-child .mail-button a {
          display: block;
          padding: 7px 0;
          border-radius: 5px;
          color: #ffffff; }
          .logo-area li:last-child .mail-button a:hover {
            text-decoration: none;
            background-color: #625fd6;
            color: #ffffff; }
        .logo-area li:last-child .mail-button img {
          height: 25px;
          margin: 2px 0; }
      @media (max-width: 768px) {
        .logo-area li:last-child .sp-none {
          display: none; } }
      @media (max-width: 768px) {
        .logo-area li:last-child br {
          display: none; } }
  @media (min-width: 768px) {
    .logo-area {
      justify-content: space-between;
      margin: 20px auto;
      padding: 0;
      flex-wrap: nowrap;
      max-width: 1080px; }
      .logo-area li:first-child, .logo-area li:nth-child(2), .logo-area li:last-child {
        text-align: center;
        padding: 10px 0; }
      .logo-area li:first-child {
        flex-grow: 1;
        max-width: 40%; }
      .logo-area li .sp-none {
        display: inline-block; }
      .logo-area li .header-logo {
        display: block;
        width: 90%;
        max-width: 250px;
        margin: 0 auto 0 0;
        margin-bottom: -20px; }
      .logo-area li:nth-child(2) {
        width: 40%;
        margin-right: 20px;
        border-left: 2px dashed #3e38cc;
        border-right: 2px dashed #3e38cc;
        padding: 0 10px;
        padding-top: 20px; }
        .logo-area li:nth-child(2) img {
          margin: 0 auto;
          max-width: 80%; }
        .logo-area li:nth-child(2) .pc-none {
          display: none; }
      .logo-area li:last-child {
        width: 30%;
        max-width: 400px; }
        .logo-area li:last-child .mail-button {
          display: inline-block;
          font-size: 12px; }
          .logo-area li:last-child .mail-button a {
            text-decoration: none;
            display: block;
            padding: 0; }
            .logo-area li:last-child .mail-button a img {
              display: inline-block;
              vertical-align: middle;
              margin-top: -2px; }
          .logo-area li:last-child .mail-button .sp-none {
            display: none; } }
      @media (min-width: 768px) and (min-width: 1100px) {
        .logo-area li:last-child .mail-button {
          padding: 0 10px;
          padding-top: 3px; }
          .logo-area li:last-child .mail-button .sp-none {
            display: inline-block; } }

@media (max-width: 768px) {
  .else {
    width: 100%; }
    .else li:first-child {
      margin-top: -30px;
      margin-bottom: -10px;
      width: 100%;
      text-align: left;
      height: 80px; }
    .else li .header-logo {
      position: absolute;
      left: 20;
      width: 250px; }
    .else li:last-child, .else li:nth-child(2) {
      display: none; }
    .else li .header-logo {
      margin: 0;
      z-index: 900; } }

.global-menu {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #5b728c;
  margin-bottom: -16px; }
  .global-menu li {
    text-align: center;
    border-top: 1px solid #5b728c; }
    @media (max-width: 768px) {
      .global-menu li {
        width: 50%; } }
    .global-menu li:nth-child(odd) {
      border-right: 1px solid #5b728c; }
    .global-menu li a {
      display: block;
      padding: 10px 0;
      background-color: #f7f6f5;
      color: #3e38cc; }
      .global-menu li a:hover {
        background-color: #625fd6;
        color: #ffffff;
        text-decoration: none; }
      .global-menu li a img {
        display: inline-block;
        height: 30px;
        width: auto;
        vertical-align: middle; }
  @media (min-width: 768px) {
    .global-menu {
      width: 100%;
      max-width: 1080px;
      margin: 0 auto;
      border-top: 1px solid #3e38cc;
      border-bottom: 1px solid #3e38cc;
      padding: 5px 0;
      border-bottom: -50px;
      position: relative; }
      .global-menu li {
        flex-grow: 1;
        border: none;
        border-right: 1px dashed #3e38cc; }
        .global-menu li a {
          background-color: #ffffff; }
        .global-menu li a:hover {
          padding: 15px 0;
          margin: -5px 0; }
        .global-menu li:nth-child(odd) {
          border-right: 1px dashed #3e38cc; }
        .global-menu li:last-child {
          border-right: none; } }

.accordion {
  background-color: #ffffff;
  position: relative; }
  @media (max-width: 768px) {
    .accordion {
      width: 100%;
      margin: 0;
      margin-top: -90px; }
      .accordion .item {
        position: absolute;
        top: 20px;
        right: 20px;
        margin: 0 0 0 auto;
        position: relative;
        z-index: 900;
        width: 50px;
        height: 50px;
        margin-bottom: 50px; }
        .accordion .item .sp-menu {
          height: 50px;
          width: auto; }
          .accordion .item .sp-menu:hover {
            cursor: pointer; } }
  @media (min-width: 768px) {
    .accordion {
      width: 100%;
      background-color: #ffffff; }
      .accordion .item {
        display: none; } }

.bottom-bluebox {
  clear: both;
  background-color: #3e38cc;
  padding: 70px 20px;
  margin-bottom: 20px; }
  @media (min-width: 768px) {
    .bottom-bluebox {
      padding: 70px 20px 350px; } }
  .bottom-bluebox .inbox {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    color: #ffffff; }
    .bottom-bluebox .inbox h2 {
      color: #ffffff; }
      .bottom-bluebox .inbox h2 span {
        color: #ffffff; }
        .bottom-bluebox .inbox h2 span:after {
          border-bottom: 1px solid #ffffff; }
    .bottom-bluebox .inbox h3 {
      margin-bottom: -10px;
      margin-top: 15px;
      font-size: 22px;
      color: #ffffff;
      text-align: left; }
    .bottom-bluebox .inbox p {
      color: #ffffff;
      text-align: left; }
  .bottom-bluebox hr {
    margin: 30px 0;
    border: 1px dashed #ffffff !important; }
  @media (min-width: 768px) {
    .bottom-bluebox hr {
      display: none; }
    .bottom-bluebox .inbox h3 {
      font-size: 33px; } }

.page-bottom img {
  width: 60%;
  display: block;
  margin: 0 auto; }
.page-bottom .inbox p {
  text-align: center; }
.page-bottom .inbox .button {
  border: 1px solid #ffffff; }
  .page-bottom .inbox .button a {
    padding: 15px 0; }
    .page-bottom .inbox .button a img {
      position: static;
      width: 30px;
      height: auto;
      display: inline-block;
      vertical-align: middle;
      margin-top: -5px;
      margin-right: 5px; }
@media (min-width: 768px) {
  .page-bottom {
    display: flex;
    justify-content: space-around; }
    .page-bottom .inbox {
      width: 50%; }
    .page-bottom .border {
      border-left: 2px dashed #ffffff; } }

footer {
  margin: 0; }
  footer .inbox {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 30px; }
    footer .inbox .logo {
      display: block;
      margin: 0 auto;
      width: 280px; }
  @media (min-width: 768px) {
    footer .inbox .logo {
      margin: 0 auto 50px 0; } }

#footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; }
  #footer-menu li {
    border-top: 1px solid #3e38cc;
    width: 47%;
    text-align: center;
    font-size: 12px;
    padding: 0; }
    #footer-menu li:last-child, #footer-menu li:nth-last-child(2) {
      border-bottom: 1px solid #3e38cc; }
    #footer-menu li img {
      height: 25.2px;
      display: inline-block;
      vertical-align: middle;
      margin: 0;
      padding: 0;
      margin-top: -1px; }
    #footer-menu li span {
      display: inline-block;
      margin-top: 15px; }
    #footer-menu li a {
      display: block;
      color: #3e38cc;
      padding-bottom: 5px; }
      #footer-menu li a:hover {
        text-decoration: none;
        background-color: #625fd6;
        color: #ffffff; }
  @media (min-width: 768px) {
    #footer-menu {
      width: 60%; }
      #footer-menu li {
        border: none;
        width: 30%;
        font-size: 14px; }
        #footer-menu li:last-child, #footer-menu li:nth-last-child(2) {
          border: none; } }

#fb {
  display: block;
  background-color: #cccccc;
  color: #ffffff;
  line-height: 80px;
  padding-left: 40px;
  width: 38%;
  height: 200px;
  float: right;
  margin-top: 40px; }
  @media (max-width: 768px) {
    #fb {
      display: none; } }

.copyright {
  text-align: center;
  line-height: 2.2em;
  height: 2.2em;
  color: #ffffff;
  background-color: #3e38cc;
  font-size: 12px;
  margin-bottom: -100px; }

h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #3e38cc; }
  h2 span {
    display: block;
    font-size: 12px;
    margin-top: 15px;
    padding-bottom: 15px;
    position: relative;
    color: #3e38cc; }
    h2 span:after {
      display: block;
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      border-bottom: 1px solid #3e38cc;
      width: 100px;
      left: 50%;
      margin-left: -50px; }
  @media (min-width: 768px) {
    h2 {
      font-size: 33px; } }

h3 {
  color: #3e38cc;
  text-align: center;
  font-size: 22px;
  margin: 20px 0; }

.block {
  width: 100%;
  padding: 60px 0; }
  .block p {
    text-align: center;
    line-height: 2em; }

.block-back {
  background-color: #f3eee4; }

.inbox {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px; }

.button {
  display: block;
  margin: 0 auto;
  color: #ffffff;
  background-color: #3e38cc;
  border-radius: 5px;
  font-size: 14px;
  text-align: center;
  width: 140px;
  margin: 10px auto;
  margin-top: 20px;
  position: relative; }
  .button a {
    display: block;
    padding: 7px 0;
    border-radius: 5px;
    color: #ffffff; }
    .button a:hover {
      text-decoration: none;
      background-color: #625fd6;
      color: #ffffff; }
  .button img {
    position: absolute;
    right: 5px;
    height: 14px; }

.more-button {
  display: block;
  margin: 0 auto;
  color: #ffffff;
  background-color: none;
  border-radius: 5px;
  font-size: 14px;
  text-align: center;
  width: 100px; }
  .more-button a {
    display: block;
    padding: 7px 0;
    border-radius: 5px;
    color: #ffffff; }
    .more-button a:hover {
      text-decoration: none;
      background-color: #625fd6;
      color: #ffffff; }
  .more-button a {
    color: #3e38cc;
    border: 1px solid #3e38cc;
    position: relative; }
    .more-button a:after {
      display: block;
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      content: '>';
      top: 7px;
      text-align: right;
      right: 7px; }

.top-image {
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  wight: 100%;
  height: 180px;
  margin-top: 16px;
  position: relative; }
  .top-image:before {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.5); }
  .top-image:after {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-bottom: 1px solid #3e38cc;
    bottom: 20px;
    z-index: 500; }
  .top-image h2 {
    position: absolute;
    display: block;
    width: 100%;
    text-align: center;
    line-height: 180px;
    color: #3e38cc;
    font-size: 22px;
    font-weight: bold;
    z-index: 500; }
  @media (min-width: 768px) {
    .top-image {
      height: 450px; }
      .top-image h2 {
        line-height: 450px;
        font-size: 44px; } }

.page {
  padding: 30px 0; }
  .page h3 {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px; }
    .page h3:after {
      display: block;
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      border-bottom: 1px solid #3e38cc;
      width: 140px;
      left: 50%;
      margin-left: -70px; }
    .page h3 img {
      vertical-align: middle;
      width: auto;
      height: 1.5em;
      margin-right: 10px; }
  .page h4 {
    color: #3e38cc;
    font-size: 28.6px;
    margin: 20px 0; }
    .page h4 span, .page h4 div {
      display: block;
      position: relative;
      color: #625fd6;
      font-size: 19px;
      padding-top: 10px;
      padding-bottom: 20px; }
    .page h4 span:after {
      display: block;
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      width: 100px;
      border-bottom: 1px solid #625fd6; }
      @media (min-width: 768px) {
        .page h4 span:after {
          left: 0%;
          padding-left: 20px; } }
  .page h5 {
    color: #625fd6;
    font-size: 22px;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px; }
    .page h5:after {
      display: block;
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      border-bottom: 1px solid #625fd6;
      width: 100px; }
      @media (min-width: 768px) {
        .page h5:after {
          left: 55%; } }
  .page h6 {
    color: #625fd6;
    font-size: 22px; }
  .page p {
    text-align: left;
    color: #5b728c; }
  .page .inbox {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px; }
  @media (min-width: 768px) {
    .page h3 {
      font-size: 33px; } }

.page-menu .inbox {
  width: 100%; }
  .page-menu .inbox .page-menu-item {
    margin-bottom: 50px; }
    @media (min-width: 768px) {
      .page-menu .inbox .page-menu-item {
        -js-display: flex;
        /*--- IE8, 9---*/
        display: -webkit-box;
        /*--- Androidブラウザ用 ---*/
        display: -ms-flexbox;
        /*--- IE10 ---*/
        display: -webkit-flex;
        /*--- safari（PC）用 ---*/
        display: flex;
        -webkit-box-align: stretch;
        /*--- Androidブラウザ用 ---*/
        -ms-flex-align: stretch;
        /*--- IE10 ---*/
        -webkit-align-items: stretch;
        /*--- safari（PC）用 ---*/
        align-items: stretch;
        -webkit-flex-wrap: wrap;
        /*--- safari（PC）用 ---*/
        flex-wrap: wrap;
        -webkit-box-pack: space-between;
        /*--- Androidブラウザ用 ---*/
        -ms-flex-pack: space-between;
        /*--- IE10 ---*/
        -webkit-justify-content: space-between;
        /*--- safari（PC）用 ---*/
        justify-content: space-between;
        margin: 0 auto;
        margin-bottom: 50px; } }
    .page-menu .inbox .page-menu-item h4.item-heading {
      width: 100%; }
    .page-menu .inbox .page-menu-item img.page-menu-item-img {
      display: block;
      width: 100%;
      margin: 0 auto; }
      @media (min-width: 768px) {
        .page-menu .inbox .page-menu-item img.page-menu-item-img {
          width: 48%; } }
    .page-menu .inbox .page-menu-item .page-menu-item-content {
      width: 100%; }
      @media (min-width: 768px) {
        .page-menu .inbox .page-menu-item .page-menu-item-content {
          width: 48%; } }

@media (min-width: 768px) {
  .page-doctor .inbox .baseinfo {
    -js-display: flex;
    /*--- IE8, 9---*/
    display: -webkit-box;
    /*--- Androidブラウザ用 ---*/
    display: -ms-flexbox;
    /*--- IE10 ---*/
    display: -webkit-flex;
    /*--- safari（PC）用 ---*/
    display: flex;
    -webkit-box-align: stretch;
    /*--- Androidブラウザ用 ---*/
    -ms-flex-align: stretch;
    /*--- IE10 ---*/
    -webkit-align-items: stretch;
    /*--- safari（PC）用 ---*/
    align-items: stretch;
    -webkit-flex-wrap: wrap;
    /*--- safari（PC）用 ---*/
    flex-wrap: wrap;
    -webkit-box-pack: space-between;
    /*--- Androidブラウザ用 ---*/
    -ms-flex-pack: space-between;
    /*--- IE10 ---*/
    -webkit-justify-content: space-between;
    /*--- safari（PC）用 ---*/
    justify-content: space-between;
    margin: 0 auto; } }
.page-doctor .inbox .baseinfo .baseinfo-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto; }
  @media (min-width: 768px) {
    .page-doctor .inbox .baseinfo .baseinfo-img {
      width: 48%; } }
.page-doctor .inbox .baseinfo .baseinfo-desc {
  width: 100%; }
  @media (min-width: 768px) {
    .page-doctor .inbox .baseinfo .baseinfo-desc {
      width: 48%; } }
  .page-doctor .inbox .baseinfo .baseinfo-desc .baseinfo-desc-name {
    margin-bottom: 60px; }
    @media (min-width: 768px) {
      .page-doctor .inbox .baseinfo .baseinfo-desc .baseinfo-desc-name {
        margin-bottom: 30px; } }
    .page-doctor .inbox .baseinfo .baseinfo-desc .baseinfo-desc-name h3 {
      margin-bottom: 0; }
      @media (min-width: 768px) {
        .page-doctor .inbox .baseinfo .baseinfo-desc .baseinfo-desc-name h3 {
          text-align: left; } }
      .page-doctor .inbox .baseinfo .baseinfo-desc .baseinfo-desc-name h3::after {
        width: 0; }
    .page-doctor .inbox .baseinfo .baseinfo-desc .baseinfo-desc-name p {
      position: relative;
      color: #3e38cc;
      text-align: center;
      margin: 0; }
      @media (min-width: 768px) {
        .page-doctor .inbox .baseinfo .baseinfo-desc .baseinfo-desc-name p {
          text-align: left; } }
      .page-doctor .inbox .baseinfo .baseinfo-desc .baseinfo-desc-name p::after {
        display: block;
        content: '';
        position: absolute;
        top: 0;
        bottom: -15px;
        left: 0;
        right: 0;
        border-bottom: 1px solid #3e38cc;
        width: 140px;
        left: 50%;
        margin-left: -70px; }
        @media (min-width: 768px) {
          .page-doctor .inbox .baseinfo .baseinfo-desc .baseinfo-desc-name p::after {
            left: 0;
            margin-left: 0; } }
  @media (min-width: 768px) {
    .page-doctor .inbox .baseinfo .baseinfo-desc .baseinfo-desc-word h6 {
      font-size: 20px; } }
.page-doctor .inbox .background {
  width: 100%; }
  @media (min-width: 768px) {
    .page-doctor .inbox .background {
      -js-display: flex;
      /*--- IE8, 9---*/
      display: -webkit-box;
      /*--- Androidブラウザ用 ---*/
      display: -ms-flexbox;
      /*--- IE10 ---*/
      display: -webkit-flex;
      /*--- safari（PC）用 ---*/
      display: flex;
      -webkit-box-align: stretch;
      /*--- Androidブラウザ用 ---*/
      -ms-flex-align: stretch;
      /*--- IE10 ---*/
      -webkit-align-items: stretch;
      /*--- safari（PC）用 ---*/
      align-items: stretch;
      -webkit-flex-wrap: wrap;
      /*--- safari（PC）用 ---*/
      flex-wrap: wrap;
      -webkit-box-pack: space-between;
      /*--- Androidブラウザ用 ---*/
      -ms-flex-pack: space-between;
      /*--- IE10 ---*/
      -webkit-justify-content: space-between;
      /*--- safari（PC）用 ---*/
      justify-content: space-between;
      margin: 0 auto; } }
  .page-doctor .inbox .background .background-item {
    border-top: 10px solid #3e38cc;
    background-color: #f3eee4;
    color: #3e38cc;
    padding: 20px 10px;
    margin-bottom: 80px; }
    .page-doctor .inbox .background .background-item li {
      width: 100%;
      padding: 10px 0;
      border-bottom: 1px dashed #3e38cc; }
      .page-doctor .inbox .background .background-item li span {
        display: block;
        color: #625fd6;
        font-size: 12px;
        padding-bottom: 5px; }
        .page-doctor .inbox .background .background-item li span:before {
          content: '● '; }
      .page-doctor .inbox .background .background-item li:first-child {
        width: 100%;
        font-weight: bold;
        padding: 0 0 20px 0; }
    @media (min-width: 768px) {
      .page-doctor .inbox .background .background-item {
        margin-top: 80px;
        width: 48%; } }

.about .inbox img.menu-photo {
  display: block;
  margin: 0 auto; }
.about .inbox p {
  text-align: center; }
  @media (min-width: 768px) {
    .about .inbox p {
      font-size: 16.8px; } }

.block-about {
  margin-top: 80px; }
  .block-about ul li {
    padding-bottom: 60px; }
    .block-about ul li:last-child {
      padding-bottom: 0; }
    .block-about ul li .number {
      width: 100px;
      height: auto;
      margin-bottom: -10px;
      display: inline-block;
      vertical-align: middle; }
    .block-about ul li h4 {
      font-size: 26.4px; }
    .block-about ul li .big-photo {
      width: 80%;
      display: block;
      margin: 0 auto; }
    .block-about ul li .small-photo {
      width: 50%;
      float: left;
      margin-right: 20px;
      margin-top: 20px; }
    .block-about ul li p.small {
      text-align: left;
      font-size: 12px;
      margin-top: 30px; }
  @media (max-width: 768px) {
    .block-about ul .font-size {
      font-size: 20px; } }
  @media (min-width: 768px) {
    .block-about ul li .big-photo {
      float: left;
      width: 45%; }
    .block-about ul li .text {
      width: 50%;
      margin: 0 0 0 auto; } }

#hajimete {
  display: block;
  border: 2px solid #3e38cc;
  border-radius: 5px;
  margin: 30px 20px;
  position: relative;
  display: block;
  max-width: 450px;
  margin-top: 100px; }
  #hajimete img {
    float: left;
    width: 70px;
    margin-right: 30px;
    margin-top: 15px;
    display: inline-block; }
  #hajimete a {
    display: block;
    padding: 50px 20px;
    color: #3e38cc;
    font-size: 22px;
    position: relative;
    padding-top: 5px;
    z-index: 50;
    height: 110px; }
    #hajimete a:hover {
      text-decoration: none;
      color: #625fd6; }
    #hajimete a .text {
      display: block;
      float: left;
      padding-top: 20px; }
      #hajimete a .text span {
        display: block;
        font-size: 14px;
        margin-top: 20px;
        padding: 0; }
      #hajimete a .text:after {
        position: absolute;
        display: block;
        content: '>';
        right: 20px;
        top: 40px;
        font-size: 33px; }
  #hajimete:before {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    left: 5px;
    right: 5px;
    bottom: 5px;
    top: 5px;
    border: 2px dashed #3e38cc;
    border-radius: 5px; }
  @media (min-width: 768px) {
    #hajimete {
      margin: 30px auto; } }

#news {
  background-color: #f3eee4;
  border-top: 5px solid #3e38cc;
  margin: 0 20px;
  color: #3e38cc;
  font-size: 19px;
  padding: 10px; }
  #news ul {
    width: 100%; }
    #news ul li {
      border-bottom: 1px dashed #3e38cc; }
      #news ul li:hover {
        border-bottom: 1px solid #3e38cc; }
      #news ul li a {
        display: block;
        padding: 10px;
        color: #3e38cc; }
        #news ul li a:hover {
          text-decoration: none; }
      #news ul li span {
        display: block;
        font-size: 7.2px;
        margin-left: -10px; }
        #news ul li span:before {
          content: '● '; }
  @media (max-width: 768px) {
    #news ul li:nth-child(5), #news ul li:nth-child(6) {
      display: none; } }
  @media (min-width: 768px) {
    #news {
      margin: 0;
      padding: 30px 50px;
      position: relative; }
      #news .topic {
        text-align: center;
        margin-bottom: 20px;
        padding-bottom: 20px;
        position: relative;
        font-size: 26.4px; }
        #news .topic:before {
          display: block;
          content: '';
          position: absolute;
          top: 0;
          bottom: 0;
          left: 0;
          right: 0;
          background-color: rgba(255, 255, 255, 0.5);
          height: 100px;
          width: 100px;
          border-radius: 50px;
          left: 50%;
          margin-left: -400px;
          z-index: 1; }
        #news .topic:after {
          display: block;
          content: '';
          position: absolute;
          top: 0;
          bottom: 0;
          left: 0;
          right: 0;
          border-bottom: 1px solid #3e38cc;
          width: 80px;
          left: 50%;
          margin-left: -40px; }
      #news ul {
        max-width: 1080px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 70%;
        z-index: 500;
        position: relative; }
        #news ul:before {
          position: absolute;
          content: '';
          display: block;
          height: 150px;
          width: 150px;
          border-radius: 75px;
          border: 1px solid #625fd6;
          right: -105px;
          top: -60px; }
        #news ul:after {
          position: absolute;
          content: '';
          display: block;
          height: 150px;
          width: 150px;
          border-radius: 75px;
          border: 1px solid #625fd6;
          left: -105px;
          bottom: -90px; }
        #news ul li {
          width: 46%;
          z-index: 500; }
        #news ul .button {
          margin-top: 30px; }
      #news:before {
        display: block;
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 80px;
        width: 80px;
        border-radius: 40px;
        top: 80px;
        background-color: rgba(98, 95, 214, 0.8); }
      #news:after {
        display: block;
        position: absolute;
        content: '';
        height: 80px;
        width: 80px;
        border-radius: 40px;
        bottom: -32px;
        right: 160px;
        background-color: rgba(98, 95, 214, 0.8); } }

#key-features-list {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; }
  #key-features-list li {
    display: block;
    padding-bottom: 80px;
    width: 100%; }
    #key-features-list li:last-child {
      padding-bottom: 0; }
  #key-features-list .key-features-photo {
    display: block;
    width: 70%;
    margin: 0 auto;
    z-index: 1; }
  #key-features-list .number {
    position: relative;
    display: block;
    width: 80%;
    margin: 0 auto;
    margin-bottom: -70px; }
    #key-features-list .number img {
      height: 90px;
      z-index: 50;
      top: 0; }
  @media (min-width: 768px) {
    #key-features-list {
      position: relative; }
      #key-features-list:after {
        position: absolute;
        content: '';
        display: block;
        background-color: rgba(255, 255, 255, 0.5);
        width: 100px;
        height: 100px;
        border-radius: 50px;
        left: 20%;
        top: -120px; }
      #key-features-list li {
        width: 33%; }
        #key-features-list li:first-child {
          position: relative; }
          #key-features-list li:first-child:before {
            display: block;
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            height: 100px;
            width: 100px;
            border-radius: 50px;
            background-color: rgba(98, 95, 214, 0.8);
            left: -70px;
            top: -70px; }
          #key-features-list li:first-child:after {
            display: block;
            content: '';
            position: absolute;
            border: 1px solid #625fd6;
            width: 180px;
            height: 180px;
            border-radius: 90px;
            bottom: -36px;
            left: -36px; }
        #key-features-list li:last-child {
          position: relative; }
          #key-features-list li:last-child:before {
            position: absolute;
            display: block;
            content: '';
            width: 140px;
            height: 140px;
            border-radius: 70px;
            border: 1px solid #625fd6;
            top: -98px;
            right: -14px; }
          #key-features-list li:last-child:after {
            position: absolute;
            display: block;
            content: '';
            height: 80px;
            width: 80px;
            border-radius: 40px;
            bottom: 88px;
            left: 0;
            background-color: rgba(98, 95, 214, 0.3);
            z-index: 900; } }

#menu-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20px;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto; }
  #menu-list li {
    width: 45%; }
    #menu-list li:first-child, #menu-list li:nth-child(2) {
      padding-bottom: 40px; }
    #menu-list li p {
      text-align: left; }
  @media (min-width: 768px) {
    #menu-list li {
      width: 23%; } }

.profile .profile-photo {
  display: block;
  border-top: 5px solid #3e38cc;
  margin: 0 auto; }
.profile h3 {
  text-align: left; }
  .profile h3 span {
    font-size: 14px; }
.profile p {
  text-align: left; }
@media (min-width: 768px) {
  .profile {
    position: relative; }
    .profile .profile-photo {
      border-radius: 120px;
      border-top: none;
      width: 60%;
      margin: 0 auto 0 0;
      margin-bottom: 40px; }
    .profile .profile-text {
      position: absolute;
      top: 0;
      right: 0;
      width: 50%;
      background-color: rgba(62, 56, 204, 0.8);
      border-radius: 270px 270px 380px 380px;
      padding: 30px 60px 60px 60px; }
      .profile .profile-text h3, .profile .profile-text p {
        color: #ffffff; }
      .profile .profile-text h3 {
        font-size: 33px; }
      .profile .profile-text .button {
        margin: 0 auto 0 0; }
        .profile .profile-text .button a {
          display: block;
          background-color: #ffffff;
          color: #3e38cc; } }

.map-photo {
  width: 100%;
  height: 240px; }

@media (min-width: 768px) {
  .map-photo {
    float: left;
    height: 320px;
    max-width: 58%;
    margin-bottom: 40px; }

  .access-text {
    float: right;
    width: 40%; }
    .access-text p {
      font-size: 12px; } }
.phone {
  margin-top: -10px;
  width: 280px; }

.bshadow-card {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); }

.btnshadow {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  border: none;
  border-radius: 2px;
  cursor: pointer; }

.cf:before,
.cf:after {
  content: " ";
  display: table; }

.cf:after {
  clear: both; }

.cf {
  *zoom: 1; }

.slick li {
  margin: 0 auto;
  position: relative; }
  .slick li img {
    object-fit: cover;
    width: 100%;
    height: 320px;
    display: block;
    margin: 0 auto; }
  .slick li .text {
    position: absolute;
    bottom: 20px;
    left: 30px;
    color: #3e38cc;
    line-height: 1.5em; }
    .slick li .text h2 {
      font-size: 22px;
      display: inline-block;
      padding-bottom: 5px;
      margin-bottom: 5px;
      border-bottom: 1px solid #3e38cc; }
    .slick li .text .slick-button {
      display: block;
      margin: 0 auto;
      color: #ffffff;
      background-color: #f7f6f5;
      border-radius: 5px;
      font-size: 14px;
      text-align: center;
      display: inline-block;
      margin-top: 5px; }
      .slick li .text .slick-button a {
        display: block;
        padding: 7px 0;
        border-radius: 5px;
        color: #ffffff; }
        .slick li .text .slick-button a:hover {
          text-decoration: none;
          background-color: #625fd6;
          color: #ffffff; }
      .slick li .text .slick-button a {
        color: #3e38cc;
        padding: 3px 10px; }
        .slick li .text .slick-button a img {
          width: 25px;
          height: auto;
          display: inline-block;
          vertical-align: middle;
          margin-top: -4px; }
@media (min-width: 768px) {
  .slick {
    position: relative; }
    .slick li {
      padding: 60px 0; }
      .slick li .text {
        bottom: 80px;
        left: 60px; }
      .slick li img {
        width: 95%;
        border-radius: 60px; }
    .slick:before {
      display: block;
      content: '';
      position: absolute;
      width: 200px;
      height: 200px;
      border-radius: 100px;
      border: 1px solid #625fd6;
      left: 40px;
      bottom: 0;
      z-index: 500; }
    .slick:after {
      display: block;
      content: '';
      position: absolute;
      width: 200px;
      height: 200px;
      border-radius: 100px;
      border: 1px solid #625fd6;
      right: 0;
      top: 0;
      z-index: 500; } }
@media (min-width: 1200px) {
  .slick {
    margin: 60px 0; }
    .slick li img {
      height: 420px; } }

.slick-center {
  posiiton: relative;
  overflow: visible; }
  .slick-center:before {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    width: 150px;
    border-radius: 75px;
    top: 0;
    left: 0;
    background-color: rgba(98, 95, 214, 0.5); }
  .slick-center:after {
    display: block;
    content: '';
    position: absolute;
    height: 90px;
    width: 90px;
    border-radius: 45px;
    bottom: 0;
    right: -18px;
    background-color: rgba(98, 95, 214, 0.8); }

@media (min-width: 768px) {
  .slick-slide:not(.slick-center) .text {
    display: none; } }
.slick2 {
  max-width: 1080px;
  margin: 0 auto;
  padding-bottom: 40px; }
  .slick2 li {
    width: 100%;
    padding: 80px 0; }
    .slick2 li p {
      text-align: center;
      line-height: 2em; }
    .slick2 li img {
      width: 100%;
      height: 130px;
      object-fit: cover; }
  @media (max-width: 768px) {
    .slick2 .more-button {
      display: none; } }
  @media (min-width: 768px) {
    .slick2 li {
      position: relative;
      height: 480px; }
      .slick2 li .inbox {
        z-index: 500;
        position: absolute;
        left: 0; }
        .slick2 li .inbox p {
          text-align: left;
          font-size: 16.8px;
          line-height: 1.6; }
        .slick2 li .inbox h2 {
          text-align: left;
          padding-top: 50px; }
          .slick2 li .inbox h2 span:after {
            left: 0;
            margin-left: 0; }
        .slick2 li .inbox .more-button {
          z-index: 900;
          margin: 0 auto 0 0; }
      .slick2 li img {
        position: absolute;
        top: 60px;
        width: 80%;
        right: 0;
        height: 280px;
        z-index: 1; } }

.slick-prev:before, .slick-next:before {
  font-size: 44px;
  line-height: 1;
  color: #3e38cc;
  bottom: 0; }
  @media (min-width: 768px) {
    .slick-prev:before, .slick-next:before {
      line-height: 2.8; } }

.slick-prev {
  bottom: 0;
  z-index: 500;
  width: 100%;
  text-align: right;
  padding-right: 0; }

[dir='rtl'] .slick-prev {
  right: -25px;
  left: auto; }

.slick-prev:before {
  content: '＞'; }

[dir='rtl'] .slick-prev:before {
  content: '＞'; }

.slick-next {
  right: 100px;
  bottom: 0;
  z-index: 500; }

[dir='rtl'] .slick-next {
  right: auto;
  left: -25px; }

.slick-next:before {
  content: '＜'; }

[dir='rtl'] .slick-next:before {
  content: '＜'; }

.slick3 {
  margin: 20px -20px; }
  .slick3 li {
    width: 100%; }
    .slick3 li img {
      width: 100%;
      object-fit: cover;
      height: 170px; }
  @media (min-width: 768px) {
    .slick3 {
      width: 55%;
      margin: 0 0 0 auto;
      margin-top: 20px;
      float: right;
      margin-bottom: 80px; }
      .slick3 li img {
        height: 200px; } }
  .slick3 .slick-prev:before, .slick3 .slick-next:before {
    top: 0;
    z-index: 500; }
    @media (min-width: 768px) {
      .slick3 .slick-prev:before, .slick3 .slick-next:before {
        line-height: 2.8; } }
  .slick3 .slick-prev {
    z-index: 500;
    width: 100%;
    text-align: right;
    margin-left: 25px;
    top: 50%;
    z-index: 500; }
  .slick3 [dir='rtl'] .slick-prev {
    right: 0;
    left: auto; }
  .slick3 .slick-prev:before {
    content: '＞'; }
  .slick3 [dir='rtl'] .slick-prev:before {
    content: '＞'; }
  .slick3 .slick-next {
    left: 0;
    top: 50%;
    z-index: 500; }
    @media (min-width: 768px) {
      .slick3 .slick-next {
        margin-left: 0; } }
  .slick3 [dir='rtl'] .slick-next {
    right: auto;
    left: -25px; }
  .slick3 .slick-next:before {
    content: '＜'; }
  .slick3 [dir='rtl'] .slick-next:before {
    content: '＜'; }

@media (min-width: 768px) {
  .circle {
    display: block;
    width: 100%;
    position: relative; }
    .circle:after {
      display: block;
      position: absolute;
      content: '';
      height: 90px;
      width: 90px;
      border-radius: 45px;
      background-color: rgba(98, 95, 214, 0.9);
      top: 50px;
      left: 50px;
      z-index: 500; } }

.slick-dots li {
  width: 30px;
  text-align: center; }
  .slick-dots li button:before {
    font-size: 19px;
    left: 50%;
    margin-left: -9.5px;
    color: #625fd6; }
.slick-dots li.slick-active button:before {
  opacity: 1;
  color: #3e38cc; }

@media (min-width: 768px) {
  .slick-dots {
    bottom: -70px; } }

/*# sourceMappingURL=style.css.map */

/* ====================================================================
    施設基準届出項目等セクション追加 - 2025年新規実装
    -------------------------------------------------------------------- */

/* 施設基準届出項目等ボタン */
.facility-standards-section {
    text-align: center;
    padding: 40px 20px;
    margin: 0 auto;
    max-width: 1080px;
}

.facility-standards-button {
    display: inline-block;
    background-color: #3e38cc;
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
}

.facility-standards-button:hover {
    background-color: #625fd6;
    text-decoration: none;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(62, 56, 204, 0.3);
}

.facility-standards-button:before {
    content: "📄";
    margin-right: 10px;
    font-size: 16px;
}

/* モーダル背景 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.modal-overlay.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 50px;
}

/* モーダルコンテンツ */
.modal-content {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    max-width: 900px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
    margin: 0 auto;
}

/* モーダルヘッダー */
.modal-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

.modal-header h2 {
    color: #3e38cc;
    font-size: 28px;
    margin: 0;
    position: relative;
    padding-bottom: 15px;
}

.modal-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background-color: #3e38cc;
}

/* 閉じるボタン */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #3e38cc;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.modal-close:hover {
    background-color: #625fd6;
    transform: scale(1.1);
}

.modal-close:focus {
    outline: 2px solid #625fd6;
    outline-offset: 2px;
}

/* モーダル本文 */
.modal-body {
    line-height: 1.8;
    color: #333333;
}

.modal-intro {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3e38cc;
}

.modal-intro p {
    margin: 0;
    font-size: 16px;
    color: #555555;
}

/* セクション */
.facility-section {
    margin-bottom: 35px;
    padding: 25px;
    background-color: #fafbfc;
    border-radius: 10px;
    border-left: 5px solid #3e38cc;
}

.facility-section h3 {
    color: #3e38cc;
    font-size: 20px;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
}

.facility-section h3:before {
    content: "●";
    color: #3e38cc;
    margin-right: 10px;
    font-size: 16px;
}

.facility-section p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #555555;
}

/* 重要なセクション */
.facility-section.important {
    background-color: #e8f4fd;
    border-left-color: #2196F3;
}

.facility-section.important h3 {
    color: #1976D2;
}

.facility-section.important h3:before {
    color: #2196F3;
}

/* 連携先情報 */
.connection-info {
    background-color: #f0f0f0;
    padding: 15px;
    margin: 15px 0;
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 10px;
        padding-top: 20px;
    }
    
    .modal-content {
        padding: 20px;
        border-radius: 8px;
        max-height: 95vh;
    }
    
    .modal-header h2 {
        font-size: 22px;
    }
    
    .facility-standards-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .facility-section {
        padding: 18px;
        margin-bottom: 25px;
    }
    
    .facility-section h3 {
        font-size: 18px;
    }
    
    .facility-section p {
        font-size: 14px;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: 15px;
        right: 15px;
        line-height: 1;
		z-index: 10;
    }
}

@media (max-width: 480px) {
    .facility-standards-section {
        padding: 30px 15px;
    }
    
    .facility-standards-button {
        padding: 10px 25px;
        font-size: 15px;
    }
    
    .modal-content {
        padding: 15px;
    }
    
    .facility-section {
        padding: 15px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
}

/* アニメーション */
.modal-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
}

.modal-content {
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

/* スクロールバーのスタイリング */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
        
