/*CSSリセット*/
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
}

body {
  line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: middle;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

/*共通CSS*/
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  scroll-behavior: smooth; /*スムーズスクロール*/
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  background-color: #fff;
  margin: 0;
  font-family: "Noto Sans JP", "游ゴシック体", "Yu Gothic", YuGothic,
    "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, Osaka,
    "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 130%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

p {
  margin: 1em 0;
}

table {
  border-collapse: separate;
}

figure {
  margin: 0;
  padding: 0;
}

/*リンクまわり*/
a {
  text-decoration: none;
}
a:link {
  color: #221815;
}
a:visited {
  color: #221815;
}
a:hover {
  opacity: .9;
}
a:active {
  color: #009842;
}

/*全体の構造*/
html {
  background-color: #bfc5c2;
  color: #333;
}

.page-wrapper {
  background-color: #bfc5c2;
}
.main {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
}

.content-wrapper {
  display: flex;
  align-items: center;
}

.content-top-left {
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.content-top-right {
  width: 60%;
  display: flex;
  justify-content: space-between;
}

/*ボタン*/
.btn,
a.btn,
button.btn {
  width: 60%;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 0.5em 1em;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #333;
  border-radius: 5px;
}

a.btn-border {
  border: 2px solid #333;
  border-radius: 5px;
  background: #fff;
}
.btn-wrapper {
  text-align: center;
  margin: 1em 1em 3em 1em;
}

/*========= LoadingのためのCSS ===============*/

/* ベースの本体 */
#loading {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background-color: #f2f2f2;
  opacity: .8;
  transition: all 1s;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}
#loading.loaded {
  opacity: 0;
  visibility: hidden;
}

/* ローディングアニメーション */
.loader,
.loader:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}
.loader {
  margin: 60px auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid #ccc;
  border-right: 1.1em solid #ccc;
  border-bottom: 1.1em solid #ccc;
  border-left: 1.1em solid #fff;
  transform: translateZ(0);
  animation: loadAnime 1.1s infinite linear;
}

@keyframes loadAnime {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
/*見出し*/

/*h1 ロゴ*/

#logo {
  display: flex;
  justify-content: left;
  align-items: center;
}

#logo img {
  height: 300px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/*h2 セクション見出し*/
.menu {
  margin-left: 45px;
  margin-top: 0px;
  margin-bottom: 30px;
}

/*h3 セクション見出し*/
h3 {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.5;
  padding-top: 0.9em;
  padding-left: 0.5em;
  border-top: solid 4px #009842;
}

.section {
  margin-top: 20px;
  margin-bottom: 20px;
}

.section-label {
  margin-bottom: 20px;
}

/*h4 セクション見出し*/
h4 {
  font-weight: 700;
  font-size: 1.2rem;
  position: relative;
  margin-left: 1em;
  padding-left: 1.5em;
  margin-top: 1em;
}

h4::after {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  content: "";
  width: 15px;
  height: 3px;
  background-color: #009842;
}

.section-label h5 {
  font-weight: 700;
  font-size: 0.9rem;
  position: relative;
  margin-left: 2.5em;
  padding-left: 1em;
}
.section-label h5::after {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  content: "";
  width: 5px;
  height: 5px;
  background-color: #009842;
}

.for-index {
  text-align: right;
  padding-right: 1em;
}
.for-index:before {
  content: "\f0a9"; /* 追記したコード */
  font-family: "Font Awesome 6 Free"; /* 追記したコード */
  font-weight: 900; /* 追記したコード */
  color: #009842;
  display: inline-block;
  margin-right: 0.5em;
}

/*loader*/
.spinner {
  width: 40px;
  height: 40px;

  position: relative;
  margin: 100px auto;
}

.double-bounce1,
.double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #009842;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;

  -webkit-animation: sk-bounce 2s infinite ease-in-out;
  animation: sk-bounce 2s infinite ease-in-out;
}

.double-bounce2 {
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}

@-webkit-keyframes sk-bounce {
  0%,
  100% {
    -webkit-transform: scale(0);
  }
  50% {
    -webkit-transform: scale(1);
  }
}

@keyframes sk-bounce {
  0%,
  100% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }
  50% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}

/*検索窓*/
::placeholder {
  color: #333;
  font-size: 1em;
}

.search-container {
  width: 50%;
  margin: 0;
  padding: 0;
}

