/*
Theme Name: にこみーるLP
Author: 
Description: 
Version: 1.0
*/

* {
  word-break: break-all;
}
html {
  scroll-behavior: smooth;
}
body {
  display: flex;
  line-height: 30px;
  font-family: "Zen Maru Gothic", serif;
  font-weight: 700;
  font-style: normal;
  font-size: 16px;
  width: 100%;
  letter-spacing: 0.08em;
  color: #5f432e;
  background-color: #fce7a8;
}
ul {
  list-style-type: none;
}
li a {
  text-decoration: none;
  color: inherit;
}
a {
  transition: 0.3s;
}
.container {
  width: 100%;
  max-width: 1366px;
  position: relative;
}
@media (max-width: 767px) {
  .sp-none {
    display: none;
  }
}
@media (min-width: 768px) {
  .pc-none {
    display: none;
  }
}
@media (min-width: 1001px) {
  .container {
    display: flex;
    margin: 0 auto;
    padding: 20px 17px 0 0;
  }
}
/* 
メニューエリア
*/
.header {
  width: 246px;
  position: sticky;
  height: fit-content;
  top: 0;
}
@media (max-width: 1000px) {
  .header {
    z-index: 11;
  }
  #sp-header-fixed {
    position: fixed;
    z-index: 3;
    width: 100%;
    height: 82px;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    background-color: #faf1dc;
    padding-left: 31px;
    border-bottom-left-radius: 30px;
    transition: 0.2s;
  }
  #sp-header-fixed.open {
    background-color: #fce7a8;
  }
  .site-title {
    display: flex;
    align-items: center;
  }
  .site-title img {
    width: 128px;
    height: 43px;
  }
  .sp-top-btn-wrapper {
    display: flex;
    background-color: #fff;
    border-bottom-left-radius: 30px;
  }
  .sp-top-contact {
    display: block;
    width: 119px;
    text-align: center;
  }
  .sp-top-contact p {
    font-size: 12px;
  }
  #sp-top-menu-btn {
    display: flex;
    width: 91px;
    height: 100%;
    padding-bottom: 7px;
    background-color: #fce7a8;
    border-bottom-left-radius: 30px;
    align-items: flex-end;
    justify-content: center;
    transform: translateX(0);
    transition: transform 0.5s;
    font-size: 10px;
  }
  #sp-top-menu-btn div {
    position: absolute;
    width: 34px;
    height: 3px;
    border-radius: 3px;
    background-color: #5f432e;
    transition: all 0.5s;
  }
  #sp-top-menu-btn div:nth-of-type(1) {
    top: 29%;
  }
  #sp-top-menu-btn div:nth-of-type(2) {
    top: 39%;
  }
  #sp-top-menu-btn div:nth-of-type(3) {
    top: 49%;
  }
  #sp-top-menu-btn.open div:nth-of-type(1) {
    top: 38%;
    transform: translate(0%, 0%) rotate(25deg);
  }
  #sp-top-menu-btn.open div:nth-of-type(2) {
    opacity: 0;
  }
  #sp-top-menu-btn.open div:nth-of-type(3) {
    top: 38%;
    transform: translate(0%, 0%) rotate(-25deg);
  }
  .sp-top-menu-btn-text {
    position: absolute;
    top: 46%;
  }
  .open .sp-top-menu-btn-text {
    font-size: 0;
  }
  .open .sp-top-menu-btn-text::before {
    font-size: 10px;
    content: "CLOSE";
    width: 39px;
    display: block;
    position: absolute;
    text-align: center;
    bottom: 0;
    transform: translate(-42%, 0);
  }
}
@media (min-width: 1001px) {
  .site-title {
    padding: 15px 0 35px;
    text-align: center;
  }
  .site-title a {
    transition: 0.3s;
  }
  .site-title a:hover {
    opacity: 0.7;
  }
  .site-title img {
    width: 160px;
    height: 54px;
  }
  .header {
    display: flex;
    flex-direction: column;
    height: 100vh;
  }
  #menu-wrapper {
    flex: 1;
    height: auto;
    max-height: calc(100vh - 104px);
    padding-bottom: 20px;
    overflow-y: auto;
  }
  #menu-wrapper::-webkit-scrollbar {
    width: 6px;
  }
  #menu-wrapper::-webkit-scrollbar-thumb {
    background-color: rgba(95, 67, 46, 0.3);
    border-radius: 3px;
  }
  #menu-wrapper::-webkit-scrollbar-track {
    background-color: rgba(252, 231, 168, 0.3);
  }
}
#menu-wrapper {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  height: calc(100vh - 104px);
  padding-bottom: 10px;
  background-color: #fce7a8;
  overflow-y: auto;
  scrollbar-width: thin;
}
@media (max-width: 1000px) {
  #menu-wrapper {
    display: block !important;
    height: 100%;
    padding: 98px 36px;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1;
    border-bottom-left-radius: 80px;
    transform: translateX(100%);
    transition: all 0.5s;
  }
  #menu-wrapper.open {
    transform: translateX(0);
    width: 100%;
  }
}
.nav-area {
  position: relative;
}
.nav-main {
  border-top: solid 1.5px rgba(95, 67, 46, 0.15);
  border-bottom: solid 1.5px rgba(95, 67, 46, 0.15);
}
.nav-item {
  height: 47px;
  position: relative;
  padding-left: 23px;
}
.nav-item:not(:last-of-type) {
  background-image: repeating-linear-gradient(
    90deg,
    rgba(95, 67, 46, 0.15),
    rgba(95, 67, 46, 0.15) 4px,
    transparent 4px,
    transparent 8px
  );
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: 100% 1px;
}
.nav-item a {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  height: calc(100% - 1px);
  background-color: #fce7a8;
}

