@charset "utf-8";
/*====================================================================================================
header
===================================*/
/*==================================================
スクロール途中から上部固定
=====*/
header {
  position: fixed;
  /*fixedを設定して固定*/
  height: 100px;
  /*高さ指定*/
  width: 100%;
  /*横幅指定*/
  z-index: 999;
  /*最前面へ*/
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 20px 50px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 5px solid #31b219;
}
/*==================================================
ふわっと出現させるためのCSS
=====*/
/*　上に上がる　*/
header.UpMove {
  position: fixed;
  width: 100%;
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-100px);
  }
}
/*　下に下がる　*/
header.DownMove {
  position: fixed;
  width: 100%;
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media screen and (max-width: 1279px) {
  header,
  header.UpMove,
  header.DownMove {
    animation: none;
    height: 70px;
    padding: 0;
    display: block;
  }
}
/*====================================================================================================
main
===================================*/
/*==================================================
スクロールすると下のエリアがヘッダーにかぶさる
=====*/
/*=====　共通　=====*/
main {
  position: relative;
  z-index: 1;
  background: #fff;
  width: 100%;
  margin: 0 auto;
}
section {
  padding: 100px 0;
}
#privacy section {
  padding: 0;
}
.wrap {
  padding: 24px 0 100px 0;
}
.gray {
  background: #f5f5f5;
}
@media only screen and (min-width: 1367px) {
  .main_inner {
    padding: 4% 0;
  }
}
.robo {
  font-family: "roboto", -apple-system, BlinkMacSystemFont, YuGothic, "Yu Gothic Medium", "Yu Gothic", sans-serif;
}
h2 {
  text-transform: uppercase;
  font-size: 3rem;
  text-align: center;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
h2 small {
  display: block;
  font-size: 40%;
  margin-top: -20px;
}
h3 {
  font-size: 120%;
  padding: 2% 0;
  border-top: 2px solid #31b219;
  border-bottom: 2px solid #31b219;
  margin-bottom: 16px;
}
@media screen and (max-width: 560px) {
  h2 small {
    margin-top: -10px;
  }
}
h2 span.icon {
  width: 60px;
  display: block;
  margin: 0 auto -24px auto;
}
@media screen and (max-width: 768px) {
  h2 {
    font-size: 2rem;
  }
}
/*シャッ（左から）*/
.bgextend {
  animation-name: bgextendAnimeBase;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  position: relative;
  overflow: hidden;
  /*　はみ出た色要素を隠す　*/
  opacity: 0;
}
@keyframes bgextendAnimeBase {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/*中の要素*/
.bgappear {
  animation-name: bgextendAnimeSecond;
  animation-duration: 1s;
  animation-delay: 0.6s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes bgextendAnimeSecond {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*左から右*/
.bgLRextend::before {
  animation-name: bgLRextendAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  /*伸びる背景色の設定*/
}
@keyframes bgLRextendAnime {
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }
  50% {
    transform-origin: left;
    transform: scaleX(1);
  }
  50.001% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}
/* ふわっ（下から） */
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* パタッ（左へ） */
.flipLeft {
  animation-name: flipLeftAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  perspective-origin: left center;
  opacity: 0;
}
@keyframes flipLeftAnime {
  from {
    transform: perspective(600px) translate3d(0, 0, 0) rotateY(30deg);
    opacity: 0;
  }
  to {
    transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
    opacity: 1;
  }
}
/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgLRextendTrigger,
.bgappearTrigger,
.fadeUpTrigger,
.flipLeftTrigger {
  opacity: 0;
}
h2 span.bgLRextend::before {
  background: rgba(255, 255, 255, 0.6);
}
/* じわっ（ぼかしから出現） */
.blur {
  animation-name: blurAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}
@keyframes blurAnime {
  from {
    filter: blur(10px);
    transform: scale(1.02);
    opacity: 0;
  }
  to {
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
  }
}
/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.blurTrigger {
  opacity: 0;
}
/* ボタン　*/
.gradient1 {
  /*ボタンの形状*/
  display: block;
  color: #fff;
  padding: 18px 60px;
  border-radius: 35px;
  text-decoration: none;
  outline: none;
  /*背景の色と形状*/
  background: linear-gradient(90deg, #31b219, #00a63a, #00984d, #008a58, #007c5e, #006d5e, #175e59, #2f4f4f);
  background-position: 1% 50%;
  background-size: 200% auto;
  /*アニメーションの指定*/
  transition: all 0.3s ease-out;
}
/*hoverした際の、背景の場所とテキスト色の変更*/
.gradient1:hover {
  color: #fff;
  background-position: 99% 50%;
}
/*=====　Top　=====*/
#top-main {
  width: 100%;
  height: 100vh;
  position: relative;
}
#top-main:before {
  content: "";
  position: fixed;
  top: 10vh;
  left: 5%;
  z-index: -1;
  width: 90%;
  height: 80vh;
  /*背景画像設定*/
  background: url("../img/image.webp") no-repeat left;
  background-size: cover;
}
@media screen and (max-width: 768px) {
  #top-main:before {
    background-position: top center;
    background-size: auto 90%;
  }
}
#ti {
  width: 100%;
  height: 50vh;
  position: relative;
}
#ti:before {
  content: "";
  position: fixed;
  top: 10vh;
  left: 5%;
  z-index: -1;
  width: 90%;
  height: 40vh;
  background-size: cover;
}
.title {
  position: fixed;
  top: 32%;
  left: 5%;
  font-size: clamp(1.6rem, -0.733rem + 3.11vw, 3rem);
  text-transform: uppercase;
  font-weight: bold;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.8);
  padding: 8px 32px;
}
@media screen and (max-width: 560px) {
  #ti {
    height: 32vh;
  }
  #ti:before {
    height: 20vh;
  }
  .title {
    top: 24%;
  }
}
/*==================================================
ページ毎タイトル
=====*/
/*NEWSタイトル*/
.news_ti:before {
  background: url("../img/news_back.jpg") no-repeat left;
}
/*会長挨拶タイトル*/
.president-greeting_ti:before {
  background: url("../img/rules_back.jpg") no-repeat left;
}
/*組織図タイトル*/
.organization-chart_ti:before {
  background: url("../img/rules_back.jpg") no-repeat left;
}
/*執行部タイトル*/
.executive_ti:before {
  background: url("../img/rules_back.jpg") no-repeat left;
}
/*会則タイトル*/
.rules_ti:before {
  background: url("../img/rules_back.jpg") no-repeat left;
}
/*会報誌タイトル*/
.newsletter_ti:before {
  background: url("../img/newsletter_back.jpg") no-repeat left;
}
/*お問い合わせタイトル*/
.contact_ti:before {
  background: url("../img/contact_back.jpg") no-repeat left;
}
/*プライバシーポリシータイトル*/
.privacy_ti:before {
  background: url("../img/privacy_back.jpg") no-repeat left;
}
/*卒業年度タイトル*/
.graduation-years_ti:before {
  background: url("../img/graduation-years_back.jpg") no-repeat left;
}
/*頑張る同窓生タイトル*/
.alumni_ti:before {
  background: url("../img/alumni_back.jpg") no-repeat left;
}
/*==================================================
Top-SVGアニメーション
=====*/
.svganimeblock svg {
  width: 100%;
  /*SVGのサイズ*/
}
/*アニメーション前の指定*/
.svganimeblock svg path {
  fill-opacity: 0;
  /*最初は透過0で見えない状態*/
  transition: fill-opacity 0.5s;
  /*カラーがつく際のアニメーション0.5秒で変化*/
  fill: none;
  /*塗りがない状態*/
  stroke: #efefef;
  /*線の色*/
}
/*アニメーション後に.doneというクラス名がで付与された時の指定*/
.svganimeblock svg.done path {
  fill: #efefef;
  /*塗りの色*/
  fill-opacity: 0.5;
  /*透過1で見える状態*/
  stroke: none;
  /*線の色なし*/
}
/*==================================================
Top-NEWS
=====*/
.tab {
  display: flex;
  flex-wrap: wrap;
}
.tab-area {
  margin: 0 auto 32px auto;
  width: 90%;
}
.tab li {
  text-align: center;
  white-space: nowrap;
}
.tab li a {
  display: block;
  border-top: transparent 1px solid;
  border-right: #fff 1px solid;
  border-left: transparent 1px solid;
  padding: 8px 30px;
  background: #eee;
}
@media screen and (max-width: 400px) {
  .tab li a {
    padding: 8px 20px;
  }
}
/*liにactiveクラスがついた時の形状*/
.tab li.active a {
  background: #4bcc33;
  border-top: #4bcc33 1px solid;
  border-color: #4bcc33;
  color: #fff;
}
/*エリアの表示非表示と形状*/
.area {
  display: none;
  /*はじめは非表示*/
  opacity: 0;
  /*透過0*/
  padding: 4%;
}
/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
  display: block;
  /*表示*/
  animation-name: displayAnime;
  /*ふわっと表示させるためのアニメーション*/
  animation-duration: 2s;
  animation-fill-mode: forwards;
}
@keyframes displayAnime {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#news .tab {
  position: relative;
  top: 1px;
}
#news .tab-choice-area {
  border-top: 1px solid #aaa;
  border-left: 1px solid #aaa;
}
.tab-choice-area dl div:not(.category),
#news .wrap dl div:not(.category) {
  position: relative;
  margin-bottom: 16px;
  border-bottom: 1px solid #eee;
  padding: 2% 0;
}
.tab-choice-area dl div:after,
#news .wrap dl div:after {
  content: "";
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 2px;
  width: 13px;
  /* くの字を山なりに見た時、左側の長さ */
  height: 13px;
  /* くの字を山なりに見た時、右側の長さ */
  border-top: 2px solid #ccc;
  /* くの字を山なりに見た時、左側の太さと色 */
  border-right: 2px solid #ccc;
  /* くの字を山なりに見た時、右側の太さと色 */
  transform: rotate(45deg);
  /* くの字の向き */
}
.tab-choice-area dl div a,
#news .wrap dl div a {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  padding: 2%;
  text-indent: -9999px;
}
.tab-choice-area dl div:hover,
#news .wrap dl div:hover {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha( opacity=70 )";
}
.tab-choice-area dl dt,
#news .wrap dl dt {
  display: flex;
  align-items: center;
}
.tab-choice-area dl dd,
#news .wrap dl dd {
  font-weight: bold;
  padding-right: 24px;
}
time {
  font-size: 75%;
  margin-right: 24px;
}
.category {
  font-size: 75%;
  color: #fff;
  background: #31b219;
  padding: 2px 15px 2px;
}
@media only screen and (max-width: 1366px) {
  .main_inner {
    padding: 4%;
  }
}
/*==================================================
top_明倫カウント
=====*/
#count ul {
  margin: 0 auto;
  width: 90%;
}
#count ul li {
  border: 1px solid #111;
  padding: 2%;
}
#count dl dt {
  font-size: clamp(1.25rem, 0.625rem + 0.83vw, 1.625rem);
  font-weight: bold;
}
#count dl dd span {
  font-family: "roboto", -apple-system, BlinkMacSystemFont, YuGothic, "Yu Gothic Medium", "Yu Gothic", sans-serif;
  font-size: clamp(1.875rem, -0.208rem + 2.78vw, 3.125rem);
  font-weight: 600;
  color: #007e00;
}
/*==================================================
top_同窓生の活躍
=====*/
#alumni ul {
  margin: 0 auto;
  width: 90%;
}
#alumni ul li {
  position: relative;
  transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
  font-weight: bold;
}
#alumni ul li img {
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
#alumni ul li a {
  width: 100%;
  height: 100%;
  display: block;
  text-indent: -9999px;
  position: absolute;
  top: 0;
  left: 0;
}
#alumni ul li:hover {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha( opacity=70 )";
}
/*==================================================
ごあいさつページ
=====*/
@media only screen and (min-width: 961px) {
  #greetingbox div:first-of-type {
    width: 40%;
  }
  #greetingbox div:last-of-type {
    width: 58%;
  }
}
/*==================================================
会報誌ページ
=====*/
.flipbook-pc {
  margin: 0 !important;
}
#mulenavi {
  width: 100%;
  margin: 24px auto 80px auto;
}
#mulenavi li {
  margin: 0 8px;
  text-align: center;
  cursor: pointer;
  padding: 1%;
  border: 1px solid gray;
  border-radius: 30px;
}
#mulenavi li:hover {
  background: #eee;
}
#mulenavi li#toPrev:before {
  content: "<";
  color: gray;
  margin-right: 16px;
}
#mulenavi li#toNext:after {
  content: ">";
  color: gray;
  margin-left: 16px;
}
.slick-slider {
  -ms-touch-action: auto !important;
  touch-action: auto !important;
}
.slider {
  width: 90%;
  margin: 0 auto;
}
.slick-next:before,
.slick-prev:before {
  font-size: 40px !important;
  color: #111 !important;
}
.slick-next,
.slick-prev {
  width: 40px !important;
  height: 40px !important;
  z-index: 100 !important;
}
.slick-prev {
  left: 0 !important;
}
.slick-next {
  right: 0 !important;
}
.slick-dots {
  position: static !important;
  margin: 24px 0 0 0;
}
.backnumber_list li {
  margin-left: 24px;
  list-style-type: none;
  border-bottom: 1px dotted gray;
}
.backnumber_list li a {
  display: block;
  padding: 1.6% 0;
}
.backnumber_list li a:hover {
  background: rgba(0, 0, 0, 0.03);
}
/*==================================================
組織図、執行部ページ
=====*/
.construction {
  list-style-type: none;
  width: 30%;
}
.executive .construction {
  width: 47.5%;
}
.construction ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.construction ul {
  position: relative;
  /* margin-top: 1rem; */
  margin-left: 15px;
}
.construction ul:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-left: 1px solid gray;
}
.namebox {
  border: 1px solid gray;
  padding: 8px;
  background: #fff;
}
.construction ul li {
  position: relative;
  margin: 0;
  padding: 7px 0 7px 20px;
}
.namebox span {
  margin-right: 8px;
  font-weight: bold;
}
.construction ul li:before {
  content: "";
  display: block;
  position: absolute;
  top: 30px;
  left: 0;
  width: 20px;
  height: 0;
  border-top: 1px solid gray;
}
.construction ul li:last-child:before {
  top: 30px;
  bottom: 0;
  height: auto;
  background-color: #f5f5f5;
}
.construction ul li ul li {
  padding: 3.5px 0 3.5px 20px;
}
.construction ul li ul li:last-child:before {
  top: 30px;
  bottom: 0;
  height: auto;
  background-color: #f5f5f5;
}
@media only screen and (min-width: 961px) {
  .plusbar {
    position: relative;
  }
  .plusbar::before {
    content: "";
    position: absolute;
    width: 65px;
    height: 1px;
    top: 24px;
    left: -65px;
    background: gray;
  }
}
@media only screen and (max-width: 960px) {
  .construction,
  .executive .construction {
    width: 100%;
  }
  .construction ul li:last-child:before {
    background-color: transparent;
  }
}
/*==================================================
頑張る同窓生ページ
=====*/
.alumnibox {
  margin-bottom: 40px;
  background: #fff;
  padding: 2%;
}
.alumnibox .content {
  padding: 2%;
}
.alumni_slide li {
  margin: 0 16px;
  background: #fff;
}
.alumni_slide li img {
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.alumni_slide div:last-of-type {
  padding: 4%;
}
.alumni_slide .gradient1 {
  padding: 8px;
}
.slick-dots li {
  background: none !important;
}
@media only screen and (min-width: 961px) {
  .alumnibox figure,
  .alumnibox .content {
    width: 50%;
  }
}
/*==================================================
新着情報
=====*/
.postbox {
  background: #fff;
  padding: 4%;
  margin-bottom: 80px;
}
.postbox h3 {
  font-size: 120%;
  padding: 2% 0;
  border-top: 2px solid #31b219;
  border-bottom: 2px solid #31b219;
}
.postbox img {
  width: auto;
  height: auto;
  max-width: 100%;
}
/*==================================================
プライバシーポリシー
=====*/
#privacy ol {
  margin-left: 40px;
}
#privacy a {
  text-decoration: underline;
}
/*====================================================================================================
ページトップ
===================================*/
/*リンクの形状*/
#page-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #31b219;
  width: 60px;
  height: 50px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.6rem;
  transition: all 0.3s;
}
#page-top a:hover {
  background: #777;
}
/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 2;
  /*はじめは非表示*/
  opacity: 0;
  transform: translateX(100px);
}
/*　左の動き　*/
#page-top.LeftMove {
  animation: LeftAnime 0.5s forwards;
}
@keyframes LeftAnime {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/*　右の動き　*/
#page-top.RightMove {
  animation: RightAnime 0.5s forwards;
}
@keyframes RightAnime {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 1;
    transform: translateX(100px);
  }
}
/*====================================================================================================
footer
===================================*/
address {
  color: #fff;
  font-size: 90%;
  font-style: normal;
  margin-bottom: 80px;
}
address span {
  margin-left: 24px;
}
footer ul {
  margin-bottom: 24px;
}
footer ul li a {
  color: #fff;
  text-decoration: underline;
}
footer ul li a:hover {
  color: #31b219;
}
@media only screen and (max-width: 560px) {
  address span {
    display: block;
    margin-left: 0;
  }
}
