@charset "utf-8";

html {
  scroll-behavior: smooth;
}

.first-view {
  height: calc(100vh);
  caret-color: transparent;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.zoom-out-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100vh);
  background-image: url(../images/index/bg-main.webp);
  background-repeat: no-repeat;
  background-position: center 0px;
  background-size: cover;
  transform: scale(4);
  animation: zoomOut 9s ease-in-out forwards;
  z-index: 1;
}

.first-view-logo {
  position: absolute;
  display: flex;
  align-items: center;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 30px;
  padding-right: 30px;
  height: auto;
  z-index: 2;
  opacity: 0;
  transition: opacity 1.5s ease-in;
  animation: fadeIn 1.5s ease-in forwards;
  animation-delay: 6s;
}

.first-view-link {
  position: absolute;
  top: 6%;
  left: 6%;
  width: 130px;
  z-index: 2;
  opacity: 0;
  transition: opacity 1.5s ease-in, transform 0.3s ease-in-out, filter 0.3s ease-in-out;
  animation: fadeIn 1.5s ease-in forwards;
  animation-delay: 8s;
  border-radius: 100%;
}

.first-view-link2 {
  position: absolute;
  top: 16%;
  left: 10%;
  width: 230px;
  z-index: 2;
  opacity: 0;
  transition: opacity 1.5s ease-in, transform 0.3s ease-in-out, filter 0.3s ease-in-out;
  animation: fadeIn 1.5s ease-in forwards;
  animation-delay: 1s;
  border-radius: 100%;
}

.first-view-link:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.first-view-link2:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.logo-mark {
  position: absolute;
  bottom: 3%;
  right: 10%;
  width: 800px;
  opacity: 0.5;
  z-index: -1;
}

@keyframes zoomOut {
  from {
    transform: scale(4);
  }
  to {
    transform: scale(1);
  }
}

@keyframes fadeIn {
  to {
      opacity: 1;
  }
}

.arrows {
  width: 60px;
  height: 72px;
  position: absolute;
  left: 50%;
  margin-left: -30px;
  z-index: 5;
  opacity: 0;
  transition: opacity 1.5s ease-in;
  animation: fadeIn 1.5s ease-in forwards;
  animation-delay: 9s;
}

.arrows path {
  stroke: #2994D1;
  fill: transparent;
  stroke-width: 1px;  
  animation: arrow 2s infinite;
  -webkit-animation: arrow 2s infinite; 
}

@keyframes arrow
{
0% {opacity:0}
40% {opacity:1}
80% {opacity:0}
100% {opacity:0}
}

@-webkit-keyframes arrow /*Safari and Chrome*/
{
0% {opacity:0}
40% {opacity:1}
80% {opacity:0}
100% {opacity:0}
}

.arrows path.a1 {
  animation-delay:-1s;
  -webkit-animation-delay:-1s; /* Safari 和 Chrome */
}

.arrows path.a2 {
  animation-delay:-0.5s;
  -webkit-animation-delay:-0.5s; /* Safari 和 Chrome */
}

.arrows path.a3 { 
  animation-delay:0s;
  -webkit-animation-delay:0s; /* Safari 和 Chrome */
}

.arrow-link {
  position: absolute;
  bottom: 12vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.right-style.life .arrow-link {
  bottom: -1vh;
}

.left-style.community .arrow-link {
  bottom: -1vh;
}

.first-view-copy {
  position: absolute;
  top: 20px;
  right: 150px;
  height: 100%;
  writing-mode: vertical-rl;
  text-combine-upright: none;
  text-orientation: upright;
  font-size: 70px;
  width: 100%;
  max-width: 1100px;
  margin-top: 40px;
  margin-right: 30px;
  color: #ffffff;
  text-shadow: 1px 1px 10px #0c0500;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  z-index: 3;
  opacity: 0;
  transition: opacity 1.5s ease-in;
  animation: fadeIn 1.5s ease-in forwards;
  animation-delay: 7s;
}

.introduction {
  background-image: url(../images/index/bg-Introduction.png);
}

.aboutPBW {
  background-image: url(../images/index/bg-aboutPBW.png);
}

.world {
  background-image: url(../images/index/bg-world.png);
}

.character {
  background-image: url(../images/index/bg-character.png);
}

.magari {
  background-image: url(../images/index/bg-teaser-somke.png);
}

#life {
  position: relative;
}

.bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url("../images/index/bg-life1.png");
  transition: opacity 1s ease-in-out;
  opacity: 1;
  z-index: 0;
  will-change: opacity, background-image;
  transform: translateZ(0);
}

.life,
.life * {
  position: relative;
  z-index: 1;
}

#community {
  position: relative;
}

.community-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url("../images/index/bg-community1.png");
  transition: opacity 1s ease-in-out;
  opacity: 1;
  z-index: 0;
  will-change: opacity, background-image;
  transform: translateZ(0);
}

.community > *:not(.community-bg-layer):not(.arrow-link) {
  position: relative;
  z-index: 1;
}

/* テキストは前面に */
.right-style.life h2,
.right-style.life p,
.right-style.life a {
  position: relative;
  z-index: 1;
}

/* テキストは前面に */
.left-style.community h2,
.left-style.community p,
.left-style.community a {
  position: relative;
  z-index: 1;
}

.staff {
  background-image: url(../images/index/bg-teaser-somke.png);
}

.bg-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
} 

.center-style {
  position: relative;
  min-height: calc(100vh);
  left: 0;
  width: 100%;
  padding-bottom: 120px;
  background-repeat: no-repeat;
  background-position: center 0px;
  background-size: cover;
  background-attachment: fixed;
  font-size: 18px;
  font-family: "Kaisei Opti", "Noto Serif JP", serif;
  font-weight: 400;
  font-style: normal;
  z-index: 10;
}

.center-style h2 {
  font-size: 22px;
  font-family: "Kaisei Opti", "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  text-align: center;
  color: #38B6FF;
  padding-top: 70px;
  z-index: 10;
}

.center-style h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background-color: #F7891E;
  margin-top: 16px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  z-index: 10;
}

.center-style .center-style-p1 {
  display: block;
  line-height: 1.6;
  text-align: center;
  white-space: pre-line;
  z-index: 10;
}

.center-style .staff-list-p1 {
  display: block;
  padding-top: 20px;
  font-size: 90%;
  line-height: 1.5;
  text-align: center;
  white-space: pre-line;
  z-index: 10;
}

.center-style .center-style-p2 {
  display: none;
}

.center-style .staff-list-p2 {
  display: none;
}

.foot-style {
  position: relative;
  min-height: calc(100vh);
  left: 0;
  width: 100%;
  padding-bottom: 20px;
  background-repeat: no-repeat;
  background-position: center 0px;
  background-size: cover;
  background-attachment: fixed;
  font-size: 18px;
  font-family: "Kaisei Opti", "Noto Serif JP", serif;
  font-weight: 400;
  font-style: normal;
  z-index: 10;
}

.foot-style h2 {
  font-size: 22px;
  font-family: "Kaisei Opti", "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  text-align: center;
  color: #38B6FF;
  padding-top: 70px;
  z-index: 10;
}

.foot-style h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background-color: #F7891E;
  margin-top: 16px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  z-index: 10;
}

.foot-style .staff-list-p1 {
  display: block;
  padding-top: 20px;
  font-size: 90%;
  line-height: 1.5;
  text-align: center;
  white-space: pre-line;
  z-index: 10;
}

.foot-style .center-style-p2 {
  display: none;
}

.foot-style .staff-list-p2 {
  display: none;
}

.aboutPBW .center-style-p2 {
  display: none;
}

.right-style {
  position: relative;
  min-height: calc(100vh);
  left: 0;
  width: 100%;
  padding-bottom: 120px;
  background-repeat: no-repeat;
  background-position: center 0px;
  background-size: cover;
  background-attachment: fixed;
  font-size: 18px;
  font-family: "Kaisei Opti", "Noto Serif JP", serif;
  font-weight: 400;
  font-style: normal;
  z-index: 10;
}

.right-style h2 {
  font-size: 22px;
  font-family: "Kaisei Opti", "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  text-align: center;
  color: #38B6FF;
  padding-top: 70px;
  padding-left: 28%;
  z-index: 10;
}

.right-style h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background-color: #F7891E;
  margin-top: 16px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  z-index: 10;
}

.right-style .right-style-p1 {
  display: block;
  line-height: 1.6;
  text-align: left;
  white-space: pre-line;
  padding-left: 53%;
  padding-right: 15px;
  padding-bottom: 0px;
  z-index: 10;
}

.right-style-p1.tight-bottom {
  margin-top: 1.5em;
}

.right-style .right-style-p2 {
  display: none;
}

