/* --- WEB Font --- */

@font-face {
  font-family: "Selima";
  src: url("./font/selima.otf");
}

@font-face {
  font-family: 'Playlist';
  src: url("./font/playlist-script.otf");
}

@font-face {
  font-family: 'Ayres';
  src: url("./font/Ayres.otf");
}

@font-face {
  font-family: 'Ailerons';
  src: url("./font/Ailerons-Typeface.otf");
}

@font-face {
  font-family: 'PlayfairDisplay';
  src: url("./font/PlayfairDisplay.ttf");
}

/* ベース */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

img {
  max-width: 100%;
}

body {
  font-family: "游ゴシック", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

body.dark {
  background-color: #000;
}

#container {
  width: 100%;

  @media (min-width: 769px) and (max-width: 1200px) {
    width: 100%;
  }
}

.Outer {
  width: 100%;
  overflow: hidden;
  background: white;
}

.Outer.vestibul {
  height: 1080px;

  @media (min-width: 769px) and (max-width: 1200px) {
    height: 1050px;
  }

  @media (min-width: 451px) and (max-width: 768px) {
    height: 950px;
  }

  @media (max-width: 450px) {
    min-height: 90vh;
    height: 890px;
  }
}

.Outer.content {
  overflow: auto;
}

.Outer.contentD {
  overflow: auto;
  background-color: black;
}


main {
  flex: 1 0 auto;
  background-color: rgba(70, 130, 180, 0);
}

a {
  text-decoration: none;
  color: white;
}

iframe[src*="youtube.com"],
iframe[src*="youtube-nocookie.com"] {
  aspect-ratio: 16 / 9;
  width: 50%;
  height: auto;
}

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

  iframe[src*="youtube.com"],
  iframe[src*="youtube-nocookie.com"] {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
  }
}



/* --- Text Box --- */
form.search input.textBox {
  width: 400px;
  margin: 0 0px 0 0px;
  padding: 0;
  line-height: 1.5;
  background-color: #ffffff;
  color: #000000;
}

form.search input.btn {
  width: 80px;
  height: 25px;
  padding: 0;
  background: #00bfff url(../image/icons/btn01.gif);
  border: 0px #00bfff inset;
  font-weight: bold;
  color: #000000;
  line-height: 28px;
  letter-spacing: 0.3em;
  border-radius: 5px;
}

@media (max-width:767px) {
  form.search input.textBox {
    width: 50%;
  }
}

/*---- ヘッダー全体 ----*/
.site-header {
  background: black;
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  position: relative;
  height: 92px;
}

#headlogo {
  height: 86px;
  line-height: 87px;
  float: left;
  text-align: center;
  user-select: none;
  touch-callout: none;
}

#headlogo img {
  vertical-align: middle;
  margin-left: 30px;
}

#headlist {
  line-height: 87px;
  float: left;
  text-align: right;
  user-select: none;
  touch-callout: none;
}

#headlist ul {
  padding: 0px;
  margin: 0px;
}

#headlist li {
  list-style: none;
  display: inline-block;
  font-size: 100%;
  text-align: center;
  height: 87px;
  letter-spacing: 0.8px;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  padding-left: 0px;
  padding-right: 10px;
  margin: 0;
}

/* 横メニュー */
.site-nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
}

/* ハンバーガー初期状態（非表示） */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 1rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  margin: 4px 0;
  transition: 0.3s;
}

/* --- header-button --- */
#v-link {
  background: url("../image/button/hoh.png") center no-repeat;
  height: 87px;
}

#g-link {
  background: url("../image/button/tate.png") center no-repeat;
  height: 87px;
}

#biblo-link {
  background: url("../image/button/in.png") center no-repeat;
  height: 87px;
}

#b-link {
  background: url("../image/button/ki.png") center no-repeat;
  height: 87px;
}

#c-link {
  background: url("../image/button/mei.png") center no-repeat;
  height: 87px;
}

#k-link {
  background: url("../image/button/setsu.png") center no-repeat;
  height: 87px;
}

/* 共通レイアウト（通常状態） */
.vestibulbtn,
.galleriabtn,
.bibliotekabtn,
.blogbtn,
.creditsbtn,
.kontaktbtn {
  color: #808080;
  display: inline-block;
  height: 83px;
  line-height: 87px;
  text-decoration: none;
  background: black;
  transition: background-color 0.5s linear;
}

/* 共通ホバー */
.vestibulbtn:hover,
.galleriabtn:hover,
.bibliotekabtn:hover,
.blogbtn:hover,
.creditsbtn:hover,
.kontaktbtn:hover {
  color: #fff;
  background: transparent;
}

.vestibulbtn-on,
.galleriabtn-on,
.bibliotekabtn-on,
.blogbtn-on,
.creditsbtn-on,
.kontaktbtn-on {
  color: #1e90ff;
  display: inline-block;
  height: 83px;
  line-height: 87px;
  text-decoration: none;
  background: black;
  transition: background-color 0.5s linear;
}

.vestibulbtn-on:hover,
.galleriabtn-on:hover,
.bibliotekabtn-on:hover,
.blogbtn-on:hover,
.creditsbtn-on:hover,
.kontaktbtn-on:hover {
  color: #1e90ff;
  background: transparent;
}

/* 画面幅 ≤767px のとき */
@media (max-width:775px) {
  .header-inner {
    height: 64px;
  }

  /* ハンバーガーを表示 */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: black;
  }

  .nav-toggle span {
    background: #fff;
  }

  /* メニューは折りたたむ */
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: black;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: 0.3s;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0rem;
  }

  .site-nav li {
    border-top: 1px solid white;
    padding: 0;
  }

  .site-nav a {
    color: white;
    display: block;
    font-weight: 500;
    width: 100%;
  }

  #headlogo {
    height: 73px;
    position: relative;
    top: -5px;
    overflow: hidden;
  }

  #headlist li {
    padding-right: 0;
  }

  /* .open が付いたら展開 */
  .site-nav.open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  #v-link,
  #g-link,
  #biblo-link,
  #b-link,
  #c-link,
  #k-link {
    background: none;
  }
}

/* ハンバーガー→× のアニメーション */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* --- TOP --- */
#openinghead {
  width: 100%;
  z-index: 100;
  min-height: 380px;
  background: url("../image/BG/skyblue.png");
  background-size: contain;
  background-repeat: repeat-x;
  background-attachment: fixed;
}

.opening {
  margin: 0 20vw;
  animation: Nomove 0.8s ease 0s normal forwards, Fade 3.2s ease 1s normal forwards;
  user-select: none;
  touch-callout: none;
}

.opening img {
  margin-top: 7vw;
  margin-bottom: 100px;
  margin-left: 170px;
  width: 320px;
}

.opening a {
  display: block;
}

@media (max-width:1400px) {
  #openinghead {
    min-height: 200px;
    background-size: contain;
  }

  .opening {
    margin-left: 22vw;
  }

  .opening img {
    margin-top: 20vh;
    margin-left: 0px;
    width: 25vw;
    max-width: 300px;
  }
}

@media (max-width:767px) {
  #openinghead {
    min-height: 200px;
    background-size: 200% auto;
  }

  .opening {
    margin-left: 22vw;
  }

  .opening img {
    margin-top: 20vh;
    margin-left: 0px;
    width: 30vw;
    max-width: 500px;
  }
}

