@charset 'utf-8';
/* ======================================================
CSS information

 File Name  : index.css
 Style Info : 「トップ」のCSS
====================================================== */

.box {
  width: 100px;
  height: 100px;
  background-color: #000;
}

body .mc-cycle {
  position: absolute !important;
}

#wrap-maximage {
  position: relative;
}

#scroll {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  height: 70px;
}

#scroll span {
  color: #eee;
  font-weight: 500;
  font-size: 1.2rem;
  font-family: 'Jura', sans-serif;
  letter-spacing: .1em;
}

#scroll::after {
  content: '';
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: #eee;
  animation: scroll_move 1.4s ease-in-out infinite;
}

@keyframes scroll_move {
  0% {
    opacity: 0;
    height: 0;
  }
  30% {
    opacity: 1;
    height: 30px;
  }
  100% {
    opacity: 0;
    top: 50px;
    height: 0;
  }
}

#about-block {
  margin: 2.5em 0 3em;
}

#profile-box {
  margin-bottom: 2.5em;
}

#profile-box h2 {
  margin-bottom: .8em;
  color: #b3ff00;
  font-size: 2.4rem;
}

.ityped-cursor {
  opacity: 1;
  font-size: 1em;
  animation: blink .3s infinite;
  animation-direction: alternate;
}

@keyframes blink {
  100% {
    opacity: 0;
  }
}

#profile-box .mini {
  margin-bottom: 2em;
  font-size: 1.2rem;
  text-indent: 6.6em;
}

#profile-main p {
  line-height: 2;
}

#profile-img {
  margin: .8em 0 0 auto;
  width: 35%;
}

#profile-img img {
  filter: brightness(88%)blur(.5px);
}

#history-box {
  font-size: 1.5rem;
}

#history-box h3 {
  position: relative;
  margin-bottom: 2em;
  padding: 1.5em 0 1em;
  font-size: 1.5rem;
  text-align: center;
}

#history-box h3::before,
#history-box h3::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 98%;
  height: 100%;
  background: rgba(255,255,255,.1);
  border: solid 1px rgba(255,255,255,.3);
}

#history-box h3::before {
  top: 0;
  left: 0;
}

#history-box h3::after {
  top: 6px;
  left: 2%;
}

#history-box dt {
  margin-bottom: .2em;
  padding-left: 1em;
  text-indent: -1em;
}

#history-box dd {
  text-indent: 1em;
}

#history-box dd:not(:last-of-type) {
  margin-bottom: .5em;
}

#photo-list-block {
  margin-bottom: 5em;
}

#photo-list-block .flex {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 3em;
}

#photo-list-block .flex::after {
  content: '';
  display: block;
  width: calc(100% / 4);
}

#photo-list-block .flex li {
  position: relative;
  width: calc(100% / 4);
}

#photo-list-block .flex li:nth-last-child(-n+2) {
  display: none;
}

#photo-list-block .flex li::before {
  content: '';
  display: block;
  padding-top: 100%;
}

#photo-list-block .flex li a {
  display: block;
}

#photo-list-block .flex li a img {
  display: block;
  opacity: .8;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  transition: all .2s ease-in-out;

  object-fit: cover;
}

#photo-list-block .flex li a img:hover {
  opacity: 1;
}

#news-block {
  margin-bottom: 4em;
  padding-top: 3em;
  padding-bottom: 3em;
  background: rgba(255,255,255,.1);
}

#news-block dl {
  margin-bottom: 1.5em;
  padding-bottom: 1.5em;
  border-bottom: dashed 1px #616161;
}

#news-block dl:last-of-type {
  margin-bottom: 3em;
}

#news-block dt {
  margin-bottom: .3em;
}

#news-block dd span {
  display: inline-block;
  margin-right: 1em;
  padding: .3em 0;
  width: 70px;
  font-size: 1.3rem;
  text-align: center;
  background: #313131;
}

#contact-block {
  text-align: center;
}

#contact-block .desc {
  margin-bottom: 3em;
}

#contact-block form {
  text-align: left;
}

.wpcf7-submit {
  margin-top: 5em !important;
}

/* 768px～（タブレット）
------------------------------------------------------ */
@media screen and (min-width: 768px) {
  #about-block {
    margin: 3.5em 0;
  }

  #profile-box {
    margin-bottom: 3.5em;
  }

  #profile-box h2 {
    font-size: 2.6rem;
  }

  #profile-box .mini {
    font-size: 1.3rem;
  }

  #profile-main.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  #profile-main p {
    width: 64%;
    line-height: 2.1;
  }

  #profile-img {
    margin: 0;
    width: 30%;
    height: auto;
  }

  #history-box h3::before,
  #history-box h3::after {
    width: 99%;
  }

  #history-box h3::after {
    left: 1%;
  }

  #photo-list-block {
    margin-bottom: 6em;
  }

  #photo-list-block .flex {
    margin-bottom: 4em;
  }

  #photo-list-block .flex::after {
    width: calc(100% / 6);
  }

  #photo-list-block .flex li {
    width: calc(100% / 6);
  }

  #photo-list-block .flex li:nth-last-child(-n+2) {
    display: block;
  }

  #news-block {
    margin-bottom: 5em;
    padding-top: 4em;
    padding-bottom: 4em;
  }

  #news-block dl {
    display: table;
    margin-bottom: 2em;
    padding-bottom: 2em;
    width: 100%;
  }

  #news-block dl:last-of-type {
    margin-bottom: 4em;
  }

  #news-block dt,
  #news-block dd {
    display: table-cell;
    vertical-align: middle;
  }

  #news-block dt {
    margin-bottom: 0;
    width: 100px;
  }

  #news-block dd span {
    padding: .4em 0;
    width: 80px;
  }
}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {
  #about-block {
    margin-bottom: 4.5em;
  }

  #about-block .flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  #profile-box {
    opacity: 0;
    margin-bottom: 0;
    width: 68%;
    transition: all .8s ease-in-out;
  }

  #profile-box.active {
    opacity: 1;
  }

  #profile-box h2 {
    font-size: 2.8rem;
  }

  #profile-box .mini {
    font-size: 1.4rem;
  }

  #profile-main p {
    width: 65%;
    line-height: 2.2;
  }

  #profile-img {
    width: 30%;
  }

  #history-box {
    opacity: 0;
    width: 27%;
    transition: all .8s ease-in-out;
  }

  #history-box.active {
    opacity: 1;
  }

  #history-box h3::before,
  #history-box h3::after {
    width: 98%;
  }

  #history-box h3::after {
    left: 2%;
  }

  #photo-list-block {
    opacity: 0;
    margin-bottom: 7em;
    transition: all .8s ease-in-out;
  }

  #photo-list-block.active {
    opacity: 1;
  }

  #photo-list-block .flex {
    margin-bottom: 5em;
  }

  #news-block {
    opacity: 0;
    margin-bottom: 6em;
    padding-top: 5em;
    padding-bottom: 5em;
    transition: all .8s ease-in-out;
  }

  #news-block.active {
    opacity: 1;
  }

  #news-block dl:last-of-type {
    margin-bottom: 5em;
  }

  #news-block dt {
    width: 110px;
  }

  #news-block dd span {
    padding: .5em 0;
    width: 90px;
  }

  #contact-block {
    opacity: 0;
    transition: all .8s ease-in-out;
  }

  #contact-block.active {
    opacity: 1;
  }
}