.left-style {
  position: relative;
  min-height: calc(100vh);
  left: 0;
  width: 100%;
  padding-bottom: 120px;
  background-repeat: no-repeat;
  background-position: center 0px;
  background-size: cover;
  background-attachment: fixed;
  font-size: 18px;
  font-family: "Kaisei Opti", "Noto Serif JP", serif;
  font-weight: 400;
  font-style: normal;
  z-index: 10;
}

.left-style h2 {
  font-size: 22px;
  font-family: "Kaisei Opti", "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  text-align: center;
  color: #38B6FF;
  padding-top: 70px;
  padding-bottom: 0px;
  padding-right: 55%;
  z-index: 10;
}

.left-style h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background-color: #F7891E;
  margin-top: 16px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  z-index: 10;
}

.left-style .left-style-p1 {
  display: block;
  line-height: 1.6;
  text-align: left;
  white-space: pre-line;
  padding-left: 150px;
  z-index: 10;
}

.left-style .left-style-p2 {
  display: none;
}

.left-style-p1.tight-bottom-top {
  margin-top: 1em;
  margin-bottom: -1.5em;
}

.left-style-p1.tight-bottom {
  margin-bottom: -1.5em;
}

rt { 
  font-size: 45%;
}

.magari-list {
  width: 100%;
  max-width: 98%;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;

  font-size: 18px;
  font-family: "Kaisei Opti", "Noto Serif JP", serif;
  font-weight: 400;
  font-style: normal;

  display: grid;
  grid-template-columns: repeat(auto-fit, 300px);
  column-gap: 10px;
  row-gap: 70px;
  justify-content: center;
}

.magari-list dl {
  margin-top: 30px;
}

.magari-list h3 {
  color: #38B6FF;
  text-align: center;
  padding: 5px 0;
}

.magari-list dd {
  font-size: 16px;
  line-height: 20px;
  margin-top: 10px;
}

.magari-list li {
  position: relative;
  list-style: none;
}

.magari-Character {
  margin-top: 20px;
}

.prison-desc {
  margin-bottom: 60px;
}

.img-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 50px;
}

.img-wrap .img1 {
  display: block;
}

.img-wrap .img2 {
  height: 400px;
  max-width: 150%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  outline: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
}

.modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; 
  height: 100%;
  background-color: rgba(0, 0, 0, 0.568);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal img {
  max-height: 95%;
  transform: scale(0.85);
  transition: transform 0.6s ease;
}

.modal.show img {
  transform: scale(1);
}

.sp-only {
  display: none;
}

.sp-life-only {
  display: none;
}

.sp-community-only {
  display: none;
}

.sp-only-ability {
  display: none;
}

.foot-text1 {
  display: block;
  max-width: 100%;
  padding-top: 35px;
  padding-bottom: 10px;
  padding-left: 30px;
  padding-right: 30px;
  text-align: center;
  color: #9e9797;
  font-family: "Zen Kaku Gothic New", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.0;
  font-size: 16px;
  white-space: pre-line;
}

.foot-text2 {
  display: none;
}

.link-button {
  font-family: "Zen Kaku Gothic New", serif;
  font-weight: 400;
  font-style: normal;
  color: #38B6FF;
  font-size: 16px;
}

.link-button:hover {
  color: #FFA348;
}

.arrow{
	position: relative;
	display: inline-block;
	padding: 0 0 0 16px;
	color: #38B6FF;
	vertical-align: middle;
	text-decoration: none;
	font-size: 16px;
}

.arrow::before,
.arrow::after{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	content: "";
	vertical-align: middle;
}

.circle::before{
  width: 12px;
	height: 12px;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	background: #FFA348;
}

.circle::after{
	left: 3px;
	width: 3px;
	height: 3px;
	border-top: 1px solid black;
	border-right: 1px solid black;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

/* ナビゲーションバー ----------------------------------------------------------------------------------------------------------------　*/

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 20px;
  font-family: "Kaisei Opti", "Noto Serif JP", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 95%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1000;
}

.nav-logo {
  height: 24px;
  padding-bottom: 2px;
  display: none;
}

body.scrolled .nav-logo {
  display: block;
}

.nav-links {
  display: flex;
  position: absolute;
  right: 20px;
}

.nav-links a {
  color: #38B6FF;
  text-decoration: none;
  margin-left: 12px;
}

.nav-links a:hover {
  color: #FFA348;
}

.navbar.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}

.navbar.visible {
  opacity: 1;
  transition: opacity 1.5s ease-in;
}