@media (max-width:450px) {
  #openinghead {
    min-height: 200px;
    background-size: 300% auto;
    background-position: top;
  }

  .opening {
    margin-left: 22vw;
  }

  .opening img {
    margin-top: 10vh;
    margin-left: 0px;
    width: 200px;
    max-width: 500px;
  }
}

@keyframes Nomove {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes Fade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* --- Vestibul --- */
#VestibulOuter {
  width: 100%;
  background-blend-mode: lighten;
  background-attachment: scroll;
  background-size: 100% auto;
}

.vestibulTitle {
  display: block;
  position: relative;
  font-family: 'Ailerons', Courier, 'SweetSansOnAir-Regular', Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 400%;
  padding-top: 65px;
  margin-bottom: 0;
  color: black;
  text-align: center;

  @media (min-width: 768px) and (max-width: 1400px) {
  font-size: 360%;
  padding-top: 75px;
    }

  @media (min-width: 451px) and (max-width: 767px) {}

  @media (max-width: 450px) {
    font-size: 350%;
  }
}


.circle-container {
  position: absolute;
  top: 445px;
  left: 15%;
  width: 100px;
  z-index: 0;
  pointer-events: none;

  @media (min-width: 768px) and (max-width: 1400px) {
    top: 450px;
    left: 0%;
  }

  @media (min-width: 451px) and (max-width: 767px) {
    top: 350px;
    left: -5%;
    transform: scale(0.7);
  }

  @media (max-width: 450px) {
    top: 300px;
    left: -15%;
    transform: scale(0.7);
  }
}

.circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid;
  box-shadow: 0 0 10px;
  transition: border 0.3s, box-shadow 0.3s;
}

.circleTime {
  width: 650px;
  height: 650px;
  border-color: rgba(88, 0, 208, 0.5);
  box-shadow: 0 0 20px rgba(70, 130, 180, 0.3);
}

.circleMinute {
  width: 400px;
  height: 400px;
  border-color: rgba(7, 131, 7, 0.7);
  box-shadow: 0 0 20px rgba(50, 205, 50, 0.3);
}

.circleSecond {
  width: 300px;
  height: 300px;
  border-color: rgba(255, 0, 0, 0.8);
  box-shadow: 0 0 20px rgba(139, 41, 41, 0.29);
}

.circleNoon {
  width: 200px;
  height: 200px;
}

section#button-container {
  display: block;
  width: 1000px;
  min-height: 100px;
  margin: 110px auto;
  margin-bottom: 50px;

  @media (max-width:768px) {
    width: 100%;
    margin-bottom: 0px;
    margin: 100px auto 0px;
  }

  @media (max-width:450px) {
    width: 100%;
    margin-bottom: 0px;
    margin: 100px auto 20px;
  }

  .container-slide {
    min-height: 70px;
    display: block;

    &.left {
      margin-left: 225px;
      margin-bottom: 20px;
    }

    &.right {
      margin-left: 525px;
      margin-bottom: 10px;
    }

    @media (max-width:768px) {
      min-height: 70px;
      display: block;

      &.left,
      &.right {
        margin-left: 30vw;
        margin-bottom: 15px;
      }
    }
  }

  .container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    display: block;
    float: left;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);

    @media (max-width:768px) {
      max-width: 100%;
      width: auto;
    }
  }
}

.buttonPP {
  position: relative;
  font: 300 24px/1.5 Lato, sans-serif;
  font-size: 120%;
  font-weight: bold;
  line-height: 50px;
  padding: 0px 40px;
  text-transform: uppercase;
  cursor: pointer;
  float: left;

  .label {
    display: inline-block;
    transform: scale(1);
    transition: transform 0.3s ease, color 0.2s linear;
    padding: 10px;
  }

  &.v8 {
    &:hover {
      .icon {
        transform: scale(1.1) skew(-40deg, 0deg);

        &:before,
        &:after {
          width: 100%;
        }

        span {

          &:before,
          &:after {
            height: 100%;
          }
        }
      }
    }

    .label {
      padding: 5px 10px;
    }

    .icon {
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      transform: skew(-40deg, 0deg);
      transition: all 0.5s;

      &:before,
      &:after {
        content: '';
        height: 2px;
        width: 30px;
        position: absolute;
        display: block;
        background: rgb(137, 191, 255);
        transition: width 0.5s;
      }

      &:before {
        left: 0;
        top: 0;
      }

      &:after {
        right: 0;
        bottom: 0;
      }

      span {

        &:before,
        &:after {
          content: '';
          background: rgb(137, 191, 255);
          position: absolute;
          display: block;
          width: 3px;
          height: 20px;
          transition: height 0.5s;
        }

        &:before {
          left: 0;
          top: 0;
        }

        &:after {
          right: 0;
          bottom: 0;
        }
      }
    }
  }

  &.blue {
    display: inline-block;
    transform: scale(1);

    &:hover {
      .label {
        color: #0059b3;
        transform: scale(1.1);
        text-shadow: 0 0 10px #9bf4ff;
      }
    }
  }
}

@media (max-width: 768px) {
  .buttonPP {
    padding: 0px 20px;
  }

  .buttonPP.v8 .icon {
    transform: scale(1.1) skew(-40deg, 0deg);

  }

  .buttonPP.v8 .icon::before,
  .buttonPP.v8 .icon::after {
    width: 80%;
  }

  .buttonPP.v8 .icon span::before {
    content: '';
    background: rgb(137, 191, 255);
    position: absolute;
    display: block;
    width: 3px;
    height: 15px;
    transition: height 0.5s;
    left: 0;
    top: 0;
  }

  .buttonPP.v8 .icon span::after {
    content: '';
    background: rgb(137, 191, 255);
    position: absolute;
    display: block;
    width: 3px;
    height: 15px;
    transition: height 0.5s;
    right: 0;
    bottom: 0;
  }

  .label {
    color: #000000;
  }
}

.modal .modal-check:checked+.modal-body {
  animation: fadeout .2s 1 forwards, hide .1s .2s 1 forwards;
}

.modal .modal-check:checked+.modal-body .modal-window {
  animation: zoomout .2s 1 forwards;
}

.modal-btns {
  position: relative;
  display: inline-block;
  text-decoration: none;
  font-family: Courier, 'SweetSansOnAir-Regular', Helvetica, Arial, sans-serif;
  font-weight: bold;
  text-align: center;
  color: black;
  float: center;
  margin: 10px;
  cursor: pointer;
}

.modal-btns::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  color: black;
  width: 100%;
  height: 2px;
  background: #333;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}

.modal-btns:hover::after {
  transform: scale(1, 1);
  color: black;
}

/* --- honeycomb --- */
.hexOuter {
  display: block;
  width: 1000px;
  margin: 0 auto;
  position: relative;
  transform: scale(0.8);

  @media (min-width: 768px) and (max-width: 1400px) {
    width: 100%;
    margin-left: -3vw;
    transform: scale(0.7);
  }

  @media (min-width: 451px) and (max-width: 767px) {
    width: 100vw;
    margin-left: -13vw;
    transform: scale(0.6);
  }

  @media (max-width: 450px) {
    width: 100vw;
    margin-left: -40vw;
    transform: scale(0.45);
  }
}

