@charset "utf-8";

/*============================================*/
/*看板周辺 */
/*============================================*/

.l-body{
  margin-top:0;
}

hgroup{
  text-align: center;
  margin:0 auto;
}
h1#top_title {
  font-size: clamp(1.8rem, 1rem + 4vw, 4rem);
  font-weight: 700;
  color:#fff;
  z-index: 1;
  position: absolute;
  top:calc(50% - 5rem);
  left: 50%;
	transform: translateX(-50%);
  text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}

#introduction picture {
  display:block;
  margin:0 auto 40px auto;
}

#introduction p, #story p {
  text-align: center;
  font-size:1rem;
  padding-bottom:50px;
  font-weight: 500;
}

#story nav {
  padding: 0 0 150px 0;
  max-width:1160px;
  margin:0 auto;
}

#story nav menu {
  list-style-type: none;
  padding-left: 0;
  display: grid;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  grid-template-rows: column;
  grid-template-columns: repeat(5, 1fr); 
}

#story nav menu li {
  background-color:#333;
  border-radius: 0.5rem;
  text-align: center;
  padding:8px 5px;
}

#story nav menu li a {
  color:#fff;
  font-size: clamp(0.8rem, 0.727rem + 0.36vw, 1rem);
  font-weight: 600;
}

#story nav menu li a span {
  font-size:0.8rem;
}


@media (max-width: 767px) {
  .c-header-tertiary{
    position:relative;
    margin-top:74px;
  }
  #story nav {
  padding: 0 10px 100px 10px;
  }
  #story nav menu {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    grid-template-columns: repeat(2, 1fr); 
  }
  h1#top_title {
    top:calc(50% - 7rem);
  }
  #story nav menu {
    grid-template-columns: repeat(2, 1fr); 
  }
}

/*============================================*/
/*レイアウト */
/*============================================*/

.mamapan {
  overflow: hidden;
  color:#333; 
  background-color: #fff;
  font-size: 1rem;
  line-height:2.2rem;      
}

.article_frame {
  display:block;
  margin:0 auto;
  max-width:1200px;
  padding: 0 20px 100px 20px;
  overflow: hidden;
  background-color: #fff;
}

#story, #backnumber {
  padding-top:50px; /*ページ内リンクがちょうどよい場所にとぶようにする*/
}

.grd_gp20 {
  display: grid;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  grid-template-columns: repeat(auto-fit);
  justify-content: center;
}

/*均等2分割*/
.grd_col_2fr {
  grid-template-columns: repeat(2, 1fr);  
}

/*3：2分割*/
.grd_col_3_2 {
    grid-template-columns: 3fr 2fr;
}

.grd_col_2_3 {
    grid-template-columns: 2fr 3fr;
}

.grd_col_1_3 {
    grid-template-columns: 1fr 3fr;
}

/*均等2分割 写真が右*/
.grd_col_2fr_r {
  grid-template-columns: repeat(2, 1fr);  
  grid-template-areas:
  "areaA areaB";
}

/*均等3分割*/
.grd_col_3fr {
  grid-template-columns: repeat(3, 1fr); 
}

/*均等4分割*/
.grd_col_4fr {
  grid-template-columns: repeat(4, 1fr);  
}

/*均等5分割*/
.grd_col_5fr {
  grid-template-columns: repeat(5, 1fr);  
}

.grd_itm1 {
  grid-area:areaA;
}

.grd_itm2 {
  grid-area:areaB;
}

.blankb {
  margin-bottom: 20px;
}

.blankb30 {
  margin-bottom:30px;
}

.blankb50 {
  margin-bottom:50px;
}

.blankb80 {
  margin-bottom:80px;
}

.blankb100 {
  margin-bottom:100px;
}

@media (max-width: 767px) {
  .article_frame{
    padding: 0 10px 80px 10px;
  }

  /*スマホ表示の際、分割せず縦並び*/
  .grd_sp1fr {
    grid-template-columns: 1fr;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
  }

  /*スマホ表示の際、均等2分割横並び*/
  .grd_sp2fr {
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
  }

  .grd_col_2fr_r {
    grid-template-areas:
    "areaB"
    "areaA";
  }

  .blankb {
    margin-bottom: 10px;
  } 
}

/*============================================*/
/*見出しその他 */
/*============================================*/

.mamapan h2, .mamapan h3 {
  text-align: center;
  position: relative;
}

.mamapan h2{
  font-size: clamp(1.2rem, 0.909rem + 1.45vw, 2rem); 
  font-weight: 600; 
  margin-bottom:50px;
}

.mamapan h3{
  font-size: clamp(1.1rem, 0.955rem + 0.73vw, 1.5rem);
  font-weight: 700;
  z-index:1;
  margin-bottom:30px; 
}

.mamapan h2::before {
    content: '';
    position: absolute;
    top: calc(50% - 1px);
    width: 100%;
    height: 1.5px;
    background: #666;
    left:0;
}

.mamapan h2 span{
  position: relative;
  display:inline-block;
  padding: 0 1em;
  background: #fff;
}

.mamapan h3::before{
  position: absolute;
  bottom: calc(50% - 1.5rem);
  left: 50%;
	transform: translateX(-50%);
  z-index: -1;
  color: #d6d6d6;
  font-size: 3em;
  line-height: 1;
  content: attr(data-word);
  pointer-events: none;
}

.mamapan h4 {
  margin-bottom:30px;
  font-size: clamp(0.9rem, 0.791rem + 0.55vw, 1.2rem);
  font-weight:600;
  position:relative;
}