.search-section-wrapper {
  width: 100%;
}
.search-item-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  height: 320px;
}
.search-item {
  flex: 1;
}
.search-item h4 {
  font-size: 1rem;
  margin-bottom: 0.5em;
  margin-top: 0.5em;
  margin-left: 0.5em;
}

.search-item form {
  display: flex;
  align-items: center;
  margin-left: 0.5em;
}

.search-form {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.search-form label {
  display: none;
}

.form-text {
  height: 2.5em;
  width: auto;
  margin-right: 5px;
  border-radius: 4px;
  border: none;
  box-shadow: 0 0 0 1px #ccc inset;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.form-text:focus {
  outline: 0;
  box-shadow: 0 0 0 4px #009842 inset;
}

.form-submit-button {
  display: inline-block;
  height: auto;
  width: 10%;
  min-width: calc(1rem + 8px * 2 + 2px * 2);
  padding: 8px;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  background-color: #009842;
  color: #fff;
  font-weight: bold;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  border: 2px solid transparent;
}

.form-submit-button:hover {
  opacity: 0.75;
}

.form-submit-button:focus {
  outline: 0;
  background-color: #000;
  border: 2px solid rgb(33, 150, 243);
}

.form-submit-button:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f002";
}

.search-item .select-bookgroup {
  display: flex;
  align-items: center;
  margin-left: 0.5em;
}

.search-item select {
  appearance: none; /* デフォルトの矢印を非表示 */
  width: calc(90% - 5px);
  margin-right: 5px;
  border-radius: 4px;
  height: 2.5em;
  color: gray;
  border: none;
  box-shadow: 0 0 0 1px #ccc inset;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none;
}

.select-submit-button {
  display: flex;
  /* height: auto; */
  /* width: 10%; */
  /* min-width: calc(1rem+8px * 2+2px * 2); */
  padding: 8px;
  font-size: 1rem;
  border: 0;
  border-radius: 4px;
  background-color: #009842;
  color: #fff;
  font-weight: bold;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  border: 2px solid transparent;
  aspect-ratio: 1/1;
}

.select-submit-button:hover {
  opacity: 0.75;
}

.select-submit-button:focus {
  outline: 0;
  background-color: #000;
  border: 2px solid rgb(33, 150, 243);
}

.select-submit-button:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f002";
}

/*まち座PV*/
.machiza-section-wrapper {
  width: calc(50% - 10px);
}

.video-wrapper {
  padding: 0 1em;
  display: flex;
  width: fit-content;
  margin: auto auto 0 auto;
}

.video-wrapper video {
  width: 100%;
}

/*タブ表示のCSS*/
.tab-vertical {
  width: 100%;
  margin: 20px auto 100px auto;
  /*display: flex;
  justify-content: space-between;*/
}

ul#tab-vertical__tit {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
}

ul#tab-vertical__tit li {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 5px;
  width: calc(100% / 8 - 1px * 6);
  height: auto;
  cursor: pointer;
  background: #bfc5c2;
  color: #fff;
  border-radius: 4px 4px 0 0;
  font-size: 20px;
  line-height: 150%;
  text-align: center;
}

ul#tab-vertical__tit li.bookstore {
  background:  gray;
}

ul#tab-vertical__tit li.current {
  background: #009842;
}

ul#tab-vertical__content {
  background: #fff;
  padding: 15px 20px 20px 20px;
  margin: 0;
  border: 5px solid #009842;
  border-radius: 0 0 4px 4px;
}

ul#tab-vertical__content li {
  display: none;
  vertical-align: top;
  height: 100%;
  list-style: none;
}

ul#tab-vertical__content li.current {
  display: block;
}

/* 新着情報 */

.carousel {
  overflow: hidden;
  box-shadow: none;
  padding-top: 10px;
  padding-bottom: 30px;
  position: relative;
}

.swiper-slide a {
  background: #fff;
  display: flex;
  /* margin: 0; */
  box-shadow: 0 0 3px 0 rgb(0 0 0 / 12%), 0 2px 3px 0 rgb(0 0 0 / 22%);
  cursor: pointer;
  transition: 0.2s ease-in-out;
  border-radius: 3px;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}
.swiper-slide a:hover {
  box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);
  transform: translateY(-4px);
  opacity: 1;
}

.swiper-slide a div img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
  border-radius: 3px 3px 0 0;
}

