@charset "utf-8";

@font-face {
	font-family: 'Jost';
	src: url(/lib/fonts/Jost-Italic-VariableFont_wght.ttf) format('truetype');
	src: url(/lib/fonts/Jost-VariableFont_wght.ttf) format('truetype');
	font-weight: 100 900;
}

body{
    background-image: url(/info/local/images/taikenkai/bg.jpg);
  }
  .article-map h1 {
    position: relative;
    margin-top: 45px;
    font-size: 45px;
  }
  .article-map h1 + p {
    position: relative;
    margin-top: 30px;
    margin-bottom: 50px;
  }
  .article-map h1 + p::before {
    position: absolute;
    content: "";
    background: url(/info/local/images/taikenkai/tablet-youji.png) no-repeat;
    background-size: contain;
    padding: 70px;
    width: 250px;
    height: 20px;
    left: 5%;
    top: -82px;
    transform: rotate(-5deg);
  }
  .article-map h1 + p::after {
    position: absolute;
    content: "";
    background: url(/info/local/images/taikenkai/tablet-syogaku.png) no-repeat;
    background-size: contain;
    padding: 70px;
    width: 250px;
    height: 20px;
    right: 0;
    top: -70px;
    transform: rotate(5deg);
  }
  @media screen and (max-width: 900px) {
    .article-map h1 + p::before,
    .article-map h1 + p::after {
      display: none;
    }
  }

  /* アコーディオンレイアウト */

  details.navigation{
    background: rgba(255,255,255,0.8);
    max-width: 1000px;
    margin: 0 auto 30px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.1);
    animation: 0.3 ease all;
    border: 1px solid #ddd;
    box-shadow: 0px 1px 3px rgb(169,152,152,0.1);
  }

  details.navigation > summary{
    position: relative;
    font-weight: bold;
    font-size: 25px;
    text-align: center;
    color: #5B3535;
    line-height: 1.1;
    background-color: #fff;
    cursor: pointer;
    padding: 20px 30px 20px;
    outline: none;
  }

  details.navigation > summary span {
    font-weight: normal;
    font-size: 16px;
    margin-top: 10px;
  }
  @media screen and (max-width: 480px) {
    details.navigation > summary span {
      display: block;
      margin-top: 10px;
      line-height: 1.4;
      font-size: 12px;
    }
  }

  details.navigation > summary#link-taikenkai-online::before {
    position: absolute;
    content: "";
    background: url(/info/local/images/taikenkai/icon-online.svg) no-repeat;
    background-size: contain;
    padding: 40px;
    left: 4%;
    top: calc(50% - 40px);
  }
  details.navigation > summary#link-taikenkai-onsight::before {
    position: absolute;
    content: "";
    background: url(/info/local/images/taikenkai/icon-onsight.svg) no-repeat;
    background-size: contain;
    padding: 40px;
    left: 4%;
    top: calc(50% - 40px);
  }
  details.navigation > summary#link-taikenkai-video::before {
    position: absolute;
    content: "";
    background: url(/info/local/images/taikenkai/icon-video.svg) no-repeat;
    background-size: contain;
    padding: 40px;
    left: 4%;
    top: calc(50% - 40px);
  }
  @media screen and (max-width: 480px) {
    details.navigation > summary#link-taikenkai-online::before,
    details.navigation > summary#link-taikenkai-onsight::before,
    details.navigation > summary#link-taikenkai-video::before {
      padding: 32px;
      top: calc(50% - 32px);
      left: 2%;
    }
  }


summary {
  display: block;
}
/* Chrome、Safari */
summary::-webkit-details-marker {
  display: none;
}

  details.navigation > .content{
    width: 95%;
  }
  details.navigation[open] > summary{
    height: 104px;
    border-bottom: 1px solid #ddd;
    border-top: 4px solid #5a3535;
  }

  @media screen and (max-width: 480px){
    .article-map h1 {
      margin-top: 30px;
      font-size: 30px;
    }
    .article-map h1::before {
      left: 15%;
    }
    .article-map h1 + p {
      margin-top: 10px;
      margin-bottom: 10px;
    }
    .article-map h1 + p::before,
    .article-map h1 + p::after { display: none;}
    details.navigation{
      background: rgba(255,255,255,1.0);
    }
    details.navigation > summary{
      text-align: left;
      font-size: 25px !important;
      padding: 20px 20px 20px 80px;
      height: 100px;
    }
    details.navigation[open] > summary{
      box-shadow: 0px 1px 9px rgba(0,0,0,0.3);
    }
  }
  details.navigation > div{
    animation: fadeIn 0.3s ease;
  }
  @keyframes fadeIn {
    0% {
      opacity: 0; /* 透明 */
    }
    100% {
      opacity: 1;
      transform: none;
    }
  }
  @media screen and (max-width: 480px){
    details.navigation{
      border-radius: 0px;
      margin-bottom: 10px;
    }
  }