@charset "UTF-8";

/*
Theme Name: ベーシックテーマ
Theme URI: https://pmen.net/
Version: 1.0
*/
/* =====================================
  FOUNDATIONS
===================================== */
/*--------------------------------------
  Elements
--------------------------------------*/
* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Noto Serif JP", Sans-serif, "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-size: 1.4rem;
  color: #000;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

body.fixed {
  /* position: fixed; */
  overflow: hidden;
}

a {
  text-decoration: none;
}

a:focus,
*:focus {
  outline: none;
}

a[href^="tel:"] {
  pointer-events: none;
  cursor: text;
}

a img {
  transition-duration: 0.7s;
}

a:hover img {
  opacity: 0.7;
}

img {
  vertical-align: bottom;
}

.swiper-wrapper,
.elementor-swiper-button {
  z-index: 0 !important;
}

@media screen and (max-width: 767px) {
  a[href^="tel:"] {
    pointer-events: auto;
    cursor: pointer;
  }
}

/* =====================================
  ブレイクポイント切替
===================================== */
.tb,
.sp,
.mb {
  display: none;
}

@media (max-width: 1024px) {
  .tb {
    display: initial;
  }

  .pc-tb {
    display: none;
  }
}

@media (max-width: 767px) {
  .sp {
    display: initial;
  }

  .pc-sp {
    display: none;
  }
}

@media (max-width: 480px) {
  .mb {
    display: initial;
  }

  .pc-mb {
    display: none;
  }
}

/* elementor fix */
.elementor-container.elementor-column-gap-default>.elementor-column>.elementor-element-populated {
  padding: 0 30px;
}

@media (max-width: 480px) {
  .elementor-container.elementor-column-gap-default>.elementor-column>.elementor-element-populated {
    padding: 0 20px;
  }
}

/* =====================================
  LAYOUTS
===================================== */
/*--------------------------------------
	Container
--------------------------------------*/
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 30px;
}

.container:after {
  content: "";
  display: block;
  clear: both;
}

/*--------------------------------------
	Header
--------------------------------------*/
/*--------------------------------------
  MainVisual
--------------------------------------*/
/*--------------------------------------
	Main
--------------------------------------*/
body:not(.home) .main {
  padding-bottom: 40px;
}

/*--------------------------------------
  Side
--------------------------------------*/
.side {
  position: fixed;
  z-index: 10;
  top: 27vh;
  right: 0;
  width: 7vw;
  max-width: 90px;
}

.side ul {
  display: flex;
  flex-direction: column;
}

.side ul img {
  width: 100%;
}

/*--------------------------------------
  Content bottom
--------------------------------------*/
/*--------------------------------------
  Footer
--------------------------------------*/
/* =====================================
	OBJECTS
===================================== */
/* -------------------------------------
	Bread
------------------------------------- */
.bread {
  max-width: 1060px;
  margin: 14px auto 30px;
  padding: 0 30px;
  width: 100%;
  text-align: left;
  line-height: 1.3;
}

.bread li {
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  display: inline;
}

.bread li+li:before {
  padding-right: 0.3em;
  content: "−";
}

.bread li a {
  color: #000;
  text-decoration: underline;
  vertical-align: baseline;
}

.bread li a:hover {
  text-decoration: none;
}

/*--------------------------------------
  Pagetop
--------------------------------------*/
/* .pagetop {
  position: fixed;
  z-index: 10;
  right: 10px;
  bottom: 10px;
  transition-duration: 0.7s;
}

@media (max-width: 767px) {
  .pagetop {
    bottom: 15vw;
  }
}

.pagetop a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #b9c8d8;
}

.pagetop a:after {
  content: "";
  display: block;
  width: 34px;
  height: 8px;
  background: url("/wp-content/themes/basic_tpl/img/ico-arrow01.svg") no-repeat;
  background-size: 100%;
  transform: rotate(-90deg);
}

.pagetop a:hover {
  opacity: 0.7;
}

.pagetop span {
  display: none;
}

.pagetop.scrollOn {
  opacity: 0;
} */

/*--------------------------------------
  Anchor Links
--------------------------------------*/
.anchorLinks {
  margin-bottom: 60px;
  padding: 35px 0 10px;
  background: #6e6451;
}

