/*
 Theme Name:     Yutoriza
 Theme URI:      https://example.com/
 Description:    Child theme for the Twenty Twenty-Four theme
 Author:         makanani co,ltd
 Author URI:     https://example.com/
 Template:       twentytwentyfour
 Version:        1.0.0
 Text Domain:    yutoriza
*/

body {
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 400;
  font-style: normal;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "M PLUS 1p", sans-serif;
}
main {
  margin-block-start: 0;
}
:root main > .entry-content {
  margin-block-start: 0;
}
p {
  line-height: 250%;
}
.zs-section {
  padding-top: 60px;
  padding-bottom: 60px;
  margin-block-start: 0;
}

.only-sp {
  display: none;
}
.wp-element-button {
  transition-duration: .4s;
}
.wp-element-button:hover {
  opacity: 0.9;
  transform: scale(1.02);
}
a:where(:not(.wp-element-button, .custom-logo-link, .wp-block-site-title a, #wpadminbar a, .contact-us a)) {
  text-decoration: none;
  padding-bottom: 5px;
  position: relative;
}
a:where(:not(.wp-element-button, .custom-logo-link, .wp-block-site-title a, #wpadminbar a, .contact-us a))::before {
  background: #5aa633;
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}
a:where(:not(.wp-element-button, .custom-logo-link, .wp-block-site-title a, #wpadminbar a, .contact-us a)):hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}
footer a:where(:not(.wp-element-button, .custom-logo-link, .wp-block-site-title a, #wpadminbar a, .contact-us a))::before {
  background: #e6f1da;
}
/* header */
header.wp-block-template-part {
  position: fixed;
  top: 0;
  z-index: 999;
  width: 100%;
  background: transparent;
  transition: background-color 0.3s ease;
  color: #fff;
}
header.wp-block-template-part.scrolled {
  background-color: rgba(255, 255, 255, 0.8);
}
header.wp-block-template-part > .wp-block-group {
  background: rgba(255, 255, 255, 0.5)!important;
  background: rgba(45, 125, 210, 0.5) !important;
}
header.wp-block-template-part .wp-block-site-title {
  font-size: 2.5rem;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  letter-spacing: 0.2rem;
}
header.wp-block-template-part .m-site-description {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: lighter;
}
header.wp-block-template-part .contact-us-wrapper {
  margin-right: 15px;
}

/* primary nav */
.main-navigation ul.menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-navigation nav.menu ul li {
  position: relative;
}

.main-navigation nav.menu ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.menu li.menu-item-has-children {
  position: relative;
}

.main-navigation ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.8);
  padding: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 5px;
  z-index: 999;
  min-width: 180px;
  width: 27rem;
  list-style: disclosure-closed;
  box-sizing: border-box;
  padding-left: 2rem;
}

.main-navigation ul.menu li:hover > .sub-menu {
  display: block;
}

.main-navigation ul.sub-menu li {
  margin-bottom: 0.5rem;
}

/* デフォルトで非表示 */
.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* contact us */
.contact-us {
  display: flex;
  gap: 15px;
}
.contact-us li {
  list-style: none;
  display: flex;
}
.contact-us li a {
}
.contact-us li a img {
  width: 3rem;
}
.tel-contact-btn, .line-contact-btn {
  display: flex;
  padding: 5px 15px;
  border: 1px solid #0f4503;
  border-radius: 5px;
  text-decoration: none;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  background: #0f4503;
}
.tel-contact-btn:hover, .line-contact-btn:hover {
  opacity: 0.8;
}
.line-contact-btn {
  background: #07b53b;
  border-color: #07b53b;
}
.tel-contact-btn i, .line-contact-btn i {
  margin-right: 0.5rem;
  font-size: 2rem;
}
.tel-contact-btn > span {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tel-contact-btn > span > span:first-of-type {
  font-size: 0.8rem;
  letter-spacing: -0.5px;
}
.tel-contact-btn > span > span:last-of-type {
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
}


/* common section */
.m-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* first-view */
#m-first-view-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}
#m-first-view-section > #m-first-view-back {
  opacity: 0.5;
}
#m-first-view-section > #m-first-view-front {
  position: absolute;
  top: 50%;
  bottom: 50%;
  right: 0;
  left: 0;
  margin: auto;
  width: 100%;
  justify-content: space-between;
}
#m-first-view-front > div:nth-child(2) {
  padding: 30px 30px 30px 60px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 30px 0 0 30px;
}
#m-first-view-front > div:nth-child(2) > h2 {
  color: #2d7dd2;
  font-family: "Sawarabi Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.2em;
  line-height: 150%;
}
#m-first-view-front > div:nth-child(2) > h2 > span {
  color: #F4A261;
  font-size: 1.2em;
}

