
@charset "UTF-8";

/*
=====================================================
    Reset css
=====================================================
*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, main, menu, nav, section, summary,
time, mark, audio, video{
  margin:0;
  padding:0;
}

article,aside,details,figcaption,figure,
footer,header,main,menu,nav,section{
  display:block;
}

html{
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body{
  color: #8A6239;
  line-height: 1.5;
  font-size: 16px;
  font-family: "M PLUS Rounded 1c", system-ui;
  font-weight: 400;
  font-style: normal;
  background-color: #ffffff;
}

img{
  border: 0;
  max-width: 100%;
  height: auto;
}

ul,ol{
  list-style-type: none;
}

table {
  border-collapse: collapse; 
  border-spacing: 0;
}

img, input, select, textarea { 
  vertical-align: middle;
}

a {
  color: #8A6239;
  transition: 0.5s;
}

/*======================================
    Base Layout
======================================*/
/**------------------------------
phone
*------------------------------*/
.header-tel-pc a,
.footer-tel-pc a {
  pointer-events: none;
  text-decoration: none;
}
/*
=========================================
    Modules
    基礎構造
=========================================
*/
/*
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
トップページ
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
*/
/*----------------------------- 
header
-------------------------------*/
#header {
  margin: 0 auto;
  padding: 0em;
  background-color: #009140;
}
.header-logo {
  width: 25%;
  float: left;
  padding: 40px 20px;
}
.header-logo img {
  transition: all 0.3s ease;
}
.header-logo img:hover {
  transform: scale(1.1);
}
.header-top {
    float: left;
    background-color: #8A6239;
    color: #ffffff;
}
.inner {
  display: flex;
  justify-content: center;
}
.header-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.header-tel {
  height: 60px;
  color: #ffffff;
  font-size: 40px;
  text-align: center;
  padding: 20px 0 3px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
.header-tel p span a {
  font-size: 50px;
  color: #ffffff;
}

/*---
header
幅768px以下のスタイル指定 ここから*/
@media screen and (max-width: 768px) {
  a[href^="tel:"]{
    pointer-events: none;
  }
  .inner {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
  }
  .header-tel {
    height: 30px;
    font-size: 7vw;
    margin: 0 10px;
  }
  .header-tel p span a {
    font-size: 7vw;
    color: #ffffff;
  }
  .header-logo {
    padding: 20px;
    width: 50vw;
  }
}

/*----------------------------- 
headerメニュー（gnav1）
-------------------------------*/
/* ナビゲーションメニュー */
#gnav1 {
  background-color: #8A6239; /* メニューの背景色 */
  color: #fff; /* メニューテキストの色 */
}
.menu-list {
  display: flex;
  justify-content: center; /* メニューアイテムを中央揃えに */
}
.menu-item {
  background-color: #009140; /* メニューの背景色 */
  position: relative;
  transition: background-color .3s; /* 背景色の変化をアニメーション化 */
  padding: 5px 20px 10px;
}
/* メニューアイテムのホバースタイル */
.menu-item:hover .drop-menu-list,
.drop-menu-item:hover {
  opacity: 1; /* 不透明度を最大に */
  visibility: visible; /* 下層メニューを表示 */
  transform: scaleY(1); /* ドロップダウンメニューの表示 */
}
.menu-item:hover {
  background-color: #00662c; /* メニューアイテムのホバー時の背景色 */
  transition: background-color .3s; /* 背景色の変化をアニメーション化 */
  color: #009140;
}
.drop-menu-item:hover {
  background-color: #00662c; /* メニューアイテムのホバー時の背景色 */
  opacity: 1; /* ドロップダウンメニューアイテムのホバー時の不透明度 */
  transition: opacity .3s; /* 不透明度の変化をアニメーション化 */
  color: #009140;
}
.menu-item a:hover {
  color: #fff;
}
.menu-item:hover > a {
  color: #fff; /* ホバー時の文字色 */
}
.menu-item a {
  /*align-items: center;*/
  color: #fff; /* メニューアイテム内のリンクテキストの色 */
  display: block;
  /*justify-content: center;*/
  text-decoration: none; /* リンクの下線を非表示 */
  font-size: 20px;
  padding: 5px 0;
  font-weight: bold;
}
/* ドロップダウンメニュー */
.drop-menu {
  position: relative;
}
.drop-menu-list {
  background-color: #009140; /* ドロップダウンメニューの背景色 */
  left: 0;
  opacity: 0; /* 不透明度を最小に */
  position: absolute;
  top: 100%;
  transition: opacity .3s, visibility .3s; /* アニメーション設定 */
  visibility: hidden; /* 下層メニューを非表示 */
  z-index: 1;
  overflow-wrap: break-word;
  width: max-content;
}
.drop-menu-item {
  position: relative;
  padding: 5px 20px 10px;
}
.drop-menu-item a {
  color: #fff;
}
.drop-menu-item:hover {
   background-color: rgba(0,102,44,1);
}

/*---
headerメニュー（gnav1）
幅768px以下のスタイル指定 ここから*/
@media screen and (max-width: 768px) {
  .gnav1 {
    display: none;
  }
}
/*----------------------------- 
メイン画像
-------------------------------*/
.main-img img {
  width: 100%;
  height: 650px;
  object-fit: cover;
}
/*---
メイン画像
幅768px以下のスタイル指定 ここから*/
@media screen and (max-width: 768px) {
  .main-img img {
    height: auto;
  }
}
/*----------------------------- 
治療案内
-------------------------------*/
.treatment {
  display: flex;
  justify-content: center;
}
.treatment-info {
  display: flex;
  justify-content: center;
  margin: 10px;
  transition-duration: .4s;
  z-index: 5;
  position: relative;
  top: -30px;
}
.treatment-info:hover {
  transform: scale(1.1);
}
.treatment-info dl {
    width: 130px;
    display: block;
    padding: 5px 0;
    list-style: none;
    float: left;
    padding: 0 0 10px;
    font-size: 10px;
    border: 1px solid #C0C0C0;
    border-radius: 10%;
    box-shadow: 4px 4px 8px rgba(0,0,0,0.5);
    background-color: #ffffff;
  }
.treatment-info dt {
    /*color: #0071BA;*/
    text-align: center;
    padding: 5px;
    font-size: 14px;
  }
