@charset "UTF-8";
@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);

/*--------------------------------
カラー設定
---------------------------------*/
/* 各学年クラスのカラー変数設定 */
:root {
  --color-yellow: #f2b702;
  --color-blue: #0e9ece;
  --color-green: #04861d;
  --color-orange: #ed601b;
  --color-purple: #7821da;
  --color-pink: #de2faf;
  --color-navy: #213fda;
  --color-red: #dc143c;
}

/* 各学年クラスのフォントカラー設定 */
/* 4-1 */
.font-color-yellow {
  color: var(--color-yellow);
}

/* 4-2 */
.font-color-blue {
  color: var(--color-blue);
}

/* 4-3-IH */
.font-color-green {
  color: var(--color-green);
}

/* 4-3-IW */
.font-color-orange {
  color: var(--color-orange);
}

/* 2-1-PI */
.font-color-purple {
  color: var(--color-purple);
}

/* 2-1-PW */
.font-color-pink {
  color: var(--color-pink);
}

/* 4-2-RO */
.font-color-navy {
  color: var(--color-navy);
}

/* 4-3-RO */
.font-color-red {
  color: var(--color-red);
}

/* 各学年クラスのバックグラウンドカラー設定 */
/* 4-1 */
.bg-color-yellow {
  background-color: var(--color-yellow);
}

/* 4-2 */
.bg-color-blue {
  background-color: var(--color-blue);
}

/* 4-3-IH */
.bg-color-green {
  background-color: var(--color-green);
}

/* 4-3-IW */
.bg-color-orange {
  background-color: var(--color-orange);
}

/* 2-1-PI */
.bg-color-purple {
  background-color: var(--color-purple);
}

/* 2-1-PW */
.bg-color-pink {
  background-color: var(--color-pink);
}

/* 4-2-RO */
.bg-color-navy {
  background-color: var(--color-navy);
}

/* 4-3-RO */
.bg-color-red {
  background-color: var(--color-red);
}

/*********************************************
以下↓↓↓↓↓↓編集しないほうがベター
**********************************************/
/*--------------------------------
グローバル設定
---------------------------------*/
* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.75;
  color: #444;
}

a {
  text-decoration: none;
}

ul,
li {
  list-style: none;
}

.center {
  text-align: center;
}

/*--------------------------------
文字
---------------------------------*/
.section-heading {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.section-heading h2 {
  text-align: center;
  font-size: 3.2rem;
}

.section-heading p {
  margin-bottom: 20px;
  text-align: center;
  font-size: 2.4rem;
  font-weight: bold;
}

/*--------------------------------
レイアウト
---------------------------------*/
.section {
  /* 各sectionの上下のスペース */
  padding: 40px 0 100px 0;
}

.inner {
  /* 各section内の内枠*/
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.inner-grade {
  margin-bottom: 100px;
}

/*--------------------------------
ヘッダー
---------------------------------*/
.header-img {
  height: auto;
  margin: 100px auto 20px auto;
  /* .navの高さから割り出す */
  width: 68%;
  max-width: 1200px;
}

.header-img img {
  width: 100%;
  max-width: 1200px;
}

.schedule {
  margin: auto;
  padding: 80px 0 60px 0;
  width: 380px;
  /* text-align: center; */
  text-align: justify;
  text-justify: inter-ideograph;
}

.schedule h2 {
  font-size: 3.2rem;
  text-shadow: 1px 1px 2px rgba(27, 27, 27, 0.2);
}

.schedule ul li {
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.schedule ul li span {
  font-size: 1.2rem;
}

/*--------------------------------
ナビゲーション
---------------------------------*/
.nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

.nav ul li {
  padding-top: 6px;
  display: inline-block;
}

.nav ul li a {
  font-size: 1.3rem;
  font-weight: bold;
  color: #444;
}

.nav a:hover {
  opacity: 0.6;
}

/* --------------------------------------------------------
ヘッダー & ナビゲーション
-----------------------------------------------------------*/
#header {
  position: fixed;
  width: 100%;
  z-index: 999;
  padding-left: 3%;
  padding-right: 3%;
  background-color: #fff;
}

#header .header-content {
  margin: 0 auto;
  padding: 40px 0;
  width: 100%;
  max-width: 1200px;
  transition: padding 0.3s;
}

#header .logo {
  font-size: 2rem;
  color: #444;
  font-weight: 700;
  float: left;
  text-transform: uppercase;
}

#header .header-content {
  border-bottom: 0;
  padding: 25px 0;
}

#header .nav-toggle {
  top: 10px;
}

.navigation.open {
  /* トグルメニューオープン設定・CSSの複数クラスによる絞り込み連結(bootstrap.js) */
  opacity: 0.9;
  visibility: visible;
  transition: opacity 0.5s;
}

.navigation {
  float: right;
}

