/*  */
/* 
##########################
Global Settings
##########################
*/
* {
    padding: 0px;
}
html {

    /* margin: 0px 1em; */
    /* width:80%; */
}

main, footer{
    margin: 8px;
}

main {
    margin: 8px 4vw;
}

hr {
    width: 80%;
    text-align: center;
    margin: 16px auto;
}

figure {
    margin: 0px!important;
}

.breadcrumbs {
    margin-top: 32px;
    margin-left: 32px;
}

.header .title img {
    width: 100%;
    height: auto;
    margin: 0px;
    border-radius: 10px;
}

.header_introduce {
    font-size: 1.3em;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1vh 3vw;
	flex-wrap: wrap;
}


.header_left .header_title {
    font-size: 1.4em;
    margin: 0;
}

.header_left .header_title span.header_subtitle {
	font-size: 0.6em;
	color: dimgray;
	word-wrap: break-word;
}

.header_introduce p{
    /* margin-top: 1vh; */
    display: inline-block;
    margin-left: 4vw;
}

.header_right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    max-width: 250px;
}

.header_tel,
.reception_time {
    margin: 0;
    font-size: 1.4em;
    white-space: nowrap;
}

/* 受付時間は少し小さく＆余白追加 */
.reception_time {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 0.6em;
}

/* お問い合わせとQRコード：横並び */
.contact_area {
    display: flex;
    align-items: center;
    gap: 0.6em;
	justify-content: flex-end;
	width: 100%;
}


.line_contact {
    font-size: 0.9em;
    margin: 0;
    white-space: nowrap;
}

/* ボタンスタイル */
.contact_btn {
    display: inline-block;
    padding: 6px 12px;
    background-color: #00b900;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    white-space: nowrap;
}

/* QRコード画像 */
.line_qr {
    width: 80px;
    height: auto;
    border-radius: 6px;
}


input.wpcf7-form-control.wpcf7-submit {
    margin: auto;
    background-color: #2d7152;
    color: white;
}

a {
    text-decoration: none;
    color: #594639;
}

.header .title a {
    width: 100%;
    height: auto;
    display: block;
}

.invisible {
display: none!important;
}

/* a:visited {
    color: black;
} */

/* 
###
Global Nav
###
*/

/* .nav ul {
    background-color: #89B188;
    text-align: center;
    height: 2em;
    margin: 0;
    padding: 0;
} */
.menu-menu-container {
    height: 45px;
    /* background-color: #C4D8C3; */
    background-color: #EDE6D7;
    box-shadow: 0px 4px 3px 0 rgba(0, 0, 0, .5);
}


.menu-menu-container ul{
    padding: auto auto;
    display: flex;
    list-style: none;
}
.menu-menu-container .nav li {
    flex-grow: 1;
    text-align: center;
    color: black;
    margin: 0px;
}

.menu-menu-container .nav a {
    font-size: 1.5em;
    color: #594639;
}
header .menu-menu-container ul {
    padding-bottom: 20px;
}

header #openbtn {
    display: none;
}

header .hamburger_menu, .hamburger_menu_close.visible {
	position: relative;
	height: 50px;
}


/* DropDown */
.menu-item-has-children {
    position: relative;
}

.menu-menu-container .menu-item-has-children a::before {

    width: 5px;
    height: 5px;
    /* border: 5px solid;
    border-color:  transparent transparent #565656 #565656;
    transform: rotate(-45deg); */
    border-bottom: 4px solid #000;
    border-right: 4px solid #000;
    transform: rotate(45deg);

}

.menu-item-has-children:hover {
    cursor: pointer;
}
.menu-item-has-children:hover .sub-menu {
    display: block;
    visibility:visible;
}

.sub-menu {
    visibility:hidden;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #F8F8F8;
    /* background-color: green; */
    /* padding-left: 20px; */
    z-index:3;
    box-sizing: content-box;
    margin: 0px;
}

