@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');


/* =========================================================
   Base
========================================================= */

/* elements
----------------------------------------------- */
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  overflow-y: scroll;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  line-height: 1.6;
  color: #333;
  font-size: 100%;
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', 'メイリオ', sans-serif;
  overflow-wrap: break-word;
  word-break: break-all;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: bottom;
}

img.external {
  margin: 0 0.25em;
  vertical-align: middle;
}

@media only screen and (max-width: 900px) {
  img.external {
    width: 12px;
    height: 12px;
  }
}

p {
  margin: 0 0 1em;
}

em {
  font-style: oblique;
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow: auto;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
}

rp,
rt {
  font-size: 80%;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style-position: outside;
  list-style-type: none;
}

ol {
  margin: 0;
  padding: 0;
  list-style-position: outside;
}

li {
  margin: 0;
  padding: 0;
  list-style-position: outside;
}

a {
  background-color: transparent;
  color: #006699;
}

a:hover,
a:focus {
  background-color: transparent;
  color: #cc3300;
  text-decoration: none;
}

a[name] {
  color: #000;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

/* =========================================================
   Common Classes.
========================================================= */

/* clearfix
----------------------------------------------- */
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  zoom: 1;
}

/* Icons.
----------------------------------------------- */
a.iconFile {
  display: inline-block;
  padding: 5px 0 5px 20px;
  background-image: url(/wp-content/themes/naruto-u-ac-jp/doc/images/ic-hanyo.gif);
  background-position: left 10px;
  background-repeat: no-repeat;
}

a.iconPdf {
  background-image: url(/wp-content/themes/naruto-u-ac-jp/doc/images/ic-pdf.gif);
}

a.iconDoc,
a.iconDocx {
  background-image: url(/wp-content/themes/naruto-u-ac-jp/doc/images/ic-word.gif);
}

a.iconXls {
  background-image: url(/wp-content/themes/naruto-u-ac-jp/doc/images/ic-excel.gif);
}

a.iconJtd {
  background-image: url(/wp-content/themes/naruto-u-ac-jp/doc/images/ic-ichitarou.gif);
}

/* CKEditor templates
----------------------------------------------- */
.temp1,
.temp2,
.temp3,
.temp4 {
  clear: both;
  margin-bottom: 20px;
}

.temp1 .thumb {
  float: left;
  margin-bottom: 10px;
  margin-right: 20px;
}

.temp1 ul,
.temp1 ol {
  display: inline-block;
  vertical-align: top;
}

.temp2 .thumb {
  float: right;
  margin-bottom: 10px;
  margin-left: 20px;
}

.temp3,
.temp4 {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
}

.temp3 dl,
.temp4 dl {
  margin: 0 5px;
  padding: 0;
  vertical-align: bottom;
}

.temp3 dl {
  max-width: 48%;
}

.temp4 dl {
  max-width: 31%;
}

.temp3 dl dt,
.temp4 dl dt {
  margin-bottom: 10px;
  text-align: center;
}

.temp3 dl dd,
.temp4 dl dd {
  margin: 0;
  text-align: center;
}

table.temp5,
table.temp6 {
  margin-bottom: 30px;
}

.temp5 caption,
.temp6 caption {
  text-align: center;
}

.temp5 th,
.temp5 td,
.temp6 th,
.temp6 td {
  padding: 6px 10px;
  border: 1px solid #b3b3b3;
  text-align: center;
}

@media only screen and (max-width: 900px) {
  .temp1 .thumb {
    float: none;
    margin-right: 0;
    margin-bottom: 20px;
    text-align: center;
  }

  .temp2 .thumb {
    float: none;
    margin-left: 0;
    margin-bottom: 20px;
    text-align: center;
  }

  .temp3,
  .temp4 {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .temp3 dl,
  .temp4 dl {
    width: 100%;
    max-width: 100%;
    margin: 0 0 15px;
  }

  table.temp5,
  table.temp6 {
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================================================
   Layout
========================================================= */
#container {
  position: relative;
  width: 100%;
  min-width: 320px;
  background-color: #fff;
  overflow: hidden;
}

/* =========================================================
   Piece
========================================================= */

/* commonHeader
----------------------------------------------- */
#commonHeader {
  max-width: 1420px;
  margin: 0 auto;
  padding: 11px 10px 9px;
}

#commonHeader .pieceBody {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-align-items: center;
  align-items: center;
}

#commonHeader h1 {
  -webkit-flex-grow: 0;
  flex-grow: 0;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  -webkit-flex-basis: 257px;
  flex-basis: 257px;
}

#commonHeader .pieceBody:has(.pamphlet) h1 {
  transform: translateY(50%);
}

#commonHeader h1 img {
  display: block;
}

#commonHeader .menu {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
  margin-left: auto;
}

