@charset "UTF-8";

/* =================================
   Base
================================= */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #111;
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3,
dl,
dt,
dd {
  margin: 0;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

input,
textarea {
  width: 100%;
  border: 0;
  outline: none;
  border-radius: 0;
  appearance: none;
}

textarea {
  resize: vertical;
}

/* =================================
   Layout
================================= */
.l-container {
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
}

.l-container-sm {
  width: min(100% - 32px, 860px);
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

/* =================================
   Common Components
================================= */
.section-heading {
  margin-bottom: 40px;
  text-align: center;
}

.section-heading__sub {
  color: #888;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.section-heading__title {
  margin-top: 8px;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.c-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  min-height: 78px;
  padding: 10px 72px 10px 32px;
  border: none;
  border-radius: 9999px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-align: center;
  transition: color 0.35s ease, transform 0.3s ease;
}

.c-button:hover {
  transform: translateY(-1px);
}

/* 反転用の白レイヤー */
.c-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #fff;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}

/* hover時だけ見える外枠 */
.c-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 2px solid currentColor;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.2s ease 0.1s;
}

.c-button:hover::before {
  transform: scaleX(1);
}

.c-button:hover::after {
  opacity: 1;
}

.c-button__label,
.c-button__line {
  position: relative;
  z-index: 3;
}

.c-button__label {
  display: inline-block;
}

/* 矢印の横線 */
.c-button__line {
  position: absolute;
  top: 50%;
  right: 34px;
  width: 26px;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
  transition: background-color 0.35s ease;
}

/* 矢尻 */
.c-button__line::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 9px;
  height: 9px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: center;
  transition: border-color 0.35s ease;
}

.c-button--lime {
  color: #111;
  background: #CEFE02;
}

.c-button--lime:hover {
  color: #c7ea00;
}

.c-button--orange {
  color: #111;
  background: #F89D00;
}

.c-button--orange:hover {
  color: #f3a300;
}

.c-button--dark {
  color: #fff;
  background: #111;
}

.c-button--dark:hover {
  color: #111;
}

.c-button--sky {
  color: #fff;
  background: #2cc8f2;
}

.c-button--sky:hover {
  color: #2cc8f2;
}
/* =================================
   Header
================================= */
.header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  padding: 20px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.header__menu-btn {
  position: relative;
  z-index: 30;
  display: none;
  width: 55px;
  height: 55px;
}

.header__menu-btn span {
  position: absolute;
  left: 8px;
  width: 28px;
  height: 2px;
  background: #111;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header__menu-btn span:nth-child(1) {
  top: 14px;
}

.header__menu-btn span:nth-child(2) {
  top: 21px;
}

.header__menu-btn span:nth-child(3) {
  top: 28px;
}

.header__nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.header__nav-list a {
  font-size: 1.6rem;
  font-weight: 500;
}

/* =================================
   FV
================================= */
.fv {
  position: relative;
  overflow: hidden;
}

.fv__image img {
  height: min(100vh, 760px);
  object-fit: cover;
}

.fv__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 180px;
}

.fv__catch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 590px;
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.fv__catch span {
  display: inline;
  padding: 0 8px;
  background: linear-gradient(transparent 58%, #d5ef19 58%);
}

/* =================================
   Feature
================================= */
.top-feature {
  background:
    url("../img/top/feature-bg.jpg") center center / cover no-repeat;
}

.top-feature__body {
  display: grid;
  gap: 24px;
}

.top-feature__buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

/* =================================
   Works
================================= */
.top-works {
  position: relative;
  background: #cfe4f6;
}

.top-works::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(230, 216, 204, 0.9), rgba(230, 216, 204, 0));
  pointer-events: none;
}

.top-works__inner {
  position: relative;
  z-index: 1;
}

