@charset "UTF-8";
/* CSS Document */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
}


/*--------home.html--------*/

.home-all-wrapper {
  min-height: 100dvh;
  position: relative;
}

header {
  width: 100%;
  min-width: 850px;
  height: 160px;
  background-color: #F5F5F5;
  margin-bottom: 50px;
}

.home-footer-box {
  position: absolute;
  text-align: center;
  width: 100%;
  background-color: #F5F5F5;
  bottom: 0;
  min-width: 850px;
}

.home-footer-text {
  padding: 10px 0;
}

.hfot-main-p {
  color: #828282;
  font-size: 1rem;
  line-height: 0;
}

.header-contentbox {
  width: 820px;
  margin: 0 auto;
}

.header-logo {
  width: 150px;
  height: auto;
  margin: 20px 0 0 10px;
  position: absolute; 
}

.logout-home-btn {
  border-radius: 10px;
  font-size: 0.8rem;
  color: #FFFFFF;
  background: #828282 20px 45% no-repeat;
  background-size: auto 25px;
  line-height: 1rem;
}

.logout-home-btn a {
  color: #FFFFFF;
  display: block;
  padding: 12px 16px 12px 50px;
}

.guide-home-btn {
  border-radius: 10px;
  font-size: 0.8rem;
  color: #FFFFFF;
  background: #54A5D6 18px 45% no-repeat;
  background-size: auto 25px;
  line-height: 1rem;
  margin: 0 10px 0 0;
}

.guide-home-btn a {
  color: #FFFFFF;
  display: block;
  padding: 12px 20px 12px 50px;
}

.logout-home-btn-box {
  padding: 65px 10px 65px 0;
  display: flex;
  justify-content: flex-end;
}

.home-blue-icon-btn {
  width: 120px;
  height: 120px;
  border-radius: 15px;
  background-color: #54A5D6;
  position: relative;
}

.home-pink-icon-btn {
  width: 120px;
  height: 120px;
  border-radius: 15px;
  background-color: #FF9C89;
  position: relative;
}

.home-green-icon-btn {
  width: 120px;
  height: 120px;
  border-radius: 15px;
  background-color: #40C6BA;
  position: relative;
}

.home-icon {
  width: 90px;
  height: 90px;
  padding: 15px;
}

.home-alliconbox {
  width: 850px;
  margin: 0 auto;
  padding-bottom: 100px;
}

.home-icon-btn-text {
  font-size: 0.8rem;
  line-height: 1rem;
  letter-spacing: -0.05rem;
  color: #646464;
  margin: 10px 0 0 0;
  font-feature-settings: "palt";
}

.home-flexbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.home-iconbox {
  margin: 0 25px 30px 25px;
  width: 120px;
}

.home-icon-btn-textbox {
  display: flex;
  justify-content: center;
}


/*通知マーク*/

.notice {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -15px;
  left: calc(100% - 25px);
  color: #828282;
  font-weight: bold;
  text-align: center;
  background-color: #FFFFFF;
  border-radius: 50%;
  min-width: 20px;
  padding: 3px;
  box-sizing: border-box;
  width: 45px;
  height: 45px;
  font-size: 0.85rem;
  box-shadow: 0 0 0 3px #FFFFFF;
  border: solid 2px #A0A0A0;
}


/*お知らせアコーディオン*/


.home-explanation-accordion {
  width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  letter-spacing: 0.1rem;
  border-radius: 10px;
  margin-bottom: 50px;
}

.home-explanation-accordion:not([open]) {
  margin-bottom: 50px;
}

.home-explanation-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 0.8em 2em;
  border-radius: 10px;
  background-color: #FFFFFF;
  border: solid 2.5px #54A5D6;
  color: #54A5D6;
  font-weight: bold;
  cursor: pointer;
}

.home-explanation-title::-webkit-details-marker {
  display: none;
}

.home-explanation-title::before,
.home-explanation-title::after {
  width: 2px;
  height: .9em;
  border-radius: 5px;
  background-color: #54A5D6;
  content: '';
}

.home-explanation-title::before {
  position: absolute;
  right: 2em;
  rotate: 90deg;
}

.home-explanation-title::after {
  transition: rotate .3s;
  position: absolute;
  right: 35px;
}

.home-explanation-accordion[open] .home-explanation-title::after {
  rotate: 90deg;
}

.home-explanation-subtitle {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0 0 0 55px;
  padding: 10px 30px 0 30px;
  color: #40C6BA;
}

.home-explanation-flexbox {
  display: flex;
  margin: 0 30px 20px 30px;
}

.home-explanation {
  font-size: 1rem;
  color: #646464;
  margin: 0;
  padding-left: 30px;
  line-height: 1.3rem;
}

.home-explanation-day {
  font-size: 1rem;
  width: 90px;
  color: #646464;
  margin: 0;
  padding: 1px 0 0 38px;
  position: relative;
}

.home-explanation-day::before {
  content: "";
  background-image: url("../img/osirase-icon.svg");
  display: inline-block;
  position: absolute;
  width: 30px;
  height: 30px;
  left: 0;
  top: -5px;
}

.home-explanation-accordion[open] .home-explanation-title {
  transform: none;
  opacity: 1;
}

.home-explanation-box {
  margin: 20px auto 0 auto;
  position: relative;
  border-bottom: 2.5px solid #54A5D6;
}

.home-explanation-endbox {
  padding: 5px 10px 60px 10px;
  background-color: #F9F9F9;
}

.home-explanation-box::before,
.home-explanation-box::after {
  position: absolute;
  left: 130px;
  bottom: -15px;
  width: 40px;
  height: 15px;
  clip-path: polygon(0 0, 100% 0,50% 100%);
  content: "";
}

.home-explanation-box::before {
  background-color: #54A5D6;
}

.home-explanation-box::after {
  bottom: -12.5px;
  background-color: #FFFFFF;
}

.home-explanation-end {
  background-color: #FF9C89;
  color: #FFFFFF;
  text-align: center;
  font-size: 1.3rem;
  padding: 20px 0px;
  border-radius: 10px;
}


/*--------useguide.html--------*/


.useguide-all {
  margin: 50px 0;
}

.useguide-title {
  font-size: 1.5rem;
  color: #646464;
  letter-spacing: 0.1rem;
  margin-bottom: 50px;
  text-align: center;
}


/*メニューの使い方アコーディオン*/

.useguide-explanation-accordion {
  max-width: 100%;  
  background-color: #FFFFFF;
  font-size: 1.1rem;
  letter-spacing: 0.1rem;
  border-radius: 10px;
}

.useguide-explanation-accordion:not([open]) {
  margin-bottom: 20px;
}

.useguide-explanation-title {
  position: relative;
  padding: 1.8em 2em;
  border-radius: 10px;
  background-color: #FFFFFF;
  color: #54A5D6;
  border: solid 3px #54A5D6;
  font-weight: bold;
  cursor: pointer;
  font-size: 1.2rem;
  list-style: none;
}

.useguide-explanation-title::-webkit-details-marker {
  display: none;
}

.useguide-explanation-title::before,
.useguide-explanation-title::after {
  width: 3px;
  height: .9em;
  border-radius: 5px;
  background-color: #54A5D6;
  content: '';
}

.useguide-explanation-title::before {
  position: absolute;
  right: 2em;
  rotate: 90deg;
}

.useguide-explanation-title::after {
  transition: rotate .3s;
  position: absolute;
  right: 38px;
}

.useguide-explanation-accordion[open] .useguide-explanation-title::after {
  rotate: 90deg;
}

.useguide-explanation-accordion[open] .useguide-explanation-title {
  transform: none;
  opacity: 1;
}

.useguide-explanation-box {
  padding: 30px 0px 50px 0px;
}

/*アコーディオンここまで*/


.mg-btn {
  width: 45px;
  height: 45px;
  border-radius: 50px;
  color: #FFFFFF;
  background: 10px 50% no-repeat;
  background-size: auto 25px;
}

.mg-flexbox {
  display: flex;
  border-bottom: dotted 2px #A0A0A0;
}

.mg-content-title {
  font-size: 1.1rem;
  letter-spacing: 0.1rem;
  color: #828282;
  padding: 0 0 5px 15px;
}

.mg-content-explanation {
  font-size: 0.95rem;
  color: #828282;
  line-height: 1.3rem;
  margin-bottom: 15px;
}

.mg-content {
  margin-bottom: 30px;
  background-color: #F9F9F9;
  padding: 15px 30px;
  border-radius: 10px;
}




/*モーダルウィンドウ*/


.mg-under-content {
  width: 32%;
  height: 120px;
  border-radius: 10px;
  font-size: 1.1rem;
  letter-spacing: 0.05rem;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.mg-center {
  margin: 0 2%;
}

.mg-under-flexbox {
  display: flex;
  flex-wrap: wrap;
}

.mg-under-content input {
  display: none;
}

/*利用規約*/

.mg-rule {
  border: solid 3px #54A5D6;
  color: #54A5D6;
}

.mg-rule-modal-open-label,
.mg-rule-modal-close-label {
  cursor: pointer;
}

.mg-rule-modal-open-label {
  font-size: 1.2rem;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.mg-rule-modal-open-label:hover {
  cursor: pointer;
}

.mg-rule-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}

.mg-rule-modal-open-input:checked + label + input + .mg-rule-modal {
  display: block;
  animation: mg-rule-modal-animation .6s;
}

.mg-rule-modal-content-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 80%;
  max-width: 800px;
  background-color: #FFFFFF;
  z-index: 2;
  border-radius: 8px;
  overflow: scroll;
}

.mg-rule-modal-close-label {
  color: #828282;
  width: 36px;
  height: 36px;
  line-height: 1.5;
  text-align: center;
  display: flex;
  position: -webkit-sticky;
  position: sticky;
  top: 3%;
  left: 93%;
  z-index: 99999;
  font-size: 1.7em;
}

.mg-rule-modal-content {
  padding: 50px 70px 70px 70px;
  color: #646464;
}

