:root {
  --navy: #1A2E59;
  --gray: #f8f8f8;
  --beige: #CFA57C;
  --sage: #E8E3DC;
  --text: #222222;
  --beige-deep: #B37E50;
  --bluegray: #E3E8EF;
  --brown-gray: #8C6B4F;
  --blush: #F5E9E0;
  --attention-red: #F42E17;
  --text-gray: #666666;
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Montserrat', sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--text);
  background-color: #fff;
  line-height: 1.8;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Common */
.container .font-s {
  font-size: .95rem;
}

.container .text-link {
  color: var(--navy);
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 15px;
}

.header-inner .logo {
  display: block;
  line-height: 0.9;
}

.header-inner .logo img {
  height: 28px;
  width: auto;
}

/* 通常ナビ */
.nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-en);
  font-weight: 500;
}

.nav a:hover {
  opacity: 0.7;
}

/* ハンバーガーアイコン */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}

.menu-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--navy);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* ✨バツ印に変形（中心で交差） */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Sections */
.section {
  padding: 5rem 1rem;
}

.section h2 {
  margin-top: 0;
  font-family: var(--font-en);
  text-align: center;
  margin-bottom: 2rem;
  color: var(--navy);
  font-size: 1.9rem;
  letter-spacing: 0.04em;
}

/* Hero */
#hero {
  text-align: center;
  padding: 80px;
}

#hero .logo img {
  height: 180px;
}

#hero .catch {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 2.4rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5em;
  color: var(--navy);
}

#hero .lead {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  font-size: 1rem;
  line-height: 1.8;
}

/* About */
#about {
  margin: 0 auto;
  padding: 0 0 80px;
  text-align: left;
}

#about .wrap {
  padding: 80px 0;
  background: linear-gradient(240deg, var(--gray) 0%, var(--gray) 38%, var(--bluegray) 38%, var(--bluegray) 100%);
}

#about .catch {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.03em;
}


#about .about-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 80px;
}

#about .about-image {
  position: relative;
  display: inline-block;
}

#about .about-image img {
  box-shadow: 0 4px 16px rgba(26, 46, 89, 0.1);
  border-radius: 16px;
}

#about .solutions {
  margin-top: 60px;
  padding: 30px 40px;
  border-radius: 20px;
  background: var(--gray);
}

#about .solutions h3 {
  font-size: 1.6rem;
  margin-top: 0;
  text-align: center;
  color: var(--navy);
}

#about .solutions p {
  line-height: 1.9;
  text-align: left;
}

#about .solutions h3 + p {
  text-align: center;
}

#about .solutions .catch {
  font-size: 1rem;
}

#about .solutions .box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 32px 20px;
  margin-top: 24px;
}

#about .solutions .box .col {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}

#about .solutions .box .col .icon {
  width: 50px;
  height: 50px;
  background: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin: 0;
}

#about .solutions .box .col .icon img {
  width: 28px;
  height: auto;
}

#about .solutions .box .col .text {
  margin: 0;
  font-size: 0.95rem;
}

/* Services */
#services {
  padding: 80px 0;
  background: linear-gradient(225deg, var(--sage) 48%, #ECE8E2 48%);
}

#services h2 {
  margin-top: 0;
  color: var(--brown-gray);
}

#services .catch {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.03em;
  text-align: center;
}

#services .service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 40px 32px;
  margin-top: 60px;
}

#services .service-item {
  background: #fff;
  border-radius: 20px;
  padding: 48px 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  text-align: center;
}

#services .service-item .icon {
  margin-bottom: 20px;
}

#services .service-item .icon img {
  width: 48px;
  height: 48px;
  opacity: 0.8;
}

#services .service-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--beige-deep);
  letter-spacing: 0.02em;
}

#services .service-item h3 {
  position: relative;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 32px;
  color: var(--text);
  letter-spacing: 0.02em;
  display: inline-block;
}

#services .service-item h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background-color: var(--beige-deep);
  border-radius: 2px;
  opacity: 0.6;
}


#services .service-item p {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--text);
}

#services .service-item .ttl {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Works */
#works {
  margin-top:80px;
  padding: 80px 0;
  background: linear-gradient(
  to right,
  var(--gray) 0%,
  var(--gray) 30%,
  var(--bluegray) 30%,
  var(--bluegray) 100%);
}

