@charset "UTF-8";

/* トップ画像・お知らせ欄・ピックアップ
-------------------------------------------------------------------------------- */

#top .contentsInner {
  width: 1150px;
  margin: 0 auto;
  overflow: hidden;
}

#topImg {
  width: 100%;
  height: 425px;
  background: url("../img/headerimg1600.png") top center / cover no-repeat;
  transition: background-image 0.3s ease;
  
}




/* お知らせ上部ヘッダー
-------------------------------------------------------------------------------- */
.infoHead {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: 20px;
}

p {
  margin: 0;
  padding: 0;
}

.infoHead::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: pink;
}

/* お知らせリスト 
-------------------------------------------------------------------------------- */
.infoList {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.infoList li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  /* 日付とテキストの間隔 */
  padding-top: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #ccc;
}

.infoListInner {
  display: flex;
  width: 100%;
}

.infoList li a {
  display: flex;
  width: 100%;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}

.infoList .date {
  font-weight: bold;
  min-width: 90px;
  margin-right: 20px;
  flex-shrink: 0;
}

.infoList .txt {
  flex: 1;
  min-width: 0;

  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: break-word;
}

.infoList li a:hover {
  text-decoration: underline;
}

h2.secTtl.newsTitle {
  flex-grow: 1;
  margin: 0;
  padding-bottom: 6px;
  position: relative;
}

h2.secTtl.newsTitle::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background-color: pink;
  width: 100%;

}


.btnMore a {
  display: inline-block;
  position: relative;
  padding-left: 16px;
  text-decoration: none;
  color: inherit;
  font-weight: bold;
  font-size: 14px;
  white-space: nowrap;
}

.btnMore a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 15px;
  background: url("../../shared/img/arrow.png") no-repeat center center;
  background-size: contain;
  transform: translateY(-50%);
}

.btnMore a:hover {
  text-decoration: underline;
}

#topImp {
  display: flex;
  flex-wrap: nowrap;
  margin-top: 80px;
  margin-bottom: 50px;
}

#topImp #topInfo {
  flex: 1;
  margin-right: 46px;
}

#topImp #topPickup {
  width: 535px;
}


.image-links {
  display: flex;
  gap: 15px;
}

.image-link {
  display: block;
  width: 260px;
  height: 360px;
  background-size: cover;
  background-position: center;
  text-indent: -9999px;
}

.image-link.aisatsu {
  background-image: url('../img/aisatsu.jpg');
}

.image-link.contact {
  background-image: url('../img/contact.jpg');
}

#topPickup .contentsInner {
  background-color: #bee041;
}



/*-- レスポンシブ対応 --*/



@media screen and (min-width: 768px) and (max-width: 1150px) {
  #top .contentsInner {
    width: 90%;
  }
	
	  #topImp #topInfo {
    margin-right: 0;
    width: 100%;
  }

	  #topImp {
    flex-direction: column;
    gap: 40px;
    width: 100%;
  }

  #topImp #topInfo,
  #topImp #topPickup {
    width: 100%;
    margin-right: 0;
  }

  .image-links {
    justify-content: center;
    gap: 20px;
  }

  .image-link {
    aspect-ratio: 2 / 3;
    background-size: contain;
    background-position: center;
  }
	
	
	  #topImg {
    width: 100%;
    height: 300px;
    background: url("../img/headerimg1200.png") top center / cover no-repeat;
  }

}





@media screen and  (max-width: 767px) {
  #top .contentsInner {
    width: 90%;
  }

  #topImp {
    flex-direction: column;
    gap: 40px;
    width: 100%;
  }

  #topImp #topInfo {
    margin-right: 0;
    width: 100%;
  }

  #topImg {
    width: 100%;
    height: 250px;
    background: url("../img/headerimg800.png") top center / cover no-repeat;
  }

  #topImp #topPickup {
    width: 100%;

  }
	
	
 .image-links {
    display: flex;
    justify-content: center;
    gap: 5vw;
    padding: 0 0vw;
    box-sizing: border-box;
  }

.image-link {
  flex: 0 1 40vw; 
  aspect-ratio: 2 / 3; 
  width: 100%; 
  height: auto; 
  background-size: contain; 
  background-position: center;
  background-repeat: no-repeat;
  text-indent: -9999px; 
}

}

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

	  #topImg {
 
    height: 190px;
  }
	
	
}


/* 青山会の活動
-------------------------------------------------------------------------------- */

#topActivity {
  width: 100%;
  background-color: #F3F4F5;
}

#topActivity .secTtl {
  text-align: center;
  margin: 0 auto 40px;
  line-height: 1.4;
}

#topActivity .contentsInner {
  padding-top: 65px;
  padding-bottom: 80px;
  width: 1150px;
  margin: 0 auto;
  overflow: hidden;
}


.acSecTtl {
  text-align: center;
  margin: 0 auto 40px;
  font-size: 0;
}

.acSecTtlInner {
  display: inline-block;
  font-size: 24px;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
}

.acSecTtlInner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #000;
}

.acSecTtl .lanEn {
  font-family: 'Lora', serif;
  font-size: 20px;
  font-style: normal;
  margin-left: 10px;
}



.topActivityList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 30px;
}


.topActivityPiece {
  display: flex;
  align-items: flex-start;
  padding: 15px;
  background: #ffffff;
  border: 1px solid #E7DFDF;
  border-radius: 9px;
  
  text-decoration: none;
  color: inherit;

}


