@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

:root {
  --color-text: #333;
  --color-text-white: #fff;
  --color-bg: #fff;
  --color-bg-light: #b7d6e6;
  --color-bg-dark: #333;
  --color-primary: #0095d9;
  --color-accent: #ffd400;
  --color-border: #fff;
}

/*------------
base
------------*/
html {
  -webkit-appearance: none;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  word-break: break-all;
  font-size: 10px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-optical-sizing: auto;
  font-size: 1.6rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  margin: 0;
}

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

.container {
  width: 100%;
  overflow: hidden;
}

.inner {
  max-width: 960px;
  margin-inline: auto;
}

#service,
#company {
  scroll-margin-top: 6rem;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  position: relative;
}

.section-title::before {
  content: "";
  display: block;
  width: 12rem;
  height: 0.4rem;
  background: var(--color-primary);
  margin: 0 auto 1.6rem;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (max-width: 767px) {
  .pc {
    display: none !important;
  }
}

@media screen and (min-width: 768px) {
  .sp {
    display: none !important;
  }
}

/*------------
header
------------*/
.header {
  width: 100%;
  min-height: 6rem;
  background: var(--color-bg-dark);
  padding-inline: 2rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header .inner {
  min-height: 6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--color-text-white);
  line-height: 1.2;
  transition: all 0.3s ease;
}

.header__logo a {
  min-height: 6rem;
  display: flex;
  align-items: center;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
  line-height: 1.2;
}

.header__logo a:hover {
  opacity: 0.7;
}

.header__nav-list {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-text-white);
  transition: all 0.3s ease;
}

.header__nav-item {
  margin: 0;
  padding: 0;
}

.header__nav-item a {
  min-height: 6rem;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  line-height: 1.2;
}

.header__nav-item a:hover {
  opacity: 0.7;
}

.header__drawer {
  width: 4rem;
  height: 4rem;
  border: none;
  background: transparent;
  position: relative;
  z-index: 1100;
}

.header__drawer span {
  position: absolute;
  left: 50%;
  width: 2.4rem;
  height: 2px;
  background: #fff;
  transform: translateX(-50%);
  transition: all 0.3s;
}

.header__drawer span:nth-child(1) {
  top: 1.1rem;
}

.header__drawer span:nth-child(2) {
  top: 1.9rem;
}

.header__drawer span:nth-child(3) {
  top: 2.7rem;
}

.header__drawer.is-open span:nth-child(1) {
  top: 1.9rem;
  transform: translateX(-50%) rotate(45deg);
}

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

.header__drawer.is-open span:nth-child(3) {
  top: 1.9rem;
  transform: translateX(-50%) rotate(-45deg);
}

.drawer {
  position: fixed;
  top: 6rem;
  left: 0;
  width: 100%;
  min-height: 220px;
  background: rgba(51, 51, 51, 0.97);
  padding: 3rem 2rem 4rem;
  transform: translateY(-120%);
  transition: transform 0.3s;
  z-index: 999;
}

.drawer.is-open {
  transform: translateY(0);
}

.drawer__list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.drawer__item a {
  color: #fff;
  font-size: 1.8rem;
  text-decoration: none;
}

@media screen and (max-width: 767px) {
  .header__logo {
    font-size: 2rem;
    max-width: calc(100% - 56px);
  }
}

