@charset "utf-8";

/*==========================
header
==========================*/
.about_logo {
    width: 10.41vw;
    max-width: 200px;
    min-width: 75px;
    height: auto;
    background-color: #ffffff;
    border-radius: 50%;
}

.header {
    display: flex;
    justify-content: center; 
    align-items: center;
}

/*==========================
main visual
==========================*/
.about_main_visual {
    background-image: url(../images/about/about_top.jpg);
    width: 100%;
    height: 44.5vw;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    margin-top: -4%;
  }

  @media screen and (max-width: 768px) {
    .about_main_visual {
        height: 40vw;
      }
  }

  @media screen and (max-width: 375px) {
    .about_main_visual {
        margin-top: -9%;
        height: 60vw;
    }
  }

/*==========================
about
==========================*/

  .topics {
    color: #2D3D62;
    font-size: clamp(20px, 2.08vw, 30px);
    font-weight: 700;
    text-align: center;
    margin: 100px 0 100px;
    position: relative;
  }
  
  .topics::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px; 
    background-color: #2D3D62; 
    margin: 15px auto 0; 
  }


/* 写真とテキスト交互レイアウト */
  .farm_about {
    margin: 0 auto;
    padding: 0 8.3%;
  }
  
  .about_block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 auto 60px;
    max-width: 1200px;
    gap: 30px; /* 新しく追加：画像とテキストの間隔を追加 */
  }
  
  .about_block.reverse {
    flex-direction: row-reverse;
  }
  
  .about_image {
    flex: 1;
    min-width: 300px;
    padding: 10px;
  }
  
  .about_image img {
    width: 100%;
    height: auto;
  }
  
  .about_text {
    flex: 1;
    min-width: 300px;
    padding: 10px;
    
    line-height: 1.8;
    font-size: clamp(14px, 0.83vw, 16px);
  }
/*  */

  @media screen and (max-width: 768px) {
    .topics::after {
      margin: 15px auto 0; 
    }

  .topics {
      margin: 100px 0 50px;
  }
}

  @media screen and (max-width: 743px) {
    

    .about_block {
      margin: 0 auto 20px;
      gap: 20px; 
    }
  }

  @media screen and (max-width: 375px) {
    .topics::after {
      margin: 10px auto 0; 
    }
  }

/*==========================
profile
==========================*/
.profile {
    padding: 0 8.3% 320px;
}

.profile_wrap {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
    flex-wrap: wrap;
    align-items: flex-start;
  }

.profile_wrap h3 {
    font-size: clamp(20px, 1.30vw, 25px);
    margin-bottom: 16px;
    color: #2D3D62;
  }
  
.profile_wrap p {
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: clamp(16px, 1.04vw, 20px);
  }  

  .profile_img {
    position: relative;
    flex: 0 1 40%;
    aspect-ratio: 3 / 2;
    min-width: 320px;
  }

  .profile_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
  }
  
  .profile_img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2D3D62;
    z-index: 0;
    transform: translate(-3%, 3%);
  }

  .profile_txt {
    flex: 1 1 55%;
    min-width: 280px;
  }

  .profile_txt p {
    font-size: clamp(14px, 0.8vw, 16px);
  }

  .award_txt {
    font-size: clamp(14px, 0.8vw, 16px);
  }

  /* アワードの背景 */
.profile_wrap > div:nth-of-type(2) > div {
    background-color: #f8f8f8;
    padding: 16px;
    border-left: 5px solid #2D3D62;
    margin-top: 40px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.05);
  }

/* アワードの画像 */
.profile_wrap > div:nth-of-type(2) > div img {
    width: 120px;
    margin-top: 10px;
  }

.spbr {
    display: none;
}


  @media screen and (max-width: 768px) {
    .profile {
        padding: 0 8.3% 220px;
    }
  }



  @media screen and (max-width: 420px) {
    .spbr {
        display: block;
    }
  }

  @media screen and (max-width: 375px) {
    .profile {
        padding: 0 8.3% 120px;
    }
  }