.sub-menu a {
    margin: 0px;
}

.sub-menu > .menu-item:hover {
    background-color: #C4D8C3;
}

.sub-menu > .menu-item a {
    display: inline-block;
    width: 100%;
    height: 100%;
    /* padding: .5em 0; */
    text-align: center;
}

.sub-menu > .menu-item {
    /* padding-right: 20px; */
    height: 100%;
    width: 100%;
}
.sub-menu > .menu-item:not(:last-child) {
border-bottom: 1px solid #eee;
}
.menu {
    text-align: center;
  }


/* 
###
Anchor tag
###
*/

/* 
##########################
Header
##########################
*/

header {
    margin: 0px;
	margin-bottom: 25px;
    background-color: #EDE6D7;
    padding: 0px;
}
.header {
    display: flex;
    justify-content: space-between;
    /* background-color: white; */
    margin: 10px;
}



.header .title {
    /* paddin 0px; */
    display: inline-block;
    /* margin-left: 10%; */
    /* margin-top: auto; */
    /* margin-bottom: auto; */
    flex-basis: 30vw;
    /* width: 100%; */
    flex-shrink: 0;
    margin: auto 2% auto 10%;
}

.header-form,.tel-form {
    /* background-color: #d6c6af; */
    display: inline-block;
    /* margin-left: auto; */
    margin-top: 8px;
    margin-bottom: 8px;
    padding: 8px;
    text-align: center;
    white-space: nowrap;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 0 8px gray;
    flex-basis: 20%;
    width: 25%;
    flex-shrink: 0;
    background-color: white;
}



.tel-form .form-content a {
    width: 100%;
    height: auto;
    display: block;
    margin: 0px;
}

.header p.comment {
    margin: 0px 10px;
    color: #635F63;
}

.header p.fax {
    margin: 0px 10px;
    color: #635F63;
}

p.form-text {}
/* 
.header-form .form-content p {
    margin: 0px;
    margin-bottom: 10px;
}



.header-form .post-img {
    margin: auto;
    object-fit: contain;
    height: 100px;
} */

