@charset "UTF-8";
:root {
  /*""color""*/
  --base-color: #ffffff;
  --main-color: #e2e2e2;
  --contrast-color: #1b1b1b;
  --accent-color: #26a69a;
  --phonto-black-color: #1b1b1b;
  --phonto-white-color: #cccccc;
  /*""phontosize""*/
  --normal-size: 16px;
  --important-size: 20px;
  --title-size: 28px;
  --main-title-size: 36px;
  --fade-in-title-size: 96px;
  --viewWidth: 100vw;
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-flow: column;
  font-family: "Meiryo UI", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", sans-serif;
  color: var(--phonto-black-color);
  width: var(--viewWidth);
}

a {
  text-decoration: none;
  transition: 0.3s;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

span {
  display: inline-block;
}

body {
  margin: 0;
}

/*"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
                          nav
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""*/
a {
  text-decoration: none;
  transition: 0.3s;
}

.navburger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4em;
  background: #2d303a;
  top: 0;
  left: 0;
  right: 0;
}

.logotype {
  font-family: sans-serif;
  font-size: 36px;
  color: #ffffff;
}

nav {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 48em) {
  nav nav {
    display: inline;
  }
}

.menu__box {
  display: flex;
  flex-direction: row;
  list-style-type: none;
}
@media screen and (max-width: 48em) {
  .menu__box {
    flex-direction: column;
    position: fixed;
    visibility: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 15em;
    margin: -600px 0 0 0;
    padding: 0.6em 0;
    text-align: center;
    background-color: #2d303a;
    box-shadow: 1px 0 6px rgba(0, 0, 0, 0.2);
    z-index: 1;
    transition-duration: 0.5s;
  }
}

.red {
  color: #f06c64;
}

.menu__item {
  display: flex;
  flex-direction: column;
  padding: 0 1em 0 1.9em;
  color: #ffffff;
  font-family: sans-serif;
  font-size: 1.5vw;
  font-weight: 400;
  text-decoration: none;
  text-transform: uppercase;
}
@media screen and (max-width: 48em) {
  .menu__item {
    display: block;
    padding: 12px 24px;
    color: #ffffff;
    font-size: 18px;
    transition-duration: 0.5s;
  }
  .menu__item:hover {
    background-color: #4f5464;
  }
}

#menu__toggle {
  opacity: 0;
}
#menu__toggle:checked ~ .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked ~ .menu__btn > span::before {
  top: 0;
  transform: rotate(0);
  background: #f06c64;
}
#menu__toggle:checked ~ .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
  background: #f06c64;
}
#menu__toggle:checked ~ .menu__box {
  visibility: visible;
  left: 0;
  margin: 0;
}

.menu__btn {
  transition-duration: 0.25s;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  position: relative;
  bottom: 2px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 2;
}
.menu__btn span {
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
}
.menu__btn span::before {
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  content: "";
  top: -8px;
  transition-duration: 0.25s;
}
.menu__btn span::after {
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  content: "";
  top: 8px;
  transition-duration: 0.25s;
}
@media screen and (min-width: 48.01em) {
  .menu__btn {
    display: none;
  }
}

/*""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
                                                        main
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""*/
main {
  margin: 32px auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}
