/*
Theme Name: yamaguchiwp
Theme URI: https://onoyamaguchi-naika.com/
Description: yamaguchiwp記事
Version: 1.0
Author: yamaguchiwp
Author URI: https://onoyamaguchi-naika.com/
*/

body{
  line-height: 180%;
  font-size: 16px;
}

#header {
  width: 100%;
  position: relative;
}

#header .con1 {

}

#logo {
  box-sizing: border-box;
  width: 300px;
  position: relative;
  z-index: 2;
}

#logo1ft{
  width: 240px;
}

#logo img,
#logo1ft img{
  height: auto;
  width: 100%;
  padding: 0;
  display: block;
  vertical-align: bottom;
}

#header.m_fixed {
  
}

.hd_info{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.tel{
  width: 290px;
  text-align: center;
}

.hd_info .tel{
  margin-right: 100px;
}

.tel a{
  display: block;
  background: url(images/tel.png) no-repeat left center;
  background-size: 30px;
  padding-left: 30px;
  font-size: 40px;
  line-height: 40px;
  color: #12a207;
  font-family: "Times New Roman", Times, serif;
}

.tel p{
  color: #12a207;
  font-size: 15px;
  line-height: 26px;
}

/*フッタ*/

.shape1{
  position:relative;
  z-index: 0;
  height: 140px;
}

.shape1::before{
  content:'';
  width: 100%;
  position: absolute;
  bottom: -0.1vw;
  left: -0.1vw;
  right: -0.1vw;
  top: -0.1vw;
  z-index: 3;
  pointer-events: none;
  background-repeat: no-repeat; 
  background-size: 105% 110px;
  background-position: 50% 100%;
  background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M35.28 1.67c-3.07-.55-9.27.41-16.15 0-6.87-.4-13.74-.58-19.13.1v.4h35.28z" fill="%23ededed"/><path d="M35.28 1.16c-3.17-.8-7.3.4-10.04.56-2.76.17-9.25-1.47-12.68-1.3-3.42.16-4.64.84-7.04.86C3.12 1.31 0 .4 0 .4v1.77h35.28z" opacity=".5" fill="%23ededed"/><path d="M35.28.31c-2.57.84-7.68.3-11.8.43-4.1.12-6.85.61-9.57.28C11.18.69 8.3-.16 5.3.02 2.3.22.57.85 0 .87v1.2h35.28z" opacity=".5" fill="%23ededed"/></svg>'); 
}

.shape2{
  position:relative;
  z-index: 0;
  height: 140px;
  border-top: #ededed solid 10px;
}

.shape2::before{ 
  content:'';
  position: absolute;
  z-index: 3;
  pointer-events: none;
  background-repeat: no-repeat;
  bottom: -0.1vw;
  left: -0.1vw;
  right: -0.1vw;
  top: -0.1vw; 
  background-size: 107% 99px;
  background-position: 50% 0%;
  background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 .5c3.07.55 9.27-.42 16.14 0 6.88.4 13.75.57 19.14-.11V0H0z" fill="%23ededed"/><path d="M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z" opacity=".5" fill="%23ededed"/><path d="M0 1.85c2.56-.83 7.68-.3 11.79-.42 4.1-.12 6.86-.61 9.58-.28 2.73.33 5.61 1.17 8.61 1 3-.19 4.73-.82 5.3-.84V.1H0z" opacity=".5" fill="%23ededed"/></svg>');
}

#contact{
  background: #ededed;
  padding: 40px 0 80px;
}

.con_flex{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.clm{
  width: 45%;
}

.hyo1 table{
  border-bottom: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
}

.hyo1 th{
  background: #0e9f04;
  color: #ffffff;
}

.hyo1 td{
  background: #ffffff;
  color: #0e9f04;
  font-weight: 500;
}

.hyo1 .cell1{
  width: 200px;
}

.hyo1 th,
.hyo1 td{
  padding: 5px 10px;
  box-sizing: border-box;
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
  text-align: center;
}

.hyo1 th{
  background: #0e9f04;
  color: #ffffff;
}

.btn1 a,
.btn2 a,
.btn3 a{
  display: block;
  border-radius: 5px;
  padding: 8px 15px;
  text-align: center;
  color: #ffffff;
  font-weight: 500;
  -webkit-transition: all .5s ease;
	transition: all .5s ease;
}

.btn1 a{
  background: #0e9f04 url(images/ar1.png) no-repeat 95% center;
  background-size: 10px;
}

.btn1 a:hover{
  background: #097000 url(images/ar1.png) no-repeat 95% center;
  background-size: 10px;
}

.btn2 a{
  background: #0e9f04 url(images/icon2.png) no-repeat 10px center;
  background-size: 20px;
}

.btn2 a:hover{
  background: #097000 url(images/icon2.png) no-repeat 10px center;
  background-size: 20px;
}

.btn3 a{
  background: #0e9f04 url(images/icon3.png) no-repeat 10px center;
  background-size: 20px;
}

.btn3 a:hover{
  background: #097000 url(images/icon3.png) no-repeat 10px center;
  background-size: 20px;
}


footer{
  background: url(images/ft_bg.jpg) no-repeat center center;
  background-size: cover;
}

.ft_flex{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.ft_info{
  flex: 1;
  text-align: right;
}

.ft_info li{
  display: inline-block;
  padding-left: 40px;
}

.ft_info li a{
  color: #ffffff;
  font-weight: 500;
}

#copyright{
  color: #ffffff;
  font-size: 12px;
  line-height: 30px;
  text-align: right;
}

#copyright a,
#copyright span{
  display: inline-block;
  font-size: 12px;
  line-height: 30px;
  color: #ffffff;
}