#commonHeader .menu ul {
  display: inline-block;
  letter-spacing: -.40em;
}

#commonHeader .menu ul li {
  margin-left: 20px;
  padding-left: 10px;
  background: url(/wp-content/themes/naruto-u-ac-jp/assets/pro-enkaku/ic-arrow.svg) left center no-repeat;
  letter-spacing: normal;
}

#commonHeader .menu ul li a {
  color: #333;
}

#commonHeader .menu ul li a:hover {
  color: #cc3300;
}

#commonHeader .menu ul li a img {
  margin: 0 0 2px 3px;
  vertical-align: middle;
}

#commonHeader .menu .inquiry {
  display: inline-block;
  margin-left: 20px;
}

#commonHeader .menu .inquiry a {
  display: block;
  min-width: 163px;
  padding: 7px 15px;
  border-radius: 18px;
  background-color: #d70022;
  color: #fff;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
}

#commonHeader .menu .inquiry a:hover {
  opacity: 0.7;
}

#commonHeader .menu .inquiry a img {
  width: 18px;
  height: auto;
  margin: 0 5px 2px 0;
  vertical-align: middle;
}

#commonHeader .pamphlet {
  flex-basis: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

#commonHeader .pamphlet a {
  display: block;
  padding: 7px 15px 7px 25px;
  border-radius: 18px;
  background: url(/wp-content/themes/naruto-u-ac-jp/assets/img/ic-arrow.svg) 10px center no-repeat #f9eef4;
  font-weight: 500;
  line-height: 1.2;
}

#commonHeader .pamphlet a:hover {
  opacity: 0.7;
}

@media only screen and (max-width: 900px) {
  #commonHeader {
    padding: 5px 5px 10px 10px;
  }

  #commonHeader h1 {
    -webkit-flex-grow: 1;
    flex-grow: 1;
    -webkit-flex-basis: 0;
    flex-basis: 0;
    margin-top: 10px;
  }

  #commonHeader .pieceBody:has(.pamphlet) h1 {
    transform: none;
  }

  #commonHeader h1 img {
    max-width: 200px;
  }

  #commonHeader .menu {
    -webkit-flex-grow: 0;
    flex-grow: 0;
    -webkit-flex-direction: column;
    flex-direction: column;
    font-size: 80%;
  }

  #commonHeader .menu ul li {
    margin: 0 0 5px 10px;
    text-align: left;
  }

  #commonHeader .menu .inquiry {
    margin-left: 10px;
  }

  #commonHeader .menu .inquiry a {
    min-width: 0;
    padding: 5px 10px;
    border-radius: 10px;
  }

  #commonHeader .menu .inquiry a img {
    width: 12px;
  }

  #commonHeader .pamphlet a {
    padding: 7px 5px 7px 20px;
    font-size: 80%;
  }
}

/* commonFooter
----------------------------------------------- */
#commonFooter {
  padding: 28px 10px;
  background-color: #4d4d4d;
  color: #fff;
  text-align: center;
}

#commonFooter small {
  font-size: inherit;
}

@media only screen and (max-width: 900px) {
  #commonFooter {
    padding: 10px 5px 55px;
  }

  #commonFooter small {
    font-size: 60%;
  }
}

/* pageTop
----------------------------------------------- */
#pageTop {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
}

#pageTop a {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 1px solid #fff;
  border-radius: 12px;
  background-color: #d70022;
}

@media only screen and (max-width: 900px) {
  #pageTop {
    right: 10px;
    bottom: 10px;
  }

  #pageTop a {
    width: 40px;
    height: 40px;
    border-radius: 6px;
  }

  #pageTop a img {
    width: 15px;
    height: auto;
  }
}

/* keyvisual
----------------------------------------------- */
#keyvisual {
  position: relative;
  max-width: 2000px;
  margin: 0 auto;
}

#keyvisual .main-img {
  width: 100%;
  text-align: center;
}

#keyvisual .main-txt {
  display: flex;
  align-items: center;
  padding: 0 20px;
}

#keyvisual .main-txt-inner {
  margin-right: auto;
}

#keyvisual .main-txt-inner .attention {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #d70022;
  color: #d70022;
  font-size: 150%;
  font-weight: bold;
}

#keyvisual .main-txt-inner h2 {
  margin-bottom: 30px;
  font-size: 210%;
  font-weight: bold;
}

#keyvisual .main-txt-inner h2 span {
  padding: 0 5px 0 10px;
  background: linear-gradient(to bottom, transparent 60%, #fffa5c 60%);
}

#keyvisual .main-txt-inner h2 br.sp {
  display: none;
}

#keyvisual .main-txt-inner h3 {
  margin-bottom: 10px;
  padding-left: 10px;
  color: #d70022;
  font-size: 150%;
  font-weight: bold;
  line-height: 1.4;
}

