@charset "utf-8";
/** {
  outline: 1px solid red;
}*/
body {
  margin: 0;
}

.navi {
  padding-top: 250px;
}

.shelter-section {
  padding: 40px 20px;
}

.shelter-container {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.shelter-main-image {
  width: 450px;
  flex-shrink: 0;
}

.shelter-main-image img {
  width: 100%;
  height: auto;
  display: block;
}

.shelter-spacer {
  width: 24px;
}

.shelter-content {
  flex: 1;
  min-width: 300px;
}

/* スマホ対応：縦並びに切り替え */
@media (max-width: 767px) {
  .shelter-container {
    flex-direction: column;
    align-items: center;
  }

  .shelter-main-image,
  .shelter-content {
    width: 100%;
    max-width: 600px;
  }

  .shelter-spacer {
    display: none;
  }
}


.shelter-section {
  display: flex;
  justify-content: center;
  padding-top: 30px;
}

.shelter-container {
  max-width: 920px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shelter-image img {
  max-width: 100%;
  height: auto;
}

.shelter-spacer {
  height: 20px; /* &nbsp; の代わりに余白を確保 */
}

.shelter-content {
  max-width: 964px;
  width: 100%;
  /* 必要に応じて中身のスタイルを追加 */
}

.quake-warning {
  color: #333;
  font-size:clamp(24px,1.87vw,36px) ;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: 600;
  text-align: center;
  padding: 1em 0;
}

.quake-gallery-section {
  padding: 40px 20px;
}

.quake-gallery-title {
  text-align: center;
  font-size:clamp(20px,1.56vw,30px);
  font-weight: 600;
  margin-bottom: 30px;
  color: #333;
}

.quake-gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.quake-image {
  width: 278px;
  text-align: center;
}

.quake-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.quake-image figcaption {
  font-size: (18px,1.25vw,24px);
  color: #333;
  margin-top: 8px;
}

.quake-message-section {
  padding: 40px 20px;
}

.quake-message-container {
  max-width: 965px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-direction: row; /* ← PCでは横並びを固定 */
}

.quake-left,
.quake-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quake-left {
  width: 369px;
}

.quake-right {
  width: 586px;
}

.quake-text {
  font-size: 20px;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

.quake-image img,
.quake-right img {
  width: 100%;
  height: auto;
  display: block;
}

/* スマホ対応：縦並びに切り替え */
@media (max-width: 767px) {
  .quake-message-container {
    flex-direction: column;
    align-items: center;
  }

  .quake-left,
  .quake-right {
    width: 100%;
    max-width: 600px;
  }
}

.shelter-info-section {
  padding: 40px 20px;
}

.shelter-info-container {
  max-width: 965px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-direction: row; /* PCでは横並び */
}

.shelter-image {
  width: 482px;
}

.shelter-image img {
  width: 100%;
  height: auto;
  display: block;
}

.shelter-text {
  width: 473px;
  font-size: 20px;
  color: #333;
  text-align: left;
}

/* スマホ対応：縦並び＋順番変更（テキスト→画像） */
@media (max-width: 767px) {
  .shelter-info-container {
    flex-direction: column-reverse; /* ← 表示順を逆にする */
    align-items: center;
  }

  .shelter-text,
  .shelter-image {
    width: 100%;
    max-width: 600px;
    text-align: center;
  }

  .shelter-text {
    margin-bottom: 20px;
  }
}

.shelter-area-section {
  padding: 40px 20px;
}

.shelter-area-title {
  color: #333;
  font-size: clamp(20px,1.87vw,36px);
  font-weight: 600;
  text-align: center;
  margin: 0 auto;
  padding-top: 50px;
  max-width: 1000px;
  line-height: 1.6;
}

.shelter-duo-section {
  padding: 40px 20px;
}

.shelter-duo-container {
  max-width: 964px;
  margin: 0 auto;
  display: flex;
  flex-direction: row; /* ← PCでは横並びを強制 */
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.shelter-image {
  width: 450px;
  flex-shrink: 0;
}

.shelter-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* スマホ対応：縦並びに切り替え */
@media (max-width: 767px) {
  .shelter-duo-container {
    flex-direction: column;
    align-items: center;
  }

  .shelter-image {
    width: 100%;
    max-width: 600px;
  }
}

.shelter-remodel-section {
  padding: 40px 20px;
}

.shelter-remodel-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.shelter-remodel-text {
  font-size: clamp(18px,1.25vw,24px);
  color: #333;
  margin-bottom: 30px;
  line-height: 1.6;
}

.shelter-remodel-gallery {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-direction: row; /* PCでは横並び */
  flex-wrap: nowrap;
}

.shelter-image img {
  width: 100%;
  padding-bottom: 50px;
  height: auto;
  display: block;
}

/* スマホ対応：画像を縦並びに */
@media (max-width: 767px) {
  .shelter-remodel-gallery {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .shelter-image {
    max-width: 100%;
  }
}

.shelter-gallery-step {
  padding: 40px 20px;
}

.gallery-step-container {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.gallery-step-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.gallery-step-image {
  width: 440px;
  flex-shrink: 0;
}

.gallery-step-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* スマホ対応：縦並びに切り替え */
@media (max-width: 767px) {
  .gallery-step-row {
    flex-direction: column;
    gap: 20px;
  }

  .gallery-step-image {
    width: 100%;
    max-width: 600px;
  }
}

.shelter-layout-section {
  padding: 40px 20px;
}

.shelter-layout-container {
  max-width: 985px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
}

.shelter-layout-column {
  flex: 0 0 31%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.shelter-layout-column img {
  width: 100%;
  height: auto;
  display: block;
}

.shelter-layout-text {
  margin-bottom: 10px;
}

.shelter-layout-note {
  max-width: 985px;
  margin: 40px auto 100px;
  font-size: 18px;
  color: #333;
  text-align: center;
  line-height: 1.6;
}

/* スマホ対応：縦並びに切り替え */
@media (max-width: 767px) {
  .shelter-layout-container {
    flex-direction: column;
    align-items: center;
  }

  .shelter-layout-column {
    width: 100%;
    max-width: 600px;
  }

  .shelter-layout-note {
    padding: 0 10px;
  }
}