.swiper-pagination-bullet-active {
  background-color: #009842 !important;
}
.swiper-pagination-bullet {
  width: var(
    --swiper-pagination-bullet-width,
    var(--swiper-pagination-bullet-size, 10px)
  ) !important;
  height: var(
    --swiper-pagination-bullet-height,
    var(--swiper-pagination-bullet-size, 10px)
  ) !important;
}
.swiper-button-next,
.swiper-button-prev {
  --swiper-navigation-color: #009842;
}
.swiper-container [class^="swiper-button-"]::after{
  font-size: 30px;
}

p.wp-posts-postField {
  word-break: break-word;
  background: #009842;
  color: #fff;
  font-size: 12px;
  line-height: 160%;
  font-weight: 500;
  padding: 2px 10px;
  margin: 5px 5px 5px 0;
  display: inline-block;
  width: fit-content;
}

p.postTitle {
  padding: 0px 10px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  font-weight: 600;
  margin-bottom: 1.2rem;
  margin: 0 auto;
}
time.postTime {
  display: block;
  color: #b5b5b5;
  font-size: 0.8rem;
  font-weight: bold;
  text-align: right;
  padding: 10px;
  position: relative;
}
time.postTime:before {
  content: "\f017";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  padding-right: 5px;
  font-size: 0.6rem;
  opacity: 0.6;
  vertical-align: bottom;
}
@media screen and (max-width: 480px) {
  /* （ここにモバイル用スタイルを記述） */
  .swiper-button-next,
  .swiper-button-prev {
    --swiper-navigation-color: rgba(1, 1, 1, 0);
  }
  .swiper-slide a div img {
    object-fit: cover;
  }
  p.postTitle {
    font-size: 14px;
    padding: 10px;
  }
  time.postTime {
    padding: 10px 10px 10px 10px;
    font-size: 0.6rem;
  }
  time.postTime:before {
    font-size: 0.6rem;
  }
}

/*近刊・新刊情報*/
#viewPosts_book_comingsoon,
#viewPosts_book_trial,
#viewPosts_textbook_bunya,
#viewPosts_textbook_series {
  display: flex;
  flex-wrap: wrap;
  padding: 0 10px;
}
.wp-posts-book {
  width: calc(100% / 5);
  padding: 0 10px;
  text-align: center;
  margin: 10px 0;
}
.wp-posts-book a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  padding: 20px;
  background: #fff;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  box-shadow: 0 0 3px 0 rgb(0 0 0 / 12%), 0 2px 3px 0 rgb(0 0 0 / 22%);
}
.wp-posts-book a:hover {
  box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);
  transform: translateY(-4px);
  opacity: 1;
}
.wp-posts-book a div {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.wp-posts-book a div img {
	object-fit: cover;
	width: 100%;
	aspect-ratio: 16 / 17;
}
p.wp-posts-book-postTitle {
  font-size: 16px;
  line-height: 160%;
  font-weight: 500;
  margin: 10px 0 5px 0;
  text-align: left;
}

@media screen and (max-width: 1199px) {
  .wp-posts-book {
    width: calc(100% / 3);
  }

  p.wp-posts-book-postTitle {
    margin: 5px 0;
  }
}

@media screen and (max-width: 480px) {
  /* （ここにモバイル用スタイルを記述） */
  #viewPosts_book_comingsoon,
  #viewPosts_book_trial,
  #viewPosts_textbook_bunya,
  #viewPosts_textbook_series {
    padding: 0;
  }
  .wp-posts-book {
    width: calc(100% / 2);
  }
  .wp-posts-book a {
    padding: 0px;
    transition: 0.2s ease-in-out;
    box-shadow: none;
  }
  .wp-posts-book a:hover {
    box-shadow: none;
    transform: none;
    opacity: none;
  }

  p.wp-posts-book-postTitle {
    font-size: 14px;
  }
}

/*教科書*/

.wp-posts-textbook {
  width: calc(100% / 5);
  padding: 0 10px;
  text-align: center;
  margin: 10px 0;
}
.wp-posts-textbook a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-decoration: none;
  padding: 20px;
  background: #fff;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  box-shadow: 0 0 3px 0 rgb(0 0 0 / 12%), 0 2px 3px 0 rgb(0 0 0 / 22%);
}
.wp-posts-textbook a:hover {
  box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);
  transform: translateY(-4px);
  opacity: 1;
}

