@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

:root {
  --color: #333;
  --border_gray: #DEDEDE;
  --transition: all 0.2s ease-in-out;
  --transition_late: all 1s ease-in-out;
  --blue: #2E6FB7;
  --red: #ce1b1b;
  --green: #3DB9B0;
  --yellow: #ffec18;
  --orange: #E86542;
}

body,
body>* {
  font-family: var(--font-family);
  color: var(--color);
}

html {
  font-size: 18px;
}

img {
  width: 100%;
  max-width: 100%;
  object-fit: cover;
}


a,
a:hover {
  color: var(--color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  text-decoration: none;
}

a img {
  transition: var(--transition);
}

a:hover img {
  transition: var(--transition);
  opacity: 0.8;
}

ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

ul.ul {
  display: block;
  list-style: disc;
  padding-left: 40px;
  margin-bottom: 20px;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.header-container-in.hlt-top-menu {
  padding: 10px 0;
}

.header-container-in.hlt-top-menu .navi {
  width: auto;
}

.navi-in a:hover,
.navi-footer-in a:hover {
  background-color: transparent;
}

.navi-in>ul .caption-wrap>div {
  display: inline-block;
  width: 70%;
  padding: 7px 0;
  position: relative;
}

.navi-footer-in>ul li {
  position: relative;
  overflow: hidden;
}

.navi-in>ul .caption-wrap .item-label::after,
.navi-footer-in>ul li::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--red);
  position: absolute;
  bottom: 0;
  left: -100%;
  transition: var(--transition);
}

.navi-in a:hover .item-label:after,
.navi-footer-in>ul li:hover::after {
  left: 0;
}

.head_contact .main {
  background-color: transparent;
}

.logo_square {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.header-container-in.hlt-center-logo .wrap {
  width: auto;
}

.fixed-header .header-container-in.hidden #header {
  display: none;
}

