@charset "UTF-8";


* {
  box-sizing: border-box;
  font-size: 18px;
  line-height: 2;
  margin: 0;
  padding: 0;
  font-family: "Hiragino UD Maru Gothic StdN", "ヒラギノUD丸ゴ StdN W4", sans-serif;
  font-weight: 400;
  font-family:
    "Hiragino UD Maru Gothic StdN",
    "ヒラギノUD丸ゴ StdN",
    "Hiragino Maru Gothic ProN",
    "ヒラギノ丸ゴ ProN",
    "Yu Gothic",
    "YuGothic",
    "Meiryo",
    sans-serif;
  color: #000;
    text-align: justify;
  text-justify: inter-ideograph;
}

@media screen and (max-width: 760px) {
  * {
  font-size: 16px;
}}

[id] {
  scroll-margin-top: 10vh;
}

.bold {
  font-weight: 600;
}

address {
  font-style: normal;
}

:root {
  --color-mainn: #d63444;
  --color-bg: #f1f1e7;
  --color-01: #fdd000;
  --color-02: #009b63;
  --color-03: #f08300;
  --color-04: #0475c0;
}

ul li,
ol li {
  list-style: none;
}

ul {
  display: block;
}

.inner {
  display: block;
  width: 50%;
  max-width: 650px;
  margin: 0 auto;
}

.flexs {
  display: flex;
  align-items: end;
}

.sp {
  display: none !important;
}

.pc {
  display: block !important;
}

@media screen and (max-width: 768px) {
  .sp {
    display: block !important;
  }

  .pc {
    display: none !important;
  }
}

.tx_little {
  font-size: 13px;
  color: #ffffff;
}

.about a {
  color: #fff;
}

/* 方眼紙背景 */
.bg_houganshi {
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)),
    linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
  background-size: 30px 30px;
  background-repeat: repeat;
  background-position: center center;
  background-attachment: fixed;
}

/* 上下にふわふわモーション */

@keyframes float {

  0%,
  100% {
    transform: translateY(-2%);
  }

  50% {
    transform: translateY(2%);
  }
}

.h2after {
  font-size: 14px;
  color: var(--color-mainn);
  text-align: center;
}

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans&display=swap');

.title {
  display: flex;
  overflow: hidden;
  color: var(--color-mainn);
  font-size: 70px !important;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
}

.title span {
  font-size: inherit;
  display: block;
  transform: translate(0, 105%);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
  color: var(--color-mainn);
}

.title.-visible span {
  transform: translate(0, 0);
}

.title span:nth-child(2) {
  transition-delay: 0.06s;
}

.title span:nth-child(3) {
  transition-delay: 0.12s;
}

.title span:nth-child(4) {
  transition-delay: 0.18s;
}

.title span:nth-child(5) {
  transition-delay: 0.24s;
}

.title span:nth-child(6) {
  transition-delay: 0.30s;
}

.title span:nth-child(7) {
  transition-delay: 0.36s;
}

.title span:nth-child(8) {
  transition-delay: 0.42s;
}

.title span:nth-child(9) {
  transition-delay: 0.48s;
}

.title span:nth-child(10) {
  transition-delay: 0.54s;
}

.title span:nth-child(11) {
  transition-delay: 0.6s;
}

.title span:nth-child(12) {
  transition-delay: 0.66s;
}

.title span:nth-child(13) {
  transition-delay: 0.72s;
}

.title span:nth-child(14) {
  transition-delay: 0.78s;
}

/****** Base style. ******/
body {
  height: 100vh;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.section {
  display: block;
  padding: 50px 0;
}

/* トップ画像 */

.day {
  position: absolute;
  right: 40vh;
  bottom: -2vh;
  z-index: 5;
}

.main_img {
  background-color: var(--color-bg);
}

.main_img {
  padding-top: 7vh;
  width: 100%;
  height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-wrap {
  position: relative;
  width: 100%;
}


.bg-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  z-index: 0;
}


.bg-img img {
  width: 95%;
  display: block;
  max-width: 1300px;
  margin: auto;
}

.img-wrap img.pc,
.img-wrap img.sp {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 750px;
  margin: auto;
}

.float-img {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(-10px);
  }

  50% {
    transform: translateY(10px);
  }
}