p.wp-posts-textbook-postTitle {
  font-size: 1rem;
  line-height: 160%;
  font-weight: 500;
  margin: 0;
  text-align: center;
  word-break: break-all;
}
p.wp-posts-textbook-postTitle span {
  display: block;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-top: 0.5em;
  color: gray;
}

@media screen and (max-width: 1199px) {
  .wp-posts-textbook {
    width: calc(100% / 3);
  }

  p.wp-posts-textbook-postTitle {
    margin: 5px 0;
  }
}

@media screen and (max-width: 480px) {
  /* （ここにモバイル用スタイルを記述） */
  .wp-posts-textbook {
    width: calc(100% / 2);
  }
  .wp-posts-textbook a {
    padding: 0px;
    transition: 0.2s ease-in-out;
    box-shadow: none;
  }
  .wp-posts-textbook a:hover {
    box-shadow: none;
    transform: none;
    opacity: none;
  }

  p.wp-posts-textbook-postTitle {
    font-size: 12px;
  }
}

/*本のイベント */

#viewPosts_event,
#viewPosts_finishEvent,
#viewPosts_event_gakugei_lab {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0 10px;
}
.wp-posts-event {
  width: calc(100% / 3);
  padding: 0 10px;
  text-align: center;
  margin: 10px 0;
}
.wp-posts-event a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  background: #fff;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  box-shadow: 0 0 3px 0 rgb(0 0 0 / 12%), 0 2px 3px 0 rgb(0 0 0 / 22%);
}
.wp-posts-event a:hover {
  box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);
  transform: translateY(-4px);
  opacity: 1;
}
.wp-posts-event a div {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.wp-posts-event a img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  border-radius: 3px 3px 0 0;
}
p.wp-posts-event-postTitle {
  line-height: 1.6;
  word-break: break-word;
  font-size: 16px;
  line-height: 160%;
  font-weight: 500;
  margin: 10px 20px 20px 20px;
  text-align: left;
}

@media screen and (max-width: 1199px) {
  .wp-posts-event a img {
    object-fit: contain;
  }
  p.wp-posts-event-postTitle {
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  /* （ここにモバイル用スタイルを記述） */
  .wp-posts-event {
    width: calc(100% / 2);
  }
}

@media screen and (max-width: 480px) {
  /* （ここにモバイル用スタイルを記述） */
  .wp-posts-event {
    width: 100%;
  }
}

/*Vimeoダイジェスト*/
.vimeo-wrapper {
  padding: 0 10%;
}
.vimeo-wrapper iframe {
  max-width: 100%;
}
@media screen and (max-width: 768px) {
  /* （ここにモバイル用スタイルを記述） */
  .vimeo-wrapper {
    padding: 0 20px;
  }
}
#viewPosts_movie {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 10px;
}
.wp-posts-movie {
  width: calc(100% / 3);
  padding: 0 10px;
  text-align: center;
  margin: 10px 0;
}
.wp-posts-movie a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  background: #fff;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  box-shadow: 0 0 3px 0 rgb(0 0 0 / 12%), 0 2px 3px 0 rgb(0 0 0 / 22%);
}
.wp-posts-movie a:hover {
  box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);
  transform: translateY(-4px);
  opacity: 1;
}
.wp-posts-movie a div {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.wp-posts-movie a img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  border-radius: 3px 3px 0 0;
}
p.wp-posts-movie-postTitle {
  line-height: 1.6;
  word-break: break-word;
  font-size: 16px;
  line-height: 160%;
  font-weight: 500;
  margin: 10px 20px 20px 20px;
  text-align: left;
}

.wp-posts-movie a p.wp-posts-postField {
  padding: 0 20px 20px 20px;
  color: #333;
  background: none;
  text-align: left;
}
.wp-posts-movie a p.wp-posts-postField span {
  display: block;
  width: fit-content;
}

.wp-posts-movie a p.wp-posts-postField span:before {
  font-family: "Font Awesome 6 Free";
  content: "\23"; /*アイコンのユニコード*/
  margin-right: 0.25em;
  color: #009842;
}

@media screen and (max-width: 1199px) {
  .wp-posts-movie a img {
    object-fit: contain;
  }
  p.wp-posts-movie-postTitle {
    font-size: 14px;
  }
}
@media screen and (max-width: 768px) {
  /* （ここにモバイル用スタイルを記述） */
  .wp-posts-movie {
    width: calc(100% / 2);
  }
}
@media screen and (max-width: 480px) {
  /* （ここにモバイル用スタイルを記述） */
  .wp-posts-movie {
    width: 100%;
  }
  p.wp-posts-movie-postTitle {
    word-break: keep-all;
    overflow-wrap: break-word;
  }
}