@media (max-width: 1000px) {
  .nav-item a span {
    font-size: 18px;
  }
  .nav-item img {
    position: absolute;
    right: 10px;
    bottom: 0;
  }
}
.nav-contact-area {
  position: relative;
  z-index: 10;
  margin-bottom: 16px;
  padding-top: 16px;
  background-color: #fce7a8;
}
@media (min-width: 1001px) {
  .nav-item a span {
    transition: 0.3s;
  }
  .nav-item a:hover span {
    opacity: 0.7;
  }
  .nav-item img {
    position: absolute;
    right: 10px;
    bottom: -47px;
    opacity: 0;
    transition: bottom 0.5s ease, opacity 0.5s ease;
  }
  .nav-item:hover img {
    bottom: 0;
    opacity: 1;
  }
  .nav-contact-area {
    margin-bottom: 20px;
  }
}
.nav-contact-area .orange-button {
  width: calc(100% - 20px);
  margin: 0 10px;
  padding: 0;
}
.nav-sns-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 10px 16px;
}
.sns-button {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px;
  border: solid 2px #5f432e;
  border-radius: 18px;
  background-color: #faf1dc;
  font-size: 13px;
  text-decoration: none;
  color: #5f432e;
  transition: 0.3s;
  white-space: nowrap;
}
.sns-button:hover {
  background-color: #f2cb51;
}
.sns-button img {
  width: 18px;
  height: 18px;
}
.orange-button,
.wp-block-button__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: 47px;
  margin: 0 auto;
  padding: 0 41px;
  border: solid 2px #5f432e;
  border-radius: 24px;
  color: #5f432e;
  background-color: #f2cb51;
  transition: 0.3s;
  text-decoration: none !important;
}
.orange-button:hover,
.wp-block-button__link:hover {
  opacity: 0.8;
}
#menu-campaign {
  text-align: center;
}
#menu-campaign a {
  transition: 0.3s;
}
#menu-campaign a:hover {
  opacity: 0.8;
}
/* 
メインエリア
*/
.main-area-wrapper {
  width: 100%;
  overflow-x: hidden;
}
.contents {
  padding-bottom: 121px;
  background-color: #faf1dc;
}
@media (min-width: 1001px) {
  .main-area-wrapper {
    width: calc(100% - 246px);
    max-width: 1103px;
  }
  .contents {
    padding-bottom: 162px;
    border-radius: 25px;
  }
}

