/*
Theme Name: SMA Original Theme
Author: SMAC
Version: 1.0
*/

@import url("https://fonts.googleapis.com/css2?family=Racing+Sans+One&amp;family=Roboto+Slab:wght@200;300;400;500;600;700;800&amp;display=swap");
@import url("https://fonts.googleapis.com/css2?family=Racing+Sans+One&amp;display=swap");

*/ .alignleft {
  float: left;
  margin-left: 0;
  margin-right: 1em;
}

.alignright {
  float: right;
  margin-left: 1em;
  margin-right: 0;
}

.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.wp-block-categories.aligncenter,
.wp-block-latest-posts.aligncenter,
.wp-block-archives.aligncenter,
.wp-block-tag-cloud.aligncenter,
.wp-block-latest-comments.aligncenter,
.wp-block-rss.aligncenter {
  text-align: center;
}

body {
  box-sizing: border-box;
  color: #2b2b2b;
}

body *,
body *::before,
body *::after {
  box-sizing: border-box;
}

img {
  border: 0;
  margin: 0;
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  vertical-align: top;
}

figure {
  margin: 0;
}

p {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #333;
  transition: 0.2s;
}

a:hover {
  color: var(--link);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

table {
  border-collapse: separate;
  border-spacing: 0;
  border-top: 1px solid rgba(94, 94, 94, 0.1);
  border-left: 1px solid rgba(94, 94, 94, 0.1);
}

td,
th {
  padding: 10px 15px;
  border-bottom: 1px solid rgba(94, 94, 94, 0.1);
  border-right: 1px solid rgba(94, 94, 94, 0.1);
}
.btn {
  transition: 0.2s ease;
  display: block;
}

.btn:hover {
  transform: translate(4px, 4px);
}

/* 変数 */
:root {
  --bg: #fafafa;
  --sma: #ff7e7e;
  --black: #1e2126;
  --link: #009cff;

  --h1: 36px;
  --h2: 28px;
  --h3: 22px;
  --h4: 18px;
}

@media (max-width: 600px) {
  :root {
    --h1: 28px;
    --h2: 22px;
    --h3: 18px;
    --h4: 16px;
  }
}

body {
  font-family: "Roboto Slab", serif;
  font-weight: 400;
}

p {
  line-height: 1.8;
}

h1 {
  font-size: var(--h1);
  margin: 0;
}

h2 {
  font-size: var(--h2);
  margin: 0;
}

h3 {
  font-size: var(--h3);
  margin: 0;
}

h4 {
  font-size: var(--h4);
  margin: 0;
}

/* 横幅 */
body {
  margin: 0;
}

.mycontainer {
  margin-right: 10px;
  margin-left: 10px;
}

@media (min-width: 740px) {
  .mycontainer {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
}

.italic {
  font-style: italic;
}

.bold {
  font-weight: bold;
}

.container {
  width: 1120px;
  margin: auto;
  padding: 40px 0;
}

.container.widget {
  display: block;
}

@media screen and (max-width: 1200px) {
  .container {
    width: 90%;
  }
}

.swiper {
  position: relative;
  overflow: hidden;
}

.flex-between-top {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}

.flex-between-center {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-between-center.flex-wrap {
  flex-wrap: wrap;
}

.flex-start-center-g8 {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

.w30per {
  width: 30%;
}

.w46per {
  width: 46%;
}

.w68per {
  width: 68%;
}

@media screen and (max-width: 640px) {
  .flex-between-top {
    flex-direction: column;
    align-items: center;
  }

  .w30per {
    width: 30%;
  }

  .w68per {
    width: 96%;
  }

  .w-75 {
    width: 75%;
  }
}

.mg-auto {
  margin: auto;
}

.m-t10 {
  margin-top: 10px;
}

.m-t20 {
  margin-top: 20px;
}

.m-t30 {
  margin-top: 30px;
}

.m-t40 {
  margin-top: 40px;
}

.m-b30 {
  margin-bottom: 30px;
}

.cen {
  text-align: center;
}

.rit {
  text-align: right;
}

.question1 {
  font-weight: bold;
  margin-top: 30px;
  font-style: italic;
}

/***
*
Flexible
*
***/
@media (max-width: 599px) {
  .pc {
    display: none;
  }
}

@media screen and (min-width: 600px) and (max-width: 1023px) {
  .pc {
    display: none;
  }
}

@media (min-width: 1024px) {
  .tb {
    display: none;
  }
}

@media (max-width: 599px) {
  .tb {
    display: none;
  }
}

@media (min-width: 1024px) {
  .sp {
    display: none;
  }
}

@media screen and (min-width: 600px) and (max-width: 1023px) {
  .sp {
    display: none;
  }
}

/*----------------------*/

/*    Button    */

/*----------------------*/

.button_a {
  display: inline-block;
  height: auto;
  line-height: 10px;
  padding: 7px 11px 6px;
  vertical-align: top;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  color: #fff;
  background-color: #009cff;
  border-radius: 20px;
  font-size: 12px;
}

.button_a:hover {
  background: #111;
  color: #fff;
  text-decoration: none;
}

/*----------------------*/

/*    Header    */

/*----------------------*/

header {
  height: 145px;
  font-family: "Roboto Slab", serif;
}

header a {
  text-decoration: none;
}

header.HeightMin {
  height: 60px;
}

header button {
  font-size: 16px;
  box-shadow: none;
}

header button:hover {
  box-shadow: none;
}

header #menu-header li a {
  transition: 0.3s;
}

header #menu-header li a:hover {
  color: var(--link);
}

header .header_container {
  padding: 0 8%;
  height: 145px;
  box-shadow: 0 3px 3px #eaeaea;
  position: relative;
  background-color: #fff;
  align-items: center;
  display: flex;
  width: 100%;
}

header.HeightMin .header_container {
  position: fixed;
  z-index: 999;
  height: 60px;
  animation: DownAnime 0.5s forwards;
}

header .header_container::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: rgba(17, 17, 17, 0.07);
  top: 95px;
  left: 0;
}

header.HeightMin .header_container::before {
  content: none;
}

header .header_sp_container {
  display: none;
}

header .header_grid {
  display: grid;
  grid-template-columns: 14fr repeat(2, 1fr);
  grid-template-rows: 96px 50px;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  width: 100%;
  justify-content: space-between;
}

header.HeightMin .header_grid {
  grid-template-columns: 17% 64% 4% 11%;
  grid-template-rows: 60px;
  justify-content: space-between;
}

header .header_grid > div {
  text-align: center;
}

header .header_logo {
  grid-area: 1 / 1 / 2 / 5;
  align-self: center;
  max-width: 325px;
  width: 100%;
}

header.HeightMin .header_logo {
  max-width: 240px;
}

header.HeightMin .header_logo {
  grid-area: 1 / 1 / 2 / 2;
}

header.HeightMin nav {
  grid-area: 1 / 2 / 2 / 3;
}

header .menu-header-container {
  grid-area: 2 / 1 / 3 / 2;
  align-self: center;
  width: 100%;
}

header.HeightMin .menu-header-container {
  grid-area: 1 / 1 / 2 / 2;
}

header .search_area {
  grid-area: 2 / 2 / 3 /3;
  align-self: center;
  width: 100%;
  height: 50px;
}

header.HeightMin .search_area {
  grid-area: 1 / 3 / 2 / 4;
}

header .header_sns {
  grid-area: 2 / 3 / 3 / 4;
  align-self: center;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

header.HeightMin .header_sns {
  grid-area: 1 / 4 / 2 / 5;
}

header .menu-header-container {
  margin: 0 auto;
}
header #menu-header {
  display: flex;
  justify-content: space-between;
  max-width: 750px;
  gap: 2%;
}

header.HeightMin #menu-header {
  margin: auto;
}