#keyvisual .main-txt-inner p {
  padding: 0 20px 0 10px;
  font-size: 110%;
  line-height: 1.8;
  text-align: justify;
}

#keyvisual .main-txt-inner ul.btn li:not(:last-child) {
  margin-bottom: 20px;
}

#keyvisual .main-txt-inner ul.btn li a {
  display: block;
  max-width: 350px;
  padding: 18px 45px;
  border-radius: 50px;
  background-color: #d70022;
  color: #fff;
  font-size: 120%;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
}

#keyvisual .main-txt-inner ul.btn li a[href^="#"] {
  background-image: url(/wp-content/themes/naruto-u-ac-jp/assets/img/ic-anchor.svg);
  background-position: right 20px center;
  background-repeat: no-repeat;
}

#keyvisual .main-txt-inner ul.btn li.voice a {
  border-radius: 0;
  background-color: #0070c0;
}

#keyvisual .main-txt-inner ul.btn li a:hover {
  opacity: 0.7;
}

#keyvisual .main-txt-inner ul.btn li a img {
  display: none;
}

ul.sp-btn {
  display: none;
}

@media only screen and (min-width: 1401px) {
  #keyvisual .main-img {
    width: 100%;
    background: none !important;
  }

  #keyvisual .main-txt {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100%;
    max-width: 1220px;
  }

  #keyvisual .main-txt-inner {
    width: 50%;
  }
}

@media only screen and (max-width: 1400px) {
  #keyvisual .main-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-position: 40% top;
    background-repeat: no-repeat;
    background-size: cover;
  }

  #keyvisual .main-img img {
    display: none;
  }

  #keyvisual .main-txt {
    position: relative;
    padding: 80px 20px;
  }

  #keyvisual .main-txt-inner {
    width: 60%;
  }
}

@media only screen and (max-width: 900px) {
  #keyvisual .main-img {
    background-position: 25% 25%;
  }

  #keyvisual .main-txt {
    padding: 20px 40px 10px;
  }

  #keyvisual .main-txt-inner {
    width: 80vw;
    margin-right: 20vw;
  }

  #keyvisual .main-txt-inner .attention {
    margin-bottom: 10px;
    padding: 5px;
    font-size: 80%;
  }

  #keyvisual .main-txt-inner h2 {
    margin-bottom: 10px;
    font-size: 110%;
    text-align: center;
  }

  #keyvisual .main-txt-inner h2 span {
    padding: 0;
  }

  #keyvisual .main-txt-inner h2 br.sp {
    display: block;
  }

  #keyvisual .main-txt-inner h3 {
    margin-bottom: 5px;
    padding-left: 0;
    font-size: 80%;
    text-shadow: 2px 2px 3px #fff, -2px 2px 3px #fff, 2px -2px 3px #fff, -2px -2px 3px #fff;
  }

  #keyvisual .main-txt-inner p {
    margin-bottom: 5px;
    padding: 0;
    font-size: 75%;
    text-shadow: 2px 2px 3px #fff, -2px 2px 3px #fff, 2px -2px 3px #fff, -2px -2px 3px #fff;
  }

  #keyvisual .main-txt-inner ul.btn {
    display: none;
  }

  #keyvisual .main-txt-inner ul.btn li:not(:last-child) {
    margin-bottom: 10px;
  }

  #keyvisual .main-txt-inner ul.btn li a {
    min-width: 0;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 95%;
  }

  #keyvisual .main-txt-inner ul.btn li a[href^="#"] {
    background-position: right 10px center;
    background-size: 11px auto;
  }

  #keyvisual .main-txt-inner br {
    display: none;
  }

  /* slide */
  .bx-viewport .slide-wrapper {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
  }

  .bx-viewport .slide-item {
    max-width: 300px;
    width: calc(80vw - 80px) !important;
    margin: 0;
    opacity: 0;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
  }

  .bx-viewport .slide-item.active-slide {
    opacity: 1;
  }

  .bx-controls {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-align-items: center;
    align-items: center;
    margin: 10px -20px 0 0;
  }

  .bx-controls-direction a {
    position: absolute;
    top: 50%;
    width: 24px;
    height: 0;
    padding-top: 24px;
    overflow: hidden;
    margin-top: -12px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-size: 8px auto;
    background-color: #fff;
  }

  .bx-controls-direction .bx-prev {
    left: 5px;
    background-image: url(/wp-content/themes/naruto-u-ac-jp/assets/img/slider_l.png);
    background-position: 40% center;
  }

  .bx-controls-direction .bx-next {
    right: 5px;
    background-image: url(/wp-content/themes/naruto-u-ac-jp/assets/img/slider_r.png);
    background-position: 60% center;
  }

  .bx-pager {
    letter-spacing: -.40em;
  }

  .bx-pager-item {
    display: inline-block;
    letter-spacing: normal;
    margin: 0 5px;
  }

  .bx-pager-item a {
    display: block;
    width: 10px;
    height: 0;
    padding-top: 10px;
    border: 2px solid #808080;
    background-color: #e6e6e6;
    border-radius: 50%;
    box-sizing: content-box;
    overflow: hidden;
  }

  .bx-pager-item a.active {
    border-color: #808080;
    background: #808080
  }

  .bx-controls-auto {
    display: -webkit-flex;
    display: flex;
  }

  .bx-controls-auto .bx-controls-auto-item a {
    display: block;
    margin: 0 0 0 6px;
    padding: 3px 15px;
    border: 1px solid #9a9a9a;
    background-color: #fff;
    font-size: 80%;
    line-height: 1.2;
    text-decoration: none;
  }

  .bx-controls-auto .bx-controls-auto-item a:hover {
    text-decoration: underline;
  }

  .bx-controls-auto .bx-controls-auto-item a.active {
    background-color: #9a9a9a;
    color: #fff;
  }

  /* sp-btn */
  ul.sp-btn {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 20px 15px 10px;
  }

  ul.sp-btn li {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    width: calc(50% - 5px);
    position: relative;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 5px 20px;
    border-radius: 20px;
    background-color: #d70022;
  }

  ul.sp-btn li:nth-child(even) {
    margin-right: 0;
  }

  ul.sp-btn li:last-child {
    -webkit-flex-grow: 1;
    flex-grow: 1;
    margin-right: 0;
  }

  ul.sp-btn li.voice {
    padding: 10px;
    border-radius: 0;
    background-color: #0070c0;
  }

  ul.sp-btn li a {
    display: block;
    color: #fff;
    font-size: 80%;
    font-weight: normal;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
  }

  ul.sp-btn li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none !important;
  }

  ul.sp-btn li a[href^="#"] {
    padding: 0 20px;
    background-image: url(/wp-content/themes/naruto-u-ac-jp/assets/img/ic-anchor.svg);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 11px auto;
  }

  ul.sp-btn li a img {
    display: none;
  }
}

