@charset "UTF-8";

/* ヘッダー */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
}

/* 見出し等 */
h1,
h2,
h3,
.site_name,
.sub_menu a,
.main_visual {
  font-family: "Noto Sans JP", serif;
  font-weight: 600;
  font-style: normal;
}

.site_name {
  margin-right: auto;
  padding: 0rem 0 1rem 0rem;
  font-size: 5vw;
  line-height: 1;
}

.site_name a {
  color: #333 !important;
}

.site_name span {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 2vw;
}

@media (min-width:600px) {
  .site_name {
    font-size: 2.4rem;
    padding: 1.2rem 0 2.5rem 1rem;
  }
  .site_name span {
    font-size: 1.1rem;
  }
}

.tit_bg {
  background-color: #0b72b5;
}
.tit_bg .container {
  background-color: transparent;
}

h1 {
  font-size: 1.8rem;
  text-align: center;
  padding: 5px 20px 60px 20px;
  background-color: #0b72b5;
  color: #fff;
}

h2 {
  margin: 3rem 0;
  line-height: 1;
  font-size: 1.6rem;
  text-align: center;
}

h3 {
  margin: 2rem 0;
  line-height: 1;
  font-size: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #333;
}

h2::first-letter {
  color: #d32000;
}

.logo {
  padding: 10px;
  width: 18vw;
  margin-top: 0px;
}

.sub_menu {
  display: none;
}

@media (min-width:1024px) {

  h1 {
    font-size: 3rem;
    padding: 1px 30px 80px 30px;
  }

  h2 {
    font-size: 2.8rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .logo {
    padding: 15px;
    width: 140px;
    margin-top: 0;
  }

/* サブメニュー */

.sub_menu {
  display: inline-block;
}
.sub_menu ul {
  list-style: none;
  font-size: 0;
  line-height: 0;
}

.sub_menu li {
  display: inline-block;
  margin: 0;
}

.sub_menu a {
  display: block;
  margin: 20px 10px;
  padding: 0.8rem 1.2rem 0.9rem 1.2rem;
  font-size: 0.9rem;
  line-height: 1;
  border-radius: 100vh;
  color: #333;
  transition: all .3s;
  background-color: #fff;
  border: 1px solid #ccc;
}
.sub_menu a:visited {
  color: #333;
}
.sub_menu a:hover {
  background-color: #f1f1f1;
  border: 1px solid #bbb;
}


.sub_menu li:last-child a {
  margin-right: 20px;
  background-color: #d32000;
  border: 1px solid #d32000;
  color: #fff !important;
}
.sub_menu li:last-child a:hover {
  background-color: #f00;
  border: 1px solid #f00;
}

.sub_menu li a:link {
  color: #555;
}

.sub_menu li:last-child a:link {
  color: #fff;
}
}

/* ハンバーガーボタン */
#hamburger_btn {
  position: fixed;
  display: block;
  right: 0;
  top: 0;
  width: 65px;
  height: 65px;
  cursor: pointer;
  z-index: 80;
  background-color: rgba(255, 255, 255, 0.7);
}

#hamburger_btn .menu_icon {
  margin: 13px auto 8px auto;
  width: 32px;
  z-index: 90;
}

#hamburger_btn .close_icon {
  margin: 13px auto 8px auto;
  width: 32px;
  z-index: 90;
}

#hamburger_btn.check {
  background-color: rgba(255, 255, 255, 0);

}


/* 「閉じる」アイコンは消しておく */
#hamburger_btn .close_icon {
  display: none;
}

/* ボタンがチェックされたら（「閉じる」アイコンを表示する）*/
#hamburger_btn.check .close_icon {
  display: block;
}

/* ボタンがチェックされたら（「メニュー」アイコンを消す）*/
#hamburger_btn.check .menu_icon {
  display: none;

}

/* パネル */
#hamburger_panel {
  position: fixed;
  right: -100vw;
  top: 0;
  width: 100vw;
  height: 100%;
  background-color: #333;
  transition: all 0.5s ease 0s;
  z-index: 70;
}
#hamburger_panel .bunkatsu {
display: flex;
justify-content: center;
}
#hamburger_panel .bunkatsu .bun02_item {
  flex: 0 1 50%;
  padding: 0 5px;
}


/* パネルにチェックが付いたら */
#hamburger_panel.check {
  right: 0;
}

/* パネル のデザイン */
#hamburger_panel {
  text-align: center;
  padding-top: 70px;
}