.tel-form {
    /* margin-left: auto; */
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.tel-form p {
    margin: auto;
    color: black;
    margin-top: 0px;
}

.tel-form p.phone {
    font-size: 1.8vw;
    margin: auto 5px;
	/*font-weight: bold;*/
}

.tel-form .phone::before {
    font-family: "Font Awesome 5 Free";
    content: "\f095";
    font-weight: 900;
    display: inline-block;
    margin: 0px 1em;
}


.header-form,.tel-form p {
    font-size: 1.2vw;
}

/* .header-form .comment {
    font-size: 0.7em;
} */

.header-form a {
    width: 100%;
    height: auto;
}
.header-form .post-img img {
    width: auto;
    height: 100%;
    margin:auto;
    /* float:left; */
    object-fit: contain;
    vertical-align: middle;
    max-width: 100%;
}
 
.header-form .form-parent {
    display: flex;
    justify-content: space-between;
    margin: auto 0px;
}

/* .header-form {
    background-image: url(images/header2.jpg);
    background-size: contain;
    background-repeat: no-repeat;
} */



.header-form .form-text {
    font-size: 1.8vw;
    /* margin: 0px; */
    margin-top: 5px;
}

.form-button .forleft {
    text-align: left;
	margin: 0.5em;
}

.push {
    clear: both;
    height: 100px;
}

.right-show {
    /* background-color: #B9865B; */
    padding: 0px;
    margin: 20px;
    border: solid;
    border-color: white;
    list-style: none;
}

.right-show dt {
    font-size: 1em;
    text-align: left;
    position: relative;
    padding-left: 1.5em;
    margin: 0 1em;

}

.right-show dt::before {
    background: #000;
    content: "";
    height: 1em;
    width: 1em;
    left: -5px;
    position: absolute;
    /* top: 3px; */
    /* top: 50%; */
    /* left: 50%; */
    /* transform: translate(-50%, -50%); */
    /* -webkit-transform: translate(-50%, -50%); */
    -ms-transform: translate(-50%, -50%);
    top: 5px;
}

.right-show dd {
    font-size: 0.8em;
    text-align: justify;
}


/* 
##########################
Main Contents
##########################
*/


div.introduce{
    margin: 2vh auto;
    width: 65%;
    padding: 0.2em 0.5em;
    background: #f0f0f0;
    box-shadow: 0px 0px 0px 10px #f0f0f0;
    border: dashed 2px white;
}
/* .introduce_image {
    background-image: url(http://192.168.10.102:8000/wp-content/uploads/2023/09/frame1.jpg)
} */

.introduce p {
    font-family: serif;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1.7em;
    margin: 0; 
    padding: 0;
}

.content-title {
    text-align: center;
    margin-bottom: 70px;
}

.content-title h2 {
    display: inline-block;
    font-size: 2em;
    text-align: center;
    border-bottom: dotted 4px #d8bfd8;
    margin-bottom: 20px;
}


.article ul {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    justify-content: space-evenly;
    width: 100%;
    margin: 0px;
    padding: 0px;
}

.article .card-content figure.icon {
    margin: 15px 10px!important;
}


.article li {
    width: 40%;
    /* height: 180px; */
    background-color: #fff;
    /* border-radius: 100px; */
    box-shadow: 0 2px 5px #ccc;
    margin: 5px;
    /* padding: 10px; */
}

/* スラッグをつけて，　自動車登録のページだけpタグの裏の画像を変更する */
    /* background-image: url(http://192.168.10.102:8000/wp-content/uploads/2023/09/icon.jpg);
    background-size: cover;
    background-color: rgba(255,255,255,0.8);
    background-blend-mode: lighten;
    background-position: center; */


/* I don't know why I add the before tag. */
/* .article::before {
    content: '';
    background: rgba(0, 0, 0, 3); */

}

.article li h3{
    text-align: left;
    padding-left:15px;
    font-size: 3vmin;
    overflow: hidden;
    border-left: thick solid blue;
}

.article a {
    /* margin: auto; */
    display: block;
}

.article .card-img {
    border-radius: 10px;
    width: 100px;
    height: 100px;
    margin: 0px!important;
	object-fit: cover;
}

.article .card-content {
    /* width: 30vw; */
}

.article .card-content h3 {
    margin: 0px;
    white-space: nowrap;
    font-size: 1.4em;
    /* background-color: #5c6b80; */
    
}
/* 以下個別のカードimgについて書かれている */
/* Below, it is written  */
/* li.car-regist {
    border-radius: 50%;
    box-shadow: 0 2px 13px #000;
    font-size: 0.5em;
} */
/* .article .car-regist .card-content {
    top: 80;
    left :10%;
} */




/* 
.article .inheritance {

    background-image: url(images/22003366_s.jpg);
    background-size: contain;
    background-repeat: no-repeat;

}

.article .family-trust {
   
    background-size: contain;
    background-repeat: no-repeat;
}

.article .checkhome {
    
    background-image: url(images/824446_s.jpg);
    background-size: contain;
    background-repeat: no-repeat;
}

.article .car-regist {
    

    background-size: contain;
    background-repeat: no-repeat;
} */


/* 
###
Side Bar
###
*/

.sidebar {
    background-color: #C4D8C3;
    width: 80%;
    text-align: center;
    grid-row: 3 / 5;
    grid-column: 1 / 2;
    margin: 0 auto;
    /* margin-top: 20px; */
    border-radius: 50px;
}
.sidebar img {
    width: 60%;
    padding: 50px 20px;
}

.sidebar p{
    padding: 10px 10px;
	text-align: justify;
}

.sidebar-contact {
    display: none;
}