@media (max-width: 767px) {
  .anchorLinks {
    margin-bottom: 50px;
  }
}

@media (max-width: 480px) {
  .anchorLinks {
    padding: 25px 0 0;
  }
}

.anchorLinks ul {
  display: flex;
  flex-wrap: wrap;
}

.anchorLinks li {
  position: relative;
  margin-bottom: 25px !important;
  padding: 0 20px !important;
  width: 50%;
  font-size: 1.6rem;
  line-height: 1.5;
  justify-content: center;
}

@media (max-width: 767px) {
  .anchorLinks li {
    width: 100%;
    justify-content: left;
  }
}

.anchorLinks li a {
  position: relative;
  display: inline-block !important;
  width: auto !important;
  padding-left: 27px;
  color: #fff;
  transition-duration: 0.7s;
}

.anchorLinks li a:before {
  content: "";
  position: absolute;
  top: 50%;
  margin-top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
  transition-duration: 0.7s;
}

.anchorLinks li a:after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  display: block;
  width: 0;
  height: 1px;
  background: #fff;
}

@media (max-width: 767px) {
  .anchorLinks li a:hover {
    text-decoration: underline;
  }
}

.anchorLinks li a:hover:before {
  margin-top: -6px;
  transform: rotate(135deg);
}

@media (min-width: 768px) {
  .anchorLinks li a:hover:after {
    -webkit-animation: hover-anchorLinks 0.7s forwards;
            animation: hover-anchorLinks 0.7s forwards;
  }
}

.anchorLinks.col3 li {
  width: 33.33%;
  justify-content: left;
  padding: 0 30px !important;
}

@media (max-width: 767px) {
  .anchorLinks.col3 li {
    width: 50%;
  }
}

@media (max-width: 480px) {
  .anchorLinks.col3 li {
    width: 100%;
  }
}

.anchorLinks.col4 li {
  width: 25%;
}

@media (max-width: 767px) {
  .anchorLinks.col4 li {
    justify-content: left;
    width: 50%;
  }
}

@media (max-width: 480px) {
  .anchorLinks.col4 li {
    width: 100%;
  }
}

.anchorLinks.left li {
  justify-content: left;
}