#hamburger_panel ol {
  list-style: none;
  margin-left: 15px;
}

#hamburger_panel ol li {
  margin-left: 0;
}

#hamburger_panel ol li a {
  display: block;
  padding: 0.8rem;
  font-size: 1.2rem;
  color: #fff;
}
#hamburger_panel ol li:last-child a {
  display: block;
  padding: 0.8rem;
  font-size: 1.2rem;
  color: #fff;
  background-color: #d32000;
}

#hamburger_panel ol li a:hover {
  color: #fc0;
}

#hamburger_panel ol li a:active {
  color: #f30;
}
#hamburger_panel .bunkatsu ol {
  border-top: none!important;
}
#hamburger_panel .bunkatsu ol li {
  padding: 5px 0;
}
#hamburger_panel .bunkatsu ol li a {
  background-color: rgba(133, 133, 133, 1);
  border: none!important;
}

@media (min-width:1024px) {

  #hamburger_btn,
  #hamburger_panel {
    display: none;
  }

}


/* メイン */

main {
  background-color: #eee;
  padding-bottom: 1rem;
}

main .container {
  background-color: #fff;
  padding: 0;
}

.main_content {
  margin-top: -2rem;
  margin-right: 0.8rem;
  margin-left: 0.8rem;
}

.content {
  padding: 1rem 1rem 1rem 1rem !important;
}

@media (min-width:1024px) {

  main {
    padding-bottom: 3rem;
  }

  .content {
    padding: 2rem 2.5rem 2rem 2.5rem !important;
  }

  .main_content {
    margin-right: auto;
    margin-left: auto;
  }

  .content {
    padding: 2rem 2.5rem 2rem 2.5rem !important;
  }
  
}


/* 強調 */
strong {
  font-weight: bold;
}

/* 導入文 */
.lead {
  font-size: 1.1rem;
}

.catch01 {
  text-align: center;
  font-size: 1.3rem;
}

.catch02 {
  text-align: center;
  font-size: 1.1rem;
  margin: 30px 0 0 0;
}

/* 囲み */
.kakomi {
  margin: 2rem 0;
  padding: 1.4rem 1.6rem;
  border: 1px solid #ccc;
}

.kakomi h4 {
  margin: 0 0 1rem 0;
}

.kakomi p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.kakomi p:last-child {
  margin-bottom: 0;
}

/* 注釈 */
.hosoku {
  margin-bottom: 2rem;
  font-size: 0.8rem;
  line-height: 1.5;
}

.hosoku ul {
  margin: 2rem 0;
  list-style: none;
}

.hosoku li {
  margin-left: 1rem;
  margin-bottom: 0.3rem;
  text-indent: -1rem;
}

.hosoku li::before {
  content: '※';
  margin-right: 0.2rem;
}

/* 装飾リスト */

.deco_list li {
  list-style: none;
  margin-left: 2em;
  text-indent: -1.8em;
  margin-bottom: 0.2em;
}

.deco_list li:last-child {
  margin-bottom: 0;
}

.deco_list li::before {
  display: inline-block;
  content: "";
  width: 1.2em;
  height: 1.2em;
  background: url(images/check_icon.svg) no-repeat center;
  margin: auto 0.5em -0.2em 0;
}

/* テーブル */
table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  border-spacing: 0;
}

th,
td {
  text-align: left;
  padding: 0.6rem 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
}

th {
  background-color: #eee;
  vertical-align: middle;
  font-weight: bold;
  text-align: center;
}

/* === マージン調整 ===============  */
.mb_0 {
  margin-bottom: 0 !important;
}

.mb_1 {
  margin-bottom: 1rem !important;
}

.mb_2 {
  margin-bottom: 2rem !important;
}

.mb_3 {
  margin-bottom: 3rem !important;
}

.mb_4 {
  margin-bottom: 4rem !important;
}

.mb_5 {
  margin-bottom: 5rem !important;
}

.mt_0 {
  margin-top: 0 !important;
}

.mt_1 {
  margin-top: 1rem !important;
}

.mt_2 {
  margin-top: 2rem !important;
}

.mt_3 {
  margin-top: 3rem !important;
}

.mt_4 {
  margin-top: 4rem !important;
}

.mt_5 {
  margin-top: 5rem !important;
}

.mx_auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.my_auto {
  margin-top: auto !important;
  margin-bottom: auto !important;
}

