/**
 * Nihama Page Styles
 *
 * @package TouwaNew
 */
/**
 * Variables
 *
 * @package TouwaNew
 */
/**
 * Common First View Section
 *
 * @package TouwaNew
 */
.common-fv-section {
  position: relative;
  width: 100%;
  overflow: visible;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .common-fv-section {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
  }
}
.common-fv-section .common-fv-image {
  position: relative;
  width: 100%;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}
.common-fv-section .common-fv-image img {
  width: 86%;
  aspect-ratio: 14/5;
  object-fit: cover;
  object-position: right center;
}
.common-fv-section .common-fv-image .common-fv-image-pc {
  display: block;
}
@media (max-width: 768px) {
  .common-fv-section .common-fv-image .common-fv-image-pc {
    display: none;
  }
}
.common-fv-section .common-fv-image .common-fv-image-sp {
  display: none;
}
@media (max-width: 768px) {
  .common-fv-section .common-fv-image .common-fv-image-sp {
    display: block;
  }
}
@media (max-width: 768px) {
  .common-fv-section .common-fv-image {
    justify-content: center;
  }
  .common-fv-section .common-fv-image img {
    width: 100%;
    aspect-ratio: auto;
    object-position: center;
  }
}
.common-fv-section .common-fv-bg {
  background-color: #0370b0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 100% 0, 73% 100%, 0 100%);
}
@media (max-width: 768px) {
  .common-fv-section .common-fv-bg {
    clip-path: none;
  }
}
.common-fv-section .common-fv-content {
  position: relative;
  z-index: 2;
  padding: 20px 0 calc(1em + 10px) 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 1280px) {
  .common-fv-section .common-fv-content {
    padding-left: 14%;
  }
}
@media (max-width: 768px) {
  .common-fv-section .common-fv-content {
    padding: 20px 20px;
    background-color: #0370b0;
  }
}
.common-fv-section .common-fv-content .common-fv-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: clamp(48px, 48px + 8 * (100vw - 769px) / 1151, 56px);
  color: #fff;
  line-height: 1.4;
  margin: 0 0 12px 0;
  max-width: 65%;
  word-break: keep-all;
  overflow-wrap: break-word;
}
@media (max-width: 768px) {
  .common-fv-section .common-fv-content .common-fv-title {
    font-size: clamp(24px, 24px + 4 * (100vw - 350px) / 418, 28px);
    margin: 0 0 8px 0;
    max-width: 100%;
  }
}
.common-fv-section .common-fv-content .common-fv-description {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 20px + 4 * (100vw - 769px) / 1151, 24px);
  color: #fff;
  margin: 0;
  line-height: 140%;
  max-width: 60%;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.common-fv-section .common-fv-content .common-fv-description .sp-only {
  display: none;
}
@media (max-width: 768px) {
  .common-fv-section .common-fv-content .common-fv-description .sp-only {
    display: inline;
  }
}
@media (max-width: 768px) {
  .common-fv-section .common-fv-content .common-fv-description {
    font-size: clamp(16px, 16px + 2 * (100vw - 350px) / 418, 18px);
    max-width: 100%;
  }
}

/**
 * Contact Section Styles
 *
 * @package TouwaNew
 */
/**
 * Variables
 *
 * @package TouwaNew
 */
/**
 * Mixins
 *
 * @package TouwaNew
 */
