@charset "UTF-8";

/* =====================================================================
 * contents
 * =================================================================== */
header {
  position: static;
}
#contents {
  margin: 0;
}
.fixed {
  height: 90px;
}
.fixed h1 a {
  width: 232px;
  height: 43px;
}
body:not(#index) h2 {
  display: inherit;
  margin-bottom: 0;
  height: auto;
  background: none;
  background-size: inherit!important;
  letter-spacing: 1px;
} 
body#episode h2 {
  padding: 1em;
  text-align: center;
  line-height: 1.3;
  font-family: 'Raleway', sans-serif;
  font-size: 2.8rem;
  font-weight: 500;
  color: #fff;
}
h2 span {
  display: block;
  margin-top: .3em;
  font-family: "Noto Sans JP", "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", 'メイリオ', Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 1.5rem;
}
.leading__img {
  width: 100%;
  height: 35vw;
  background: url(images/topimage.jpg) no-repeat center 46%;
  background-size: cover!important;
}
.leading__head {
  width: 100%;
  background: #c7a1b3;
}
.menu-ep {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: repeat(3, 256px);
  gap: 16px;
  place-content: center;
  padding: 0 calc((100% - 1100px) / 2);
  width: 100%;
  height: 80px;  
}
.menu-ep__item a {
  display: block;
  padding: .25em;
  border: solid 1px #ab951d;
  text-align: center;
  font-size: 1.5rem;
  color: #ab951d;
  transition: .4s;
}
.menu-ep__item a span {
  margin-right: 2px;
  font-family: 'Raleway', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
}
.menu-ep.myFixed {
  height: 64px;
  z-index: 2;
  transition: .4s;
}
.menu-ep.myFixed::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-bottom: solid 1px #eee;
  background: rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: -1;
}
.menu-ep.myFixed .menu-ep__item a {
  padding: 0;
  font-size: 1.4rem;
}
.menu-ep.myFixed .menu-ep__item a span {
  font-size: 1.3rem;
}
.menu-ep__item a.active, .menu-ep__item a.active:hover {
  background: #ab951d;
  color: #fff;
}
.menu-ep .menu-ep__item a {
  transition: .4s;
}
.menu-ep__item a:hover {
  opacity: .55;
}
.menu-ep__item a.active:hover {
  opacity: 1;
}
section, section:last-of-type {
  padding: 120px 0 150px;
  background: #f5f4ed;
}
section.turn-area {
  background: #fff;
}
.article__head {
  margin-bottom: 80px;
  text-align: center;
}
.article__head-sub {
  margin-top: .85em;
  font-size: 1.9rem;
}
.ep-ttl__number {
  font-size: 3.2rem;
}
.ep-ttl__number span {
  font-size: 5.5rem;
}
.ep-ttl__place {
  font-size: 2.0rem;
}
.article__body + .article__body {
  margin-top: 160px;
}
.article__letter {
  display: grid;
  place-items: center;
  margin: 150px 0;
}
.article__txt {
  width: 405px;
  text-align: left;
  line-height: 2.3;
}
.article__txt + .article__txt {
  margin-top: 85px;
}
.one-img {
  display: grid;
  place-items: center;  
}
.staff-comment {
  position: relative;
  display: block;
  padding: 35px 45px;
  border: solid 1px #ab951d;
}
.comment {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
}
.comment__head {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  color: #af2835;
}
.outline {
  padding-top: 150px;
}
.outline__head {
  text-align: center;
  font-size: 1.6rem;
}
.outline__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 48px;
  margin-top: 80px;
  text-align: center;
}
.item-branch__img {
  margin-bottom: 32px;
}
.item-branch__name {
  line-height: 1.5;
  color: #ab951d;  
}
.see-btn a {
  padding: .7em;
  border: solid 1px #ab951d;
}
.ep-section .fair-link.see-btn {
  margin-top: 40px;
  text-align: center;
}
.ep-section .fair-link.see-btn a {
  padding: 1.65em;
}
.ep-section .fair-link.see-btn a span {
  display: inline-block;
  vertical-align: middle;
  margin: 0 .35em;
  font-size: 1.6rem;
}
.branch-name-nagano {
  width: 124px;
  height: 15px;
  background: url(images/nagano_line_logo_s.svg) no-repeat;
  background-size: contain;  
}
.ep-section .fair-link.see-btn a:hover .branch-name-nagano {
  background: url(images/nagano_line_logo_w.svg) no-repeat;
}
.branch-name-saku {
  width: 164px;
  height: 15px;
  background: url(images/sakudaira_line_logo_s.svg) no-repeat;
  background-size: contain;  
}
.ep-section .fair-link.see-btn a:hover .branch-name-saku {
  background: url(images/sakudaira_line_logo_w.svg) no-repeat;
}
.article.inner {
  overflow: visible;
}
.wrap {
  display: flex;
}
.fits {
  justify-content: space-between;
}
.newline {
  display: inline-block;
}
.viewbox {
  opacity: 0;
  transition: all 1.5s;
}
.fedeup.viewbox {
  transition: all 1.3s;
  transform: translateY(30px);
}
.inview {
  opacity: 1;
}
.fedeup.inview {
  transform: translateY(0);
}
.mask {
  -webkit-mask-image: url(images/mask.png);
  mask-image: url(images/mask.png);
  mask-mode: alpha;
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: auto 200%;
  mask-size: auto 200%;
  opacity: 0;
  z-index: 0;
}
.mask.on {
  -webkit-animation: 2s mask-animation cubic-bezier(0, 0.4, 0.48, 1) 0s forwards;
  animation: 2s mask-animation cubic-bezier(0, 0.4, 0.48, 1) 0s forwards;
}
@-webkit-keyframes mask-animation {
  0% {
    -webkit-mask-position: center bottom;
    mask-position: center bottom;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  to {
    -webkit-mask-position: center 0%;
    mask-position: center 0%;
    -webkit-mask-size: auto 500%;
    mask-size: auto 500%;
    opacity: 1;
  }
}
@keyframes mask-animation {
  0% {
    -webkit-mask-position: center bottom;
    mask-position: center bottom;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  to {
    -webkit-mask-position: center 0%;
    mask-position: center 0%;
    -webkit-mask-size: auto 500%;
    mask-size: auto 500%;
    opacity: 1;
  }
}

/* =====================================================================
 * mediaqueries
 * =================================================================== */
@media screen and (max-width: 1279px) {
  .inner {
    width: 1060px;
  }
  .menu-ep__item a:hover {
    opacity: 1;
  }
}
@media screen and (max-width: 1099px) {
  #contents {
    margin-top: 0;
  }
  .inner {
    width: 100%;
  }
  .leading__img {
    height: 65vw;
  }
  .menu-ep {
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
    padding: 0 60px;
  }
  .menu-ep__item a {
    padding: .45em;
  }
  section, section:last-of-type {
    padding: 80px 0 110px;
  }
  .article__body:not(.staff-comment) {
    padding: 0 30px;    
  }
  .article__body + .article__body {
    margin-top: 115px;
  }
  .article__letter {
    margin: 110px 0;
  }
  .article__txt + .article__txt {
    margin-top: 65px;
  }
  .outline {
    padding-top: 110px;
  }
  .outline__list {
    column-gap: 2.5%;
    margin-top: 60px;
  }
  .item-branch__img {
    margin-bottom: 22px;
  }
  .see-btn a {
    padding: .5em;
  }
  .ep-section .fair-link.see-btn {
    margin-top: 30px;
  }
}
@media screen and (max-width: 767px) {
  body#episode h2 {
    font-size: 2.5rem;
  }
  .menu-ep {
    gap: 8px;
    padding: 0 30px;
    height: 60px;
  }
  .menu-ep.myFixed {
    height: 50px;
  }
  .menu-ep__item a {
    padding: .15em 0;
  }
  section, section:last-of-type {
    padding: 60px 0 80px;
  }
  .article__head {
    margin-bottom: 55px;
  }
  .article__head-ttl {
    line-height: 1.5;
  }
  .ep-ttl__number {
    font-size: 2.7rem;
  }
  .ep-ttl__number span {
    font-size: 4.4rem;
  }
  .ep-ttl__place {
    font-size: 1.8rem;
  }
  .ep-ttl__place {
    display: inline-block;
    margin-left: 14px;
  }
  .article__body:not(.staff-comment) {
    padding: 0;    
  }
  .article__letter {
    margin: 70px 0;
  }
  .article__body + .article__body {
    margin-top: 80px;
  }
  .article__txt + .article__txt {
    margin-top: 30px;
  }
  .staff-comment {
    padding: 25px;
  }
  .comment {
    grid-template-columns: 1fr;
  }
  .comment__head {
    margin-bottom: .25em;
  }
  .outline {
    padding-top: 80px;
  }
  .outline__list {
    margin-top: 40px;
  }
  .ep-section .fair-link.see-btn a {
    padding: 1.1em;
  }
}
@media screen and (max-width: 600px) {
  .outline__list {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 40px;
    margin-top: 30px;
  }
  .item-branch__img img {
    width: 100%;
  }
  .see-btn a {
    padding: .4em;
  }
}
@media screen and (max-width: 479px) {
  body#episode h2 {
    padding: .7em;
    font-size: 2.1rem;
  }
  body#episode h2 span {
    font-size: 1.3rem;
  }
  .menu-ep {
    gap: 5px;
    padding: 0 20px;
  }
  .menu-ep__item a {
    font-size: 1.3rem;
  }
  .menu-ep.myFixed .menu-ep__item a {
    padding: 0;
    font-size: 1.2rem;
  }
  .menu-ep__item a span {
    font-size: 1.2rem;
  }
  .menu-ep.myFixed .menu-ep__item a span {
    font-size: 1.1rem;
  }
  section, section:last-of-type {
    padding-bottom: 70px;
  }
  .article__head {
    margin-bottom: 40px;
  }
  .article__head-sub {
    margin-top: .7em;
    font-size: 1.6rem;
  }
  .ep-ttl__number {
    font-size: 2.3rem;
  }
  .ep-ttl__number span {
    font-size: 3.9rem;
  }
  .ep-ttl__place {
    font-size: 1.6rem;
  }
  .article__letter {
    margin: 55px 0;
  }
  .article__letter-wrap {
    width: 100%;
  }
  .article__body + .article__body {
    margin-top: 65px;
  }
  .article__txt {
    width: 100%;
  }
  .article__txt + .article__txt {
    margin-top: 20px;
  }
  .outline {
    padding-top: 70px;
  }
  .outline__head {
    font-size: 1.5rem;
  }
  .ep-section .fair-link.see-btn {
    margin-top: 22px;
  }
  .ep-section .fair-link.see-btn a {
    padding: .75em;
    line-height: 1.7;
  }
  .ep-section .fair-link.see-btn a span {
    font-size: 1.4rem;
  }
  .ep-section .fair-link.see-btn a span + span {
    display: block;
  }
  .branch-name-nagano {
    width: 107px;
    height: 13px;
  }
  .branch-name-saku {
    width: 142px;
    height: 13px;
  }
}