header #menu-header li {
  height: 100%;
  background-color: #fff;
  position: relative;
  transition: all 0.3s;
}

header #menu-header li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 48px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
  color: #000;
}

header.HeightMin #menu-header li a {
  height: 60px;
}

header #menu-header .sub-menu {
  width: 200px;
  position: absolute;
  text-align: center;
  right: -20px;
  padding: 0;
  top: 46px;
  left: 0;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
  z-index: 10;
}

header.HeightMin #menu-header .sub-menu {
  top: 60px;
}

header #menu-header .has-child:hover > ul,
header #menu-header .has-child ul li:hover > ul,
header #menu-header .has-child:active > ul,
header #menu-header .has-child ul li:active > ul {
  visibility: visible;
  opacity: 1;
}

header #menu-header .sub-menu li {
  width: 100%;
  height: 60px;
  transition: all 0.3s;
  position: relative;
  background-color: #fff;
  border: 0.3px solid rgb(245 245 245);
  box-shadow: 0 2px 3px rgb(245 245 245);
}

header #menu-header .sub-menu li a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  position: relative;
  height: 100%;
}

header #menu-header .sub-menu li:hover a {
  transform: translateX(4px);
}

header .header_sns_container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

header .header_sns_icon {
  display: none;
}

header .sns_icon {
  border-radius: 30px;
  height: 30px;
  width: 30px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

header .header_sns .icon_facebook {
  background-color: #2d4486;
}

header .header_sns .icon_twitter {
  background-color: #000;
}

header .header_sns .icon_instagram {
  background-color: #325d89;
}

header .sns_icon img {
  height: 16px;
}

/*----------------------*/

/*   Search   */

/*----------------------*/

.search-live-field {
  padding: 10px 6px;
  font-size: 16px;
  border: 1px solid #bebebe;
  border-radius: 3px;
}

.search-results a {
  color: inherit;
}

.search_area {
  padding: 10px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.dashicons.dashicons-no-alt {
  display: none;
}

.search_form_container {
  position: absolute;
  width: 260px;
  top: 46px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  padding: 10px;
  border: 0.3px solid rgb(245 245 245);
  box-shadow: 0 2px 3px rgb(245 245 245);
  display: none;
  z-index: 999;
}

.s-btn-area {
  appearance: none;
  border: none;
  background: var(--sma);
  color: #fff;
  width: 100%;
  padding: 8px 0;
  cursor: pointer;
  filter: drop-shadow(3px 3px 0px rgba(0, 0, 0, 0.25));
}

.s-btn-area:hover {
  transform: translate(4px, 4px);
  filter: drop-shadow(0px 0px 0px rgba(0, 0, 0, 0.25));
  transition: 0.1s;
}

.s-box_form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.s-box {
  padding: 10px;
  border: 1px solid #ededed;
}

.dashicons.search_close {
  display: none;
}

.dashicons.search_open,
.js-search_open.search_open {
  display: block;
}

.react-search input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #bebebe;
}

.react-search .search_results {
  display: flex;
  flex-direction: column;
  gap: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
  margin: 10px 0;
  border: solid 1px #e8e8e8;
  max-height: 500px;
  overflow: scroll;
}

.react-search .result_container p.result_title {
  font-size: 16px;
  line-height: 1.5;
  color: var(--link);
  margin: 0;
}

.react-search .result_container p.result_description {
  font-size: 14px;
  color: #333;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  margin: 0;
}

.react-search .result_container {
  flex-direction: column;
  gap: 0;
  text-align: center;
}

.react-search .result_container img,
.react-search_404 .result_container img {
  width: 100%;
  border: 1px solid #f1f1f1;
}

.react-search .result_container a:last-child,
.react-search .result_container a:first-child {
  width: 100%;
}

@media screen and (max-width: 1120px) {
  .react-search .search_results {
    max-height: 350px;
  }
}

@media screen and (max-width: 380px) {
  .react-search .search_results {
    max-height: 150px;
  }
}

.react-search_404 input {
  width: 40%;
  padding: 8px 12px;
  border: 1px solid #bebebe;
  margin-bottom: 30px;
}

.react-search_404 {
  margin-top: 40px;
}

.react-search_404 .result_container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.react-search_404 .search_results {
  padding: 20px;
  border: 1px solid #cdcdcd;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.react-search_404 .result_container a:first-child {
  width: 30%;
}

.react-search_404 .result_container a:last-child {
  width: 70%;
}

.react-search_404 .result_container p.result_title {
  font-size: 16px;
  color: var(--link);
}

.react-search_404 .result_container p.result_description {
  font-size: 14px;
  color: #333;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

@media screen and (max-width: 750px) {
  .react-search_404 input {
    width: 100%;
  }

  .react-search_404 .result_container {
    flex-direction: column;
    gap: 0;
    text-align: center;
  }

  .react-search_404 .result_container img {
    width: 100%;
  }

  .react-search_404 .result_container a:last-child,
  .react-search_404 .result_container a:first-child {
    width: 100%;
  }
}

/*----------------------*/

/*    Footer    */

/*----------------------*/

footer {
  line-height: 1.5;
  font-family: "Roboto Slab", serif;
}

footer p {
  margin: 0 0 24px;
}

footer .footer_container {
  background-color: #1e2126;
  color: #fff;
  padding: 20px 8%;
}

footer .footer_container a {
  color: #f0f9ff;
  opacity: 0.6;
  text-decoration: none;
  transition: 0.4s;
}

footer .footer_container a:hover {
  opacity: 0.8;
}

footer .footer_grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-rows: 5fr 1fr 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  align-items: center;
  justify-content: center;
}

footer .footer_menu_area {
  grid-area: 1 / 1 / 2 / 2;
}
footer .footer_logo {
  grid-area: 1 / 2 / 2 / 3;
}
footer .footer_bgimg {
  grid-area: 1 / 3 / 2 / 4;
}
footer .footer_sns {
  grid-area: 2 / 1 / 3 / 4;
}
footer .footer_copyright {
  grid-area: 3 / 1 / 4 / 4;
}

footer .footer_menu_area h3 {
  font-size: 34px;
  margin: 12px 0;
  font-weight: 400;
  font-family: "Roboto Slab", serif;
  text-align: left;
  line-height: 1.5;
}

footer #menu-footer li {
  font-size: 14px;
  margin: 6px 0;
}