.mamapan h4 span{
  display: inline-block;
  position: relative;
  padding: 0 .4em .2em;
  color: #333333;
}

.mamapan h4 span::before{
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #333;
  content: '';
}

.mamapan p {
  font-size: clamp(0.9rem, 0.864rem + 0.18vw, 1rem);
  font-weight: 500;
  line-height: 1.5rem;
}

.annotation{
  font-size: 0.8rem;
  font-style: italic;
  line-height:1.3rem;
}

.mamapan ruby{
  letter-spacing: normal;
}

.mamapan rt{
  font-size: clamp(0.6rem, 0.527rem + 0.36vw, 0.8rem);
  margin-bottom:5px;
}

.mamapan figure img{
  margin-bottom: 10px;
}

.mamapan figcaption{
  font-size: clamp(0.8rem, 0.727rem + 0.36vw, 1rem);
  margin-top:5px;
  line-height: 1.5rem;
  color:#333;
}

.mamapan figcaption h4{
  margin-bottom:10px;
  font-size: clamp(0.9rem, 0.791rem + 0.55vw, 1.2rem);
  font-weight:600;
}

.mamapan figcaption p{
  font-size:clamp(0.9rem, 0.864rem + 0.18vw, 1rem);
}

.mamapan strong{
  font-weight: 700;
}

.text_center{
  text-align: center;
}

.mamapan a{
  text-decoration: none;
  cursor: pointer;
}

.mamapan a:hover{
  color:inherit;
}

.mamapan dl{
  font-size: clamp(0.9rem, 0.864rem + 0.18vw, 1rem);
  position:relative;
}

.mamapan dt.question{
  font-weight: 600;
  padding-left:1rem;
  margin-bottom:10px
}

.mamapan dt.question::before{
  content:'-';
  position: absolute;
  left:0;
}

.mamapan dd.answer{
  margin-bottom:30px;
}

.mamapan dd.answer p{
  font-size:clamp(0.9rem, 0.864rem + 0.18vw, 1rem);
}


@media (max-width: 767px) {
  h1#top_title, .mamapan h2, .mamapan h3, .mamapan h4, .mamapan p{
    width: auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
    word-wrap: break-word;
  }

  .mamapan h4 {
    margin-bottom:10px;
  }
 
}

/*============================================*/
/*PCスマホ切替 */
/*============================================*/

@media only screen and (min-width : 320px) {
  .pc_h {
    display: none;
  }

  .smp_h {
    display: inline;
  }
}

@media only screen and (min-width : 768px) {
  .pc_h {
    display: inline;
  }

  .smp_h {
    display: none;
  }
}

@media only screen and (min-width : 1200px) {
  .pc_h {
    display: inline;
  }

  .smp_h {
    display: none;
  }
}

/*============================================*/
/*ボタン */
/*============================================*/

.btn_basic {
  font-size: clamp(0.8rem, 0.727rem + 0.36vw, 1rem); 
  padding: 1rem 2rem;
  font-weight: 700;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  border-radius: 0.5rem;
  background-color: #333;
  border: 1px solid #333;
  margin-bottom:80px;
  width:100%;
}

.btn_basic:hover {
  transform:translateY(3px);
}

a.btn_basic:hover {
  color:#fff;
}

/*============================================*/
/*SNS */
/*============================================*/

.excursion_sns {
  background-color: #f1f1f1;
}

.sns_wrap {
  max-width: 1200px;
  margin:0 auto;
}

.sns_frame {
  width:60%;
  margin:0 auto; 
  text-align: center;
  grid-template-columns: 4fr 3fr 3fr 3fr;
  padding: 70px 0;
}

.sns_frame li:first-child {
  text-align: left;
  height:-webkit-min-content;
  height:-moz-min-content;
  height:min-content;
  border-right: solid 1px #333;
}

.sns_frame img {
  width:40%;
}

.sns_frame h5 {
  font-family: serif;
  font-size: clamp(1.1rem, 0.955rem + 0.73vw, 1.5rem);
  font-weight: bold;
  margin: 20px 0px;
  text-align: center; 
}

.sns_frame h6 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.8rem;
  font-weight: normal;
  margin-bottom: 20px;
  line-height:1.1rem
}

.sns_frame p{
  font-size: 0.75rem;
  text-align:left;
  line-height:1rem;
}

.sns_frame a {
  color:#333;
}

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

  .sns_frame {
      width:70%;
      height:-webkit-min-content;
      height:-moz-min-content;
      height:min-content;
  }

  .sns_frame img {
      width:70%;
  }

  .sns_frame h5{
      margin:8px;
  }

  .sns_frame h6, .sns_frame p {
      display:none;
      height:0;
  }
}

/*-------------ページリンク--------------*/

nav.navigation {
  margin:50px 0 30px 0;
  padding: 10px;
  max-width:1200px;
  border-bottom:1px solid #333;
  border-top:1px solid #333; 
}

menu.navigation_box {
  list-style-type: none;
  padding-left: 0;
  display: grid;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  grid-template-rows: column;
  grid-template-columns: 2fr 1fr 2fr; 
  position:relative;
}

menu.navigation_box li {
  padding:20px 15px;
  font-size: clamp(0.8rem, 0.582rem + 1.09vw, 1.4rem);
}

menu.navigation_box li:first-child {
  text-align: left;
}

menu.navigation_box li:nth-child(2) {
  text-align: center;
}

menu.navigation_box li:last-child {
  text-align: right;
}

menu.navigation_box li:nth-child(2), menu.navigation_box li:last-child{
  border-left:1px solid #333;
}