/* ------------------------------
   Reset CSS - Enhanced Version
------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: "Noto Sans JP";
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6,
p, figure, blockquote {
  margin: 0;
  padding: 0;
}

p{
  color: #585858;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

button,
input,
textarea,
select {
  font: inherit;
  background: none;
  border: none;
  outline: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.pc {
  display: block;
}

.sp{
    display: none;
}

/*----------------------------- */
/*ヘッダー */
/*------------------------------*/
.site-header {
    background-color: #fff;
    border-top: 4px solid #0074c1;
    border-bottom: 1px solid #ccc;
    font-family: "Helvetica", sans-serif;
  }

  .header-top-message{
    height: 50px;
    background-color: #0074c1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    border-radius: 0 0 10px 10px;
    position: absolute;
    left: 26%;
    padding: 20px;
  }

  .header-top-message p{
    font-size: 18px;
    color: #fff;
  }
  
  .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
  }
  
  .header-logo img {
    height: 120px;
  }

  .header-nav{
    padding-top: 50px;
  }
  
  .header-nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    padding: 0;
    margin: 0;
    align-items: center;
  }
  
  .header-nav li {
    text-align: center;
  }
  
  .header-nav a {
    color: #333;
    text-decoration: none;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .header-nav div{
    height: 34px;
  }

  .header-nav p{
    height: 20px;
  }
  
  .header-nav img {
    width: 24px;
    height: auto;
    margin-bottom: 5px;
  }
  
  .header-contact {
    position: absolute;
    right: 8%;
    top: 0%;
  }

.header-contact img{
    border-radius: 0 0 10px 10px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 3px;
  background: #0074c1;
  border-radius: 2px;
}

.sp_header{
  display: none;
}
/*----------------------------- */
/*ファーストビュー */
/*------------------------------*/
.first-view {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 500; /* 画像比率に合わせて調整 */
    background-image: url('../img/fv-background.png'); /* 人物画像（背景） */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
  }
  
  .fv-overlay {
    position: absolute;
    top: 50%;
    left: 28%;
    transform: translate(-50%, -50%); /* 中央配置 */
    width: 60vw;
    max-width: 700px;
  }
  
  .fv-overlay img {
    width: 100%;
    height: auto;
  }
  
/*----------------------------- */
/*安心をつくる雨ん防 */
/*------------------------------*/
.about-section {
    background-image: url('../img/about-bg.png'); /* 背景画像パス */
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    text-align: center;
    color: #000;
  }
  
  .about-inner {
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .about-title {
    font-size: 32px;
    color: #0066cc;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
  }
  
  .heading-deco {
    margin: 8px auto 40px;
    height: auto;
  }
  
  
  .about-text {
    font-size: 14px;
    margin-bottom: 40px;
    line-height: 1.8;
  }
  
  .about-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .about-card {
    display: block;
    width: 280px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
  }
  
  .about-card img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  .card-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: #0074d9;
    color: #fff;
    font-weight: bold;
    font-size: 17px;
    padding: 20px;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
  }
  
  .label-icon {
    width: 25px;
    height: auto;
    display: inline-block;
  }

/*----------------------------- */
/*きっと見つかる あなたのお困りの事例 */
/*------------------------------*/
  .case-section {
    padding: 60px 20px;
    text-align: center;
  }

  .case-inner{
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .case-title {
    font-size: 24px;
    color: #0074c1;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
  }
  
  .case-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .case-card {
    flex: 0 1 calc(33.333% - 20px);
    max-width: 300px;
  }
  
  .case-img {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
  }
  
  .case-img img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  .case-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3); /* 黒レイヤー */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
  }
  
  .case-icon {
    width: 80px;
    margin-bottom: 8px;
  }
  
  .case-label {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 6px;
    line-height: 1.2;
    color: #fff;
  }
  
  .case-label small {
    font-weight: normal;
    font-size: 20px;
  }
  
  .case-line {
    width: 80px;
    height: auto;
  }
  
  .case-text {
    font-size: 16px;
    margin-top: 10px;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    justify-content: center;
    text-align: left;
  }
  
  .text-icon {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
  }
  
