@charset "utf-8";
.catch {
  padding: 20px 10px;
  background-color: rgba(255, 255, 255, 0.5);
  color: var(--primary);
  font-family: 'Shippori Mincho', serif;
  font-size: calc(0.5rem + 1.8vw);
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.top_text {
  text-align: center;
  background-color: #8CD4F0;
  padding: 0 0 100px;
  width: 100%;
  height: auto;
  font-family: var(--catch);
  font-size: 2rem;
  color: var(--white);
  z-index: 50;
}
.bg_bl_area {
  background-color: var(--bg_bl);
}
.col-md-8 {
  margin-bottom: 100px;
}
@media screen and (max-width: 500px){
  .top_text {font-size: 1.625rem;}
}

/*TOP-service-------------------------------------------------*/
#services {
  background-image:
  radial-gradient(#7bded9 20%, transparent 20%),
  radial-gradient(#7bded9 20%, transparent 20%);
  background-size: 10px 10px;
  background-position: 0 0, 20px 20px;
  z-index: 20;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAABxJREFUGFdjXHf2z/8gYxZGBiiAMzAEYCoxVAAAYK0IBY4INj0AAAAASUVORK5CYII="),url("../images/service_bg.png");
  background-repeat: repeat;
  background-blend-mode: overlay;
  background-position: 0px ;
  background-size: auto, cover;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.card,.card-toire{
  box-shadow: var(--box-shadow);
  background-color: var(--white);
  padding: 25px;
  transition: all 0.3s ease;
  border-radius: 10px;
  height: auto;
  height: 100%;/* 追加 */
  font-weight: 600;
}
.card p,.card-toire p {
  color: var(--body);
}
.card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;/* 追加 */
}
.card-toire img{
  width: 100%;
}
.service {
  position: relative;
  overflow: hidden;
}
.service::after{
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  background-color: var(--primary);
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: -1;
}
.service h5 {
  font-weight: 700;;
}
/*.service:hover h5,
.service:hover p {
  color: var(--white);
}*/
.service:hover::after {
  opacity: 1;
  top: 0;
}

/*fadeUp --------------------------*/
.fadeUp{
  animation-name:fadeUpAnime;
  animation-duration:2.5s;
  animation-fill-mode:forwards;
  opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeUpTrigger{
    opacity: 0;
}

.footer_nav ul li a {
  font-size: 0.8rem;
  display: block;
  width: 100%;
  text-decoration: underline;
  padding: 5px 0;
  text-align: center;
}
@media screen and (max-width: 768px){
  .map{width: 100%;}
}



/*remodel page------------------------------------------------------------*/
.sub_header_bg {
  position: relative;
  background-image: url(../images/sub_header_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 300px;
}
.card_border {
  border: 1px solid var(--primary);
}

.remodel-wrap{
  max-width: 1000px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.remodel-body{
display: grid;
grid-template-columns: repeat(2,1fr);
column-gap: clamp(30px,40/600 * 100vw,90px);
row-gap: 25px;
}
.remodel-block {
  max-width: 415px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width:768px) {
  .remodel-body{
    grid-template-columns: repeat(1,1fr);
    grid-template-rows:repeat(1,1fr) ;
    gap: 30px;
    }
}


/*example page------------------------------------------------------------*/
.example_border {
  border-bottom:solid 1px #1c448d;
}
.example_card{
  background-color: var(--white);
  padding: 25px;
  height: auto;
}
.example_card p {
  color: var(--body);
}
.photo_before,
.photo_after {
  position: relative;
}
.photo_before p{
  position: absolute;
  top: -15px;
  right: -15px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: solid 1px var(--primary);
  background-color: var(--white);
  display: inline-block;
  text-align: center;
  line-height: 80px;
}
.photo_after p{
  position: absolute;
  top: -15px;
  right: -15px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #DE5757;
  display: inline-block;
  text-align: center;
  line-height: 80px;
  color: var(--white)
}
.title {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 5px 5px rgb(24 114 185 / 50%);
}

/*company page------------------------------------------------------------*/
span.line {
background:linear-gradient(transparent 70%, #9edbf7 0%);
}
table {
border-collapse: collapse;
width: 100%;
}
.tb {
    width: 100%;
}
table.tb th,
table.tb td {
  display: block;
  width: 100%;
  border-bottom:none;
}
.tb tr:last-child{
  border-bottom: solid 1px #ccc;
}
.tb th,
.tb td{
  padding: 10px;
  border: solid 1px #ccc;
  text-align:center;
  box-sizing:border-box;
}
.tb th {
    background-color: var(--primary);
    color: var(--white);
}
.link_line {
  text-decoration: underline;
  color: #1c448d;
}
.office_img img {
  width: 100%;
}

/*sidebar--------------------------------------*/
aside {
  border: solid 1px var(--primary);
  padding: 0;
  margin-top: 10px;
}
h3.widget_title {
  background-color: var(--primary);
  color: #fff;
}
.sidebar li {
  border-bottom: solid 1px #ccc;
  width: 90%;
  margin-left: 18px;
}
.sidebar li:last-child {
  border-bottom: none;
  width: 90%;
}

/*single---------------------------------------------*/

/*PC-----------------------------------------------*/
@media screen and (min-width: 768px){

table.tb th {
  width: 30%;
  display: table-cell;
}

table.tb td {
  display: table-cell;
  text-align: left;
}
.footer_nav ul{
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.footer_nav li{
  display: block;
  margin: 0 10px;
}

.postList_thumbnail{
  height: auto;
}
.postList_thumbnail img{
  /* width: 100%; */
  /* height: auto; */
}

}


/* お問い合わせページ */
.contact_form{
  max-width: 1320px;
  width: 90%;
  margin: auto;
  background-color: #f8f9fa;
  padding: 50px;
}
.contact_form table th {
    text-align: left;
    width: 350px;
}
.contact_form table td {
    width: calc(100% - 350px);
}
.contact_form table th,.contact_form table td{
	padding: 10px 0px;
}
.contact_form .hissu{
	color: #fff;
	background-color: #F06F5E;
	border-radius: 3px;
	padding: 5px 7px;
	font-size: 12px;
	margin-left: 20px;
}
.contact_form table input[type="text"], .contact_form table input[type="tel"], textarea {
    width: 100%;
    padding: 2%;
    border: 1px solid #ced4da;
    border-radius:5px;
}
textarea{line-height: 1.5;}
.contact_form input[type="radio"]{
  transform: scale(1.5);
  margin-right: 10px;
}
.contact_form input[type="checkbox"] {
    transform: scale(1.5);
    display: inline-block;
    top: 0px;
    position: relative;
    margin-right: 10px;
}
.contact_form label.radio{
  margin-right: 20px;
}
/* Safari */
_::-webkit-full-page-media, _:future, :root .contact_form table input[type="radio"],input[type="checkbox"] {
    vertical-align:middle;
}
.contact_form .flex{
	display: flex;
	width: 100%!important;
}
.doui{
	text-align: center;
	margin: 10px 0px 50px;
}
.doui a{
  text-decoration: underline;
}
.contact_form .form_btn{
    display: block;
    color: #3984BE;
    padding: 15px 20px;
    border: none;
    text-align: center;
    margin: 20px auto 0;
    border: 1px solid #3984BE;
    background-color: #fff;
    max-width: 300px;
    width: 80%;
}
.contact_form .form_btn:hover{background-color: #3984BE; color: #fff;}
.contact_form .thanks_txt{
	text-align: center;
}
.contact_form_mb{margin-bottom: 100px;}
@media screen and (max-width: 960px){
  .contact_form table th, .contact_form table td{display: block;width: 100%;}
  .contact_form table th{padding: 20px 0 0;display: flex;justify-content: space-between;align-items: center;}
  .contact_form .flex{flex-flow: column;}
}
@media screen and (max-width: 500px){
  .contact_form{padding: 20px;}
  
}