@media only screen and (max-width: 375px) {
  #keyvisual .main-img {
    background-position: 40% 25%;
  }
}

/* pickup
----------------------------------------------- */
#pickup {
  max-width: 1135px;
  margin: 0 auto;
  padding: 80px 10px;
}

#pickup ul {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  position: relative;
  margin: 0 -13px;
}

#pickup ul li {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  -webkit-flex-shrink: 1;
  flex-shrink: 1;
  -webkit-flex-basis: 0;
  flex-basis: 0;
  position: relative;
  margin: 0 13px;
  border-radius: 10px;
  background-color: #f9eef4;
  text-align: center;
}

#pickup ul li::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  width: 100%;
  height: 100%;
  border: 2px solid #d70022;
  border-radius: 10px;
}

#pickup ul li span {
  position: relative;
  display: block;
  padding: 182px 14px 22px 4px;
  font-size: 120%;
  font-weight: bold;
  line-height: 1.4;
}

#pickup ul li span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 10px;
  height: 182px;
  background-position: center 60%;
  background-repeat: no-repeat;
}

#pickup ul li.mn1 span::before {
  background-image: url(/wp-content/themes/naruto-u-ac-jp/assets/pro-enkaku/illust01.svg);
}

#pickup ul li.mn2 span::before {
  background-image: url(/wp-content/themes/naruto-u-ac-jp/assets/pro-enkaku/illust02.svg);
}

#pickup ul li.mn3 span::before {
  background-image: url(/wp-content/themes/naruto-u-ac-jp/assets/pro-enkaku/illust03.svg);
}

#pickup ul li.mn4 span::before {
  background-image: url(/wp-content/themes/naruto-u-ac-jp/assets/pro-enkaku/illust04.svg);
}

#pickup ul li small {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: normal;
}

@media only screen and (max-width: 900px) {
  #pickup {
    max-width: 600px;
    padding: 10px 15px;
  }

  #pickup ul {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    margin: 0;
  }

  #pickup ul li {
    -webkit-flex-grow: 0;
    flex-grow: 0;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    -webkit-flex-basis: calc((100% - 15px) / 2);
    flex-basis: calc((100% - 15px) / 2);
    margin: 10px 15px 10px 0;
  }

  #pickup ul li:nth-child(even) {
    margin-right: 0;
  }

  #pickup ul li span {
    padding: 90px 10px 11px 5px;
    font-size: 85%;
  }

  #pickup ul li span::before {
    height: 90px;
    background-size: auto 80%;
  }

  #pickup ul li small {
    font-size: 0.6rem;
  }

  #pickup ul li br.pc {
    display: none;
  }
}