/* 
###
Ads
###
*/
.ads {
    grid-row: 5/ 6;
    grid-column: 1 / 2;
    margin: 2em auto;
    text-align: center;

}

.ads img {
    margin: 2em auto;
    width: 80%;
}

/* 
###
News
###
*/
.news {
    background-color:  transparent;
    text-align:center;
    /* margin-left: auto; */
    /* margin-right: auto; */
    width: 80%;
    list-style-position: inside;
    grid-row: 3 / 4;
    grid-column: 2 / 3;
    margin: 0px 10px;
}

.news ul {
    border: 1px solid black;
    width: 100%;
    height: auto;
}

.news-content .content-num1 .date {
    font-size: 1.5vw;
    margin: 0;
    width: 30%;
}

li.news-content {
    width: 100%;
    list-style: none;
    margin: 0;
}

.news-content .rss-content {
    /* margin-left: 0px; */
    font-size: 1.5vw;
}

.news ul {
    width: 100%;
    /* margin: 0; */
    padding:0;
    height: auto;
}
.news-content div.content-num1{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0px;
}



.news-content  a{
    color: black;
    font-size: 1.5em;

}


/* 
###
Content
###
*/

.main {
    /* isplay:grid; */
    /* grid-template-rows: 300px 50px 200px 1fr 300px; */
    /* grid-template-columns: 60% 40%; */
    /* grid-template-columns: 400px 1fr; */
    /* margin-bottom: 50px; */
    /* height: auto; */
    /* width: 100%; */
}
.content {

    /* grid-row: 3 / 5; */
    /* text-align:center; */
    margin-top: 3em;
    margin-left:10px;
    margin-right: 10px;
}

.article {
    text-align:center;

    width: 80%;
    margin: 20px auto 0;

}


.slider {
    /* grid-row: 1 / 2;
    grid-column: 1 / 3; */
    height: auto;
    /* width: 100%; */
    margin: 1em;
    width: 70%;
    margin:0 auto;
}

.slider img {
    width: 100%;
    border-radius: 20px;
}

.slider .slick-slide{
	height:35vh!important;
}

.slider .contact-us {
    position: relative;
    border-radius: 10px;
}


.slider .contact-us p{
    position: absolute;
    font-size: 1.5em;
    top: 20%;
    left: 35%;
    transform: translate(-50%, -50%);
    opacity: 1.0;
    /* background: white; */
    border-radius: 35px;
    padding: 15px;
    color: white;
    text-shadow: 3px 2px 2px #000;
}

.slider .contact-us img {
    object-fit: fill;
    height: 35vh;
    /* opacity: 0.7; */
}

.slick-dots {
    margin: 0 0 -1em!important;
}

.slick-dotted.slick-slider {
    margin-bottom: 70px!important;
}

.doorplate {
    position:relative;
    text-align: center;
}

.doorplate p {
    position: absolute;
    left: 30%;
    top: 30%;
    font-size: 1.5em;

}
.doorplate img {
    width: 100%;
    height: 35vh;
    object-fit: cover;
    object-position: 20% 72%;
    /* border-radius: 10px; */

}

.slider-li {
    margin: 20px auto;
    /* background-color: white; */
    background-image: url(images/background_img_trim.jpg);
    background-size: 100% 97%;
    /* background-repeat: no-repeat; */
    background-color: rgba(255,255,255,0.5);
    list-style-type: none;
    height: 100%;
    width: 100%;
    background-blend-mode: lighten;
    position: relative;
    }

/* .slider-li p{
    text-align: center;
    margin: auto;
    font-size: 1.5em;
    /* position: absolute;
    top: 50%;
    left: 50%; */
    /* -webkit-transform : translateY(-50%); */
    /*transform: translate(-50%, -50%);
} */
.slider-li p {
    text-align: center;
}

ul.slider-area {
    height: 10vh;
    width: 70vw;
    margin: auto;
}