.treatment-info dt img {
  width: 130px;
  height: 100px;
  object-fit: cover;
}
/*.treinfo02-img img,
.treinfo04-img img {
  object-position: top;
}*/
/*.treinfo03-img img {
  object-position: left 60% top 100%;
}*/
/*.treinfo05-img img {
  object-position: left 25%;
}*/
.treatment-info dd {
  text-align: center;
  font-size: 14px;
}
/*---
治療案内
幅768px以下のスタイル指定 ここから*/
@media screen and (max-width: 768px) {
  .treatment {
    display: flex;
    flex-wrap: wrap;
    margin: 50px 0 0;
  }
  .treatment-info:hover {
    transform: scale(1.1);
  }
}

/*----------------------------- 
当院の特徴
-------------------------------*/
.deatures-info {
  width: 80%;
  margin: 20px auto;
  padding: 10px 30px;
  border: 1px solid #8A6239;
}
.deatures-info h2 {
  /*color: #0071BA;*/
  padding: 1rem 2rem;
  /*border-left: 6px double #0071BA;
  background: #cce2f1;*/
  margin: 0 auto;
  width: 90%;
}
.deatures-info-p {
  margin: 0 auto;
  width: 80%;
}
/*---
当院の特徴
幅768px以下のスタイル指定 ここから*/
@media screen and (max-width: 768px) {
  .deatures-info {
    margin: 20px;
    padding: 20px;
  }
  .deatures-info h2 {
    margin: 20px auto;
    width: 90%;
    padding: 10px;
  }
  .deatures-info p {
    padding-left: 1em;
  }
}

/*----------------------------- 
診察時間
-------------------------------*/
#medical {
  position: relative;
  overflow: hidden;
}
.medical-img {
  position: sticky;
  width: 65%;
  z-index: 1;
  object-fit: cover;
}
.medical-img::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(270deg, #ffffff -3%, transparent);
  z-index: 2;
}
.medical-weekdays {
  position: absolute;
  padding: 10px;
  width: 50%;
  transform: translateY(-103%) translateX(90%); /* 中央に配置し、右側に移動 */
  z-index: 3;
}
/*---
診察時間
幅768px以下のスタイル指定 ここから*/
@media screen and (max-width: 768px) {
  #medical {
    display: flex;
    flex-direction: column;
  }
  .medical-img {
    width: 100%;
    position: static;
  }
  .medical-img::before {
    display: none;
  }
  .medical-weekdays {
    width: 90%;
    transform: none;
    padding: 0;
    position: static;
    margin: 20px auto;
  }
}

/*----------------------------- 
診察カレンダー
-------------------------------*/
h2 {
  /*color: #0071BA;*/
  padding: 1rem 2rem;
  /*border-left: 6px double #0071BA;
  background: #cce2f1;*/
  margin: 10px auto;
  width: 80%;
}
.consultation-calendar-img {
  display: flex;
  justify-content: center;
  margin: 30px auto;
  width: 80%;
}

/*---
診察カレンダー
幅768px以下のスタイル指定 ここから*/
@media screen and (max-width: 768px) {
  .consultation-calendar h2 {
    /*color: #0071BA;*/
    margin: 20px auto;
    width: 80%;
    padding: 10px;
  }
  .consultation-calendar-img {
    display: flex;
    justify-content: center;
    margin: 10px auto 20px;
    width: 85%;
  }
}

/*----------------------------- 
フッター
-------------------------------*/
#footer {
  color: #ffffff;
  background: #009140;
  margin: auto;
}
.footer-info {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
  /*gap: 20px; /* 要素間の幅を20pxに設定 */
}
.footer-area {
  width: 450px;
  margin: 0 auto;
  text-align: left;
  /*flex-grow: 1;
  overflow: auto;*/
}
/*.footer-area p {
  width: 80%;
}*/
.footer-logo {
  width: 48%;
  margin: 10px 0;
}
.footer-logo img {
  transition: all 0.3s ease;
}
.footer-logo img:hover {
  transform: scale(1.1);
}
.footer-area-phone {
  width: 80%;
}
.footer-tel-pc a {
  font-size: 30px;
  color: #ffffff;
}
.footer-medical-hours {
  width: 80%;
}
.footer-medical-hours table {
  width: 80%;
}
.footer-medical-hours table tr th {
  background-color: #ffffff;
  color: #009140;
  padding: 10px;
  text-align: center;
}
.footer-medical-hours table tr td {
  text-align: center;
}
.footer-medical-hours table thead {
  border-color: #ffffff;
}
.table, table th {
  border: 2px solid #009140;
}
.table th,td {
  border-bottom: 2px solid #ffffff;
}
.footer-medical-info {
  font-weight: bolder;
  /*width: 90%;*/
}
.map {
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  width: 40%;
}

/*---
Footer
幅768px以下のスタイル指定 ここから*/
@media screen and (max-width: 768px) {
  .footer-logo {
    text-align: center;
    width: 60vw;
  }
  .footer-info {
    background-color: #009140;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
  }
  .footer-area {
    width: 95%;
  }
  .footer-area-phone p span a {
    font-size: 30px;
    color: #ffffff;
  }
  .footer-medical-hours table {
    transform: scale(0.9); /* テーブルを80%に縮小 */
    transform-origin: left center;
  }
  .footer-medical-hours table tr th {
    background-color: #ffffff;
    color: #009140;
  }
  .footer-medical-hours table tr td {
    text-align: center;
  }
  .footer-medical-hours table thead {
    border-color: #ffffff;
  }
  .table, table th {
    border: 2px solid #009140;
    font-size: 11px;
    overflow-wrap: break-word;
  }
  .table th,td {
    border-bottom: 2px solid #ffffff;
  }
  .footer-medical-info {
    font-weight: bolder;
  }
  .map {
    width: 95%;
    margin: auto;
  }
}

/*----------------------
copyright
-------------------------*/
.footer_copyright {
  text-align: center;
  padding-bottom: 10px;
}