.hamburger-icon {
  font-size: 30px;
  color: white;
  position: fixed;
  top: 3px;
  right: 15px;
  z-index: 1100;
  cursor: pointer;
  display: none;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-nav a {
  color: #38B6FF;
  text-decoration: none;
  font-size: 18px;
  margin: 10px 0;
}

.mobile-nav.active {
  transform: translateX(0);
}

.hamburger-menu.active .hamburger-icon {
  display: none;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 36px;
  color: white;
  cursor: pointer;
}

.right-style.life {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* 幅1030以下モニター（ハンバーガー用） ----------------------------------------------------------------------------------------------------------------　*/

@media (max-width: 1030px) {
  .nav-links {
    display: none;
  }
  .hamburger-icon {
    display: block;
  }
}

/* 高さ780以下モニター ----------------------------------------------------------------------------------------------------------------　*/

@media (max-height: 780px) {

  .first-view-copy {
    margin-top: 20px;
    font-size: 50px;
  }

  .first-view-link {
    top: 8%;
    width: 100px;
  }

  .first-view-link2 {
    top: 20%;
    left: 8%;
    width: 180px;
  }

}

/* 中サイズモニター ----------------------------------------------------------------------------------------------------------------　*/

@media (min-width: 1240px) and (max-width: 1600px) {

  .magari-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .right-style .right-style-p1 {
    padding-left: 40%;
  }

}

@media (min-width: 1240px) and (max-width: 1450px) {

  .magari-list .img-wrap {
    margin-bottom: 6.5rem;
  }

}


/* 小サイズモニター ----------------------------------------------------------------------------------------------------------------　*/

@media (min-width: 801px) and (max-width: 1239px) {

  .right-style h2 {
    text-align: left;
    padding-left: 60px;
    padding-right: 40%;
  }

  .right-style h2::after {
    margin-left: 140px;
    }

  .right-style .right-style-p1 {
    padding-left: 40px;
    padding-right: 30px;
  }

  .left-style h2 {
    text-align: left;
    padding-left: 60px;
    padding-right: 40%;
  }

  .left-style h2::after {
    margin-left: 140px;
    }

  .left-style .left-style-p1 {
    padding-left: 40px;
    padding-right: 30px;
  }

}

/* スマホ ----------------------------------------------------------------------------------------------------------------　*/

@media (max-width: 800px) {

  .first-view {
    height: auto;
    min-height: 100vh;
    background-image: url(../images/index/bg-main-sp.webp);
    align-items: flex-start;
  }

  .first-view-logo {
    max-width: 93%;
    padding-left: 0px;
    padding-right: 0px;
  }
  
  .first-view-copy {
    margin-top: 24px;
    font-size: 28px;
    right: 8px;
    padding-right: 5px;
  }

  .first-view-link {
    top: 10%;
    left: 8%;
    width: 70px;
  }

  .first-view-link2 {
    position: relative;
    left: 35%;
    top: 22px;
    bottom: 22px;
    width: 90px;
  }
  
  .logo-mark {
    display: none;
  }
  
  .link-button {
    font-size: 90%;
    margin-top: 5px;
  }

  .arrows {
    bottom: -60px;
  }

 .introduction {
  background-image: url(../images/index/bg-sp-Introduction.png); 
 }

 .aboutPBW {
  background-image: url(../images/index/bg-sp-aboutPBW.png);
 }

 .character {
  background-image: url(../images/index/bg-sp-character.png);
 }

 .world {
  background-image: url(../images/index/bg-sp-world.png);
}

 .magari {
  background-image: url(../images/index/bg-sp-magari.png);
 }

 .staff {
  background-image: url(../images/index/bg-sp-foot.png);
 }

  .center-style {
    margin-bottom: 0px;
    padding-top: 8px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 130px;
    height: auto;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-position: center center;
    min-height: 100vh;
  }

  .center-style h2 {
    margin-top: 30px;
    font-size: 18px;
  }

  .center-style h2::after {
    margin-bottom: 35px;
  }

  .center-style .center-style-p1 {
    display: none;
  }

  .center-style .center-style-p2 {
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
    margin-left: 0px;
    margin-right: 0px;
    padding-bottom: 5px;
    display: block;
    white-space: pre-line;
  }

  .aboutPBW .center-style-p1 {
    display: none;
  }

  .aboutPBW .center-style-p2 {
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
    margin-left: 0px;
    margin-right: 0px;
    padding-bottom: 5px;
    display: block;
    white-space: pre-line;
  }

  .sp-only {
    display: block;
    width: 100%;
    margin-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 20px;
    height: auto;
    object-fit: cover;
    object-position: center;
  }

  .sp-life-only {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 10px;
    height: auto;
    object-fit: cover;
    object-position: center;
  }

  .sp-community-only {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 40px;
    height: auto;
    object-fit: cover;
    object-position: center;
  }

  .sp-only-ability {
    display: block;
    max-width: 120%;
    margin: 0 auto 20px;
    padding: 0;
    height: auto;
    object-fit: cover;
    object-position: center;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

  .hide-on-sp {
    display: none;
  }

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

  .modal img {
    width: auto;
    max-width: none;
    height: 100vh;
    object-fit: cover;
    object-position: 50% 10%;
  }

  .right-style {
    margin-bottom: 0px;
    padding-top: 8px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 130px;
    height: auto;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-position: center center;
    min-height: 100vh;
  }

  .right-style h2 {
    margin-top: 30px;
    font-size: 18px;
    padding-left: 0;
  }

  .right-style h2::after {
    margin-bottom: 35px;
  }

  .right-style .right-style-p1 {
    display: none;
  }

  .right-style .right-style-p2 {
    font-size: 16px;
    line-height: 1.4;
    text-align: left;
    margin-left: 11px;
    margin-right: 9px;
    padding-bottom: 10px;
    display: block;
    white-space: pre-line;
  }

  .right-style-p2.tight-bottom {
    margin-top: 1.5em;
    text-align: center;
}

  .left-style {
    margin-bottom: 0px;
    padding-top: 8px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 130px;
    height: auto;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-position: center center;
    min-height: 100vh;
  }

  .left-style h2 {
    margin-top: 30px;
    font-size: 18px;
    padding-left: 0;
    padding-right: 0;
  }

  .left-style h2::after {
    margin-bottom: 35px;
  }

  .left-style .left-style-p1 {
    display: none;
  }

  .left-style .left-style-p2 {
    font-size: 16px;
    line-height: 1.4;
    text-align: left;
    margin-left: 11px;
    margin-right: 9px;
    padding-bottom: 10px;
    display: block;
    white-space: pre-line;
  }

  .left-style-p2.tight-bottom {
    margin-bottom: -1.5em;
    text-align: center;
}

  .foot-style .staff-list-p1 {
    display: none;
  }

  .foot-style .staff-list-p2 {
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
    margin-left: 10px;
    margin-right: 8px;
    padding-bottom: 10px;
    display: block;
    white-space: pre-line;
  }

  .staff {
    padding-bottom: 10px;
  }

  .foot-style {
    margin-bottom: 0px;
    padding-top: 8px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 20px;
    height: auto;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-position: center center;
    min-height: 100vh;
  }

  .foot-style h2 {
    margin-top: 70px;
    font-size: 18px;
  }

  .foot-style h2::after {
    margin-bottom: 35px;
  }

  .foot-style .staff-style-p1 {
    display: none;
  }

  .foot-style .center-style-p2 {
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
    margin-left: 0px;
    margin-right: 0px;
    padding-bottom: 5px;
    display: block;
    white-space: pre-line;
  }

  .foot-text1 {
    display: none;
  }

  .foot-text2 {
    display: block;
    padding-top: 30px;
    padding-bottom: 7px;
    padding-left: 0px;
    padding-right: 0px;
    text-align: center;
    color: #9e9797;
    font-family: "Zen Kaku Gothic New", serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.3;
    font-size: 12px;
    white-space: pre-line;
  }

  .link-button {
    font-size: 14px;
  }
  
  .hamburger-icon {
    display: block;
  }

  .nav-links {
    display: none;
  }

}

@media (min-width: 401px) and (max-width: 800px) {

  .foot-style .staff-list-p2 {
    margin-left: 18%;
  }

}

@media (min-width: 335px) and (max-width: 400px) {

  .foot-style .staff-list-p2 {
    margin-left: 30px;
  }

}

dd.tight-top {
    color: #e40272;
    font-weight: bold;
    font-size: 1.05em;
    display: block;
    margin-top: 0.1em;
    text-align: center;
}

dd.magari-sub-heading {
    color: #e40272;
    font-weight: bold;
    font-size: 1.05em;
    display: block;
    margin-top: 1em;
    margin-bottom: 0em;
    text-align: center;
}