/*連載*/
.book-event-wrapper {
  display: flex;
  flex-wrap: wrap;
  padding: 0 10px;
}
.book-event {
  width: calc(100% / 3);
  margin: 0 0 20px 0;
  padding: 0 10px;
  text-align: center;
}
.book-event img {
  object-fit: cover;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.book-event h5 {
  margin: 10px 0 20px 0;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
}

/*営業部・その他のコンテンツ*/

dl {
  margin-bottom: 20px;
}
dt.info-title {
  font-size: 0.8em;
  font-weight: 600;
  margin-bottom: 5px;
  margin-left: 10px;
  line-height: 140%;
}
dd.info-description {
  font-weight: 600;
  font-size: 0.7em;
  margin-left: 20px;
  margin-bottom: 5px;
  line-height: 140%;
}

#eigyo-info {
  font-weight: 600;
  margin-left: 20px;
  padding-left: 0;
  list-style-type: none;
}

img.info-banner {
  width: 295px;
  height: 80px;
}

.info-list {
  margin-top: 20px;
}

li.event-description-list {
  padding-bottom: 10px;
}

li.info-description-list {
  margin-top: 5px;
  line-height: 120%;
}

#other-info {
  margin-left: 20px;
  padding-left: 0;
  list-style-type: none;
}

/* サイトマップ */
.sitemap-wrapper {
  padding: 0 10px;
  overflow: hidden;
}

.acd-check {
  display: none;
}
.acd-label {
  background: #fff;
  color: #333;
  display: block;
  margin-bottom: 1px;
  padding: 10px;
}
.acd-content {
  height: 0;
  opacity: 0;
  padding: 0 10px;
  transition: 0.5s;
  visibility: hidden;
}
.acd-check:checked + .acd-label + .acd-content {
  height: 100%;
  opacity: 1;
  padding: 10px;
  visibility: visible;
}

.sitemap_level1 {
  margin-left: 4rem;
  line-height: 2;
}

.sitemap_level2,
.sitemap_level3,
.sitemap_level4 {
  margin-left: 2rem;
}

.sitemap_level2 li {
  border-bottom: 1px solid gray;
  margin: 10px;
}

.sitemap_level3 {
  font-size: 0.9rem;
  font-weight: 400;
}

.select_menu_container {
  display: none;
}

/*学芸出版社ビル*/
.building-information-wrapper {
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.building-information-wrapper .btn-wrapper {
  width: 75%;
  margin: 0;
  padding: 0 10px;
}

.building-information-wrapper h5 {
  text-align: center;
  font-size: 1.2rem;
  margin: 1em 0 0 0;
}
.building-information-wrapper a {
  width: 100%;
  margin: 10px;
  display: flex;
  align-items: center;
}

.building-information-wrapper a > div {
  width: fit-content;
  padding: 10px;
}

.building-information-wrapper a h5 {
  text-align: left;
  font-size: 1.15rem;
  margin: 0;
}
.building-information-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: contain;
  padding: 0 30px;
}
.building-information-wrapper p {
  font-size: 0.9rem;
  text-align: left;
}
@media screen and (max-width: 768px) {
  /* （ここにモバイル用スタイルを記述） */
  .building-information-wrapper .btn-wrapper {
    width: auto;
    padding: 0;
    display: flex;
    justify-content: center;
  }
  .building-information-wrapper a {
    flex-direction: column;
  }
  .building-information-wrapper a > div {
    width: auto;
  }
  .building-information-wrapper a h5 {
    text-align: center;
    font-size: 1rem;
  }
  .building-information-wrapper p {
    font-size: small;
  }
  .building-information-wrapper img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    padding: 0;
  }
}

/*フッターのCSS*/

#footer {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  background: #fff;
  position: relative;
  color: #fff;
}
#footer a {
  text-decoration: none;
  color: #fff;
}
#footer a:hover {
  text-decoration: underline;
}
#footer .primary {
  padding: 40px 20px 20px 20px;
  background: #009842;
  font-size: small;
}
#footer .secondary {
  display: flex;
  padding: 20px;
  background: gray;
  font-size: small;
}

/* footer-logo */