.ruletext-head {
  font-size: 1.2rem;
  font-weight: bold;
  background-color: #646464;
  padding: 15px;
  color: #FFFFFF;
  margin: 0 0 30px 0;
  border-radius: 8px;
  text-align: center;
}

.ruletext-main {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
}

.ruletext-sub.is-right {
  text-align: right;
  margin: 30px 0 0 0;
}

.ruletext-sub {
  font-size: 0.9rem;
  margin: 8px 0 25px 0;
  line-height: 1.4rem;
}

.mg-rule-modal-img {
  width: 100%;
  height: auto;
}

.mg-rule-modal-img-cap {
  font-size: 1rem;
  color: #646464;
  margin: 10px 0 0 0;
  line-height: 2.1rem;
}

.mg-rule-modal-background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #828282;
  opacity: 0.6;
  z-index: 1;
}

@keyframes mg-rule-modal-animation {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

@media only screen and (max-width: 520px) {
    .mg-rule-modal-open-label {
        max-width: 90%;
        padding: .94em 2.1em .94em 2.6em;
    }

    .mg-rule-modal-close-label {
        top: 3%;
        left: 93%;
    }

    .mg-rule-modal-content-wrap {
        width: 90vw;
    }

    .mg-rule-modal-content {
        padding: 33px 21px 35px;
        max-width: 100%;
    }
}


/*やくそく*/


/*モーダルウィンドウ*/

.mg-promise {
  border: solid 3px #FF9C89;
  color: #FF9C89;
}

.mg-promise-modal-open-label,
.mg-promise-modal-close-label {
  cursor: pointer;
}

.mg-promise-modal-open-label {
  font-size: 1.2rem;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  line-height: 2.5;
}

.mg-promise-modal-open-label:hover {
  cursor: pointer;
}

.mg-promise-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}

.mg-promise-modal-open-input:checked + label + input + .mg-promise-modal {
  display: block;
  animation: mg-promise-modal-animation .6s;
}

.mg-promise-modal-content-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 80%;
  max-width: 800px;
  background-color: #FFFFFF;
  z-index: 2;
  border-radius: 8px;
  overflow: scroll
}

.mg-promise-modal-close-label {
  color: #828282;
  width: 36px;
  height: 36px;
  line-height: 1.5;
  text-align: center;
  display: flex;
  position: -webkit-sticky;
  position: sticky;
  top: 3%;
  left: 93%;
  z-index: 99999;
  font-size: 1.7em;
}

.mg-promise-modal-content {
  padding: 60px 80px;
  color: #646464;
}

.promise-head {
  font-size: 1.6rem;
  font-weight: bold;
  background-color: #54A5D6;
  padding: 15px;
  color: #FFFFFF;
  margin: 0 0 30px 0;
  border-radius: 8px;
  text-align: center;
}

.promise-content {
  counter-reset: counter;
  list-style: none;
  padding: 0;
}
  
.promise-content li {
  color: #54A5D6;
  font-size: 1.6rem;
  margin: 0 0 10px 0;
  font-weight: bold;
  padding-left: 67px;
  position: relative;
}
  
.promise-content li::before {
  content: counter(counter);
  counter-increment: counter;
  background-color: #54A5D6;
  color: #FFFFFF;
  line-height: 1.75;
  text-align: center;
  border-radius: 50%;
  font-size: 1.5rem;
  margin: 0 10px 0 10px;
  position: absolute;
  top: 10px;
  left: 0;
  width: 45px;
  height: 45px;
}

.promisetext-main {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 5px 0 0 80px;
  color: #54A5D6;
  line-height: 2rem;
}

.promise-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
  text-align: center;
  background-color: #54A5D6;
  position: absolute;
  margin: 0 0 0 10px;
}

.promise-circle span {
  font-size: 1.5rem;
  color: #FFFFFF;
  font-weight: bold;
  line-height: 1rem;
}

.mg-promise-modal-img-cap {
  font-size: 1rem;
  color: #646464;
  margin: 10px 0 0 0;
  line-height: 2.1rem;
}

.mg-promise-modal-background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #828282;
  opacity: 0.6;
  z-index: 1;
}

@keyframes mg-promise-modal-animation {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

@media only screen and (max-width: 520px) {
    .mg-promise-modal-open-label {
        max-width: 90%;
        padding: .94em 2.1em .94em 2.6em;
    }

    .mg-promise-modal-close-label {
        top: 3%;
        left: 93%;
    }

    .mg-promise-modal-content-wrap {
        width: 90vw;
    }

    .mg-promise-modal-content {
        padding: 33px 21px 35px;
        max-width: 100%;
    }
}


/*動画の説明*/


.mg-movie {
  border: solid 3px #40C6BA;
  color: #40C6BA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}


/*--------useguide-movie.html--------*/


.usemovie-all {
  margin: 50px 0;
}

.usemovie-title {
  font-size: 1.5rem;
  color: #646464;
  letter-spacing: 0.1rem;
  margin-bottom: 40px;
  text-align: center;
}

.usemovie-comment {
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: 15px;
  padding: 15px 0;
  background-color: #F5F5F5;
  color: #A0A0A0;
  margin: 0 0 30px 0;
  letter-spacing: .1rem;
  border-radius: 50px;
  align-items: flex-end;
}

.usemovie-comment::before {
  position: absolute;
  bottom: -10px;
  width: 40px;
  height: 15px;
  background-color: #F5F5F5;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: '';
}

.usemovie-contents {
  color: #646464;
  font-size: 1.3rem;
  letter-spacing: 0.1rem;
  margin: 25px 0 0 0;
  border-radius: 10px;
  display: flex;
  align-items: baseline;
  padding: 0 30px 0 0;
  border: 3px solid #A0A0A0;
}

.usemovie-contents::after {
  content: "▶";
  color: #FFFFFF;
  padding: 10px 14px 10px 18px;
  background-color: #40C6BA;
  font-size: 1rem;
  border-radius: 5px;
  margin: 0 0 0 auto;
}

/*
.usemovie-contents:nth-child(3n) {
  border: 3px solid #40C6BA;
}

.usemovie-contents:nth-child(3n+1) {
  border: 3px solid #54A5D6;
}

.usemovie-contents:nth-child(3n+2) {
  border: 3px solid #FF9C89;
}
*/

.usemovie-contents a {
  color: #646464;
  display: block;
  padding: 20px 0px 20px 30px;
  width: 100%;
}



/*コンテンツ画面共通css*/

a {
  text-decoration: none;
}

.content-all-wrapper {
  display: flex;
  width: 100%;
  margin: 0 auto;
}

/*ページャー*/
.pager-box {
  width: 100%;
  margin: 20px auto;
}

.pager-list {
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  justify-content: center;
  margin: 70px 0 0 0;
}

.pager-item {
  min-width: 30px;
  margin: 0 5px;
  list-style: none;
  text-align: center;
  border: 2px solid #54A5D6;
  background-color: #FFFFFF;
  border-radius: 7px;
}

.pager-link {
  font-size: 1rem;
  display: block;
  padding: 5px 7px;
  color: #54A5D6;
}

.pager-item-active {
  background-color: #54A5D6;
  min-width: 2em;
  margin: 0 5px;
  list-style: none;
  text-align: center;
  border: 2px solid #54A5D6;
  border-radius: 7px;
}

.pager-link-active {
  font-size: 1.1rem;
  display: block;
  padding: 5px 7px;
  color: #FFFFFF;
}

.content-rightarea-wrapper {
  position: relative;
  width: 70%;
  background-color: #FFFFFF;
  padding: 10px 30px 40px 30px;
  margin: 0 auto;
  box-sizing: border-box;
  min-width: 720px;
}

.content-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #F5F5F5;
  width: 280px;
  height: auto;
  padding: 40px 15px 0px 15px;
  box-sizing: border-box;
  position: relative;
}

.giga-logo {
  width: 170px;
  height: auto;
  margin: 0 0 35px 0;
}

/* タイトル */
.feature-title {
  background-color: #54A5D6;
  color: #FFFFFF;
  padding: 20px 0 20px 40px;
  margin: 40px 0 35px 0;
  font-size: 1.4rem;
  border-radius: 8px;
  letter-spacing: 0.1rem;
}

/* リード文 */
.page-explanation {
  font-size: 1.1rem;
  line-height: 1.7rem;
  color: #646464;
  margin-bottom: 40px;
}
.page-explanation.nipposyo-explanation {
  margin-bottom: 20px;
}

/* リード文（網掛け） */
.lead-sentence {
  margin: 0 0 40px 0;
  background-color: #F9F9F9;
  padding: 30px;
  border-radius: 12px;
}
.lead-sentence h3 {
  color: #646464;
  padding: 0 0 5px 0;
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.8;
}
.lead-sentence p {
  color: #646464;
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.8;
}

/* 大見出し */
.headline {
  color: #646462;
  margin: 50px 0 30px 0;
  border-bottom: dotted 6px #54A5D6;
  font-size: 1.8rem;
  padding: 0 0 10px 10px;
  letter-spacing: 0.1rem;
}

/* 中見出し */
.subindex {
  color: #54A5D6;
  background-color: #F9F9F9;
  border-left: solid 15px #54A5D6;
  padding: 15px 0px 15px 20px;
  font-size: 1.1rem;
  font-weight: bold;
  box-shadow: 5px 5px 5px -2px rgba(160, 160, 160, 0.31);
  margin: 50px 0 30px 0;
}

/* 前に戻るボタン */
.content-back {
  color: #54A5D6;
  font-size: 1rem;
  padding: 25px 0px 15px 30px;
  margin: 0;
  letter-spacing: 0.1rem;
  border-bottom: solid #F5F5F5;
  position: relative;
}
.content-back a {
  color: #54A5D6;
  cursor: pointer;
}
.content-back.content-back-under {
/*  padding: 25px 0px 20px 30px;*/
  border-top: solid #F5F5F5;
  border-bottom: none;
  margin: 40px 0 0 0;
}
.content-back::before,
.content-back::after {
  position: absolute;
  content: '';
}
.content-back::before {
  left: 0;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  background-color: #54A5D6;
}
.content-back::after {
  left: 0.75em;
  top: 1.95em;
  transform: translateX(-75%) rotate(135deg);
  width: 0.25em;
  height: 0.25em;
  border-bottom: 2.5px solid #FFFFFF;
  border-right: 2.5px solid #FFFFFF;
}

.niigatafile-box {
  max-width: 900px;
  margin: 0 auto;
}
.niigatafile-textbox {
  margin-bottom: 40px;
}
.niigatafile-textbox p {
  font-size: 1.1rem;
  line-height: 2.2;
  color: #646464;
  margin-top: 20px;
}


/*メニューのcss*/


.menu-footer {
  text-align: center;
  width: 100%;
  margin: 0 0 20px 0;
}

.mfot-main-p {
  color: #828282;
  font-size: 1rem;
  line-height: 1.7rem;
  margin: 0;
}

.menu-btn {
  width: 220px;
  height: auto;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #FFFFFF;
  background: 20px 50% no-repeat;
  background-size: auto 30px;
  line-height: 1.2rem;
  margin-bottom: 20px;
}

.menu-btn a {
  color: #FFFFFF;
  display: block;
  padding: 16px 10px 16px 60px;
  font-feature-settings: "palt";
}

.menu-btn.return {
  margin-bottom: 40px;
}


/*コンテンツ画面右側・タイトル部分のcss*/

/*--------nicquiz.html--------*/


.nicquiz-title {
  font-size: 1.8rem;
  color: #54A5D6;
  letter-spacing: 0.1rem;
  line-height: 1.8rem;
  padding: 75px 0 20px 110px;
  background: 10px 75% no-repeat;
  background-size: auto 85px;
  border-bottom: solid 3px #54A5D6;
}

.nicquiz-title-line {
  border-bottom: solid 3px #54A5D6;
  margin: 15px 0 40px 0;
}

.nicquiz-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 41px;
  text-align: center;
  background-color: #54A5D6;
  position: absolute;
  left: 0;
  margin: -5px 0 0 45px;
}