footer .footer_logo {
  text-align: center;
}

footer .footer_logo h2 {
  font-size: 36px;
  margin: 0;
  letter-spacing: 1.2px;
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  line-height: 1.5;
}

footer .footer_logo p {
  font-size: 12px;
  letter-spacing: 0.4px;
  line-height: 1.5;
  color: #fff;
}

footer .footer_bgimg {
  background-image: url(../png/bgimg_footer.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 100%;
  height: 100%;
  margin-top: -40px;
}

footer .footer_sns {
  display: flex;
  justify-content: center;
  font-size: 30px;
  gap: 18px;
}

footer .sns_icon img {
  height: 24px;
}

footer .footer_container .footer_sns a:hover {
  text-decoration: none;
}

footer .footer_copyright p {
  text-align: center;
  font-size: 12px;
  color: #f0f9ff;
  opacity: 0.3;
}

/*----------------------*/

/*    モジュール   */

/*----------------------*/

/* ----------content_a */

.content_a {
  display: flex;
  gap: 24px;
  border: 1px solid #e5e5e5;
  margin-bottom: 30px;
}

.categories_container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.content_a a {
  color: #333;
}

.content_a a:hover {
  color: #009cff;
  text-decoration: none;
}

.categories_container a {
  display: block;
  background: #009cff;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
}

.categories_container a:hover {
  color: #fff;
}

.content_a_item {
  display: flex;
  align-items: center;
  gap: 2%;
  border: solid 1px #e9e9e9;
}

.content_a .author_avatar {
  width: 20px;
}

.content_a > a {
  width: 50%;
}

.content_a_img img {
  object-fit: cover;
  width: 100%;
  height: 380px;
  transition: 0.3s;
}
.content_a_detail {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 0px;
}

.content_a_img:hover img {
  filter: brightness(0.8);
}

.content_a_title {
  font-size: 26px;
  font-weight: 700;
}

.content_a_excerpt {
  color: #5e5e5e;
  line-height: 18px;
}

.content_a_author {
  color: #818181;
  font-style: italic;
  font-size: 11px;
  line-height: 16px;
}

.content_a_desc a {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  color: rgb(196, 196, 196);
  font-size: 12px;
  font-style: italic;
}

.content_a_desc a:hover {
  color: rgb(17, 17, 17);
}

@media screen and (max-width: 800px) {
  .content_a {
    display: block;
    position: relative;
  }

  .content_a_img {
    filter: brightness(0.8);
    transition: 0.4s;
  }

  .content_a_img img {
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
  }

  .content_a_title {
    color: #fff;
  }

  .content_a_detail {
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    padding: 10px 0;
  }

  .content_a_excerpt {
    display: none;
  }

  .content_a_desc {
    margin-top: auto;
  }

  .content_a_item .news_author {
    color: #fff;
  }

  .content_a_desc a {
    color: #fff;
  }
}

.more_btn {
  background-color: var(--sma);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 40px;
  cursor: pointer;
  position: relative;
  margin: 0 auto 30px;
  box-shadow: 4px 3px #d5d5d5;
  transition: 0.2s;
}

.more_btn:hover {
  box-shadow: none;
  transform: translate(4px, 3px);
}

@media screen and (max-width: 500px) {
  .content_a_title {
    font-size: 22px;
  }

  .categories_container a {
    padding: 2px 8px;
    font-size: 10px;
  }

  .content_a_desc a {
    margin-top: 0;
  }

  .content_a_detail {
    gap: 4px;
  }
}

@media screen and (max-width: 400px) {
  .content_a_title {
    font-size: 18px;
  }
}

/*ローディングアイコン*/
.custom-loader {
  width: 25px;
  height: 25px;
  display: grid;
  border-radius: 50%;
  -webkit-mask: radial-gradient(farthest-side, #0000 40%, #000 41%);
  background: linear-gradient(0deg, #ffffff80 50%, #ffffffff 0) center/2px 100%, linear-gradient(90deg, #ffffff40 50%, #ffffffbf 0) center/100% 2px;
  background-repeat: no-repeat;
  animation: s3 1s infinite steps(12);
}
.custom-loader::before,
.custom-loader::after {
  content: "";
  grid-area: 1/1;
  border-radius: 50%;
  background: inherit;
  opacity: 0.915;
  transform: rotate(30deg);
}
.custom-loader::after {
  opacity: 0.83;
  transform: rotate(60deg);
}

@keyframes s3 {
  100% {
    transform: rotate(1turn);
  }
}

/* ----------mangaList */

/*
	* BLOCK : MANGA LIST
	*/

._cmn_mangaList-v1 .row {
  -ms-flex-align: center;
  align-items: center;
  display: -ms-flexbox;
  display: flex;
  margin: 0;
}

._cmn_mangaList-v1 a:hover {
  text-decoration: none;
}

._cmn_mangaList-v1 .row .col img {
  width: 100%;
}

._cmn_mangaList-v1__manga a {
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.3);
  display: block;
  background-color: #fff;
  padding: 0.5em;
  margin-bottom: 1em;
  font-family: "Fredoka One", cursive;
}

._cmn_mangaList-v1__thumbnail_size_fixed {
  width: 100%;
  max-height: 200px;
  overflow: hidden;
}

._cmn_mangaList-v1__mangaInfo {
  margin: 0;
  font-size: 0.9em;
}

._cmn_mangaList-v1__mangaInfo .prop {
  display: inline-block;
  padding: 0.2em 1em;
  color: #fff;
  margin: 0.5em;
  background-color: #ff7c7d;
}

._cmn_mangaList-v1__mangaInfo .val {
  color: #333 !important;
}

._cmn_mangaList-v1__readButton {
  margin: 0.5em;
  text-align: center;
  display: block;
  padding: 0.5em;
  background-color: #ffc773;
  color: #654d29;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

/*----------------------*/

/*    search.php    */
/*    archive.php    */
/*    404.php    */

/*----------------------*/

.archive h2,
.search h2 {
  margin-bottom: 12px;
}

.notfoundpage_form .s-box_form,
.searchpage_form .s-box_form {
  flex-direction: row;
  margin: 40px 0;
}

.notfoundpage_form .s-btn-area,
.searchpage_form .s-btn-area {
  width: 150px;
}

.notfoundpage_form .s-box,
.searchpage_form .s-box {
  width: 200px;
}

body.error404 {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 100%;
  min-height: 100vh;
}

/*----------------------*/

/*    レスポンシブ    */

/*----------------------*/

@media screen and (max-width: 1260px) {
  header .header_sns_icon {
    display: block;
  }

  header .header_sns_container {
    position: absolute;
    padding: 11px;
    top: 46px;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
    background-color: #fff;
    border: 0.3px solid rgb(245 245 245);
    box-shadow: 0 2px 3px rgb(245 245 245);
  }

  header .header_sns:hover .header_sns_container {
    visibility: visible;
    opacity: 1;
  }
  header.HeightMin .header_grid {
    grid-template-columns: 17% 68% 4% 4%;
  }
}

@media screen and (max-width: 1000px) {
  footer {
    min-width: auto;
  }
}

@media screen and (max-width: 900px) {
  footer {
    min-width: auto;
  }

  footer .footer_container {
    background-image: url(../png/bgimg_footer.png);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 18%;
  }

  footer .footer_grid {
    grid-template-columns: 1fr 7fr;
    grid-template-rows: 4fr 1fr 1fr;
  }

  footer .footer_menu_area {
    grid-area: 1 / 1 / 2 / 2;
  }
  footer .footer_logo {
    grid-area: 1 / 2 / 2 / 3;
  }
  footer .footer_bgimg {
    display: none;
  }
  footer .footer_sns {
    grid-area: 2 / 1 / 3 / 3;
  }
  footer .footer_copyright {
    grid-area: 3 / 1 / 4 / 3;
  }
}

@media screen and (max-width: 1120px) {
  header {
    height: 60px;
  }

  header .header_sp_container {
    padding: 0 20px;
    box-shadow: 0 3px 3px #eaeaea;
    position: fixed;
    background-color: #fff;
    z-index: 20;
    width: 100%;
    display: block;
  }

  header .header_container {
    display: none;
  }
  header.HeightMin .header_logo {
    max-width: none;
  }

  /* ハンバーガーメニューアイコン */

  header .menu_icon {
    position: relative;
    width: 38px;
    height: 38px;
    box-sizing: border-box;
    cursor: pointer;
  }

  /* 三本線のスタイルを決める */
  header .menu_icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--black);
    position: absolute;
    left: 1%;
    transition: all 0.5s ease;
  }

  /* 線の縦位置の調整 */
  header .menu_icon .bar1 {
    top: 8px;
    background-color: var(--black);
  }
  header .menu_icon .bar2 {
    top: 18px;
    background-color: var(--black);
  }
  header .menu_icon .bar3 {
    bottom: 8px;
    background-color: var(--black);
  }

  /*
  ハンバーガーメニューがクリックされたら
  上の線を真ん中に移動させて45℃回転
  */
  header .bar1.open {
    top: 18px;
    transform: rotate(45deg);
  }
  /*
    ハンバーガーメニューがクリックされたら
    真ん中の線は透明化して見えないようにする
  */
  header .bar2.open {
    opacity: 0;
  }

  /*
    ハンバーガーメニューがクリックされたら
    下の線は真ん中に移動させて-45℃回転
  */
  header .bar3.open {
    top: 18px;
    transform: rotate(-45deg);
  }

  /* ハンバーガーメニューアイコン END */

  header .header_logo {
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    width: 100%;
    min-width: 330px;
    max-width: none;
  }

  header .header_logo img {
    width: 180px;
  }

  header .js-search_open {
    display: block;
  }

  header .search_form_container {
    position: relative;
    border: none;
    box-shadow: none;
    width: 100%;
    padding: 0;
  }

  header .s-box_form {
    flex-direction: initial;
    gap: 10px;
    justify-content: center;
    width: 100%;
  }

  header .s-box {
    padding: 10px;
    border: 1px solid #ededed;
    width: 100%;
  }

  header .menu_sp_acc_container {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    margin: auto;
    width: 330px;
    padding: 20px;
  }

  header .menu_sp_acc_container_open {
    display: flex;
  }

  header .header_sns {
    height: auto;
  }

  header .header_sns_icon {
    display: none;
  }

  header .header_sns_container {
    position: relative;
    padding: 0;
    opacity: 1;
    border: none;
    box-shadow: none;
    visibility: visible;
    top: 0;
  }

  header .menu-header-container {
    text-align: left;
  }

  header .sub-menu {
    padding: 0 12px 10px;
    display: none;
  }

  header .menu_sp_acc_container .has-child {
    cursor: pointer;
    position: relative;
  }

  header .menu_sp_acc_container .has-child::before {
    content: "";
    position: absolute;
    top: 6px;
    right: 0;
    border-top: 2px solid #c3c3c3;
    border-left: 2px solid #c3c3c3;
    width: 6px;
    height: 6px;
    transform: rotate(135deg);
    transition: all 0.2s;
  }
  header .menu_sp_acc_container .has-child.add::before {
    transform: rotate(-135deg);
    transition: all 0.2s;
  }

  header .menu_sp_acc_container .menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

@media screen and (max-width: 700px) {
  footer .footer_grid {
    grid-template-columns: 1fr;
    grid-template-rows: 3fr 2fr 1fr 1fr;
  }

  footer .footer_menu_area {
    grid-area: 1 / 1 / 2 / 2;
  }
  footer .footer_logo {
    grid-area: 2 / 1 / 3 / 2;
  }
  footer .footer_sns {
    grid-area: 3 / 1 / 4 / 2;
  }
  footer .footer_copyright {
    grid-area: 4 / 1 / 5 / 2;
  }

  footer .footer_container {
    background-size: 35%;
  }

  footer .footer_menu_area h3 {
    text-align: center;
  }

  footer .footer_menu_area {
    text-align: center;
  }

  footer #menu-footer li {
    font-size: 16px;
  }
}

@media screen and (max-width: 370px) {
  footer .footer_grid {
    grid-template-columns: 1fr;
    grid-template-rows: 4fr 4fr 1fr 2fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  }
}

/*----------------------*/

/*   アニメーション    */

/*----------------------*/

@keyframes DownAnime {
  from {
    opacity: 0;
    transform: translateY(-170px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