.hex {
  margin-top: 0px;
  width: 100%;

  @media (min-width: 768px) and (max-width: 1400px) {
    width: 100%;
  }

  @media (min-width: 451px) and (max-width: 767px) {
    width: 1000px;
  }

  @media (max-width: 450px) {
    width: 1000px;
  }
}

.hex.left {
  margin-left: 54px;
}

.hex.right {
  margin-right: 53px;
}

.hex *,
.hex *::before,
.hex *::after {
  box-sizing: border-box;
}

.honeycomb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  transform: translateY(34.375px);
}

.honeycomb-cell {
  flex: 0 1 100px;
  max-width: 100px;
  height: 55px;
  margin: 3px 4px 31.8px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.honeycomb-cell.none {
  opacity: 0;
  pointer-events: none;
}

.honeycomb-cell.empty {
  pointer-events: none;
}

.honeycomb-cell.sky {
  pointer-events: none;
}

.honeycomb-cell__title {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  word-break: break-word;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1em;
  transition: opacity 350ms;
}

.honeycomb-cell__title>small {
  font-weight: 300;
  margin-top: 0.25em;
}

.honeycomb-cell__image {
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

.honeycomb-cell::before,
.honeycomb-cell::after {
  content: "";
}

.honeycomb-cell::before,
.honeycomb-cell::after {
  top: -50%;
  left: 0;
  width: 100%;
  height: 200%;
  display: block;
  position: absolute;
  background: white;
  -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: -1;
}

.honeycomb-cell.sky::before,
.honeycomb-cell.sky::after {
  background: rgb(137, 191, 255);
}

.honeycomb-cell::before {
  background: rgb(217, 217, 217);
  transform: scale(1.04);
}

.honeycomb-cell.sky::before {
  background: rgb(137, 191, 255);
  transform: scale(1.04);
}

.honeycomb-cell::after {
  transition: opacity 350ms;
}

.honeycomb-cell:hover .honeycomb-cell__title {
  opacity: 1;
}

.honeycomb-cell:hover::before {
  background: #00d655;
}

.honeycomb-cell:hover::after {
  opacity: 0.5;
}

.honeycomb__placeholder {
  display: none;
  opacity: 0;
  width: 100px;
  margin: 0 5px;
}


/* --- ABOUT --- */
.vestibulOuter {
  transition-property: all;
  transition-duration: 1s;
  position: relative;
  min-height: 300px;
  height: 1040px;
  overflow: hidden;
}

.vestibulOuter.LT {
  height: 2300px;
}

.vestibulOuter.DT {
  height: 1380px;
}

.vestibulOuter.GL {
  height: 1020px;
}

.vestibulOuter.IL {
  height: 850px;
}

.about-thursar {
  max-width: 1000px;
  margin: -15px auto;
  margin-bottom: 110px;
  padding: 0 2rem;
  font-family: '游明朝', 'Yu Mincho', 'Noto Serif JP', serif;
  color: #111;
  line-height: 1.9;
  letter-spacing: 0.05em;
  animation: Nomove 0s ease 0s normal forwards, Fade 2s ease 0.1s normal forwards;
}

.about-row {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.about-row.A {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
    margin-top: 100px;
  margin-bottom: 3rem;
}

.about-row.B {
  margin-top: 5rem;
}

.about-image {
  flex: 3;
}

.about-space {
  flex: 3;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 5;
}

.about-text h2 {
  font-size: 1.5rem;
  font-weight: normal;
  margin-bottom: 1.5rem;
  border-left: 4px solid #000;
  padding-left: 1rem;
}

.about-text p {
  margin-bottom: 1.8rem;
  color: #504f4f;
  font-family: 游明朝, YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", HG明朝E, "MS P明朝", "Sawarabi Mincho", serif;
}

@media (max-width: 600px) {
  .about-row {
    flex-direction: column;
  }

  .about-image,
  .about-text {
    width: 100%;
  }

  .about-text h2 {
    font-size: 1.3rem;
  }
}

.joke {
  pointer-events: none;
  transition-property: opacity;
  transition-duration: 0.8s;
  color: red;
  font-size: 80%;
  z-index: 0;
  opacity: 0;
}

.joke.open {
  opacity: 1;
  z-index: 1000;
}


/* --- MEMBERS --- */
.memberOuter {
  width: 100%;

  background: url("../image/BG/line1920.png");
  background-size: cover;
  /* 要素を埋める */
  background-position: center center;
  /* 中央に配置（上下左右） */
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* スクロールしても固定表示（任意） */
    
  padding: 0px 0px 0px;
}

.members {
  padding: 18px 0px 100px;
  opacity: 1;
}

.members-block {
  color: black;
  max-width: 1000px;
  margin: 0 auto;
  padding: 18px 0px 100px;
  text-align: center;
  line-height: 25px;
}

.members-list {
  margin-top: 90px;
  width: 1000px;
  text-align: center;
}

.prof-panel {
  display: inline-block;
  opacity: 1;
  margin: 0px 20px;
  padding: 0;
  transition: all .3s ease-in-out;
  box-shadow: 0px 0px 5px 5px rgba(32, 152, 255, 0);
}

.prof-panel img {
  display: inline-block;
  vertical-align: top;
  width: 150px;
  pointer-events: none;
  user-select: none;
}

.prof-panel:hover {
  box-shadow: 0px 0px 5px 5px rgba(32, 152, 255, 0.8);
}

.membersHalf {
  display: inline-block;
  width: 49%;
  vertical-align: top;
}

.profileLeft {
  display: block;
  text-align: right;
  float: right;
  //  width: 90%;
  font-weight: bold;
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  //  margin-right: 70px;
  pointer-events: all;
  padding: 20px;
}


.profileimg {
  display: inline-block;
  width: 100%;
  pointer-events: none;
  user-select: none;
}

.profileRight {
  //font-family: "游ゴシック", "ヒラギノ角ゴ Pro W3", "メイリオ", system-ui;
  font-family: 游明朝, YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", HG明朝E, "MS P明朝", "Sawarabi Mincho", serif;
  font-size: 110%;
  line-height: 1.6;
  font-weight: bold;
  display: inline-block;
  width: 100%;
  min-height: 400px;
  text-align: left;
  margin-bottom: 50px;
  padding: 20px;
}

.membersName {
  display: inline-block;
  font-size: 30px;
  font-weight: bold;
}


.membersRead {
  display: inline-block;
  font-size: 22px;
  margin-left: 15px;
  //color: #74999c;
  color: #797979;
  font-weight: bold;
}

.membersPosition {
  display: block;
  font-size: 17px;
  font-weight: bold;
  color: steelblue;
  line-height: 0.8;
  margin-top: 2px;
}

.membersDetail {
  display: block;
  font-size: 100%;
  color: black;
  //  width: 480px;
  margin-top: 40px;
  font-weight: normal;
  font-size: 92%;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: #504f4f;
}

.members-item {
  //    background-color: aquamarine;
  //    font-size: 92%;
}

.members-label30 {
  display: inline-block;
  font-weight: bold;
  width: 30%;
  vertical-align: top;
  //    height:auto;
  //    background-color: aquamarine;
}

.members-value30 {
  display: inline-block;
  white-space: nowrap;
  width: 68%;
  //    background-color: cyan;
}

.members-label35 {
  display: inline-block;
  font-weight: bold;
  width: 35%;
  vertical-align: top;
  //    height:auto;
  //    background-color: aquamarine;
}

.members-value35 {
  display: inline-block;
  white-space: nowrap;
  //    width: 64%;
  //    background-color: cyan;
}

.prof-img {
  display: inline-block;
  vertical-align: top;
  pointer-events: none;
  user-select: none;
  padding: 10px;
  width: 100%;
}


.members {
  //  background-color: pink;
  position: absolute;
  z-index: 0;
  opacity: 0;
  padding: 15px;
  height: 500px;
  pointer-events: none;
  transition-property: opacity;
  transition-duration: 0.8s;
}

.members.ON {
  opacity: 1;
  pointer-events: all;
}

.membersBody {
  display: block;
  width: 1000px;
  height: 660px;
  position: relative;
  margin: 90px auto 30px;
  ;
  padding-top: 30px;
  background-color: rgba(255, 255, 255, 0.4);
  background-blend-mode: lighten;
  border: 5px;
  border-color: #7ebbfe;
  border-style: solid;
  border-radius: 20px;
}

@media screen and (max-width: 1000px) {

  .memberOuter {
    background-size: cover;
    background-position: center top;
    min-height: auto;
    height: auto;
    padding-bottom: 40px;
  }

  .members-list {
    width: 100%;
    margin-top: 50px;
  }

  .members-block {
    width: 100%;
    padding: 20px;
  }

  .profileLeft {
    text-align: center;
    float: none;
    padding: 10px;
  }

  .profileRight {
    text-align: left;
    padding: 10px;
    margin-bottom: 30px;
    font-size: 100%;
    line-height: 1.5;
  }
    
.membersBody {
    width: 100%;
    height: 600px;
  }

}


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

  .memberOuter {
    background-size: cover;
    background-position: center top;
    min-height: auto;
    height: auto;
    padding-bottom: 40px;
  }

  .members-block {
    width: 100%;
    padding: 20px;
  }

  .members-list {
    width: 100%;
    margin-top: 50px;
  }

  .prof-panel {
    display: inline-block;
    margin: 0 10px;
    text-align: center;
    // padding: 0 10px;
  }

  .prof-panel img {
    width: 100px;
  }


  .profileimg {
    width: 50%;
  }

  .members {
    //  background-color: pink;
    position: absolute;
    z-index: 0;
    opacity: 0;
    width: 100%;
    pointer-events: none;
    transition-property: opacity;
    transition-duration: 0.8s;
  }

  .membersHalf {
    display: block;
    width: 100%;
    margin-bottom: 0px;
  }

  .profileLeft {
    text-align: center;
    float: none;
    padding: 10px;
  }

  .profileRight {
    text-align: left;
    padding: 10px;
    margin-bottom: 30px;
    font-size: 100%;
    line-height: 1.5;
  }

  .membersBody {
    position: relative;
    width: 100%;
    height: 940px;
    //min-height: 950px;
    margin: 40px auto 0px;
    padding: 0px;
  }

  .membersName {
    margin-top: 10px;
    font-size: 25px;
    display: block;
    text-align: center;
    margin-left: 2vw;
  }

  .membersRead {
    display: block;
    text-align: center;
    font-size: 16px;
    margin-left: 2vw;
  }


  .membersPosition {
    display: block;
    text-align: center;
    padding-top: 4vw;
    margin-left: 2vw;
    font-size: 20px;
    line-height: 1;
  }



  .membersDetail {
    font-size: 95%;
    // margin-top: 10px;
  }


  .prof-img {
    padding: 5px;
    width: 100%;
  }
}

@media screen and (max-width: 450px) {
  .members {
    padding: 0px;
  }

  .members-block {
    padding: 5px;
  }

  .profileRight {
    padding: 10px;
  }

  .membersBody {
    height: 995px;
    padding: 0px;
  }

  .membersName {
    display: block;
    text-align: center;
    margin-left: 2vw;
    font-size: 23px;
    margin-top: 0vw;
  }

  .membersRead {
    display: block;
    text-align: center;
    font-size: 13px;
    margin-left: 2vw;
  }

  .membersPosition {
    display: block;
    text-align: center;
    padding-top: 6vw;
    margin-left: 2vw;
    font-size: 16px;
    line-height: 1;
  }

  .members-label30 {
    width: 32%;
    //    margin-right: 10px;
    height: auto
  }

  .members-value30 {
    //    width: 67%;
  }

  .members-label35 {
    width: 40%;
    //    margin-right: 10px;
    height: auto
  }

  .members-value35 {
    //    width: 60%;
  }

  .profileimg {
    width: 100%;
  }
}

.glasstank {
  color: black;
  width: 1000px;
  height: auto;
  margin: 0px auto;
  //  padding: 18px 0px 0px;
  text-align: center;
  //  line-height: 25px;
}

#vestibul-tank {
  color: black;
  margin: 100px auto 60px;
  text-align: center;
}

#tank {
  background-image: url("../image/tank/tank.png");
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center top;
  width: 800px;
  height: 800px;
  margin: 0 auto 0px;
}

