@charset "UTF-8";
/*
Theme Name: 市野瀬和田内科医院
Description: 市野瀬和田内科医院の独自テーマ（Twenty Seventeenをもとに制作）。2026-11-05にフォルダをtwentyseventeenから移動。公式テーマの更新で上書きされないようにするため。
Version: 1.0
Text Domain: twentyseventeen
*/
/*=============
   フォント名
==============*/
.rb {
  font-family: 'Roboto Slab', 'serif';
  font-weight: 600;
}

.rr {
  font-family: 'Roboto Slab', 'serif';
  font-weight: 400;
}

.rl {
  font-family: 'Roboto Slab', 'serif';
  font-weight: 300;
}

.yb {
  font-family: 'Yu Gothic', 'YuGothic', 'sans-serif';
  font-weight: 700;
}

@media all and (-ms-high-contrast: none) {
  .yb {
    font-family: "Meiryo", sans-serif !important;
  }
}

.um {
  font-family: 'Yu Gothic', 'YuGothic', 'sans-serif';
  font-weight: 500;
}

@media all and (-ms-high-contrast: none) {
  .um {
    font-family: "Meiryo", sans-serif !important;
  }
}

/*=============================
         ブレークポイント
=============================*/
.on870 {
  display: none;
}

@media (max-width: 870px) {
  .on870 {
    display: block;
  }
}

.on768 {
  display: none;
}

@media (max-width: 768px) {
  .on768 {
    display: block;
  }
}

/*===================================
              共通
=====================================*/
body {
  font-family: 'Yu Gothic', 'YuGothic', 'sans-serif';
  font-weight: 500;
  margin: 0 auto;
  width: 100%;
}

@media all and (-ms-high-contrast: none) {
  body {
    font-family: "Meiryo", sans-serif !important;
  }
}

.wp-block-image img {
  height: auto;
}

.sec_wrap {
  max-width: 1200px;
  margin: 0 auto;
  width: 95%;
}

.more_btn {
  border: 1px solid #209cff;
  border-radius: 27.5px;
  color: #2d9fff;
  display: block;
  font-size: 16px;
  padding: 20px;
  text-align: center;
  width: 100%;
}

.more_btn:hover {
  background-color: #2d9fff;
  color: #fff;
}

.examination {
  align-items: center;
  background-color: #323232;
  color: #fff;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: center;
}

.examination .examination_title {
  font-size: 22px;
  text-align: center;
}

.examination .examination_table--wrap {
  width: 100%;
}

.examination .examination_table {
  border: 1px solid  #fff;
  margin-top: 30px;
}

.examination .examination_table th, .examination .examination_table td {
  border: 1px solid  #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 18px 12px;
}

.examination .examination_wrap {
  margin-top: 15px;
}

.examination .examination_wrap .examination_text {
  display: inline-block;
  font-size: 12px;
  margin-right: 15px;
}

.examination .examination_wrap .adminer_text {
  display: block;
}

.examination .car {
  align-items: center;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  margin-top: 8%;
}

.examination .car .car_image {
  max-width: 80px;
  width: 100%;
}

.examination .car .car_text {
  color: #fff;
  font-size: 15px;
  letter-spacing: 2px;
  margin-left: 9px;
}

.examination .car .car_number {
  font-size: 30px;
}

.examination .yellow {
  color: #fffc00;
}

/*===================================
              480px
=====================================*/
@media (max-width: 480px) {
  .examination .examination_title {
    font-size: 16px;
  }
  .examination .examination_table {
    margin-top: 15px;
  }
  .examination .examination_table th, .examination .examination_table td {
    padding: 14px 8px;
  }
  .examination .examination_wrap {
    margin-top: 15px;
  }
  .examination .examination_wrap .examination_text {
    margin-right: 7px;
  }
  .examination .car .car_image {
    width: 20%;
  }
  .examination .car .car_text {
    font-size: 14px;
  }
  .examination .car .car_number {
    font-size: 20px;
  }
}