#copyright span{
  padding: 0 15px;
}

/*タイトル*/
.ttl{
  margin-bottom: 30px;
  text-align: center;
}

.ttl2{
  padding-bottom: 10px;
  position: relative;
  margin-bottom: 30px;
}

.ttl2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-image: radial-gradient(circle, #dddddd 1px, transparent 1px);
  background-size: 8px 2px;
}

.ttl h2,
.ttl2 h3{
  font-size: 28px;
  font-weight: 600;
  line-height: 45px;
  letter-spacing: 1px;
}

.ttl h3{
  font-size: 24px;
  font-weight: 600;
  line-height: 35px;
  letter-spacing: 1px;
}

.en{
  font-family: "Times New Roman", Times, serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.ttl .en,
.bn_txt .en{
  font-size: 16px;
  line-height: 26px;
  color: #008800;
}

.ttl2 h3,
.ttl2 .en{
  display: inline-block;
}

.ttl2 .en{
  color: #008800;
}

.ttl2 h3{
  padding-right: 15px;
}

.ttlh4{
  background: #f4f4f4;
  border-radius: 5px;
  padding: 5px 15px;
  margin-bottom: 20px;
}

.subvl{
  position: relative;
  padding: 20px;
}

.subtxt{
  background: rgba(0,0,0,0.16);
  text-align: center;
  padding: 70px 20px;
  z-index: 2;
}

.subvl .ttl{
  color: #ffffff;
  margin-bottom: 0;
}

.subvl .ttl h2,
.subtxt{
  font-size: 34px;
  line-height: 50px;
  color: #ffffff;
  font-weight: bold;
  letter-spacing: 2px;
}

.subvl .ttl .en{
  color: #ffffff;
}

.ttl_inline{
  display: inline-block;
}

/*メインビジュアル
トップスライダー*/

#mainvl {
  position: relative;
}

.carousel {
  width: 100%;
  height: 440px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.carousel-track {
  display: flex;
  animation: scrollLoop 40s linear infinite;
}

.slide {
  flex-shrink: 0;
  width: 800px;
  height: 440px;
}

.slide img {
  width: 800px;
  height: 440px;
  object-fit: cover;
  display: block;
}

/* 無限スクロール（左→右） */
@keyframes scrollLoop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


.mainbox{
  width: 94%;
  height: 400px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  background: rgba(0,0,0,0.15);
  z-index: 2;
}

.maintxt{
  width: 700px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
  padding-top: 130px;
}

.maintxt h2{
  display: inline-block;
  position: relative;
  font-size: 34px;
  line-height: 50px;
  font-weight: 700;
  letter-spacing: 5px;
  white-space: nowrap;
  padding-bottom: 10px;
}

.maintxt h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 8px 2px;
}

.maintxt h3{
  font-size: 18px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
  padding-top: 20px;
}

/*タイトル*/

.txt_s{
  font-size: 13px;
  line-height: 20px;
}

.txt_ns{
  font-size: 15px;
  line-height: 27px;
}

.txt_n{
  font-size: 19px;
  line-height: 32px;
  font-weight: 700;
}

.txt_m{
  font-size: 24px;
  line-height: 40px;
  font-weight: 500;
}

.txt_b{
  font-size: 28px;
  line-height: 38px;
  letter-spacing: 1px;
  font-weight: 600;
}

.txt_c{
  text-align: center;
}

.txt_r{
  text-align: right;
}

.mgat{
  margin: 0 auto;
}

.wid_1{
  width: 300px;
}


/*トップ*/

.newspost li{
  padding: 20px 15px;
  position: relative;
}

.newspost li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background-image: radial-gradient(circle, #dddddd 1px, transparent 1px);
  background-size: 8px 2px;
}


.newspost li:last-child::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-image: radial-gradient(circle, #dddddd 1px, transparent 1px);
  background-size: 8px 2px;
}