/* =============メニュー============*/
.header {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: #fff;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
}

.header a {
  color: #000;
  text-decoration: none;
}

/* PCナビ */
.pc-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
}

.pc-nav li::before {
  content: "｜";
  margin: 0 10px;
}

.pc-nav li:last-child::after {
  content: "｜";
  margin-left: 10px;
}

/* =========================
   ハンバーガー
========================= */
.menu-btn {
  display: none;
  /* ←基本非表示（SPで表示） */
  width: 60px;
  height: 60px;
  position: relative;
  background: #fff;
  border: none;
  cursor: pointer;
}

.menu-btn .inn {
  position: absolute;
  width: 30px;
  height: 20px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.menu-btn .line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: #000;
  left: 0;
  transition: 0.3s;
}

.menu-btn .line:nth-child(1) {
  top: 0;
}

.menu-btn .line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.menu-btn .line:nth-child(3) {
  bottom: 0;
}

/* 開いた時 */
.menu-btn.is-open .line:nth-child(1) {
  top: 50%;
  transform: rotate(45deg);
}

.menu-btn.is-open .line:nth-child(2) {
  opacity: 0;
}

.menu-btn.is-open .line:nth-child(3) {
  top: 50%;
  transform: rotate(-45deg);
}

/* =========================
   SPメニュー
========================= */
.menu {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: #fff;
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: 0.3s;
}

.menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu li {
  border-top: 1px solid #000;
  text-align: center;
  padding: 15px 0;
}

.menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* =========================
   レスポンシブ
========================= */
@media (max-width: 768px) {
  .pc-nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }
}

@media (min-width: 769px) {
  .menu {
    display: none;
  }

  .header {
    height: 5vh;
  }
}

/* =========================
   背景＋スクロール文字
========================= */
.bg_s1 {
  position: relative;
  background-color: var(--color-bg);
  padding-top: 40px;
}

.bg_s2 {
  position: relative;
  padding-top: 100px;
}

.bg_s1 img,
.bg_s2 img {
  width: 100%;
  height: auto;
  display: block;
}


.marquee {
  position: absolute;
  top: 80%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  overflow: hidden;
  white-space: nowrap;
  z-index: 1;
}

.marquee p {
  font-size: 100px;
  color: #fff;
  display: inline-block;
  padding-left: 100%;
  animation: marquee-animation 18s linear infinite;
}

@keyframes marquee-animation {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(-100%);
  }
}

/* アバウト */
.about {
  background-color: var(--color-mainn);
  margin-top: 0;
  width: 100%;
}

.about p {
  padding: 50px 0px;
  color: #fff;
}

/* ニュース */
.news {
  background-color: #fff;
  padding: 25px 0;
  display: flex;
  align-items: center;
}

.news li {
  padding: 5px 0;
}

.news a {
  color: #000;
}

/* インデックス */

.faq {
  max-width: 600px;
  margin: 0 auto;
}

.faq-item {
  padding: 10px 0;
}

.faq-question {
  width: 100%;
  padding: 16px;
  background: #fff;
  border: none;
  font-size: 16px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 20px;
}

.faq-question span {
  font-size: 20px;
}

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.4s;
  padding: 0 16px;
  background-color: #fff;
}

.faq-answer a {
  display: block;
  margin: 5px 0;
  color: #000;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
}


.icon {
  position: relative;
  padding: 30px 20px;
}


.icon::before,
.icon::after {
  content: "";
  position: absolute;
  background: #fff;
  transition: transform 0.3s ease;
}