/*
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
診療案内（サブページ）
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
*/
.sub-title_title {
 text-align: center;
 margin: 0 auto;
 font-size: 40px;
 padding: 30px;
 background-color: rgba(0,145,64,0.3);
 color: #009140;
}
h4 {
  font-size: 25px;
  margin: 30px auto;
  text-align: left;
  padding: 0.5em;/*文字周りの余白*/
  color: #8A6239;/*文字色*/
  /*background: rgba(0,113,186,0.1);/*背景色*/
  /*border-left: solid 5px #0071BA;/*左線（実線 太さ 色）*/
  width: 80%;
  border-bottom: 3px solid #8A6239;
}
/*---
診療案内（サブページ）
幅768px以下のスタイル指定 ここから*/
@media screen and (max-width: 768px) {
  .sub-title_title {
    font-size: 20px;
    padding: 10px;
   }
   h4 {
     font-size: 15px;
     margin: 20px auto;
     padding: 0.5em;/*文字周りの余白*/
   }
}
/*----------------------------- 
院長紹介【診療案内（サブページ）】
-------------------------------*/
.director-introduction1-p {
  margin: 10px auto;
  width: 80%;
}
.director-introduction1-p_title {
  font-size: 23px;
  margin: 20px auto;
  /*color: #6a0b8f;/*文字色*/
  /*padding: 0.5em;/*文字周りの余白*/
  /*line-height: 1.3;/*行高*/
  /*background: rgba(106,11,143,0.3);/*背景色*/
  /*vertical-align: middle;
  border-radius: 25px 0px 0px 25px;/*左側の角を丸く*/
  width: 95%;
  /*text-indent: 0.5em;*/
}
.director-introduction1-p_text {
  width: 90%;
  margin: 0 auto;
}
.director-introduction2 {
  display: flex;
  justify-content: space-evenly;
  width: 80%;
  margin: 0 auto;
  gap: 20px; /* 要素間の幅を20pxに設定 */
}
.director-introduction2-2 table {
  border-collapse: collapse;
  /*background: rgba(138,98,57,0.3);*/
  margin: 20px auto;
  text-align: left;
  width: 100%;
}
.director-introduction2-1,
.director-introduction2-2  {
  width: 50%;
}
.director-introduction2-1 p {
  font-size: 20px;
  font-weight: bold;
  /*color: #388a8a;*/
  text-align: center;
}
.director-introduction2-1 {
  margin: 20px auto;
}
.director-introduction2-1 ul {
  /*background: rgba(138,98,57,0.3);*/
  border: solid 2px #8A6239;
}
.director-introduction2-1 ul li {
  /*color: #61388a;*/
  line-height: 1.5;
  padding: 0.5em 0.5em 0.5em 2em;
  border-bottom: 2px solid #8A6239;
}
.director-introduction2-1 ul li:last-of-type {
  border-bottom: none; /*最後のliの線だけ消す*/
}
.director-introduction2-2 table caption {
  font-size: 20px;
  font-weight: bold;
  /*color: #388a8a;*/
}
.director-introduction2-2 table tr th {
  color: #8A6239;
  background: rgba(138,98,57,0.2);
  width: 35%;
}
.director-introduction2-2 table tr td {
  color: #8A6239;
  background: #fff;
  width: 65%;
}
.director-introduction2-2 table tr th,
.director-introduction2-2 table tr td {
  border: 2px solid #8A6239;
  padding: 10px;
}
/*---
院長紹介【診療案内（サブページ）】
幅768px以下のスタイル指定 ここから*/
@media screen and (max-width: 768px) {
  .director-introduction2 {
    text-align: center;
    display: flex;
    flex-direction: column;
  }
  .director-introduction2-1,
  .director-introduction2-2 {
    width: 100%;
}
.director-introduction1-p {
  padding: 0;
  width: 80%;
}
  .director-introduction2-2 table {
    width: 100%;
    margin: 0 auto;
  }
  .director-introduction2-2 table tr th {
    font-size: 16px;
  }
}
/*----------------------------- 
治療実績【診療案内（サブページ）】
-------------------------------*/
.sub_medinfo-info {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: row-reverse;
  width: 80%;
  margin: 0 auto;
  gap: 20px; /* 要素間の幅を20pxに設定 */
}
.sub_medinfo-info-img {
  width: 50%;
}
.sub_medinfo-info-t {
  width: 50%;
}
.sub_medinfo-info-t table {
  border-collapse: collapse;
  /*background: #ccffe2;*/
  margin: 0 auto;
  text-align: left;
  width: 100%;
}
.sub_medinfo-info-t table caption {
  font-size: 20px;
  font-weight: bold;
  /*color: #388a8a;*/
}
.sub_medinfo-info-t table tr th {
  /*color: #000;*/
  background: rgba(138,98,57,0.2);
  width: 15vw;
}
.sub_medinfo-info-t table tr td {
  /*color: #000000;*/
  background: #fff;
  width: 15vw;
}
.sub_medinfo-info-t table tr th,
.sub_medinfo-info-t table tr td {
  border: 2px solid #8A6239;
  padding: 10px 20px;
}
/*---
治療実績【診療案内（サブページ）】
幅768px以下のスタイル指定 ここから*/
@media screen and (max-width: 768px) {
  .sub_medinfo-info {
    text-align: center;
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
  }
  .sub_medinfo-info-img {
    width: 100%;
  }
  .sub_medinfo-info-t {
    width: 100%;
  }
  .sub_medinfo-info-t table {
    width: 100%;
  }
}
/*----------------------------- 
診察時間【診療案内（サブページ）】
-------------------------------*/
.sub_medinfo-hours {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  margin: 0 auto;
}
.sub_medinfo-hours1 {
  width: 50%;
  padding: 0 20px 0 0;
}
.sub_medinfo-hours2 {
  font-size: 18px;
  padding: 20px;
}
.sub_medinfo-hours2 ul li {
  text-indent: 1em;
  /*color: #8a0045;*/
}
.sub_medinfo-hours2-p2 {
  margin: 10px auto;
  padding-left: 1em;
  text-indent: -1em;
}
/*.sub_medinfo-hours2 ul li span {
  text-indent: -1em;
  color: #8a6239;
}*/

/*---
診察時間【診療案内（サブページ）】
幅768px以下のスタイル指定 ここから*/
@media screen and (max-width: 768px) {
  .sub_medinfo-hours {
    display: flex;
    flex-direction: column;
  }
  .sub_medinfo-hours1 {
    width: 100%;
    padding: 5px;
  }
  .sub_medinfo-hours2 {
    margin: 0 auto;
    padding: 5px;
    width: 85%;
    font-size: 15px;
  }
  .sub_medinfo-hours2 ul {
    text-indent: -1em;
  }
}
/*----------------------------- 
外来診察体制【診療案内（サブページ）】
-------------------------------*/
.sub_medinfo-calendar {
  display: flex;
  justify-content: center;
  margin: 0 auto 30px;
  width: 40%;
}
.sub_medinfo-calendar img {
  width: 250px;
  height: 400px;
}
/*---
外来診察体制【診療案内（サブページ）】
幅768px以下のスタイル指定 ここから*/
@media screen and (max-width: 768px) {
  .sub_medinfo-calendar {
    margin: 0 auto 30px;
    width: 80%;
  }
}
/*----------------------------- 
診察内容【診療案内（サブページ）】
-------------------------------*/
/*.examination-details ul {
  list-style: none; /*項目前デザインの消去
  padding: 10px; /*余白
  width: 80%;
  margin: 10px auto 30px;
}
.examination-details li {
  position: relative;
  padding: 5px 10px 5px 20px; /*余白
  font-weight: bold; /*文字の太さ
  line-height: 25px; /*文字の行高
  /*border-bottom: dotted 3px #8A6239; /*下線の種類 太さ　色
  font-size: 20px;
  margin: 10px 0;
}
.examination-details li a {
  padding: 10px 5px;
}
.examination-details li span {
  padding: 10px 5px;
  margin: 10px 0;
}
.examination-details li a:hover {
    color: #FFF;
    background-color: #8A6239;
}
/*.examination-details li:before {
   content: url(../logo/icon.png); /*項目前のデザイン指定 */
   /*padding-right: 10px; /*デザインとリストの間*/