.inr_post{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.date{
  width: 140px;
}

.inr_post h3{
  flex: 1;
}

.singlebox{
  padding-bottom: 30px;
  position: relative;
}

.singlebox::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-image: radial-gradient(circle, #dddddd 1px, transparent 1px);
  background-size: 8px 2px;
}
.bn_list ul{
  display: flex;
  justify-content: space-between;
}

.bn_list li{
  width: 48%;
  height: 190px;
  position: relative; 
}

.bn_list li::before{
  content: '';
  position: absolute;
  width: 94%;
  height: 90%;
  left: 3%;
  top: 5%;
  background: rgba(255,255,255,.35);
  z-index: 1;
}

.bn_list li a{
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.bn1{
  background: url(images/bn1.jpg) no-repeat center center;
  background-size: cover;
}

.bn2{
  background: url(images/bn2.jpg) no-repeat center center;
  background-size: cover;
}

.bn_txt{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  z-index: 2;
}

.bn1 .bn_txt{
  left: 50px;
}

.bn2 .bn_txt{
  right: 50px;
  text-align: right;
}

.subbg{
  background: url(images/def_bg.jpg) no-repeat center center;
  background-size: cover;
}

.postbtn{
  padding-top: 30px;
}

.leftbtn,
.rightbtn{
  clear: #0e9f04;
  font-weight: 500;
  width: 150px;
}

.leftbtn{
  float: left;
}

.rightbtn{
  float: right;
  text-align: right;
}

.archive{
  width: 300px;
  padding-top: 20px;
}

.widget_title{
  font-weight: 500;
  padding-bottom: 5px;
}

.archive label{
  display: none!important;
}

.step_flex ul{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.step_flex li{
  width: 31%;
  padding-bottom: 20px;
}

.inr_box{
  display: flex;
  border-radius: 5px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px;
  background: #e2fde0;
}

.inr_img{
  width: 250px;
  text-align: center;
}

.inr_txt{
  flex: .95;
}

/*下層ページ*/

.box_flex1{
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.box_flex1 h4{
  padding-right: 20px;
}

.box_flex1 .tag{
  width: 170px;
  background: #ffffff;
  border-radius: 5px;
  border-left: 8px solid #11a004;
  padding: 5px 10px;
  text-align: center;
  color: #11a004;
  font-size: 1.1rem;
  font-weight: bold;
  margin-left: 10px;
}

.float_img1{
  float: left;
  width: 330px;
}

.float_img1 div{
  padding-bottom: 20px;
}

.float_txt1{
  padding-left: 380px;
}

.float_img2{
  float: left;
  width: 230px;
}

.float_txt2{
  padding-left: 280px;
}

.greet_flex{
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.greet_txt{
  flex: .95;
}

.greet_img{
  
}

.check li{
  padding: 5px 50px 5px 30px;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 30px;
  color: #11a004;
  display: inline-block;
  background: url(images/check.png) no-repeat left 7px;
  background-size: 25px;
}

.dl_table dl{
  border-bottom: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  background: #eeeeee;
}

.dl_table dt,
.dl_table dd{
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
  padding: 15px 20px;
}

.dl_table dt{
  width: 160px;
  background: #eeeeee;
  box-sizing: border-box;
  float: left;
  clear: left;
}

.dl_table dd{
  margin-left: 160px;
  background: #ffffff;
}

.dot_list li{
  padding: 5px 0 5px 15px;
  position: relative;
  line-height: 30px;
}

.dot_list li::before{
  content: '●';
  color: #11a004;
  font-size: 10px;
  line-height: 30px;
  position: absolute;
  left: 0;
  top: 5px;
}

.clinic_flex ul {
  display:-webkit-box;
  display:-moz-box;
  display:-ms-flexbox;
  display:-webkit-flex;
  display:-moz-flex;
  display:flex;
  -webkit-box-lines:multiple;
  -moz-box-lines:multiple;
  -webkit-flex-wrap:wrap;
  -moz-flex-wrap:wrap;
  -ms-flex-wrap:wrap;
  flex-wrap:wrap;
}

.clinic_flex li {
  width: 31%;
  box-sizing: border-box;
  margin: 10px 1% 20px;
}

.thumbimg {
	height: 230px;
	width: 100%;
	position: relative;
	overflow: hidden;
}

.thumbimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.map iframe {
  width: 100%;
  height: 350px;
}

.hd_btn{
  position: fixed;
  right: 0;
  top: 15px;
  z-index: 9;
}

.hd_btn a{
  display: block;
  background: #11a004 url(images/icon1.png) no-repeat center 12px;
  background-size: 25px;
  padding: 45px 5px 10px 5px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  color: #ffffff;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  width: 100px;
  text-align: center;
  -webkit-transition: all .5s ease;
	transition: all .5s ease;
}

.hd_btn a:hover{
  background: #097000 url(images/icon1.png) no-repeat center 12px;
  background-size: 25px;
}

/********************************************
 * 共通要素
 ********************************************/

.line1{
  border-top: 1px solid #dddddd;
}

.line2{
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
}

.pc_none{
	display:none;
}

.pdl_no{
  padding-bottom: 0;
}

.co_s{
  padding-left: 30px;
  padding-right: 30px;
}



@media screen and (max-width: 1180px) {
  
#logo1ft{
  width: 200px;
}

.ft_info li{
  padding-left: 20px;
}
  
.clm{
  width: 48%;
}
}