.navigation a {
  color: #444;
  font-size: 1.4rem;
  font-weight: bold;
  margin-left: 40px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.navigation a:hover,
.navigation a.active {
  opacity: 0.6;
}

/* トグルメニュー設定 */
.nav-toggle {
  display: none;
  height: 44px;
  overflow: hidden;
  position: fixed;
  right: 5%;
  text-indent: 100%;
  top: 32px;
  white-space: nowrap;
  width: 44px;
  z-index: 99999;
  transition: all 0.3s;
}

.nav-toggle:before,
.nav-toggle:after {
  border-radius: 50%;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  backface-visibility: hidden;
  transition-property: transform;
}

.nav-toggle:before {
  /*マルのアニメーション*/
  background-color: #444;
  transform: scale(1);
  transition-duration: 0.3s;
}

.nav-toggle:after {
  /*マルのアニメーション*/
  background-color: #6c7279;
  transform: scale(0);
  transition-duration: 0s;
}

.nav-toggle span {
  background-color: #fff;
  bottom: auto;
  display: inline-block;
  height: 3px;
  left: 50%;
  position: absolute;
  right: auto;
  top: 50%;
  width: 18px;
  z-index: 10;
  transform: translateX(-50%) translateY(-50%);
}

.nav-toggle span:before,
.nav-toggle span:after {
  background-color: #fff;
  content: "";
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  backface-visibility: hidden;
  transition: transform 0.3s;
}

.nav-toggle span:before {
  transform: translateY(-6px) rotate(0deg);
}

.nav-toggle span:after {
  transform: translateY(6px) rotate(0deg);
}

.nav-toggle.close-nav:before {
  /*マルのアニメーション*/
  transform: scale(0);
}

.nav-toggle.close-nav:after {
  /*マルのアニメーション*/
  transform: scale(1);
}

.nav-toggle.close-nav span {
  /*close時不可視設定*/
  background-color: rgba(255, 255, 255, 0);
}

.nav-toggle.close-nav span:before,
.nav-toggle.close-nav span:after {
  background-color: #fff;
}

.nav-toggle.close-nav span:before {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle.close-nav span:after {
  transform: translateY(0) rotate(-45deg);
}

/*--------------------------------
学年エリア grade-item
---------------------------------*/
.grade-list {
  display: flex;
  flex-wrap: wrap;
  /* justify-content: space-around; */
  /* justify-content: space-between; */
  justify-content: center;
}

.grade-item {
  width: 240px;
  height: 240px;
  margin: 0 10px 20px 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
  border-radius: 20px;
}

.grade-item img {
  width: 100%;
}

.grade-item .caption {
  text-align: center;
  color: #fff;
  opacity: 1;
}

.grade-item .caption-personal {
  text-align: center;
  color: #fff;
  opacity: 1;
}

.grade-item .caption h2 {
  font-size: 3.6rem;
  font-weight: bold;
}

.grade-item .caption-personal h2 {
  font-size: 3.4rem;
  font-weight: bold;
}

.grade-item .caption p {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.3;
}

.grade-item .caption-personal .name {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.grade-item .caption-personal .title {
  padding: 0 10px;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.4;
}

.grade-item .caption-personal .catch-copy {
  padding: 10px 20px 0 20px;
  font-size: 1.2rem;
  text-align: left;
  line-height: 1.6;
}

.grade-item .mask {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.grade-item:hover .mask {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 1;
  transition: all 0.4s ease;
}

.grade-item-personal .mask {
  background-color: rgba(0, 0, 0, 0.4);
}

.grade-item-personal .mask:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/*--------------------------------
 フッター
---------------------------------*/
.footer {
  width: 100%;
  background-color: #444;
}

.footer .inner {
  padding: 30px;
}

.footer-hal-logo {
  margin: 0 auto 20px auto;
  width: 20%;
}

.copyright {
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  color: #fff;
}

.page-top {
  padding-top: 20px;
  cursor: pointer;
  text-align: center;
}
.page-top img {
  width: 20px;
}

/* ----------------------------------------------------------
作品詳細ページ works
-----------------------------------------------------------*/
.work-detail {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

.work-image {
  margin: 0;
  width: 70%;
}
.work-image p {
  font-size: 1.6rem;
}

.work-image img {
  width: 100%;
  height: auto;
  margin-bottom: 2px;
}

.detail-content {
  margin: 0;
  width: 28%;
  height: auto;
  background-color: #f2f2f2;
  padding: 2rem;
  align-self: flex-start;
}

.detail-content h3 {
  font-size: 3.2rem;
  line-height: 1.8;
  letter-spacing: 1px;
  font-weight: bold;
  margin-bottom: 1rem;
}

.detail-content h4 {
  font-size: 1.8rem;
  line-height: 1.8;
  letter-spacing: 1px;
  font-weight: bold;
  margin-bottom: 2rem;
}

.detail-content h5 {
  margin-bottom: 0px;
  font-size: 1.4rem;
  font-weight: bold;
}

.detail-content p {
  margin-bottom: 2rem;
  color: #6c7279;
  font-size: 1.6rem;
}

.detail-content ul {
  margin-bottom: 3rem;
}

/* 作品詳細内リンクボタン */
.detail-content .btn {
  width: 100%;
  background-color: #444;
  text-align: center;
}

.detail-content .btn a {
  display: block;
  padding: 20px 50px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}

.detail-content .btn:hover,
.detail-content .btn:focus {
  background-color: #666;
  color: #fff;
}

/*--------------------------------
 作品エリア
---------------------------------*/

/* 画像エリア設定 */
.img-wrap {
  margin-bottom: 10rem;
}

/* YouTubeエリア設定 */
.movie-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* margin-top: 2rem; */
  margin-bottom: 10rem;
}

.movie-wrap iframe {
  position: absolute;
  top: -4rem;
  right: 0;
  width: 100%;
  height: 100%;
}

/* mp4エリア設定 */
.video-wrap {
  margin-bottom: 2rem;
}

video {
  width: 100%;
}