#footer .footer-logo {
  position: relative;
  padding: 0;
  margin: 0;
  width: 100%;
  font-size: 26px;
  font-weight: bold;
}

.kabu {
  font-size: small;
  margin-right: 1em;
}

/* address */

.address {
  margin: 10px 0 0;
  padding: 0;
}

/* navi */

.navi-row {
  display: flex;
  margin-top: 40px;
}
#footer .navi {
  margin: 0;
  padding: 0;
  list-style: none;
}
#footer .navi li {
  display: inline-block;
  margin: 0 20px 0 0;
  padding: 0;
}
#footer .navi li:first-child {
  margin-left: 0;
}

/* sns-navi */

#footer .sns-navi {
  margin: 0 0 0 auto;
  padding: 0;
}
#footer .sns-navi li {
  display: inline-block;
  margin: 0 20px 0 0;
  padding: 0;
  font-size: 20px;
}
#footer .sns-navi li:last-child {
  margin-right: 0;
}

/* sitenavi */

#footer .sitenavi {
  width: 50%;
  margin: 0;
  padding: 0;
  list-style: none;
}
#footer .sitenavi li {
  display: inline-block;
  margin: 0 0 0 20px;
  padding: 0;
}
#footer .sitenavi li:first-child {
  margin-left: 0;
}

/* copyright */

#footer .copyright {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: right;
}

/* まち座 */
.e-store-sp-wrapper {
  display: none;
}

@media screen and (max-width: 1199px) {
  /* 1199pxまでの幅の場合に適用される */

  .btn,
  a.btn,
  button.btn {
    width: 100%;
    font-size: 1rem;
  }

  h3,
  h4,
  h5 {
    font-size: 16px;
    word-break: break-all;
    line-height: 1.6;
  }

  p {
    font-size: 14px;
  }

  .main {
    width: 100%;
  }

  .content-top-left {
    width: 100%;
  }

  .content-top-right {
    width: 100%;
  }

  .search-container {
    width: 100%;
    padding: 0 1em;
  }

  .search-section-wrapper {
    width: 100%;
  }

  .search-section-wrapper .section-label {
    display: none;
  }

  .machiza-section-wrapper {
    display: none;
  }

  .video-wrapper video {
    object-fit: contain;
  }

  .select_menu_container {
    display: block;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
  }
  .select_menu_container select {
    font-size: 2rem;
    margin: 0;
    padding: 0.25em 1em;
    letter-spacing: 0.25rem;
    font-weight: 900;
    width: 100%;
    background-color: #009842;
    color: #fff;
    border: none;
    border-radius: 5px 5px 0 0;
    text-align: center;
  }
  select::-ms-expand {
    display: none; /* デフォルトの矢印を非表示(IE用) */
  }

  ul#tab-vertical__tit {
    display: none;
  }

  .book-item {
    width: calc(100% / 3);
  }

  .book-event {
    width: 100%;
  }

  .note-for-sp-wrapper {
    display: block;
    font-size: 0.75rem;
    text-align: center;
  }
  .note-for-sp-wrapper i {
    margin: 0 1rem;
  }

  #footer {
    width: 100%;
    margin-bottom: 85px;
  }

  #footer .primary {
    padding: 20px 20px;
    background: #333;
  }
  #footer .secondary {
    display: block;
    padding: 20px 20px;
  }
  #footer .footer-logo {
    font-size: 16px;
  }

  .address {
    font-size: 12px;
  }
  .navi-row {
    display: block;
    margin-top: 15px;
  }
  #footer .navi {
    font-size: 12px;
  }
  #footer .navi li {
    margin-top: 5px;
    font-size: 12px;
  }

  #footer .sns-navi {
    margin: 20px 0 0;
    padding: 0;
  }
  #footer .sns-navi li {
    margin: 0 20px 0 0;
    padding: 0;
    font-size: 18px;
  }

  #footer .sitenavi {
    width: 100%;
    text-align: center;
    font-size: 12px;
  }
  #footer .copyright {
    width: 100%;
    margin: 20px 0 0;
    text-align: center;
    font-size: 12px;
  }

  .e-store-sp-wrapper {
    display: unset;
    position: fixed;
    z-index: 1000;
    top: unset;
    bottom: 0;
    right: unset;
    left: 0;
    width: 100%;
    max-width: 100%;
    filter: drop-shadow(2px 0 5px rgba(0, 0, 0, 0.5));
    margin-bottom: 0;
    opacity: 0;
    -webkit-animation: example 0.5s ease 0.5s 1 forwards;
    animation: example 0.5s ease 5s 1 forwards;
  }
  @-webkit-keyframes example {
    100% {
      opacity: 1;
    }
  }
  @keyframes example {
    100% {
      opacity: 1;
    }
  }
  .e-store-sp-guide {
    font-size: 14px;
    margin: 0;
    padding: 3px;
    width: 100%;
    background: #009842;
    color: #fff;
    text-align: center;
  }
  .e-store-sp-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    background-color: #fff;
    border: #009842 2px solid;
  }
  .e-store-sp-item {
    padding: 10px;
  }
  .e-store-sp-item img {
    width: 300px;
  }
}