.tankGrade {
  text-align: center;
  line-height: 2.3;
  //border: 1px solid black;
}

.tankGrade img {
  width: 50px;
}

.tankGrade.Space {
  height: 75px;
}

.tankGrade.first {
  height: 80px;
}

.tankGrade.second {
  height: 80px;
}

.tankGrade.third {
  height: 80px;
}

.tankGrade.fourth {
  height: 80px;
}

.tankGrade.fifth {
  height: 80px;
  text-align: right;
}

@media screen and (max-width: 1000px) {
  #vestibul-tank {
    height: 100vw;
  }

  .glasstank {
    width: 100%;
  }

  #tank {
    height: 100%;
  }

  #vestibul-tank {
    margin: 30px auto 30px;
  }

  .tankGrade img {
    width: 50px;
  }

  .tankGrade.Space {
    height: 8vw;
  }

  .tankGrade.first {
    height: 12vw;
  }

  .tankGrade.second {
    height: 10vw;
  }

  .tankGrade.third {
    height: 8vw;
  }

  .tankGrade.fourth {
    height: 10vw;
  }

  .tankGrade.fifth {
    height: 12vw;
  }


  #tank {
    width: 100%;
    margin: 0 auto 0px;
  }
}


@media screen and (max-width: 450px) {
  .glasstank {
    width: 100%;
  }

  #vestibul-tank {
    margin: 30px auto 30px;
    height: 100vw;
  }

  .tankGrade img {
    width: 30px;
  }

  .tankGrade.Space {
    height: 8vw;
  }

  .tankGrade.first {
    height: 12vw;
  }

  .tankGrade.second {
    height: 10vw;
  }

  .tankGrade.third {
    height: 10vw;
  }

  .tankGrade.fourth {
    height: 8vw;
  }

  .tankGrade.fifth {
    height: 10vw;
  }


  #tank {
    width: 100%;
    margin: 0 auto 0px;
  }
}

