@charset "UTF-8";
:root {
  --main-color: #69C7CD;
  --background-color: #FFFEFC;
  --darkblue-color: #2980AF;
  --yellow-color: #FFF100;
  --font-size-large: clamp(20px, calc(20px + (2 * ((100vw - 480px) / 288))), 24px);
  --font-size-medium: clamp(16px, calc(16px + (1 * ((100vw - 480px) / 288))), 18px);
  --font-size-normal: clamp(14px, calc(14px + (1 * ((100vw - 480px) / 288))), 16px);
  --font-size-small: clamp(12px, calc(12px + (1 * ((100vw - 480px) / 288))), 14px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: #333;
  background-color: var(--background-color);
  font-size: var(--font-size-normal);
}

img {
  max-width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 4/3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
  cursor: pointer;
}

ul {
  list-style: none;
}

main {
  padding-top: clamp(65px, 65px + 10 * (100vw - 480px) / 288, 90px);
  margin: 0 auto;
  max-width: 100%;
}

section {
  padding: clamp(40px, 40px + 20 * (100vw - 480px) / 288, 80px) 0;
}

.container {
  margin: 0 auto;
  max-width: clamp(480px, 480px + 450 * (100vw - 480px) / 288, 1200px);
  padding-inline: var(--font-size-normal);
}

/* h2 */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.arrow {
  position: relative;
  display: inline-block;
  padding-right: 20px;
  vertical-align: middle;
  text-decoration: none;
  font-size: var(--font-size-normal);
}

.arrow::after {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  right: 5px;
  margin: auto;
  width: 8px;
  height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.sub-title {
  padding-bottom: var(--font-size-large);
  display: flex;
  align-items: flex-end;
  font-family: "Sansita Swashed", system-ui;
  font-weight: normal;
  font-size: clamp(20px, 20px + 8 * (100vw - 480px) / 288, 32px);
  color: var(--main-color);
}
.sub-title .jp-title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  padding-inline: 10px;
  font-size: var(--font-size-normal);
  letter-spacing: 1px;
}
.sub-title a {
  font-size: var(--font-size-normal);
  padding-left: 10px;
}

.heading-icon1,
.heading-icon2,
.heading-icon3 {
  display: inline-block;
  width: clamp(20px, 20px + 5 * (100vw - 480px) / 288, 30px);
  height: clamp(20px, 20px + 5 * (100vw - 480px) / 288, 30px);
  -webkit-mask-image: url("../img/pen.svg");
  -webkit-mask-repeat: no-repeat;
  mask-image: url("../img/pen.svg");
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.heading-icon1 {
  background-color: var(--background-color);
}

.heading-icon2 {
  background-color: var(--main-color);
}

.heading-icon3 {
  background-color: #333;
}

h3 {
  font-size: var(--font-size-medium);
}

h4 {
  color: var(--darkblue-color);
  font-size: var(--font-size-medium);
  letter-spacing: 1.8px;
  padding: 10px 20px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  position: relative;
}

h4::before {
  position: absolute;
  content: "";
  left: 0;
  background: var(--yellow-color);
  width: 5px;
  height: 32px;
}

h5 {
  font-size: var(--font-size-large);
}

.header {
  padding-inline: clamp(12px, 12px + 4 * (100vw - 480px) / 288, 20px);
  width: 100%;
  height: clamp(65px, 65px + 10 * (100vw - 480px) / 288, 90px);
  display: flex;
  align-items: center;
  color: var(--main-color);
  font-family: "Sansita Swashed", system-ui;
  font-size: var(--font-size-medium);
  background-color: var(--background-color);
  letter-spacing: 1.5px;
  font-weight: bold;
  position: fixed;
  top: 0;
  box-shadow: 0px 1px 3px #ccc;
  max-width: 100%;
  z-index: 10;
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  padding-left: var(--font-size-small);
}
.logo img {
  height: clamp(40px, 40px + 5 * (100vw - 480px) / 288, 50px);
  aspect-ratio: auto;
}
.logo a {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: clamp(12px, 12px + 5 * (100vw - 480px) / 288, 30px);
  margin: 0 auto;
}

.sns-link i {
  font-size: 30px;
  color: var(--main-color);
}

.button a {
  margin: 0 auto;
  max-width: 250px;
  padding: 5px 30px 8px 30px;
  transition: 0.3s ease-in-out;
  background: linear-gradient(to top, #69C7CD, #8ED8D3);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  color: var(--background-color);
}

.button a:hover {
  color: #fff;
  opacity: 0.5;
}

.button a:hover:after {
  border-color: #fff;
}

/* ---  メインビジュアル --- */
.main-visual {
  max-width: 100%;
  height: 90vh;
}
.main-visual img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  /* これが重要！アスペクト比を保ちつつ枠いっぱいに広げます */
  display: block;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* 1. PC版・スマホ版共通のベース */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  /* 3. ボタンを押した時（スマホ版） */
}
@media screen and (max-width: 768px) {
  .nav {
    /* 2. スマホ版：画面外に配置 */
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px;
    z-index: 1000;
    transition: right 0.5s ease-in-out;
    /* display: none や visibility は一旦使わず、
       単純に「画面の外にいるか中にいるか」だけで制御します */
  }
}
@media screen and (max-width: 768px) {
  .nav.active {
    right: 0 !important;
  }
}

/* ナビの中のリスト調整 */
@media screen and (max-width: 768px) {
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 2rem;
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 768px) {
  .nav-list li {
    border-bottom: 0.8px solid var(--main-color);
    padding-bottom: 16px;
    display: block;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .nav-list li a {
    text-decoration: none;
    color: inherit;
  }
}

.mask-header {
  display: none;
}
@media screen and (max-width: 768px) {
  .mask-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 900;
  }
}
.mask-header.active {
  display: block;
}

.openbtn {
  display: none;
  position: relative;
}
@media screen and (max-width: 768px) {
  .openbtn {
    display: block;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    display: block;
    text-align: center;
    z-index: 1000;
    background-color: var(--main-color);
  }
}

.openbtn span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(20px, 20px + 6 * (100vw - 480px) / 288, 32px);
  height: 2px;
  background: #2D200A;
  border-radius: 5px;
  transition: 0.4s;
}

.openbtn span {
  background: var(--background-color);
}

.openbtn span:nth-of-type(1) {
  top: 12px;
}

.openbtn span:nth-of-type(2) {
  top: 20px;
}

.openbtn span:nth-of-type(3) {
  top: 28px;
}

.openbtn.active span:nth-of-type(1) {
  top: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.footer {
  max-width: 100%;
  background: var(--main-color);
  margin-top: 30px;
  font-family: "Noto Sans", sans-serif;
}

.footer-inner {
  padding: 60px 30px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .footer-inner {
    flex-direction: column-reverse;
    padding: 30px;
    align-items: stretch;
  }
}

@media screen and (max-width: 768px) {
  .footer-info {
    padding-bottom: 40px;
    padding-top: 20px;
    border-bottom: 0.8px solid rgba(51, 51, 51, 0.8);
  }
}

.footer-logo {
  width: 22%;
  padding: 16px;
}
.footer-logo img {
  aspect-ratio: auto;
}
@media screen and (max-width: 768px) {
  .footer-logo {
    width: 40%;
  }
}

.company-name {
  padding-bottom: 10px;
}

.f-nav-list {
  display: grid;
  grid-template-columns: repeat(2, -webkit-max-content);
  grid-template-columns: repeat(2, max-content);
  grid-template-rows: repeat(4, auto);
  -moz-column-gap: 40px;
       column-gap: 40px;
  row-gap: 10px;
}
@media screen and (max-width: 768px) {
  .f-nav-list {
    padding-top: 20px;
    padding-bottom: 40px;
    border-bottom: 0.8px solid rgba(51, 51, 51, 0.8);
  }
}
.f-nav-list li {
  padding-bottom: 2px;
}

.f-nav-list a {
  border-bottom: 0.8px solid transparent;
}
@media screen and (max-width: 768px) {
  .f-nav-list a {
    border-bottom: none;
  }
}

.f-nav-list a:hover {
  border-bottom: 0.8px solid #333;
  padding-bottom: 3px;
}

.copyright {
  text-align: center;
  padding-bottom: 5px;
}

address {
  font-style: normal;
}

/* --- スマホ対応 (簡易) --- */
@media (max-width: 768px) {
  .col-3,
.col-5 {
    grid-template-columns: 1fr;
  }
}
.mv-slider {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.mv-container {
  display: flex;
  width: 100%;
  height: 100%;
}

.mv-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.bg-light {
  background: #f9f9f9;
}

.grid-layout {
  display: grid;
  gap: 40px 20px;
}

.col-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media screen and (max-width: 600px) {
  .col-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.col-5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 30px 15px;
}
@media screen and (max-width: 768px) {
  .col-5 {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (max-width: 600px) {
  .col-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 480px) {
  .col-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 5px;
  background: #eee;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.card-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  padding-top: 5px;
}

.achieve-title {
  text-align: center;
}

/*NEWS*/
#news {
  position: relative;
  padding-bottom: clamp(30px, 30px + 10 * (100vw - 480px) / 288, 100px);
  background-color: var(--main-color);
  margin-bottom: 20px;
  z-index: 1;
  color: var(--background-color);
}
#news .sub-title {
  color: var(--background-color);
}

#news::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: 0;
  width: 100%;
  height: clamp(300px, 300px + 20 * (100vw - 480px) / 288, 270px);
  background-image: url("../img/frame_news.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center top;
  z-index: -1;
}
@media screen and (max-width: 768px) {
  #news::after {
    bottom: -175px;
  }
}

/*works*/
#works {
  padding-top: clamp(70px, 70px + 40 * (100vw - 480px) / 288, 150px);
}
#works .section-header {
  color: var(--main-color);
}