/* benefit-section */
#m-benefit-section {
  margin-block-start: 0;
  background: #F5F7FA;
}
#m-benefit-contents {
  justify-content: space-around;
}
#m-benefit-contents > .wp-block-column {
  padding: 15px;
  //border: 1px solid #333333;
  background: rgba(255, 255, 255, 0.8);
}
#m-benefit-contents h3 {
  color: #4A90E2;
}

/* subpage title */
#subpage-title-wrapper {
  padding: 220px;
  background-position: center;
  position: relative;
}
#subpage-title-wrapper::before {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.3);
  //z-index: 1;
  width: 100%;
  height: 100%;
  content: "";
}
#subpage-title-wrapper h1.wp-block-heading {
  color: #fff;
  text-shadow: 5px 5px 5px rgba(0,0,0,0.2);
}

/* m-voice-section */
#m-voice-section {
  background: #F0F8FF;
}
#m-voice-contents-wrapper {
  padding: 60px;
  background: #ffff;
  border-radius: 30px;
}

#m-voice-contents-wrapper > .wp-block-columns > .wp-block-column:first-of-type {
  flex-basis: 25%;
}

#m-voice-contents-wrapper > .wp-block-columns > .wp-block-column:last-of-type {
  flex-basis: 75%;
  padding: 15px;
  position: relative;
  display: inline-block;
  margin: 1.5em 0 1.5em 15px;
  padding: 7px 10px;
  min-width: 120px;
  max-width: 100%;
  color: #555;
  font-size: 16px;
  background: #FFF;
  border: solid 3px #555;
  box-sizing: border-box;
}

#m-voice-contents-wrapper > .wp-block-columns > .wp-block-column:last-of-type:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -24px;
  margin-top: -12px;
  border: 12px solid transparent;
  border-right: 12px solid #FFF;
  z-index: 2;
}

#m-voice-contents-wrapper > .wp-block-columns > .wp-block-column:last-of-type:after {
  content: "";
  position: absolute;
  top: 50%;
  left: -30px;
  margin-top: -14px;
  border: 14px solid transparent;
  border-right: 14px solid #555;
  z-index: 1;
}


/* usage */
#m-usage-flow-section {
}
#m-usage-flow-section h2 {
  color: #6BCB77;
}
#m-usage-contents-wrapper {
  padding-top: 60px;
  padding-bottom: 60px;
}


/* last cta */
.m-last-cta-content-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.m-free-trial-button-wrapper .wp-block-button {
  width: 100%;
}
.m-free-trial-button-wrapper a {
  font-size: 2rem;
  width: 100%;
  background: #F4A261;
}









/* first-view */
#first-view {
  padding-top: 0!important;
  height: calc(100vh - 0px);
  background: url(/wp-content/themes/yutoriza/assets/images/firstview-bg.svg) #e6f1da;
  background-position: -840px bottom;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: row-reverse;
  position: relative;
  overflow: hidden;
}

#first-view::after {
  position: absolute;
  bottom: 0;
  left: 35%;
  content: "";
  width: 1234px;
  height: 380px;
  background: url(/wp-content/themes/yutoriza/assets/images/firstview-after.svg);
}

#first-view .bg-image {
  padding: 0 30px;
  height: inherit;
  padding-top: 120px;
  width: calc(100% - 800px);
}

#first-view .bg-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

#first-view .catch {
  //position: absolute;
  //top: 0;
  //bottom: 0;
  //left: 0;
  //right: 0;
  //width: fit-content;
  //margin: auto;
  //height: fit-content;
  //text-align: center;
  //color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 20%;
  
}
#first-view .catch h2 {
  color: #fff;
  font-size: var(--wp--preset--font-size--xx-large);
  font-family: "Hina Mincho", serif;
  letter-spacing: 0.8rem;
  -webkit-text-fill-color: ;
  -webkit-text-size-adjust: ;
  font-size: 5rem;
}
#first-view .catch h2 span {
  font-size: var(--wp--preset--font-size--xx-large);
}
#first-view .catch h2 span.st {
  background: #fff;
  border-radius: 5px;
  color: #5aa633;
  padding-left: 10px;
  margin-right: 15px;
  transform: rotate(-5deg);
  display: inline-block;
}
#first-view .catch p {
  font-size: var(--wp--preset--font-size--large);
  color: #fff;
}

#first-view + .zs-section {
  position: relative;
  background: #eff6ec;
  margin-block-start: 0;
  margin-top: -1.2em !important;
}
#first-view + .zs-section:before {
  background: url(/wp-content/themes/yutoriza/assets/images/section-2-before.svg);
  width: 100%;
  height: 58px;
  position: absolute;
  top: -58px;
  content: "";
  background-position: left bottom;
  background-size: cover;
  background-repeat: no-repeat;
}
#first-view + .zs-section .leaf-kun {
  position: absolute;
  right: 0;
  top: -250px;
}
.strength-contents {
  margin-top: 60px;
}
.strength-content {
  background: rgba(255,255,255,0.8);
  padding: 15px;
  border-radius: 15px;
}
.strength-content .thumb img {
  border-radius: 15px;
}