.icon::before {
  width: 12px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.icon::after {
  width: 2px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.faq-item.active .icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.in_01 a {
  border: 2px solid var(--color-01);
  padding: 10px;
}

.in_02 a {
  border: 2px solid var(--color-02);
  padding: 10px;
}

.in_03 a {
  border: 2px solid var(--color-03);
  padding: 10px;
}

.in_04 a {
  border: 2px solid var(--color-04);
  padding: 10px;
}

/* 色指定 */
.color1 {
  padding: 30px 15px;
  background-color: var(--color-01);
}

.color2 {
  padding: 30px 15px;
  background-color: var(--color-02);
}

.color3 {
  padding: 30px 15px;
  background-color: var(--color-03);
}

.color4 {
  padding: 30px 15px;
  background-color: var(--color-04);
}

.c_no {
  font-size: 20px;
  position: relative;
}

.c_no p {
  position: absolute;
  right: -26px;
  bottom: 17px;
  font-size: 28px;
}

/* =============ブックガイド 本一覧============*/

#book_guide {
  background-color: var(--color-bg);
  padding-bottom: 70px;
}

#book_guide .section {
  padding-top: 0;
}

@media screen and (max-width: 768px) {
  #book_guide .flexs {
    display: block;
  }
}

.book {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 17vh;
  margin-bottom: 20px;
}

.book_title a {
  font-size: 22px;
  font-weight: 500;
  color: #000;
  line-height: 1.5;
}

.credit {
  font-size: 14px;
  color: #585858;
  padding-top: 10px;
}

.syoe {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: 45%;
  padding-bottom: 12%;
}

.syoe a {
  margin: 0 auto;
  height: 100%;
}

.syoe img {
  border: 3px solid #000;
  height: 100%;
}

.description {
  display: block;
  font-size: 16px;
}

#book_guide .inner {
  display: block;
  width: 80%;
  max-width: 900px;
}

/* 本のカテゴリー */

.category01,
.category02,
.category03,
.category04 {
  box-sizing: border-box;
  height: 890px;
  width: 450px;
  margin: 30px 20px;
}

.category01 .bg_white::after {
  background: url(../img/husen1.webp) no-repeat center / contain;
}

.category02 .bg_white::after {
  background: url(../img/husen2.webp) no-repeat center / contain;
}

.category03 .bg_white::after {
  background: url(../img/husen3.webp) no-repeat center / contain;
}

.category04 .bg_white::after {
  background: url(../img/husen4.webp) no-repeat center / contain;
}


.category01 .bg_white::after,
.category02 .bg_white::after,
.category03 .bg_white::after,
.category04 .bg_white::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -20px;
  bottom: -30px;
}

.category01 .bg_white,
.category02 .bg_white,
.category03 .bg_white,
.category04 .bg_white {
  padding: 5% 6%;
  width: 100%;
  height: 100%;
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: 35%;
  position: relative;
}

.category01 .bookhead {
  background-image: url(../img/category_head1.webp);
}

.category02 .bookhead {
  background-image: url(../img/category_head2.webp);
}

.category03 .bookhead {
  background-image: url(../img/category_head3.webp);
}

.category04 .bookhead {
  background-image: url(../img/category_head4.webp);
}

.category01 .bookhead,
.category02 .bookhead,
.category03 .bookhead,
.category04 .bookhead {
  z-index: 2;
  height: 3%;
  width: 100%;
  background-repeat: no-repeat;
  background-size: 100%;
}




/* 監修 */
#kansyu {
  padding-top: 100px;
}

.kansyu_bg {
  margin: 0;
  width: 100%;
  height: auto;
  align-items: center;
  justify-content: center;
}


h3.name {
  font-size: 30px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.neme_before {
  font-size: 12px;
}

.name_box {
  width: 100%;
  margin: auto;
  gap: 60px;
  justify-content: center;
  padding-bottom: 20px;
  border-bottom: 2px solid #000000;
}

.name_box img {
  width: 150px;
}

.kansyu_box {
  background-color: #fff;
  border: 3px solid #000;
  border-radius: 20%;
  padding: 40px 50px;
}

.kansyu_box p {
  padding: 40px 30px 30px 30px;
}

#kansyu .inner {
  position: relative;
}

.bg_img {
  position: absolute;
  top: -45px;
  left: 47px;
  width: 18%;
  z-index: 2;
}

.kansyu_box {
  position: relative;
  z-index: 1;
}

.kansyu_bg {
  background-color: none;
}

/* トピックス */
#topics {
  background-color: var(--color-bg);
  padding-bottom: 110px;
}

#topics a {
  color: var(--color-04);
}


.column dt {
  font-weight: 500;
  font-size: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--color-mainn);
}