.nicquiz-circle span {
  font-size: 1.6rem;
  color: #FFFFFF;
  font-weight: bold;
}


.nicquiz-answertap {
  display: flex;
  align-items: center;
  color: #FF9C89;
  font-size: 1.3rem;
  margin: 60px 30px 0 30px;
}

.nicquiz-answertap::before, 
.nicquiz-answertap::after {
  width: 2.5px;
  height: 25px;
  background-color: #FF9C89;
  content: "";
}

.nicquiz-answertap::before {
  transform: rotate(-35deg);
  margin-right: 40px;
}

.nicquiz-answertap::after {
  transform: rotate(35deg);
  margin-left: 40px;
}

.nicquiz-q {
  margin: 0px 10px 20px 80px;
  font-size: 1.4rem;
  color: #646464;
  font-weight: bold;
  line-height: 2.1rem;
}

.nicquiz-an {
  margin: 50px 0px;
  border-top: dotted 5px #54A5D6;
}

.nicquiz-all {
  margin: 30px 0 0 0;
}

.nicquiz-box {
  border-top: dotted 5px #54A5D6;
  margin: 30px 0 0 0;
  padding: 50px 0 0 0;
  background: 95% 57% no-repeat;
  background-size: auto 35%;
  height: 100vh;
}

.nicquiz-a label {
  cursor: pointer;
  position: absolute;
  width: 90%;
  height: 25%;
}

.nicquiz-a input {
  display: none;
}

.nicquiz-a input+div {
  color: #54A5D6;
  background: #54A5D6;
  padding: 50px 60px;
  border-radius: 10px;
  margin: 20px 20px 0 20px;
}

.nicquiz-a input:checked+div {
  color: #FFFFFF;
  background: #54A5D6;
  padding: 50px 60px;
  border-radius: 10px;
  margin: 20px 20px 0 20px;
}

.nicquiz-a input:checked+h2 {
  color: #54A5D6;
}

.nic-main-a {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0 0 15px 0;
/*  border-bottom: solid 2px #FFFFFF;*/
  padding: 0 0 10px 0;
}

.nic-sub-a {
  font-size: 1.1rem;
  line-height: 1.7rem;
  margin: 0;
}

.nic-quiz-answerplus img {
  display: block;
  margin: 20px auto 0;
}

/*アコーディオン*/


.nic-quiz-accordion {
  max-width: 100%;  
  background-color: #FFFFFF;
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  border: solid 4px #54A5D6;
  border-radius: 10px;
  margin-top: 50px;
}

.nic-quiz-question {
  position: relative;
  padding: 1em 2em;
  border-radius: 5px 5px 0 0;
  background-color: #54A5D6;
  color: #FFFFFF;
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  text-align: center;
}

.nic-quiz-question::-webkit-details-marker {
  display: none;
}

.nic-quiz-question::after {
  transform: translateY(-25%) rotate(45deg);
  width: 7px;
  height: 7px;
  margin: 0 0 0 20px;
  border-bottom: 3px solid #FFFFFF;
  border-right: 3px solid #FFFFFF;
  content: "";
  transition: transform .3s;
  position: absolute;
  top: 25px;
}

.nic-quiz-accordion[open] .nic-quiz-question::after {
  transform: rotate(225deg);
}

.nic-quiz-answer .nic-quiz-answerplus {
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: 1em 2em 2em 2em;
  transition: transform .5s, opacity .5s;
}

.nic-quiz-answer {
  font-size: 1.5rem;
  color: #54A5D6;
  font-weight: bold;
  margin: 0;
  padding: 0px 5px 5px 5px;
  line-height: 2.4rem;
  background: linear-gradient(transparent 93%, #FF9C89 93%);
}

.nic-textbox {
  padding: 40px 70px 0 70px;
}

.nic-quiz-answerplus {
  font-size: 1.1rem;
  color: #646464;
  margin: 0;
  padding: 30px 0;
  line-height: 2.2;
}

.nic-quiz-accordion[open] .nic-quiz-question {
  transform: none;
  opacity: 1;
}

/*アコーディオンここまで*/

.otherquiz-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 60px auto;
  border: none;
  border-radius: 10px;
  background-color: #54A5D6;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  box-shadow: 0 10px 0 0 #4194C8;
}

.otherquiz-btn a {
  color: #FFFFFF;
  padding: 15px 120px;
}


/*--------nicquiz-list.html--------*/



.nicquiz-check {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FF9C89;
  font-size: 1rem;
  margin: 0 65px 0 0;
}

.nicquiz-check::before, 
.nicquiz-check::after {
  width: 2.5px;
  height: 25px;
  background-color: #FF9C89;
  content: "";
}

.nicquiz-check::before {
  transform: rotate(-35deg);
  margin-right: 25px;
}

.nicquiz-check::after {
  transform: rotate(35deg);
  margin-left: 25px;
}

/*ニックちゃんクイズの使い方　モーダル*/


.allnicquiz-box {
  letter-spacing: 0.05rem;
  box-sizing: border-box;
}

.allnicquiz-box input {
  display: none;
}

.nicquiz-modal-open-label,
.nicquiz-modal-close-label {
  cursor: pointer;
}

.nicquiz-modal-open-label {
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-weight: bold;
  color: #828282;
  margin: 30px 10px 0 0;
}

.nicquiz-modal-open-label span {
  background: #FFFFFF 7px 7px no-repeat;
  padding: 5px 8px 8px 38px;
  background-size: auto 25px;
  font-size: 1rem;
}

.nicquiz-modal-open-label:hover {
  cursor: pointer;
}

.nicquiz-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}

.nicquiz-modal-open-input:checked + label + input + .nicquiz-modal {
  display: block;
  animation: nicquiz-modal-animation .6s;
}

.nicquiz-modal-content-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 80%;
  max-width: 800px;
  background-color: #FFFFFF;
  z-index: 2;
  border-radius: 8px;
  overflow: scroll;
}

.nicquiz-modal-close-label {
  color: #828282;
  width: 36px;
  height: 36px;
  line-height: 1.5;
  text-align: center;
  display: flex;
  position: -webkit-sticky;
  position: sticky;
  top: 3%;
  left: 93%;
  z-index: 99999;
  font-size: 1.7em;
}

.nicquiz-modal-content {
  padding: 10px 80px 70px 80px;
  color: #646464;
}

.nicquiz-modal-background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #828282;
  opacity: 0.6;
  z-index: 1;
}

@keyframes nicquiz-modal-animation {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

@media only screen and (max-width: 520px) {
    .nicquiz-modal-open-label {
        max-width: 90%;
        padding: .94em 2.1em .94em 2.6em;
    }

    .nicquiz-modal-close-label {
        top: 3%;
        left: 93%;
    }

    .nicquiz-modal-content-wrap {
        width: 90vw;
    }

    .nicquiz-modal-content {
        padding: 33px 21px 35px;
        max-width: 100%;
    }
}


.nicquiz-explanation-subtitle {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 0 0 55px;
  padding: 10px 30px 10px 5px;
  color: #54A5D6;
}

.nicquiz-explanation {
  font-size: 1.1rem;
  font-weight: bold;
  color: #646464;
  margin: 0;
  padding: 15px 30px 10px 0;
  line-height: 1.7rem;
}

.nicquiz-explanation-box {
  margin: 40px 10px 50px 10px;
  position: relative;
  border-bottom: 3px solid #54A5D6;
}

.blue-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  line-height: 42px;
  text-align: center;
  background-color: #54A5D6;
  position: absolute;
  margin: 0;
  top: 4px;
}

.blue-circle span {
  font-size: 1.3rem;
  color: #FFFFFF;
  font-weight: bold;
}

.nicquiz-explanation-img {
  width: 100%;
  height: auto;
  margin: 20px 0 50px 0;
  border: solid 3px #F5F5F5;
  border-radius: 10px;
}

.nicquiz-explanation-box::before,
.nicquiz-explanation-box::after {
  position: absolute;
  left: 50px;
  bottom: -15px;
  width: 40px;
  height: 15px;
  clip-path: polygon(0 0, 100% 0,50% 100%);
  content: "";
}