/*Products & Services*/
#products {
  background: linear-gradient(to right, #69C7CD 0%, #C8EDFF 100%);
  padding: 80px 20px;
}
#products .section-header {
  color: var(--main-color);
}
#products .container {
  background-color: var(--background-color);
  padding: 8% 3%;
  border-radius: 20px;
}
#products .card-thumb {
  border-radius: 8px;
  border: 1px solid #a1a1a1;
  box-shadow: 0px 5px 0px 0px #a1a1a1;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
#products .card-thumb:hover {
  transform: translateY(2px);
  box-shadow: 0px 2px 0px 0px #a1a1a1;
}
#products h3 {
  font-weight: normal;
  text-align: center;
  font-size: var(--font-size-small);
  padding-top: 5px;
}

#business {
  background: linear-gradient(to bottom, #69C7CD, #C8EDFF);
  min-height: 100vh;
  margin: 0 auto;
  padding-inline: 3%;
  padding-top: 100px;
}
#business h2 {
  color: var(--background-color);
  padding: 40px 0;
  text-align: center;
}

#introduction {
  display: flex;
  gap: 40px;
  align-items: center;
  font-family: "Noto Sans", sans-serif;
  padding: 50px;
  background-color: var(--background-color);
  border-radius: 60px;
}
@media screen and (max-width: 768px) {
  #introduction {
    flex-direction: column;
    gap: 25px;
  }
}