/*}*/
/*---
診察内容【診療案内（サブページ）】
幅768px以下のスタイル指定 ここから*/
/*@media screen and (max-width: 768px) {
  .examination-details ul {
    width: 80%;
    position: relative;
    margin: 0 auto 20px;
  }
  /*.examination-details ul li span {
    display: inline-block;
    text-indent: 2em;
  }
  .examination-details8::before {
    position: absolute;
  }
}*/
/*
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
検査（サブページ）
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
*/
/*h5 {
  /*font-size: 18px;
  margin: 20px auto;*/
  /*color: #6a0b8f;/*文字色*/
  /*padding: 0.5em;/*文字周りの余白*/
  /*line-height: 1.3;/*行高*/
  /*background: rgba(106,11,143,0.3);/*背景色*/
  /*vertical-align: middle;
  /*border-radius: 25px 0px 0px 25px;/*左側の角を丸く*/
  /*width: 75%;*/
  /*text-indent: 0.5em;*/
/*}*/
/*.sub_i-info {
  width: 80%;
  margin: 0 auto 30px;
}
.sub_i-ins {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70%;
  margin: 0 auto 30px;
}
.sub_i-ins-p {
  padding: 30px;
  width: 60%;
}
.sub_i-ins-img {
  width: 40%;
}/*
/*---
検査【診療案内（サブページ）】
幅768px以下のスタイル指定 ここから*/
/*@media screen and (max-width: 768px) {
  h5 {
    font-size: 20px;
    margin: 10px auto;
    padding: 0.5em;/*文字周りの余白*/
    /*text-indent: -1em;
    padding-left: 2em;
    width: 65%;*/
    /*}*/
  /*.sub_i-ins {
    display: flex;
    flex-direction: column;
    margin: 0 auto 20px;
  }
  .sub_i-ins-p {
    padding: 10px;
    width: auto;
  }
  .sub_i-ins-img {
    width: 100%;
    margin: 0 auto;
  }*/
/*}*/