.nicquiz-explanation.nic-explanation2 {
  padding: 15px 30px 50px 0;
}

.nicquiz-explanation-box::before {
  background-color: #54A5D6;
}

.nicquiz-explanation-box::after {
  bottom: -11px;
  background-color: #FFFFFF;
}

.nicquiz-explanation-end {
  color: #54A5D6;
  text-align: center;
  font-size: 1.5rem;
  margin: 70px 0px 40px 0;
}

.nic-quiz-explanation-end {
  background-color: #FF9C89;
  color: #FFFFFF;
  text-align: center;
  font-size: 1.3rem;
  padding: 20px 0px;
  border-radius: 10px;
}

/*ニックちゃんクイズの使い方　モーダルここまで*/


.nicquiz-listbox {
  padding: 0px 30px 0px 10px;
}

.nicquizlist-head {
  background-color: #54A5D6;
  color: #FFFFFF;
  padding: 20px 0 20px 40px;
  margin-bottom: 35px;
  font-size: 1.5rem;
  border-radius: 8px;
  letter-spacing: 0.1rem;
}

.nicquiz-ul {
    list-style-type: none;
  padding: 0;
}

.nicquizlist-text {
  color: #54A5D6;
  font-size: 1.3rem;
  margin: 0;
  letter-spacing: 0.1rem;
  border-bottom: solid #F5F5F5;
  align-items: center;
  position: relative;
  font-weight: bold;
  line-height: 1.8rem;
}

.nicquizlist-text a {
  color: #828282;
  display: block;
  padding: 23px 0px 20px 80px;
}
.nicquizlist-text a.is-new::after {
  content: "New";
  color: #FF684B;
  font-size: 1.1rem;
  margin: 0 0 0 10px;
}


.niclist-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  line-height: 35px;
  text-align: center;
  background-color: #54A5D6;
  position: absolute;
  margin: 13px 0 0 20px;
  left: 0;
  top: 0;
}

.niclist-circle span {
  font-size: 1.4rem;
  color: #FFFFFF;
  font-weight: bold;
}



/*--------fumu-worksheet.html--------*/


.fumu-worksheet-title {
  font-size: 1.8rem;
  color: #54A5D6;
  letter-spacing: 0.1rem;
  line-height: 1.8rem;
  padding: 60px 0 20px 75px;
  background: 10px 75% no-repeat;
  background-size: auto 75px;
  border-bottom: solid 3px #54A5D6;
}

.fumu-worksheet-title-line {
  border-bottom: solid 3px #54A5D6;
  margin: 15px 0 40px 0;
}



/*タブのcssここから*/
.fumu-categorybox {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.fumu-categorybox > label {
  flex: 1 1;/*flexアイテムの伸ばす＆縮む比率を指定*/
  order: -1;/*flexアイテムの順番を変更？*/
  position: relative;
  min-width: 70px;
  padding: 15px 10px;
  background-color: #f5f5f5;
  color: #828282;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.1rem;
  text-align: center;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
  margin: 5px;
}

.fumu-categorybox > label:hover,/*hoverされたとき*/
.fumu-categorybox label:has(:checked) {  /*チェックされたとき*/
  background-color: #54A5D6;
  color: #FFFFFF;
}

.fumu-categorybox label:has(:checked)::before { /*吹き出し部分*/
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 10px;
  background-color: #54A5D6;
  content: '';
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.fumu-categorybox input {
  display: none;/*ラジオボタンを見えなくする*/
}

.fumu-categorybox > div {
  display: none;
  width: 100%;
}


.fumu-categorybox label:has(:checked) + div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/*
.fumu-categorybox .fumu-all:has(:checked) ~ div,
.fumu-categorybox label:has(:checked) + div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
*/

/*タブのcssここまで*/

.fumuwork-content-head {
  background-color: #F5F5F5;
  color: #646464;
  font-size: 1.3rem;
  letter-spacing: 0.1rem;
  margin: 0;
/*  margin: 23px 0 0 0;*/
/*  position: relative;*/
}


.fumuwork-content-head a.is-new::after {
  content: "New";
  color: #FF684B;
  font-size: 1.1rem;
  margin: 0 0 0 10px;
}

.fumuwork-contentbox:nth-child(3n) {
  border-left: 20px solid #40C6BA;
  border-bottom: 2px solid #40C6BA;
}

.fumuwork-contentbox:nth-child(3n+1) {
  border-left: 20px solid #54A5D6;
  border-bottom: 2px solid #54A5D6;
}

.fumuwork-contentbox:nth-child(3n+2) {
  border-left: 20px solid #FF9C89;
  border-bottom: 2px solid #FF9C89;
}

.fumuwork-content-head a {
  color: #646464;
  display: block;
  padding: 15px 0px 15px 30px;
}

.fumuwork-answer {
  color: #646464;
  font-size: 0.8rem;
  margin-left: 30px;
  background-color: #FFFFFF;
  padding: 11px 16px;
  position: absolute;
  top: 19%;
  right: 25px;
  letter-spacing: 0.1rem;
  border-radius: 50px;
  box-shadow: 3px 2px 4px 0 #82828240;
  font-weight: bold;
}

.fumuwork-contentbox {
  position: relative;
  margin: 23px 0 0 0;
}







/*--------niigatafile.html--------*/


.niigatafile-title {
  font-size: 1.8rem;
  color: #54A5D6;
  letter-spacing: 0.1rem;
  line-height: 1.8rem;
  padding: 60px 0 20px 80px;
  background: 10px 65% no-repeat;
  background-size: auto 65px;
  border-bottom: solid 3px #54A5D6;
}

.nfile-content-head {
  background-color: #F5F5F5;
  color: #646464;
  font-size: 1.3rem;
  letter-spacing: 0.1rem;
  margin: 23px 0 0 0;
}

.nfile-content-head:nth-child(3n) {
  border-left: 20px solid #40C6BA;
  border-bottom: 2px solid #40C6BA;
}

.nfile-content-head:nth-child(3n+1) {
  border-left: 20px solid #54A5D6;
  border-bottom: 2px solid #54A5D6;
}

.nfile-content-head:nth-child(3n+2) {
  border-left: 20px solid #FF9C89;
  border-bottom: 2px solid #FF9C89;
}

.nfile-content-head a {
  color: #646464;
  display: block;
  padding: 15px 0px 15px 30px;
}

.nfile-content-head a.is-new::after {
  content: "New";
  color: #FF684B;
  font-size: 1.1rem;
  margin: 0 0 0 10px;
}



/*--------nipponews.html--------*/


/*iosでのルビの距離指定*/

body.is-ios rt {
  transform: translateY(0.7em);
}

.nipponews-title {
  font-size: 1.8rem;
  color: #54A5D6;
  letter-spacing: 0.1rem;
  line-height: 1.8rem;
  background: 10px 80% no-repeat;
  background-size: auto 70px;
  border-bottom: solid 3px #54A5D6;
}

.nn-title2 {
  padding: 60px 10px 20px 95px;
  min-width: 560px;
}

.nipponews-subtitle {
  margin: 60px 0 10px 0;
  color: #646464;
  font-size: 1.4rem;
}

.nipponews-content-heading {
  padding: 10px 10px 10px 25px;
  border-left: 30px solid #54A5D6;
  border-bottom: 3px solid #54A5D6;
  background-color: #F5F5F5;
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  margin-bottom: 30px;
}

.nipponews-content-title {
  font-size: 1.6rem;
  color: #54A5D6;
  margin: 0;
  line-height: 1.8;
}

.nipponews-content-subtitle {
  font-size: 1.2rem;
  color: #54A5D6;
  font-weight: lighter;
  margin: 0;
}

.nipponews-content-subtitle-box {
  margin: 0 35px 0 20px;
}

/*ルビのcss*/

.no-ruby rp,
.no-ruby rt {
  display: none;
}

.nipponews-content-subtitle ruby {
  margin: 0;
}

.title-ruby {
  font-size: 0.8rem;
  color: #54A5D6;
}

.subtitle-ruby {
  font-size: 0.7rem;
  color: #54A5D6;
}

.text-change-box {
  display: flex;
}


/*トグルボタン横のメッセージ*/

.toggle-title {
  color: #A0A0A0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  margin: 0 10px 0 0;
}


/*トグルボタンここから*/

.toggle-button {
  display: flex;
  align-items: center;
  position: relative;
  width: 80px;
  height: 40px;
  border-radius: 50px;
  box-sizing: content-box;
  background-color: #A0A0A033;
  cursor: pointer;
  transition: background-color .4s;
}

.toggle-button:has(:checked) {
  background-color: #40C6BA33;
}

.toggle-button::before {
  position: absolute;
  left: 5px;
  width: 35px;
  height: 33px;
  border-radius: 50%;
  background-color: #A0A0A0;
  content: '';
  transition: left .4s;
}

.toggle-button:has(:checked)::before {
  left: 40px;
  background-color: #40C6BA;
}

.toggle-button::after {
  position: absolute;
  left: 22px;
  transform: translateX(-50%);
  color: #fff;
  font-weight: 600;
  font-size: .9em;
  content: 'OFF';
  transition: left .4s;
}

.toggle-button:has(:checked)::after {
  left: 58px;
  content: 'ON';
}

.toggle-button input {
  display: none;
}

/*トグルボタンここまで*/


.ruby-btn-on {
  background-color: #828282;
  color: #FFFFFF;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0 0 0;
}

.ruby-btn-on a {
  color: #FFFFFF;
  padding: 12px 40px;
}

.text-change {
  background-color: #828282;
  color: #FFFFFF;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-change a {
  color: #FFFFFF;
  padding: 12px 40px;
}

.nipponews-date {
  font-size: 1.2rem;
  color: #646464;
  text-align: right;
  margin: 0 0 0 auto;
  display: flex;
  align-items: center;
}

.nipponews-floatbox {
  margin: 20px 0 20px 20px;
  width: 350px;
  float: right;
}

.nn-imgbox {
  position: relative;
}

.nn-img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.expansion-btn {
  background-color: #828282;
  padding: 5px;
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.8;
  display: flex;
  align-items: center;
  width: 25px;
  height: auto;
}

.more-img-btn {
  font-size: 0.75rem;
  color: #FFFFFF;
  padding: 7px 0 7px 30px;
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 0.8;
  width: 100%;
  background: 60px 50% no-repeat #828282;
  background-size: 22px auto;
  text-align: center;
  box-sizing: border-box;
}

.nn-img-cap {
  font-size: 0.9rem;
  color: #A0A0A0;
  margin: 10px 0 0 0;
  line-height: 1.5rem;
}

/*ルビの切り替え*/
.ruby-change rt {
  display: none;
}

.nipponews-textbox {
  margin-bottom: 60px;
}

/*文字（小）の調整*/
.nipponews-textbox p {
  font-size: 1.1rem;
  line-height: 2.2;
  color: #646464;
  margin-top: 20px;
}

/*文字（大）の調整*/
body.font-large .nipponews-textbox p {
  font-size: 1.3rem;
  line-height: 2.2;
  color: #646464;
  margin-top: 20px;
}


/*モーダルウィンドウ*/

.nn-modalbox input {
  display: none;
}

.nn-modal-open-label,
.nn-modal-close-label {
  cursor: pointer;
}

.nn-modal-open-label {
  font-size: .95em;
}

.nn-modal-open-label:hover {
  cursor: pointer;
}

.nn-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}

.nn-modal-open-input:checked + label + input + .nn-modal {
  display: block;
  animation: nn-modal-animation .6s;
}

.nn-modal-content-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #FFFFFF;
  z-index: 2;
  border-radius: 8px;
  display: flex;
  align-items: center;
}