/*----------------------------- */
/*雨ん防Blog｜施工実績 */
/*------------------------------*/
.blog-performance-section {
    background-color: #ecf7ff;
    padding: 60px 20px;
  }
  
  .blog-performance-inner {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
  }
  
  .blog-box,
  .performance-box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 460px;
    position: relative;
  }
  
  .section-title {
    font-size: 24px;
    font-weight: bold;
    color: #0074d9;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
  }
  
  .character-img {
    position: absolute;
    top: -65px;
    right: -17px;
    width: 130px;
  }
  
  .blog-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .blog-item {
    display: flex;
    gap: 15px;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 15px;
  }
  
  .blog-item:last-child {
    border-bottom: none;
  }
  
  .blog-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
  }
  
  .blog-content {
    flex: 1;
    text-align: left;
  }
  
  .meta {
    font-size: 16px;
    color: #666;
    margin-bottom: 4px;
  }
  
  .blog-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 4px;
    color: #333;
  }
  
  .excerpt {
    font-size: 13px;
    color: #444;
    line-height: 1.5;
  }

  .blue-button-wrapper{
    text-align: center;
  }
  
  .blue-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #0074d9;
    color: #fff;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 20px;
    transition: background-color 0.3s;
  }
  
  .blue-button:hover {
    background-color: #005bb5;
  }
  
  .btn-icon {
    width: 14px;
    height: 14px;
  }
  
/*----------------------------- */
/*レビュー */
/*------------------------------*/
.review-section{
    text-align: center;
    padding: 60px 0px;
    background-image: url(../img/bg_line.png);
    background-size: cover;
    background-position: center;
}
.review-inner{
    max-width: 1000px;
    margin: 0 auto;
}
.review-title{
    font-size: 24px;
    color: #0074c1;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}
.review-caption {
  position: relative;
  margin-bottom: 40px;
  text-align: center;
}

.review-character {
  position: absolute;
    top: 50px;
    left: 30%;
  transform: translateX(-50%);
  width: 70px;
  z-index: 2;
}

.review-title {
  font-size: 22px;
  color: #0074c1;
  font-weight: bold;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.review-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}
.gmb-review_heading {
    max-width: 880px;
    margin: auto;
    border: solid #eeeeee 2px
}

.gmb-review_heading .head {
    display: flex;
    align-items: center
}

.gmb-review_heading .head .g_logo {
    width: 120px;
    display: flex;
    align-items: center;
    margin-right: 10px
}

.gmb-review_heading .head .g_logo img {
    width: 100px
}

.gmb-review_heading .result_info {
    display: flex
}


.gmb-review_list {
    max-width: 900px;
    margin: 40px auto;
    border: solid #eeeeee 2px;
    background: #ffffff
}

.gmb-review_list .head {
    background: #0078c9;
    padding: 10px
}

.gmb-review_list .review_list_heading {
    display: flex;
    align-items: center;
    line-height: 1.0;
    text-align: center;
    margin-bottom: 10px
}

.gmb-review_list .review_list_heading .g_logo {
    width: 60px;
    padding: 4px 6px;
    background: #ffffff;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    margin-right: 10px
}

.gmb-review_list .review_list_heading .g_logo img {
    width: 100%
}

.gmb-review_list .review_list_heading h2 {
    font-size: 20px !important;
    font-weight: bold;
    margin: 0 !important;
    color: #ffffff !important;
    background: none !important;
    padding: 0 !important;
    border: none !important
}

.gmb-review_list .review_list_heading h2:after {
    content: none
}

.gmb-review_list .result_info {
    display: flex;
    font-weight: bold;
    font-size: 24px;
    color: #ffffff
}

.star-rating {
    position: relative;
    width: 5em;
    height: 1em;
    margin: 0 10px
}

.star-rating .star-rating-front {
    color: #FBBC04;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    overflow: hidden;
    white-space: nowrap
}

.star-rating .star-rating-back {
    color: #CCCCCC;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1
}

.review_content {
    padding: 0 10px;
    height: 300px;
    overflow: auto
}

.review_content li {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 10px 10px 20px;
    margin-bottom: 10px;
    margin-top: 10px;
    border-bottom: 1px dotted #cccccc
}

.review_content li .result_time {
    margin-right: 10px
}

.review_content li .result_author {
    font-weight: bold
}

.review_content li .result_txt_box {
    margin-top: 10px;
    position: relative;
    width: 100%
}

.review_content li .result_txt_box input {
    display: none
}

.review_content li .result_txt_box label {
    height: 1.5em;
    cursor: pointer;
    text-align: center;
    font-size: 42px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 95%);
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 95%);
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 95%);
    background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 95%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 95%)
}

.review_content li .result_txt_box label:after {
    content: "続きをよむ";
    font-size: 12px;
    line-height: 28px;
    position: absolute;
    bottom: -10px;
    left: 50%;
    box-shadow: 0px 0px 5px 0px #d8d8d8;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    color: #fff;
    background-color: #275358;
    opacity: 0.9;
    width: 12rem;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px
}

.review_content li .result_txt_box .result_txt {
    height: 4.5em;
    overflow: hidden;
    transition: all 0.4s
}

.review_content li .result_txt_box input:checked ~ .result_txt {
    height: auto;
    padding-bottom: 30px
}