/* detail
----------------------------------------------- */
.piece[id^="detail"] .pieceContainer {
  max-width: 1148px;
  margin: 0 auto;
  padding: 0 10px;
}

#detail1,
#detail3,
#detail5 {
  padding: 55px 0;
  background-color: #f1edde;
}

#detail1 .pieceBody,
#detail3 .pieceBody,
#detail5 .pieceBody {
  margin-top: 40px;
  padding: 60px;
  border: 4px solid #d9d5c8;
  background-color: #fff;
}

#detail2,
#detail4,
#detail6 {
  padding: 70px 0;
}

.piece[id^="detail"] .pieceHeader h2 {
  margin-bottom: 20px;
  color: #d70022;
  font-size: 280%;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
}

.piece[id^="detail"] .pieceHeader+p {
  font-size: 120%;
  line-height: 1.8;
  text-align: center;
}

.piece[id^="detail"] .pieceBody h3 {
  margin-bottom: 35px;
  font-size: 220%;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
}

.piece[id^="detail"] .pieceBody h3 span {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 4px solid #d70022;
}

.piece[id^="detail"] .pieceBody h4 {
  display: inline;
  margin-bottom: 20px;
  padding: 0 5px;
  background: linear-gradient(to bottom, transparent 60%, #fffa5c 60%);
  font-size: 170%;
  font-weight: bold;
  line-height: 1.2;
}

.piece[id^="detail"] .pieceBody h4+*:not(table)::before {
  content: "";
  display: table;
  margin-top: 15px;
}

.piece[id^="detail"] .pieceBody h4.small {
  font-size: 150%;
}

.piece[id^="detail"] .pieceBody h5 {
  margin-bottom: 0.5em;
  font-size: 120%;
  font-weight: bold;
}

.piece[id^="detail"] .pieceBody h5 .nm {
  margin-right: 10px;
  color: #ed8d9c;
  font-size: 170%;
  font-weight: bold;
  line-height: 1.2;
}

.piece[id^="detail"] .pieceBody ul {
  margin-bottom: 1.5em;
}

.piece[id^="detail"] .pieceBody ul li {
  position: relative;
  margin-bottom: 0.5em;
  padding-left: 18px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.piece[id^="detail"] .pieceBody ul li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #d70022;
}

.piece[id^="detail"] .pieceBody p {
  margin-bottom: 0.5em;
  font-size: 110%;
  line-height: 1.8;
  text-align: justify;
}

.piece[id^="detail"] p strong.underline {
  padding: 0 5px;
  background: linear-gradient(to bottom, transparent 60%, #fffa5c 60%);
  font-weight: bold;
}

.piece[id^="detail"] p strong.red {
  color: #d70022;
  font-weight: bold;
}

.piece[id^="detail"] .pieceBody hr {
  margin: 30px 0;
  border: none;
  border-top: 2px dotted #b3b3b3;
}

.piece[id^="detail"] a:hover img {
  opacity: 0.7;
}

.piece[id^="detail"] .btn {
  margin: 2em 0 1em;
  text-align: center;
}

.piece[id^="detail"] .btn a {
  display: block;
  margin: 0 auto;
  padding: 15px 40px;
  border-radius: 40px;
  color: #fff;
  font-weight: bold;
  line-height: 1.2;
  text-decoration: none;
}

.piece[id^="detail"] .btn a:hover {
  opacity: 0.7;
}

.piece[id^="detail"] .btn a img {
  width: 44px;
  height: auto;
  margin: 0 15px 4px 0;
  vertical-align: middle;
}

@media only screen and (max-width: 900px) {
  .piece[id^="detail"] .pieceContainer {
    padding: 0 15px;
  }

  #detail1,
  #detail3,
  #detail5 {
    padding: 20px 0;
  }

  #detail1 .pieceBody,
  #detail3 .pieceBody,
  #detail5 .pieceBody {
    margin-top: 20px;
    padding: 20px;
    border-width: 2px;
  }

  #detail2,
  #detail4,
  #detail6 {
    padding: 35px 0;
  }

  .piece[id^="detail"] .pieceHeader h2 {
    font-size: 140%;
  }

  .piece[id^="detail"] .pieceHeader+p {
    font-size: 90%;
    text-align: justify;
  }

  .piece[id^="detail"] .pieceBody h3 {
    margin-bottom: 20px;
    font-size: 120%;
  }

  .piece[id^="detail"] .pieceBody h4,
  .piece[id^="detail"] .pieceBody h4.small {
    font-size: 100%;
  }

  .piece[id^="detail"] .pieceBody h5 {
    font-size: 90%;
  }

  .piece[id^="detail"] .pieceBody h5 .nm {
    font-size: 150%;
  }

  .piece[id^="detail"] .pieceBody ul li {
    font-size: 90%;
  }

  .piece[id^="detail"] .pieceBody ul li::before {
    width: 8px;
    height: 8px;
  }

  .piece[id^="detail"] .pieceBody p {
    font-size: 90%;
  }

  .piece[id^="detail"] .pieceBody hr {
    margin: 15px 0;
  }

  .piece[id^="detail"] .pieceBody br.pc {
    display: none;
  }

  .piece[id^="detail"] .btn a {
    padding: 10px 20px;
    border-radius: 20px;
  }

  .piece[id^="detail"] .btn a img {
    width: 22px;
    margin: 0 8px 3px 0;
  }
}

