@charset "UTF-8";

/* =========================================
   variables
========================================= */
:root {
  --color-text: #2b2622;
  --color-text-sub: #6b635a;
  --color-bg: #fffdf8;
  --color-bg-cream: #faf5ec;
  --color-placeholder: #e8e1d4;
  --color-border: #ece6da;

  /* MV パレットから抽出したアクセントカラー */
  --color-accent-orange: #e8843a;
  --color-accent-pink: #d6537e;
  --color-accent-blue: #4a8fbf;
  --color-accent-yellow: #f0b73d;

  --font-jp:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3",
    "Yu Gothic", "游ゴシック", sans-serif;
  --font-en:
    "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Yu Gothic",
    "游ゴシック", sans-serif;

  --content-width: 1080px;
  --content-padding: 40px;

  --header-height: 80px;
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 背景の虹色ライン（ゆっくり漂う流れの動き） */
body::before {
  content: "";
  position: fixed;
  top: -8%;
  left: -8%;
  width: 116%;
  height: 116%;
  z-index: -1;
  pointer-events: none;
  background-image: url("../img/bg-line.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  will-change: transform;
  -webkit-animation: bgLineFlow 32s ease-in-out infinite;
  animation: bgLineFlow 32s ease-in-out infinite;
}

@-webkit-keyframes bgLineFlow {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  25% {
    transform: translate(-1.5%, 1%) scale(1.04) rotate(0.4deg);
  }
  50% {
    transform: translate(-2.5%, -1%) scale(1.07) rotate(-0.3deg);
  }
  75% {
    transform: translate(-1%, -1.8%) scale(1.03) rotate(0.5deg);
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
}

@keyframes bgLineFlow {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  25% {
    transform: translate(-1.5%, 1%) scale(1.04) rotate(0.4deg);
  }
  50% {
    transform: translate(-2.5%, -1%) scale(1.07) rotate(-0.3deg);
  }
  75% {
    transform: translate(-1%, -1.8%) scale(1.03) rotate(0.5deg);
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    -webkit-animation: none;
    animation: none;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
dl,
dd {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

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

a:hover {
  opacity: 0.7;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  border: none;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

/* =========================================
   layout
========================================= */
.inner {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--content-padding);
}

/* =========================================
   section-label  (ABOUT US / NEWS など)
========================================= */
.section-label {
  position: relative;
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: 0.1em;
  padding-bottom: 8px;
  margin-bottom: 32px;
}

.section-label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--color-accent-blue) 0%,
    #7e6cc4 38%,
    var(--color-accent-pink) 70%,
    var(--color-accent-orange) 100%
  );
}

/* =========================================
   button
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 260px;
  padding: 18px 32px;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  border: 1px solid var(--color-text);
  border-radius: 999px;
  background-color: #fff;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.btn:hover {
  opacity: 1;
  background-color: var(--color-accent-orange);
  border-color: var(--color-accent-orange);
  color: #fff;
}

.btn__arrow {
  display: inline-block;
}

/* =========================================
   header
========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 0 40px;
}

.header__logo {
  line-height: 1;
}

.header__logo img {
  width: auto;
  height: 30px;
}

.header__nav-list {
  display: flex;
  gap: 40px;
}

.header__nav-link {
  font-family: var(--font-en);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}

/* hamburger toggle (default hidden, shown ≤760px) */
.header__toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.header__toggle span {
  position: absolute;
  left: 8px;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition:
    transform 0.3s ease,
    opacity 0.2s ease,
    top 0.3s ease;
}

.header__toggle span:nth-child(1) {
  top: 12px;
}
.header__toggle span:nth-child(2) {
  top: 19px;
}
.header__toggle span:nth-child(3) {
  top: 26px;
}

.header.is-nav-open .header__toggle span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}
.header.is-nav-open .header__toggle span:nth-child(2) {
  opacity: 0;
}
.header.is-nav-open .header__toggle span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

@media (max-width: 760px) {
  .header__toggle {
    display: block;
  }

  .header__nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 253, 248, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease,
      visibility 0.3s;
  }

  .header.is-nav-open .header__nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header__nav-list {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 36px;
  }

  .header__nav-link {
    font-size: 2.4rem;
  }
}

/* =========================================
   footer
========================================= */
.footer {
  padding: 80px 0 32px;
  background-color: #fff;
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  width: 95%;
  max-width: none;
  margin: 0 auto;
  padding: 0 0 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer__logo {
  display: flex;
  justify-content: center;
}

.footer__logo img {
  width: auto;
  height: 40px;
}

.footer__corp-id {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-text);
}

.footer__contact {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  align-self: flex-end;
  gap: 16px;
  text-align: right;
}

.footer__contact-head {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.footer__contact-address {
  font-style: normal;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 2;
  color: var(--color-text);
}

.footer__contact-address a {
  color: inherit;
}

.footer__contact-address a[href^="tel:"] {
  font-size: 1.7rem;
  letter-spacing: 0.04em;
}

.footer__copyright {
  text-align: center;
  font-size: 1.4rem;
  color: var(--color-text-sub);
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

/* =========================================
   scroll fade-up animation
========================================= */
.has-js .about__img,
.has-js .about__body,
.has-js .news__featured,
.has-js .news__list-item,
.has-js .works__block,
.has-js .contact__inner,
.has-js .page-section__inner,
.has-js .policy__item,
.has-js .news-list__item,
.has-js .article__header,
.has-js .article__hero,
.has-js .article__body,
.has-js .article__footer,
.has-js .form,
.has-js .news-filter,
.has-js .pagination,
.has-js .breadcrumb {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.has-js .is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .has-js .about__img,
  .has-js .about__body,
  .has-js .news__featured,
  .has-js .news__list-item,
  .has-js .works__block,
  .has-js .contact__inner,
  .has-js .page-section__inner,
  .has-js .policy__item,
  .has-js .news-list__item,
  .has-js .article__header,
  .has-js .article__hero,
  .has-js .article__body,
  .has-js .article__footer,
  .has-js .form,
  .has-js .news-filter,
  .has-js .pagination,
  .has-js .breadcrumb {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================
   responsive : 1280
========================================= */
@media (max-width: 1280px) {
  .header__inner {
    padding: 0 32px;
  }
}

/* =========================================
   responsive : 1080
========================================= */
@media (max-width: 1080px) {
  :root {
    --content-padding: 32px;
  }

  .header__inner {
    padding: 0 24px;
  }

  .header__nav-list {
    gap: 28px;
  }

  .section-label {
    font-size: 2rem;
  }
}

/* =========================================
   responsive : 760  (smartphone)
========================================= */
@media (max-width: 760px) {
  :root {
    --content-padding: 20px;
    --header-height: 64px;
  }

  .header__inner {
    padding: 0 20px;
  }

  .header__logo img {
    height: 24px;
  }

  .section-label {
    font-size: 1.8rem;
    margin-bottom: 24px;
  }

  .btn {
    min-width: 220px;
    padding: 16px 28px;
    font-size: 1.4rem;
  }

  /* footer */
  .footer {
    padding: 48px 0 20px;
  }

  .footer__inner {
    gap: 20px;
    padding-bottom: 24px;
  }

  .footer__logo img {
    height: 32px;
  }

  .footer__contact {
    margin-top: 20px;
  }

  .footer__copyright {
    font-size: 1.1rem;
  }
}

/* =========================================
   responsive : 540
========================================= */
@media (max-width: 540px) {
  :root {
    --content-padding: 16px;
  }

  .header__inner {
    padding: 0 16px;
  }

  .header__logo img {
    height: 22px;
  }

  .header__nav-link {
    font-size: 2rem;
  }

  .section-label {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  .btn {
    min-width: 200px;
    padding: 14px 24px;
    font-size: 1.3rem;
    gap: 10px;
  }

  .footer__contact-address {
    font-size: 1.4rem;
  }

  .footer__contact-address a[href^="tel:"] {
    font-size: 1.6rem;
  }
}