/* top-about-us */
#top-about-us {
  padding-bottom: 60px!important;
}
#top-about-us .zs-container {
  position: relative;
}

#top-about-us h2 {
  position: absolute;
  margin: auto;
  width: fit-content;
  height: fit-content;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  writing-mode: vertical-rl;
  color: #5aa633;
  text-align: left;
  line-height: 180%;
}
#top-about-us h2 span {
  text-decoration: underline dotted #5aa633 0.1rem;
  text-underline-offset: 20px;
  letter-spacing: 0.2em;
}
#top-about-us h2 span:last-of-type {
  margin-top: 3em;
}

#top-about-us .zs-container > .wp-block-columns {
  gap: 200px;
}

.concept-wrapper {
}
.concept-wrapper > .wp-block-column > .is-vertical {
  gap: 60px;
}
.concept-wrapper > .wp-block-column:nth-of-type(2) {
  justy-content: space-around;
}
.concept-wrapper > .wp-block-column:nth-of-type(2) > .is-vertical {
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  height: 100%;
  overflow-x: clip;
}
.concept-description {
  padding: 60px;
  background: #57a632;
  color: #fff;
  border-radius: 30px;
  outline: 2px dotted #fff;
  outline-offset: -30px;
  transform: rotate(3deg);
}
.concept-content {
  background: #fff;
  border-radius: 15px;
  padding: 15px;
  margin-left: 30px;
}
.concept-content > .wp-block-group > .wp-block-group h3 {
  color: #6a3906;
}
.concept-content > .wp-block-group > .wp-block-group p.description {
  color: #957350;
}

.concept-content img {
  transform: scale(1.1);
  left: -30px;
  margin-left: -30px;
  margin-top: -15px;
  border-radius: 15px;
  margin-bottom: 15px;
}
.concept-content.concept-2 > .wp-block-group {
  flex-direction: column-reverse;
}
.concept-content.concept-2 img {
  margin-top: 15px;
  margin-bottom: -15px;
  margin-left: 30px;
}
.concept-content.concept-3 > .wp-block-group {
}
.concept-content.concept-3 img {
  margin-bottom: 15px;
  margin-left: 30px;
}

/* top-business-content */
#top-business-content {
  background: #5aa633;
  
}
.business-contents {
  gap: 60px;
  margin-bottom: 60px;
}
.business-contents .title-block {
  color: #191919;
  z-index: 1;
  padding: 30px;
}
.business-contents .title-block > .is-vertical {
  justify-content: center;
  height: 100%;
}
.business-contents .title-block h2 {
  //color: #699d39;
  color: #6a3906;
  text-decoration: underline dotted #6a3906 0.1rem;
  text-underline-offset: 20px;
  letter-spacing: 0.2em;
  margin-bottom: 15px;
  width: 100%;
}
.business-contents:first-of-type {
  position: relative;
}
.business-contents:first-of-type:before {
  width: 100%;
  position: absolute;
  top: -5%;
  left: -50%;
  background: #e6f1da;
  border-radius: 30px;
  height: 110%;
  content: "";
  z-index: 0;
}

.business-content {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 30px;
  color: #fff;
}
.business-content h3 {
  width: 100%;
  color: #fff;
}
.business-content img {
  border-radius: 15px;
}
.business-content > .is-vertical > .wp-block-columns > .wp-block-column:last-of-type > .is-vertical {
  justify-content: space-between;
  height: 100%;
}
.business-content .wp-block-buttons {
  width: 100%;
}
.business-content .wp-block-buttons .wp-block-button {
  width: 100%;
}
:root .business-content .wp-element-button {
  background: #e4c78e;
  color: #6a3906;
  border-color: #6a3906;
}