.contact-section {
  padding: 80px 0;
  background-color: #fff;
  text-align: center;
}
@media (max-width: 768px) {
  .contact-section {
    padding: 50px 0;
  }
}
.contact-section .contact-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.contact-section .contact-title {
  font-family: "Noto Sans JP", "Noto Sans", sans-serif;
  font-weight: 600;
  font-size: clamp(42px, 42px + 8 * (100vw - 769px) / 1151, 50px);
  color: #0370b0;
  margin: 0 0 20px 0;
  text-align: center;
}
@media (max-width: 768px) {
  .contact-section .contact-title {
    font-size: clamp(24px, 24px + 4 * (100vw - 350px) / 418, 28px);
    margin-bottom: 10px;
    line-height: 100%;
  }
}
.contact-section .contact-text {
  font-family: "Noto Sans JP", "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 18px + 2 * (100vw - 769px) / 1151, 20px);
  margin: 0 0 30px 0;
  color: #222222;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-align: center;
}
@media (max-width: 768px) {
  .contact-section .contact-text {
    font-size: 16px;
    margin-bottom: 20px;
  }
}
.contact-section .contact-tel {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 22px + 8 * (100vw - 769px) / 1151, 30px);
  color: #0370b0;
  margin: 0 0 4px 0;
}
.contact-section .contact-tel a {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 40px + 10 * (100vw - 769px) / 1151, 50px);
  color: #0370b0;
  text-decoration: none;
  text-align: center;
}
.contact-section .contact-tel a:hover {
  color: color-mix(in srgb, #0370b0 80%, #000000 20%);
}
@media (max-width: 768px) {
  .contact-section .contact-tel {
    font-size: clamp(18px, 18px + 2 * (100vw - 350px) / 418, 20px);
    margin-bottom: 0;
    line-height: 1.2;
  }
  .contact-section .contact-tel a {
    font-size: clamp(24px, 24px + 6 * (100vw - 350px) / 418, 30px);
  }
}
.contact-section .contact-time {
  font-family: "Noto Sans JP", "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 20px + 4 * (100vw - 769px) / 1151, 24px);
  color: #222222;
  margin: 0 0 35px 0;
}
@media (max-width: 768px) {
  .contact-section .contact-time {
    font-size: clamp(16px, 16px + 2 * (100vw - 350px) / 418, 18px);
    margin-bottom: 30px;
  }
}
.contact-section .btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 300px;
  height: 70px;
  padding: 0;
  background-color: #0370b0;
  border: 2px solid #0370b0;
  color: #fff;
  text-decoration: none;
  font-family: "Noto Sans JP", "Noto Sans", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 100%;
  text-align: center;
  transition: color 0.3s ease;
  overflow: hidden;
  z-index: 1;
}
.contact-section .btn-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}
.contact-section .btn-contact::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: background-image 0.3s ease;
  z-index: 2;
}
.contact-section .btn-contact:hover {
  color: #0370b0;
}
.contact-section .btn-contact:hover::before {
  transform: scaleX(1);
}
.contact-section .btn-contact:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230370b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
}
@media (max-width: 768px) {
  .contact-section .btn-contact {
    width: 270px;
    height: 50px;
    font-size: 18px;
  }
  .contact-section .btn-contact::after {
    right: 15px;
  }
}
.contact-section .btn-contact .arrow {
  display: none;
}

/**
 * Partner Section Styles
 *
 * @package TouwaNew
 */
/**
 * Variables
 *
 * @package TouwaNew
 */