.top-works__lead {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.top-works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.works-card {
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.works-card__thumb img {
  aspect-ratio: 325 / 190;
  object-fit: cover;
}

.works-card__body {
  padding: 14px 16px 18px;
}

.works-card__meta {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.works-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 3px 10px;
  border-radius: 9999px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.works-card__tag--red {
  background: #d33636;
}

.works-card__tag--green {
  background: #33a648;
}

.works-card__title {
  font-size: 1.5rem;
  font-weight: 500;
}

.top-works__button {
  margin-top: 40px;
  text-align: center;
}

/* =================================
   Service
================================= */
.top-service {
  background: #f6f6f6;
}

.service-list {
  display: grid;
  gap: 88px;
}

.top-service__lead {
  max-width: 760px;
  margin: 0 auto 80px;
  text-align: center;
}



.service-item--reverse .service-item__image {
  order: 2;
}

.service-item--reverse .service-item__content {
  order: 1;
}

.service-item__image img {
  aspect-ratio: 560 / 340;
  object-fit: cover;
}

.service-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.service-item__content {
  padding-top: 0;
}

.service-item__number {
  position: absolute;
  top: -45px;
  left: 420px;
  z-index: 2;
  color: #111;
  font-family: "Noto Serif JP", serif;
  font-size: 8.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  pointer-events: none;
}

.service-item--reverse .service-item__number {
  left: auto;
  right: 56px;
}

.service-item__title {
  margin-top: 0;
  font-size: 3rem;
  font-weight: 700;
	font-family: "Noto Serif JP", serif;
  line-height: 1.4;
}


.service-item__text {
  margin-top: 20px;
}

.service-item__info {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #999;
}

.service-item__info dt {
  margin-bottom: 4px;
  font-size: 1.4rem;
  font-weight: 700;
}

.service-item__info dd {
  font-size: 1.6rem;
}

.service-item .c-button {
  margin-top: 28px;
}

/* =================================
   Gallery
================================= */
.top-gallery {
  padding: 0 0 80px;
  overflow: hidden;
}

.top-gallery__inner {
  overflow: hidden;
}

.top-gallery__track {
  display: flex;
  width: max-content;
  animation: gallery-scroll 30s linear infinite;
}

.top-gallery__list {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
  padding-right: 12px;
}

.top-gallery__item {
  flex: 0 0 auto;
  width: 280px;
}

.top-gallery__item img {
  width: 100%;
  aspect-ratio: 1 / 0.72;
  object-fit: cover;
}

@keyframes gallery-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 6px));
  }
}

/* =================================
   News
================================= */
.top-news {
  background: #f6f6f6;
}

.news-list {
  border-top: 1px solid #ccc;
}

.news-item {
  border-bottom: 1px solid #ccc;
}

.news-item a {
  display: grid;
  grid-template-columns: 120px 90px 1fr;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
}

.news-item__date {
  font-size: 1.3rem;
}

.news-item__category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 10px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 4px;
}

.news-item__category--green {
  background: #42b456;
}

.news-item__category--purple {
  background: #8f53c9;
}

.news-item__category--blue {
  background: #3a78d8;
}

.news-item__title {

}

.top-news__button {
  margin-top: 40px;
  text-align: center;
}

/* =================================
   Contact
================================= */
.top-contact {
  position: relative;
  overflow: hidden;
  background: #f6f6f6;
}

.top-contact__bg {
  position: absolute;
  inset: auto 0 0 0;
  top: 80px;
  background: linear-gradient(90deg, #76b5c3 0%, #a6d48b 50%, #c4ec5a 100%);
}

.top-contact__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 48px;
  align-items: center;
}

.top-contact__info {
  padding: 56px 0;
  color: #111;
}

.top-contact__lead {
  font-size: 3.5rem;
  letter-spacing: 0.04em;
}

.top-contact__tel-label {
  margin-top: 12px;
  font-size: 1.4rem;
}

.top-contact__tel {
  margin-top: 10px;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.1;
}

.top-contact__time {
  margin-top: 8px;
  font-size: 1.3rem;
}