/* テキスト配置 */
.text_center {
  text-align: center !important;
}

.text_right {
  text-align: right !important;
}

.text_left {
  text-align: left !important;
}

/* === 分割 =============== */

.bunkatsu {
  display: block;

}

.bunkatsu_sp {
  display: flex;
}

.bun02_item {
  padding: 10px;
}

.bun03_item {
  padding: 10px;
}

.bun03_item02 {
  padding: 10px;
}

.bun04_item {
  padding: 10px;
}

.bun05_item {
  padding: 10px;
}

.bun06_item {
  padding: 10px;
}

.bun07_item {
  padding: 10px;
}

/* === 表示・非表示 =============== */

.disp_pc {
  display: none;
}

@media (min-width:600px) {

  .disp_sp {
    display: none;
  }

  .disp_pc {
    display: inline-block;
  }

}

/* === 分割配置調整 =============== */

.j_c_center {
  justify-content: center;
}

/* === 標準ボタン =============== */

/* 詳細へボタン */
.more_btn a {
  position: relative;
  display: inline-block;
  padding: 1.2rem 2.3rem;
  color: #fff;
  line-height: 1;
  background-color: #0063a3;
  border-radius: 0;
  text-decoration: none;
  text-align: center;
  border-radius: 50px;
}

/* カーソルが当たったとき */
.more_btn a:hover {
  background-color: #0b72b5;
}

/* 詳細へボタン（境界線） */
.more_btn_border a {
  position: relative;
  display: inline-block;
  padding: 1.2rem 2.3rem;
  line-height: 1;
  background-color: #fff;
  border: 1px solid #ccc;
  color: #333;
  border-radius: 0;
  text-decoration: none;
  text-align: center;
  border-radius: 50px;
}

/* カーソルが当たったとき */
.more_btn_border a:hover {
  background-color: #f1f1f1;
  border: 1px solid #999;
  color: #333;
}

/* 戻るボタン */

.back_btn a,
button.back_btn {
  position: relative;
  display: inline-block;
  padding: 1.2rem 2.3rem;
  line-height: 1;
  background-color: #fff;
  border: 1px solid #ccc;
  color: #333;
  border-radius: 0;
  text-decoration: none;
  text-align: center;
  border-radius: 50px;
  margin: 2rem auto 0 auto;
  font-size: 1rem;
}

/* カーソルが当たったとき */
.back_btn a:hover,
button.back_btn:hover {
  background-color: #f1f1f1;
  border: 1px solid #999;
  color: #333;
}


    /* パンくずリスト */
    .breadcrumbs {
      margin: 0 0 0 0;
      padding: 3px;
      color: #fff;
    }

    .breadcrumbs ol {
      margin: 5px 0 0 0;
      list-style: none;
      font-size: 0;
      line-height: 0;
    }

    .breadcrumbs li {
      display: inline-block;
      margin-left: 0;
      font-size: 0.75rem;
      line-height: 1;
    }

    .breadcrumbs li:not(:last-child)::after {
      content: ">";
      color: #fff;
    }

    .breadcrumbs li:last-child {
      padding: 0.5rem 0.7rem;
    }

    .breadcrumbs a {
      display: inline-block;
      padding: 0 0.7rem;
      color: #9eecff !important;
    }
    .breadcrumbs a:hover {
      color: #fff !important;
    }

    @media (min-width:600px) {

      .breadcrumbs {
        padding: 10px;
      }

      .breadcrumbs li {
        font-size: 0.85rem;
      }
      .breadcrumbs a {
        padding: 0.5rem 0.7rem;
      }
    
    }

/* フォーム */

input {
  margin: 3px 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="number"],
input[type="date"],
input[type="password"],
textarea {
  padding: 15px;
  width: 100%;
  font-size: 1rem;
  background-color: #f4f4f4;
  border: none;
  border-radius: 5px;
}

button[type="submit"],
input[type="submit"] {
  height: 100%;
  color: #fff;
  background-color: #0063a3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: #ccc;
  line-height: 1.2;
  min-height: 40px;
  border: 0 solid;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.2rem;
}

button[type="submit"]:hover,
input[type="submit"]:hover {
  background-color: #0b72b5;
}

input[type="radio"] {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1px solid #000;
  border-radius: 50%;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
          margin: 5px 5px 2px 5px;
          vertical-align: bottom;
}

input[type="radio"]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #990000;
  content: '';
}