/* --- VESTIBUL Animation --- */

.pattern1 {
  display: inline-block;
  animation: patternMove 49.0s infinite;
  animation-timing-function: liner;
  animation-direction: alternate-reverse;
  animation-delay: 0s;
  padding: 0px 22px 0px 22px;
  opacity: 0.9;
  z-index: 10;
  user-select: none;
  touch-callout: none;
}

.pattern2 {
  display: inline-block;
  animation: patternMove 49.0s infinite;
  animation-timing-function: liner;
  animation-direction: normal;
  animation-delay: 1s;
  padding: 0px 22px 0px 22px;
  opacity: 0.9;
  z-index: 10;
  user-select: none;
  touch-callout: none;
}

.pattern3 {
  display: inline-block;
  animation: patternMove 49.0s infinite;
  animation-timing-function: liner;
  animation-direction: alternate-reverse;
  animation-delay: 2s;
  padding: 0px 22px 0px 22px;
  opacity: 0.9;
  z-index: 10;
  user-select: none;
  touch-callout: none;
}

.pattern4 {
  display: inline-block;
  animation: patternMove 49.0s infinite;
  animation-timing-function: liner;
  animation-direction: normal;
  animation-delay: 3s;
  padding: 0px 22px 0px 22px;
  opacity: 0.9;
  user-select: none;
  touch-callout: none;
}

@keyframes patternMove {
  0% {
    transform: translate(0px, 0px) rotateZ(0deg)
  }

  10% {
    transform: translate(-3px, 7px) rotateZ(0deg)
  }

  20% {
    transform: translate(0px, -7px) rotateZ(2deg)
  }

  30% {
    transform: translate(3px, 7px) rotateZ(0deg)
  }

  40% {
    transform: translate(0px, -7px) rotateZ(-2deg)
  }

  50% {
    transform: translate(-3px, 7px) rotateZ(0deg)
  }

  60% {
    transform: translate(0px, -7px) rotateZ(2deg)
  }

  70% {
    transform: translate(3px, 7px) rotateZ(0deg)
  }

  80% {
    transform: translate(0px, -7px) rotateZ(-1deg)
  }

  90% {
    transform: translate(-3px, 7px) rotateZ(0deg)
  }

  100% {
    transform: translate(0px, 0px) rotateZ(0deg)
  }
}


/* --- INTERLINK --- */
.interlink {
  color: black;
  width: 1000px;
  margin: 0 auto;
  padding: 35px 0px 0px;
  text-align: center;
  line-height: 25px;
}

#startElement {
  height: 4em;
  width: 4em;
  background-color: lightpink;
}

#endElement {
  margin-top: 50px;
  margin-left: 150px;
  height: 4em;
  width: 4em;
  background-color: lightblue;
}

.snsBody {
  display: block;
  position: relative;
  width: 950px;
  height: 600px;
  margin: 90px auto 0px;
  text-align: center;
}

.twitter {
  position: absolute;
  display: inline-block;
  top: 10px;
  left: 45%;
  width: 100px;
  height: 100px;
}

.instagram {
  position: absolute;
  display: inline-block;
  top: 200px;
  left: 3%;
  width: 100px;
  height: 100px;
}

.note {
  position: absolute;
  display: inline-block;
  top: 200px;
  left: 60%;
  width: 110px;
  height: 30px;
}

.youtube {
  position: absolute;
  display: inline-block;
  top: 420px;
  left: 70%;
  //  width: 200px;
  //  height: 60px;
}


@media screen and (max-width: 1000px) {

  .interlink {
    width: 100%;
  }

  .snsBody {
    width: 100%;
  }

  .twitter {
    width: 80px;
    height: 80px;

    left: 50%;
  }

  .instagram {
    width: 80px;
    height: 80px;
  }

  .note {
    width: 100px;
    top: 230px;
    left: 55%;
  }

  .youtube {
    width: 200px;
    left: auto;
    right: 5vw;
  }


}

@media screen and (max-width: 450px) {
  .interlink {
    width: 100%;
  }

  .snsBody {
    width: 100%;
    height: 540px;
  }

  .twitter {
    width: 80px;
    height: 80px;

    left: 38%;
  }

  .instagram {
    width: 80px;
    height: 80px;
  }

  .note {
    width: 90px;
    top: 250px;
    left: 40%;

  }

  .youtube {
    width: 160px;
    //    height:40px;
    left: auto;
    right: 5vw;
  }
}






/* --- CREDITS --- */
#credits {
  display: block;
  color: white;
  width: 1000px;
  margin: 0 auto;
  padding: 200px 0px 200px;
  text-align: left;
  letter-spacing: -0.4em;
  background-color: black;
}

.credit-board {
  position: relative;
  display: inline-block;
  color: white;
  width: 33%;
  height: 300px;
  margin: 1px;
  padding: 0px 0px 0px;
  letter-spacing: normal;
    overflow: visible;
}

.transform-cell {
  width: 100%;
  min-height: 30px;
  margin: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
    overflow: visible;
}

.credit-point {
  display: table;
  text-align: center;
  width: 100%;
  margin: 0px;
}

.credit-point2 {
  display: block;
  text-align: center;
  width: 100%;
  margin: 0px;
}

.job-credit {
  display: table-cell;
  width: 40%;
  vertical-align: middle;
  text-align: right;
  padding-right: 5px;
  font-size: 14px;
  margin-right: 10px;
}

.job-credit2 {
  display: inline-block;
  font-size: 14px;
  margin-right: 10px;
}

.name-credit {
  display: table-cell;
  text-align: left;
  padding-left: 10px;
  font-size: 18px;
  height: auto;
  vertical-align: middle;
}

.name-credit2 {
  display: inline-block;
  font-size: 18px;
  height: auto;
}

@media screen and (max-width: 1000px) {
  #credits {
    width: 100%;
    padding: 80px 0px 60px;
  }
.credit-board {
  width: 49%;
}
}

@media screen and (max-width: 450px) {
  #credits {
    width: 90%;
    font-size: 120%;
    padding-top: 20vw;
    padding-bottom: 0vw;
  }

  .credit-board {
    display: block;
    width: 100%;
    height: 335px;
    min-height: 10px;
    padding: 0;
    margin: 10vw 0 10vw;
  }

  .transform-cell {
    position: relative;
  }


  .job-credit {
    display: table-cell;
    padding-right: 5px;
    font-size: 100%;
  }

  .job-credit2 {
    font-size: 100%;
  }

  .name-credit {
    font-size: 100%;
    line-height: 1.4;
  }

  .name-credit2 {
    font-size: 100%;
  }
}


/* --- ALMATREE --- */
.almatree {
  min-height: 800px;
  padding-bottom: 100px;
  background-color: black;
}

.almatree-logo {
  width: 500px;
  margin: 0 auto;
  padding-top: 55px;
  padding-bottom: 55px;
  text-align: center;
}

.almatree-sub {
  color: white;
  width: 585px;
  margin: 0 auto;
  padding-bottom: 20px;
  text-align: center;
}

.almatree-back {
  width: 10%;
  margin: auto;
  padding-top: 20px;
  //    max-width: 200px;
}