#works h2 {
  margin-top: 0;
  text-align: center;
  color: var(--navy);
}

#works .catch {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.03em;
  text-align: center;
}

#works .works-swiper {
  margin-top: 60px;
  padding-bottom: 50px;
  padding-right: 5px;
}

#works .work-item {
  text-align: center;
}

#works .work-item img {
  width: 100%;
  height: 280px;
  box-sizing: border-box;
  object-fit: contain;
  background: #FFFFFF;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08),
    4px 4px 0 var(--gray);
    border-radius: 16px;
  margin-bottom: 1rem;
}

#works .work-item h3 {
  margin-bottom: 0.5rem;
  font-family: var(--font-en);
  font-size: 1rem;
}

#works .work-item h3::after {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--navy);
  display: block;
  margin: 8px auto 0;
}

#works .work-item p {
  color: var(--text);
  font-size: .85rem;
}

#works .work-item .client {
  color: var(--navy);
  font-weight: 500;
}

#works .caption {
  width: fit-content;
  margin: 40px auto 0;
  font-size: .9rem;
  text-align: center;
  color: var(--text);
}

/* Swiper ナビゲーション調整 */
.swiper-pagination-bullet {
  background: var(--navy);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

/* Price */
#price {
  margin-top:80px;
  padding: 80px 0;
  background: var(--gray);
}

#price .catch {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.03em;
  text-align: center;
}

#price .price-table {
  margin-top: 40px;
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

#price .price-table caption {
  text-align: left;
  font-weight: 600;
  color: var(--text-gray);
  padding: 1rem 1.5rem;
  background: #eef3f8;
  font-size: 0.95rem;
}

#price .price-table th,
#price .price-table td {
  padding: 1.5rem 1.5rem;
  border-bottom: 1px solid #e6e8eb;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

#price .price-table thead th {
  background: #f1f4f8;
  font-weight: 700;
  font-size: 1rem;
}

#price .price-table tbody th {
  font-weight: 600;
}

#price .price-table td {
  color: #333;
  font-size: 1rem;
}

#price .price-table .td-price {
  font-weight: 600;
  color: var(--navy);
  font-size: 1.1rem;
}

#price .price-table .td-price .unit {
  font-size: .8rem;
}

#price .price-table tr:last-child th,
#price .price-table tr:last-child td {
  border-bottom: none;
}

#price .note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-top: 2.5rem;
  line-height: 1.6;
}

/* Profile */
#profile {
  margin: 80px auto 0;
  padding: 80px 0;
  background: linear-gradient(240deg, #FBF6F2 0%,#FBF6F2 38%, var(--sage) 38%,var(--sage) 100%);
  text-align: left;
}

#profile h2 {
  font-family: var(--font-en);
  font-size: 1.8rem;
  color: var(--brown-gray);
  margin-top: 0;
  margin-bottom: 1.5em;
}

#profile .box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

#profile .box .pos {
  font-weight: 500;
}

#profile .box .images {
  text-align: center;
}

#profile .box .images .img {
  margin: 0;
}

#profile .box .images .img img {
  width: 250px;
  height: 250px;
}

#profile .feature {
  font-size: .95rem;
  color: #333;
  line-height: 1.9;
  margin-bottom: 2em;
}

#profile .profile {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.9;
}

#profile .texts .name {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 600;
}


/* Footer */
.footer {
  background: #FFFFFF;
  text-align: center;
  padding: 1rem 1rem;
  font-size: 0.9rem;
}

.footer .logo img {
  width: 150px;
  height: auto;
}

.footer .copy {
  color: var(--te);
  font-size: .8rem;
}

/* Contact */

#contact .container {
  max-width: 900px;
}

#contact .ttl h1 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 2.4rem;
  letter-spacing: 0.05em;
  margin-top: 0;
  color: var(--navy);
}

#contact .ttl .jp-ttl {
  margin: 0;
}

#contact .box {
  margin-top: 40px;
  padding: 40px 80px;
  border-radius: 16px;
  background: var(--gray);
}

#contact .box .line {
  margin-top: 30px;
  width: 100%;
}

#contact .box .line-first {
  margin-top: 0;
}

