﻿/* 変数定義（カラーテーマ） */
:root {
  --main-blue: #007acc;
  --accent-blue: #56b4d3;
  --bg-light: #f9fcff;
  --section-bg: #e6f4f9;
  --text-gray: #333;
  --footer-bg: #eef7fb;
}



/* フォントとリセット */
body, h1, h2, h3, p, ul {
  margin: 0;
  padding: 0;
  font-family: 'Zen Maru Gothic', sans-serif;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-light);
  color: var(--text-gray);
  overflow-x: hidden;
  padding-top: 80px;
}

/* ヘッダー */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.floating-contact {
  position: fixed;
  top: 100px;        /* 上の位置も少し上に */
  right: 20px;      /* 画面の右端に近づける */
  width: 200px;     /* 横幅を小さく調整 */
  height: auto;     /* 高さは自動調整 */
  z-index: 1000;
  animation: float 3s ease-in-out infinite;
}

.floating-contact img {
  width: 100%;      /* コンテナ幅に合わせる */
  height: auto;
  box-shadow: none; /* 影をなくす */
}

@keyframes float {
  0% { transform: translateY(0); }
  80% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

@media (max-width: 768px) {
  .floating-contact {
    top: 550px; /* 70pxヘッダー + 10px余白 */
    right: 10px;
    width: 130px;
  }
}




/* ロゴ */
a.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--main-blue);
  text-decoration: none;
}


/* ナビメニュー */
.nav ul {
  display: flex;
  gap: 15px;
  list-style: none;
}

