/* main */
main {
  background: none;
}

/* セクションタイトル */
.section-title {
  font-size: 1.8rem;
  margin: 0 auto;
  max-width: 800px;
  color: #2c3e50;
  border-bottom: 2px solid #ccc;
  display: flex;
  justify-content: center;
  padding-top: 3rem;
  padding-bottom: 0.5rem;
}

/* 各セクション */
#company main {
  background: url("../img/bg.webp");
  background-size: cover;
}

.company-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.company {
  background: linear-gradient(180deg, rgba(240, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.6) 100%);
  padding-bottom: 6rem;
}

.company-section h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 32px;
  color: #4b7d5a;
  border-left: 6px solid #a4c2a8;
  padding-left: 0.75rem;
}

.company-section p {
  font-size: 1rem;
  margin: 1rem 0 0;
  color: #444;
  line-height: 32px;
}
.company-section-gaiyo p {
  width: 500px;
  display: flex;
  justify-content: space-between;
}
.company-section strong {
  display: block;
  width: 30%;
  text-align: left;
}
.company-section span {
  display: block;
  width: 70%;
  text-align: left;
}

.company-section ul {
  padding-left: 1.5rem;
  list-style: disc;
}

.company-section li {
  margin-bottom: 0.75rem;
}

.company-section-naiyo p {
}
.company-section-naiyo strong {
  display: inline;
}

/* 挨拶 */
#greeting main {
  background: url("../img/bg.webp");
  background-size: cover;
}
.color-section-1 {
  background-color: rgba(240, 255, 255, 0.6);
  padding-bottom: 4rem;
}
.color-section-2 {
  background-color: rgba(255, 255, 255, 0.6);
  padding-bottom: 4rem;
}
.greeting-section {
  padding: 2rem 1rem 0;
  border-radius: 10px;
  margin-bottom: 0;
}

.greeting-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: flex-start;
}

.greeting-text {
  width: 50%;
  color: #333;
  line-height: 1.9;
  text-align: left;
}

.greeting-text p {
  font-size: 16px;
  margin-bottom: 1.2rem;
}

.greeting-text p.sign {
  text-indent: 0;
  font-weight: bold;
  margin-top: 2rem;
}

.greeting-image {
  width: 44%;
  max-width: 350px;
}

.greeting-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* policy */
#policy main {
  background: linear-gradient(180deg, rgba(240, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.8) 100%), url("../img/bg.webp");
  background-size: cover;
}
.policy {
  padding-bottom: 6rem;
}
.privacy-policy-text p {
  word-wrap: break-word; /* 古いブラウザ向けもOK */
  overflow-wrap: break-word; /* 標準 */
  word-break: break-word;
}
.privacy-policy-text p a {
  color: blue;
  text-decoration: underline;
}
.privacy-policy-text p a:hover {
  opacity: 0.6;
  transition: all 0.3s;
}
@media screen and (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
  }
  /* 挨拶 */
  .greeting-wrapper {
    flex-direction: column-reverse;
    align-items: center;
  }

  .greeting-text {
    width: 100%;
    text-align: left;
  }
  .greeting-text p {
    font-size: 16px;
  }
  .greeting-image {
    width: 80%;
  }
}
@media screen and (max-width: 600px) {
  .company-section-gaiyo p {
    width: 100%;
    flex-direction: column;
  }
  .company-section strong {
    width: 100%;
  }
  .company-section span {
    width: 100%;
  }
}
