﻿/* メインセクション背景 */
body {
  background-color: #6fa4c3;
}

.section-heading {
  font-size: 1.25rem; /* 20pt */
  color: #6d6c6c;
  border-bottom: 1px dotted #6d6c6c;
  margin-bottom: 20px;
}

.delivery-section {
  width: 900px;
  background-color: #e3f5ff;
  border-radius: 10px;
  padding: 20px;
  box-sizing: border-box;
  margin-bottom: 40px;
}

.delivery-title {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 1.4rem; /* 18pt ≒ 1.125rem */
  color: #0072c6;
  margin-bottom: 20px;
  font-weight: bold;
}

.delivery-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.delivery-text {
  width: 55%;
  font-size: 1.05rem; /* 15pt ≒ 0.9375rem */
  color: #6d6c6c;
  line-height: 1.6;
}

.delivery-image {
  width: 40%;
}

.delivery-image img {
  width: 100%;
  height: auto;
  background-color: #ffffff;
}


/* ------------------------------
   レスポンシブ対応 (768px以下)
---------------------------------*/
@media (max-width: 768px) {

  .delivery-section {
    width: 90%;
    padding: 15px;
    margin-bottom: 30px;
  }

  .delivery-title {
    font-size: 1rem;
    padding: 8px 15px;
    margin-bottom: 15px;
  }

  .delivery-content {
    flex-direction: column;
    gap: 20px;
  }

  .delivery-text {
    width: 100%;
    font-size: 0.875rem;
  }

  .delivery-image {
    width: 100%;
  }

  .section-heading {
    font-size: 1.125rem;
    margin-bottom: 15px;
  }
}

/* ------------------------------
   レスポンシブ対応 (480px以下)
---------------------------------*/
@media (max-width: 480px) {

  .delivery-section {
    width: 95%;
    padding: 10px;
  }

  .delivery-title {
    font-size: 0.95rem;
    padding: 6px 10px;
  }

  .delivery-text {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .section-heading {
    font-size: 1rem;
  }
}