/*
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
治療（サブページ）
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
*/
/*.sub_it-2 {
  width: 80%;
  margin: 0 auto 30px;
}
.sub_it-2 dl {
  margin: 10px 0 30px;
}
.sub_it-2 dt {
  color: #6a0b8f;
  font-size: 18px;
  font-weight: bold;
  margin: 20px auto;
}
.sub_it-2 dd {
  padding: 0 0 0 1em;
}
/*
/*---
治療【診療案内（サブページ）】
幅768px以下のスタイル指定 ここから*/
@media screen and (max-width: 768px) {
  /*.sub_it-2 {
    width: 80%;
    margin: 0 auto;
  }
  .sub_it-2 {
    margin: 0 auto 20px;
  }*/
}
/*
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
院内のご案内（サブページ）
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
*/
/*.sub_Hi-1 {
  margin: 0 auto 30px;
  width: 80%;
}
.sub_Hi-1 dl {
  margin: 10px 0;
}
.sub_Hi-1 dt {
  /*color: #6a0b8f;
  font-size: 18px;
  font-weight: bold;
  margin: 20px auto;
}
.sub_Hi-1 dd {
  padding: 0 0 0 20px;
}
.sub_Hi-1-1 {
  text-indent: 1em;
  /*color: #8a8a00;
}
/*.sub_Hi-1-1 dt {
  color: #8a0045;
}
.sub_Hi-1 li {
  text-indent: 1em;
}
.sub_Hi-1 li span {
  color: #8a6239;
}
.sub_Hi-1 img {
  margin: 10px auto;
  width: 30%;
  border: 2px solid #0B318F;
  transition: all 0.3s ease;
}
.sub_Hi-1 img:hover {
  transform: scale(1.1);
}
*/
/*---
院内のご案内【（サブページ）】
幅768px以下のスタイル指定 ここから*/
/*@media screen and (max-width: 768px) {
  .sub_Hi-1 {
    width: 80%;
    margin: 0 auto 20px;
  }
  .sub_Hi-1 img {
    margin: 10px auto;
    width: 100%;
  }
}*/
/*
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
目の病気（サブページ）
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
*/
/*.sub_Edinfo-btn {
  display: flex;
  margin: 0 auto;
  width: 80%;
}
.sub_Edinfo-btn ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.sub_Ed-btn {
  /*background: rgba(138,98,57,0.2);
  /*border-bottom: 2px dashed #8a6239;
  /*border-radius: 20px;
  font-weight: bold;
  /*max-width: 200px;
  padding: 10px 5px;
  /*text-align: center;
  transition-duration: .4s;
  width: 20%;
  margin: 10px;
  /*display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  display: inline-block;
  overflow: hidden;
  color: #8a6239;
  text-align: center;
}*/
/* 擬似要素でアニメーションする下線を追加 */
/*.sub_Ed-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background-color: #8a6239;
  transition: width 0.4s ease;
}
.sub_Ed-btn:hover {
  transform: scale(1.1);
}*/
/* ホバー時に線を左から右へ伸ばす */
/*.sub_Ed-btn:hover::after {
  width: 100%;
}
.sub_Ed-btn a {
  text-decoration: none;
  /*color: #8a6239;
  color: inherit;
  position: relative;
  z-index: 1;
}
.sub_Ed-1,
.sub_Ed-2,
.sub_Ed-3,
.sub_Ed-4,
.sub_Ed-5,
.sub_Ed-6,
.sub_Ed-7,
.sub_Ed-8,
.sub_Ed-9 {
  margin: 0 auto 30px;
  width: 80%;
}

.sub_Ed-1 dl,
.sub_Ed-2 dl,
.sub_Ed-3 dl,
.sub_Ed-4 dl,
.sub_Ed-5 dl,
.sub_Ed-6 dl,
.sub_Ed-7 dl,
.sub_Ed-8 dl,
.sub_Ed-9 dl {
  margin: 10px 0;
}
.sub_Ed-1 dt,
.sub_Ed-2 dt,
.sub_Ed-3 dt,
.sub_Ed-4 dt,
.sub_Ed-5 dt,
.sub_Ed-6 dt,
.sub_Ed-7 dt,
.sub_Ed-8 dt,
.sub_Ed-9 dt {
  /*color: #6a0b8f;
  font-size: 18px;
  font-weight: bold;
  margin: 20px auto;
}
.sub_Ed-1 dd,
.sub_Ed-2 dd,
.sub_Ed-3 dd,
.sub_Ed-4 dd,
.sub_Ed-5 dd,
.sub_Ed-6 dd,
.sub_Ed-7 dd,
.sub_Ed-8 dd,
.sub_Ed-9 dd {
  padding: 0 1em;
}*/
/*---
目の病気【（サブページ）】
幅768px以下のスタイル指定 ここから*/
/*@media screen and (max-width: 768px) {
  .sub_Ed-btn {
    max-width: 200px;
    padding: 20px 30px;
    width: 60%;
    margin: 10px auto;
  }
  .sub_Ed-1,
  .sub_Ed-2,
  .sub_Ed-3,
  .sub_Ed-4,
  .sub_Ed-5,
  .sub_Ed-6,
  .sub_Ed-7,
  .sub_Ed-8,
  .sub_Ed-9 {
    width: 80%;
    margin: 0 auto;
  }
  .sub_Ed-9-1 {
    margin: 0 auto 20px;
  }
}*/
/*
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
手術のご案内（サブページ）
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
*/
/*.sub_IoS-info1,
.sub_IoS-1-1,
.sub_IoS-1-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 30px;
  gap: 10px; /* 要素間の幅を10pxに設定 
}
.sub_IoS-info1-p {
  width: 80%;
  margin: 0 auto 30px;
}
.sub_IoS-1-1p,
.sub_IoS-1-2p {
  width: 80%;
}
.sub_IoS-info1-p dl,
.sub_IoS-1-1p dl,
.sub_IoS-1-2p dl {
  padding: 5px;
}
.sub_IoS-info1-p dt {
  padding-left: 1em;
  text-indent: -1em;
  font-size: 18px;
  font-weight: bold;
}
.sub_IoS-info1-p dd {
  padding-left: 1em;
}
.sub_IoS-info1-img {
  width: 50%;
}
.sub_IoS-1-1i,
.sub_IoS-1-2i {
  width: 50%;
}
.sub_IoS-info1 dl {
  margin: 10px 0;
}
.sub_IoS-info1 dt {
  color: #6a0b8f;
  font-size: 18px;
  font-weight: bold;
}
.sub_IoS-info1,
.sub_IoS-1 {
  margin: 10px auto;
  width: 80%;
}
.sub_IoS-1 dl {
  margin: 10px auto;
}
.sub_IoS-1 dt {
  color: #6a0b8f;
  font-size: 18px;
  font-weight: bold;
  margin: 5px 0;
}
.sub_IoS-1 dt a {
  padding: 5px;
}
.sub_IoS-1 dd {
  padding: 0 0 0 20px;
}
.sub_IoS-1 dd ul {
  padding: 5px 0;
}
.sub_IoS-1 dd ul li {
  color: #8a0045;
}
.sub_IoS-1 dd ul li span {
  color: #8a6239;
}
#sub_IoS-1-btn {
  background: #8a6239;
  border: 1px solid #8a6239;
  border-radius: 60px;
  display: block;
  font-weight: bold;
  max-width: 200px;
  padding: 10px 20px;
  text-align: center;
  transition-duration: .4s;
}
#sub_IoS-1-btn:hover {
  transform: scale(1.1);
}
#sub_IoS-1-btn a {
  text-decoration: none;
}
#sub_IoS-1-detail span {
  color: #ffffff;
}
*/
/*---
手術のご案内【（サブページ）】
幅768px以下のスタイル指定 ここから*/
/*@media screen and (max-width: 768px) {
  .sub_IoS-info1,
  .sub_IoS-1-2 {
    display: flex;
    flex-direction: column;
  }
  .sub_IoS-1-1 {
    display: flex;
    flex-direction: column-reverse;
  }
  .sub_IoS-info1-p {
    display: block;
    padding: 10px;
  }
  .sub_IoS-1-1p,
  .sub_IoS-1-2p {
    display: block;
    width: 80%;
  }
  .sub_IoS-info1-img,
  .sub_IoS-1-1i,
  .sub_IoS-1-2i {
    width: 80%;
  }
  .sub_IoS-1-2i {
    margin: 0 auto 20px;
  }
}*/
/*
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
求人（サブページ）
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
*/
/*.sub_Rec1 {
  width: 80%;
  margin: 0 auto;
}
.sub_Rec-1,
.sub_Rec-2 {
  margin: 0 auto 15px;
  width: 80%;
}
.sub_Rec-2 {
  text-indent: -1em;
  padding-left: 1em;
}
.sub_Rec-2 p span {
  background: linear-gradient(transparent 70% , #fff200 70%);
}
.sub_Rec-3-table {
  border-collapse: collapse;
  background: #fff;
  margin: 0 auto 30px;
  text-align: left;
}
.sub_Rec-3 thead th {
  color: #8a6239;
  background: rgba(138,98,57,0.2);
  padding-left: 1em;
}
.sub_Rec-3 tbody th {
  color: #8a6239;
  background: rgba(138,98,57,0.2);
  width: 40%;
}
.sub_Rec-3 td {
  color: #8a6239;
  background: #fff;
  width: 60%;
}
.sub_Rec-3 tr th,
.sub_Rec-3 tr td {
  border: 2px solid #8a6239;
  padding: 10px 20px;
}
.sub_Rec-3 tr td span {
  color: #ff0000;
}*/
/*---
求人【（サブページ）】
幅768px以下のスタイル指定 ここから*/
/*@media screen and (max-width: 768px) {
  .sub_Rec-1 {
    width: 80%;
    margin: 0 auto;
    padding: 5px 0;
  }
  .sub_Rec-2 {
    padding: 5px 0 10px;
    width: 70%;
  }
  .sub_Rec-3-table {
    width: 80%;
    margin: 0 auto 20px;
  }
  .sub_Rec-3 thead th {
    font-size: 18px;
  }
  .sub_Rec-3 tbody th {
    width: 50%;
    font-size: 16px;
  }
}*/
/*
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
サブページ共通
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
*/
.sub2-title_title {
  text-align: center;
  margin: 0 auto;
  font-size: 40px;
  padding: 30px;
  background-color: rgba(0,145,64,0.3);
  color: #009140;
}
.sub2_h5 {
  font-size: 18px;
  margin: 20px auto;
  width: 80%;
}
.sub2_h6 {
  font-size: 18px;
  margin: 10px 0;
}
.sub2_about {
  width: 77%;
  margin: 10px auto 30px;
}
.sub2_arrow {
  width: 77%;
  margin: 10px auto 30px;
  padding-left: 1em;
  text-indent: -1em;
}
.sub_Hi_contact {
  width: 80%;
  margin: 0 auto;
}
.Clinic-Info-map {
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 75%;
}
.sub_Hi_contactimg { /*院内案内*/
  margin: 10px auto;
  text-align: left;
  width: 30%;
  border: 2px solid #0B318F;
  transition: all 0.3s ease;
}
.sub2_as-p { /*白内障手術*/
  width: 95%;
  margin: 0 auto 5px;
}
.sub2_as-list { /*白内障手術*/
  width: 95%;
  margin: 0 auto 5px;
}
.sub2_aboutlist { /*硝子体手術*/
  width: 75%;
  margin: 0 auto 5px;
}
.sub2_aboutlist { /*緑内障手術*/
  width: 75%;
  margin: 5px auto;
}
.sub2_aboutlist dl { /*緑内障手術*/
  margin: 10px 0 30px;
}
.sub2_aboutlist dt { /*緑内障手術*/
  font-weight: bold;
  margin: 10px auto;
  padding-left: 1em;
  text-indent: -1em;
}
.sub2_aboutlist dd { /*緑内障手術*/
  padding: 0 0 0 1em;
}
.sub2_consultationlist { /*小児眼科*/
  width: 75%;
  margin: 5px auto;
  text-indent: -1em;
  padding-left: 1em;
}
.sub2_about span { /*コンタクト外来*/
  font-size: 17px;
  font-weight: bold;
  color: #ff0000;
}
.sub2_brandlist { /*コンタクト外来*/
  width: 75%;
  margin: 5px auto;
}
.sub2_brandlist dl { /*コンタクト外来*/
  margin: 10px 0 30px;
}
.sub2_brandlist dt { /*コンタクト外来*/
  font-weight: bold;
  margin: 10px auto;
  padding-left: 1em;
  text-indent: -1em;
}
.sub2_brandlist dd { /*コンタクト外来*/
  padding: 0 0 0 1em;
}
.sub2_brandlist img { /*コンタクト外来*/
  margin: 10px auto;
  width: 30%;
  border: 2px solid #0B318F;
  transition: all 0.3s ease;
}
.sub_Hi_recruitment {
  width: 90%;
  margin: 0 auto;
}
.sub2_features {
  width: 75%;
  margin: 0 auto 30px;
}
.sub2_features dl {
  margin: 10px 0 30px;
}
.sub2_features dt {
  font-weight: bold;
  margin: 10px auto;
  padding-left: 1em;
  text-indent: -1em;
}
.sub2_features dd {
  padding: 0 0 0 1em;
}
.sub2_msfree { /*近視抑制*/
  font-size: 17px;
  font-weight: bold;
}
/* Q&A */
.cp_qa01 {
  margin: 0 auto 30px;
}
.cp_qa01 .cp_actab {
  position: relative;
  width: 80%;
  margin: 20px auto;
}
.cp_qa01 .cp_actab input {
  display: none;
}
/* 質問 */
.cp_qa01 .cp_actab label {
  font-weight: bold;
  line-height: 1.6em;
  position: relative;
  display: block;
  margin: 0 0 0 0;
  padding: 1em 2em 1em 5em;
  cursor: pointer;
  /*text-indent: -0.5em;*/
  border-radius: 0.5em;
  background: rgba(138,98,57,0.1);
}
.cp_qa01 label::before {
  position: absolute;
  content: '+';
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 210%;
  font-weight: bold;
  margin-left: -50px;
  padding: 0 0 0 0;
  transition: 0.4s ease;
}
.cp_qa01 .cp_actab input[type=checkbox]:checked ~ label::before {
  transform: rotate(45deg);
}
.cp_qa01 .cp_actab label:hover {
  /*color: #0b8f6a;*/
  transition: all 0.3s;
}
/* 答え */
.cp_qa01 .cp_actab .cp_actab-content {
  position: relative;
  overflow: hidden;
  max-height: 0;
  padding: 0 0 0 2.5em;
  border-radius: 0 0 0.5em 0.5em;
  transition: max-height 0.2s;
}
.cp_qa01 .cp_actab .cp_actab-content::before {
  position: absolute;
  content: 'A';
  font-size: 1.5em;
  margin: 0.4em 0 0 -1em;
  padding: 0;
}
.cp_qa01 .cp_actab .cp_actab-content p {
  margin: 1em 1em 1em 0;
}
/* 質問を開いた時の仕様 */
/* --答えの高さ */
.cp_qa01 .cp_actab input:checked ~ .cp_actab-content {
  max-height: 40em;
  border: 10px solid rgba(138,98,57,0.1);
}
/* 質問をクリックした時のアイコンの動き */
.cp_qa01 .cp_actab input:checked ~ label {
  /*color: #0b8f6a;*/
  border-radius: 0.5em 0.5em 0 0;
}
/* 質問をクリックした時の+の動き */
.cp_qa01 .cp_actab input[type=checkbox]:checked + label::after {
  transform: rotateZ(45deg);
  transform-origin: 50% 50%;
}
.sub2_flow {
  width: 77%;
  margin: 0 auto 5px;
  padding-left: 2em;
  text-indent: -2em;
}
.sub2_flow span {
  font-weight: bold;
}
.sub2_consultation {
  width: 77%;
  margin: 10px auto 30px;
}
/*---
幅768px以下のスタイル指定 ここから*/
@media screen and (max-width: 768px) {
  .sub2_h5 {
    margin: 5px auto;
    width: 80%;
  }
  .sub2_about {
    width: 75%;
    margin: 10px auto 20px;
  }
  .sub2_flow {
    width: 70%;
  }
  .sub2_brandlist { /*コンタクト外来*/
    margin: 10px auto;
  }
  .sub_Hi_contactimg { /*院内案内*/
    width: 80%;
  }
  .sub2_brandlist img {/*コンタクト外来*/
    width: 80%;
  }
  .Clinic-Info-map {
    width: 80%;
    margin: auto;
    padding: 0 0 10px;
  }
}
/*---
サブページ２*/
.sub2_as-1,
.sub2_as-2,
.sub2_as-3 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 85%;
  margin: 0 auto 30px;
  gap: 20px;
}
.sub2_as-1-p,
.sub2_as-2-p,
.sub2_as-3-p {
  padding: 30px;
  width: 60%;
}
.sub2_as-1-img,
.sub2_as-2-img,
.sub2_as-3-img {
  width: 300px;             /* 画像の表示幅を固定 */
  height: 400px;            /* 画像の表示高さを固定 */
  background-color: #fff; /* 余白部分の背景色 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sub2_as-1-img img,
.sub2_as-2-img img,
.sub2_as-3-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;      /* 画像全体を枠内に収める */
}
.sub2_as-1-p1,
.sub2_as-2-p1,
.sub2_as-3-p1 {
  margin: 20px 0;
}
/*---
サブページ２
幅768px以下のスタイル指定 ここから*/
@media screen and (max-width: 768px) {
  .sub2_as-1,
  .sub2_as-2,
  .sub2_as-3 {
    display: flex;
    flex-direction: column;
    margin: 0 auto 20px;
  }
  .sub2_as-1-p,
  .sub2_as-2-p,
  .sub2_as-3-p {
    padding: 10px;
    width: auto;
  }
  .sub2_as-1-img,
  .sub2_as-2-img,
  .sub2_as-3-img {
    width: 100%;
    margin: 0 auto;
  }
}
/*
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
白内障手術（サブページ２）
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
*/
/*.sub2_as-1,
.sub2_as-2,
.sub2_as-3 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  margin: 0 auto 30px;
}
.sub2_as-1-p,
.sub2_as-2-p,
.sub2_as-3-p {
  padding: 30px;
  width: 60%;
}
.sub2_as-2-p2,
.sub2_as-3-p2 {
  font-weight: bold;
  color: #6a0b8f;
}
.sub2_as-1-img,
.sub2_as-2-img,
.sub2_as-3-img {
  width: 40%;
}
/*.sub2_as-2-p3,
.sub2_as-3-p3 {
  padding-left: 1em;
}*/
/*---
白内障手術【（サブページ２）】
幅768px以下のスタイル指定 ここから*/
/*@media screen and (max-width: 768px) {
  .sub2_as-1,
  .sub2_as-2,
  .sub2_as-3 {
    display: flex;
    flex-direction: column;
    margin: 0 auto 20px;
  }
  .sub2_as-1-p,
  .sub2_as-2-p,
  .sub2_as-3-p {
    padding: 10px;
    width: auto;
  }
  .sub2_as-2-p2,
  .sub2_as-3-p2 {
    display: block;
    padding-left: 3em;
    text-indent: -3em;
  }
  .sub2_as-1-img,
  .sub2_as-2-img,
  .sub2_as-3-img {
    width: 100%;
    margin: 0 auto;
  }
}*/
/*
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
硝子体手術（サブページ２）
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
*/
/*.sub2_v-1,
.sub2_v-2,
.sub2_v-3 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  margin: 0 auto;
}
.sub2_v-3 {
  margin: 0 auto 30px;
}
.sub2_v-1-p,
.sub2_v-2-p,
.sub2_v-3-p {
  padding: 30px;
  width: 80%;
}*/
/*.sub2_v-1-img,
.sub2_v-2-img,
.sub2_v-3-img {
  width: 40%;
}*/
/*---
硝子体手術【（サブページ２）】
幅768px以下のスタイル指定 ここから*/
/*@media screen and (max-width: 768px) {
  .sub2_v-1,
  .sub2_v-2,
  .sub2_v-3 {
    display: flex;
    flex-direction: column;
    margin: 0 auto 20px;
  }
  .sub2_v-1-p,
  .sub2_v-2-p,
  .sub2_v-3-p {
    padding: 10px;
    width: auto;
  }
  .sub2_gs-1-ul2 {
    display: block;
    padding-left: 1em;
    text-indent: -1em;
  }
  .sub2_v-1-img,
  .sub2_v-2-img,
  .sub2_v-3-img {
    width: 100%;
  }
}
/*
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
緑内障手術（サブページ２）
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
*/