#contact .box .line > p {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 30px;
  box-sizing: border-box;
  width: 100%;
}

#contact .box .line > p .wpcf7-form-control-wrap {
  flex-grow: 1;
  flex-basis: 0;
  width: 100%;
}

#contact .box fieldset {
  display: none;
}

#contact .box .line .ttl {
  width: 130px;
  font-size: 1rem;
  font-family: var(--font-jp);
  flex-shrink: 0;
  color: var(--navy);
  font-weight: 500;
}

#contact .box .line .required {
  padding: 6px 10px;
  line-height: 1;
  font-size: .65rem;
  border-radius: 16px;
  background: var(--attention-red);
  color: #FFFFFF;
  font-family: var(--font-jp);
  flex-shrink: 0;
}

#contact .box .line input ,
#contact .box .line textarea {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  background: #FFFFFF;
  box-sizing: border-box;
  border: 1px solid #C0C0C0;
  border-radius: 6px;
}

#contact .box .line input::placeholder,
#contact .box .line textarea::placeholder {
  color: #C0C0C0;
  font-weight: 400;
  font-family: var(--font-jp);
}

#contact .policy {
  margin-top: 40px;
  text-align: center;
  font-size: .9rem;
}

#contact .box .buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

#contact .box .buttons .wpcf7-submit {
  padding: 15px 40px;
  border: 0;
  background: var(--navy);
  color: #FFFFFF;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#contact .box .buttons .wpcf7-submit:hover {
  background-color: color-mix(in srgb, var(--navy) 70%, black);
}

#contact .box .buttons .wpcf7-submit:active {
  transform: translateY(0);
  background-color: color-mix(in srgb, var(--navy) 70%, black);
}

#contact .wpcf7-not-valid-tip {
  margin-top: 5px;
  color: var(--attention-red);
  font-size: .9rem;
}

#contact .screen-reader-response p {
  color: var(--attention-red);
  font-size: .9rem;
  margin-bottom: 24px;
}

#contact .screen-reader-response ul {
  display: none;
}

#contact .wpcf7-response-output {
  display: none;
}

/* Privacy */

#privacy h1 {
  margin-top: 0;
  font-family: 'Noto Serif JP', serif;
}

#privacy .box {
  margin-top: 40px;
  padding: 40px;
  background: var(--gray);
  border-radius: 16px;
}

#privacy .box .line {
  margin-top: 40px;
}

#privacy .box .line:first-child {
  margin-top: 0;
}

#privacy h2{
  margin: 0;
  font-size: 1.1rem;
  text-align: left;
}

#privacy .update{
  margin-top: 60px;
  text-align: right;
  font-size: .8rem;
}/* Thanks Page */
#thanks {
  text-align: center;
  padding: 120px 20px;
}

#thanks h1 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 20px;
}

#thanks p {
  font-size: 1rem;
  color: #333;
  line-height: 1.8;
}

#thanks .btn {
  display: inline-block;
  margin-top: 40px;
  padding: 15px 40px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#thanks .btn:hover {
  background-color: color-mix(in srgb, var(--navy) 70%, black);
  transform: translateY(-2px);
}

.is-Sp {
  display: none;
}

/* -----------------------------------
   Responsive Layout (All Combined)
----------------------------------- */

/* 1024px以下 */
@media screen and (max-width: 1024px) {
  header {
    padding: 16px 32px;
  }
}

