@charset "utf-8";

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

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

hgroup{
  text-align: center;
  margin:0 auto;
  position: relative;
  height: 500px;
  overflow: hidden;
}
h1#top_title {
  font-size: clamp(1.5rem, 1.209rem + 1.45vw, 2.3rem);
  font-weight: 700;
  color:#fff;
  z-index: 1;
  position: absolute;
  top:calc(50% - 2rem);
  left: 50%;
	transform: translateX(-50%);
  text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}

h1#top_title span{
  font-size:clamp(1.2rem, 0.982rem + 1.09vw, 1.8rem);
}

#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(2, 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(1rem, 0.818rem + 0.91vw, 1.5rem);
  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;
  }
  hgroup{
    height:auto;
  }
  #story nav {
  padding: 0 10px 100px 10px;
  }
  #story nav menu {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    grid-template-columns: repeat(2, 1fr); 
  }
  #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;
}

hr{
  margin:30px 0 80px 0;
}

@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 h3{
  margin-bottom:30px;
}

.mamapan h4{
  margin-bottom:30px;
  font-size:clamp(1rem, 0.818rem + 0.91vw, 1.5rem);
  font-weight: 600;
}

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

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

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

.text_center{
  text-align: center;
}

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

.mamapan a:hover{
  color:inherit;
}


@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;
  }
 
}

/*============================================*/
/*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; 
}

menu.navigation_box li {
  padding:20px 15px;
}

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;
}