/* -------------------------------------------------
  base
------------------------------------------------- */

:root {
  --text-base-color: #000;
  --primary-color1: #009FE8;
  --primary-color2: #006EBB;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Noto Sans JP", "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: var(--text-base-color);
  font-weight: 400;
  line-height: 1.8;
}

img {
  width: 100%;
  height: auto;
}


/* -------------------------------------------------
  style
------------------------------------------------- */

.is-pc {
  display: block;
}

.is-sp {
  display: none;
}

.inner {
  width: min(100%, calc(1200px + 9vw));
  margin-inline: auto;
  padding: 0 4.5vw;
  box-sizing: border-box;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  width: 100%;
  height: 72px;
  padding: 0 3.125vw;
  background-color: rgb(255 255 255 / .6);
  z-index: 10;
}

.header__logos {
  display: flex;
  align-items: center;
  gap: 54px;
  height: 100%;
  background: url(../img/ico_cross.svg) no-repeat center left 108px / 15px auto;
}

.header__logos .logo:nth-of-type(1) {
  width: 89px;
}

.header__logos .logo:nth-of-type(2) {
  width: 155px;
}

.header__logos .logo a {
  transition: opacity .2s;
}

@media (any-hover: hover) {
  .header__logos .logo a:hover {
    opacity: .7;
  }
}

.hero {
  position: relative;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
  padding: calc(176px + 72px) 0 176px;
  background: url(../img/hero.jpg) no-repeat center / cover;
  z-index: 0;
}

.hero::before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(45deg, rgba(0 0 0 / .7), transparent 80%);
  z-index: -1;
}

.hero hgroup h1 {
  font-size: clamp(4rem, 3.6vw, 4.6rem);
}

.hero hgroup h1 span {
  display: inline-block;
}

.hero hgroup p {
  position: relative;
  font-size: 3.6rem;
  margin-top: 24px;
  padding-left: 20px;
}

.hero hgroup p::before {
  position: absolute;
  content: '';
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 4px;
  height: 100%;
  background-color: var(--primary-color1);
}

.content-wrap {
  display: flex;
  gap: 56px;
  margin-top: 80px;
}

.main-content {
  flex: 1;
}

.main-content h2 {
  position: relative;
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.3;
  padding-bottom: 16px;
}

.main-content h2::before {
  position: absolute;
  content: '';
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-image: linear-gradient(90deg, var(--primary-color1), var(--primary-color2));
}

.content {
  margin-bottom: 80px;
}

.article__item {
  margin-top: 40px;
}

.article__item a {
  display: flex;
  gap: 24px;
}

@media (any-hover: hover) {
  .article__item a:hover h3 {
    color: var(--primary-color2);
  }
}

.article__item .image {
  width: 39.6%;
}

.article__item .image img {
  border-radius: 10px;
}

.article__item .desc {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article__item h3 {
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.3;
  color: #0A0A0A;
  transition: color .2s;
}

.article__item .tag {
  font-size: 1.2rem;
  color: #fff;
  width: fit-content;
  margin-top: 8px;
  margin-left: auto;
  padding: 1px 5px;
  background: #000;
}

.article__item .text {
  font-size: 1.6rem;
  color: #4A5565;
  margin-top: 8px;
  padding-bottom: 20px;
}

.article__item .more {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.3;
  margin-top: auto;
  padding-left: 24px;
  background: url(../img/ico_more.svg) no-repeat center left / 16px auto;
}

.movie__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding: 24px;
  background-color: #EAF9FF;
}

.movie__item h3 {
  flex: 1;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.5;
}
.movie__item h3 .tag{
  display: block;
  font-size: 1.2rem;
  color: #fff;
  width: fit-content;
  margin-top: 8px;
  margin-right: auto;
  padding: 1px 5px;
  background: #000;
}

.movie__item .movie {
  width: 59%;
}

.movie__item .movie iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
}

.side {
  width: 336px;
}

.book__content {
  padding: 32px;
  background-color: #F6FEFF;
  border: 1px solid var(--primary-color2);
}

.book__content hgroup p {
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--primary-color2);
}

.book__content hgroup h2 {
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--primary-color2);
  margin-top: 8px;
}

.book__content .cover {
  margin-top: 24px;
}

.book__content .info {
  margin-top: 24px;
}

.book__content .info-item {
  display: flex;
  justify-content: space-between;
  font-size: 1.4rem;
  padding: 7px 0;
  border-bottom: 1px solid #50EDFF;
}