.introduction {
  padding-top: 10px;
}
@media screen and (max-width: 768px) {
  .introduction {
    width: 100%;
  }
}
.introduction p {
  padding-top: 20px;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .introduction-img {
    width: 100%;
    padding-top: 20px;
  }
}
.introduction-img img {
  aspect-ratio: auto;
  border-radius: 8px;
}

.second-icon {
  border-radius: 20px;
  font-family: "Zen Maru Gothic", sans-serif;
  display: flex;
  align-items: stretch;
  margin-top: 50px;
}
@media screen and (max-width: 600px) {
  .second-icon {
    flex-direction: column-reverse;
  }
}

.icon {
  border-radius: 20px;
  font-family: "Zen Maru Gothic", sans-serif;
  display: flex;
  align-items: stretch;
  margin-top: 50px;
}
@media screen and (max-width: 600px) {
  .icon {
    flex-direction: column;
  }
}

.icon-text {
  width: 55%;
  height: auto;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  overflow: hidden;
  background-color: var(--background-color);
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 600px) {
  .icon-text {
    border-top-right-radius: 20px;
    border-bottom-left-radius: 0;
    width: 100%;
  }
}
.icon-text h5 {
  letter-spacing: 2px;
  text-align: center;
  font-size: var(--font-size-medium);
  padding: clamp(15px, 15px + 10 * (100vw - 480px) / 288, 40px);
  background-color: var(--darkblue-color);
  color: var(--background-color);
}

.business-wrapper {
  max-width: clamp(450px, 450px + 300 * (100vw - 480px) / 288, 850px);
  margin: 0 auto;
}

