body {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}
/* 固定ヘッダー */
.header {
  transform: none !important; /* 強制的に移動を打ち消す */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #fff;  /* 任意の背景色 */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);  /* 影で浮かせる */
  z-index: 1000;
  box-sizing: border-box;
  transition: none !important;
  animation: none !important;
}
/* ロゴのサイズ調整（必要に応じて） */
.header .left {
  display: flex;
  align-items: center; /* ← 画像・文字の高さ揃える */
  gap: 10px;
  flex-shrink: 1;
  min-width: 0;
}

.header h1 {
  margin: 0;
  line-height: 1; /* 高さを画像に揃える */
  font-size: 1.4em; 
}

.header h1 a {
  text-decoration: none;
  font-size: 1.3em;
  color: inherit;
  display: inline-block;
  line-height: 1;
}

.header img {
  width: 60px;
  height: auto;
  display: block;
}
/* 電話番号（右端） */
.header .right {
  display: flex;
  align-items: center;
  gap: 10px; /* リンクの間隔 */
}

.header .right p {
  margin: 0;
  font-weight: bold;
  gap: 10px; /* リンクの間隔 */
}

.header .right .callme {
  display: inline-block;
  font-size: 1.5em;       /* h1に合わせて調整 */
  font-weight: bold;      /* 太字 */
  color: #fff;            /* 白文字 */
  background-color: #e63946; /* 目立つ赤系の背景色（好みに応じて変更） */
  padding: 10px 20px;
  border-radius: 8px;     /* 角丸 */
  text-decoration: none;  /* 下線を消す */
  transition: background-color 0.3s;
}

.header .right .callme:hover {
  background-color: #c62828; /* ホバー時の色変化 */
}


/* 企業情報リンク（.info-link）をしっかり整列 */
.header .info-link {
  font-size: 1em;
  font-weight: bold;
  color: #333;
  background-color: transparent;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s;
  display: inline-block;
  white-space: nowrap;
  line-height: 1.2;
}

.header .info-link:hover {
  background-color: #ddd;
}

.contact-fixed{
    display: none;
  }

/* headerレスポンシブ対応 */
@media (max-width: 768px) {
  .header {
    flex-direction: row;
    flex-wrap: nowrap; /* ← wrapしないことで下に落ちるのを防ぐ */
    align-items: center;
    padding: 0;
  }

  .header .left {
    flex: 1;
    min-width: 0;
  }

  .header .right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .header h1 {
    font-size: 1.0em; /* ← ここを 0.8em や 0.75em に下げるとさらに小さくなります */
  }

  .header h1 a {
    font-size: 0.9em;
  }

  .header .right .callme {
    font-size: 0.9em;
    padding: 6px 10px;
    white-space: nowrap;
  }
  .header .right {
    margin-right: 6px;
  }
  .header .info-link {
    padding: 6px;
  }
}

/* 幅768px以下でお問い合わせ画面下部固定 */
@media (max-width: 768px) {
  .contact-fixed {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 1.2em;
    padding: 15px 0;
    background-color: #e63946;
    color: #fff;
    z-index: 9999;
    border-radius: 0;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
    text-decoration: none;
    font-weight: bold;
  }

  .contact-fixed:hover {
    background-color: #c62828;
  }

  .header .right .callme {
    display: none;
  }
}


/* 最大幅1280px、中央寄せ */
.contents {
  max-width: 1280px;
  margin: 40px auto;
  padding: 20px;
  padding-top: 50px; /* ヘッダーの高さ + 余白分 */
  box-sizing: border-box;
}

.contents h2 {
  font-weight: 900;
}

.contents h3 {
  margin: 10px 0;
  padding: 10px;
  border-left: 5px solid #C73EFE;
}

/* メイン画像 */
.image-wrapper {
  position: relative;
  max-width: 1280px;
  margin: auto;
  overflow: hidden;
}

.main-image {
  width: 100%;
  height: auto;
  display: block;
}

.catch-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%; /* ここを変更：より広い幅に */
  max-width: 1000px; /* 必要なら上限幅を設定 */
  text-align: center;
  color: #fff;
  padding: 0 16px;
}

.catch-copy p {
  font-size: 4rem;              /* 大きくする */
  font-weight: 800;             /* 太字（通常のboldより太め） */
  color: #fff;                  /* 白文字 */
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.6);  /* 読みやすい影 */
  margin: 0;
  text-align: center;
}

.service-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5); /* 半透明の背景 */
  color: #fff;
  padding: 16px;
  box-sizing: border-box;
}

.service-text h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
}