.checkbox_item {
  display: flex;
  align-items: center;
  column-gap: 4px;
  width: fit-content;
  line-height: 1;
  cursor: pointer;
}

.checkbox_item:not(:last-of-type) {
  margin-bottom: 16px;
}

.checkbox {
  appearance: none;
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid #0b72b5;
  background-color: #fff;
  border-radius: 2px;
  cursor: pointer;
  top: 6px;
}

.checkbox:checked {
  background-color: #0b72b5;
}

.checkbox:checked::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 3px;
  width: 12px;
  height: 6px;
  border-bottom: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  transform: rotate(-45deg);
}

/* ニュース */

dl.news_list dt {
  margin: 0;
  padding: 0;
 }
 dl.news_list dd {
  margin: 0 0 1rem 0;
  padding: 0;
 }

@media (min-width:600px) {

  .news .container {
    padding: 50px;
  }

  dl.news_list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
   }
   
   dl.news_list dt {
     width: 100px;
    }
    dl.news_list dd {
     width: 88%;
     margin: 0 0 0 0;
    }
}

/* メインメニュー */

.main_menu {
  margin-bottom: 30px;
}

.main_menu ul {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
}

/* 子要素（li）に適用するスタイル */
.main_menu ul li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: 43vw;
}
.main_menu li {
  margin: 0;
  justify-content: center;
}

.main_menu a {
  text-align: center;

  display: block;
  padding: 2rem 0 2rem;
  font-size: 3.5vw;
  line-height: 1;
  background-color: #eee;
}

.main_menu a:link {
  color: #333;
}

/* フッターの設定 */
.wrapper {
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}

footer {
  text-align: center;
  background-color: #323232;
  color: #fff;
}

/* フッターメニュー */
.footer_menu {
  background-color: #262626;
}
.footer_menu ul {
  margin: 0;
  list-style: none;
  font-size: 0;
  line-height: 0;
}

.footer_menu li {
  display: block;
  margin: 0;
}

.footer_menu a {
  display: block;
  margin: 0;
  padding: 0.8rem;
  font-size: 0.9rem;
  line-height: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all .3s;
}

.footer_menu a:link {
  color: #fff;
}
.footer_menu a:visited {
  color: #fff;
}
.footer_menu a:hover {
  color: #ccc;
}

/* フッター　団体名 */
footer p {
  margin: 30px 0 10px 0;
  font-size: 1.5rem;
  font-weight: bold;
}
/* フッター　コピーライト */
footer .copyright {
  margin: 0 0 30px 0;
  font-size: 0.8rem;
  color: #999;
  font-weight: normal;
}

@media (min-width:600px) {

  .main_menu ul li:last-child:nth-child(odd) {
    width: 480px;
  }

  .footer_menu li {
    display: inline-block;
    margin: 0;
  }

  .footer_menu a {
    display: block;
    margin: 10px;
    border-bottom: 0px solid;
  }
  

}

/* カテゴリメニュー */

.cat_menu {
  display: flex;
  font-size: 0.8rem;
  margin: -2rem 0 0 0;
}

.cat_menu div {
  flex: 1;
  box-sizing: border-box;
  text-align: center;
  padding: 1rem 0;
  background-color: #fff;
}
.cat_menu div:first-child {
  border-left: 1px solid #fff;
}
.cat_menu div a {
  background-color: #095ea1;
  display: block;
  text-decoration: none;
  padding: 1rem 0;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  color: #fff;
  margin: -1rem 0;
  transition: all .3s;
}
.cat_menu div a:hover {
  background-color: #0b72b5;
}

.cat_menu div a.active {
  background-color: #fff;
  display: block;
  text-decoration: none;
  padding: 1rem 0;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  color: #000;
  margin: -1rem 0;
  transition: all .3s;
}
.cat_menu div a.active:hover {
  background-color: #fff;
  color: #000;
}

@media (min-width:600px) {

  .cat_menu {
    font-size: 1rem;
  }
}

/* 病院・医院案内 */

.iin_search_kakomi {
  margin: 2rem 0;
  padding: 1.6rem 1.6rem;
  background-color: #fffbe8;
  border-radius: 0.6rem;
}

.iin_search_kakomi input[type="text"] {
  background-color: #fff;
  border: 1px solid #ccc;
}

.iin_search_kakomi h3 {
  margin: 0 0 2rem 0;
  padding: 0;
  border: 0;
}

.iin_search .bunkatsu {
  display: flex;
  flex-wrap: wrap;
}