/*------------
mv
------------*/
.mv__hero {
  position: relative;
  overflow: hidden;
  padding: 10rem 3rem 6rem;
  background: linear-gradient(135deg, #0095d9, #38c0ff);
  color: #fff;
}

.mv__hero::before,
.mv__hero::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.mv__hero::before {
  width: 700px;
  height: 700px;
  top: -180px;
  left: -180px;
}

.mv__hero::after {
  width: 420px;
  height: 420px;
  bottom: -120px;
  right: -120px;
}

.mv__title {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.mv__title h2 {
  font-size: 4.8rem;
  font-weight: 700;
}

.mv__title p {
  font-size: 2.2rem;
  margin-top: 2rem;
}

@media screen and (max-width: 767px) {
  .mv__title {
    max-width: 100%;
  }

  .mv__title h2 {
    font-size: 2rem;
  }

  .mv__title p {
    margin-top: 1.2rem;
    font-size: 1.8rem;
  }
}

/*------------
button
------------*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
  min-width: 220px;
  height: 56px;
  padding-inline: 36px;
  background: var(--color-accent);
  color: var(--color-text);
  border-radius: 999px;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

.btn:hover {
  opacity: 0.8;
}

@media screen and (max-width: 767px) {
  .btn {
    width: 100%;
    max-width: 280px;
    margin-top: 3rem;
  }
}

/*------------
service
------------*/
.service {
  padding: 5rem 3rem 7rem;
}

.service__cards {
  margin-top: 4.8rem;
}

.service__card {
  text-align: center;
  background: var(--color-bg);
  border: 1px solid #d9e7f0;
  border-radius: 16px;
  padding: 3.2rem 2.4rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.service__card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service__card h3 {
  font-size: 2.4rem;
  font-weight: 500;
}

.service__card p {
  margin-top: 1.6rem;
  font-size: 1.8rem;
}

.service__card ul {
  margin-top: 1.6rem;
  text-align: left;
  font-size: 1.6rem;
}

.service__card ul li {
  margin-bottom: 1rem;
}

@media screen and (min-width: 768px) {
  .service__cards {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 2.4rem;
  }

  .service__card--large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
  }

  .service__card:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .service__card:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
}

@media screen and (max-width: 767px) {
  .service {
    padding: 5rem 3rem 4rem;
  }

  .service__card + .service__card {
    margin-top: 2.4rem;
  }
}

/*------------
company
------------*/
.company {
  padding: 5rem 3rem 7rem;
  background: var(--color-bg-light);
}

.company__logo {
  text-align: center;
  margin: 3rem 0 4rem;
}

.company__logo img {
  width: min(100%, 300px);
  height: auto;
  margin-inline: auto;
}

.company__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
}

.company__table th,
.company__table td {
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
}

.company__table th {
  width: 10rem;
  text-align: left;
  font-weight: 600;
}

/*------------
page common
------------*/
.page-content {
  padding: 6rem 0 8rem;
}

/*------------
contact
------------*/
.contact-form {
  width: min(100% - 3.2rem, 60rem);
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.contact-form p {
  margin: 0 0 2rem;
}

.contact-form label {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 0.8rem;
  padding: 1.2rem 1.6rem;
  font-size: 1.6rem;
  box-sizing: border-box;
}

.contact-form textarea {
  min-height: 20rem;
  resize: vertical;
}

.contact-form input[type="submit"] {
  display: block;
  margin: 3rem auto 0;
  width: 100%;
  max-width: 24rem;
  min-width: 0;
  border: none;
  border-radius: 9999px;
  background: var(--color-accent);
  color: #333;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.3s;
  text-align: center;
}

.contact-form input[type="submit"]:hover {
  opacity: 0.8;
}

/*------------
blog
------------*/
.blog__list {
  display: grid;
  gap: 2.4rem;
  margin: 4rem 0 0;
  padding: 0 1.6rem;
  list-style: none;
}

.blog__item {
  border: 1px solid #ddd;
  border-radius: 1.2rem;
  background: #fff;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.blog__link {
  display: block;
  padding: 2rem;
  color: inherit;
  text-decoration: none;
}

.blog__date {
  font-size: 1.4rem;
  color: #666;
  margin-bottom: 1rem;
}

.blog__title {
  font-size: 2rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
  word-break: break-word;
}

.blog__excerpt {
  font-size: 1.5rem;
  line-height: 1.8;
  color: #333;
  word-break: break-word;
}

/*------------
single
------------*/
.page-content.single-page {
  padding-top: 14rem;
  padding-bottom: 8rem;
}

.single {
  width: min(100% - 3.2rem, 800px);
  margin: 0 auto;
}

.single__date {
  font-size: 1.4rem;
  color: #666;
  margin-bottom: 1rem;
}

.single__title {
  font-size: 3rem;
  line-height: 1.4;
  margin-bottom: 3rem;
  word-break: break-word;
}

.single__content {
  line-height: 1.9;
}

.single__content p {
  margin-top: 1.6rem;
}

/*------------
contact form
------------*/
.wpcf7,
.wpcf7-form,
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
}

.wpcf7-form p {
  margin: 0 0 2rem;
}

.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.wpcf7-form textarea {
  min-height: 16rem;
  resize: vertical;
}

/*------------
footer
------------*/
.footer {
  width: 100%;
  background: var(--color-bg-dark);
  color: var(--color-text-white);
  padding: 40px 16px;
  text-align: center;
  box-sizing: border-box;
}

.footer p {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .page-content.single-page {
    padding-top: 10rem;
    padding-bottom: 6rem;
  }

  .blog__list {
    padding: 0 1.2rem;
  }

  .blog__link {
    padding: 1.6rem;
  }

  .blog__title {
    font-size: 1.8rem;
  }

  .blog__excerpt {
    font-size: 1.4rem;
  }

  .single {
    width: min(100% - 2.4rem, 800px);
  }

  .single__title {
    font-size: 2.4rem;
  }

  .contact-form {
    width: min(100% - 2.4rem, 60rem);
  }
}