/* 900px以下：主要セクションを縦積みに */
@media screen and (max-width: 900px) {

  #hero {
    padding: 60px 15px;
  }

  #hero .catch {
    font-size: 1.8rem;
  }

  .section .container {
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* About */
  #about .about-inner {
    flex-direction: column;
    gap: 40px;
  }
  #about .about-image img {
    width: 100%;
    max-width: 480px;
    display: block;
    margin: 0 auto;
  }
  #about .about-text .description {
    text-align: left;
  }
  #about .solutions .box {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  /* Services */
  #services .service-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  #services .service-item {
    padding: 40px 24px;
  }

  /* Works */
  #works {
    background: linear-gradient(
      to bottom,
      var(--gray) 0%,
      var(--gray) 40%,
      var(--bluegray) 40%,
      var(--bluegray) 100%
    );
  }

  /* Profile */
  #profile .box {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  #profile .box .text {
    text-align: left;
  }
  #profile .box .images .img img {
    width: 180px;
    height: 180px;
  }

  /* Contact */
  #contact {
    padding-right: 0;
    padding-left: 0;
  }

  #contact .box {
    padding: 32px 40px;
  }

  #contact .box .line > p {
    flex-direction: column;
    gap: 10px;
  }

  #contact .box .line .ttl {
    width: 100%;
  }

  #contact .box .line .required {
    align-self: flex-start;
  }

  #contact .box .buttons {
    flex-direction: column;
    gap: 20px;
  }

  #contact .box .buttons .wpcf7-submit {
    width: 100%;
  }

  /* 共通余白調整 */
  .section {
    padding: 64px 24px;
  }

  h2 {
    font-size: 1.6rem;
  }

  #privacy .container {
    padding-right: 0;
    padding-left: 0;
  }

  #privacy .box {
    padding: 24px;
    margin-top: 30px;
  }

  #privacy h1 {
    font-size: 1.8rem;
  }

  #privacy h2 {
    font-size: 1rem;
  }

  #privacy p {
    font-size: .9rem;
    line-height: 1.8;
  }

  #privacy .update {
    margin-top: 40px;
  }
  #price {
    padding: 4rem 0;
  }

  #price .catch {
    font-size: 1rem;
  }

  #price .price-table,
  #price .price-table thead {
    display: block;
  }

  #price .price-table thead {
    display: none;
  }

  #price .price-table tbody {
    display: block;
  }

  #price .price-table tr {
    display: block;
    border-bottom: none;
  }

  #price .price-table th,
  #price .price-table td {
    display: block;
    width: 100%;
    text-align: left;
    padding: 1rem 1rem;
    box-sizing: border-box;
  }

  #price .price-table th {
    background: var(--bluegray);
  }

  #price .price-table tr:last-child th, #price .price-table tr:last-child td {
    border-bottom: 1px solid #e6e8eb;
  }

  #price .price-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    color: #555;
  }
}

/* 768px以下：ハンバーガーメニュー表示、右スライドイン */
@media screen and (max-width: 768px) {
  .header-inner {
    padding: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 150;
  }

  .nav.active {
    right: 0;
  }

  .nav ul {
    flex-direction: column;
    gap: 2rem;
  }

  .nav a {
    font-size: 1.1rem;
  }

  section {
    padding: 64px 16px;
  }

  #hero .logo img {
    width: 120px;
    height: auto;
  }

  #about .solutions {
    padding: 30px 15px;
  }


  /* Contact */
  #contact .box {
    padding: 24px 20px;
    border-radius: 12px;
  }

  #contact .box .line > p {
    flex-direction: column;
    gap: 8px;
  }

  #contact .box .line .ttl {
    font-size: 0.95rem;
  }

  #contact .box .line .required {
    font-size: 0.7rem;
    padding: 4px 8px;
  }

  #contact .box .buttons {
    gap: 16px;
  }

  #contact .box .buttons .wpcf7-submit {
    width: 100%;
    padding: 14px 14px;
  }
}

/* 600px以下 */
@media screen and (max-width: 600px) {
  #about .solutions .box {
    grid-template-columns: 1fr;
  }

  #services .service-item {
    padding: 32px 20px;
  }

  #about .catch {
    font-size: 1.1rem;
  }

  #hero .catch {
    font-size: 1.6rem;
  }

  #works .work-item img {
    height: 200px;
  }

  #profile {
    padding: 60px 0;
  }

  .footer {
    font-size: 0.8rem;
  }

  /* Contact */
  #contact .box {
    padding: 24px 16px;
  }

  #contact .box .line .ttl {
    font-size: 0.9rem;
  }
}

/* 480px以下 */
@media screen and (max-width: 480px) {
  header {
    flex-direction: column;
    gap: 8px;
  }

  body {
    font-size: 16px;
  }

  section {
    padding: 48px 12px;
  }

  /* Contact */
  #contact .box {
    padding: 20px;
  }

  #contact .box .line > p {
    gap: 10px;
  }

  #contact .box .buttons .wpcf7-submit {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 900px) {
  .is-Sp {
    display: inline-block;
  }
}