.second-text {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
@media screen and (max-width: 600px) {
  .second-text {
    border-top-left-radius: 20px;
    border-bottom-right-radius: 0;
  }
}

.icon-p {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  padding: 10px 0;
}
.icon-p p {
  display: flex;
  align-items: center;
  padding-bottom: clamp(5px, 5px + 3 * (100vw - 480px) / 288, 40px);
  gap: 10px;
  margin: 0;
}
.icon-p p::before {
  content: "";
  flex-shrink: 0;
  width: var(--font-size-small);
  height: var(--font-size-small);
  background: radial-gradient(circle, #69C7CD 0%, rgba(105, 199, 205, 0) 80%);
  border-radius: 50%;
}

.icon-img {
  width: 45%;
  line-height: 0;
}
@media screen and (max-width: 600px) {
  .icon-img {
    width: 100%;
  }
}
.icon-img img {
  aspect-ratio: 4/3;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}
@media screen and (max-width: 600px) {
  .icon-img img {
    border-top-right-radius: 0;
    border-bottom-left-radius: 20px;
  }
}

.second-img img {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
@media screen and (max-width: 600px) {
  .second-img img {
    border-top-left-radius: 0;
    border-bottom-right-radius: 20px;
  }
}

.profile-container {
  margin: 0 auto;
  max-width: clamp(400px, 400px + 400 * (100vw - 480px) / 288, 1000px);
  padding-inline: 20px;
}

.profile-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding-bottom: 50px;
}
@media screen and (max-width: 600px) {
  .profile-flex {
    flex-direction: column-reverse;
    gap: 20px;
  }
}

.profile-map {
  width: 400px;
  height: 400px;
}
@media screen and (max-width: 600px) {
  .profile-map {
    width: 100%;
    height: 200px;
  }
}

.profile-map iframe {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.company {
  padding: 20px 0 30px 0;
}

.company-info div {
  display: flex;
  margin-bottom: 15px;
  line-height: 1.6;
}

.company-info dt {
  width: 5em;
  flex-shrink: 0;
  font-weight: bold;
}

.company-info dd {
  margin-left: 0;
  flex: 1;
  position: relative;
}

.company-info dd::before {
  position: absolute;
  content: "";
  left: -16px;
  top: 50%;
  background: var(--main-color);
  width: 8px;
  height: 2px;
}

#profile {
  padding: 80px 0 0 0;
}

#name {
  background-color: var(--main-color);
  padding-top: 80px;
  padding-bottom: 150px;
  /* 波の高さ分、下の余白を確保 */
  position: relative;
  overflow: hidden;
}
#name img {
  aspect-ratio: auto;
}

.window-section {
  padding-top: clamp(40px, 40px + 20 * (100vw - 480px) / 288, 80px);
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}

.window-section::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: 0;
  width: 100%;
  height: 259px;
  background-image: url("../img/frame2_profile.svg");
  transform: scale(1, -1);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center top;
  z-index: -1;
}

.window {
  margin: 0 auto;
  display: flex;
  gap: clamp(30px, 30px + 10 * (100vw - 480px) / 288, 60px);
  align-items: stretch;
  padding-inline: 30px;
}
@media screen and (max-width: 768px) {
  .window {
    flex-direction: column;
  }
}

/* テキスト部分 */
.sub-heading {
  position: relative;
  padding-bottom: 10px;
}

.sub-heading::before {
  background-color: var(--main-color);
}

.text-block p {
  padding-top: 30px;
}

.logo-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .logo-container {
    flex-direction: row;
  }
}
@media screen and (max-width: 480px) {
  .logo-container {
    flex-direction: column;
  }
}

/* 写真の窓（グリッドレイアウト） */
.image-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media screen and (max-width: 768px) {
  .image-grid {
    width: 80%;
  }
}
@media screen and (max-width: 480px) {
  .image-grid {
    width: 100%;
  }
}

.photo-window {
  border-radius: 10px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: #eee;
}

.photo-window img {
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 10px;
  aspect-ratio: auto;
}

.photo-window:hover img {
  transform: scale(1.1);
}

.window-2 {
  margin-top: -50px;
  margin-left: 20%;
  max-width: 60%;
}

.name {
  padding-inline: var(--font-size-large);
  width: 80%;
}
@media screen and (max-width: 480px) {
  .name {
    width: 100%;
    padding-top: 30px;
  }
}