/* ホバー時二重線 */
@-webkit-keyframes hover-anchorLinks {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}
@keyframes hover-anchorLinks {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

/*--------------------------------------
  Top
--------------------------------------*/
/*--------------------------------------
  Under
--------------------------------------*/
/* float */
.fr {
  float: right !important;
}

.fl {
  float: left !important;
}

/* clears */
.clearfix {
  *zoom: 1;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.cl {
  clear: both !important;
}

/* hides */
.textHide {
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}

/* align */
.tac {
  text-align: center !important;
}

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

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

/* elementor fix */
.elementor-container.elementor-column-gap-default>.elementor-column>.elementor-element-populated {
  padding: 0 30px;
}

@media (max-width: 480px) {
  .elementor-container.elementor-column-gap-default>.elementor-column>.elementor-element-populated {
    padding: 0 20px;
  }
}

/* =====================================
  Humburger Menu
===================================== */
/*--------------------------------------
  Button
--------------------------------------*/

.toggleMenu {
  display: none;
  position: fixed;
  background: #3B3836;
  cursor: pointer;
  width: 60px;
  height: 60px;
  /* border-radius: 5px; */
  top: 0;
  right: 0;
  z-index: 1000;
}

@media screen and (max-width: 1023px) and (min-width: 761px) {
  .toggleMenu_new {
    display: block;
  }
}

@media (max-width: 760px) {
  .toggleMenu {
    display: block;
  }
}

/*ボタン内側*/
.toggleMenu span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 27%;
  height: 1px;
  border-radius: 5px;
  background: #fff;
  width: 48%;
}

.toggleMenu span:nth-of-type(1) {
  top: 13px;
}

.toggleMenu span:nth-of-type(2) {
  top: 21px;
}

.toggleMenu span:nth-of-type(3) {
  top: 29px;
}

.toggleMenu span:nth-of-type(3)::after {
  content: "Menu";
  position: absolute;
  top: 8px;
  left: -1px;
  color: #fff;
  font-size: 0.6rem;
  text-transform: uppercase;
}

.toggleMenu.active {
  background-color: #fff;
}

.toggleMenu.active span {
  background: #3B3836;
}

.toggleMenu.active span:nth-of-type(1) {
  top: 24px;
  left: 16px;
  transform: translateY(6px) rotate(-45deg);
  width: 50%;
}

.toggleMenu.active span:nth-of-type(2) {
  opacity: 0;
}

.toggleMenu.active span:nth-of-type(3) {
  top: 36px;
  left: 16px;
  transform: translateY(-6px) rotate(45deg);
  width: 50%;
}

.toggleMenu.active span:nth-of-type(3)::after {
  content: " ";
  /* color: #3B3836;
   transform: translateY(0) rotate(-45deg);
   top: 8px;
   left: 5px; */
}

/*--------------------------------------
  SP Menu
--------------------------------------*/
.gnav {
  display: none;
  position: fixed;
  overflow: auto;
  width: 100%;
  height: 100vh;
  padding: 80px 40px;
  background-color: rgba(0, 0, 0, .8);
  top: 0;
  left: 0;
  z-index: 1;
}

.gnav_menu {
  margin-bottom: 20px;
}

.gnav_menu ul li {
  padding: 20px 5px;
  border-bottom: 1px solid #fff;
}

.gnav_menu ul li:last-child {
  border-bottom: none;
}

.gnav_menu ul li.gnav-child {
  position: relative;
  transition: all .3s;
}

.gnav_menu ul li a {
  color: #fff;
  font-size: 18px;
}

.gnav_menu ul li a span {
  display: block;
  font-size: 12px;
}

.gnav-tel {
  margin: 0 0 30px;
  text-align: center;
}

.gnav-tel p a {
  font-size: 26px;
  color: #fff;
  letter-spacing: .3rem;
}

.gnav-tel p a:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.8rem;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: -5px;
  background-image: url(img/icon_tel.svg);
  background-repeat: no-repeat;
  background-size: cover;
}

.gnav-reserve {
  width: 100%;
  text-align: center;
  position: relative;
}

.gnav-reserve a {
  display: block;
  font-size: 12px;
  color: #000;
  line-height: 20px;
  padding: 15px 0;
  background-color: #fff;
}

.gnav-reserve a:after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 3rem;
  height: 1.5rem;
  background-image: url(img/point.svg);
  background-repeat: no-repeat;
  background-size: contain;

  position: absolute;
  top: 22px;
  right: 15px;
}

.gnav-reserve a span {
  font-size: 16px;
  color: #B45300;
  margin-right: 2rem;
}

/*--------------------------------------
  SP Menu ２階層
--------------------------------------*/
.gnav-child ul {
  display: none;
}

.gnav-child ul.show {
  display: block;
}

ul#nav_child {
  padding: 20px 10px 10px;
}

ul#nav_child li a {
  display: block;
}

/* ul#nav_child li:last-child {
  border-bottom: 1px solid #fff;
} */

.gnav_menu li.gnav-child:after {
  content: "";
  position: absolute;
  top: 33px;
  right: 30px;
  width: 12px;
  height: 12px;
  border-top: 2px solid #aaa;
  border-right: 2px solid #aaa;
  transform: rotate(135deg);
  transition: all 0.2s ease-in-out;
}

.gnav_menu li.open:after {
  transform: rotate(-45deg);
}

/* =====================================
■保険医療機関における書面掲示バナー
===================================== */
/* バナー設置 */
.pc { display:block; }
.sp { display:none; }

.medicalrevision {
width:90%;
max-width:700px;
margin:40px auto 0;
}

@media screen and (max-width:767px) {

.pc { display:none; }
.sp { display:block; }

.medicalrevision {
width:90%;
 max-width:700px;
 margin:4.5vw auto 0;
}
}

/* バナー設置 */

.medicalrevision img {
margin: 0 auto; 
width:100%; 
max-width: 800px;
}
@media screen and (max-width: 767px) {
.medicalrevision img {
width: 100%;
}
}