@media (max-width: 768px) {
  .contents {
    padding: 0;
    padding-top: 50px; /* ヘッダー分だけ残す */
    overflow-x: hidden; /* はみ出し防止（必要に応じて） */
  }
.contents h2,
.contents h3,
.contents h4,
.contents h5,
.contents h6,
.contents p, 
.contents ul,
.contents li,
.contents dl,
.contents dt,
.contents dd {
  margin: 6px;
}

  .main-image {
    width: 100vw;
    height: auto;
    display: block;
  }

  .catch-copy p {
    font-size: 2.5rem;
  }

  .service-text h2 {
    font-size: 1rem;
    font-weight: 900;
  }
}

@media (max-width: 430px) {
  .catch-copy p {
    font-size: 1.6rem;
  }

  .service-text h2 {
    font-size: 0.7rem;
  }
  .service-text {
    padding: 8px;
  }
}

/* サービス項目を横並び */
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

/* 各サービスのスタイル */
.service-item {
  flex: 1 1 calc(33.333% - 20px);  /* 3列配置 */
  box-sizing: border-box;
  text-align: center;
}

.service-item img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

.service-item h4 {
  margin: 10px 0 5px;
  font-size: 1.1em;
}

.service-item p {
  font-size: 0.95em;
  margin: 0;
}

/* レスポンシブ対応：画面が狭くなったら縦並びに */
@media (max-width: 768px) {
  .service-item {
    flex: 1 1 100%;
  }
}


/* 企業情報 */
.company-table {
  width: 100%;
  max-width: 800px;
  border-collapse: collapse;
  margin-bottom: 30px;
  font-size: 1em;
  line-height: 1.6;
}

.company-table th,
.company-table td {
  border: 1px solid #ccc;
  padding: 12px 16px;
  vertical-align: top;
  text-align: left;
}

.company-table th {
  background-color: #f5f5f5;
  font-weight: bold;
  width: 30%;
}

.company-table ul {
  margin: 0;
  padding-left: 20px;
  list-style-type: disc;
}

/* レスポンシブ対応：スマホでは縦積みに */
@media (max-width: 768px) {
  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td  {
    display: block;
    width: 100%;
  }

  .company-table tr {
    margin-bottom: 20px;
    border-bottom: 2px solid #ccc;
  }

  .company-table th {
    background-color: transparent;
    font-weight: bold;
    padding-top: 0;
  }

  .company-table td {
    border: none;
    padding-top: 0;
  }

  .company-table th,
  .company-table td {
    word-break: break-word;
    white-space: normal;
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px; /* パディングを統一 */
    word-break: break-word;
  }
}

/* Google Mapを囲う要素 */
.map {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9比率 (高さ ÷ 幅 × 100) */
  margin-bottom: 30px;
}

.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


@media (max-width: 768px) {
  .map {
    padding-top: 0;
    height: 300px; /* スマホ時は固定高さ */
  }

  .map iframe {
    position: static;
    width: 100%;
    height: 100%;
  }
}

/* Google Mapを囲う要素 */
    .container {a
      max-width: 1280px;
      width: 100%;
      padding: 16px;
      display: grid;
      grid-template-columns: repeat(3, 1fr); /* 等幅3列 */
      gap: 16px;
    }

    .company-name {
      display: flex;
      align-items: center; /* 垂直中央揃え */
      gap: 10px; /* アイテムの間にスペース */
    }
    .company-name img {
      width: 50px;
    }

    .map, .company-image, .address {
      background-color: #f2f2f2;
      padding: 16px;
      border-radius: 8px;
      box-sizing: border-box;
    }

    .company-image img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
    }

    @media (max-width: 768px) {
      .container {
        grid-template-columns: 1fr; /* スマホなどで縦並び */
      }
    .map, .company-image, .address {
      width: calc(100% - 30px);
      background-color: #f2f2f2;
      padding: 16px;
      border-radius: 8px;
      box-sizing: border-box;
    }
    }

/* SNSアイコン */
.sns-icons ul {
  display: flex;
  gap: 60px;         /* 画像の間隔 */
  list-style: none;  /* liの点を非表示 */
  padding: 0;
  margin: 0;
  justify-content: center; /* 中央寄せ（必要に応じて） */
}

.sns-icons li img {
  width: 120px;
  height: auto;
  display: block;
}

.sns-icons p {
  margin:60px 0;
  padding:0;
  text-align: center;
  font-size: 0.8em;
  color: #666;
}