/* flex
----------------------------------------------- */
.pieceBody .flex {
  display: -webkit-flex;
  display: flex;
}

.pieceBody .flex.ali_center {
  -webkit-align-items: center;
  align-items: center;
}

.pieceBody .flex.ali_start {
  -webkit-align-items: flex-start;
  align-items: flex-start;
}

.pieceBody .flex.ali_end {
  -webkit-align-items: flex-end;
  align-items: flex-end;
}

.pieceBody .flex.jus_center {
  -webkit-justify-content: center;
  justify-content: center;
}

.pieceBody .flex.jus_between {
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.pieceBody .flex.jus_end {
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
}

.pieceBody .flex>*:not(:last-child) {
  margin-right: 40px;
}

.pieceBody .flex.eq>* {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  -webkit-flex-shrink: 1;
  flex-shrink: 1;
  -webkit-flex-basis: 0;
  flex-basis: 0;
}

.pieceBody .btn a {
  background-color: #d70022;
}

@media only screen and (max-width: 900px) {
  .pieceBody .flex:not(.nowrap) {
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center !important;
    justify-content: center !important;
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 !important;
  }

  .pieceBody .flex:not(.nowrap)>* {
    max-width: 100%;
    order: unset !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 20px;
  }

  .pieceBody .flex.nowrap {
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }
}

/* ul progoram-course
----------------------------------------------- */
@media only screen and (min-width: 901px) {
  .piece ul.program-course {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 30px;
    margin-bottom: 0 !important;
  }

  .piece ul.program-course li {
    flex-basis: calc((100% - 60px) / 3);
  }
}

/* table links
----------------------------------------------- */
.pieceBody table.links.links {
  width: 100%;
  border: none;
}

.pieceBody table.links.links tr {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}

.pieceBody table.links.links th,
.pieceBody table.links.links td {
  border: none;
}

.pieceBody table.links.links tr {
  border-bottom: 1px solid #808080;
}

.pieceBody table.links.links th {
  -webkit-flex-grow: 0;
  flex-grow: 0;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  -webkit-flex-basis: 30%;
  flex-basis: 30%;
  padding: 15px 0 15px 20px;
  background: transparent;
  text-align: left;
}

.pieceBody table.links.links td {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  padding: 15px 10px 15px 25px;
}

@media only screen and (max-width: 900px) {
  .pieceBody table.links.links {
    font-size: 90%;
  }

  .pieceBody table.links.links th {
    -webkit-flex-basis: 40%;
    flex-basis: 40%;
    padding: 10px;
  }

  .pieceBody table.links.links td {
    padding: 10px;
  }
}

/* table rishukeikaku
----------------------------------------------- */
.pieceBody table.rishukeikaku {
  width: 100%;
  margin: 1.5em 0;
  border: 1px solid #b3b3b3;
}

.pieceBody table.rishukeikaku caption {
  padding: 0 0 5px;
  text-align: left;
}

.pieceBody table.rishukeikaku caption span.bg-kougi {
  display: inline-block;
  width: 30px;
  height: 13px;
  margin: 0 5px 3px 0;
  border: 1px solid #b3b3b3;
  background: #ffe2ec;
  vertical-align: middle;
}

.pieceBody table.rishukeikaku th,
.pieceBody table.rishukeikaku td {
  padding: 8px 15px;
  border: 1px solid #b3b3b3;
}

.pieceBody table.rishukeikaku th {
  background-color: #f1e9c8;
  text-align: center;
}

.pieceBody table.rishukeikaku td {
  height: 1em;
  text-align: center;
}

.pieceBody table.rishukeikaku td.bg-kougi {
  background: #ffe2ec;
}

.pieceBody table.rishukeikaku td span {
  display: none;
}

@media only screen and (max-width: 900px) {
  .pieceBody table.rishukeikaku {
    font-size: 80%;
  }

  .pieceBody table.rishukeikaku th,
  .pieceBody table.rishukeikaku td {
    padding: 5px 2px;
  }
}

/* table price
----------------------------------------------- */
.pieceBody table.price {
  width: 100%;
  margin: 1.5em 0;
  border: none;
}

.pieceBody table.price th,
.pieceBody table.price td {
  padding: 8px 15px;
  border: none;
}

.pieceBody table.price td {
  text-align: center;
}

.pieceBody table.price tr.head td {
  background-color: #d70022;
  color: #fff;
  font-weight: bold;
  text-align: center;
}

.pieceBody table.price tr.foot td {
  background-color: #ffe2ec;
  font-weight: bold;
}


@media only screen and (max-width: 900px) {
  .pieceBody table.price {
    font-size: 80%;
  }

  .pieceBody table.price th,
  .pieceBody table.rishukeikaku td {
    padding: 5px;
  }

  .pieceBody .tableWrapper {
    margin: 1em 0;
    padding: 5px;
    border: 3px solid #c9c9c9;
  }

  .pieceBody .tableWrapper::before {
    display: none !important;
  }

  .pieceBody .tableWrapper>div {
    width: 100%;
    overflow-y: hidden;
    overflow-x: auto;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    -webkit-overflow-scrolling: touch;
  }

  .pieceBody .tableWrapper table {
    width: 100% !important;
    margin: 0;
  }

  .pieceBody .tableWrapper table caption {
    display: none;
  }

  .pieceBody .tableWrapper table th,
  .pieceBody .tableWrapper table td {
    min-width: 150px;
  }

  .pieceBody p.caption {
    margin-bottom: 5px;
    font-size: 100%;
  }
}

/* price-box
----------------------------------------------- */
.pieceBody dl.price-box,
.pieceBody dl.price-box dt,
.pieceBody dl.price-box dd {
  margin: 0;
}

.pieceBody dl.price-box {
  margin-bottom: 25px;
}

.pieceBody dl.price-box dt {
  padding: 20px 10px 15px;
  border-radius: 15px 15px 0 0;
  background-color: #d70022;
  color: #fff;
  font-size: 150%;
  text-align: center;
}

.pieceBody dl.price-box dd {
  padding: 15px 10px;
  border: 2px solid #d70022;
  border-radius: 0 0 15px 15px;
  border-top: none;
  font-size: 150%;
  font-weight: bold;
  text-align: center;
}

.pieceBody dl.price-box dd span {
  display: inline-block;
  margin: 0 0 0.2em 0.2em;
  font-size: 70%;
  vertical-align: bottom;
}

@media only screen and (max-width: 900px) {
  #detail4 .flex {
    display: block;
  }

  #detail4 .flex>* {
    width: 90%;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .pieceBody dl.price-box {
    margin-bottom: 15px;
  }

  .pieceBody dl.price-box dt {
    padding: 10px;
    font-size: 110%;
  }

  .pieceBody dl.price-box dd {
    padding: 10px;
    font-size: 100%;
  }
}