.iin_search .bunkatsu div {
   width: 50%;
 }

@media (min-width:600px) {

  .iin_map .bunkatsu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 2rem 0;
  }

  .iin_map .bun02_item {
    flex-basis: 50%;
  }

}

 .search-result-count {
  font-size: 1.2rem;
 }

 .iin_list {
  margin-bottom: 3rem;
}
.iin_list a.iin_card {
 color: #333;
 margin-bottom: 2rem;
 transition: all .3s;
}
.iin_list a.iin_card h3 {
   color: #fff;
   background-color: #0063a3;
   border-top-left-radius: 5px;
   border-top-right-radius: 5px;
   padding: 1rem 1rem 1.2rem 1rem;
   font-size: 4.6vw;
   margin-bottom: 0;
   border-bottom: 0;
  transition: all .3s;
  position: relative;
}

.iin_list a.iin_card h3::after {
  content: '';
  /*絶対配置で矢印の位置を決める*/
  position: absolute;
  top: 1em;
  right: 25px;
  /*矢印の形状*/   
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  /*アニメーションの指定*/
  transition: all .3s;
  }
.iin_list a.iin_card:hover h3 {
  background-color: #0b72b5 !important;
}

.iin_list a.iin_card .result_info {
   background-color: #f1f1f1;
   padding: 1rem 1rem 0.8rem 1rem;
}
.iin_list a.iin_card dl {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  align-items: baseline;
  font-size: 3.6vw;
}
.iin_list a.iin_card dl dt {
  width: 20%;
  text-align: center;
  padding: 0.2rem 0;
  margin: 0 2% 10px 0;
  background-color: #fff;
  border-radius: 50px;
}
.iin_list a.iin_card dl dd {
  width: 78%;
  padding: 0.2rem 0;
  margin: 0;
}

.iin_syousai .bunkatsu {
  background-color: #fffbe8;
  padding-bottom: 0;
}

.iin_syousai .bunkatsu p {
  margin: 0 0 10px 0;
}

.iin_syousai table dl {
  padding: 0;
  margin: 0;
}
.iin_syousai table dl dt {
  font-weight: normal;
}

@media (max-width:600px) {

  .iin_syousai table th,
  .iin_syousai table td {
  display: block;
  text-align: left;
  border-top: 0 solid;
}
.iin_syousai table {
  border-top: 1px solid #ccc;
}

}

@media (min-width:600px) {
  
.iin_list a.iin_card .result_info {
  padding: 1.5rem 1.5rem 1rem 1.5rem;
}
  .iin_list a.iin_card h3 {
     font-size: 1.6rem;
  }
  .iin_list a.iin_card:hover h3 {
    background-color: #004dd9;
  }
/*hover時に矢印が移動*/   
.iin_list a.iin_card h3:hover::after {
right:20px;
}

 .iin_search .bunkatsu div {
    width: 20%;
  }
  .iin_list a.iin_card dl {
    font-size: 1rem;
  }
  .iin_list a.iin_card dl dt {
    width: 10%;
  }
  .iin_list a.iin_card dl dd {
    width: 88%;
  }

  .iin_syousai .bunkatsu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 2rem 0;
  }
  .iin_syousai .bun02_item {
    flex-basis: 50%;
  }
  .iin_syousai .bun02_item:last-child {
    padding: 1rem;
  }
  
  .iin_syousai table {
    border-top: 1px solid #ccc;
    padding: 1rem;
  }
  .iin_syousai th,
  .iin_syousai td {
    text-align: left;
    padding: 0.6rem 0.5rem;
    font-size: 1rem;
    border-top: 0 solid #ccc;
    border-right: 0 solid #ccc;
    border-left: 0 solid #ccc;
    border-bottom: 1px solid #ccc;
  }
  
  .iin_syousai th {
    border-bottom: 1px solid #ccc;
    width: 15%;
    background-color: #f1f1f1;
  }
  .iin_syousai table dl {
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
  }
  .iin_syousai table dl dt {
    font-weight: normal;
  }
  .iin_syousai table dl dd {
  }
}

.iin_search .submit_btn input {
  margin: 30px auto 30px auto;
}

/* 伊賀医師会について */

.message .bun02_item:has(img) p {
  margin-top: 1rem;
}

.message .bun02_item:has(img) p span {
  font-size: 2em;
  font-family: serif;
}

.message .bun02_item:has(img) {
  text-align: center;
}

