/* CSS Document */
.title {
  background-image: url(../img/about-top.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
  height: 313px;
}
.font-color {
  color: #007D16;
}

/* ハタモクとは */
#about {
  background-color: #F4F4CC;
  margin-bottom: 3rem;
}
.hatamokutoha-img {
    margin-bottom: 10rem;
}
.about-title p {
  font-size: 1.6rem;
  font-size: 16px;
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.about-title span {
  font-size: 2rem;
  font-size: 20px;
  font-weight: bold;
  color: #007D16;
}

/* 三つの力を身に着けよう */
#three-power {
  padding-top: 8rem;
  padding-bottom: 8rem;
}
#three-power h2 {
  font-size: 3.2rem;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 2rem;
}
#three-power p {
  font-size: 2.5rem;
  font-size: 25px;
}
#three-power .text {
    margin: auto;
}
.img-size {
  object-fit: cover;
  width: 545px;
  height: 276px;
  border-radius: 1.5rem;
  object-position: 66%;
}

/* ハタモクのビジョン */
.vision-img {
  background-image: url(../img/bizyon.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  height: 766px;
}

.vision-bg {
  background-color: rgba(255, 255, 255, 0.7); /* 白背景＋80%不透明 */
  padding: 5rem 2rem;
  border-radius: 1.5rem;
  color: #000; /* テキスト色は完全不透明 */
  margin: 7rem auto;
  text-align: center;
  width: 85%;
}

.vision-bg h2{
  font-size: 3.2rem;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 3rem;
  border-bottom: dashed 2px #007D16;
  display: inline-block;
  padding-bottom: 1.5rem;
}


/* ハタモクのグランドルール */
.rules-section {
  background-color: #F4F4CC;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.rules-section h2 {
  font-size: 3.2rem;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 3rem;
  border-bottom: dashed 2px #007D16;
  display: inline-block;
  padding-bottom: 1.5rem;
}

.gurandoru-ru {
  text-align: center;
  margin-top: 5rem;
  margin-bottom: 8rem;
}

.rules-item {
  position: relative;
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 85px;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.1);
  min-height: 160px; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.rules-item .number {
  position: absolute;
  top: -20px;
  left: -20px;
}

.rules-item .number img {
  width: 60px;
  height: 60px;
}

.rules-item p {
  margin-bottom: 0;
  font-size: 2rem;
  font-size: 20px;
}

.fun_field_time {
  background-color: #007D16;
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  margin-top: 7rem;
  margin-bottom: 7rem;
}

.fun_field_time h3{
  font-size: 3rem;
  font-size: 30px;
  color: #FFFFFF;
  font-weight: 500;
  line-height: 1.8;
}
.fun_field_time span{
  color: #FFF100;
}


@media only screen and (max-width: 1199px){
}
@media only screen and (max-width: 991px){
.rules-item .number img {
  width: 50px;
  height: 50px;
}
.fun_field_time h3{
  font-size: 2.5rem;
  font-size: 25px;
}
}
@media only screen and (max-width: 767px){
#three-power h2 {
  text-align: center;
  margin-bottom: 4rem;
}
#three-power p {
  font-size: 2.2rem;
  font-size: 22px;
}
}
@media only screen and (max-width: 575px){
#three-power h2 {
  font-size: 2.8rem;
  font-size: 28px;
}
.vision-bg h2{
  font-size: 2.8rem;
  font-size: 28px;
}
.rules-section h2 {
  font-size: 2.8rem;
  font-size: 28px;
}
.rules-item p {
  font-size: 1.8rem;
  font-size: 18px;
}
.fun_field_time h3{
  font-size: 2rem;
  font-size: 20px;
}
}