/**
Theme Name: yanagawa

Author: Soushido
Author URI: https://soushido.com
Date: 25.8.24

Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/
:root {
  --header-height: 80px;
}

html :where(img[class*=wp-image-]) {
    height: auto;
    max-width: 100% !important;
}

/* Home */
.ast-site-title-wrap {
  display: none;
}

.home .hero {
  aspect-ratio: 16/9;
}

.hero {
  --min-height: 210px;
  height: auto !important;
}
.hero iframe {
  width: 100%;
  height: auto;
	pointer-events: none;
}

.elementor-wrapper {
  height: auto !important;
}

/* Content */
.entry-content img {
    margin: 0 10px 10px 0;
}

@media screen and (min-width: 1025px) {
  .home .hero {
    max-height: calc(100vh - var(--header-height));
  }
}
.text-center {
  text-align: center;
}

a:focus {
  outline: none;
}

#history .elementor-elemen p {
  margin-bottom: 0 !important;
}

.athemes-post-item .post-content {
  position: relative;
}
.athemes-post-item .post-content .item-title a::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.athemes-post-item .post-content .cats-label {
  position: relative;
  z-index: 2;
}

.gallery-item-image img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
}

.wpcf7 {
  padding: 30px;
  background-color: #fff;
  border-radius: 16px;
}
.wpcf7 .contact-form {
  border-left: none;
  border-top-color: #a5a5a5;
}
.wpcf7 .contact-form th, .wpcf7 .contact-form td {
  border: none;
  border-bottom: 1px solid #a5a5a5;
  text-align: left;
}
.wpcf7 .contact-form th {
  color: #222;
}
.wpcf7 .contact-form .required {
  margin-left: 1rem;
  padding: 2px 6px;
  background-color: var(--e-global-color-secondary);
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}
.wpcf7 .contact-form .wpcf7-not-valid-tip {
  font-size: 0.875em;
  margin-top: 0.5em;
}
.wpcf7 .contact-form .wpcf7-radio,
.wpcf7 .contact-form .wpcf7-checkbox {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}
.wpcf7 .contact-form span.wpcf7-list-item {
  position: relative;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  margin-left: 0;
  margin-right: 1em;
}
.wpcf7 .contact-form input[type=radio],
.wpcf7 .contact-form input[type=checkbox] {
  position: absolute;
  opacity: 0;
}
.wpcf7 .contact-form .wpcf7-list-item-label {
  cursor: pointer;
}
.wpcf7 .contact-form .wpcf7-list-item-label::before {
  content: "";
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  position: relative;
  top: -0.2em;
  margin-right: 14px;
  vertical-align: middle;
  background: #fff;
  border: 1px solid #888888;
  text-align: center;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.5s;
          transition-duration: 0.5s;
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
  cursor: pointer;
}
.wpcf7 .contact-form input[type=radio] + .wpcf7-list-item-label::before {
  border-radius: 100%;
}
.wpcf7 .contact-form input[type=radio]:checked + .wpcf7-list-item-label::before {
  background-color: var(--ast-global-color-0);
  -webkit-box-shadow: inset 0 0 0 2px #fff;
          box-shadow: inset 0 0 0 2px #fff;
}
.wpcf7 .contact-form input[type=checkbox] + .wpcf7-list-item-label::before {
  border-radius: 20%;
}
.wpcf7 .contact-form input[type=checkbox]:checked + .wpcf7-list-item-label::before {
  background-color: var(--ast-global-color-0);
  border: none;
}
.wpcf7 .contact-form input[type=checkbox]:checked + .wpcf7-list-item-label::after {
  font-family: "Font Awesome 5 Free";
  content: "\f00c";
  color: #fff;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 3px;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  top: 11px;
  font-weight: 900;
  font-size: 15px;
}
.wpcf7 .contact-form .wpcf7-checkbox .wpcf7-list-item {
  margin-left: 0;
}
.wpcf7 .contact-form select,
.wpcf7 .contact-form textarea {
  border-color: #a5a5a5;
}
.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 input[type=tel],
.wpcf7 input[type=date],
.wpcf7 textarea[type=text] {
  width: 100%;
  padding: 0.5em 1em;
  border: 1px solid #a5a5a5;
  border-radius: 5px;
}
.wpcf7 input[type=date] {
  width: inherit;
}
.wpcf7 form .wpcf7-response-output {
  border: none;
  border-radius: 5px;
  background-color: #daf1f8;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
  background-color: #fef7be;
}
.wpcf7 form.sent .wpcf7-response-output {
  background-color: #dcefdd;
}
.wpcf7 input[type=submit].wpcf7-submit {
  border-radius: 40px;
  font-size: 20px;
  outline: none;
}
.wpcf7 input[type=submit].wpcf7-submit:focus {
  outline: none;
}
.wpcf7 span.wpcf7-form-control-wrap {
  position: inherit;
}
.wpcf7 span[data-name=age] {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 25%;
  margin-right: 0.5em;
}
@media screen and (max-width: 767px) {
  .wpcf7 .contact-form th, .wpcf7 .contact-form td {
    display: block;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    border-bottom: none;
  }
  .wpcf7 .contact-form th {
    padding-bottom: 0;
    border-bottom: none;
  }
  .wpcf7 .contact-form .wpcf7-radio {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .wpcf7 .contact-form .wpcf7-radio .wpcf7-list-item {
    margin-left: 0;
  }
  .wpcf7 input[type=submit].wpcf7-submit {
    font-size: 16px;
    white-space: inherit;
  }
}
.wpcf7 .contact-form th p {
  margin-bottom: 0;
}
.wpcf7 .contact-form td p {
  margin-bottom: 0;
}