/*.sub2_gs-1,
.sub2_gs-2 {
  /*display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  margin: 0 auto;
}
.sub2_gs-2 {
  margin: 0 auto 30px;
}
.sub2_gs-1-p,
.sub2_gs-2-p {
  padding: 30px;
  width: 80%;
}
/*.sub2_gs-2-p ul li {
  color: #8a8a00;
}
.sub2_gs-2-p ul li span {
  color: #8a6239;
}
#sub2_gs-2-ul2 {
  text-indent: -1em;
  padding-left: 1em;
}
/*#sub2_gs-2-ul2 li {
  color: #8a0045;
}
.sub2_gs-1-img,
.sub2_gs-2-img {
  width: 40%;
}*/
/*---
緑内障手術【（サブページ２）】
幅768px以下のスタイル指定 ここから*/
/*@media screen and (max-width: 768px) {
  .sub2_gs-1,
  .sub2_gs-2 {
    display: flex;
    flex-direction: column;
    margin: 0 auto 20px;
  }
  .sub2_gs-1-p,
  .sub2_gs-2-p {
    padding: 10px;
    width: auto;
}
  .sub2_gs-1-img,
  .sub2_gs-2-img {
    width: 100%;
  }
}*/
/*
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
レーザー手術（サブページ２）
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
*/
/*.sub2_ls-1,
.sub2_ls-2,
.sub2_ls-3,
.sub2_ls-4 {
  /*display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  margin: 0 auto;
}
.sub2_ls-4 {
  margin: 0 auto 30px;
}
.sub2_ls-1-p,
.sub2_ls-2-p,
.sub2_ls-3-p,
.sub2_ls-4-p {
  padding: 30px;
  width: 80%;
}
/*.sub2_ls-1-img,
.sub2_ls-2-img,
.sub2_ls-3-img,
.sub2_ls-4-img {
  width: 40%;
}*/
/*---
レーザー手術【（サブページ２）】
幅768px以下のスタイル指定 ここから*/
/*@media screen and (max-width: 768px) {
  .sub2_ls-1,
  .sub2_ls-2,
  .sub2_ls-3,
  .sub2_ls-4 {
    display: flex;
    flex-direction: column;
    margin: 0 auto 20px;
  }
  .sub2_ls-1-p,
  .sub2_ls-2-p,
  .sub2_ls-3-p,
  .sub2_ls-4-p {
    padding: 10px;
    width: auto;
}
  .sub2_ls-1-img,
  .sub2_ls-2-img,
  .sub2_ls-3-img,
  .sub2_ls-4-img {
    width: 100%;
  }
}*/
/*
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
小児眼科（サブページ２）
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
*/
/*.sub2_po-1 {
  /*display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  margin: 0 auto 30px;
}
.sub2_po-1-p {
  padding: 30px;
}
.sub2_po-1-dl {
  display: block;
  padding-left: 1em;
  text-indent: -1em;
  color: #8a0045;
}
.sub2_po-1-dl span {
  color: #8a6239;
}
.sub2_po-1-dl dd ul {
  color: #8a8a00;
  padding-left: 1em;
}
.sub2_po-1-dl dd ul span {
  color: #8a6239;
}
.sub2_po-1-img {
  width: 40%;
}*/
/*---
小児眼科【（サブページ２）】
幅768px以下のスタイル指定 ここから*/
/*@media screen and (max-width: 768px) {
  .sub2_po-1 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 auto 20px;
  }
  .sub2_po-1-p {
  padding: 10px;
}
  .sub2_po-1-img {
    width: 100%;
  }
}*/
/*
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
コンタクト外来（サブページ２）
≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣≣
*/
/*.sub2_coc-1 {
  /*display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  margin: 0 auto 30px;
}
.sub2_coc-1-p {
  padding: 30px;
}
.sub2_coc-1-img {
  width: 40%;
}
.sub2_coc-1-ul li {
  text-indent: 1em;
  color: #8a8a00;
}
.sub2_coc-1-ul li span {
  color: #8a6239;
}
.sub2_coc-1-p img {
  margin: 10px auto;
  width: 30%;
  border: 2px solid #0B318F;
  transition: all 0.3s ease;
}
.sub2_coc-1-p img:hover {
  transform: scale(1.1);
}*/
/*---
コンタクト外来【（サブページ２）】
幅768px以下のスタイル指定 ここから*/
/*@media screen and (max-width: 768px) {
  .sub2_coc-1 {
    display: flex;
    flex-direction: column;
    margin: 0 auto 20px;
  }
  .sub2_coc-1-p {
    padding: 10px;
  }
  .sub2_coc-1-img {
    width: 100%;
  }
  /*.sub2_coc-1-p img {
    margin: 10px auto;
    width: 100%;
  }
}*/
/*
=========================================
  Modules（Parts）
=========================================
*/
/*------------------------------------
パンくず
----------------------------------------*/
.breadcrumb {
	width: 80%;
	margin: 10px 20px;
	margin-top: 5px;
}
/*---
診察内容【診療案内（サブページ）】
幅768px以下のスタイル指定 ここから*/
@media screen and (max-width: 768px) {
  .breadcrumb {
    width:80%;
  }
}
/*------------------------------------
pagetop
----------------------------------------*/
#PageTopBtn {
  position: fixed; 
  bottom: 10px; 
  right: 20px; 
  z-index:5;
}
#PageTopBtn a {
  display: block;
  width: 90px;
  height: 90px;
  box-sizing: border-box;
  color: #ffffff;
  background: #e4007f;
  border-radius: 50%;
  outline: none;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
  font-size: 20px;
  opacity : 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
}
#PageTopBtn a:hover {
  text-decoration: none; 
  background: rgba(228,0,127,0.8); 
}