/*
フッター
*/
footer {
  position: relative;
}
.footer-animals {
  display: block;
  position: absolute;
  z-index: 0;
  right: 30px;
  top: 0;
  transition: top 0.5s ease;
}
.on .footer-animals {
  top: -125px;
}
footer * {
  font-weight: 700;
}
.footer-inner {
  position: relative;
  z-index: 1;
  background-color: #fce7a8;
  padding: 80px 66px 75px 83px;
}
.footer-logo {
  margin-bottom: 32px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  footer * {
    font-weight: 500;
  }
  .footer-upper-menu-pc,
  .footer-lower-menu-pc {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .footer-lower-menu-pc li:last-child a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 134px;
    height: 30px;
    border: 2px solid #eb6130;
    border-radius: 15px;
    color: #eb6130;
    background-color: #fff;
    font-size: 14px;
  }
  .footer-upper-menu-pc {
    margin-bottom: 12px;
    justify-content: center;
  }
  .footer-lower-menu-pc {
    justify-content: center;
    margin-bottom: 24px;
    row-gap: 16px;
  }
  .footer-upper-menu-pc li:not(:last-child),
  .footer-lower-menu-pc li:not(:last-child) {
    margin-right: 16px;
  }
  .footer-upper-menu-pc li a:hover,
  .footer-lower-menu-pc li:not(:last-child) a:hover {
    opacity: 0.7;
  }
  .footer-lower-menu-pc li:last-child a:hover {
    color: #fff;
    background-color: #eb6130;
  }
  .footer-menu-sp {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .footer-animals {
    width: 110%;
    height: auto;
    right: -24px;
    top: 0;
    transition: top 0.3s ease;
  }
  footer * {
    font-size: 15px;
  }
  .on .footer-animals {
    top: -92px;
  }
  .footer-inner {
    padding: 48px 36px;
  }
  .footer-logo {
    margin-bottom: 48px;
  }
  .footer-logo img {
    width: 146px;
    height: 49px;
  }
  .footer-upper-menu-pc,
  .footer-lower-menu-pc {
    display: none;
  }
  .footer-menu-sp {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-around;
    margin-bottom: 16px;
  }
  .footer-menu-sp li:last-of-type {
    margin-top: 15px;
  }
  .footer-menu-sp li:last-child a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 134px;
    height: 30px;
    border: 2px solid #eb6130;
    border-radius: 15px;
    color: #eb6130;
    background-color: #fff;
    font-size: 13px;
  }
}
@media screen and (max-width: 390px) {
  .footer-menu-sp {
    gap: 10px 5px;
  }
  .footer-menu-sp li a {
    font-size: 13px;
  }
  .footer-menu-sp li:last-child a {
    width: 125px;
  }
}
.footer-to-corporate {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin: 0 auto 32px;
}
.footer-to-corporate:hover {
  opacity: 0.7;
}
.footer-to-corporate p {
  width: fit-content;
}
.footer-to-corporate img {
  display: block;
}
.copyright {
  text-align: center;
}
@keyframes diagonal {
  0%,
  100% {
    transform: translate(0);
  }
  50% {
    transform: translate(-25px, -15px);
  }
}
@keyframes diagonal2 {
  0%,
  100% {
    transform: translate(0);
  }
  50% {
    transform: translate(25px, -15px);
  }
}
@keyframes rotate {
  0% {
    transform: rotate(-3deg);
  }
  25% {
    transform: rotate(3deg);
  }
  50% {
    transform: rotate(-3deg);
  }
  75% {
    transform: rotate(-9deg);
  }
  100% {
    transform: rotate(-3deg);
  }
}

/*
コラム一覧ページ
*/
.column-page-wrapper {
  padding: 114px 18px 30px;
}
.column-page-heading {
  font-size: 24px;
  margin-bottom: 49px;
  text-align: center;
}
@media (min-width: 1001px) {
  .column-page-wrapper {
    padding: 60px 66px 96px 83px;
  }
  .column-page-heading {
    font-size: 32px;
    margin-bottom: 54px;
  }
}
.pagination ul {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 3px;
  padding: 0;
}
.pagination li {
  display: inline-block;
}
.pagination a.page-numbers,
.pagination span.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  padding-left: 3px;
  border-radius: 50%;
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}
.pagination a.page-numbers:hover {
  background-color: #dedede;
}
.pagination .current {
  background-color: #f2cb51;
  color: #fff;
  font-weight: bold;
}
.paginate-arrow {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #553917;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 7px 13px;
}
.arrow-next {
  background-image: url(images/paginate-arrow.svg);
}
.arrow-prev {
  background-image: url(images/paginate-arrow.svg);
  transform: rotate(180deg);
}
.prev.page-numbers,
.next.page-numbers {
  padding: 0 !important;
}
.prev.page-numbers:hover,
.next.page-numbers:hover {
  opacity: 0.7;
}
/*
ブログカード
*/
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 8px;
  margin-bottom: 52px;
}
.blog-card {
  width: calc((100% - 16px) / 2);
}
.blog-card-img {
  width: 100%;
  height: auto;
  margin-bottom: 12px;
  border-radius: 9px;
}
.blog-card-heading {
  font-size: 15px;
  line-height: 18px;
}
@media screen and (min-width: 768px) {
  .blog-list {
    gap: 33px 27px;
    margin-bottom: 60px;
  }
  .blog-card {
    width: calc((100% - 54px) / 3);
    transition: 0.3s;
  }
  .blog-card a:hover {
    opacity: 0.7;
  }
  .blog-card-img {
    margin-bottom: 16px;
    border-radius: 14px;
  }
  .blog-card-heading {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 10px;
  }
  .blog-card-text {
    font-family: "Noto Sans JP", serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
  }
}