.logo-box img {
  padding: 30px 10px;
  aspect-ratio: auto;
}

.name p {
  font-size: var(--font-size-small);
  text-align: center;
}

#director {
  padding-top: clamp(180px, 180px + 20 * (100vw - 480px) / 288, 280px);
  padding-inline: 5%;
  padding-bottom: 120px;
  z-index: -1;
  min-height: 100vh;
  background: linear-gradient(to bottom, #69C7CD, #C8EDFF);
}

.director {
  padding: 5%;
  background-color: #f5f3f3;
  border-radius: 20px;
}
.director-profile {
  display: flex;
  align-items: center;
  gap: 20px;
}
.director img {
  aspect-ratio: auto;
}
.director-photo {
  width: 16%;
}
.director-photo img {
  aspect-ratio: 1/1;
  border-radius: 10px;
}
.director .x-link i {
  font-size: var(--font-size-large);
}
.director h5 {
  padding-bottom: 20px;
  font-size: var(--font-size-medium);
}
.director p {
  padding-bottom: 16px;
  line-height: 2;
}
.director span {
  font-size: var(--font-size-small);
  font-weight: normal;
  position: relative;
  padding-left: var(--font-size-small);
  display: inline;
  padding-right: 16px;
}
@media screen and (max-width: 768px) {
  .director span {
    display: block;
  }
}
.director span::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--main-color);
  font-weight: bold;
}

.group {
  display: flex;
  gap: 20px;
  flex-direction: column;
  margin-bottom: 30px;
  padding: 5%;
}
.group p {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 2px;
}
.group p::before {
  content: "";
  flex-shrink: 0;
  width: var(--font-size-small);
  height: var(--font-size-small);
  background: radial-gradient(circle, #2980AF 0%, rgba(105, 199, 205, 0) 80%);
  border-radius: 50%;
}

.group-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--font-size-large);
}
.group-wrapper li {
  width: 16%;
}

.support {
  padding: 5%;
  display: flex;
  gap: clamp(20px, 20px + 20 * (100vw - 480px) / 288, 60px);
  margin: 40px 0;
  justify-content: center;
}
@media screen and (max-width: 600px) {
  .support {
    flex-direction: column;
  }
}
.support a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px;
  border-bottom: 1px solid transparent;
}
.support a::before {
  content: "";
  flex-shrink: 0;
  width: var(--font-size-small);
  height: var(--font-size-small);
  background: radial-gradient(circle, #2980AF 0%, rgba(105, 199, 205, 0) 80%);
  border-radius: 50%;
}
.support a:hover {
  border-bottom: 1px solid rgba(41, 128, 175, 0.6);
  padding-bottom: 2px;
}
.support-img {
  padding-top: 16px;
  padding-left: 10px;
}
.support .sansokan {
  width: 40%;
}
.support .sansokan img {
  width: 45%;
}
.support .amusement {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.support .amusement img {
  width: 80%;
  padding-right: 10px;
}

.support-card {
  height: auto;
  position: relative;
  background: #FFFFFF;
  border-left: solid 8px var(--darkblue-color);
  -webkit-clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
          clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

/* --- めくれのデザイン（裏側） --- */
.support-card:after {
  position: absolute;
  content: "";
  /* めくれの基準位置：四角の右上端 */
  top: 0;
  right: 0;
  /* 三角形を作る設定 */
  border-style: solid;
  border-width: 0 24px 24px 0;
  /* 三角形の配色 */
  border-color: transparent transparent var(--darkblue-color) transparent;
  /* めくれの影 */
  box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.15);
  /* 影が clip-path で消えないように、少し外に出す */
  transform: translate(0, 0);
}

.pagination {
  margin-top: 50px;
  display: flex;
  justify-content: flex-end; /* 右寄せにする設定 */
  text-align: center;
}

.page-numbers {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 35px;
  margin: 0 4px;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s ease;
}

a.page-numbers:hover {
  background-color: var(--background-color);
  border-color: var(--main-color);
  color: var(--main-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-numbers.current {
  background-color: var(--main-color);
  border-color: var(--main-color);
  color: var(--background-color);
  font-weight: bold;
  cursor: default;
}

.dots {
  display: inline-block;
  width: 30px;
  color: #999;
}

.page-numbers.disabled {
  display: none;
}

/* カード全体の設定 */
.card {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(5px);
}

.card-thumb {
  background-color: #333;
  overflow: hidden;
}

.card-thumb img {
  display: block;
  width: 100%;
  transition: opacity 0.3s ease;
}

.card:hover .card-thumb img {
  opacity: 0.7;
}

.products-title {
  padding-top: 50px;
  padding-bottom: 30px;
}

.products-text {
  line-height: 1.5;
}

#services article {
  padding-bottom: 40px;
}
#services .card-thumb {
  border-radius: 10px;
  border: 1px solid #a1a1a1;
  box-shadow: 0px 6px 0px 0px #a1a1a1;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
#services .card-thumb:hover {
  transform: translateY(2px);
  box-shadow: 0px 2px 0px 0px #a1a1a1;
}
#services .card-title {
  text-align: center;
  padding-top: 8px;
}
#services h4 {
  color: #333;
  padding-bottom: var(--font-size-medium);
}
#services h4::before {
  background-color: var(--main-color);
}