/*
=========================================
  Utilities（効用）
=========================================
/*-----------------------------
ハンバーガーメニュー
------------------------------*/
@media screen and (max-width: 767px) {
    .menu-btn {
      position: fixed;
      right: 0;
      top: 0;
      width: 60px;
      height: 51px;
      display: flex;
      justify-content: center;
      align-items: center;
      background: #009140;
      z-index: 55;
      border: 1px solid #ffffff;
    }
    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
      content: '';
      display: block;
      position: absolute;
      width: 25px;
      height: 3px;
      border-radius: 3px;
      background-color: #ffffff;
    }
    .menu-btn span:before {
        bottom: 8px;
    }
    .menu-btn span:after {
        top: 8px;
    }
}

/*
三本線を「×」マークにする
-----------------------------*/
#menu-btn-check:checked~.menu-btn span {
    background-color: rgba(255,255,255,0);
}
  
#menu-btn-check:checked~.menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
  
#menu-btn-check:checked~.menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

/*
チェックボックスを隠す
------------------------------*/
#menu-btn-check {
    display: none;
  }

/*
ヘッダー・グローバルナビゲーションを上書き
----------------------------------------------*/
.header {
    height: calc(100vh);
}
  
.gnav2 {
    border-bottom: 1px solid #009140;
}
  
