@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Zen+Maru+Gothic:wght@400;500;700&display=swap");
@media screen and (max-width: 1024px) {
  /*--------------------
  header
  --------------------*/
  header .head_wrap {
    width: 100%;
    padding: 1rem;
  }
  header .head_wrap #logo {
    width: 180px;
    position: relative;
    z-index: 98;
  }
  header .head_wrap .head_sns {
    margin-left: 0;
  }
  header .head_wrap .head_sns li.h_contact_btn {
    display: none;
  }
  header .head_wrap .nav_wrap {
    height: 100%;
    margin-top: 0;
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
  }
  header .head_wrap .nav_wrap nav {
    padding: 4rem 1rem 1rem;
  }
  header .head_wrap .nav_wrap nav ul {
    display: block;
  }
  header .head_wrap .nav_wrap nav ul li {
    text-align: left;
  }
  header .head_wrap .nav_wrap nav ul li a {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid #333;
  }
  header .head_wrap #nav_toggle {
    width: 1.5rem;
    height: 1rem;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 99;
  }
  header .head_wrap #nav_toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background: #333;
    transition: 0.3s ease;
    position: absolute;
  }
  header .head_wrap #nav_toggle span:nth-of-type(1) {
    top: 0;
    left: 0;
  }
  header .head_wrap #nav_toggle span:nth-of-type(2) {
    top: 0.5rem;
    left: 0;
  }
  header .head_wrap #nav_toggle span:nth-of-type(3) {
    top: 1rem;
    left: 0;
  }
  header .head_wrap.open .nav_wrap {
    opacity: 1;
    visibility: visible;
  }
  header .head_wrap.open #nav_toggle span:nth-of-type(1) {
    top: 0.5rem;
    transform: rotate(135deg);
  }
  header .head_wrap.open #nav_toggle span:nth-of-type(2) {
    left: 100%;
    opacity: 0;
  }
  header .head_wrap.open #nav_toggle span:nth-of-type(3) {
    top: 0.5rem;
    transform: rotate(-135deg);
  }
  /*--------------------
  メインビジュアル
  --------------------*/
  #mainvisual {
    padding-top: 120px;
    padding-bottom: 100px;
  }
  #mainvisual::before, #mainvisual::after {
    width: calc(100% + 1024px);
  }
  #mainvisual::before {
    height: 300px;
  }
  #mainvisual::after {
    height: 210px;
  }
  #mainvisual .main_deco {
    width: 80%;
    top: inherit;
    bottom: 4rem;
    transform: none;
  }
  #mainvisual .catchcopy {
    width: 100%;
  }
  #mainvisual .catchcopy .catch_inr {
    padding: 1rem;
  }
  #mainvisual .catchcopy .catch_inr span {
    font-size: 2.5rem;
  }
  #mainvisual .catchcopy .catch_inr p {
    font-size: 1.25rem;
  }
  #mainvisual .catchcopy .catch_sns {
    padding: 1rem;
  }
  #mainvisual .catchcopy .x_btn a {
    padding: 1rem 0.5rem;
  }
  #mainvisual .catchcopy .line_btn a {
    padding: 1rem;
  }
  .separater {
    padding-top: 100px;
    position: relative;
  }
  .separater::before {
    content: "";
    display: block;
    width: 85%;
    height: 30px;
    margin: auto;
    background: #fcfcfb;
    border-radius: 3rem 3rem 0 0;
    transform: translateY(1px);
  }
  .separater.neko .neko_doc {
    width: 120px;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
  }
  /*--------------------
  TOP
  --------------------*/
  #top1 {
    display: block;
    position: relative;
  }
  #top1::before, #top1::after {
    width: 7.5%;
    height: 30px;
    transform: translateY(-1px);
  }
  #top1::after {
    position: absolute;
    top: 0;
    right: 0;
  }
  #top1 .container {
    width: 1280px;
    max-width: 100%;
    margin: auto;
    padding-top: 0;
    padding-bottom: 120px;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-top: 0;
    border-radius: 0;
  }
  #top1 h2 {
    font-size: 2rem;
    padding: 0;
  }
  #top1 h2 b {
    font-size: 2.5rem;
  }
  #top1 .worries_wrap {
    padding: 2rem 0;
  }
  #top1 .worries_wrap .worries_box {
    width: 100%;
  }
  #top1 .worries_wrap .worries_box:not(:last-of-type) {
    margin-bottom: 2rem;
  }
  #top2 .mission_img {
    width: 100%;
  }
  #top2 .container {
    width: 1280px;
    max-width: 100%;
    margin: auto;
    padding-top: 100px;
    padding-bottom: 80px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  #top2 h2 {
    font-size: 2rem;
  }
  #top2 .about_wrap {
    width: 100%;
    margin: 0;
  }
  #top2 .about_wrap .about_box {
    display: block;
  }
  #top2 .about_wrap .about_box .about_txt h3 {
    font-size: 1.125rem;
  }
  #top3 {
    background: linear-gradient(0deg, rgba(252, 252, 251, 0.8), rgba(252, 252, 251, 0.8)), url(../img/shoseki_bg.jpg) no-repeat center right 12%/cover;
  }
  #top3 .container {
    width: 1280px;
    max-width: 100%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  #top3 .book_wrap {
    display: block;
    padding-bottom: 8rem;
  }
  #top3 .book_wrap .book_img {
    width: 100%;
    margin-bottom: 2rem;
  }
  #top3 .book_wrap .book_box {
    width: 100%;
  }
  #top3 .book_wrap .book_box h2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 2.25rem;
  }
  #top3 .book_wrap .book_box .fukidashi {
    width: 80px;
    height: 80px;
    font-size: 1rem;
    margin-left: 0;
  }
  #top3 .book_wrap .book_box .sub_ttl {
    font-size: 1.125rem;
  }
  #top3 .book_wrap .book_box .qr {
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
  }
  #top5 .sodan_wrap {
    display: block;
  }
  /*--------------------
  TOP 検索フォーム
  --------------------*/
  #top_search .top_search_wrap .top_search_box .search_btn {
    width: 100%;
  }
  #top_search .more_search a {
    width: 100%;
  }
  /*--------------------
  メディアクエリ切り替えクラス
  --------------------*/
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
}