/*===================================
              375px
=====================================*/
@media (max-width: 375px) {
  .examination .examination_table th, .examination .examination_table td {
    padding: 14px 6px;
  }
}

/*===================================
              ヘッダー
=====================================*/
.header {
  padding: 30px 6.2%;
}

.header .header_inner {
  align-items: center;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: space-between;
}

.header .header_left {
  align-items: center;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  width: 44%;
}

.header .logo {
  max-width: 290px;
  min-width: 230px;
  width: 40%;
}

.header .header_text {
  font-size: 12px;
  letter-spacing: -0.3px;
  margin-left: 3%;
  width: 60%;
}

.header .nav_wrap {
  font-size: 15px;
  width: 55%;
}

.header .nav_box {
  align-items: center;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: space-between;
}

.header .nav_box .nav_item {
  line-height: 1;
  padding: 7px 0;
  text-align: center;
  width: 17%;
}

.header .nav_box .nav_item:not(:last-child) {
  border-left: 1px solid  #000;
}

.header .nav_box .tel_item {
  font-size: 22px;
  width: 25%;
}

.header .nav_box .tel_item .fa-phone-alt {
  transition: color .3s;
  margin-right: 2px;
}

.header .nav_box .tel_item:hover {
  color: #209cff;
}

.header .nav_box .tel_item:hover .fa-phone-alt {
  color: #209cff;
}

.header .nav_box .contact_item {
  background-image: url(./assets/img/common/btn_h.png);
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 21px;
  color: #fff;
  font-size: 15px;
  padding: 14px 4.6%;
  width: 21%;
}

.header .nav_box .contact_item:hover {
  opacity: .8;
}

.header .link_item {
  border-bottom: 1px solid  #fff;
}

.header .link_item:hover {
  border-bottom: 1px solid  #209cff;
}

/*-------------------------
        1770px
-------------------------*/
@media (max-width: 1770px) {
  .header {
    padding: 30px 2%;
  }
}

/*-------------------------
        1620px
-------------------------*/
@media (max-width: 1620px) {
  .header .nav_box .nav_item {
    padding: 7px 2.6%;
  }
  .header .nav_box .contact_item {
    padding: 14px 2.6%;
  }
}

/*-------------------------
        1510px
-------------------------*/
@media (max-width: 1510px) {
  .header .nav_wrap {
    width: 78%;
  }
  .header .nav_box .nav_item {
    padding: 7px 2.6%;
  }
  .header .nav_box .contact_item {
    padding: 14px 2.6%;
  }
}

/*-------------------------
        1295px
-------------------------*/
@media (max-width: 1295px) {
  .header .header_left {
    display: block;
    width: 25%;
  }
  .header .logo {
    min-width: inherit;
    width: 95%;
  }
  .header .header_text {
    display: none;
  }
  .header .nav_wrap {
    width: 75%;
  }
  .header .nav_box .nav_item {
    width: auto;
  }
  .header .nav_box .contact_item {
    width: auto;
  }
}

/*-------------------------
        870px
-------------------------*/
@media (max-width: 870px) {
  .header .header_left {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    width: 90%;
  }
  .header .logo {
    width: 45%;
  }
  .header .nav_wrap {
    width: 10%;
  }
  .header .nav_box .nav_item {
    padding: 12px;
    text-align: left;
  }
  .header .nav_box .nav_item:not(:last-child) {
    border-left: none;
  }
  .header .nav_box .tel_item {
    font-size: 15px;
  }
  .header .nav_box .contact_item {
    background-image: none;
    border-radius: 0;
  }
}

/*-------------------------
        480px
-------------------------*/
@media (max-width: 480px) {
  .header {
    padding: 15px 2%;
  }
}