/* voice
----------------------------------------------- */
#voice {
  padding: 55px 0;
  background-color: #e7eff5;
}

#voice .pieceContainer {
  max-width: 1148px;
  margin: 0 auto;
  padding: 0 10px;
}

#voice .pieceHeader h2 {
  margin-bottom: 40px;
  color: #0070c0;
  font-size: 280%;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
}

#voice .pieceBody .anchor {
  display: flex;
  margin-bottom: 40px;
}

#voice .pieceBody .anchor div {
  margin: 5px;
}

#voice .pieceBody .anchor div a {
  position: relative;
  display: block;
  height: 100%;
  padding: 5px 35px 5px 10px;
  border: 2px solid #0070c0;
  color: #000;
  text-decoration: none;
}

#voice .pieceBody .anchor div a:hover {
  opacity: 0.7;
}

#voice .pieceBody .anchor div a::before {
  content: "▼";
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-size: 20px;
  line-height: 1;
  color: #0070c0;
}

#voice .pieceBody ul+.title {
  margin-top: 60px;
}

#voice .pieceBody .title {
  position: relative;
  margin-bottom: 40px;
  padding-bottom: 10px;
  color: #0070c0;
  font-size: 200%;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
}

#voice .pieceBody .title::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(50% - 30px);
  width: 60px;
  height: 1px;
  background: #0070c0;
}

#voice .pieceBody ul li:not(:last-child) {
  margin-bottom: 70px;
  padding-bottom: 40px;
  border-bottom: 1px dashed #acacac;
}

#voice .pieceBody ul li dl {
  display: flex;
  margin: 0;
}

#voice .pieceBody ul li dt {
  flex-shrink: 0;
  flex-basis: 360px;
}

#voice .pieceBody ul li dd {
  flex-grow: 1;
  flex-shrink: 1;
  margin: 0 0 0 40px;
}

#voice .pieceBody ul li dd h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

#voice .pieceBody ul li dd .section1 {
  margin-bottom: 40px;
}