/* top-news-wrapper */
.top-news-wrapper {
  background: #e6f1da;
}
.top-news-wrapper > .inner > .is-layout-flex {
  justify-content: start;
  align-items: start;
}
.top-news-wrapper > .inner > .is-layout-flex > h2 {
  background: #8fbe20;
  display: flex;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  color: #fff;
  justify-content: center;
  align-items: center;
  text-decoration: underline 2px dotted;
  text-underline-offset: 20px;
}
.top-news-wrapper > .inner > .is-layout-flex > .wp-block-group {
  flex-grow: 1;
}
:root :where(.wp-block-post-title a:where(:not(.wp-element-button)):hover) {
  text-decoration: none!important;
}
:root :where(.wp-block-post-date a:where(:not(.wp-element-button)):hover) {
  text-decoration: none!important;
}
:root :where(.wp-block-post-terms a:where(:not(.wp-element-button)):hover) {
  text-decoration: none!important;
}
:root :where(.wp-block-post-author-name a:where(:not(.wp-element-button)):hover) {
  text-decoration: none!important;
}
:root :where(.wp-block-navigation a:where(:not(.wp-element-button)):hover) {
  text-decoration: none!important;
}
/* sub page common */
.page-title-wrapper {
  display: none;
}
.page-first-view {
  position: relative;
  
}
.page-first-view > figure {
  height: 600px;
}
.page-first-view figure img {
  width: 100%!important;
  height: 100%!important;
  object-fit: cover;
}
.page-first-view .page-title {
  position: absolute;
  background: url(/wp-content/themes/yutoriza/assets/images/page-title-bg.svg);
  width: 1234px;
  height: 380px;
  padding-top: 220px;
  padding-left: 60px;
  bottom: 0;
  left: 0;
  background-repeat: no-repeat;
  background-position: left bottom;
  color: #ffffff;
  padding-top: 150px;
  text-align: center;
  padding-top: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 55px;
}
.page-first-view .page-title h1 {
  font-family: "Kosugi Maru", sans-serif;
  font-size: 2.2rem;
  color: #fff;
  width: 64%;
  padding-left: 3%;
}
.page-first-view .page-title p {
  padding-left: 50px;
  padding-right: 100px;
  padding-left: 80px;
  padding-right: 130px;
}
.page-first-view + .zs-section {
  background: #eff6ec;
  margin-block-start: 0;
}
.page-first-view + .zs-section:before {
  background: url(/wp-content/themes/yutoriza/assets/images/section-2-before.svg);
  width: 100%;
  height: 58px;
  position: absolute;
  top: -58px;
  left: 0;
  content: "";
  background-position: left bottom;
  background-size: cover;
  background-repeat: no-repeat;
}
#worries-wrapper h2 {
  font-family: "Kosugi Maru", sans-serif;
  color: #4ca835;
}
.worries {
  background: #fff;
  padding: 60px;
  border-radius: 30px;
}
.worries p > i {
  color: #4ca835;
  margin-right: 1rem;
  display: inline-block;
}

#service-wrapper {
  background: #4ca835;
}

#service-wrapper h2 {
  color: #ffffff;
}

.service-content {
  background: #fff;
  padding: 60px;
  border-radius: 30px;
}
.service-content h3 {
  color: #4ca835;
}

#flow-wrapper {
  background: #f0f0f0;
}
#flow-wrapper h2 {
  color: #4ca835;
}
.flow-content {
  padding: 60px;
  border: 1px solid #4ca835;
  border-radius: 30px;
}
.flow-content > .wp-block-columns > .wp-block-column:first-of-type {
  width: 25%;
  flex-basis: 25%;
}
.flow-content > .wp-block-columns > .wp-block-column:last-of-type {
  width: 75%;
  flex-basis: 75%;
}
.flow-content > .wp-block-columns > .wp-block-column:first-of-type img {
  border-radius: 15px;
}