.topActivityPiece .imgBox {
  width: 154px;
  height: 154px;
  flex-shrink: 0;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin-right: 15px;
 

}


.topActivityPiece .txtArea {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  height: 154px;
  box-sizing: border-box;
  flex: 1;
  transition: all 0.3s ease;

}

.topActivityPiece .ttl {
  font-weight: bold;
  font-size: 1.1em;
  margin: 0;
  align-self: flex-start;
}

.topActivityPiece .linkMore {
  position: absolute;
  bottom: 0;
  right: 0;
  padding-right: 45px;
  font-size: 16px;
  line-height: 39px;
  display: inline-block;
  text-align: right;
}

.topActivityPiece .linkMore::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 39px;
  height: 39px;
  background: url('../../shared/img/arrowL.png') no-repeat center center / contain;
}


.topActivityPiece:hover .linkMore::after {
  background-image: url('../../shared/img/arrowL_hover.png');
  transition: background-image 0.3s ease;
}


.topActivityPiece:hover {
  border-color: #FA6889;
  text-decoration: none;
    transition: all 0.3s ease;
}

.topActivityPiece:hover .ttl,
.topActivityPiece:hover .linkMore span {
  color: #FA6889;
    transition: all 0.3s ease;

}



/*-- レスポンシブ対応 --*/


@media screen and (min-width: 768px) and (max-width: 1150px) {
	
#topActivity .contentsInner {

  width: 767px;

}	
	
.topActivityList {
  grid-template-columns: repeat(2, 1fr);
  /* 横に3つ */
  gap: 15px;
  /* セクション間の隙間 */
  margin-top: 30px;
}
}



/*-- レスポンシブ対応 --*/
@media screen and (max-width: 767px) {
  #topActivity .contentsInner {
    padding-top: 30px;
    padding-bottom: 25px;
    width: 90%;
  }

  .topActivityList {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .topActivityPiece {
    flex-direction: column;
    align-items: center;
  }

  .topActivityPiece .imgBox {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .topActivityPiece .txtArea {
    height: auto;
  }

  .topActivityPiece .linkMore {
    position: relative;
    bottom: auto;
    right: auto;
    padding-right: 0;
    margin-top: 10px;
    text-align: center;
  }

  .topActivityPiece .linkMore::after {
    position: static;
    display: inline-block;
    transform: none;
    margin-left: 5px;
  }

  .topActivityPiece .imgBox {
    background-image: none !important;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  #topActivity .linkMore {
    display: none !important;
  }

  #topActivity .ttl::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 8px;
    background: url('../../shared/img/arrowL.png') no-repeat center center;
    background-size: contain;
    vertical-align: middle;
  }

  #topActivity .topActivityPiece:hover .ttl::after {
    background-image: url('../../shared/img/arrowL_hover.png');
  }

  #topActivity .acSecTtlInner {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
  }

}




/* トピックス
-------------------------------------------------------------------------------- */

#topTopics {
  width: 100%;
  background: url("../img/topicimg.jpg") center center / cover no-repeat;
  padding: 60px 0;
}

#topTopics .contentsInner {
  width: 755px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 50px;
  text-align: center;
  box-sizing: border-box;
}


.linkImages {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.linkImage {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 287px;
  height: auto;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  font-size: 0;
  color: transparent;
  text-align: center;
  line-height: 1;
  text-decoration: none;
}


.linkImage.graduated {
  height: 125px;
  background-image: url("../img/graduated.jpg");
}

.linkImage.careerup {
  height: 89px;
  background-image: url("../img/career_up.jpg");
}


/*-- レスポンシブ対応 --*/
@media screen and (max-width: 767px) {

  #topTopics .contentsInner {
    width: 70%;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
  }

  #topTopics {
    padding: 30px 0;
  }

  #topTopics .secTtl {
    font-size: 16px;
  }
}


  /* h2関連
-------------------------------------------------------------------------------- */

  /* 共通の h2 セクションタイトルスタイル */
  .secTtl {
    font-size: 24px;
    font-weight: bold;
    text-align: left;
    position: relative;
    margin-bottom: 24px;
    padding-bottom: 6px;
    box-sizing: border-box;
  }

  /* 英語部分共通：/ を前に表示 */
  .secTtl .lanEn::before {
    content: "/ ";
    margin: 0 6px 0 10px;
    font-family: 'Lora', serif;
    font-size: 20px;
    font-style: normal;
    color: inherit;
  }
    .acSecTtl .lanEn::before {
    content: "/ ";
    margin: 0 6px 0 10px;
    font-family: 'Lora', serif;
    font-size: 20px;
    font-style: normal;
    color: inherit;
  }


  /* 英語部分のフォント */
  .secTtl .lanEn {
    font-family: 'Lora', serif;
    font-size: 20px;
    font-style: normal;
  }


  /* 下線デフォルト（黒） */
  .secTtl::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #000;
  }

  /* お知らせピンクの下線 */
  h2.secTtl:has(.lanEn:contains("News"))::after {
    background-color: pink;
  }

  /* 活動・トピックス用 */
  h2.secTtl.centered {
    display: inline-block;
    text-align: center;
    padding-bottom: 10px;
    margin: 0 auto 24px;
    position: relative;
  }


  h2.secTtl.centered::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #000;
  }

.secTtl .lanEn {
  font-size: 16px;
  font-weight: bold;
}