@charset "UTF=8";

/*-header-*/
.header_contents{
  margin-top: 80px;
  margin-bottom: 100px;
}

.g_nav{
margin-top: 80px;
}

h1 {
  /*-font-size: 2.5rem;-*/
  margin-left: 30px;
}

ul li {
  font-size: 1.5rem;
  margin-right: 70px;
  align-items: center;
}

.list {
  align-items: center;
}

.mv01 {
  margin-left: auto;
  margin-right: auto;
  width: 640px;
  margin-bottom: 80px;
}

/*-main-*/
.shrine_mv {
  margin-bottom: 150px;
}

dl {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 95px;
}

dt {
  font-size: 1.5rem;
  width: 30%;
  padding: 20px 0;
  margin-bottom: 10px;
}

dt::before {
  content: ""; /* 空の要素作成 */
  width: 40px; /* 幅指定 */
  height: 40px; /* 高さ指定 */
  display: inline-block; /* インラインブロックにする */
  position: relative; /* アイコンの位置を調整 */
  margin: 0 30px; /* 余白指定 */
  background-image: url(../images/icon.png); /* アイコン指定 */
  background-size: contain; /* アイコンの大きさ指定 */
  background-repeat: no-repeat; /* アイコンをリピートしないようにする */
  vertical-align: middle; /* アイコンの位置を調整 */
}

dd {
  width: 70%;
  padding: 25px 0;
  margin-bottom: 10px;
  line-height: 2.5;
}

.shrine_cp {
  width: 70%;
}

.shrine_sp {
  width: 28%;
}

h2 {
  margin-bottom: 95px;
  font-size: 1.5rem;
}

h2::before {
  content: ""; /* 空の要素作成 */
  width: 40px; /* 幅指定 */
  height: 40px; /* 高さ指定 */
  display: inline-block; /* インラインブロックにする */
  position: relative; /* アイコンの位置を調整 */
  margin: 0 30px; /* 余白指定 */
  background-image: url(../images/icon.png); /* アイコン指定 */
  background-size: contain; /* アイコンの大きさ指定 */
  background-repeat: no-repeat; /* アイコンをリピートしないようにする */
  vertical-align: middle; /* アイコンの位置を調整 */
}

.shrine_desgin {
  margin-bottom: 125px;
}

/*-footer-*/

footer {
  background-color: #17695e;
  color: #fafafa;
}

#footer {
  position: relative;
  z-index: 2;
}

footer {
  background-color: #17695e;
  color: #fafafa;
}

.f_navi {
  padding: 70px 0;
}

.f_navi li a {
  color: #fafafa;
}

.f_navi {
  padding: 70px 0;
  margin-left: 30px;
}

@media screen and (max-width: 1280px) {
  /*　画面サイズが1024pxからはここを読み込む　*/
  /*-h1 a {
    color: green;
  }-*/

  .f_color {
    background-color: #17695e;
  }
}

@media screen and (max-width: 768px) {
  /*　画面サイズが768pxから1024pxまではここを読み込む　*/
  /*-h1 a {
    color: blue;
  }-*/
}

@media screen and (max-width: 480px) {
  /*　画面サイズが480pxからはここを読み込む　*/

  h2 {
    margin: 20px;
  }

  .inner {
    width: auto;
  }

  img {
    width: 100%;
    height: auto;
  }

  .ds_f {
    display: block;
  }

  .header_contents {
    margin-top: 0px;
    padding-top: 20px;
    margin-bottom: 20px;
  }


  .sp_cp {
    display: block;
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }

  .sp_sp {
    display: block;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }

  .shrine_mv {
    margin-bottom: 30px;
  }

  dt::before {
    content: none;
  }

  dt {
    font-size: 1.25rem;
    padding: 0px;
    margin-bottom: 0px;
  }

  dd {
    width: 70%;
    padding: 0px;
    margin-bottom: 35px;
    line-height: 1.5;
  }

  .item_contents,
  .shrine_desgin {
    margin: 15px;
  }

  dl {
    margin-bottom: 20px;
  }

  h2::before {
    content: none;
  }

  h2 {
    margin-left: 15px;
  }

  .shrine_desgin {
    margin-bottom: 30px;
  }

  .shrine_desgin img {
    vertical-align: top;
  }

  /*-br {
        display: none;
    }-*/

  .aaa {
    display: none;
  }

  ul li {
    margin-right: 0px;
  }

  /*========= ナビゲーションのためのCSS ===============*/

  #g-nav {
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: -120%;
    left: 0;
    width: 100%;
    height: 100vh;
    /*ナビの高さ*/
    background: #999;
    /*動き*/
    transition: all 0.6s;
  }

  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive {
    top: 0;
  }

  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    /*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  /*ナビゲーション*/
  #g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /*リストのレイアウト設定*/

  #g-nav li {
    list-style: none;
    text-align: center;
  }

  #g-nav li a {
    color: #333;
    text-decoration: none;
    padding: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
  }

  /*========= ボタンのためのCSS ===============*/
  .openbtn1 {
    position: fixed;
    z-index: 9999;
    /*ボタンを最前面に*/
    top: 20px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }

  /*×に変化*/
  .openbtn1 span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #666;
    width: 45%;
  }

  .openbtn1 span:nth-of-type(1) {
    top: 15px;
  }

  .openbtn1 span:nth-of-type(2) {
    top: 23px;
  }

  .openbtn1 span:nth-of-type(3) {
    top: 31px;
  }

  .openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }

  .openbtn1.active span:nth-of-type(2) {
    opacity: 0;
  }

  .openbtn1.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }
}