.book__content .info-item dt {
  font-weight: 400;
  color: #4A5565;
}

.book__content .info-item dd {
  font-weight: 500;
  color: #0A0A0A;
}

.book__content .btns {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}

.book__content .btn {
  display: grid;
  place-items: center;
  width: 100%;
  height: 48px;
  box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.2);
  transition: transform .2s;
}

@media (any-hover: hover) {
  .book__content .btn:hover {
    transform: scale(0.98);
  }
}

.book__content .btn.amazon {
  background-color: #FF9900;
}

.book__content .btn.kinokuniya {
  background-color: #003D82;
}

.book__content .btn.kado {
  background-color: #575757;
}

.book__content .btn span {
  font-size: 1.6rem;
  color: #fff;
  padding-right: 24px;
  background: url(../img/ico_link.svg) no-repeat center right / 16px auto;
}

.book__content .sample {
  margin-top: 24px;
}

.book__content .sample h3 {
  font-size: 1.4rem;
  color: #003D82;
}

.book__content .sample img {
  margin-top: 10px;
}

.js-image-zoom {
  cursor: zoom-in;
}

#image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  z-index: 9999;
}

#image-modal.active {
  opacity: 1;
  visibility: visible;
}

.image-modal-content img {
  width: 90vw;
  max-width: 1200px;
  height: 90vh;
  object-fit: contain;
}

#image-modal-close {
  position: absolute;
  line-height: 1.1;
  top: 20px;
  right: 30px;
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  transition: opacity .2s;
}

@media (any-hover: hover) {
  #image-modal-close:hover {
    opacity: .7;
  }
}

body.modal-open {
  overflow: hidden;
}

footer {
  padding: 48px 0;
  background-color: #000;
}

.footer__wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer__item {
  width: 46%;
}

.footer__item h3 {
  font-size: 2rem;
  line-height: 1.4;
  color: #fff;
}

.footer__item.mit h3 {
  position: relative;
  padding-left: 40px;
}

.footer__item.mit h3::before {
  position: absolute;
  content: '';
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: url(../img/logo_mit-monogram.svg) no-repeat center / contain;
}

.footer__item p {
  font-size: 1.4rem;
  color: #99A1AF;
  margin-top: 16px;
}

.footer__bottom {
  text-align: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #32363E;
}

.footer__bottom p {
  font-size: 1.4rem;
  color: #6A7282;
}

.copyright {
  margin-bottom: 10px;
}

.footer__bottom .notes {
  font-size: 1.2rem;
  margin-top: 20px;
}


/* -------------------------------------------------
  responsive
------------------------------------------------- */

@media (width < 1024px) {
  .content-wrap {
    display: block;
  }

  .side {
    width: min(100%, 600px);
    margin: 0 auto 80px;
  }
}


@media (width < 590px) {
  .is-pc {
    display: none;
  }

  .is-sp {
    display: block;
  }

  header {
    height: 55px;
  }

  .header__logos {
    gap: 30px;
    background-position: center left 62px;
    background-size: 10px auto;
  }

  .header__logos .logo:nth-of-type(1) {
    width: 53px;
  }

  .header__logos .logo:nth-of-type(2) {
    width: 93px;
  }

  .hero {
    padding: calc(140px + 55px) 0 140px;
  }

  .hero hgroup h1 {
    font-size: 2.6rem;
  }

  .hero hgroup p {
    font-size: 2.3rem;
  }

  .content-wrap {
    margin-top: 50px;
  }

  .main-content h2 {
    font-size: 2.2rem;
  }

  .main-content h2::before {
    height: 2px;
  }

  .article__item a {
    flex-direction: column;
  }

  .article__item .image {
    width: 100%;
  }

  .article__item h3 {
    font-size: 2rem;
  }

  .movie__item {
    flex-direction: column;
  }

  .movie__item + .movie__item {
    margin-top: 20px;
  }

  .movie__item h3 {
    font-size: 1.8rem;
  }

  .movie__item .movie {
    width: 100%;
  }

  #image-modal-close {
    top: 15px;
    right: 20px;
    font-size: 3rem;
  }

  .footer__wrap {
    flex-direction: column;
    gap: 40px;
  }

  .footer__item {
    width: 100%;
  }

  .footer__item h3 {
    font-size: 1.7rem;
  }

  .footer__bottom {
    text-align: left;
  }

  .footer__bottom p {
    font-size: 1.2rem;
  }

  .footer__bottom .notes {
    font-size: 1.1rem;
  }
}