.eng {
  font-family: var(--en_font);
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.fix-nav,
.logo-fix {
  height: 60px;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 999;
  background-color: #fff;
  padding: 0 25px;
}

.fix-nav ul {
  display: flex;
  gap: 30px;
  margin-bottom: 0;
}

.fix-nav li {
  line-height: 60px;
}

.fix-nav li a {
  font-weight: bold;
  display: block;
  padding: 0 8px;
}

.fix-nav li:hover a {
  color: #004999;
}

.bx-wrapper {
  box-shadow: none;
  border: none;
  margin-bottom: 0;
}

.container {
  margin: auto;
  width: 100%;
  max-width: 1200px;
}

.flex-list {
  display: flex;
  flex-wrap: wrap;
}

.flex-list li {
  width: 23%;
  margin: 1%;
  text-align: center;
}

footer {
  padding: 30px 0;
}

.copy-right {
  text-align: center;
  margin: 8px 0;
}


.wpforms-form .wpforms-field {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}

.wpforms-form .wpforms-field label {
  width: 30%;
  font-size: 19px;
}

.wpforms-form .wpforms-field input,
.wpforms-form .wpforms-field textarea {
  width: 70%;
  max-width: 100%;
}

div.wpforms-container-full button[type=submit] {
  padding: 10px 6rem;
  display: flex;
  align-items: center;
  margin: auto;
}

div.wpforms-container-full .wpforms-form em.wpforms-error {
  width: 100%;
  margin-top: 5px;
  text-align: center;
}

.wpforms-confirmation-container-full {
  border-color: var(--border_red);
  background: #fff;
}

.noside.content-in .main {
  width: 100%;
}

.header-container.fixed-header {
  z-index: 30;
}

.btn {
  font-weight: normal;
  font-size: 1rem;
  border: #444 solid 2px;
  color: #444;
  background-color: #fff;
  padding: 10px 20px;
}

.btn:hover {
  opacity: 1;
  color: #fff;
  background-color: #444;
}

.btn.b-red-r {
  color: var(--red);
  border-color: var(--red);
}

.btn.b-red-r:hover {
  color: #fff;
  background-color: var(--red);
}

.btn.b-blue-r {
  color: var(--blue);
  border-color: var(--blue);
}

.btn.b-blue-r:hover {
  color: #fff;
  background-color: var(--blue);
}

.btn.b-orange-r {
  color: var(--orange);
  border-color: var(--orange);
}

.btn.b-orange-r:hover {
  color: #fff;
  background-color: var(--orange);
}

.btn.b-green-r {
  color: var(--green);
  border-color: var(--green);
}

.btn.b-green-r:hover {
  color: #fff;
  background-color: var(--green);
}


.btn.b-red {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

.btn.b-red:hover {
  color: var(--red);
  background-color: #fff;
}

.btn.b-blue {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.btn.b-blue:hover {
  color: var(--blue);
  background-color: #fff;
}

.btn.b-yellow {
  color: #fff;
  border-color: var(--yellow);
  background: var(--yellow);
}

.btn.b-yellow:hover {
  color: var(--yellow);
  background-color: #fff;
}

.btn.b-green {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.btn.b-green:hover {
  color: var(--green);
  background-color: #fff;
}

.btn.b-orange {
  color: #fff;
  border-color: var(--orange);
  background: var(--orange);
}

.btn.b-orange:hover {
  color: var(--orange);
  background-color: #fff;
}

.closs_list {
  display: flex;
  flex-wrap: wrap;
}

.closs_list li {
  width: 100%;
  margin-bottom: 5rem;
}

.closs_list li.even figure {
  order: 2;
}

.closs_list li.even .txt {
  order: 1;
}

.closs_list li article {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 40px;
}

.closs_list li article figure.pic {
  width: 50%;
}

.closs_list li article .txt {
  width: 50%;
}

.closs_list li article .txt h2 {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 10%;
  z-index: 0;
}

.closs_list li article .txt h2 span {
  position: absolute;
  top: -50%;
  left: -2%;
  font-size: 5rem;
  z-index: -1;
  color: #bcd1e9;
  font-style: italic;
  line-height: 4rem;
}


.closs_list li article .txt .excerpt {
  margin-bottom: 1.7rem;
}



.mv {
  position: relative;
  min-height: 55.75vw;
  overflow: hidden;
}

.mv::after {
  content: "";
  background-size: cover;
  width: 100%;
  height: 100%;
  z-index: 10;
  position: absolute;
  top: 0;
  left: 0;
}

.mv .mv_img {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 0;
}

.mv .mv_foot {
  width: 100%;
  position: absolute;
  bottom: -1px;
  left: 0;
  z-index: 20;
}

.mv .mv_text {
  position: absolute;
  z-index: 15;
  bottom: 30%;
  left: 10%;
  text-shadow: 1px 1px 10px rgb(255 255 255 / 70%);
}

.mv .mv_text h2 {
  color: #000;
  font-size: 3rem;
  line-height: 4.2rem;
  margin-bottom: 2.5rem;
}

.mv .mv_text p {
  color: #000;
  font-weight: bold;
  font-size: 1.2rem;
}

section.mv_text {
  text-align: center;
  padding: 7rem 0;
}

section.mv_text h2 {
  font-size: 3rem;
  line-height: 4.2rem;
  margin-bottom: 2.5rem;
}

.section {
  padding: 80px 0;
}



.message {
  margin: min(150px, 40rem) 0 14rem;
  font-size: min(17px, 17rem);
}

.mv_text+.message {
  margin-top: 0;
}

.message p {
  margin-bottom: 3rem;
  font-size: 1.6rem;
  text-align: center;
  line-height: 2.5rem;
}

.message .wrap p {
  opacity: 0;
}

.message.active .wrap p {
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
}

.message.active .wrap p:nth-of-type(1) {
  animation-delay: 0.3s;
}

.message.active .wrap p:nth-of-type(2) {
  animation-delay: 1.5s;
}

.message.active .wrap p:nth-of-type(3) {
  animation-delay: 2.5s;
}

.message.active .wrap p:nth-of-type(4) {
  animation-delay: 3.5s;
}

.message.active .wrap p:nth-of-type(5) {
  animation-delay: 4.5s;
}

.news {
  padding: 80px 0;
}

.section .wrap>h2,
.news .wrap>h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.news .wrap>h2 {
  margin-bottom: 4.5rem;
}

.section.profile,
.section.service,
.section.book {
  position: relative;
  background-color: #F7F3EA;
  padding-top: 8rem;
}


.flex-triple {
  display: flex;
  column-gap: 20px;
  flex-wrap: nowrap;
  margin-bottom: 50px;
  list-style: none;
}

.flex-triple>li {
  display: flex;
  width: calc(100% / 3);
  padding: 0;
}

.flex-triple>li .move_btn {
  position: relative;
  display: block;
  border: var(--border_gray) 1px solid;
  border-radius: 5px;
  padding: 8% 4% 8%;
  background: #fff;
  color: #000;
  transition: var(--transition);
  box-shadow: 6px 7px 10px #ababab;
}


a figure.zoom-thumb {
  overflow: hidden;
  transition: var(--transition);
}

a figure.zoom-thumb img {
  overflow: hidden;
  transition: var(--transition);
}

a:hover .zoom-thumb img {
  transform: scale(1.1);
}

.flex-triple>li .cat-line,
.category_list>li .cat-line {
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.flex-triple>li .cat-label,
.category_list>li .cat-label {
  position: relative;
  top: 0;
  left: 0;
  font-size: 0.9rem;
  padding: 0px 8px;
  border: none;
  background-color: var(--blue);
}

.flex-triple>li .post-date,
.category_list>li .post-date {
  font-size: 0.8rem;
}

.entry-card-title {
  margin: 0;
}

.ser_txt {
  text-align: center;
  margin-bottom: 5rem;
}

.profile_box {
  display: flex;
  align-items: center;
  gap: 30px;
}

.profile_box .pic {
  width: 40%;
  text-align: center;
}

.profile_box .pic figure {
  max-width: 400px;
  margin: auto;
}

.profile_box .txt {
  width: 60%;
}

.profile_box .txt h3 {
  margin: 50px 0 15px;
  text-align: center;
  font-size: 1.5rem;
}

.pro_license {
  margin-bottom: 3rem;
}

.pro_license li {
  display: inline-block;
  color: #000;
  margin: 0 15px 15px 0;
  padding: 5px 8px;
  border-radius: 5px;
}

.pro_name {
  margin-top: 10px;
}

.book.section .profile_box .txt h3 {
  margin-top: 0;
}

.book.section .profile_box .txt p {
  margin-bottom: 20px;
}

p.link {
  text-align: center;
}

.animation {
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 13s;
}


.shape {
  position: absolute;
  z-index: -2;
}

.circle {
  border-radius: 50%;
}

.s_blue {
  background-color: var(--blue);
}

.s_green {
  background-color: var(--green);
}

.shape.s_blue {
  animation-name: fuwafuwa2;
  width: 150px;
  height: 150px;
  top: 4%;
  left: 74%;
}

.shape.s_green {
  animation-name: fuwafuwa;
  width: 80px;
  height: 80px;
  top: 74%;
  left: 35%;
}

.shape.s_star {
  animation-name: kurukuru;
  animation-duration: 40s;
  width: 130px;
  top: 61%;
  right: 10%;
}

.shape.s_heart {
  animation-name: dokidoki;
  transform: scale(0.85, 0.85);
  width: 125px;
  top: 41%;
  right: 27%;
}

.shape.s_stone {
  animation-name: fuwafuwa3;
  transform: rotate(30deg);
  width: 220px;
  top: -1%;
  right: 36%;
}

.contact.section {
  padding: 0;
  z-index: 0;
  position: relative;
  background-color: #d7d7d7;
}

.contact_bg {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.contact_bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.contact.section .wrap {
  position: relative;
  overflow: hidden;
  padding: 5rem;
}

.contact.section .contact_bg .wrap {
  color: #fff;
}

.contact.section .wrap h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.contact.section .wrap .btn_wrap {
  margin-top: 1rem;
}

.contact.section .wrap .btn_wrap a {
  min-width: 380px;
  font-size: 1.6rem;
  padding: 1rem;
  animation: dokidoki 8s ease forwards;
  animation-delay: 1s;
  transform: var(--transition_late);
}

.go-to-top-button {
  background-color: var(--blue);
  border: 2px var(--blue) solid;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 35px;
  transition: var(--transition);
}

.go-to-top-button:hover {
  background-color: #fff;
  color: var(--blue);
  transform: translateY(-10px);
}












#footer {
  margin-top: 0;
  padding-top: 3rem;
}

.footer-bottom-logo {
  float: none;
  position: relative;
  margin-bottom: 1rem;
}

.footer-bottom-logo img {
  min-height: 100px;
}

.footer-bottom-content {
  float: none;
  text-align: center;
}

.navi-footer-in>.menu-footer {
  justify-content: center;
}

.navi-footer {
  margin: 1.5rem 0;
}

.sns_list {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin: 3rem 0 1.5rem;
}

.sns_list a img {
  width: 50px;
  height: 50px;
}

.navi-footer-in>.menu-footer li {
  border-left: 0;
  padding: 0.5rem 1rem;
  width: auto;
}


.navi-footer-in>.menu-footer li:last-child {
  border: none;
}

.navi-footer-in>.menu-footer li a {
  font-size: 0.9rem;
}

.move {
  transition: var(--transition_late);
}

.main.page,
.main.single {
  padding: 0;
  background-color: inherit;
}

.noside.content-in .main.single {
  width: 90%;
  margin: auto;
}



.page .entry-title,
.single .entry-title {
  text-align: center;
  margin: 6rem 0;
  font-size: 3rem;
}

.page .article h2,
.single .article h2 {
  font-size: 1.7rem;
  padding: 0;
  background-color: inherit;
  margin: 3.2rem 0 1.6rem;
}

.page .article h2:first-child,
.single .article h2:first-child {
  margin-top: 0;
}

body.page,
body.single {
  overflow-x: hidden;
}

.is-layout-constrained> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 100%;
}

.fullwidth-bg {
  position: relative;
  z-index: 0;
  margin: 9rem 0 !important;
}

.fullwidth-bg:before {
  content: "";
  display: block;
  width: 200%;
  height: 160%;
  position: absolute;
  top: -30%;
  left: -50%;
  z-index: -1;
}

.category_list {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.category_list li {
  width: calc(100% / 3);
  border: var(--border_gray) 1px solid;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 6px 7px 10px #ababab;
  background: #fff;
  margin-bottom: 50px;
}

.category_list li article {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  height: auto;
}


.category_list li article figure {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.category_list li article figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-title {
  font-size: 2.5rem;
}

.page .article h3,
.single .article h3 {
  position: relative;
  letter-spacing: .16em;
  border: none;
}

.page .article h3::before,
.single .article h3::before {
  border-left: 5px solid;
  content: "";
  position: absolute;
  height: 60%;
  left: 0;
}

.page .article ul.wp-block-list li,
.single .article ul.wp-block-list li {
  position: relative;
  padding-left: 1.5rem;
}

.page .article ul.wp-block-list li::before,
.single .article ul.wp-block-list li::before {
  position: absolute;
  top: 5px;
  left: 0;
  content: "●";
  font-size: 0.8rem;
}


.rect-vertical-card .related-entry-card-wrap {
  padding: 15px;
}

.closs_list.service li article {
  flex-wrap: wrap;
  row-gap: 20px;
  column-gap: 40px;
}

.closs_list.service li article .txt,
.closs_list.service li article .excerpt {
  width: 100%;
}

.closs_list.service li article figure.pic {
  width: 70%;
  margin: auto;
}

.closs_list .lightbox {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 0;
  width: 100%;
}

.closs_list li:last-child p.link {
  margin-bottom: 0;
}

.closs_list.service p.link {
  width: 100%;
  margin: 0 0 10rem;
}

.closs_list .lightbox .spotlight {
  width: calc(100% / 3);
}

.ul_link a {
  text-decoration: underline;
  color: var(--blue);
}









/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {

  html {
    font-size: 16px;
  }

  .wrap {
    padding: 0 2.5rem;
  }

  #navi,
  .navi-in>ul .caption-wrap,
  .navi-in>ul .caption-wrap>div {
    width: 100%;
  }

  #navi .navi-in>.menu-mobile li {
    width: 25%;
  }

  #navi .navi-in>.menu-mobile li:last-child a {
    color: #fff;
    border-color: var(--red);
    background: var(--red);
    padding: 10px 20px;
    border-radius: 4px;
  }

  .head_contact {
    display: none;
  }

  .logo_square {
    margin-bottom: 20px;
  }

  .profile_box {
    flex-wrap: wrap;
  }

  .profile_box .pic,
  .profile_box .txt,
  .closs_list li article figure.pic,
  .closs_list li article .txt {
    width: 100%;
  }

  .closs_list li article {
    flex-wrap: wrap;
  }

  .closs_list li article figure.pic {
    max-width: 500px;
    margin: auto;
  }

  .closs_list li article .txt h2 {
    padding-left: 5%;
  }

  .closs_list li.even figure {
    order: 1;
  }

  .closs_list li.even .txt {
    order: 2;
  }
}

/*834px以下*/
@media screen and (max-width: 834px) {
  .mv .mv_text {
    left: 5%;
    max-width: 90%;
    padding: 0 5%;
  }
}

/*480px以下*/
@media screen and (max-width: 480px) {

  /*必要ならばここにコードを書く*/
  html {
    font-size: 14px;
  }

  .wrap {
    padding: 0px 1.5rem;
  }

  .logo-header img {
    width: 130px;
  }

  .logo_square {
    display: none;
  }

  .mv {
    min-height: 60vh;
  }

  .mv .mv_img {
    height: 60vh;
    object-fit: cover;
    object-position: bottom;
    top: 0;
    transform: inherit;
  }

  .mv .mv_text {
    left: 0;
    max-width: 100%;
    bottom: 25%;
    padding: 0 5%;
  }

  .mv .mv_text h2 {
    font-size: 2rem;
    line-height: 2.4rem;
    margin-bottom: 1.8rem;
  }

  .mv .mv_text p {
    font-size: 1rem;
  }

  .flex-triple {
    flex-wrap: wrap;
    margin-bottom: 0;
  }

  .flex-triple>li {
    width: 100%;
    margin-bottom: 3rem;
  }

  .news {
    padding: 4.5rem 0;
  }

  .contact.section .wrap {
    padding: 2rem;
  }

  .navi-footer-in>.menu-footer li.menu-item {
    width: 100%;
  }

  .footer-bottom-logo img {
    height: 160px;
  }

  .noside.content-in .main.single {
    width: 100%;
  }

  .page .article ul.wp-block-list,
  .single .article ul.wp-block-list,
  .closs_list.service {
    padding-left: 0;
  }

  .closs_list .lightbox {
    gap: 10px;
  }

  .category_list li {
    width: 100%;
    margin-bottom: 5px;
  }

  .category_list li:last-child {
    margin-bottom: 50px;
  }

  .page .entry-title,
  .single .entry-title {
    margin: 4rem 0;
    padding: 0;
    font-size: 2.2rem;
    text-align: left;
  }

  .contact.section .wrap .btn_wrap a {
    display: block;
    min-width: 100%;
  }

  .mv .mv_text {
    z-index: 3;
  }

  .mv::after {
    z-index: 2;
  }
}





















@keyframes fuwafuwa {
  0% {
    transform: translate(0px, 0px);
  }

  65% {
    transform: translate(20px, 20px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

@keyframes fuwafuwa2 {
  0% {
    transform: translate(0px, 0px);
  }

  35% {
    transform: translate(20px, 0);
  }

  65% {
    transform: translate(0px, 20px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

@keyframes fuwafuwa3 {
  0% {
    transform: translate(0px, 0px);
  }

  65% {
    transform: translate(0px, -20px);
  }

  100% {
    transform: translate(10px, -20px);
  }
}

@keyframes kurukuru {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes yurayura {
  50% {
    transform: rotate(-30deg);
  }

  100% {
    transform: rotate(30deg);
  }
}

@keyframes dokidoki {

  0%,
  98%,
  100% {
    transform: scale(1.0);
  }

  99% {
    transform: scale(0.95);

  }
}


@keyframes left_top {
  0% {
    transform: translate(-100px, -100px);
    opacity: 0;
  }

  100% {
    transform: translate(0);
    opacity: 1;
  }
}

@keyframes left_btm {
  0% {
    transform: translate(-100px, 100px);
    opacity: 0;
  }

  100% {
    transform: translate(0);
    opacity: 1;
  }
}

@keyframes right_top {
  0% {
    transform: translate(100px, -100px);
    opacity: 0;
  }

  100% {
    transform: translate(0);
    opacity: 1;
  }
}

@keyframes right_btm {
  0% {
    transform: translate(-100px, -100px);
    opacity: 0;
  }

  100% {
    transform: translate(0);
    opacity: 1;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}