.partner-section {
  position: relative;
  z-index: 10;
  padding: 80px 0;
  background-color: #fff;
  border-top: 1px solid #cccccc;
}
@media (max-width: 768px) {
  .partner-section {
    padding: 40px 0;
  }
}
.partner-section .partner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) {
  .partner-section .partner-container {
    padding: 0 20px;
  }
}
.partner-section .partner-banners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .partner-section .partner-banners {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}
@media (max-width: 480px) {
  .partner-section .partner-banners {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.partner-section .partner-banner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  transition: box-shadow 0.3s ease;
  overflow: hidden;
}
.partner-section .partner-banner-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.partner-section .partner-banner-item img {
  max-width: 260px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.page-nihama .nihama-main-section {
  padding: 0 50px 80px;
}
@media (max-width: 768px) {
  .page-nihama .nihama-main-section {
    padding: 40px 20px;
  }
}
.page-nihama .nihama-main-inner {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 680fr 640fr;
  grid-template-rows: auto 1fr;
  grid-template-areas: "title image" "text image";
  gap: 16px clamp(40px, 40px + 40 * (100vw - 769px) / 1151, 80px);
}
@media (max-width: 768px) {
  .page-nihama .nihama-main-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}
.page-nihama .nihama-main-title {
  grid-area: title;
  font-weight: 600;
  font-size: clamp(34px, 34px + 6 * (100vw - 769px) / 1151, 40px);
  line-height: 1.4;
  color: #0370b0;
  margin: 0;
}
@media (max-width: 768px) {
  .page-nihama .nihama-main-title {
    font-size: clamp(20px, 20px + 4 * (100vw - 350px) / 418, 24px);
    order: 1;
  }
}
.page-nihama .nihama-main-text {
  grid-area: text;
  font-weight: 400;
  font-size: clamp(18px, 18px + 2 * (100vw - 769px) / 1151, 20px);
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: #222222;
  margin: 0;
}
@media (max-width: 768px) {
  .page-nihama .nihama-main-text {
    font-size: 16px;
    order: 3;
  }
}
.page-nihama .nihama-main-image {
  grid-area: image;
  aspect-ratio: 721/521;
  overflow: hidden;
}
.page-nihama .nihama-main-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
@media (max-width: 768px) {
  .page-nihama .nihama-main-image {
    width: 100%;
    order: 2;
    aspect-ratio: 36/25;
  }
}

.page-nihama .nihama-items-section {
  padding: 80px 20px;
  background-color: #E7F2F9;
}
@media (max-width: 768px) {
  .page-nihama .nihama-items-section {
    padding: 30px 20px;
  }
}
.page-nihama .nihama-item {
  max-width: 1440px;
  margin: 0 auto 40px;
  padding: 40px;
  background-color: #fff;
}
.page-nihama .nihama-item:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .page-nihama .nihama-item {
    padding: 20px;
    margin-bottom: 20px;
  }
}
.page-nihama .nihama-item-inner {
  display: grid;
  grid-template-columns: 627fr 613fr;
  grid-template-rows: auto 1fr;
  grid-template-areas: "header image" "text image";
  gap: 20px clamp(30px, 30px + 30 * (100vw - 769px) / 1151, 60px);
}
@media (max-width: 768px) {
  .page-nihama .nihama-item-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}
.page-nihama .nihama-item-header {
  grid-area: header;
}
@media (max-width: 768px) {
  .page-nihama .nihama-item-header {
    order: 1;
  }
}
.page-nihama .nihama-item-subtitle {
  display: block;
  font-weight: 600;
  font-size: clamp(28px, 28px + 4 * (100vw - 769px) / 1151, 32px);
  line-height: 1.4;
  color: #0370b0;
  margin-bottom: 2px;
}
@media (max-width: 768px) {
  .page-nihama .nihama-item-subtitle {
    font-size: clamp(18px, 18px + 2 * (100vw - 350px) / 418, 20px);
    margin-bottom: 0;
  }
}
.page-nihama .nihama-item-title {
  font-weight: 600;
  font-size: clamp(32px, 32px + 6 * (100vw - 769px) / 1151, 38px);
  line-height: 1.4;
  color: #0370b0;
  margin: 0;
}
@media (max-width: 768px) {
  .page-nihama .nihama-item-title {
    font-size: clamp(22px, 22px + 4 * (100vw - 350px) / 418, 26px);
  }
}
.page-nihama .nihama-item-text {
  grid-area: text;
  font-weight: 400;
  font-size: clamp(16px, 16px + 2 * (100vw - 769px) / 1151, 18px);
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: #222222;
  margin: 0;
}
@media (max-width: 768px) {
  .page-nihama .nihama-item-text {
    font-size: 16px;
    order: 3;
  }
}
.page-nihama .nihama-item-image {
  grid-area: image;
  aspect-ratio: 613/400;
  overflow: hidden;
}
.page-nihama .nihama-item-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
@media (max-width: 768px) {
  .page-nihama .nihama-item-image {
    width: 100%;
    order: 2;
  }
}

.page-nihama .nihama-gallery-section {
  overflow: hidden;
  width: 100%;
}
.page-nihama .nihama-gallery-slider {
  width: 100%;
  overflow: hidden;
}
.page-nihama .nihama-gallery-track {
  display: flex;
  animation: nihama-gallery-scroll 30s linear infinite;
  width: fit-content;
}
@media (max-width: 768px) {
  .page-nihama .nihama-gallery-track {
    animation-duration: 15s;
  }
}
.page-nihama .nihama-gallery-slide {
  flex: 0 0 25vw;
  width: 25vw;
}
@media (max-width: 768px) {
  .page-nihama .nihama-gallery-slide {
    flex: 0 0 75vw;
    width: 75vw;
  }
}
.page-nihama .nihama-gallery-slide img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 474/300;
  object-fit: cover;
}
@media (max-width: 768px) {
  .page-nihama .nihama-gallery-slide img {
    aspect-ratio: 3/2;
  }
}
@keyframes nihama-gallery-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.page-nihama .nihama-banner-section {
  padding: 80px 20px;
}
@media (max-width: 768px) {
  .page-nihama .nihama-banner-section {
    padding: 40px 20px;
  }
}
.page-nihama .nihama-banner-inner {
  display: flex;
  gap: 50px;
  max-width: 1250px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .page-nihama .nihama-banner-inner {
    flex-direction: column;
    gap: 20px;
  }
}
.page-nihama .nihama-banner-item {
  flex: 1;
  display: block;
  aspect-ratio: 600/149;
  overflow: hidden;
}
@media (max-width: 768px) {
  .page-nihama .nihama-banner-item {
    aspect-ratio: auto;
  }
}
.page-nihama .nihama-banner-item picture {
  display: block;
  width: 100%;
  height: 100%;
}
.page-nihama .nihama-banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}
.page-nihama .nihama-banner-item:hover img {
  opacity: 0.8;
}

.page-nihama .animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.page-nihama .animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.page-nihama .nihama-item.animate-on-scroll:nth-child(1) {
  transition-delay: 0s;
}
.page-nihama .nihama-item.animate-on-scroll:nth-child(2) {
  transition-delay: 0.15s;
}
.page-nihama .nihama-item.animate-on-scroll:nth-child(3) {
  transition-delay: 0.3s;
}

/*# sourceMappingURL=style.css.map */