.nn-modal-content {
  width: 650px;
  height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
  padding: 50px 60px;
  box-sizing: border-box;
}

.nn-modal-close-label {
  background-color: #828282;
  color: #FFFFFF;
  border: 4px solid #FFFFFF;
  border-radius: 50px;
  width: 36px;
  height: 36px;
  line-height: 1.5;
  text-align: center;
  display: table-cell;
  position: fixed;
  top: -15px;
  right: -2%;
  z-index: 99999;
  font-size: 1.4em;
}

.nn-modal-content {
  overflow-y: auto;
  padding: 50px 60px;
}

.nn-modal-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.nn-modal-img-cap {
  font-size: 1rem;
  color: #646464;
  margin: 10px 0 0 0;
  line-height: 1.5rem;
}

.nn-modal-background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #828282;
  opacity: 0.6;
  z-index: 1;
}

@keyframes nn-modal-animation {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

@media only screen and (max-width: 520px) {
    .nn-modal-open-label {
        max-width: 90%;
        padding: .94em 2.1em .94em 2.6em;
    }

    .nn-modal-close-label {
        top: -17px;
        right: -4%;
    }

    .nn-modal-content-wrap {
        width: 90vw;
    }

    .nn-modal-content {
        padding: 33px 21px 35px;
        max-width: 100%;
    }
}

/*モーダルの矢印*/

.nn-modal--prev,
.nn-modal--next {
  position: absolute;
  top: 45%;
  width: 22px;
  height: 22px;
  /* background-color: #828282; */
  /* border-radius: 50px; */
  /* border: solid 4px #fff; */
}
.nn-modal--prev {
  left: 3%;
}
.nn-modal--next {
  right: 3%;
}
.nn-modal--prev::after,
.nn-modal--next::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  border-top: 4px solid #828282;
  border-left: 4px solid #828282;
  border-radius: 4px;
}
.nn-modal--prev::after {
  -webkit-transform: translateX(-30%) translateY(-50%) rotate(-45deg);
  transform: translateX(-30%) translateY(-50%) rotate(-45deg);
}
.nn-modal--next::after {
  -webkit-transform: translateX(-70%) translateY(-50%) rotate(135deg);
  transform: translateX(-70%) translateY(-50%) rotate(135deg);
}

/*モーダルここまで*/

.news-content-allbox {
  max-width: 660px;
  margin: 0 auto;
}



/*--------nipposyo.html--------*/


.nipposyo-title {
  font-size: 2rem;
  color: #54A5D6;
  letter-spacing: 0.1rem;
  line-height: 1.8rem;
  padding: 60px 0 20px 100px;
  background: 10px 100% no-repeat;
  background-size: auto 85px;
  border-bottom: solid 3px #54A5D6;
}

.nipposyo-content-title-box::before,
.nipposyo-content-title-box::after {
  position: absolute;
  /* left: 125px; */
  left: calc(50% - 25px);
  bottom: -15px;
  width: 40px;
  height: 15px;
  clip-path: polygon(0 0, 100% 0,50% 100%);
  content: "";
}

.nipposyo-content-title-box::before {
  background-color: #54A5D6;
}

.nipposyo-content-title-box::after {
  bottom: -11px;
  background-color: #FFFFFF;
}

.nipposyo-title-box {
  margin: 0 0 30px 0;
}

.nipposyo-content-title-box {
  margin: 0 auto;
  position: relative;
  border-bottom: 3px solid #54A5D6;
  /* width: 300px; */
}

.nipposyo-content-heading {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  margin: 0 0 60px 0;
}

.nipposyo-content-title {
  font-size: 1.7rem;
  color: #54A5D6;
  text-align: center;
}

/*direction-btn*/
.direction-btn {
  height: 1.4rem;
  vertical-align: middle;
  transform: rotate(90deg);
  margin: 0 0 0 5px;
}

.is-vertical .direction-btn {
  transform: rotate(0);
}

/*よこがき（小）の文字調整*/
.nipposyo-box p {
  font-size: 1.1rem;
  line-height: 2.2;
  color: #646464;
  margin: 0 0 50px 0;
}

/*よこがき（大）の文字調整*/
body.font-large .nipposyo-box p {
  font-size: 1.3rem;
  line-height: 2.2;
  color: #646464;
  margin: 0 0 50px 0;
}

/*たてがきにする*/
.nipposyo-box.is-vertical {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  overflow: scroll;
  height: 550px;
  width: 100%;
  writing-mode: vertical-rl;
}

/*たてがきの文字調整*/
.nipposyo-box.is-vertical p {
  font-size: 1.2rem;
  line-height: 2.2;
  color: #646464;
  margin: 0 0 50px 30px;
  writing-mode: vertical-rl;
}

/*たてがき（大）の文字調整*/
body.font-large .nipposyo-box.is-vertical p {
  font-size: 1.3rem;
  line-height: 2.1;
  color: #646464;
  margin: 0 0 50px 35px;
}

.nipposyo-box {
  margin-bottom: 50px;
}

.nipposyo-content-all {
  margin: 0 auto;
  padding: 50px 70px 20px 70px;
  border-left: solid 2px #54A5D6;
  border-top: solid 2px #40C6BA;
  border-bottom: solid 2px #40C6BA;
  border-right: solid 2px #54A5D6;
}

.print-btn {
  background-color: #40C6BA;
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 20px 20px 0;
  padding: 0 30px;
  line-height: 2.0;
}

/*文字ボタン（大）選択時*/
.bigtext-btn.is-selected {
  background-color: #40C6BA;
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0px;
  font-size: 1.4rem;
}

/*文字ボタン（小）選択時*/
.smalltext-btn.is-selected {
  background-color: #40C6BA;
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

/*文字ボタン（大）未選択時*/
.bigtext-btn {
  background-color: #A0A0A080;
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0px;
  font-size: 1.4rem;
}

.bigtext-btn a {
  color: #FFFFFF;
  padding: 12px;
}

/*文字ボタン（小）未選択時*/
.smalltext-btn {
  background-color: #A0A0A080;
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.smalltext-btn a {
  color: #FFFFFF;
  padding: 12px 14px;
}

.pastlist-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 60px auto;
}

.pastlist-btn a {
  color: #FFFFFF;
  padding: 15px 70px;
  background-color: #A0A0A0;
  border-radius: 8px;
}

.changebtn-box {
  display: flex;
  justify-content: flex-end;
}


/*--------nipposyo-list.html--------*/


.nipposyo-listbox {
  padding: 30px 10px 0px 10px;
}

.nipposyolist-head {
  background-color: #54A5D6;
  color: #FFFFFF;
  padding: 20px 0 20px 40px;
  margin-bottom: 25px;
  font-size: 1.4rem;
  border-radius: 8px;
  letter-spacing: 0.1rem;
}

.nipposyo-ul {
    list-style-type: none;
  padding: 0;
}

.nipposyolist-text {
  color: #54A5D6;
  font-size: 1.4rem;
  margin: 0;
  letter-spacing: 0.1rem;
  border-bottom: solid #F5F5F5;
  display: flex;
  align-items: center;
  position: relative;
  font-weight: bold;
}

.nipposyolist-text a {
  color: #54A5D6;
  padding: 20px 0px 20px 80px;
  width: 100%;
}

.nipposyolist-text::before,
.nipposyolist-text::after {
    position: absolute;
    content: '';
}

.nipposyolist-text::before {
    left: 0;
    width: 1.2em;
    height: 1.2em;
    border-radius: 50%;
    background-color: #54a5d6;
    margin-left: 35px;
}

.nipposyolist-text::after {
    left: 2.2em;
    transform: translateX(-75%) rotate(-45deg);
    width: 0.25em;
    height: 0.25em;
    border-bottom: 2.5px solid #fff;
    border-right: 2.5px solid #fff;
}

.nipposyolist-arrow {
  position: relative;
  display: inline;
}

.nipposyolist-arrow1 {
  height: 2px;
  background-color: #54A5D6; 
}

.nipposyolist-arrow2 {
  position: absolute;
  top: 0;
  right: 0;
  transform-origin: right bottom;
  width: 20px;
  height: 2px;
  background-color: #54A5D6;
  transform: rotate(45deg);
}




/*--------nipponews-main.html--------*/



/*ニュースの共有方法　モーダル*/


.share-check {
  display: flex;
  align-items: center;
  color: #FF9C89;
  font-size: 1rem;
  margin: 0 35px 0 0;
}

.share-check::before, 
.share-check::after {
  width: 2.5px;
  height: 25px;
  background-color: #FF9C89;
  content: "";
}

.share-check::before {
  transform: rotate(-35deg);
  margin-right: 25px;
}

.share-check::after {
  transform: rotate(35deg);
  margin-left: 25px;
}

.allshare-box {
  letter-spacing: 0.05rem;
  box-sizing: border-box;
}

.allshare-box input {
  display: none;
}

.share-modal-open-label,
.share-modal-close-label {
  cursor: pointer;
}

.share-modal-open-label {
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-weight: bold;
  color: #828282;
  margin: 35px 0 0 0;
}

.share-modal-open-label span {
  background: #FFFFFF 7px 7px no-repeat;
  padding: 5px 0 8px 38px;
  background-size: auto 25px;
  font-size: 1rem;
}

.share-modal-open-label:hover {
  cursor: pointer;
}

.share-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}

