/*
Theme Name: re-cozydesign
Description: renovation.cozydesignのテーマファイル
Version: 1.01
Author: HRG
*/

body {
	font-family: 'Noto Sans JP', sans-serif;
}


/***front-page***/
/* 中部コンテンツ */
.top-text-container {
   display: block;
   text-align: center;
   margin-top: 20px;
}

.top-text {
  font-size: 18px;
  font-family: serif;
}

.top-text-sub {
  font-size: 20px;
  font-family: serif;
}

.back_img {
    width: 100%;
    height: auto;
}

.row {
    text-align: center;
    --bs-gutter-x: 0;
    margin-top: 30px;
}


.sw-contents {
    width: 85%;
    margin: auto;
}

.renovate-wrapper {
    display: flex;
    align-items: flex-start;
    background-color: #F9F7F1;
    min-height: 450px;
}

.renovate-wrapper .sw-img {
    flex: 0 0 50%;
    height: 450px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.renovate-wrapper .right {
    flex: 0 0 50%;
    padding: 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.5s, transform 1.5s;
    text-align: center;
}

.renovate-wrapper .right.animate {
    opacity: 1;
    transform: translateY(0);
}

.renovate-wrapper .sw-title {
    margin: 40px 0 10px 0;
    padding: 0;
    font-weight: bold;
    font-size: 30px;
    text-align: center;
}

.renovate-wrapper .sw-text {
    margin: 20px 0 0;
    padding: 0 30px;
    font-size: 22px;
    font-family: serif;
    text-align: left;
}

.btn--orange,
a.btn--orange {
    color: #fff;
    background-color: #eb6100;
}
.btn--orange:hover,
a.btn--orange:hover {
    color: #fff;
    background: #f56500;
}

a.btn--radius {
    border-radius: 100vh;
    font-weight: bold;
    margin-top: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40%;
}

/* ストック住宅 */
.stock-wrapper {
    display: flex;
    align-items: flex-start;
    background-color: #F9F7F1;
    min-height: 450px;
}

.stock-wrapper .stock-img-front{
    flex: 0 0 50%;
    height: 450px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.stock-wrapper .right {
    flex: 0 0 50%;
    padding: 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.5s, transform 1.5s;
    text-align: center;
}

.stock-wrapper .right.animate {
    opacity: 1;
    transform: translateY(0);
}

.stock-wrapper .stock {
    margin: 40px 0 10px 0;
    padding: 0;
    font-weight: bold;
    font-size: 30px;
    text-align: center;
}

.stock-wrapper .stock-front {
    margin: 20px 0 0;
    padding: 0 30px;
    font-size: 22px;
    font-family: serif;
    text-align: left;
}

/* inspection */
.inspection-wrapper {
    display: flex;
    align-items: flex-start;
    background-color: #F9F7F1;
    min-height: 450px;
}

.inspection-wrapper .inspection-img{
    flex: 0 0 50%;
    height: 450px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    border: solid 0.1px;
    border-radius: 50px;
}

.inspection-wrapper .right {
    flex: 0 0 50%;
    padding: 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.5s, transform 1.5s;
    text-align: center;
}

.inspection-wrapper .right.animate {
    opacity: 1;
    transform: translateY(0);
}

.inspection-wrapper .inspection {
    margin: 40px 0 10px 0;
    padding: 0;
    font-weight: bold;
    font-size: 30px;
    text-align: center;
}

.inspection-wrapper .inspection-front {
    margin: 20px 0 0;
    padding: 0 30px;
    font-size: 22px;
    font-family: serif;
    text-align: left;
}

/* links card */
.linkcards {
    display: flex;
    align-items: stretch;
    justify-content: space-evenly;
    margin: auto;
    margin-top: 50px;
}

.card-body {
    background-color: rgba(0,0,0,0.5);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.1rem;
}

.card-text {
    text-align: center;
    color: white;
}

.linkcard {
    border: 0.1px solid;
    color: grey;
    position: relative;
}


/* cat-tab */
.news-wrapper,
.subsidy-wrapper {
  display: none;
}
.news-wrapper.active,
.subsidy-wrapper.active {
  display: block;
}

.category-btn {
    display: inline-block;
    padding: 15px 100px;
    border: 2px solid #002377;
    color: #007bff;
    background-color: #ffffff;
    cursor: pointer;
    margin-right: 5px;
    border-radius: 0.4em;
    font-size: 20px;
    flex-grow: 0.3;
}

.category-btn.active {
    color: #ffffff;
    background-color: #002377;
}

.cat-link {
    display: block;
    text-decoration: none;
    color: #545454;
    padding: 20px;
    transition: background-color 0.3s ease;
    border-bottom: 1px dotted #333;
    position: relative;
}

.cat-link:hover {
    background-color: #f5f5f5;
}

.cat-date {
    font-size: 10px;
    transform: translate(2px, 2px);
}

.cat-title {
    font-size: 19px;
    font-family: 'Shippori Mincho B1';
    margin-top: 5px;
}

.cat-title::after {
    content: "";
    border-top: 1px solid #222222;
    border-right: 1px solid #222222;
    transform: rotate(45deg);
    width: 10px;
    height: 10px;
    position: absolute;
    top: 46%;
    right: 30px;
}

.card-container{
    width: 80%;
    margin: auto;
    margin-top: 50px;
}

.cat-text {
    font-size: 14px;
    display: block;
    text-align: right;
    padding-top: 20px;
    text-decoration: none;
    color: #4d4d4d;
}

.tab-buttons {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-around;
}


.linkcards {
    display: flex;
}


.swiper-wrapper {
    font-size: 19px;
    font-weight: bold;
    font-family: 'Shippori Mincho B1';
    text-align: center;
    margin-top: 10px;
}

.construction-link, a {
    color: #545454;
    text-decoration: none;
}

.construction-thumbnail {
    height: 300px;
}

.construction-title {
    font-size: 18px;
    font-weight: bold;
    font-family: 'Shippori Mincho B1';
}

.swiper-container {
    position: relative;
}

.swiper-pagination {
    bottom: -30px !important;
}


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

.header_img {
    width: 100%;
    height: 85vh;
    background-image: url("{% static 'blog/img/header_video.mp4' %}");
    background-size: cover;
    background-position: center;
}

.header_text {
    position: absolute;
    top: 15vh;
    text-align: left;
    color: white;
}


  .fade-image {
    width: 100%;
    height: 85vh;
    background-size: cover;
    background-position: center;
  }


.cozy-link {
    text-align: center;
    margin-top: 5rem;
}


img.cozy-link-img {
    max-width: 100%;
}



/* 1200px以上の大型デスクトップ向けスタイル */
@media (max-width: 1344px) and (min-width: 1200px) {
    
  }


/* タブレット向けスタイル */
  @media (max-width: 1199px) and (min-width: 819px) {
    .renovate-wrapper .sw-text, .stock-wrapper .stock {
        font-size: 20px;
    }

    .inspection-wrapper .inspection {
        font-size: 18px;
    }

}
  
  /* 768px以下のタブレット/スマホ向けスタイル */
  @media (max-width: 820px) {

    .linkcards {
        display: block;
        margin: auto;
        margin-top: 50px;
    }

    .linkcard {
        margin: auto;
        margin-bottom: 30px;
    }

    .card-container {
        width: 80%;
    }

    .category-btn {
        padding: 10px 50px;
    }


    .col-sm-6 {
        margin: auto;
    }


    .sw-contents {
        width: 100%;
    }

    .stock-wrapper, .renovate-wrapper {
        display: flex;
        align-items: normal;
        flex-direction: column;
        padding-bottom: 50px;
    }

    .inspection-wrapper {
        display: flex;
        align-items: normal;
        flex-direction: column-reverse;
        padding-bottom: 50px;
    }

    .renovate-wrapper .sw-title, .inspection-wrapper .inspection-title, .stock-wrapper .stock {
        font-size: 22px;
    }

    .renovate-wrapper .sw-text, .inspection-wrapper .inspection-front, .stock-wrapper .stock-front {
        font-size: 20px;
        padding: 0 15px;
    }

    .header_text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }


  }
  
  /* 480px以下の小型スマホ向けスタイル */
  @media (max-width: 479px) {
    .card-container {
        width: 100%;
    }

    .category-btn {
        padding: 15px 30px;
    }

    .linkcards {
        display: block;
        margin: auto;
        margin-top: 50px;
    }
    
    .linkcard {
        margin: auto;
        margin-bottom: 30px;
    }

    .sw-contents {
        width: 100%;
    }

    .stock-wrapper, .renovate-wrapper {
        display: flex;
        align-items: normal;
        flex-direction: column;
        padding-bottom: 50px;
    }

    .inspection-wrapper {
        display: flex;
        align-items: normal;
        flex-direction: column-reverse;
        padding-bottom: 50px;
    }

    .renovate-wrapper .sw-title, .inspection-wrapper .inspection, .stock-wrapper .stock {
        font-size: 22px;
    }

    .renovate-wrapper .sw-text, .inspection-wrapper .inspection-front, .stock-wrapper .stock-front {
        font-size: 20px;
        padding: 0 15px;
    }

    .nav.justify-content-center.py-5 .nav-item .nav-link{
        font-size: 0.85em;
    }

    .container-fluid {
        padding-right: 0;
        padding-left: 0;
    }

    .construction-title {
        font-size: 16px;
    }

    .construction-thumbnail {
        height: 200px;
        width: 300px;
    }

    .top-text-container {
    margin: 5vh;
}

    .cozy-link {
        margin-top: 5rem;
    }

    .top-text {
        font-size: 16px;
}

    .top-text-sub {
        font-size: 16px;
}


  }
  
  /* 340px以下の小型スマホ向けスタイル */
  @media (max-width: 340px) {
    .card-container {
        width: 100%;
    }

    .category-btn {
        padding: 15px 20px;
    }

    .linkcards {
        display: block;
        margin: auto;
        margin-top: 50px;
    }

    .linkcard {
        margin: auto;
        margin-bottom: 30px;
    }

    .sw-contents {
        width: 100%;
    }

    .stock-wrapper, .renovate-wrapper {
        display: flex;
        align-items: normal;
        flex-direction: column;
        padding-bottom: 50px;
    }

    .inspection-wrapper {
        display: flex;
        align-items: normal;
        flex-direction: column-reverse;
        padding-bottom: 50px;
    }

    .renovate-wrapper .sw-title, .inspection-wrapper .inspection, .stock-wrapper .stock {
        font-size: 22px;
    }

    .renovate-wrapper .sw-text, .inspection-wrapper .inspection-front, .stock-wrapper .stock-front {
        font-size: 20px;
        padding: 0 15px;
    }

    .construction-title {
        font-size: 14px;
    }

    .construction-thumbnail {
        height: 200px;
        width: 250px;
    }

  }

/***header, footer***/
/* header */

.logo_group{
    margin-left: 2vw;
}

.sec_title {
    font-family: "Shippori Mincho B1", serif;
    display: inline-block;
    position: relative;
    background-image: linear-gradient(90deg, #03ab11, #ffff66);
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 0 20%;
    transition: all 1.2s ease-in-out;
    font-weight: bold;
}

.sec_title_wrapper {
    text-align: center;
    margin-top: 100px;
    margin-bottom: 50px;
}


.sec_title.inview {
    background-size: 100% 20%;
}

.header_img {
    width: 100%;
    height: 550px;
    display: flex;
    margin: auto;
    object-fit: cover;
    overflow: hidden;
}

.header_text {
    width: 95%;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.header_slogan{
    font-size: 25px;
}

.navbar-brand {
    padding-left: 20px;
    font-family: serif;
    font-size: 22px;
}

.logo_img {
    width: 120px;
    height: 120px;
}

/*nav menu*/
.navbar {
    --bs-navbar-padding-y: 0;
    --bs-navbar-nav-link-padding-x: 2rem;
}

.navbar-expand-lg .navbar-nav .nav-link {
    font-family: "Shippori Mincho B1", serif;
    font-size: 18px;
    font-weight: bold;
}

.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 25%;
    right: 0;
    height: 50%;
    border-right: 1px solid #ccc;
}

/* footer */
.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 1.5rem !important;
    background-color: #344A8E;
}

.nav.justify-content-center.py-5 .nav-item .nav-link {
    color: white;
    font-size: 1.2em;
    font-family: serif;
}

.justify-content-center {
    background-color: #344A8E;
}

.small, small {
    color: white;
    margin-bottom: 1.5em;
}

/* 1200px以上の大型デスクトップ向けスタイル */
@media (min-width: 1200px) {
    /* 1200px以上の大型デスクトップ用スタイル */
  }
  
  /* 768px以下のタブレット/スマホ向けスタイル */
  @media (max-width: 767px) {
    /* 768px以下のタブレット/スマホ用スタイル */
  }
  
  /* 480px以下の小型スマホ向けスタイル */
  @media (max-width: 479px) {
    .header_text {
        width: 95%;
        display: flex;
        flex-direction: column;
        align-items: center;
        transform: translate(0%, -600%);
        margin-left: 10px;
        color: white;
        }

        .navbar-brand {
        padding-left: 0;
        font-size: 18px;
        }

        .logo_img {
            width: 90px;
            height: 90px;
        }

        .nav.justify-content-center.py-5 .nav-item .nav-link{
            font-size: 0.85em;
        }
	  
	  
  }
  
  /* 480px以下の小型スマホ向けスタイル */
  @media (max-width: 340px) {
    .header_text {
        width: 95%;
        display: flex;
        flex-direction: column;
        align-items: center;
        transform: translate(0%, -600%);
        margin-left: 10px;
        color: white;
        }

    .logo_img {
        width: 70px;
        height: 70px;
        }
  }


/** infomation **/
.display-4 {
  display: block;
  text-align: center;
  margin-top: 100px;
  font-size: 30px;
  font-weight: bold;
  font-family: serif;
}

.company-logo2{
  height: 70px;
  width: 120px;
  display: block;
  margin-right: 10px;
}

.company-container {
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  justify-content: center;
}

.company-contents {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.company-title{
  font-size: 1.5em;
  font-family: serif;
}

/* テーブルエリア */
.table1 {
  width: 60%;
  border-collapse: collapse;
  margin: auto;	
}

.tablein{
	vertical-align: middle;
}

.table1 th,td {
  padding: 10px 15px;
  border: 1px solid #ddd;
}

.table1 th {
  background: #f4f4f4;
  width: 15%;
  text-align: left;
}

.rinen-wrapper{
	width: 95%;
	margin: auto;
}

.sp-br {
	display: none;
}

.box5 {
  padding: 0.5em 3em;
  margin: auto;
  border: double 5px #4ec4d3;
  width: 50%;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.box5-last {
  padding: 0.5em 3em;
  border: double 5px #4ec4d3;
  width: 50%;
  text-align: center;
  margin: auto;
  margin-top: 50px;
}

.box5 p {
  margin: 0; 
  padding: 0;
}

.text_1{
  font-size: 20px;
	text-align: center;
  line-height: 2;
}

.company-textarea{
  margin-top: 50px;
}

.text-wrapper {
  margin-top: 5em;
  margin-bottom: 5em;
}

.top-text-container {
  display: block;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.top-text {
  font-size: 18px;
}

.top-text-sub {
  font-size: 20px;
}


/* 1200px以上の大型デスクトップ向けスタイル */
@media (min-width: 1200px) {
  /* 1200px以上の大型デスクトップ用スタイル */

.table1 {
  width: 30%;
}


.box5 {
  width: 20%;
}

.box5-last {
  width: 20%;
}


}

/* 1020px以下のタブレット/スマホ向けスタイル */
@media (max-width: 1020px) {
  .company-logo {
    top: 40vh;
}

.phrase-wrapper {
  top: 55vh;
}

}

@media (max-width: 820px) {
  .company-logo {
    top: 30vh;
}

.phrase-wrapper {
  top: 45vh;
}

.phrase1 {
  font-size: 24px;
}

.phrase2 {
  font-size: 22px;
}

}

/* 768px以下のタブレット/スマホ向けスタイル */
@media (max-width: 768px) {
  .company-logo {
    top: 28vh;
    width: 25vw;
}

.phrase-wrapper {
  top: 38vh;
}

}

/* 600px以下向けスタイル */
@media (max-width: 600px) {

.phrase-wrapper {
  top: 33vh;
}

.company-logo {
  top: 23vh;
  width: 25vw;
}

.phrase1 {
  font-size: 18px;
}

.phrase2 {
  font-size: 16px;
}
	
.sp-br {
	display: inline;
}

}

/* 480px以下の小型スマホ向けスタイル */
@media (max-width: 479px) {
  .company-textarea{
    width: 90%;
    margin: auto;
}
  .box5 {
    width: 60%;
    margin-top: 0;
  }

  .table1 {
    width: 95%;
  }

  .box5-last {
    width: 60%;
    margin-top: 50px;
  }

  .text-wrapper {
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .phrase-wrapper {
    top: 25vh;
  }
  
  .company-logo {
    top: 15vh;
    width: 25vw;
  }

  .phrase1 {
    font-size: 16px;
  }
  
  .phrase2 {
    font-size: 14px;
  }

}

@media (max-width: 420px){

  .phrase-wrapper {
    top: 24vh;
  }
  
  .company-logo {
    top: 15vh;
    width: 25vw;
  }

}

@media (max-width: 380px){

  .phrase-wrapper {
    top: 20vh;
  }
  
  .company-logo {
    top: 12vh;
    width: 25vw;
  }

      .top-text {
        font-size: 16px;
}

    .top-text-sub {
        font-size: 16px;
}

}

/* 340px以下の小型スマホ向けスタイル */
@media (max-width: 340px) {
  .box5, .box5-last {
    width: 90%;
  }

  .company-logo2 {
    height: 50px;
    width: 100px;
    margin-right: 0;
  }

  .company-title {
    font-size: 1.4em;
  }

  .display-4 {
    font-size: 24px;
    }

    .phrase1 {
      font-size: 16px;
    }
    
    .phrase2 {
      font-size: 14px;
    }

    .phrase-wrapper {
      top: 18vh;
    }
    
    .company-logo {
      top: 10vh;
      width: 25vw;
    }
}

/**construction-list**/
.thumbnail-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.thumbnail {
  flex: 0 0 calc(33.33% - 20px);
  height: auto;
  background-color: #f1f1f1;
}

.thumbnail a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.thumbnail img.construction-thumbnail {
  max-width: 100%;
  height: auto;
}

.thumbnail h2 {
  margin-top: 10px;
  font-size: 1.2rem;
}

.thumbnail p {
  margin-top: 5px;
  font-size: 0.9rem;
}


/* 1200px以上の大型デスクトップ向けスタイル */
@media (min-width: 1200px) {
    /* 1200px以上の大型デスクトップ用スタイル */
  }
  
  /* 768px以下のタブレット/スマホ向けスタイル */
  @media (max-width: 767px) {
    /* 768px以下のタブレット/スマホ用スタイル */
  }
  
  /* 480px以下の小型スマホ向けスタイル */
  @media (max-width: 550px) {
    .thumbnail h2 {
      margin-top: 10px;
      font-size: 1rem;
  }

  .thumbnail {
    flex: 0 0 calc(50% - 20px);
  }
  
  }
  
  /* 480px以下の小型スマホ向けスタイル */
  @media (max-width: 340px) {
    /* 480px以下の小型スマホ用スタイル */
  }

/**single-page news & subsidy**/
.page-thumbnail {
    width: 80%;
    object-fit: contain;
    height: 400px;
    display: block;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

.renova-page-thumbnail {
	width: 80%;
    object-fit: contain;
    height: 400px;
    display: block;
    margin: auto;
    margin-bottom: 20px;
}

.renova-page-title {
	margin: 2em auto;
}

.renova-page-title h2 {
	position: relative;
    padding: 0.25em 0;
    width: 60%;
    display: block;
    margin: auto;
    text-align: center; 
    font-family: monospace;
}


.renova-page-title h2:after {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(to right, rgb(255, 186, 115), #ffb2b2);
	width: 50%;
	margin: auto;
}

.page-title {
	margin: 5em auto;
}

.page-title h2 {
    position: relative;
    padding: 0.25em 0;
    width: 60%;
    display: block;
    margin: auto;
    text-align: center; 
    font-family: monospace;
}

.page-title h2:after {
    content: "";
    display: block;
    height: 4px;
    background: -webkit-linear-gradient(to right, rgb(255, 186, 115), #ffb2b2);
    background: linear-gradient(to right, rgb(255, 186, 115), #ffb2b2);
}

.page-date {
    text-align: center;
    font-size: 12px;
}

.page-contents {
	width: 70%;
	margin: 0 auto 5rem auto;
    font-size: 20px;
}

@media (max-width: 550px) {
	.page-title h2 {
		width: 90%;
		font-size: 1.3rem;
	} 
	
	.page-contents {
	width: 80%;
	}
	
	.page-title {
		margin: 2.5em auto;
	}
	
}

/**inspection**/
.inspection-body {
    background-color:#FFFAFA;
}

.is-header {
    width: 80%;
    display: block;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 30px;
}

.inspection-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    margin-top: 80px;
    font-weight: bold;
    font-family: monospace;
}

.inspection-title::before,
.inspection-title::after {
    content: '';
    flex-grow: 1;
    height: 2.4px;
    background: lightseagreen;
    max-width: 200px;
}

.inspection-title::before {
    margin-right: 30px;
}

.inspection-title::after {
    margin-left: 30px;
}


.inspection-text{
    width: 75%;
    font-size: 24px;
    display: block;
    margin: auto;
    margin-bottom: 80px;
    font-family: serif;
}

.is-price {
    width: 75%;
    display: block;
    margin: auto;
    padding-bottom: 100px;
    padding-top: 20px;
}

.inspection-text-last{
    text-align: center;
    font-size: 28px;
    font-family: serif;
}

.last-company-title{
    font-size: 24px;
    text-align: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo {
    width: 120px;
    height: 70px;
    margin-right: 1rem; 
}

.last-company-title {
    font-size: 1.3rem;
    font-family: serif;
}


.is-contact {
    display: block;
    width: 60%;
    height: auto;
    padding: 50px;
    margin: auto;
}

.inspection-ls {
	text-align: center;
	line-height: 2rem;
    margin: auto;
    font-size: 1.3rem;
	font-family: serif;
}

/*renova-detail*/
.renova-btn {
  display: inline-block;
  padding: 0.65rem 1.6rem;
  min-height: 44px;
  line-height: 1;
  background-color: #3865bb;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.renova-btn.active {
	background-color: #1f3d77;
}

.renova-img-wrapper {
	width: 100%;
	display: flex;
	justify-content: space-between;
	margin-top: 2rem;
}

.before-img-wrapper,
.after-img-wrapper {
  position: relative;
  width: 45%;
}

.renova-before, .renova-after {
	width: 100%;
	max-height: 500px;
}

.img-tag-before,
.img-tag-after {
    position: absolute;
    top: 20px;
    left: 25px;
    background: rgb(26 167 71 / 70%);
    color: #fff;
    padding: 5px 20px;
    font-size: 14px;
    border-radius: 4px;
}

.img-tag-after {
	background-color: rgb(255 0 0 / 70%)
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: flex;
}

.renova-page-content {
		  width: 80%;
		  margin: auto;
	  }

.btn-group {
	position: relative;
    display: inline-flex;
    vertical-align: middle;
    justify-content: space-around;
    width: 100%;
}


	  .renova-page-content p {
		  margin: 2rem auto;
	  }



/* 1200px以上の大型デスクトップ向けスタイル */
@media (min-width: 1200px) {

	.renova-title-container {
	display: flex;
	flex-direction: row-reverse;
}
	
	.renova-page-thumbnail {
		width: auto;
		max-width: 500px;
	}
	
  }
  
  /* 768px以下のタブレット/スマホ向けスタイル */
  @media (max-width: 767px) {
	  
	 	  /*renova-detail-sp*/
	    .renova-img-wrapper {
    flex-direction: column;
  }
	  
	  .before-img-wrapper,
.after-img-wrapper {
  width: 100%;
}
	  
	  .before-img-wrapper{
		  margin-bottom: 2rem;
	  }
	  
	  .renova-page-content {
		  width: 95%;
		  margin: auto;
	  }
	  
	  .renova-page-thumbnail {
		  width: 95%;
		  height: auto;
	  }
	  
	  .renova-page-title {
		  margin: 2em auto;
	  }
	  
	  .renova-page-title h2:after {
	width: 80%;
}
	  
  }
  
  /* 550px以下の小型スマホ向けスタイル */
  @media (max-width: 550px) {
    .is-header {
        width: 100%;
        height: 150px;
    }

    .inspection-title {
        color: #364e96;/*文字色*/
        border: solid 3px #364e96;/*線色*/
        padding: 0.5em;/*文字周りの余白*/
        border-radius: 0.5em;/*角丸*/
        font-size: 20px;
    }

    .inspection-title::before, .inspection-title::after {
        content: none;
        flex-grow: 0;
        height: 0;
        background: none;
        max-width: none;
    }

    .inspection-text {
        width: 95%;
    }

    .is-price {
        width: 100%;
        height: 250px;
    }

    .inspection-text-last {
        font-size: 20px;
    }

    .is-contact {
        padding: 0;
        width: 100%;
        height: 200px;
        padding-top: 20px;
        padding-bottom: 20px;
        object-fit: contain;
    }

  }
  
  /* 480px以下の小型スマホ向けスタイル */
  @media (max-width: 380px) {
        .inspection-text-last {
        font-size: 18px;
    }

    .company-logo {
        width: 100px;
        height: 70px;
    }

    .last-company-title {
        font-size: 1.2rem;
    }
	  
	.img-tag-before,
	.img-tag-after {
    top: 15px;
    left: 15px;
}	
	  
	 .renova-page-title h2 {
	font-size: 20px;
}

  }

/**stock**/
.stock-img {
    width: 80%;
    display: block;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 30px;
}

.stock-title {
    display: flex;
    align-items: center;/* 縦位置の調整 */
    justify-content: center;
    margin-bottom: 30px;
    margin-top: 80px;
    font-weight: bold;
    font-family: monospace;
}

.stock-title::before,
.stock-title::after {
    content: '';
    flex-grow: 1;
    height: 2.4px;
    background: lightseagreen;
    max-width: 200px;
}

.stock-title::before {
    margin-right: 30px;
}

.stock-title::after {
    margin-left: 30px;
}

.stock-text {
    width: 75%;
    font-size: 24px;
    display: block;
    margin: auto;
    margin-bottom: 80px;
    font-family: serif;
}

.stock-img1 {
    display: block;
    width: 100%;
    height: auto;
    margin: auto;
    margin-top: 50px;
}

.min-description{
    display: block;
    text-align: right;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

    .stock-mobile-img {
		display: block;
        max-width: 480px;
		height: auto;
		margin: auto;
		margin-top: 2rem;
    }


/* 1200px以上の大型デスクトップ向けスタイル */
@media (min-width: 1200px) {
    .stock-mobile-img {
        display: none;
    }
  }
  
  /* 768px以下のタブレット/スマホ向けスタイル */
  @media (max-width: 767px) {
    .stock-img {
        display: none;
    }
  }
  
  /* 550px以下の小型スマホ向けスタイル */
  @media (max-width: 550px) {
    .stock-mobile-img {
        width: 100%;
    }

    .stock-title {
        color: #364e96;/*文字色*/
        border: solid 3px #364e96;/*線色*/
        padding: 0.5em;/*文字周りの余白*/
        border-radius: 0.5em;/*角丸*/
        font-size: 20px;
    }

    .stock-title::before, .stock-title::after {
        content: none;
        flex-grow: 0;
        height: 0;
        background: none;
        max-width: none;
    }

    .stock-text {
        width: 95%;
    }
  }
  
  /* 480px以下の小型スマホ向けスタイル */
  @media (max-width: 340px) {

    .stock-title {
        font-size: 20px;
    }
	  
  }

@media (min-width: 1501px) {
	
		.is-header {
    width: 50%;
    display: block;
    margin: 3rem auto;
  }
	
		.stock-img {
    width: 50%;
    display: block;
    margin: 3rem auto;
	}

	.stock-single-wrapper {
		width: 80%;
		margin: auto;
	}
	
	.is-price {
    width: 50%;
	}
	
	.is-contact {
    width: 50%;
	}
	
	
}


/* 1200px以上の大型デスクトップ向けスタイル */
@media (max-width: 1500px) and (min-width: 1345px) {
 
	.is-header {
    width: 50%;
    display: block;
    margin: 3rem auto;
  }
	
	.stock-img {
    width: 50%;
    display: block;
    margin: 3rem auto;
	}

		.is-price {
    width: 60%;
	}
	
		.is-contact {
    width: 50%;
	}
	
}