.title-wrapper {
  margin-top: 65px;
  text-align: center;
}

.almatree-menu-title {
  margin: 2em auto;
  display: inline-block;
  color: white;
  font-size: 1.4em;
  font-weight: 600;
  padding: 0.4em 1.2em;
  border-left: 2px solid #00ffff;
  border-right: 2px solid #00ffff;
  background: rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.4);
}

.almatree-menu {
  margin: 0 auto;
  //    padding-bottom: 100px;
  text-align: center;
}

.image-overlay-container {
  cursor: pointer;
  position: relative;
  display: inline-block;
  overflow: hidden;
  width: 30%;
  margin: 10px;
}

.image-overlay-container img {
  display: block;
  height: auto;
}

.overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1em;
  background: rgba(0, 0, 0, 0.6);
  /* 半透明の黒背景 */
  color: white;
  text-align: center;
  font-size: 1.2em;
  transition: opacity 0.4s ease;
  box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.6);
  /* ← ここがぼかし効果 */
}

/* ホバー時に文字を非表示にする */
.image-overlay-container:hover .overlay-text {
  opacity: 0;
}

.film {
  width: 100%;
  margin: 0 auto;
  padding-top: 55px;
  //padding-bottom: 55px;
  text-align: center;
  //    background-color: azure;
}

.film-title {
  display: block;
  text-align: center;
  margin-bottom: 100px;
}

.film-title img {
  width: 1000px;
}

.works {
  width: 1000px;
  margin: 0 auto;
  display: flex;
  /* ← 横並びにする */
  justify-content: space-between;
  gap: 2%;
  /* ← 間隔を安定させる */
  flex-wrap: wrap;
  /* 小画面で折り返せるように */
  margin-top: 50px;
  margin-bottom: 50px;
}

.works-visual {
  //float: left;
  width: 49%;
  margin-bottom: 20px;
}

.works-visual img {
  width: 100%;
}

.info-under {
  display: block;
  width: 100%;
  text-align: right;
}

.info-box {
  display: inline-block;
  width: 49%;
  text-align: left;
  font-size: 1.05em;
  margin-top: 1em;
  margin-bottom: 2em;
  color: #ccc;
}

.works-description {
  display: inline-block;
  width: 49%;
  text-align: left;
  font-size: 1.05em;
  margin-top: 1em;
  margin-bottom: 2em;
  color: #ddd;
}


.screenshot-wrapper {
  width: 1000px;
  margin: 0 auto;
}

.screenshot {
  display: inline-block;
  width: 310px;
  margin: 10px;
  text-align: center;
  border: 1px solid #a5cbff;
}

.clickable-img {
  display: block;
  transition: box-shadow 0.4s ease;
  /* ← box-shadowにも追加！ */
  max-width: 100%;
  height: auto;
  //    margin: 0 auto;
  //  width: 400px;       /* 任意のサイズ（正方形） */
  //  height: 300px;
  object-fit: cover;
  /* 中央トリミング */
  object-position: center;
  display: block;
}

.clickable-img img {
  vertical-align: bottom;

}

.clickable-img:hover {
  box-shadow: 0 0 5px 5px rgba(32, 152, 255, 0.4);
  /* ← よりふわっと */
}

.square-img {
  width: 300px;
  /* 任意のサイズ（正方形） */
  height: 300px;
  object-fit: cover;
  /* 中央トリミング */
  object-position: center;
  display: block;
  border-radius: 8px;
  /* 角丸任意 */
}

@media screen and (max-width: 1000px) {
  .almatree {
    width: 100%;
    padding-bottom: 30px;
  }


  .almatree-logo {
    width: 90vw;
    max-width: 400px;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .almatree-sub {
    width: 90vw;
    padding-bottom: 0px;
  }

  .almatree-back {
    width: 30%;
    margin: auto;
    padding-top: 20px;
    //    max-width: 200px;
  }

  .title-wrapper {
    margin-top: 30px;
  }

  .image-overlay-container {
    width: 49%;
    margin: 0px;
    padding: 10px;
  }


  .works {
    width: 95%;
  }

  .works-visual {
    width: 49%;
    margin-bottom: 0px;
  }

  .works-visual img {
    width: 100%;
    margin-bottom: 20px;
  }

  .info-box {
    font-size: 1em;
  }

  .works-description {
    width: 100%;
    font-size: 1em;
  }

  .info-box {
    width: 100%;
  }

  .film {
    width: 100%;
    padding: 30px;
  }

  .screenshot-wrapper {
    width: 100%;
  }


  .screenshot {
    width: 30%;
    margin: 5px;
    text-align: center;
    border: 1px solid #a5cbff;
  }

}

@media screen and (max-width: 450px) {
  .almatree {
    width: 100%;
    padding-bottom: 0px;
  }

  .almatree-logo {
    width: 90vw;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .almatree-back {
    width: 50%;
    margin: auto;
    padding-top: 20px;
    //    max-width: 200px;
  }

  .almatree-sub {
    width: 90vw;
    padding-bottom: 0px;
  }

  .title-wrapper {
    margin-top: 0px;
  }

  .image-overlay-container {
    width: 100%;
  }

  .works-visual {
    width: 100%;
  }

  .screenshot {
    width: 40%;
    margin: 5px;
    text-align: center;
    border: 1px solid #a5cbff;
  }

}

/* --- SECTION --- */
.sectionTitle {
  display: block;
  position: relative;
  font-family: 'Ailerons', Courier, 'SweetSansOnAir-Regular', Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 200%;
  padding-top: 80px;
  margin-bottom: 0;
  color: black;
  text-align: center;

  @media (min-width: 768px) and (max-width: 1400px) {}

  @media (min-width: 451px) and (max-width: 767px) {}

  @media (max-width: 450px) {
    font-size: 350%;
  }
}

/* --- GALLERIA --- */
#galleria {
  color: black;
  width: 1000px;
    height: 600px;
  margin: 0 auto;
  padding: 18px 0px 50px;
  text-align: center;
  line-height: 25px;
}

.Gbutton-list {
  margin: 150px 0;
}

.Gbutton {
  position: relative;
  padding: 1em 1.5em;
  border: none;
  background-color: transparent;
  cursor: pointer;
  outline: none;
  min-width: 135px;
  font-size: 18px;
  margin: 1em 1.2em;
}

.Gbutton.typeRoad {
  font-family: system-ui;
}

.Gbutton.typeRoad:hover {
  color: #0059b3;
  transition: color 300ms;
}

.Gbutton.typeRoad::after, .Gbutton.typeRoad::before {
  content: "";
  display: block;
  position: absolute;
  width: 20%;
  height: 20%;
  border: 2px solid;
  transition: all 0.6s ease;
  border-radius: 2px;
}

.Gbutton.typeRoad::after {
  bottom: 0;
  right: 0;
  border-top-color: transparent;
  border-left-color: transparent;
  border-bottom-color: rgb(119, 136, 153);
  border-right-color: rgb(119, 136, 153);
  color: rgb(153, 200, 255);
}

.Gbutton.typeRoad::before {
  top: 0;
  left: 0;
  border-bottom-color: transparent;
  border-right-color: transparent;
  border-top-color: rgb(119, 136, 153);
  border-left-color: rgb(119, 136, 153);
  color: rgb(153, 200, 255);
}

.Gbutton.typeRoad:hover:after, .Gbutton.typeRoad:hover:before {
  border-bottom-color: rgb(153, 200, 255);
  border-right-color: rgb(153, 200, 255);
  border-top-color: rgb(153, 200, 255);
  border-left-color: rgb(153, 200, 255);
  width: 100%;
  height: 100%;
  color: rgb(153, 200, 255);
}


@media screen and (max-width: 1000px) {
    #galleria {
        width: 100%;
        height: 580px;
    }
    .sectionTitle{
        font-size: 28px;
        padding-top: 75px;
    }
}