.gnav2 ul {
    background: #009140;
    position: fixed;
    width: 50%;
    height: 100%;
    left: 100%;
    top: 0;
    transition: all 0.5s;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    z-index: 50;
}
.gnav2 #menu-btn-check:checked~ul {
    left: 50%;
}
.gnav2 li {
    width: 100%;
}
.gnav2 a {
    text-align: left;
    padding-left: 20px;
}
/*
gnav2（ハンバーガーメニュー）
---------------------*/
@media screen and (max-width: 767px) {
  .gnav2 {
    background: #009140;
  }
  .gnav2 ul {
    display: flex;
  }
  .gnav2 a {
    display: block;
    padding: 10px 0;
    background: #009140;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
  }
  .gnav2 a:hover::after {
    transform: scale(1,1);
  }

  .accordion {
    margin: 0;
  }
  .accordion__summary {
    background: #009140;
    color: #fff;
    font-weight: bold;
    position: relative;
    display: block;
    cursor: pointer;
    padding: 5px 38px 5px 10px;
  }
  .accordion__summary::after {
    content: "+";
    font-size: 1.4em; /* 記号のサイズ */
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }
  .accordion input:checked ~ .accordion__summary::after {
    content: "−";
  }
  .accordion input {
    display: none;
  }
  .accordion__detail {
    display: none;
    margin: 5px 0;
    width: 100%;
  }
  .accordion input:checked ~ .accordion__detail {
    display: block;
  }
  .accordion__text {
    margin: 0;
  }
} 