.map {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 45%; /* 比率を4:3に固定 */
  margin-bottom: 3rem;
}
 
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (min-width:600px) {

.message .bunkatsu {
  display: flex;
  flex-wrap: wrap;
}
.message .bun02_item {
  flex-basis: 70%;
  order: 2;
}
.message .bun02_item:has(img) {
  flex-basis: 30%;
  order: 1;
}

.access .bunkatsu {
  display: flex;
  flex-wrap: wrap;
}
.access .bun02_item {
  flex-basis: 50%;
}
.access .bun02_item:has(img) {
  flex-basis: 50%;
}

}

/* ギャラリー */


/* 会報 */

.bunkatsu.kaihou_list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  }
  
  .bunkatsu.kaihou_list .bun03_item {
    flex: 0 1 50%;
    margin-bottom: 1rem;
  }
  
  .bunkatsu.kaihou_list .bun03_item img {
    object-fit: cover;
    height: 40vw;
    width: 100%;
  }
  .bunkatsu.kaihou_list a.bun03_item {
    color: #333;
    font-size: 0.8rem;
  }
  .bunkatsu.kaihou_list a.bun03_item:hover img {
    opacity: 70%;
  }
  .bunkatsu.kaihou_list a.bun03_item:hover h3 {
    color: #59a101;
    transition: all .3s;
  }
  
  .bunkatsu.kaihou_list .bun03_item h3 {
    border: 0 solid;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
  }
  .bunkatsu.kaihou_list .bun03_item p {
    margin: 0 0 10px 0;
  }
  
  @media (min-width:768px) {
  
    .bunkatsu.kaihou_list a.bun03_item {
      font-size: 1rem;
    }
    .bunkatsu.kaihou_list .bun03_item img {
      height: 300px;
    }
    .bunkatsu.kaihou_list .bun03_item {
    flex: 0 1 33.333%;
  }
  .bunkatsu.kaihou_list .bun03_item h3 {
    font-size: 1.2rem;
  }
  
  }
  
  

.haiku_tanka {
  background-color: #eee;
  padding: 1rem;
}

@media (min-width:600px) {

  .gallery .bunkatsu {
    display: flex;
    flex-wrap: wrap;
  }
  .gallery .bun02_item {
    flex-basis: 50%;
  }
}


/* 橋本病と橋本策博士 */

.hashimoto img {
  margin: 0 auto;
}

.hashimoto .kakomi {
  padding: 0 2rem 2rem 2rem;
}

.hashimoto .bunkatsu {
  display: flex;
  flex-wrap: wrap;
}

.hashimoto .bun02_item {
  padding: 0;
  flex-basis: 50%;
}

.hashimoto .bun02_item:first-child {
  padding-right: 10px;
}

.hashimoto .bun02_item:last-child {
  padding-left: 10px;
}

/* お問い合わせ */

.contact strong {
  color: #d32000;
  font-size: 1rem;
}

.contact button[type="submit"] {
  margin: 3rem auto 3rem auto;
}

/* メニューリスト */

.menu_list {
  list-style: none;
  margin: 2rem 0 2rem 0;
  padding: 0;
  border-top: 1px solid #ccc;
}
.menu_list li {
  margin: 0 0 0 0;
  padding: 0.8rem 2rem 0.8rem 0.8rem;
  border-bottom: 1px solid #ccc;
  color: #999;
  position: relative;
}

.menu_list a {
  color: #000;
  display: block;
  padding: -0.8rem -0.8rem -0.8rem -0.8rem;
  transition: all .3s;
}
.menu_list a:hover {
  color: #0b72b5;
}
.menu_list a::after {
  content: '';
  /*絶対配置で矢印の位置を決める*/
  position: absolute;
  top: 1.2rem;
  right: 20px;
  /*矢印の形状*/   
  width: 10px;
  height: 10px;
  border-top: 1px solid #999;
  border-right: 1px solid #999;
  transform: rotate(45deg);
  transition: all .3s;
}

@media (min-width:600px) {

  .menu_list li {
    margin: 0 0 0 0;
    padding: 0.8rem 3rem 0.8rem 0.8rem;
    border-bottom: 1px solid #ccc;
    color: #999;
    position: relative;
  }

  .menu_list a:hover {
  }
  .menu_list a::after {
    top: 1.5rem;
    right: 30px;
  }
  /*hover時に矢印が移動*/   
  .menu_list a:hover::after {
  right:25px;
  }

}