.top-contact__text {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.top-contact__form {
  padding: 36px 32px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.form-field + .form-field {
  margin-top: 18px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 1.4rem;
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  padding: 12px 0;
  border-bottom: 1px solid #cfcfcf;
  background: transparent;
  font-size: 1.5rem;
}

.form-field textarea {
  min-height: 120px;
}

.form-submit {
  margin-top: 30px;
  text-align: center;
}

/* =================================
   Footer
================================= */
.footer {
  background: #f6f6f6;
  text-align: center;
}

.footer__inner {
  padding: 64px 0 48px;
}

.footer__logo {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.4;
  width: 300px;
  margin: 0 auto 25px;
}

.footer__company {
  margin-top: 8px;
  font-family: "Noto Serif JP", serif;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
}

.footer__address,
.footer__tel,
.footer__fax {
  margin-top: 10px;
  font-size: 1.6rem;
}

.footer__copyright {
  padding: 16px;
  color: #fff;
  background: #111;
  font-size: 1.2rem;
}

/* =================================
   Responsive
================================= */

@media screen and (max-width: 1130px) {
  .header__nav {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 40px;
    background: rgba(255, 255, 255, 0.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .header__nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .header__nav-list {
    flex-direction: column;
    gap: 18px;
  }

  .header__nav-list a {
    font-size: 1.8rem;
  }
	
	  .header__menu-btn {
    display: block;
  }

  .header__menu-btn.is-open span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
  }

  .header__menu-btn.is-open span:nth-child(2) {
    opacity: 0;
  }

  .header__menu-btn.is-open span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
  }
	
	}

@media screen and (max-width: 767px) {
  body {
    font-size: 1.6rem;
  }

  .section {
    padding: 56px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading__title {
    font-size: 2.6rem;
  }

  .c-button {
    width: 100%;
    max-width: 280px;
    min-height: 48px;
    padding: 10px 56px 10px 24px;
    font-size: 1.8rem;
  }

  .c-button::before {
    right: 26px;
    width: 22px;
  }

  .c-button::after {
    right: 26px;
    width: 8px;
    height: 8px;
  }

.l-container {
  width: 90%;
}

  .header {
    padding: 14px 0;
  }

  .header__logo {
    position: relative;
    z-index: 30;
    font-size: 1.9rem;
		width:220px;
  }

  .fv__image img {
    height: 72vh;
    min-height: 520px;
  }

  .fv__content {
    justify-content: center;
    align-items: flex-start;
    padding-top: 120px;
  }

  .fv__catch {
    max-width: 100%;
    font-size: 3rem;
  }

  .top-feature__body {
    gap: 18px;
    font-size: 1.8rem;
  }

  .top-feature__buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .top-works__lead {
    margin-bottom: 28px;
    font-size: 1.8rem;
		text-align: left;
  }

  .top-works__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

.top-service__lead {
  text-align: left;
	}

  .service-list {
    gap: 56px;
  }

  .service-item,
  .service-item--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-item--reverse .service-item__image,
  .service-item--reverse .service-item__content {
    order: initial;
  }

  .service-item__number {
    position: static;
    font-size: 5.2rem;
  }

  .service-item__content {
    padding-top: 0;
  }

  .service-item__title {
    margin-top: 10px;
    font-size: 2.4rem;
  }

  .top-gallery {
    padding-bottom: 56px;
  }

  .top-gallery__list {
    grid-template-columns: repeat(2, 1fr);
  }
	
  .top-gallery {
    padding-bottom: 56px;
  }

  .top-gallery__item {
    width: 180px;
  }

  .news-item a {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 0;
  }
	
  .news-item__category {
    width: fit-content;
    min-width: calc(1em * 6);
    padding: 4px 1.5em;
    justify-content: center;
    align-self: start;
  }

  .top-contact__info {
    padding: 24px 0 0;
  }

  .top-contact__tel {
    font-size: 3.6rem;
  }

  .top-contact__form {
    padding: 28px 20px;
  }

  .footer__inner {
    padding: 48px 0 36px;
  }

  .footer__logo {
    font-size: 2.4rem;
width: 80%;
        margin: 0 auto 24px;
  }
	
	.top-contact__inner {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0;
		align-items: stretch;
	}

	.top-contact__info {
		min-height: 0;
		height: auto;
		padding: 32px 24px 40px;
		overflow: visible;
	}

	.top-contact__form {
		min-height: 0;
		height: auto;
	}

	.top-contact__lead,
	.top-contact__tel-label,
	.top-contact__tel,
	.top-contact__time,
	.top-contact__text {
		position: static;
	}

	.top-contact__text {
		margin-top: 28px;
	}
	
.top-contact__lead {
  font-size: 2.5rem;
}

}

@media screen and (min-width: 1100px) {
  .header__nav {
    display: block !important;
  }
}

@media screen and (max-width: 480px) {
  .fv__image img {
    object-position: 34% center;
  }

  .fv__content {
    justify-content: end;
    align-items: flex-start;
    padding-top: 120px;
    padding-left: 20px;
    padding-right: 0;
  }

  .fv__catch {
    max-width: 100%;
    font-size: 2.4rem;
    line-height: 1.35;
    gap: 10px;
  }

  .fv__catch span {
    display: inline-block;
    width: fit-content;
    padding: 0 8px;
  }
}

/* CF7送信ボタン */
.top-contact__form .wpcf7-submit.c-button--sky {
  color: #fff;
  background: #2cc8f2;
  border: 2px solid #2cc8f2;
  transition:
    color 0.35s ease,
    background-color 0.35s ease,
    transform 0.3s ease;
}

.top-contact__form .wpcf7-submit.c-button--sky:hover {
  color: #2cc8f2;
  background: #fff;
}