#about {
  #sec-title {
    position: relative;
    height: 480px;
    background-color: #ffcd9a;

    .background-img {
      height: 100%;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }

    .title-container {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;

      &.with-overlay {
        backdrop-filter: blur(2px);
        background: rgba(0, 0, 0, 0.2);
      }

      .title-text {
        height: 100%;
        flex: 1;
        /* display: flex;
                flex-direction: column; */
        padding: 40px;
        color: white;

        h1 {
          text-transform: uppercase;
          font-family: "Bayon", sans-serif;
          font-size: 50px;
        }

        .subtitle-container {
          margin-top: 10px;
          padding: 8px;
          width: fit-content;
          background: linear-gradient(to right, #fe5000, #ffc175);

          h2 {
            text-transform: uppercase;
            font-size: 18px;
          }
        }
      }
    }
  }

  #sec-org {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
    padding-bottom: 30px;

    & img {
      width: 75%;
      max-width: 100dvh;
      aspect-ratio: 5/3;
      margin-bottom: 60px;
      background-color: gray;
    }

    & p {
      padding: 0 40px;
      font-size: 18px;
      line-height: 1.5;
      text-align: center;
      margin-bottom: 32px;
    }
  }

  #sec-president {
    background-color: #fff6e7;
    padding: 60px 0;

    & h3 {
      margin-bottom: 40px;
      text-align: center;
      font-size: 24px;
      font-family: "Hiragino Kaku Gothic Pro W6", sans-serif;
    }

    .president-container {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      padding: 0 40px;

      & img {
        width: 42%;
        aspect-ratio: 5/6;
        object-fit: fill;
        background-color: gray;
      }

      .president-text {
        width: 55%;
        display: flex;
        flex-direction: column;
        gap: 20px;

        & p {
          font-size: 16px;
          line-height: 1.25;
          text-align: left;
        }
      }
    }
  }
}

@media (max-width: 768px) {
  #about {
    #sec-title {
      height: 320px;

      .title-container .title-text {
        padding: 24px 20px;

        h1 {
          font-size: 28px;
        }

        .subtitle-container {
          margin-top: 8px;
          padding: 6px;

          h2 {
            font-size: 14px;
          }
        }
      }
    }
    
    #sec-org {
      & p {
        font-size: 16px;
        padding: 0 20px;

        & br {
          display: none;
        }
      }
    }

    #sec-president {
      & h3 {
        font-size: 20px;
      }

      & img {
        width: 75%;
        min-width: 75%;
        margin-bottom: 40px;
      }

      .president-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 20px;

        .president-text {
          width: 100%;
        }
      }
    }
  }
}

#org {
  #sec-title {
    position: relative;
    height: 480px;
    background-color: #ffcd9a;

    .background-img {
      height: 100%;
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }

    .title-container {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;

      &.with-overlay {
        backdrop-filter: blur(2px);
        background: rgba(0, 0, 0, 0.2);
      }

      .title-text {
        height: 100%;
        flex: 1;
        /* display: flex;
                flex-direction: column; */
        padding: 40px;
        color: white;

        h1 {
          text-transform: uppercase;
          font-family: "Bayon", sans-serif;
          font-size: 50px;
        }

        .subtitle-container {
          margin-top: 10px;
          padding: 8px;
          width: fit-content;
          background: linear-gradient(to right, #fe5000, #ffc175);

          h2 {
            text-transform: uppercase;
            font-size: 18px;
          }
        }
      }
    }
  }

  #sec-org {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
    padding-bottom: 30px;

    .team {
      & h3 {
        text-align: center;
        font-size: 36px;
        font-family: "Bayon", sans-serif;
        margin-bottom: 20px;
      }

      & p {
        text-align: center;
        font-size: 16px;
        line-height: 1.5;
        margin: 0 40px;
        margin-bottom: 40px;
      }

      .groups {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 60px;
        margin-bottom: 60px;

        .group {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          position: relative;
          width: 400px;

          .background-shape {
            position: absolute;
            top: 0;
            left: 10px;
            width: 400px;
            height: 100%;
            background-color: #f79428;
            clip-path: polygon(
              0 45.7px,
              100% 0,
              100% calc(100% - 45.7px),
              0 100%
            );
          }

          .img-container {
            z-index: 10;
            width: 330px;
            height: 290px;
            background-color: #b4b4b4;
            clip-path: polygon(
              0 37.7px,
              100% 0,
              100% calc(100% - 37.7px),
              0 100%
            );
            overflow: hidden;
            margin-top: 30px;
            margin-right: 70px;

            & img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              object-position: center;
              transform-origin: center;
            }
          }

          .text-container {
            z-index: 10;
            margin-top: 20px;
            margin-left: 35px;
            margin-right: 15px;
            margin-bottom: 60px;
            background-color: white;
            /* border: 2px solid #f26900; */
            padding: 20px 20px;
            position: relative;

            /* &::before,
            &::after {
              content: "";
              position: absolute;
              width: 2px;
              height: 60%;
              background-color: white;
              top: 50%;
              transform: translateY(-50%);
            } */

            &::before {
              left: -2px;
            }

            &::after {
              right: -2px;
            }

            & h4 {
              font-family: "Hiragino Kaku Gothic Pro W6", sans-serif;
              color: #f79428;
              font-size: 16px;
              margin-bottom: 15px;
            }

            & p {
              text-align: left;
              margin: 0;
              font-size: 12px;
              line-height: 1.5;
            }
          }
        }
      }
    }
  }
}

@media (max-width: 768px) {
  #org {
    #sec-title {
      height: 320px;

      .title-container .title-text {
        padding: 24px 20px;

        h1 {
          font-size: 28px;
        }

        .subtitle-container {
          margin-top: 8px;
          padding: 6px;

          h2 {
            font-size: 14px;
          }
        }
      }
    }

    #sec-org {
      .team {
        & p {
          margin: 0 20px;
        }

        .groups {
          gap: 0;
          .group {
            scale: 0.8;

            .text-container {
              & h4 {
                font-size: 20px;
              }

              & p {
                font-size: 16px;
              }
            }
          }
        }
      }
    }
  }
}