.share-modal-open-input:checked + label + input + .share-modal {
  display: block;
  animation: share-modal-animation .6s;
}

.share-modal-content-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 80%;
  max-width: 800px;
  background-color: #FFFFFF;
  z-index: 2;
  border-radius: 8px;
  overflow: scroll;
}

.share-modal-close-label {
  color: #828282;
  width: 36px;
  height: 36px;
  line-height: 1.5;
  text-align: center;
  display: flex;
  position: -webkit-sticky;
  position: sticky;
  top: 3%;
  left: 93%;
  z-index: 99999;
  font-size: 1.7em;
}

.share-modal-content {
  padding: 0 70px 70px 70px;
  color: #646464;
}

.share-modal-background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #828282;
  opacity: 0.6;
  z-index: 1;
}

@keyframes share-modal-animation {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

@media only screen and (max-width: 520px) {
    .share-modal-open-label {
        max-width: 90%;
        padding: .94em 2.1em .94em 2.6em;
    }

    .share-modal-close-label {
        top: 3%;
        left: 93%;
    }

    .share-modal-content-wrap {
        width: 90vw;
    }

    .share-modal-content {
        padding: 33px 21px 35px;
        max-width: 100%;
    }
}

.share-explanation-subtitle {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0 0 0 55px;
  padding: 10px 30px 10px 30px;
  color: #54A5D6;
}

.share-explanation {
  font-size: 1.1rem;
  font-weight: bold;
  color: #646464;
  margin: 10px 0 0 0;
  padding: 15px 30px 10px 30px;
}

.share-explanation-box {
  margin: 40px 10px 30px 10px;
  position: relative;
  border-bottom: 3px solid #54A5D6;
}

.share-explanation-img {
  width: 90%;
  height: auto;
  margin: 20px 0 40px 20px;
}

.share-explanation-box::before,
.share-explanation-box::after {
  position: absolute;
  left: 50px;
  bottom: -15px;
  width: 40px;
  height: 15px;
  clip-path: polygon(0 0, 100% 0,50% 100%);
  content: "";
}

.share-explanation2 {
  padding: 15px 30px 40px 30px;
}

.share-explanation-box::before {
  background-color: #54A5D6;
}

.share-explanation-box::after {
  bottom: -11px;
  background-color: #FFFFFF;
}

.share-explanation-end {
  color: #54A5D6;
  text-align: center;
  font-size: 1.4rem;
  margin: 70px 0px;
}

.share-explanation-end {
  background-color: #FF9C89;
  color: #FFFFFF;
  text-align: center;
  font-size: 1.3rem;
  padding: 20px 0px;
  border-radius: 10px;
}

/*ニュースの共有方法　モーダルここまで*/


.nn-day-text {
  font-size: 1.3rem;
  line-height: 1.7rem;
  color: #646464;
  margin-top: -10px;
}

.mainnews-p {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
}

.all-news {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}

.news-headline {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.mainnews-text {
  font-size: 1.2rem;
  /* letter-spacing: 0.1rem; */
  margin: 10px 0;
  color: #646464;
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
  width: 100%;
}

.mainnews-subtext {
  width: 300px;
  height: auto;
  float: left;
  font-size: 0.9rem;
  margin: 0;
  color: #646464;
}

.mainnews-p-box,.subnews-p-box {
  position: relative;
}

/*写真２枚以上のときにアイコン表示*/
.mainnews-p-box.is-multi::after,
.subnews-p-box.is-multi::after {
  content: "";
  background-image: url("../img/more-img.svg");
  display: inline-block;
  position: absolute;
  width: 23px;
  height: 23px;
  top: 8px;
  right: 12px;
}

.subnews-p {
  width: 100%;
  height: 127px;
  object-fit: cover;
  border-radius: 20px;
}

.news-contentbox {
  box-sizing: border-box;
  padding: 15px;
  width: 33.3%;
  list-style: none;
}

.news-contentbox.--l {
  padding: 15px;
  width: 50%;
}

.subnews-text {
  font-size: 0.9rem;
  margin: 8px 0;
  color: #646464;
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
  width: 100%;
}

.subnews-subtext {
  width: 200px;
  height: auto;
  float: left;
  font-size: 0.8rem;
  margin: 0;
  color: #646464;
}

/*「よんでみる」ボタン（大）　ここから*/
.news-contentbox.--l:nth-child(n+1) .read-button {
  border-radius: 40px;
  border: solid 2px #54A5D6;
  color: #54A5D6;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 60px;
  letter-spacing: 0.05rem;
}

.news-contentbox.--l:nth-child(n+2) .read-button {
  border-radius: 40px;
  border: solid 2px #40C6BA;
  color: #40C6BA;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 60px;
  letter-spacing: 0.05rem;
}
/*「よんでみる」ボタン（大）　ここまで*/


/*「よんでみる」ボタン（小）　ここから*/
.news-contentbox:nth-child(3n+1) .read-button {
  border-radius: 30px;
  border: solid 2px #54A5D6;
  color: #54A5D6;
  font-size: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 7px 40px;
}

.news-contentbox:nth-child(3n+2) .read-button {
  border-radius: 30px;
  border: solid 2px #40C6BA;
  color: #40C6BA;
  font-size: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 7px 40px;
}

.news-contentbox:nth-child(3n) .read-button {
  border-radius: 30px;
  border: solid 2px #FF9C89;
  color: #FF9C89;
  font-size: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 7px 40px;
}
/*「よんでみる」ボタン（小）　ここまで*/


/*--------nipponews-list.html--------*/


.nipponews-listbox {
  max-width: 660px;
  margin: 0 auto;
  padding: 40px 0 0 0;
}


/*--------search.html--------*/

.search-page-explanation {
  margin-bottom: 20px;
}


.check {
  display: flex;
  align-items: center;
  color: #FF9C89;
  font-size: 1rem;
  margin: 0 30px 0 0;
}

.check::before, 
.check::after {
  width: 2.5px;
  height: 25px;
  background-color: #FF9C89;
  content: "";
}

.check::before {
  transform: rotate(-35deg);
  margin-right: 25px;
}

.check::after {
  transform: rotate(35deg);
  margin-left: 25px;
}


/*ニュースのさがしかた　モーダル*/


.allsearch-box {
  letter-spacing: 0.05rem;
  box-sizing: border-box;
}

.allsearch-box input {
  display: none;
}

.search-modal-open-label,
.search-modal-close-label {
  cursor: pointer;
}

.search-modal-open-label {
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-weight: bold;
  color: #828282;
  margin: 0 50px 40px 0;
}

.search-modal-open-label span {
  background: #FFFFFF 7px 7px no-repeat;
  padding: 5px 8px 8px 38px;
  background-size: auto 25px;
  font-size: 1rem;
}

.search-modal-open-label:hover {
  cursor: pointer;
}

.search-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}

.search-modal-open-input:checked + label + input + .search-modal {
  display: block;
  animation: search-modal-animation .6s;
}

.search-modal-content-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 80%;
  max-width: 800px;
  background-color: #FFFFFF;
  z-index: 2;
  border-radius: 8px;
  overflow: scroll;
}

.search-modal-close-label {
  color: #828282;
  width: 36px;
  height: 36px;
  line-height: 1.5;
  text-align: center;
  display: flex;
  position: -webkit-sticky;
  position: sticky;
  top: 3%;
  left: 93%;
  z-index: 99999;
  font-size: 1.7em;
}

.search-modal-content {
  padding: 0 80px 70px 80px;
  color: #646464;
}

.search-modal-background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #828282;
  opacity: 0.6;
  z-index: 1;
}

@keyframes search-modal-animation {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

@media only screen and (max-width: 520px) {
    .search-modal-open-label {
        max-width: 90%;
        padding: .94em 2.1em .94em 2.6em;
    }

    .search-modal-close-label {
        top: 3%;
        left: 93%;
    }

    .search-modal-content-wrap {
        width: 90vw;
    }

    .search-modal-content {
        padding: 33px 21px 35px;
        max-width: 100%;
    }
}


.search-explanation-subtitle {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0 0 0 55px;
  padding: 10px 30px 10px 5px;
  color: #54A5D6;
}

.search-explanation {
  font-size: 1.1rem;
  font-weight: bold;
  color: #646464;
  margin: 10px 0 0 0;
  padding: 15px 30px 10px 30px;
}

.search-explanation-box {
  margin: 40px 10px 50px 10px;
  position: relative;
  border-bottom: 3px solid #54A5D6;
}

.search-explanation-endbox {
  margin-bottom: 50px;
}

.search-explanation-img {
  width: 100%;
  height: auto;
  margin: 20px 0 50px 0;
  border: solid 3px #F5F5F5;
  border-radius: 10px;
}

.search-explanation-box::before,
.search-explanation-box::after {
  position: absolute;
  left: 50px;
  bottom: -15px;
  width: 40px;
  height: 15px;
  clip-path: polygon(0 0, 100% 0,50% 100%);
  content: "";
}

.search-explanation-box::before {
  background-color: #54A5D6;
}

.search-explanation-box::after {
  bottom: -11px;
  background-color: #FFFFFF;
}

.search-explanation-end {
  color: #54A5D6;
  text-align: center;
  font-size: 1.4rem;
  margin: 70px 0px;
  letter-spacing: 0.1rem;
}

/*ニュースのさがしかた　モーダルここまで*/

.search-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-width: 250px;
    margin: 0 auto 100px auto;
    border: none;
    border-radius: 10px;
    background-color: #54A5D6;
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: 0.1rem;
    box-shadow: 0 10px 0 0 #4194C8;
}