/*===========================================
**            ハンバーガーメニュー
**===========================================*/
@media (max-width: 870px) {
  .header .nav {
    background-color: rgba(32, 110, 255, 0.9);
    height: 100%;
    opacity: .9;
    padding-top: 100px;
    position: fixed;
    right: 0;
    top: 0;
    transform: translate(250px);
    transition: all .5s;
    width: 250px;
    z-index: 10;
  }
  .header .nav_box {
    display: block;
  }
  .header .nav_item {
    border-bottom: 1px solid #fff;
    color: #fff;
    display: block;
    padding: 10px;
  }
  .header .overlay {
    background-color: rgba(0, 0, 0, 0.5);
    content: "";
    display: block;
    height: 0;
    left: 0;
    opacity: 0;
    position: fixed;
    transition: opacity .5s;
    top: 0;
    width: 0;
    z-index: 2;
  }
  .header .menu_trigger {
    border: none;
    background: transparent;
    cursor: pointer;
    display: inline-block;
    height: 28px;
    outline: none;
    position: fixed;
    right: 30px;
    top: 35px;
    transform: translateX(0);
    transition: transform .5s;
    vertical-align: middle;
    width: 36px;
    z-index: 100;
  }
  .header .menu_trigger span {
    background-color: #000;
    display: inline-block;
    height: 4px;
    left: 0;
    position: absolute;
    width: 100%;
  }
  .header .menu_trigger span:nth-of-type(1) {
    top: 0;
  }
  .header .menu_trigger span:nth-of-type(2) {
    top: 12px;
  }
  .header .menu_trigger span:nth-of-type(3) {
    bottom: 0;
  }
}

/*-------------------------
 ハンバーガーメニュー表示時
-------------------------*/
@media (max-width: 870px) {
  .header .nav_wrap.open .nav {
    transform: translate(0);
  }
  .header .nav_wrap.open .overlay {
    height: 100%;
    opacity: 1;
    width: 100%;
  }
  .header .menu_trigger.active {
    transform: translateX(-250px);
  }
  .header .menu_trigger.active span {
    background-color: #fff;
  }
  .header .menu_trigger.active span:nth-of-type(1) {
    transform: translateY(12px) rotate(-45deg);
  }
  .header .menu_trigger.active span:nth-of-type(2) {
    opacity: 0;
  }
  .header .menu_trigger.active span:nth-of-type(3) {
    transform: translateY(-12px) rotate(45deg);
  }
}

/*-------------------------
 480px
-------------------------*/
@media (max-width: 480px) {
  .header .menu_trigger {
    top: 15px;
  }
}

/*-------------------------
    お問い合わせ共通
-------------------------¥*/
.connecting {
  color: #fff;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: space-between;
}

.connecting .tel, .connecting .contact {
  display: block;
}

.connecting .tel:hover, .connecting .contact:hover {
  opacity: .8;
}

.connecting .tel {
  background-image: url(./assets/img/common/tel_f.jpg);
  background-size: cover;
  background-position: center;
  padding: 5.6% 10px;
  width: 50%;
}

.connecting .connecting_wrap {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
  width: 100%;
}

.connecting .connecting_wrap span {
  color: #fff;
  display: block;
  letter-spacing: 3px;
}

.connecting .connecting_tel--wrap {
  margin-left: auto;
}

.connecting .connecting_title {
  font-size: 36px;
}

.connecting .connecting_text {
  font-size: 15px;
  margin-top: 5px;
}

.connecting .connecting_tel {
  font-size: 30px;
  margin-top: 15px;
}

.connecting .contact {
  background-image: url(./assets/img/common/contact_f.jpg);
  background-size: cover;
  background-position: center;
  border-left: 1px solid  #fff;
  padding: 5.6% 10px;
  width: 50%;
}

.connecting .connecting_btn {
  border: 1px solid  #fff;
  border-radius: 21px;
  font-size: 15px;
  line-height: 1;
  max-width: 180px;
  margin: 16px auto 0;
  padding: 14px;
  text-align: center;
  width: 95%;
}