.review_content li input:checked ~ label {
    background: none
}

.review_content li input:checked ~ label:after {
    content: "閉じる";
    background-color: #a94442
}

.review_content li .star-rating {
    margin: 0 10px 0 0
}

.review_content .read_more {
    margin: 20px 0
}

.review_content .read_more a {
    width: 300px;
    margin: auto;
    display: block;
    padding: 6px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    text-align: center;
    background: #a94442;
    color: #ffffff
}

.review-btn {
  margin-top: 40px;
}

.btn-consult {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #EF484E;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s;
  width: 250px;
}

.btn-consult:hover {
  background-color: #c4002b;
}

.btn-icon {
  width: 14px;
  height: 14px;
}

/*----------------------------- */
/*タブセクション */
/*------------------------------*/
.tab-section {
  padding: 60px 20px;
  text-align: center;
}

.tab-inner{
  max-width: 1000px;
    margin: 0 auto;
}

.tab-title {
  font-size: 24px;
  font-weight: bold;
  color: #0074c1;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.tab-caption {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* タブメニュー */
.tab-menu {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.tab-menu li {
  list-style: none;
  padding: 12px 30px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px 5px 0 0;
  background: #ccc;
  color: #fff;
  transition: 0.3s;
}

.tab-menu li.active {
  background: #0074c1;
}

/* コンテンツ表示制御 */
.tab-content {
  display: none;
  padding: 30px;
  border: 2px solid #0074c1;
  text-align: left;
}

.tab-content.active {
  display: block;
}

/* 信頼＆安全性内部 */
.trust-box {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  position: relative;
}

.trust-left img {
  max-width: 300px;
  width: 100%;
  height: auto;
}

.trust-right {
  flex: 1;
  min-width: 250px;
}

.trust-right h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #0078C9;
}

.trust-right p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* キャラ画像（ポジション） */
.trust-character {
    position: absolute;
    bottom: 40px;
    right: 38%;
    width: 60px;
}

/* ボタン */
.btn-consult.tab {
  background-color: #0078c9;
  padding: 12px 40px;
}

/*----------------------------- */
/*フッター */
/*------------------------------*/
.site-footer {
  font-size: 14px;
  color: #333;
  padding: 40px 0 0;
  background-image: url(../img/footer-bg.png);
  background-size: cover;
  background-position: center;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
  flex-direction: column;
}

.footer-left{
  display: flex;
  justify-content: space-between;
}

.footer-right{
  display: flex;
  justify-content: flex-start;
  gap: 50px;
}

.footer-left address{
  line-height: 2;
}

.footer-logo {
  width: 180px;
  margin-bottom: 15px;
}

.footer-top-right{
    display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-navi {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
  gap: 10px;
}

.footer-navi li {
  display: flex;
  align-items: center;
  border-right: 1px solid #ccc;
  padding-right: 12px;
}

.footer-navi li:last-child {
  border-right: none;
}

.footer-navi a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 14px;
  gap: 6px;
}

.footer-icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}


.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.footer-menu li a {
  text-decoration: none;
  font-weight: bold;
}

.footer-bottom {
  background: #0074c1;
  text-align: center;
  color: #fff;
  padding: 10px 0;
  font-size: 12px;
  margin-top: 30px;
}

.footer-menu-block {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.footer-menu-grouping{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 35px;
}

.footer-menu-group h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 14px;
}

.footer-menu li::before {
  content: '＞';
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 10px;
  color: #0074c1;
}

.footer-menu a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

.footer-tel{
    border-radius: 15px;
    margin: 30px 0 15px;
}

/*----------------------------- */
/*お問合せ */
/*------------------------------*/
.first-view.contact {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 540; 
    background-image: url('../img/fv-contact-bg.png'); 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
  }

  .contact-section{
    padding: 60px 20px;
    text-align: center;
  }

  .contact-inner{
    max-width: 1000px;
    margin: 0 auto;
  }

  .contact-title {
    font-size: 24px;
    color: #0074c1;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.contact-contects{
  display: flex;
  justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.contact-details{
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contact-caption{
  text-align: left;
  margin-bottom: 30px;
}

.contact-cards{
    background-color: #ECF7FF;
    padding: 30px;
    border-radius: 10px;
}

.contact-cards h3{
    font-size: 20px;
    border-bottom: 1px solid #0078C9;
    color: #0078C9;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 40px;
    display: inline-block;
}

.contact-list{
  text-align: left;
  display: inline-block;
}

.contact-list li{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    margin-bottom: 5px;
}

.contact-form{
  flex: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-row label {
  width: 170px;
  display: flex;
  align-items: center;
    justify-content: space-between;
}

.required {
  background-color: #0070c0;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 3px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

textarea {
  resize: vertical;
}