.column dt::before {
  content: "■";
  color: var(--color-mainn);
  margin-right: 0.3em;
}

.column dd img {
  max-height: 415px;
  max-width: 100%;
  display: flex;
  margin: auto;
}

.column dd {
  padding-top: 30px;
}

.column dd p {
  padding: 30px 0;
}

.column_space {
  display: block;
  height: 90px;
}

/* オフィス */

h2.office {
  font-size: 40px !important;
}

#office img {
  width: 70% !important;
}

#office .column dd p {
  padding: 30px 0;
}

#office .column dd {
  padding-top: 0;
}

/* トップへ戻る */
.pagetop {
  position: fixed;
  right: 5%;
  bottom: 3%;
  display: block;
  width: 80px;
  z-index: 1000;
  opacity: 1;
  visibility: visible;
}

.pagetop img {
  display: block;
  width: 100%;
  height: auto;
}

.pagetop.show {
  opacity: 1;
  visibility: visible;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}



/* フッター */
footer {
  padding: 80px 0;
  background: url(../img/bg_footer.webp) right bottom / 40% auto no-repeat, var(--color-mainn);
}

footer address {
  color: #f0f0f0;
}

footer a {
  font-size: 18px;
  color: #fff;
}

footer p {
  padding: 10px 0;
  color: #fff;
}




/* レスポンシブ対応 */

@media screen and (max-width: 1200px) {
  .category01 .bookhead, .category02 .bookhead, .category03 .bookhead, .category04 .bookhead {
    z-index: 2;
    height: 2%;}

}

@media screen and (max-width: 760px) {
  .pagetop {
    width: 50px;
    right: 3%;
  }

  .header-inner {
    padding: 0 15px;
  }

  .main_img {
    padding-top: 11vh;
    height: auto;
    width: 100%;
  }

  .img-wrap {
    width: 100%;
  }

  .main_img img {
    width: 100%;
  }

  .inner {
    width: 85%;
  }



  .color1,
  .color2,
  .color3,
  .color4 {
    padding: 30px 15px;
  }

  .faq-question span {
    font-size: 15px;
  }

  .faq-question {
    width: 100%;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
  }

  .faq-question .c_no {
    width: 30px;
    flex-shrink: 0;
  }

  .faq-question span:nth-child(2) {
    flex: 1;
    text-align: left;
    padding-left: 10%;
  }

  .faq-question .icon {
    margin-left: auto;
  }

  .marquee p {
    font-size: 50px;
  }

  .title {
    font-size: 50px !important;
  }

  footer {
    padding: 80px 0;
    background: url(../img/bg_footer.webp) right bottom / 70% auto no-repeat, var(--color-mainn);
  }

  .category01,
  .category02,
  .category03,
  .category04 {
    margin: 0 auto 20% auto;
    width: 100%;
    height: 720px;
  }

  .category01 .bookhead,
  .category02 .bookhead,
  .category03 .bookhead,
  .category04 .bookhead {
    height: 3%;
  }

  #book_guide .inner {
    width: 90%;
  }

  .name_box img {
    width: 100px;
  }

  h3.name {
    margin-bottom: 0px;
    margin-bottom: 2px;
  }

  .neme_before {
    line-height: 1;
  }

  .name_box {
    gap: 20px;
  }

  .book {
    height: 23%;
  }

  .kansyu_box p {
    padding: 20px 0;
  }

  .kansyu_box {
    padding: 42px 30px 16px;
    border-radius: 60px;
  }

  .bg_img {
    top: -45px;
    left: 7px;
    width: 25% !important;
  }

  #kansyu {
    padding-top: 100px;
  }

  .day {
    position: absolute;
    right: 26px;
    bottom: 0px;
  }

  .book_title a {
    font-size: 19px;
  }

  .syoe {
    margin-bottom: 0;
    height: 40%;
  }

  .logo {
    font-size: 15px;
    line-height: 1.5;
  }

  .description{
    margin-bottom: 20%;
    line-height: 1.8;
  }



.category01 .bg_white::after, .category02 .bg_white::after, .category03 .bg_white::after, .category04 .bg_white::after {
    right: 7px;
}
.book_title{
  line-height: 1.8;
}
}