footer {
  margin: 0;
  width: 100%;
  background-color: #f0f0f0; /* 薄いグレー */
  color: #000;               /* 黒文字 */
  text-align: center;        /* 中央寄せ */
  padding: 20px 0;           /* 上下に余白 */
  font-size: 0.9em;          /* 任意で文字サイズ調整 */
  overflow: hidden; /* ← これでマージン相殺を防げます */
}
/* ▼ お問い合わせ（PC用）はデフォルトで表示、スマホで非表示 */
.callme-pc {
  display: block;
}

.contact-fixed {
  display: none; /* 通常非表示 */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #e63946;
  color: #fff;
  text-align: center;
  font-size: 1.2em;
  padding: 14px 0;
  text-decoration: none;
  font-weight: bold;
  z-index: 999;
}

/* ハンバーガー表示 */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 0;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

/* ☓状態（メニュー開いてる） */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px); /* ← 小さく */
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px); /* ← 小さく */
}

/* ハンバーガー全体を小型化 */
.hamburger {
  width: 22px;  /* ← 小さく */
  height: 20px; /* ← 小さく */
}

/* 棒の太さも細く */
.hamburger span {
  height: 2px;       /* 細く */
  width: 100%;
  background: #333;
  transition: all 0.3s ease;
  border-radius: 1px;
}

/* メニュー */
.nav-menu {
  display: none;
  position: absolute;
  top: 60px;
  right: 20px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  flex-direction: column;
}

.nav-menu.active {
  display: flex;
}
.callme,
.hamburger {
  margin: 0 !important; /* ← すべてのブラウザで確実に余白を消す */
}

/* ▼ レスポンシブ切替（768px以下） */
@media (max-width: 768px) {
  .callme-pc {
    display: none; /* PC用は非表示 */
  }

  .contact-fixed {
    display: block; /* スマホ用のみ表示 */
  }
}

#pageTop {
  position: fixed;
  bottom: 40px;
  right: 20px;
  display: none;
  background-color: #333;
  color: white;
  font-size: 20px;
  padding: 10px 15px;
  border-radius: 50%;
  text-align: center;
  z-index: 1000;
}

#pageTop a {
  color: white;
  text-decoration: none;
}


#Cal {
  font-family: "Helvetica Neue", Arial, sans-serif;
  max-width: 90%;
  margin: 20px auto;
  padding: 15px;
  background-color: #fdfdfd;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

#Cal p {
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
}

#Cal ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

#Cal ul li {
  font-size: 16px;
}

#Cal ul li a {
  text-decoration: none;
  color: #007BFF;
  font-weight: bold;
}

#Cal ul li a:hover {
  text-decoration: underline;
}

#Cal table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
}

#Cal th, #Cal td {
  width: 14.28%;
  padding: 10px 0;
  text-align: center;
  border: 1px solid #e0e0e0;
  font-size: 15px;
}

#Cal th {
  background-color: #f2f2f2;
  color: #333;
}

#Cal .sunday {
  color: #d9534f;
  background-color: #ffecec;
  font-weight: bold;
}

#Cal .saturday {
  /*color: #0275d8;*/
  color: #d9534f;
  /*background-color: #eaf4ff;*/
  background-color: #ffecec;
  font-weight: bold;
}

#Cal .holiday {
  color: #d9534f;
  font-weight: bold;
  background-color: #ffecec;
}

#Cal .calbottom {
  font-size: 14px;
  color: #666;
}


/***** car-wash.html *****/
/* 通常のテーブル表示 */
.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
  width: 25%;
}

.price-table th {
  background-color: #f2f2f2;
}

/* モバイル表示：縦に並べる */
@media screen and (max-width: 768px) {
  .price-table,
  .price-table thead,
  .price-table tbody,
  .price-table th,
  .price-table td,
  .price-table tr {
    display: block;
    width: 100%;
  }
  .price-table th,
  .price-table td {
    width: calc(100% - 20px);
  }

  .price-table thead {
    display: none;
  }

  .price-table tr {
    margin-bottom: 1em;
    border: 1px solid #ccc;
    padding: 10px;
  }

  .price-table td:first-child {
    font-weight: bold;
    background-color: #f2f2f2;
    padding: 8px;
    border-bottom: 1px solid #ccc;
  }

  .price-table td:not(:first-child)::before {
    content: attr(data-label) "　";
    font-weight: bold;
    display: inline-block;
　　min-width: 6em; /* ← ここを拡大 */
    width: auto;
    white-space: nowrap; /* ラベルを1行に保つ（必要なら） */
  }

  .price-table td:not(:first-child) {
    display: block;
    padding: 4px 8px;
  }
}

/***** car-wash.html *****/