#faq-wrapper {
  background: #eff6ec;
}
#faq-wrapper > .inner {
  background: #fff;
  border-radius: 30px;
  padding: 60px;
}
.faq-content {
	padding: 30px;
	border-bottom: 3px solid #eff6ec;
}
.question {
  padding-left: 45px;
  position: relative;
  min-height: 30px;
  font-size: 1.2rem;
}
.question::after {
  position: absolute;
  content: "";
  width: 30px;
  height: 30px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyBjbGFzcz0icWEtcSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA0MDAgNDAwIj4gPGRlZnM+IDxzdHlsZT4gLnFhLXEtMDEgeyBmaWxsOiAjY2NlNmU0OyB9IC5xYS1xLTAyIHsgZmlsbDogIzMzMzsgfSAucWEtcS0wMyB7IGZpbGw6IG5vbmU7IHN0cm9rZTogIzMzMzsgc3Ryb2tlLWxpbmVjYXA6IHJvdW5kOyBzdHJva2UtbGluZWpvaW46IHJvdW5kOyBzdHJva2Utd2lkdGg6IDIzLjY5cHg7IH0gPC9zdHlsZT4gPC9kZWZzPiA8Y2lyY2xlIGNsYXNzPSJxYS1xLTAxIiBjeD0iMjIwLjc5IiBjeT0iMTk5LjU1IiByPSIxNzMuMTQiLz4gPHBhdGggY2xhc3M9InFhLXEtMDMiIGQ9Ik0zMjAuMjEsMzAwLjRjNjMuNTYtNzEuMTgsNTcuMzgtMTgwLjQtMTMuNzktMjQzLjk2QzIzNS4yNC03LjExLDEyNi4wMi0uOTQsNjIuNDYsNzAuMjQtMS4xLDE0MS40MSw1LjA4LDI1MC42NCw3Ni4yNSwzMTQuMmM1Mi43Niw0Ny4xMSwxMjYuNDIsNTUuOTEsMTg2LjksMjguMzJsNDQuNzYsNDQuOTQiLz4gPHBhdGggY2xhc3M9InFhLXEtMDIiIGQ9Ik0xMDcuNDgsMTgxLjkxYzAtNDkuMzIsMzUuNi04NC44Nyw4MS45OC04NC44N3M4Mi4yMSwzNS41NSw4Mi4yMSw4NC44N2MwLDIxLjUzLTYuNzksNDAuMzEtMTguMDQsNTQuNThsMTYuODYsMTcuNTJjMi44MSwyLjUsNC42OCw2LjAxLDQuNjgsOS43NiwwLDYuNzYtNS42MiwxMy4yNy0xMy4xMiwxMy4yNy0zLjk4LDAtNy41LTItMTAuMzEtNS4yNmwtMTcuMS0xNy43OGMtMTIuODgsOC41MS0yOC4zNCwxMy4yNy00NS4yMSwxMy4yNy00Ni4zOCwwLTgxLjk4LTM1LjgtODEuOTgtODUuMzdaTTE4OS40NiwyNDAuMjRjOC45LDAsMTcuOC0yLjI1LDI1LjMtNi43NmwtMjMuNjYtMjQuNTNjLTIuODEtMi43NS00LjY4LTYuMjYtNC42OC05Ljc2LDAtNi43Niw1LjYyLTEzLjI3LDEzLjEyLTEzLjI3LDMuOTgsMCw3LjUsMi4yNSwxMC4zMSw1LjI2bDIzLjg5LDI0Ljc4YzYuMDktOC43Niw5Ljg0LTIwLjI4LDkuODQtMzMuOCwwLTM2LjA1LTI1LjMtNTguMDgtNTQuMTEtNTguMDhzLTUzLjg3LDIyLjAzLTUzLjg3LDU4LjA4LDI1LjMsNTguMDgsNTMuODcsNTguMDhaIi8+PC9zdmc+");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  left: 0;
  top: 0;
}
.answer {
  padding-left: 45px;
  position: relative;
  min-height: 30px;
}
.answer::after {
  position: absolute;
  content: "";
  width: 30px;
  height: 30px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyBpZD0icWEtYSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA0MDAgNDAwIj4gPGRlZnM+IDxzdHlsZT4gLnFhLWEtMDEgeyBmaWxsOiAjZWJjYWNhOyB9IC5xYS1hLTAyIHsgZmlsbDogIzMzMzsgfSAucWEtYS0wMyB7IGZpbGw6IG5vbmU7IHN0cm9rZTogIzMzMzsgc3Ryb2tlLWxpbmVjYXA6IHJvdW5kOyBzdHJva2UtbGluZWpvaW46IHJvdW5kOyBzdHJva2Utd2lkdGg6IDIzLjY5cHg7IH0gPC9zdHlsZT4gPC9kZWZzPiA8Y2lyY2xlIGNsYXNzPSJxYS1hLTAxIiBjeD0iMjIwLjc5IiBjeT0iMTk5LjU1IiByPSIxNzMuMTQiLz4gPHBhdGggY2xhc3M9InFhLWEtMDMiIGQ9Ik0zMjAuMjEsMzAwLjRjNjMuNTYtNzEuMTgsNTcuMzgtMTgwLjQtMTMuNzktMjQzLjk2QzIzNS4yNC03LjExLDEyNi4wMi0uOTQsNjIuNDYsNzAuMjQtMS4xLDE0MS40MSw1LjA4LDI1MC42NCw3Ni4yNSwzMTQuMmM1Mi43Niw0Ny4xMSwxMjYuNDIsNTUuOTEsMTg2LjksMjguMzJsNDQuNzYsNDQuOTQiLz4gPHBhdGggY2xhc3M9InFhLWEtMDIiIGQ9Ik0xMjMuMTgsMjUwLjUxYzAtMi4wMS40NS00LjAyLDEuMzQtNi40OGw0OC40OS0xMjAuODljMy44LTkuODMsMTAuOTUtMTQuMDgsMTguNzctMTQuMDhzMTQuNzUsNC40NywxOC41NSwxNC4wOGw0Ny42LDEyMC42N2MxLjEyLDIuOTEsMS41Nyw0LjkyLDEuNTcsNi43LDAsNi45My01LjM2LDEyLjUxLTEyLjI5LDEyLjUxLTYuMjYsMC0xMC4wNS0zLjEzLTEyLjI5LTguOTRsLTEwLjczLTI3LjcxaC02NS45MmwtMTAuNzMsMjcuOTNjLTIuMjQsNS41OS02LjcsOC43Mi0xMi4wNyw4LjcyLTcuMTUsMC0xMi4yOS01LjU5LTEyLjI5LTEyLjUxWk0yMTUuNDcsMjAzLjgxbC0yMy45MS02MS42OGgtLjY3bC0yMy45MSw2MS42OGg0OC40OVoiLz48L3N2Zz4=");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  left: 0;
  top: 0;
}
#philosophy-wrapper h2 {
  text-decoration: underline 3px dotted #333;
  text-underline-offset: 20px;
  margin-bottom: 60px;
}
.philosophy {
  font-size: 2rem;
  color: #4ca835;
  text-align: center;
}
#philosophy-wrapper p {
  text-align: center;
  line-height: 250%;
}
#greeting-wrapper {
  background: #4ca835;
}
#greeting-wrapper h2 {
  color: #fff;
  text-decoration: underline 3px dotted #fff;
  text-underline-offset: 20px;
  margin-bottom: 60px;
}
.greeting-content {
  background: #fff;
  border-radius: 30px;
  padding: 60px;
  line-height: 250%;
}
#profile-wrapper {
  background: #f0f0f0;
}
#profile-wrapper h2 {
  color: #191919;
  text-decoration: underline 3px dotted #191919;
  text-underline-offset: 20px;
  margin-bottom: 60px;
}
.profile-content {
  background: #fff;
  border-radius: 30px;
  padding: 60px;
}
#access-wrapper {
  background: #eff6ec;
}
#access-wrapper h2 {
  color: #4ca835;
  text-decoration: underline 3px dotted #4ca835;
  text-underline-offset: 20px;
  margin-bottom: 60px;
}
.access-info {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
}
.exterior img {
  border-radius: 15px;
}