/*
お問い合わせページ
*/
.contact-area {
  padding: 114px 18px 32px;
}
@media screen and (min-width: 1001px) {
  .contact-area {
    padding: 50px 66px 70px 83px;
  }
}
.contact-heading {
  font-size: 24px;
  line-height: 36px;
  text-align: center;
  margin-bottom: 49px;
}
.contact-text-wrapper {
  position: relative;
  max-width: 739px;
  margin-bottom: 94px;
  padding: 16px 40px;
  background-color: #f2cb51;
  border-radius: 66px;
  text-align: center;
}
.contact-text-wrapper p {
  font-size: 18px;
  line-height: 27px;
}
.contact-pandaru {
  position: absolute;
  left: 3px;
  bottom: -52px;
}
.contact-cabeji {
  position: absolute;
  right: -9px;
  bottom: -40px;
}
@media screen and (min-width: 768px) {
  .contact-heading {
    font-size: 32px;
    line-height: 46px;
  }
  .contact-text-wrapper {
    margin: 0 auto 57px;
    padding: 17px 50px 18px;
    border-radius: 53px;
  }
  .contact-text-wrapper p {
    font-size: 24px;
    line-height: 36px;
  }
  .contact-pandaru {
    width: 156px;
    height: 156px;
    position: absolute;
    left: -62px;
    bottom: -21px;
  }
  .contact-cabeji {
    width: 160px;
    height: 160px;
    position: absolute;
    right: -56px;
    bottom: -21px;
  }
}
.contact-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-bottom: 19px;
}
.contact-row:nth-of-type(6) {
  margin-bottom: 67px;
}
.contact-row-last {
  margin-bottom: 51px;
}
.contact-row-heading {
  display: flex;
  align-items: center;
  justify-content: start;
}
.contact-row-heading-inner {
  display: inline-block;
  margin-right: 8px;
}
.required-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 21px;
  background-color: #f2cb51;
  font-size: 14px;
  line-height: 1;
  border-radius: 11px;
}
.orange-tab {
  background-color: #eb6130;
  color: #fff;
}
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.wpcf7-form-control {
  width: 100%;
  background-color: #fff;
  border-radius: 4px;
  padding: 13px 16px;
  font-family: "Noto Sans JP", serif;
  font-size: 16px;
  font-weight: 400;
}
.wpcf7-not-valid-tip {
  color: #eb6130 !important;
  font-weight: 700 !important;
}
.contact-row:nth-of-type(7) .wpcf7-form-control {
  background-color: transparent;
  padding: 0;
}
.wpcf7-form-control::placeholder {
  color: rgba(85, 57, 23, 0.35);
}
@media screen and (min-width: 1245px) {
  .contact-row {
    flex-direction: row;
    gap: 2%;
    margin-bottom: 16px;
  }
  .contact-row:nth-of-type(6) {
    margin-bottom: 45px;
  }
  .contact-row-last {
    margin-bottom: 65px;
  }
  .contact-row-heading {
    width: 31%;
    display: flex;
    align-items: center;
    justify-content: end;
  }
  .contact-row-last .contact-row-heading {
    align-items: baseline;
  }
  .contact-detail {
    width: 65%;
  }
  .contact-row-heading-inner {
    margin-right: 12px;
    font-size: 20px;
  }
  .required-tab {
    width: 54px;
    height: 22px;
    font-size: 16px;
    border-radius: 11px;
  }
  .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
  }
  .wpcf7-form-control {
    padding: 7px 16px;
  }
}
.wpcf7-radio {
  display: flex;
  flex-direction: column;
}
input[type="radio"] {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}
.wpcf7-list-item {
  margin-left: 0;
}
span.wpcf7-list-item-label {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.wpcf7-list-item-label {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 700;
}
span.wpcf7-list-item-label::before {
  display: block;
  content: "";
  border-radius: 50%;
  border: 1px solid #ebdebe;
  background-color: #fff;
  width: 20px;
  height: 20px;
  margin-right: 10px;
}
span.wpcf7-list-item-label::after {
  display: block;
  position: absolute;
  content: "";
  border-radius: 50%;
  width: 12px;
  height: 12px;
  background-color: #f2cb51;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}
input[type="radio"]:checked + span.wpcf7-list-item-label::after {
  display: block;
}
.contact-bottom-text {
  margin-bottom: 32px;
}
.contact-bottom-text-orange {
  font-size: 18px;
  color: #eb6130;
  text-align: center;
  margin-bottom: 32px;
}
.contact-bottom-text-brown {
  font-size: 18px;
  line-height: 27px;
  text-align: center;
  margin-bottom: 32px;
}
.wpcf7-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 61px;
  margin: 0 auto;
  border: solid 2px #5f432e;
  background-color: #f2cb51;
  border-radius: 31px;
  font-family: "Zen Maru Gothic", serif;
  font-weight: 700;
  text-align: center;
  transition: 0.3s;
}
.wpcf7-submit:hover {
  opacity: 0.7;
}
.wpcf7 form .wpcf7-response-output {
  color: #eb6130 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-align: center !important;
  border: none !important;
}
.wpcf7-spinner {
  display: none;
}
@media screen and (min-width: 1245px) {
  .wpcf7-list-item.last {
    margin-left: 1em;
  }
  .wpcf7-radio {
    display: inline;
  }
  .wpcf7-list-item-label {
    font-size: 20px;
  }
  .contact-bottom-text-orange {
    font-size: 20px;
  }
  .contact-bottom-text-brown {
    font-size: 20px;
    line-height: 29px;
  }
  .wpcf7-submit {
    width: 218px;
    height: 47px;
    border-radius: 24px;
  }
  .wpcf7 form .wpcf7-response-output {
    font-size: 20px;
  }
}
/*
確認ページ
*/
.contact-confirm-submit-flex {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wpcf7-previous {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 61px;
  margin: 0 auto;
  border: solid 2px #5f432e;
  background-color: #ebdebe;
  border-radius: 31px;
  font-family: "Zen Maru Gothic", serif;
  font-weight: 700;
  text-align: center;
  transition: 0.3s;
}
@media screen and (min-width: 768px) {
  .contact-confirm-submit-flex {
    justify-content: center;
    flex-direction: row-reverse;
    gap: 64px;
  }
}
@media screen and (min-width: 1245px) {
  .wpcf7-previous {
    width: 218px;
    height: 47px;
    border-radius: 24px;
  }
}
/*
完了ページ
*/
.contact-thanks-wrapper {
  max-width: 826px;
  background-image: url(images/thanks-bg-sp.png);
  background-size: 100% 100%;
  background-position: center;
  margin: 0 auto;
  padding: 48px 46px;
  text-align: center;
}
.contact-thanks-wrapper h3 {
  font-size: 18px;
  margin-bottom: 32px;
}
.contact-thanks-wrapper p {
  font-size: 24px;
  font-family: "Noto Sans JP", serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 23px;
}
.thanks-aoitori {
  display: none;
}
.thanks-umashi {
  margin-bottom: 16px;
}
.to-home-from-thanks {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 61px;
  margin: 0 auto;
  border: solid 2px #5f432e;
  background-color: #ebdebe;
  border-radius: 31px;
  font-family: "Zen Maru Gothic", serif;
  font-weight: 700;
  text-align: center;
  transition: 0.3s;
}
.to-home-from-thanks:hover {
  opacity: 0.7;
}
@media screen and (min-width: 1140px) {
  .contact-thanks-wrapper {
    position: relative;
    background-image: url(images/thanks-bg-pc.png);
    padding: 50px 50px 47px;
  }
  .contact-thanks-wrapper h3 {
    font-size: 24px;
    margin-bottom: 64px;
  }
  .contact-thanks-wrapper p {
    font-size: 24px;
    margin-bottom: 57px;
    font-size: 16px;
    line-height: 30px;
  }
  .to-home-from-thanks {
    width: 190px;
    height: 47px;
  }
  .thanks-aoitori {
    display: block;
    position: absolute;
    left: 40px;
    bottom: 113px;
  }
  .thanks-umashi {
    width: 232px;
    height: 232px;
    position: absolute;
    right: 6px;
    bottom: 94px;
    margin-bottom: 0;
  }
}