.banner {
  text-align: right;
}

.btn-sticky {
  display: inline-block;
  padding: 16px 30px;
  text-decoration: none;
  background: #f7f7f7;
  border-left: solid 6px var(--darkblue-color);
  color: var(--darkblue-color);
  font-weight: bold;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
  letter-spacing: 2px;
  font-size: var(--font-size-medium);
  font-family: "Zen Kaku Gothic New", sans-serif;
}

.btn-sticky:active {
  box-shadow: inset 0 0 2px rgba(128, 128, 128, 0.1);
  transform: translateY(2px);
}

#contact {
  width: clamp(400px, 400px + 200 * (100vw - 480px) / 288, 800px);
}
#contact .sub-title {
  text-align: center;
  padding-bottom: clamp(30px, 30px + 10 * (100vw - 480px) / 288, 50px);
}

.contact-form {
  padding: 30px 0;
}

.form-group {
  display: flex;
  margin-bottom: 32px;
}

.form-group.align-top {
  align-items: flex-start;
}

.form-label {
  width: 30%;
  font-weight: bold;
  flex-shrink: 0;
}

.form-label span {
  margin-left: 4px;
  color: var(--darkblue-color);
}

.form-input {
  width: 70%;
}
.form-input .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

input[type=text],
input[type=email],
input[type=tel],
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--main-color);
  border-radius: 12px;
  background-color: #e6f2f8;
  box-sizing: border-box;
  outline: none;
  font-size: 16px;
}

input:focus, textarea:focus {
  background-color: #dcedf5;
  border-color: #8fb8c9;
}

.checkbox-group label {
  display: block;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 15px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.checkbox-group input[type=checkbox] {
  margin-right: 10px;
  transform: scale(1.1);
}

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

.form-submit {
  text-align: center;
  margin-top: 40px;
}
.form-submit input[type=submit] {
  background-color: var(--main-color);
  color: var(--background-color);
  padding: 15px 60px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.3s;
  letter-spacing: 2.4px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
.form-submit input[type=submit]:hover {
  opacity: 0.8;
}

.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.checkbox-group .wpcf7-list-item {
  display: block;
  margin-left: 0;
}
.checkbox-group label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 12px;
}
.checkbox-group input[type=checkbox] {
  margin-right: 10px;
  width: auto;
}

/* フェードインのアニメーション定義 */
@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 15px !important;
  border: none !important;
  border-radius: 12px;
  background-color: #f6fbff;
  color: var(--main-color);
  text-align: center;
  font-weight: bold;
  display: block;
  -webkit-animation: fadeInUp 0.8s ease-out forwards;
          animation: fadeInUp 0.8s ease-out forwards;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unspam .wpcf7-response-output {
  background-color: #fff0f0;
  color: #d63031;
}

@media (max-width: 620px) {
  .form-group {
    flex-direction: column;
  }
  .form-label {
    width: 100%;
    margin-bottom: 8px;
  }
  .form-input {
    width: 100%;
  }
}
#industry {
  min-height: 100vh;
  background: linear-gradient(to bottom, #69C7CD, #C8EDFF);
  /* --- めくれのデザイン（裏側） --- */
}
#industry .grid-layout {
  gap: 40px 40px;
}
#industry .btn-sticky {
  display: flex;
  align-items: center;
  height: clamp(100px, 100px + 1 * (100vw - 480px) / 288, 120px);
  position: relative;
  background: #f7f7f7;
  color: #333;
  border-left: solid 8px var(--darkblue-color);
  -webkit-clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
          clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  text-decoration: none;
  font-weight: bold;
  font-size: var(--font-size-medium);
  letter-spacing: 2px;
  font-family: "Zen Maru Gothic", sans-serif;
  transition: transform 0.3s ease;
  cursor: pointer;
}
#industry .btn-sticky a {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  align-items: center;
}
#industry .btn-sticky:hover {
  transform: translateY(5px);
}
#industry .btn-sticky:after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 16px 16px 0;
  border-color: transparent transparent var(--darkblue-color) transparent;
  box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15);
  transform: translate(0, 0);
}
#industry .yellow {
  border-left: solid 8px var(--yellow-color);
}
#industry .yellow::after {
  border-color: transparent transparent var(--yellow-color) transparent;
}
#industry .blue {
  border-left: solid 8px var(--main-color);
}
#industry .blue::after {
  border-color: transparent transparent var(--main-color) transparent;
}
@media screen and (max-width: 768px) {
  #industry .col-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 480px) {
  #industry .col-3 {
    grid-template-columns: repeat(1, 1fr);
  }
}