@media only screen and (max-width: 900px) {
  #voice {
    padding: 20px 0;
  }

  #voice .pieceContainer {
    padding: 0 15px;
  }

  #voice .pieceHeader h2 {
    margin-bottom: 20px;
    font-size: 140%;
  }

  #voice .pieceBody .anchor {
    display: block;
    margin-bottom: 25px;
  }

  #voice .pieceBody .anchor div {
    margin: 0 0 10px;
  }

  #voice .pieceBody ul+.title {
    margin-top: 30px;
  }

  #voice .pieceBody .title {
    margin-bottom: 20px;
    font-size: 120%;
  }

  #voice .pieceBody ul li:not(:last-child) {
    margin-bottom: 35px;
    padding-bottom: 20px;
  }

  #voice .pieceBody ul li dl {
    display: block;
  }

  #voice .pieceBody ul li dt {
    margin-bottom: 20px;
    text-align: center;
  }

  #voice .pieceBody ul li dd {
    margin: 0;
    font-size: 0.9rem;
  }

  #voice .pieceBody ul li dd h3 {
    font-size: 1.2rem;
    text-align: center;
  }

  #voice .pieceBody ul li dd .section1 {
    margin-bottom: 20px;
  }
}

/* movie
----------------------------------------------- */
#movie {
  max-width: 920px;
  margin: 0 auto;
  padding: 60px 10px 20px;
  text-align: center;
}

#movie:has(.pieceBody .mov) {
  max-width: 1420px;
}

#movie .mov {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 56px;
}

#movie .mov li {
  flex-basis: calc((100% - 56px) / 2);
  text-align: right;
}

#movie iframe {
  width: 100%;
  height: auto;
}

@media only screen and (max-width: 900px) {
  #movie {
    padding: 10px;
  }

  #movie .mov {
    gap: 12px;
  }

  #movie .mov li {
    flex-basis: calc((100% - 20px) / 2);
  }
}

/* 動画オーバーレイ */
.mov-ol-wrapper img.external {
  display: none;
}

.mov-ol-wrapper:has(iframe) {
  position: relative;
}

.mov-ol-wrapper:has(iframe) a:hover {
  opacity: 0.6;
}

.mov-ol-wrapper:has(iframe) a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none !important;
}

.mov-ol-wrapper:has(iframe) a iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

.mov-ol-wrapper .overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6) !important;
}

.mov-ol-wrapper .overlay-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 140px);
  max-width: 1000px;
  height: calc(100vh - 140px);
  margin: 0 auto;
  background: transparent !important;
}

.mov-ol-wrapper .overlay .movie {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent !important;
}

.mov-ol-wrapper .overlay .movie .close-btn {
  position: relative;
  width: 100%;
}

.mov-ol-wrapper .overlay .movie .close-btn button {
  position: absolute;
  bottom: calc(100% + 10px);
  left: calc(100% + 10px);
  width: 48px;
  height: 48px;
  border: none;
  background: url(/wp-content/themes/naruto-u-ac-jp/assets/images/overlay_close.png) center center / cover no-repeat transparent !important;
  font-size: 0;
}

.mov-ol-wrapper .overlay .movie .close-btn button:hover {
  opacity: 0.6;
}

.mov-ol-wrapper .overlay .movie iframe {
  height: auto;
  max-height: 100%;
  aspect-ratio: 16/9;
}

@media only screen and (max-width: 900px) {
  .mov-ol-wrapper .overlay {
    padding: 40px 15px;
  }

  .mov-ol-wrapper .overlay-container {
    width: calc(100% - 30px);
    height: calc(100vh - 80px);
  }

  .mov-ol-wrapper .overlay .movie .close-btn button {
    left: calc(100% - 24px);
    width: 24px;
    height: 24px;
  }
}

/* スライドメニュー
----------------------------------------------- */
.slide-menu,
.slide-menu>dt,
.slide-menu>dd {
  margin: 0 !important;
  padding: 0 !important;
}

.slide-menu dt {
  position: relative;
}

.slide-menu dt:hover {
  opacity: 0.5;
}

.slide-menu dt::before,
.slide-menu dt::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 30px;
  height: 4px;
  margin: -1px 0 0 -9px;
  background: #d70022;
}

.slide-menu dt::after {
  transform: rotate(-90deg);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.slide-menu.current dt::after {
  opacity: 0;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.slide-menu dt .btn {
  margin: 0;
  text-decoration: none;
}

.slide-menu dt .btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none !important;
}

.slide-menu dd {
  padding-top: 1em !important;
}

@media only screen and (max-width: 900px) {
  .slide-menu dt {
    padding: 0 30px !important;
  }

  .slide-menu dt::before,
  .slide-menu dt::after {
    right: 5px;
    width: 18px;
    height: 2px;
  }
}