hr.wp-block-separator {
    /* color: #f0f0f0; */
    color: #abb8c3;
    width: 100%;
}


.content-contact-us {
  margin: 3em auto;
  width: 90%;
  max-width: 1000px;
  text-align: center;
}

.content-contact-us h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5em;
}

.content-contact-us .title {
  font-size: 1rem;
  margin-bottom: 1.5em;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
}

.contact-box {
  flex: 1 1 300px;
  min-width: 250px;
  max-width: 400px;
  background: #f0f0f0;
  /* border: 1px solid #696969; */
  border-radius: 12px;
  padding: 1em;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  position: relative;
}

.contact-box.tel {
  background: #f0f0f0;
}

.content-contact-us .contact-box.contact {
  background: #EDE6D7;
  cursor: pointer;
  display: flex;
  align-items: center;  /* 上下中央 */
  justify-content: center; /* 左右中央 */
  position: relative;
  text-decoration: none; /* 下線を消す */ 
}

.content-contact-us .contact-box.contact:hover{
	background-color: #eae1cf;
}

.contact-box p {
  margin: 0.5em 0;
  font-size: 1rem;
}

.contact-box .phone::before {
  content: "\f095";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 0.5em;
}

.content-contact-us .contact-box.contact p::after,
.content-contact-us .contact-box.line p::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 27px;
  width: 9px;
  height: 9px;
  margin: auto;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  transform: rotate(45deg);
  box-sizing: border-box;
}


.content-contact-us .contact-box.line {
  background: #C5D9CD;
  /* border: 1px solid #00b900; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none; /* 下線を消す */
  transition: background-color 0.3s;
}

.content-contact-us .contact-box.line:hover {
  background-color: #d6e9ca;
}
.content-contact-us .line-contact-qr {
  margin-top: 0.8em;
  width: 100px;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 600px) {
  .contact-box p {
    font-size: 0.95rem;
  }
}


/* 
##########################
Footer
##########################
*/

footer {

    position: absolute;
    bottom: 0;
    /* height: 200px; */
    margin: 0px;
    padding: 0px;
    width: 100%;
    margin-bottom: -200px;
    /* p: center; */
    /* top: 50%; */
    /* background-color: white; */
}
.footer {
    margin: 3%;
    padding: auto 0px;
    /* height: 150px; */
    display: flex;
    justify-content: space-evenly;
}

.footer .title{
    /* float:left; */
    /* margin-left:10%; */
    text-align: center;
    /* height: 150px; */
    /* width: 200px; */
    /* margin: 0px; */
    margin: auto 0px;
}

.footer .title a {
    display: block;
    width: 100%;
    height: auto;
}

.footer .title h2 {
    white-space: nowrap;
}


.footer .mascott {
    display: inline-block;
    margin-right: 20px;
    width: 20%;
    height: auto;
    margin: auto 10px;
    text-align: center;
}

.footer .mascott img{
    float:left;
    width: 70px;
    margin-left: 20%;
    /* display: inline-block; */
    /* margin: 5px auto; */
    /* margin: 0 auto; */
}


.footer .description{
    /* margin-left: 50%; */
    width: auto;
	display: flex;
	align-items: center; /* ← 縦方向の中央揃え */
}
.footer .description li {
    list-style: none;
}

.footer .form-button {
    border-radius: 10px;
    background-color: #d6c6af;
    margin: 10px auto;
}

.footer .form-button a {
    color: black;
    display: inline-block;
    margin: auto;
    padding: 10px;
    width: 100%;
    height: auto;
}



.footer-bar {
   /* background-color: #EDE6D7; */
    text-align: center;
    padding: 8px 0px;
}

.footer-line {
    clear: both;
    margin: auto;
}

.touch_div {
    width: 100%;
    height: auto;
    margin: 0px;
}