.search-tap {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -35px;
    left: -25px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #fff;
    color: #54A5D6;
    font-size: 1.2rem;
    padding: 2px;
    box-shadow: 0 0 0 3.5px #54A5D6;
}

.search-tap::after {
    position: absolute;
    bottom: 15px;
    right: -5px;
    width: 20px;
    height: 20px;
    background-color: #fff;
    clip-path: polygon(40% 0, 100% 100%, 0% 90%);
    content: '';
}

.search-btn a {
    color: #FFFFFF;
    padding: 45px 100px;
}



/*--------school.html--------*/


.school-title {
  font-size: 1.8rem;
  color: #54A5D6;
  letter-spacing: 0.1rem;
  line-height: 1.8rem;
  padding: 60px 0 20px 90px;
  background: 10px 80% no-repeat;
  background-size: auto 65px;
  border-bottom: solid 3px #54A5D6;
}

.school-p {
  text-align: center;
}

.school-p img {
  width: 60%;
  height: auto;
  margin-top: -30px;
}


/*タブのcssここから*/
.school-categorybox {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.school-categorybox li.ns-head {
  width: 100%;
  padding: 10px 0 10px 30px;
  margin: 40px 0 0 -30px;
  letter-spacing: 0.1rem;
  font-size: 1.2rem;
  list-style: none;
  border-bottom: solid 2px #FF684B;
  color: #FF684B;
}

.school-categorybox li.kae-head {
  width: 100%;
  padding: 10px 0 10px 30px;
  margin: 40px 0 0 -30px;
  letter-spacing: 0.2rem;
  font-size: 1.2rem;
  list-style: none;
  border-bottom: solid 2px #FF9C89;
  color: #FF9C89;
}

.school-categorybox li.tyu-head {
  width: 100%;
  padding: 10px 0 10px 30px;
  margin: 40px 0 0 -30px;
  letter-spacing: 0.2rem;
  font-size: 1.2rem;
  list-style: none;
  border-bottom: solid 2px #40C6BA;
  color: #40C6BA;
}

.school-categorybox li.jo-head {
  width: 100%;
  padding: 10px 0 10px 30px;
  margin: 40px 0 0 -30px;
  letter-spacing: 0.2rem;
  font-size: 1.2rem;
  list-style: none;
  border-bottom: solid 2px #54A5D6;
  color: #54A5D6;
}

.school-categorybox > label {
  flex: 1 1;/*flexアイテムの伸ばす＆縮む比率を指定*/
  order: -1;/*flexアイテムの順番を変更？*/
  position: relative;
  min-width: 70px;
  padding: 15px;
  background-color: #f5f5f5;
  color: #828282;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.1rem;
  text-align: center;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
  margin: 5px;
}

.school-categorybox > .school-all:hover,/*「すべてのエリア」がhoverされたとき*/
.school-categorybox .school-all:has(:checked) {  /*「すべてのエリア」がチェックされたとき*/
  background-color: #828282;
  color: #FFFFFF;
}

.school-categorybox .school-all:has(:checked)::before { /*「すべてのエリア」吹き出し部分*/
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 10px;
  background-color: #828282;
  content: '';
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.school-categorybox > .school-ns:hover,/*「新潟・佐渡エリア」がhoverされたとき*/
.school-categorybox .school-ns:has(:checked) {  /*「新潟・佐渡エリア」がチェックされたとき*/
  background-color: #FF684B;
  color: #FFFFFF;
}

.school-categorybox .school-ns:has(:checked)::before { /*「新潟・佐渡エリア」吹き出し部分*/
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 10px;
  background-color: #FF684B;
  content: '';
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.school-categorybox > .school-kae:hover,/*「下越エリア」がhoverされたとき*/
.school-categorybox .school-kae:has(:checked) {  /*「下越エリア」がチェックされたとき*/
  background-color: #FF9C89;
  color: #FFFFFF;
}

.school-categorybox .school-kae:has(:checked)::before { /*「下越エリア」吹き出し部分*/
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 10px;
  background-color: #FF9C89;
  content: '';
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.school-categorybox > .school-tyu:hover,/*「中越エリア」がhoverされたとき*/
.school-categorybox .school-tyu:has(:checked) {  /*「中越エリア」がチェックされたとき*/
  background-color: #40C6BA;
  color: #FFFFFF;
}

.school-categorybox .school-tyu:has(:checked)::before { /*「中越エリア」吹き出し部分*/
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 10px;
  background-color: #40C6BA;
  content: '';
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.school-categorybox > .school-jo:hover,/*「上越エリア」がhoverされたとき*/
.school-categorybox .school-jo:has(:checked) {  /*「上越エリア」がチェックされたとき*/
  background-color: #54A5D6;
  color: #FFFFFF;
}

.school-categorybox .school-jo:has(:checked)::before { /*「上越エリア」吹き出し部分*/
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 10px;
  background-color: #54A5D6;
  content: '';
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.school-categorybox input {
  display: none;/*ラジオボタンを見えなくする*/
}

.school-categorybox > ul {
  display: none;
  width: 100%;
}

.school-categorybox .school-all:has(:checked) ~ ul,
.school-categorybox label:has(:checked) + ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/*タブのcssここまで*/


.school-categorybox ul {
  margin: 0;
}

.school-categorybox li {
  font-size: 1.2rem;
  margin: 0;
  list-style: circle;
  padding: 35px 0 0 0;
  width: calc(50% - 10px); 
}

.school-categorybox p {
  font-size: 1rem;
  margin: 8px 0 0 0;
  color: #A0A0A0;
}

.school-categorybox a {
  color: #646464;
}

.school-contentbox {
  margin: 0 auto;
  max-width: 900px;
}



/*--------rachinani-top.html--------*/


/*-----------------------------------------------------トップページここから*/


#rachi-top {
  margin: 0 auto;
  max-width: 700px;
  padding: 0 50px;
}

#rachi-top img {
  width: 100%;
}

#rachi-top h3 {
/*  font-family: 'M PLUS Rounded 1c', sans-serif;*/
  font-size: 1.6rem;
  color: #fff;
  padding: 25px 0 20px 35px;
  margin: 0;
}

#rachi-top .pagebox {
  margin: 50px 0 100px 0;
}

#rachi-top .top-link:hover {
  opacity: 50%;
}

#rachi-top .rachi-topbox {
  border: 3px solid #418CC4;
  padding: 25px 30px;
}

#rachi-top .rachi-topbox2 {
  height: 140px;
  border: 2px solid #418CC4;
  padding-top: 8px;
}

#rachi-top .rachinani-q {
/*  font-family: 'M PLUS Rounded 1c', sans-serif;*/
  font-size: 1.3rem;
  line-height: 3.2rem;
  margin: 0;
  font-weight: bold;
  color: #000000;
}

#rachi-top .rachinani-q a {
  color: #000000;
  display: block;
}

#rachi-top .rachinani-q a:hover {
  color: #418CC4;
}

#rachi-top .main-titlebox {
  width: 100%;
  background-color: #418CC4;
  margin: 15px 0 0 0;
}


/*-----------------------------------------------------トップページここまで*/

/*-----------------------------------------------------共通部分ここから*/


/*パンくずリスト　ここから*/
.breadcrumb {
  display: flex;
  list-style: none;
  padding: 0;
  font-size: 0.9rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  line-height: 2.5;
}

/*最後には「｜」を入れない*/
.breadcrumb-item:not(:last-child)::after {
  padding: 0 10px;
  content: '|';
  color: #A0A0A0;
}

.breadcrumb-link {
  color: #646464;
  text-decoration: none;
}

.breadcrumb-link-active {
  color: #54A5D6;
  text-decoration: none;
}
/*パンくずリスト　ここまで*/


/*ページトップボタン　ここから*/
.pagetop-btn {
  position: fixed;
  bottom: 5%;
  right: 5%;
  width: 50px;
  height: 50px;
  text-decoration: none;
  background-color: #A0A0A0;
  display: block;
  text-align: center;
  border-radius: 50%;
  z-index: 1;
}

.pagetop-btn::before {
  content: '↑';
  color: #fff;
  font-size: 1.7rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 0 0 2px;
}
/*ページトップボタン　ここまで*/

.rachinani-box {
  margin: 0 auto;
  max-width: 700px;
  padding: 0 50px;
}

.rachinani-box img {
  width: 100%;
}

/*ボタンここから*/

/*
.btn-text {
  font-family: 'M PLUS Rounded 1c', sans-serif;
}
*/

.eps-button {
  margin: 80px 0 200px 0;
}

.button .btn-text {
  background: #ffaf79;
  border-radius: 50px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 260px;
  padding: 10px 25px;
  color: #ffffff;
  transition: 0.3s ease-in-out;
}
.button .btn-text:hover {
  background: #418CC4;
  color: #FFF;
}
/*ボタンここまで*/


/*エピソードボタンここから*/
.eps-button {
  background: #418CC4;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 60px auto 120px auto;
  width: 430px;
  color: #FFFFFF;
  font-size: 1.4rem;
/*  font-family: 'M PLUS Rounded 1c', sans-serif;*/
}

.eps-button a {
  color: #FFFFFF;
  padding: 20px 100px;
}

.eps-button .btn-text:hover {
  background: #F4ABB1;
  color: #FFF;
}
/*エピソードボタンここまで*/

.rachinani-question {
  background-color: #D5EEEF;
/*  font-family: 'M PLUS Rounded 1c', sans-serif;*/
  padding: 25px 0;
  margin: 100px 0 30px 0;
  font-size: 1.6rem;
  letter-spacing: 0.1rem;
  font-weight: bold;
  border-radius: 10px;
  text-align: center;
}