@media screen and (max-width: 450px) {
    #galleria {
        width: 100%;
    }
    .sectionTitle{
        font-size: 28px;
        padding-top: 75px;
    }

.Gbutton.typeRoad::after, .Gbutton.typeRoad::before,
.Gbutton.typeRoad::after,
.Gbutton.typeRoad::before,
.Gbutton.typeRoad:hover:after, .Gbutton.typeRoad:hover:before {
  border-bottom-color: rgb(75, 137, 255);
  border-right-color: rgb(75, 137, 255);
  border-top-color: rgb(75, 137, 255);
  border-left-color: rgb(75, 137, 255);
  width: 100%;
  height: 100%;
  color: rgb(75, 137, 255);
}

}

/* --- FOTO --- */
#fotoOuter {
  background-color: #380719;
  width: 100%;
}

#foto {
  text-align: center;
  color: white;
  width: 1000px;
  margin: 0 auto;
  padding: 60px 0px 0px;
  overflow: hidden;
}

#foto h1 {
  font-family: 'Ayres';
  font-size: 500%;
  margin: 0px 0px;
  text-decoration: none;
  color: #1e50a2;
}

#foto a {
  color: inherit;
}

.fotoTitle {
  margin: 0px auto;
  padding: 0px 0px 55px;
  text-align: center;
  margin-bottom: 0px;
}

.fotoTitle a {
  text-decoration: none;
  color: white;
}

.fotoTitle visited {
  text-decoration: none;
  color: white;
}

.fotoTitle hover {
  text-decoration: none;
  color: white;
}

.foto-books {
    display: inline-block;
    width: 50%;
  margin: 0 auto;
  margin-top: 40px;
  margin-bottom: 80px;
  text-align: center;
    vertical-align: top;
}

.foto-board {
  margin: 0 auto;
  margin-top: 40px;
  margin-bottom: 10px;
  text-align: center;
}

.foto-frame {
  display: inline-block;
  border: 10px;
  border-color: rgba(255, 255, 255, 0.1);
  border-style: solid;
  font-size: 0;
  vertical-align: bottom;
  margin: 5px;
}

.fotos {
  max-height: 150px;
}

.foto-top {
  width: 250px;
}

a:link.foto-title-plate {
  display: block;
  color: white;
  font-size: 20px;
//  width: 600px;
    width: 80%;
  height: auto;
//  line-height: 2;
  border: 4px;
  border-color: rgba(235, 219, 5, 1);
  text-decoration: none;
  border-style: double;
  padding: 0px 4px;
  background-color: rgba(202, 168, 70, 0);
  margin: auto;
  margin-top: 30px;
  font-family: system-ui;
}

a:visited.foto-title-plate {
//  line-height: 2;
  color: white;
  border: 4px;
  border-color: rgba(235, 219, 5, 1);
  text-decoration: none;
  border-style: double;
  padding: 0px 4px;
  background-color: rgba(202, 168, 70, 0);
}

a:hover.foto-title-plate {
  border: 4px;
  color: white;
  border-color: rgba(235, 219, 5, 1);
  text-decoration: none;
  border-style: double;
  background-color: rgba(235, 219, 5, 0.2);
}

.foto-note-plate {
  display: block;
  font-size: 20px;
  line-height: 1.5;
  padding: 10px;
  width: 80%;
  margin: auto;
  margin-top: 50px;
  background-color: #333333;
  border: 4px double blue;
  text-align: left;
  font-family: system-ui;
}

.foto-name-plate {
  display: block;
  font-size: 20px;
  line-height: 2;
  width: 280px;
  padding: 10px;
  margin: auto;
  margin-top: 60px;
  margin-bottom: 70px;
  border: 4px double red;
  text-align: center;
  font-family: system-ui;
}

@media screen and (max-width: 1000px) {
    #foto {
        width: 100%;
        padding: 60px 0px 0px;
    }
    #foto h1{
        font-size: 400%;
        //padding-top: 75px;
    }
    .fotoTitle {
        padding: 0px 0px 30px;
    }
    .foto-books {
        width: 45%;
        vertical-align: top;
    }
    a:link.foto-title-plate {
        height: auto;
    }
}

@media screen and (max-width: 450px) {
    #foto {
        width: 100%;
    }
    #foto h1{
        font-size: 400%;
    }
    .fotoTitle {
        margin: 0px auto;
        padding: 0px 0px 30px;
        text-align: center;
        margin-bottom: 0px;
    }
    .foto-books {
        width: 50%;
        vertical-align: top;
    }
    a:link.foto-title-plate {
        font-size: 16px;
        margin-top: 15px; 
        min-height: 34px;
        height: auto;
    }
    .foto-note-plate {
        font-size: 16px;
    }
    .foto-name-plate {
        font-size: 16px;
    }
}

/* --- KAIGA --- */
#kaigaOuter {
  background-color: #17184b;
  width: 100%;
}

#kaiga {
  color: white;
  width: 1000px;
  margin: 0 auto;
  padding: 60px 0px 0px;
  overflow: hidden;
}

#kaiga h1 {
  font-family: 'Ayres';
  font-size: 500%;
  margin: 0px 0px;
  text-decoration: none;
  color: #c8c2be;
}

.kaigaTitle {
  margin: 0px auto;
  padding: 0px 0px 55px;
  text-align: center;
  margin-bottom: 0px;
}

.kaigaTitle a {
  text-decoration: none;
  color: white;
}

.kaigaTitle visited {
  text-decoration: none;
  color: white;
}

.kaigaTitle hover {
  text-decoration: none;
  color: white;
}

.kaiga-books {
  margin: 0 auto;
  margin-top: 40px;
  margin-bottom: 150px;
  text-align: center;
}

.kaiga-board {
  margin: 0 auto;
  margin-top: 0px;
  margin-bottom: 80px;
  text-align: center;
}

.kaiga-frame {
  display: inline-block;
  border: 10px;
  border-color: rgba(255, 255, 255, 0.1);
  border-style: solid;
  font-size: 0;
  vertical-align: bottom;
}

.kaiga-book-frame {
  display: inline-block;
  border: 10px;
  border-color: rgba(255, 255, 255, 0.1);
  border-style: solid;
  font-size: 0;
  vertical-align: bottom;
  margin-top: 80px;
  margin-bottom: 30px;
}

.kaigas {
  width: 800px;
  user-select: none;
  touch-callout: none;
  pointer-events: none;
}

.kaiga-top {
  width: 250px;
}