/*---------------------------------------
**          768px
**---------------------------------------*/
@media (max-width: 768px) {
  .connecting {
    flex-wrap: wrap;
  }
  .connecting .tel {
    width: 100%;
  }
  .connecting .connecting_wrap {
    max-width: inherit;
  }
  .connecting .connecting_tel--wrap {
    margin-left: inherit;
  }
  .connecting .connecting_title {
    font-size: 28px;
  }
  .connecting .connecting_text {
    font-size: 15px;
  }
  .connecting .connecting_tel {
    font-size: 24px;
    margin-top: 10px;
  }
  .connecting .contact {
    width: 100%;
  }
  .connecting .connecting_btn {
    font-size: 15px;
    padding: 14px;
  }
}

/*---------------------------------------
**          480px
**---------------------------------------*/
@media (max-width: 480px) {
  .connecting .connecting_title {
    font-size: 22px;
  }
  .connecting .connecting_text {
    font-size: 14px;
  }
  .connecting .connecting_tel {
    font-size: 18px;
    margin-top: 10px;
  }
  .connecting .contact {
    border-top: 1px solid #fff;
    border-left: none;
  }
  .connecting .connecting_btn {
    font-size: 14px;
    padding: 10px;
  }
}

/*---------------------------------------
**          フッター
**---------------------------------------*/
.footer {
  background-color: #209cff;
  padding: 3.1% 0 0;
}

.footer .footer_wrap {
  align-items: center;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: space-between;
}

.footer .footer_left {
  min-width: 280px;
  width: 32%;
}

.footer .footer_address {
  color: #fff;
  font-size: 15px;
  margin-top: 10px;
}

.footer .footer_right {
  width: 76%;
}

.footer .footer_list {
  align-items: center;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: flex-end;
}

.footer .footer_list .footer_list--link {
  color: #fff;
  font-size: 15px;
  padding: 7px 3%;
  text-align: center;
}

.footer .footer_list .footer_list--link:not(:first-child) {
  border-left: 1px solid  #fff;
}

.footer .footer_list .footer_list--link:hover {
  border-bottom: 1px solid  #fff;
}

.footer .footer_list .footer_list--tel {
  font-size: 22px;
}

.footer .footer_list .fa-phone-alt {
  margin-right: 2px;
}

.footer .copy {
  background-color: #eee;
  display: block;
  font-size: 12px;
  margin-top: 3.6%;
  padding: 1.6% 5px;
  text-align: center;
}

/*---------------------------------------
**          990px
**---------------------------------------*/
@media (max-width: 990px) {
  .footer .footer_wrap {
    display: block;
  }
  .footer .footer_left {
    max-width: 280px;
    width: 100%;
  }
  .footer .footer_right {
    margin-top: 15px;
    width: 100%;
  }
  .footer .footer_list {
    justify-content: flex-start;
  }
  .footer .footer_list .footer_list--link:first-child {
    padding: 7px 3% 7px 0;
  }
}

/*---------------------------------------
**          768ox
**---------------------------------------*/
@media (max-width: 768px) {
  .footer .footer_address {
    font-size: 14px;
  }
  .footer .footer_list {
    flex-wrap: wrap;
  }
  .footer .footer_list .footer_list--link {
    display: block;
    font-size: 14px;
    text-align: center;
  }
  .footer .footer_list .footer_list--link:first-child {
    padding: 7px 3% 7px 0;
  }
  .footer .footer_list .footer_list--link:not(:first-child) {
    border-left: 1px solid  #fff;
  }
  .footer .footer_list .footer_list--tel {
    font-size: 18px;
  }
}

/*---------------------------------------
**          480px
**---------------------------------------*/
@media (max-width: 480px) {
  .footer .footer_left {
    max-width: 100%;
  }
  .footer .f_logo {
    display: block;
    max-width: 200px;
  }
  .footer .footer_list {
    display: block;
  }
  .footer .footer_list .footer_list--link {
    text-align: left;
    padding: 6px 0;
  }
  .footer .footer_list .footer_list--link:not(:first-child) {
    border-left: none;
  }
}