@media screen and (max-width: 1700px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (max-width: 1320px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 1000px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 660px) {
  .grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
.grid .card {
  display: grid;
  grid-template-rows: 240px 160px;
  cursor: pointer;
  width: 300px;
  height: 400px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 3px 5px #ccc;
  padding: 0 !important;
  transition: all 0.2s ease-in-out; /* カードのホバー時の動きを制御するための transition プロパティを追加しました */
}
.grid .card:hover {
  transform: translateY(-5px); /* カードをホバー時に上に少し移動させます */
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); /* カードのシャドウを大きくします */
}
.grid .card .card-img {
  display: block;
  margin: auto;
  height: 100%;
  padding: 32px;
}
.grid .card .card-content {
  display: grid;
  padding: 16px;
}
.grid .card .card-title {
  font-size: 20px;
  margin-bottom: 20px;
  text-align: center;
  color: #333;
}
.grid .card .card-text {
  color: #777;
  font-size: 14px;
  line-height: 1.5;
}
.grid .card .date {
  align-self: end;
  justify-self: end;
}

/*""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
                                                        modal
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""*/
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 1050;
  overflow: hidden;
}
.modal .modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  max-width: 90%;
  max-height: 90%;
  padding: 0 0 16px;
  overflow: none;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 1.5s ease;
  z-index: 10;
}
.modal .modal-content .modal-contentInnerTop {
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  grid-template-rows: auto auto auto auto auto;
  width: 100%;
  height: 100%;
  padding: 16px;
  grid-template-areas: "modal-title modal-title modal-title modal-title modal-title" "modal-media modal-media modal-media modal-content modal-content" "modal-media modal-media modal-media modal-content modal-content" "modal-media modal-media modal-media modal-content modal-content" "modal-media modal-media modal-media modal-content modal-content";
}
@media screen and (max-width: 1020px) {
  .modal .modal-content .modal-contentInnerTop {
    grid-template-areas: "modal-title modal-title modal-title modal-title modal-title" "modal-media modal-media modal-media modal-media modal-media" "modal-media modal-media modal-media modal-media modal-media" "modal-content modal-content modal-content modal-content modal-content" "modal-content modal-content modal-content modal-content modal-content";
    overflow: auto;
  }
}
.modal .modal-content #modal-media {
  grid-area: modal-media;
}
.modal .modal-content #modal-media img {
  display: block;
  max-height: 100%;
  width: auto;
  max-width: 100%;
  border-radius: 16px;
  padding: 8px;
  margin: 0 auto;
}
.modal .modal-content #modal-media video {
  display: block;
  max-height: 100%;
  width: auto;
  max-width: 100%;
  margin: auto;
  padding: 8px;
  border-radius: 16px;
}
.modal .modal-content #modal-title {
  grid-area: modal-title;
  font-size: 72px;
  padding: 8px;
  margin: 0;
}
@media screen and (max-width: 768px) {
  .modal .modal-content #modal-title {
    font-size: 36px;
  }
}
.modal .modal-content #modal-summary {
  grid-area: modal-content;
  font-size: 24px;
  line-height: 1.5;
  padding: 8px;
}
.modal .modal-contentInnerBottom {
  margin: 0;
}
.modal .modal-contentInnerBottom a {
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
}
.modal .close {
  position: absolute;
  top: -11px;
  right: -11px;
  font-size: 1.3em;
  color: #555;
  z-index: 20;
  display: flex;
  background-color: #f9f9f9;
  width: 38px;
  height: 38px;
  justify-content: center;
  align-items: center;
  border-radius: 9999px;
  border: solid 1px #ddd;
  transition: 0.3s ease-in-out;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 9;
}

/*""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
                                                        footer
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""*/
.footer {
  padding: 2rem;
  font-size: var(--normal-size);
  color: #dbdada;
  background: #2d303a;
  margin-top: 16px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer a {
  color: #999;
  text-decoration: none;
}

.footer a:hover {
  color: white;
}

.flex {
  display: flex;
}

.footer hr {
  height: 1px;
  border: 0;
  border-top: 1px solid #e5e7eb;
}

.footer__navi {
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer__navi li {
  display: inline-block;
}

.footer__navi li:not(:last-child) {
  margin-right: 16px;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 1rem;
}

@media (min-width: 800px) {
  .md-flex {
    display: flex;
  }
  .md-justify-between {
    justify-content: space-between;
  }
  .copyright {
    display: inline-block;
    margin-right: auto;
  }
}
@media screen and (min-width: 800px) and (max-width: 801px) {
  .copyright {
    margin: 100px;
  }
}
.icon {
  width: 20px;
  height: 20px;
}

.link-flex {
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 801px) {
  .link-flex {
    flex-direction: column;
  }
}

.link-tab {
  margin-left: 12px;
}
@media screen and (max-width: 801px) {
  .link-tab {
    margin-top: 8px;
  }
}/*# sourceMappingURL=new.css.map */