a:link.kaiga-title-plate {
  display: block;
  color: white;
  font-size: 20px;
  width: 600px;
  height: 40px;
  line-height: 1.5;
  border: 4px;
  border-color: #eb6ea5;
  text-decoration: none;
  border-style: double;
  padding: 0px 4px;
  background-color: rgba(202, 168, 70, 0);
  margin: auto;
  margin-top: 30px;
}

a:visited.kaiga-title-plate {
  line-height: 2;
  color: white;
  border: 4px;
  border-color: #eb6ea5;
  text-decoration: none;
  border-style: double;
  padding: 0px 4px;
  background-color: rgba(202, 168, 70, 0);
}

a:hover.kaiga-title-plate {
  border: 4px;
  color: white;
  border-color: #eb6ea5;
  text-decoration: none;
  border-style: double;
  background-color: rgba(235, 110, 165, 0.2);
}

.kaiga-title-plate {
  display: block;
  font-size: 20px;
  line-height: 2;
  width: 600px;
  height: 40px;
  margin: auto;
  margin-top: 30px;
  border: 4px double #eb6ea5;
  text-align: center;
}

.kaiga-name-plate {
  display: block;
  font-size: 20px;
  line-height: 2;
  width: 280px;
  padding: 10px;
  margin: auto;
  margin-top: 60px;
  margin-bottom: 70px;
  border: 4px double #38b48b;
  text-align: center;
  font-family: system-ui;
}


@media screen and (max-width: 1000px) {
    #kaiga {
        width: 100%;
        padding: 60px 0px 0px;
    }
    #kaiga h1{
        font-size: 400%;
        //padding-top: 75px;
    }
    .kaigaTitle {
        padding: 0px 0px 30px;
    }
    .kaiga-books {
        width: 60%;
        vertical-align: top;
    }
    .kaiga-title-plate {
        width: 80%;
        height: auto;
    }
    a:link.kaiga-title-plate {
        height: auto;
        width: 100%;
    }
}

@media screen and (max-width: 450px) {
    #kaiga {
        width: 100%;
    }
    #kaiga h1{
        font-size: 400%;
    }
    .kaigaTitle {
        margin: 0px auto;
        padding: 0px 0px 30px;
        text-align: center;
        margin-bottom: 0px;
    }
    .kaiga-books {
        width: 50%;
        vertical-align: top;
    }
    a:link.kaiga-title-plate {
        font-size: 16px;
        margin-top: 20px; 
        min-height: 34px;
        height: auto;
    }
    .kaiga-note-plate {
        font-size: 16px;
    }
    .kaiga-name-plate {
        font-size: 16px;
    }
}


/* ------ */
/* --- kontakt --- */
#kontakt {
  color: black;
  width: 1000px;
  margin: 0 auto;
  padding: 18px 0px 50px;
  text-align: center;
  line-height: 25px;
}

#kontakt h1 {
  margin: 0px 0px;
  text-decoration: none;
}

.kontaktBand {
  width: 1000px;
  margin: auto;
  margin-top: 70px;
  margin-bottom: 20px;
  padding: 1px 0px 1px;
  text-align: center;
}

.kontaktLit {
  font-family: "游ゴシック", "ヒラギノ角ゴ Pro W3", "メイリオ", system-ui;
}

.kontaktLit.Mailname {
    display: block;
  font-size: 18px;
  font-weight: bold;
    letter-spacing: 0.05em;
}

.kontaktLit.adress {
    display: block;
  font-size: 22px;
  line-height: 0.5;
    letter-spacing: 0.05em;
  vertical-align: text-top;
  font-weight: bold;
   padding-top: 10px;
    overflow: visible;
}

.kontaktLit.adress a{
      color: #1e50a2;
}

.SNSProfile {
  display: block;
  margin-left: 50px;
  text-align: left;
}

.kontakt-img {
  display: block;
  margin: auto 0;
}

.SNSband {
  display: block;
  margin-left: 30px;
}

.SNSicons {
  display: inline-block;
  padding-right: 5px;
}

#mailform-group {
  display: block;
  font-size: 16px;
  margin: 0 auto;
  width: 600px;
  max-width: 650px;
}

.kontakt-board {
  position: relative;
  //overflow: hidden;
  display: inline-block;
  margin: 1px;
  padding: 0px 0px 0px;
  letter-spacing: normal;
  vertical-align: top;
  text-align: left;
}

.kontakt-board.Left {
  //width: 385px;
  margin-right: 5px;
}

.kontakt-board.Right {
  width: 385px;
  margin-left: 5px;
}

.messageBand {
  display: block;
  width: 800px;
  height: 200px;
  margin: 0 auto;
  margin-bottom: 80px;
  text-align: center;
  vertical-align: middle;
}

.kontakt-image {
  display: inline-block;
  width: 200px;
  margin-right: 50px;
}

.message-lang {
  display: inline-block;
  width: 500px;
  margin-top: 40px;
  text-align: left;
  vertical-align: top;
}

.MailProfile {
  display: block;
  margin-top: 40px;
  margin-bottom: 60px;
  margin-left: 50px;
  text-align: left;
}

.LineMessageEN {
  display: block;
  font-weight: 600;
    letter-spacing: 0.05em;
}

.LineMessageJP {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #767c6b;
  margin-top: 10px;
    letter-spacing: 0.05em;
}

@media screen and (max-width: 1000px) {
    #kontakt {
        width: 100%;
        padding: 18px 0px 120px;
    }
    .kontaktBand {
        width: 100%;
        margin-top: 40px;
    }
    .messageBand {
        width: 100%;
    }
    .MailProfile {
        display: block;
        margin-top: 30px;
        margin-bottom: 0px;
        margin-left: 0px;
        text-align: left;
    }
    .kontakt-image {
        display: block;
        text-align: center;
        width: 200px;
        margin-right: 0px;
        margin: 0 auto;
}
    .message-lang {
        margin-top: 0px;
    }

    .kontaktLit.Mailname {
        font-size: 16px;
    }
    .kontaktLit.adress {
        font-size: 18px;
    }
}

@media screen and (max-width: 450px) {
    #kontakt {
        width: 100%;
        padding: 18px 0px 120px;
    }
    .kontaktBand {
        width: 100%;
        margin-top: 30px;
    }
    .messageBand {
        width: 100%;
    }
    .kontakt-image {
        display: block;
        text-align: center;
        width: 35%;
        margin-right: 0px;
        margin: 0 auto;
}
    .MailProfile {
        display: block;
        margin-top: 30px;
        margin-bottom: 0px;
        margin-left: 0px;
        text-align: left;
    }
    .kontaktLit.Mailname {
        font-size: 14px;
    }
    .kontaktLit.adress {
        font-size: 16px;
        padding-top: 5px;
    }
    .message-lang {
        display: block;
        width: 90%;
        margin-top: 0px;
        margin: 0 auto;
    }
}


/* --- FOOTER --- */
#footerOuter {
  display: block;
  background-color: black;
  width: 100%;
}

footer {
  background-color: black;
  //    width: 1000px;
  min-height: 87px;
  line-height: 80px;
  min-height: 87px;
  text-align: center;
  color: #b8c6ff;
  font-size: 110%;
}

@media (max-width:767px) {
  footer {
    width: 100%;
  }
}