/*-----------------------------------------------------共通部分ここまで*/




/*-----------------------------------------------------拉致とはここから*/


/*画像の調整ここから*/
#rachitoha .rachitoha1 {
  margin: 50px 0 20px 0;
}

#rachitoha .rachitoha3 {
  margin-bottom: 30px;
}

#rachitoha .rachitoha4 {
  margin-bottom: 100px;
}

#rachitoha .rachitoha7 {
  margin-bottom: 60px;
}

#rachitoha .rachitoha8 {
  margin-bottom: 30px;
}

#rachitoha .rachitoha9 {
  margin-top: 30px;
}
/*画像の調整ここまで*/


/*-----------------------------------------------------拉致とはここまで*/

/*-----------------------------------------------------工作員とはここから*/

/*画像の調整ここから*/
#kousakuinntoha .kousakuinntoha1 {
  margin-top: 30px;
}

#kousakuinntoha .kousakuinntoha4 {
  margin: 50px 0 40px 0;
}

#kousakuinntoha .kousakuinntoha6 {
  margin: 30px 0;
}

/*画像の調整ここまで*/

/*-----------------------------------------------------工作員とはここまで*/

/*-----------------------------------------------------北朝鮮とはここから*/


/*画像の調整ここから*/
#kitatyousenn .kitatyousenn1 {
  margin-top: 40px;
}

#kitatyousenn .kitatyousenn2 {
    margin-top: 70px;
}

/*画像の調整ここまで*/

/*-----------------------------------------------------北朝鮮とはここまで*/

/*-----------------------------------------------------解決とはここから*/


/*画像の調整ここから*/
#kaiketsutoha .kaiketsutoha1 {
  margin-top: 40px;
}

#kaiketsutoha .kaiketsutoha3 {
  margin: 20px 0 100px 0;
}

#kaiketsutoha .kaiketsutoha9 {
  margin-top: 80px;
}

/*画像の調整ここまで*/

/*-----------------------------------------------------解決とはここまで*/



/*--------jobs.html--------*/

.jobs-title {
  font-size: 1.8rem;
  color: #54A5D6;
  letter-spacing: 0.1rem;
  line-height: 1.8rem;
  padding: 60px 0 20px 100px;
  background: 10px 110% no-repeat;
  background-size: auto 80px;
  border-bottom: solid 3px #54A5D6;
}


/*--------english.html--------*/

.english-title {
  font-size: 1.8rem;
  color: #54A5D6;
  letter-spacing: 0.1rem;
  line-height: 1.8rem;
  padding: 60px 0 20px 95px;
  background: 10px 85% no-repeat;
  background-size: auto 70px;
  border-bottom: solid 3px #54A5D6;
}


/*--------niigata-chihou.html--------*/

.chihou-gra1 {
  float: right;
}

.chihou-gra1 img {
  width: 430px;
  height: auto;
  padding: 0 20px 20px 20px;
}

.chihou-gra2 {
  text-align: center;
}

.chihou-gra2 img {
  width: 100%;
  height: auto;
  padding: 20px 0;
}

.chihou-textbox1 {
  margin-bottom: 80px;
}

.chihou-textbox1 p {
  font-size: 1.1rem;
  line-height: 2.3rem;
  color: #646464;
  margin-top: 20px;
}

.chihou-textbox2 {
  margin-bottom: 50px;
}

.chihou-textbox2 p {
  font-size: 1.1rem;
  line-height: 2.3rem;
  color: #646464;
  margin-top: 20px;
  display: inline-block;
}

.chihou-headline {
  color: #646464;
  margin: 30px 0 50px 0;
  border-bottom: dotted 6px #54A5D6;
  font-size: 1.8rem;
  padding: 0 0 10px 10px;
  letter-spacing: 0.1rem;
}

.chihou-box {
  max-width: 900px;
  margin: 0 auto;
}



/*--------niigata-nihonichi.html--------*/


.nihonichi-gra1 {
  text-align: center;
}

.nihonichi-gra1 img {
  width: 100%;
  height: auto;
  margin: 0 0 20px 0;
}

.nihonichi-gra2 {
  float: right;
}

.nihonichi-gra2 img {
  width: 360px;
  height: auto;
  padding: 0 20px 20px 20px;
}

.nihonichi-box .lead-sentence {
  background-color: #F9F9F9;
  padding: 40px;
  border-radius: 12px;
  margin: 50px 0 0 0;
}

.nihonichi-box .lead-sentence h3 {
  color: #646464;
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.6;
}

.nihonichi-textbox {
  margin-bottom: 40px;
}

.nihonichi-textbox p {
  font-size: 1.1rem;
  line-height: 2.3rem;
  color: #646464;
  margin-top: 20px;
}

.nihonichi-headline {
  color: #646464;
  margin: 50px 0 30px 0;
  border-bottom: dotted 6px #54A5D6;
  font-size: 1.8rem;
  padding: 0 0 10px 10px;
  letter-spacing: 0.1rem;
}

.nihonichi-box {
  max-width: 900px;
  margin: 0 auto;
}



/*--------niigata-orenaikokoro.html--------*/


.orenaikokoro-gra1 {
  text-align: center;
}

.orenaikokoro-gra1 img {
  width: 100%;
  height: auto;
  margin: 0 0 20px 0;
}

.orenaikokoro-gra1.orenaikokoro-gra2 img {
  width: 50%;
  height: auto;
  margin: 20px 0 20px 0;
}

.orenaikokoro-box .lead-sentence {
  background-color: #F9F9F9;
  padding: 40px;
  border-radius: 12px;
  margin: 50px 0 0 0;
}

.orenaikokoro-box .lead-sentence h3 {
  color: #646464;
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.8;
}

.orenaikokoro-textbox {
  margin-bottom: 40px;
}

.orenaikokoro-textbox p {
  font-size: 1.1rem;
  line-height: 2.3rem;
  color: #646464;
  margin-top: 20px;
}

.orenaikokoro-headline {
  color: #646462;
  margin: 50px 0 30px 0;
  border-bottom: dotted 6px #54A5D6;
  font-size: 1.8rem;
  padding: 0 0 10px 10px;
  letter-spacing: 0.1rem;
}

.orenaikokoro-box {
  max-width: 900px;
  margin: 0 auto;
}

.orenaikokoro_subindex {
  color: #54A5D6;
  background-color: #F9F9F9;
  border-left: solid 15px #54A5D6;
  padding: 15px 0px 15px 20px;
  font-size: 1.1rem;
  font-weight: bold;
  box-shadow: 5px 5px 5px -2px #A0A0A050;
  margin:50px 0 30px 0;
}

/*--------niigata-hebi.html--------*/


.igainatokorodehebi {
  text-align: center;
}

.igainatokorodehebi img {
  width: 100%;
  height: auto;
  margin: 0 0 20px 0;
}

.igainatokorodehebi-box .lead-sentence {
  background-color: #F9F9F9;
  padding: 40px;
  border-radius: 12px;
  margin: 50px 0 0 0;
}

.igainatokorodehebi-box .lead-sentence h3 {
  color: #646464;
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.8;
}

.igainatokorodehebi-textbox {
  margin-bottom: 40px;
}

.igainatokorodehebi-textbox p {
  font-size: 1.1rem;
  line-height: 2.3rem;
  color: #646464;
  margin-top: 20px;
	
}

.igainatokorodehebi-headline {
  color: #646462;
  margin: 50px 0 30px 0;
  border-bottom: dotted 6px #54A5D6;
  font-size: 1.8rem;
  padding: 0 0 10px 10px;
  letter-spacing: 0.1rem;
}

.igainatokorodehebi-box {
  max-width: 900px;
  margin: 0 auto;
}

.igainatokorodehebi_subindex {
  color: #54A5D6;
  background-color: #F9F9F9;
  border-left: solid 15px #54A5D6;
  padding: 15px 0px 15px 20px;
  font-size: 1.1rem;
  font-weight: bold;
  box-shadow: 5px 5px 5px -2px #A0A0A050;
  margin:50px 0 30px 0;
}


/*--------map-niigata.html--------*/


.map-box {
  width: 696px;
  height: 630px;
  background-color: #DBFCF6;
}

.cite {
  color: #828282;
  font-size: .8rem;
  line-height: 1.7;
}

.mapcolor-all {
  display: flex;
  margin: 3px 0 30px 0;
}

.mapcolor-box {
  display: flex;
  align-items: center;
  margin: 0 20px 0 0;
  line-height: 2.0;
}

.mapcolor-explanation {
  width: 30px;
  height: 13px;
  border-radius: 4px;
}

.mapcolor-box p {
  color: #A0A0A0;
  padding: 0 0 0 6px;
  font-size: .9rem;
}

.mapcolor-explanation.kaetsu {
  background: linear-gradient(to right,#FF8271,#FFA695,#FFCDC4,#FFE1DC)
}

.mapcolor-explanation.chuetsu {
  background: linear-gradient(to right,#35BCA8,#53CCC1,#8CDDD6,#B3E8E3)
}

.mapcolor-explanation.joetsu {
  background: linear-gradient(to right,#5DA9D8,#90C4E4,#BBDBEF)
}

.mapcolor-explanation.sado {
  background-color: #F4D18B;
}


/*-------- sekai --------*/

.sekai-graph {
  margin: 20px 0;
}
.sekai-graph img {
  max-width: 100%;
  margin: 0;
}
.sekai-textbox p {
  font-size: 1.1rem;
  line-height: 2.3rem;
  color: #646464;
  margin-top: 20px;
}
.sekai-textbox .sekai-img-wrap {
  float: right;
  width: 300px;
  margin-left: 30px;
}
.sekai-textbox .sekai-img-wrap figure {
  margin: 20px 0;
}
.sekai-textbox .sekai-img-wrap figure img {
  max-width: 100%;
  vertical-align: bottom;
}
.sekai-textbox .sekai-img-wrap figcaption {
  font-size: 0.9rem;
  color: #A0A0A0;
  margin: 10px 0 0 0;
  line-height: 1.5rem;
}