.bottom-contact > .inner > .wp-block-columns {
  margin-top: 30px;
}
.bottom-contact > .inner > .wp-block-columns .right .title {
  font-size: 1.2rem;
}
.bottom-contact > .inner > .wp-block-columns .right .title i {
  margin-right: 1rem;
}
.bottom-contact > .inner > .wp-block-columns .right .tel, .bottom-contact > .inner > .wp-block-columns .right .line-id {
  font-size: 2rem;
  color: #4ca835;
  text-align: center;
}
.bottom-contact > .inner > .wp-block-columns .right .tel a {
  color: #4ca835;
}
.bottom-contact > .inner > .wp-block-columns .right .contact-btn a {
  font-size: 1.5rem;
  background: #e3da21;
  color: #333;
}
.bottom-contact > .inner > .wp-block-columns > .wp-block-column figure {
  height: 100%;
}
.bottom-contact > .inner > .wp-block-columns > .wp-block-column img {
  border-radius: 30px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.form-content > .contact-btn > .wp-block-button {
  margin: auto;
}
.form-content > .contact-btn > .wp-block-button i {
  margin-right: 1rem;
}

.contact-tel-wrapper {
  background: #fff;
  padding: 60px;
  border-radius: 30px;
}
.tel-number a, .line-id {
  font-size: 3rem;
  letter-spacing: 0.2em;
  color: #4ca835;
}
.line-id {
  margin-left: 1rem;
}
.contact-line-wrapper {
  background: #fff;
  padding: 60px;
  border-radius: 30px;
}
.mail-form {
  background: #fff;
  padding: 60px;
  border-radius: 30px;
}
.contact-tel-wrapper h2, .contact-line-wrapper h2, .mail-form h2 {
  color: #191919;
  text-decoration: underline dotted #191919 0.1rem;
  text-underline-offset: 20px;
  letter-spacing: 0.2em;
  margin-bottom: 60px;
}
.contact-form-row {
  display: flex;
}
.contact-form-row .item-name {
  flex-basis: 15em;
  background: #f9f9f9;
  border: 1px solid #d0d0d0;
  padding: 30px 100px 30px 30px;
  justify-content: center;
  flex-direction: column;
  display: flex;
  margin: 0;
  position: relative;
  flex-shrink: 0;
}
.contact-form-row .item-name span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 30px;
  padding: 5px 10px;
  font-size: 14px;
  color: white;
  background-color: #fb3434;
}
.contact-form-row .item-form {
  padding: 20px;
  border: 1px solid #d0d0d0;
  flex-grow: 1;
  border-left: none;
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: 0;
}
.contact-form-row input[type=text], .contact-form-row input[type=email], .contact-form-row input[type=tel], .contact-form-row textarea {
  border: 1px solid #d0d0d0;
  background-color: #f9f9f9;
  padding: 15px;
  width: 100%;
  box-sizing: border-box;
}
.wpcf7-list-item {
  width: 100%;
}
.contact-form-button-row {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.wpcf7-submit {
  width: 360px;
  height: 60px;
  margin: 0 auto;
  text-align: center;
  background-color: #0ba16d;
  border-radius: 0;
  color: white;
  font-size: 18px;
}

.privacy-title {
  font-size: 2rem;
}

footer.wp-block-template-part {
  background: #2D7DD2;
  color: #e6f1da;
}
footer.wp-block-template-part > .wp-block-group > .wp-block-columns {
  justify-content: space-between;
}
footer.wp-block-template-part > .wp-block-group > .wp-block-columns > .wp-block-column:first-of-type p {
  line-height: 100%;
}
footer.wp-block-template-part .wp-block-site-logo a {
  background: rgba(255, 255, 255, 0.8);
  padding: 10px;
}
:root footer.wp-block-template-part .wp-block-site-tagline {
  color: #e6f1da;
}
footer.wp-block-template-part a {
  color: #e6f1da;
}
footer.wp-block-template-part .footer-nav {
  width: 500px;
  flex-grow: 0 !important;
  flex-basis: 500px !important;
}
/* モバイル時にブロック幅を制限する */
@media screen and (max-width: 768px) {
  .wp-block-group.alignwide,
  .wp-block-cover.alignwide,
  .wp-block-columns.alignwide,
  .wp-block-image.alignwide,
  .wp-block-cover.alignfull,
  .wp-block-group.alignfull,
  .wp-block-columns.alignfull,
  .wp-block-image.alignfull {
    max-width: calc(100vw - 10px) !important;
  }

  .wp-block-group,
  .wp-block-cover,
  .wp-block-columns,
  .wp-block-image {
    max-width: calc(100vw - 10px);
  }
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .only-sp {
    display: inherit;
  }
  
  .only-pc {
    display: none!important;
  }

  .wp-block-group, .wp-block-cover, .wp-block-columns, .wp-block-image {
    max-width: 100vw!important;
  }
  .wp-block-group.alignwide, .wp-block-cover.alignwide, .wp-block-columns.alignwide, .wp-block-image.alignwide, .wp-block-cover.alignfull, .wp-block-group.alignfull, .wp-block-columns.alignfull, .wp-block-image.alignfull {
    max-width: 100vw !important;
  }
  header.wp-block-template-part {
    background: rgba(255, 255, 255, 0.8);
  }
  .site-title {
    display: none;
  }
  header.wp-block-template-part .contact-us-wrapper {
    flex-direction: row-reverse;
  }
  header.wp-block-template-part .contact-us {
    padding: 0;
  }
  .tel-contact-btn i, .line-contact-btn i {
    margin-right: 0;
  }
  .tel-contact-btn, .line-contact-btn {
    padding: 8px;
  }
  .menu-toggle {
    display: block;
    z-index: 99;
  }
  
  .main-navigation {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.8);
    z-index: 98;
  }
  
  .main-navigation.active {
    display: initial;
  }

  .main-navigation ul.menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    margin-top: 100px;
    padding-left: 0;
  }
  .main-navigation ul.menu li {
    width: 100%;
    text-align: center;
  }

  .main-navigation.active ul.menu {
    max-height: 500px;  /* メニューの高さに応じて調整。大きめに */
    opacity: 1;
  }
  .main-navigation ul.sub-menu {
    position: relative;
    display: inherit;
    list-style: none;
    width: 100%;
    background: none;
    box-shadow: none;
    list-style: disclosure-closed;
    padding-left: 2rem;
    box-sizing: border-box;
    font-size: 0.9rem;
  }
  .main-navigation ul.sub-menu li {
    text-align: left;
  }
  #first-view .catch h2 span {
    font-size: 1.5rem;
  }
  #first-view .catch h2 {
    font-size: 2rem;
    text-align: center;
  }
  #first-view {
    flex-direction: column-reverse;
    max-width: 100vh !important;
    background-position: 60% bottom;
  }
  #first-view .bg-image {
    width: 100%;
    height: 50vh;
    padding-top: 30px;
  }
  #first-view .catch {
    margin-block-start: 50%;
  }
  #first-view .catch h2 span.st {
    font-size: 2.2rem;
  }
  #first-view .catch p {
    font-size: 1rem;
  }
  #first-view + .zs-section .leaf-kun {
    width: 40%;
  }
  #top-about-us h2 {
    position: inherit;
    writing-mode: initial;
    padding: 30px 0;
  }
  .is-layout-flex > .concept-content {
    margin: 0 15px;
  }
  .concept-content img {
    transform: initial;
    margin-left: auto;
    margin-top: auto;
  }
  #top-about-us .zs-container > .wp-block-columns {
    flex-direction: column-reverse;
  }
  .concept-content.concept-2 img {
    margin-left: 0;
    margin-bottom: 0;
  }
  .concept-content.concept-3 img {
    margin-left: 0;
  }
  #top-about-us .zs-container > .wp-block-columns {
    gap: 60px;
  }
  #top-business-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .business-contents:first-of-type::before {
    content: inherit;
  }
  .business-contents .title-block {
    position: relative;
  }
  .business-contents .title-block > .wp-block-group:before {
    position: absolute;
    top: -5%;
    left: -5%;
    background: #e6f1da;
    border-radius: 0 30px 30px 0;
    height: 110%;
    content: "";
    z-index: 0;
    width: 110%;
  }
  .business-contents .title-block {
    top: -30px;
    left: -15px;
  }
  .business-contents .title-block > .is-vertical {
    padding: 30px 5px 30px 30px;
  }
  .business-contents .title-block > .wp-block-group > * {
    z-index: 1;
  }
  .business-content > .is-vertical > .wp-block-columns > .wp-block-column:last-of-type .wp-block-buttons {
    margin-left: auto;
    margin-right: auto;
  }
  .top-news-wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }
  .top-news-wrapper > .inner > .is-layout-flex {
    flex-direction: column;
    align-items: center;
  }
  .top-news-wrapper > .inner > .is-layout-flex > h2 {
    width: auto;
    height: auto;
    padding: 50px;
  }
  .bottom-contact {
    padding-left: 5px!important;
    padding-right: 5px!important;
  }
  .bottom-contact > .inner {
    padding-left: 15px!important;
    padding-right: 15px!important;
  }
  .page-first-view {
    position: sticky;
    top: 0;
  }
  .page-first-view .page-title {
    background-size: cover;
    background-position: center bottom;
    padding-left: 0;
    height: auto;
    padding-bottom: 80px;
    max-height: calc(100vh);
    padding-top: 80px;
  }
  .page-first-view .page-title p {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-first-view .page-title h1 {
    font-size: 2rem;
    width: 90%;
  }
  .page-first-view > figure {
    height: 100%;
  }
  .page-first-view {
    height: 100vh;
  }
  .page-first-view + .zs-section {
    padding: 30px 5px;
  }
  .contact-tel-wrapper {
    padding: 15px;
  }
  .contact-tel-wrapper h2, .contact-line-wrapper h2, .mail-form h2 {
    font-size: 1.25rem;
  }
  .tel-number a, .line-id {
    font-size: 1.8rem;
  }
  .contact-line-wrapper {
    padding: 15px;
  }
  .mail-form {
    padding: 15px;
  }
  .contact-form-row {
    flex-direction: column;
  }
  .contact-form-row .item-name {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 70px 10px 10px;
    flex-direction: unset;
    flex-basis: initial;
    justify-content: left;
  }
  .contact-form-row .item-form {
    width: 100%;
    box-sizing: border-box;
    border-left: 1px solid #d0d0d0;
    border-top: none;
  }
  .contact-form-row .item-name span {
    right: 10px;
  }
  .wpcf7-submit {
    width: 100%;
  }
  .wpcf7-list-item {
    margin: 0;
  }
  
  .worries {
    padding: 30px 15px;
  }
  #service-wrapper {
    padding: 30px 5px;
  }
  #worries-wrapper h2 {
    font-size: 1.8rem;
  }
  #service-wrapper h2 {
    font-size: 1.8rem;
  }
  .service-content {
    padding: 30px 15px;
  }
  .service-content h3 {
    text-align: center;
  }
  .zs-section {
    padding-left: 5px;
    padding-right: 5px;
  }
  .flow-content {
    padding: 30px 15px;
  }
  #faq-wrapper > .inner {
    padding: 30px 15px;
  }
  .faq-content {
    padding: 30px 5px;
  }
  .service-content {
    padding: 30px 15px;
  }
  .service-content h3 {
    text-align: center;
  }
  .zs-section {
    padding-left: 5px;
    padding-right: 5px;
  }
  .flow-content {
    padding: 30px 15px;
  }
  #faq-wrapper > .inner {
    padding: 30px 15px;
  }
  .faq-content {
    padding: 30px 5px;
  }
  
  .greeting-content {
    padding: 30px 15px;
  }
  .profile-content {
    padding: 30px 15px;
  }
  .wp-block-table tr td:first-of-type {
    width: 5em;
  }
  
  
  .bottom-contact {
    background: #f0f0f0;
  }
  
  footer.wp-block-template-part {
    margin-block-start: 0;
  }
}