.nav a {
  text-decoration: none;
  font-weight: 500;
  color: #fff;
  background-color: var(--accent-blue);
  padding: 8px 14px;
  border-radius: 20px;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.nav a:hover {
  background-color: #399abb;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* ヒーローセクション */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
}

.title-image {
  margin: 110px 0 0px;
}

.title-image img {
  display: block;
  margin: 0 auto;
  width: 80%;
  max-width: 1000px;
  height: auto;
}

.hero img {
	margin-top: -30px;
  width: 65%;
  object-fit: cover;
  display: block;
}

.hero img:last-of-type {
  position: relative;
  z-index: 1;
}

section, h2, h3 {
  scroll-margin-top: 80px;
}



/* メリットセクション */
.benefits {
  max-width: 1000px;
  margin: 60px auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.benefits h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: var(--main-blue);
  font-weight: 700;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.benefit-item {
  background-color: var(--section-bg);
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

.benefit-item h3 {
  font-size: 20px;
  color: var(--main-blue);
  margin-bottom: 10px;
  font-weight: 600;
}

.benefit-item p {
  font-size: 16px;
}

/* 洗浄前後の画像セクション */
.before-after {
  margin: 60px auto;
  max-width: 1000px;
  padding: 30px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.before-after h2 {
  font-size: 28px;
  color: #007acc;
  margin-bottom: 30px;
}

.before-after-images {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.image-item {
  width: 48%;
  background-color: #e6f4f9;
  border-radius: 10px;
  padding: 20px;
}

.image-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.image-item p {
  margin-top: 10px;
  font-size: 16px;
  color: #007acc;
}

.arrow {
  font-size: 30px;
  color: #007acc;
  display: flex;
  justify-content: center;
  align-items: center;
}

.taiyoukou {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.taiyoukou .image-item {
  width: 100%;
  max-width: 1000px;
}

.taiyoukou p {
  font-size: 24px;   /* お好みでサイズ調整 */
  color: #007acc;    /* 他のテキスト色と合わせる */
  margin-top: 12px; 
	margin-bottom: 20px;/* 余白調整 */
  font-weight: 600;  /* 少し太めに */
}


/* お問い合わせフォーム */
.contact-form {
  margin: 60px auto;
  max-width: 800px;
  padding: 30px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.contact-form h2 {
  font-size: 28px;
  color: #007acc;
  margin-bottom: 30px;
}

.form-item {
  margin-bottom: 20px;
  text-align: left;
}

.form-item label {
  font-size: 16px;
  color: #007acc;
  display: block;
  margin-bottom: 8px;
}

.form-item input, .form-item textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

.form-item input[type="file"] {
  border: none;
}

.form-item textarea {
  resize: vertical;
}

.form-submit button {
  background-color: #56b4d3;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form-submit button:hover {
  background-color: #399abb;
}

/* フッター */
.footer {
  text-align: center;
  padding: 20px;
  background-color: var(--footer-bg);
  color: #666;
  font-size: 14px;
  margin-top: 60px;
}



/* 環境に・・・*/
.center-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.center-image img {
  max-width: 800px;   /* 最大幅（お好みで調整可） */
  width: 100%;
  height: auto;
}








/* モバイル対応 */
@media (max-width: 768px) {
  .title-image img {
    width: 90%;
    max-height: 100px;
    object-fit: contain;
  }

  .hero img:last-of-type {
    width: 85%;
    max-height: 400px;
    object-fit: contain;
  }

  .benefits {
    padding: 20px 15px;
    margin-top: 20px;
  }

  .benefits h2 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .benefit-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .benefit-item {
    background-color: #ffffff;
    border: 2px solid #e0f2fc;
    border-left: 6px solid var(--accent-blue);
    padding: 15px;
    text-align: left;
    border-radius: 10px;
  }

  .benefit-item h3 {
    font-size: 16px;
    color: var(--main-blue);
    margin-bottom: 8px;
  }

  .benefit-item p {
    font-size: 14px;
  }

  .before-after-images {
    flex-direction: column;
    align-items: center;
  }

  .image-item {
    width: 90%;
    margin-bottom: 10px;
  }

  .arrow {
    font-size: 40px;
    margin: 0;
    transform: rotate(90deg);
  }

  .contact-form {
    padding: 20px;
    width: 90%;
  }

  .form-item input, .form-item textarea {
    font-size: 14px;
  }

  .form-submit button {
    font-size: 16px;
    padding: 10px 16px;
  }

  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    z-index: 999;
  }

  .nav.active {
    max-height: 500px;
  }

  .nav ul {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
  }

  .nav a {
    background-color: transparent;
    color: var(--main-blue);
    padding: 10px;
    font-size: 16px;
    border-radius: 0;
    display: block;
    width: 100%;
    text-align: center;
  }

  .nav a:hover {
    background-color: #eef7fb;
  }

  .menu-toggle {
    display: block;
    font-size: 28px;
    cursor: pointer;
  }

  .logo {
    font-size: 18px;
    display: block;
  }
}
/* 料金について */

.pricing {
  background-color: #fff;
  padding: 30px 20px;
}

.pricing-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.pricing h2 {
  font-size: 28px;
  color: var(--main-blue);
  margin-bottom: 30px;
  font-weight: 700;
}

.pricing-image-wrapper {
  width: 100%;
  overflow: hidden;
}

.pricing-full-image {
  width: 100%;
  max-width: 1000px;  /* ← 横幅制限をここで */
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  object-fit: contain;
}

.washing-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* PCでは2列 */
  gap: 10px 20px;
}


.washing-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #333333;
  font-weight: 400;
  font-size: 14px;
}


.washing-options input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--main-blue);
  border-radius: 4px;
  border: 1.5px solid var(--main-blue);
  background-color: #fff;
}

.washing-options input[type="checkbox"]:focus {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}


@media (max-width: 768px) {
  .washing-options {
   grid-template-columns: 1fr !important; /* 1列に変更 */
  }
}

/* 外壁洗浄しませんかの下の文章 */
.benefits-description {
  max-width: 700px;
  margin: 0 auto 40px auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.pricing-note {
  text-align: center;
  margin-top: 0.5em;
  font-size: 1.1em;
  color: #333;
}

.before-after-note {
  text-align: center;
  margin-top: 1.5em;
  font-size: 1.1em;
  color: #333;
}

@media screen and (max-width: 768px) {
  .benefits-description br {
    display: none;
  }

  .benefits-description br.keep-br {
    display: inline;
  }

  .benefits-description {
    text-align: left;
  }
}


/* 外壁補修について */
body {
  font-family: "Zen Maru Gothic", sans-serif;
  background-color: #fffef9;
  color: #333;
  margin: 0;
  padding: 0;
}

.repair-summary {
  display: flex;
  flex-wrap: wrap;
  margin: 2em auto;
  max-width: 1000px;
  border: 4px solid #f28c40;
  border-radius: 20px;
  overflow: hidden;
  background-color: #ffffff;
}

.repair-left {
  flex: 1;
  padding: 2em;
  min-width: 300px;
}

.repair-left h2 {
  background-color: #f28c40;
  color: #fff;
  padding: 0.5em 1em;
  border-radius: 8px;
  font-size: 1.6em;
  margin-bottom: 1em;
}

.repair-left h3 {
  color: #f28c40;
  margin-top: 1.5em;
  font-size: 1.2em;
}

.repair-left p {
  line-height: 1.8;
  margin-top: 0.5em;
}

.repair-left ul {
  list-style: none;
  padding: 0;
}

.repair-left li {
  margin-bottom: 1em;
  line-height: 1.6;
}

.repair-right {
  flex: 0 0 35%;
  padding: 2em;
  min-width: 260px;
}

/*リペアの枠内*/
.repair-section {
  padding: 30px 20px;
  background-color: #fff;
  border-radius: 20px;
  border: 5px solid #f49b50;
  margin: 40px auto;
  margin-bottom: 250px;
  max-width: 1000px;
}

.repair-section h3 {
  font-size: 1.6rem;
  font-weight: bold;
  color: #3c2a1e;
  margin-bottom: 20px;
  text-align: center;
}

.repair-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.repair-pair {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.repair-pair figure {
  flex: 1;
  margin: 0;
  text-align: center;
}

.repair-pair figcaption {
  margin-bottom: 8px;
  font-weight: bold;
  color: #f28c40;
}

.arrow {
  font-size: 2rem;
  color: #f28c40;
}

/* スマホでは縦並びにして矢印を縦向きに */
@media (max-width: 768px) {
  .repair-pair {
    flex-direction: column;
  }
  .arrow {
    transform: rotate(90deg); /* 横矢印「→」を下矢印「↓」に変形 */
  }
}


.repair-pair img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}


  .repair-gallery {
    grid-template-columns: 1fr;
  }

.fixed-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #00aaff; /* 濃い水色 */
  color: #fff;
  text-align: center;
  padding: 1em 0;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
  font-family: "Hiragino Maru Gothic Pro", "ヒラギノ丸ゴ Pro W4", "Rounded M+ 1c", sans-serif;
  z-index: 9999;
}

.fixed-footer .area-info {
  margin: 0;
  font-size: 1rem;
}

.fixed-footer .tel-info {
  margin: 0.3em 0;
}

.fixed-footer .tel-info a {
  text-decoration: none;
  color: inherit;
}
.fixed-footer .tel-label {
  display: inline-block;
  background: #fff;
  color: #0077cc; /* ブルー */
  padding: 0.3em 1em;
  border-radius: 1em;
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 0.3em;
}

.fixed-footer .tel-number {
  display: inline-block;
  font-size: 2rem;
  font-weight: bold;
  color: #ffff33; /* 明るい黄色 */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.fixed-footer .copyright {
  margin: 0.3em 0 0;
  font-size: 0.9rem;
}


@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.floating-line {
  position: fixed;
  bottom: 180px;
  right: 20px;
  z-index: 1000;
}

.floating-line img {
  width: 60px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.floating-line img:hover {
  transform: scale(1.1);
}

/* モバイル時はヘッダー内に表示位置を変更 */
@media screen and (max-width: 768px) {
  .floating-line {
    position: absolute;
    top: 10px;
    right: 60px; /* メニューアイコンとの重なりを避ける */
    bottom: auto;
  }

  .floating-line img {
    width: 48px; /* 少し小さくしておくとヘッダーに収まりやすい */
  }
}