.copyright  {
    text-align: center;
    margin: 0 auto;
    /* height: 1.5em; */
    /* left: 50%; */
    /* transform: translate(0%, -50%); */
    /* bottom: 0; */
}

.tel-form-sp, .header-form-sp {
    display:none;
}

.footer .form-button  {
    margin: 10px auto;
    margin-left: 24px;
}



body {

    position: relative;
    padding-bottom: 200px;
    /* margin-bottom: -100px; */
    box-sizing: border-box;
    background-color: #f8f8f8;
    height: 100%;
    min-height: 100vh;
    margin:0px;
}


/* Single Page */
.col-md-9 {
    margin: 10px 10px;
}


/* Table Setting */
.wp-block-table thead {
	background-color: #EDE6D7;
	color: black;
}

.wp-block-table tbody th {
	background-color: #C4D8C3;
}

.wp-block-table tbody {
	background-color: white;
	text-align: center;
}

.wp-block-table {
    width: 70%;
    margin: 0 auto!important;
}

.wp-block-table  .left-column {
    width: 45%;
    font-size: 1.3em;
    background-color: #f0f0f0;
}


/* Contact Form */
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
select,
textarea,
.field {
  display: block;
  width: 100%;
  height: 45px;
  margin-bottom: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 3px;
  background-color: #eff1f5;
  /* background-color: #000; */
  box-shadow: none;
  color: #5c6b80;
  font-size: 1em;
  vertical-align: middle;
  line-height: 45px;
  transition: background-color 0.24s ease-in-out;
}
textarea {
  max-width: 100%;
  min-height: 120px;
  line-height: 1.5em;
  padding: 0.5em;
  overflow: auto;
}

.center { 
    text-align:center; 
    margin: 30px 16px;
}

input.sub-btn {
	width: 300px;
	height: 60px;
	background: #2d7152;
	color: #FFF;
	font-size: 1.1em;
	font-weight: bold;
	letter-spacing: 0.2em;
	border: 1px solid #2d7152;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;	
}

input.sub-btn:hover{
	background: #FFF;
	color: #2d7152;  
}
@media(max-width:500px) {
    .inquiry td,
    .inquiry th {
        display: block !important;
        width: 100% !important;
        border-top: none !important;
        -webkit-box-sizing: border-box !important;
        -moz-box-sizing: border-box !important;
        box-sizing: border-box !important
    }
    .inquiry tr:first-child th {
        border-top: 1px solid #d7d7d7 !important
    }
    .inquiry .any,
    .inquiry .haveto {
        font-size: 10px
    }
}
.inquiry th {
    text-align: left;
    font-size: 14px;
    color: #444;
    padding-right: 5px;
    width: 30%;
    background: #f7f7f7;
    border: solid 1px #d7d7d7
}

.Breadcrumb-ListGroup > * + * {
  margin-left: 0.5em;
}

a.a-click {
	color: #191970;

}


.title img {
    width: 80%;
}


/*
* 新着記事一覧ショートコード用
*/
.news-list .news-list-inner {
 padding: 20px 5px;
 border: 2px solid #f5f5f5;
}
.archive .news-list .news-list-inner {
 background: #fff;
 padding: 20px;
}

.news-list {
	width: 65%;
	margin: 2vh auto;
}

.news-list ul {
 list-style: none;
 margin: 0 0 20px;
}
.news-list li {
 padding: 10px;
 border-bottom: 1px solid #ddd;
}
.news-list a {
 color: #333;
 text-decoration-line: none;
}
.news-list a:hover {
 opacity: 0.6;
}
.news-list a.wp-block-button__link {
 color: #fff;
}
.news-list a.wp-block-button__link:hover {
 color: #F87474;
}
.news-list .news_date {
 margin: 0;
 font-size: 14px;
}
.news-list .news_title {
 margin: 0;
 font-size: 18px;
 line-height: 30px;
 padding-top: 10px;
 padding-bottom: 10px;
}