h6 {
  text-align: center;
  position: relative;
  display: inline-block;
  padding-inline: 55px;
  margin-bottom: 40px;
  color: var(--background-color);
  font-size: var(--font-size-large);
  font-weight: normal;
}

h6:before,
h6:after {
  content: "";
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 1px;
  background-color: var(--background-color);
}

h6:before {
  left: 0;
}

h6:after {
  right: 0;
}

#privacy {
  padding-inline: var(--font-size-medium);
}
#privacy h4 {
  color: var(--main-color);
}
#privacy h4::before {
  background-color: var(--main-color);
}
#privacy p {
  padding-bottom: clamp(20px, 20px + 20 * (100vw - 480px) / 288, 32px);
}
#privacy a {
  border-bottom: 0.8px solid var(--main-color);
  color: var(--main-color);
  padding-bottom: 5px;
}

#partner {
  padding-inline: var(--font-size-medium);
}
#partner .partner {
  padding-bottom: clamp(20px, 20px + 15 * (100vw - 480px) / 288, 50px);
}
#partner h5 {
  color: var(--main-color);
}
#partner h4 {
  color: var(--main-color);
  padding-top: 30px;
  padding-right: var(--font-size-normal);
  font-family: "Noto Sans", sans-serif;
}
#partner h4::before {
  background-color: var(--main-color);
}
#partner p {
  padding-bottom: 10px;
  padding-left: 25px;
}
#partner a {
  border-bottom: 0.8px solid var(--main-color);
  color: var(--main-color);
  padding-bottom: 5px;
  margin-left: 25px;
}

.archive {
  margin: 0 auto;
  max-width: clamp(450px, 450px + 300 * (100vw - 480px) / 288, 1000px);
  padding-inline: var(--font-size-normal);
}
.archive h1,
.archive h4 {
  padding-bottom: var(--font-size-medium);
}
.archive img {
  padding-top: 10px;
  padding-bottom: 40px;
  aspect-ratio: auto;
  max-width: 100% !important;
  /* 親要素からはみ出さない */
  height: auto !important;
  /* 縦横比を維持して高さを自動調整 */
  width: auto;
}
.archive h4 {
  padding-top: 50px;
}
.archive a,
.archive h4 {
  color: var(--main-color);
}
.archive h4::before {
  background-color: var(--main-color);
}
.archive ul {
  list-style: inside;
  list-style-type: disc;
}
.archive li {
  padding-bottom: var(--font-size-small);
}
.archive p {
  padding-bottom: 5px;
}
.archive time {
  display: inline-block;
  padding-bottom: var(--font-size-normal);
}
.archive h2,
.archive h3,
.archive h5 {
  padding-top: 40px;
  padding-bottom: var(--font-size-small);
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin-bottom: 50px;
}

.cat-btn {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid #ccc;
  border-radius: 20px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: 0.3s;
}

.cat-btn:hover,
.cat-btn.is-active {
  background-color: var(--main-color);
  color: #fff;
  border: 1px solid var(--main-color);
}

.no-posts {
  opacity: 0.8;
}
/*# sourceMappingURL=main.css.map */