@media screen and (max-width: 480px) {
  h3,
  h4,
  h5 {
    font-size: 16px;
  }
  p {
    font-size: 14px;
  }

  .main {
    padding: 1em 0.5em;
  }

  .content-wrapper {
    display: unset;
    width: 100%;
  }
  .content-top-left {
    width: auto;
    height: 75px;
    padding: 0;
    margin: 0;
  }
  #logo {
    display: flex;
    justify-content: left;
    width: 100%;
    padding: 0 1em;
  }
  #logo img {
    width: 70vw;
    height: auto;
  }

  .search-section-wrapper {
    padding: 0 1em;
  }

  /*========= 検索窓を開くための虫眼鏡ボタン設定 ===========*/

  .open-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 4px;
    background-color: #009842;
    color: #fff;
    font-weight: bold;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    border: 2px solid transparent;
    position: absolute;
    top: 2.25em;
    right: 1.25em;
    width: 2.25em;
    height: 2.25em;
    cursor: pointer;
  }

  .open-btn:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f002";
    font-size: 1rem;
  }

  .open-btn:hover {
    opacity: 0.75;
  }

  .open-btn:focus {
    outline: 0;
    background-color: #000;
    border: 2px solid rgb(33, 150, 243);
  }

  /*========= 検索窓の設定 ===============*/

  /*==検索窓背景のエリア*/

  #search-wrap {
    position: fixed; /*固定配置にして*/
    top: 0;
    left: 0;
    z-index: -1; /*最背面に設定*/
    opacity: 0; /*透過を0に*/
    transition: all 0.4s; /*transitionを使ってスムースに現れる*/
    width: 100%;
    height: 100vh;
  }

  /*ボタンクリック後、JSで#search-wrapに panelactive クラスが付与された後の見た目*/
  #search-wrap.panelactive {
    opacity: 1; /*不透明に変更*/
    z-index: 1000; /*全面に出現*/
    background-color: #fff;
    /*中の要素を天地中央揃えにする設定*/
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
  }

  /*==検索窓のエリア*/

  #search-wrap .search-area {
    display: none; /*検索窓のエリアは、はじめ非表示*/
  }

  /*ボタンクリック後、JSで#search-wrapに panelactive クラスが付与された後*/
  #search-wrap.panelactive .search-area {
    display: block; /*検索窓エリアを表示*/
    width: 100%;
    position: relative;
  }

  /*==検索フォームの設定*/

  #search-wrap form {
    position: relative;
  }

  /*=======　閉じるための×ボタン　========*/
  .close-btn {
    position: absolute;
    top: 2.75em;
    right: 2em;
    width: 1em;
    height: 1em;
    cursor: pointer;
  }

  .close-btn:before {
    content: "\f00d"; /* 追記したコード */
    font-family: "Font Awesome 6 Free"; /* 追記したコード */
    font-weight: 900; /* 追記したコード */
    font-size: 2rem;
    color: #009842;
    display: inline-block;
  }

  .select_menu_container select {
    font-size: 1.2rem;
    padding-left: 2em;
    text-align: left;
  }

  ul#tab-vertical__content {
    padding: 1em;
  }

  .book-item {
    width: calc(100% / 2);
  }
  .book-item img {
    width: 75px;
    height: auto;
  }

  .textbook-series div {
    width: 100%;
    padding: 1em 2em;
  }

  .flex-list div {
    font-size: 1rem;
  }

  .feature {
    font-size: 0.8rem;
  }

  #footer {
    margin-bottom: 70px;
  }

  .e-store-sp-guide {
    font-size: 12px;
  }
  .e-store-sp-item img {
    width: 200px;
  }
}
