@charset "UTF-8";
body {
  margin: 0;
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  background-color: #333;
}

section {
  margin: 0;
  padding: 0;
}

.nobr {
  display: none;
}

/* *************************************** header */
header {
  background-color: rgba(255, 255, 255, 0.9);
  width: 100%;
  height: 80px;
  padding: 0;
  display: block;
  position: fixed;
  z-index: 9999;
  top: 0;
  border-top: #004288 5px solid;
}
header .head {
  border-top: #eb545b 5px solid;
  padding: 0 1em;
  display: flex;
  justify-content: space-between;
}
header h1 {
  line-height: 1;
  margin: 0;
  padding: 6px 0;
}
header h1 img {
  width: 5.5em;
}

main {
  display: block;
  z-index: 1;
}

/* *************************************** hero */
video {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 16/9;
  z-index: 1;
}
.video-container .pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/pattern-b.png) repeat;
  opacity: 0.5;
  z-index: 2;
}

/* *************************************** hero */
/* *************************************** top-about & top-about2 */
.top-about {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 60vh;
  padding-top: 8vh;
  background: #fff;
  color: #004288;
}
.top-about .container {
  width: 90%;
  height: 60vh;
  margin: auto auto;
  margin-top: 2vh;
  background: url(../images/bg-wecreate.webp) no-repeat center center;
  background-size: contain;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}
.top-about .container h2 img {
  width: 95%;
  text-align: center;
  margin: 1em auto;
}
.top-about .container h3,
.top-about .container p {
  text-align: center;
}
.top-about .container h3 {
  font-size: clamp(32px, 3.5vw, 42px);
  letter-spacing: 2px;
}
.top-about .container p {
  font-size: clamp(18px, 1.5vw, 21px);
  letter-spacing: 1px;
}

.top-about2 {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #fff url(../images/bg-about-sophia.webp) no-repeat center middle;
  background-size: contain;
}
.top-about2 .container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff url(../images/bg-about2.webp) no-repeat center bottom;
  background-size: contain;
}
.top-about2 .container .words {
  background-color: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 1em 1.5em;
  letter-spacing: 1px;
  display: block;
  z-index: 10;
}
.top-about2 .container .words div {
  width: 29em;
}
.top-about2 .container .words h2.about2-h2 {
  font-size: 3vw;
  font-weight: 300;
  margin: 0;
  padding: 0;
  letter-spacing: 2px;
  margin: 0;
  padding: 0;
}
.top-about2 .container .words h3.about2-h3 {
  font-weight: 300;
  font-size: 1.35vw;
  letter-spacing: 1.5px;
  margin: 0 0 1em 0;
  padding: 0;
}
.top-about2 .container .words p {
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: 200;
  line-height: 1.75;
}
.top-about2 .container .words .p-button {
  text-align: center;
  font-size: 18px;
  margin: 1em 0;
  line-height: 2;
}
.top-about2 .container .words a.button {
  margin: 1em 0;
  padding: 0.5em 1em;
  border: #fff 1px solid;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 1px;
}

@keyframes scaleChange {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(0.8);
  }
  100% {
    transform: scale(1);
  }
}
.sophia-img1,
.sophia-img2,
.sophia-img3 {
  position: absolute;
  opacity: 0.8;
  bottom: 0;
  width: 100%;
  height: auto;
  z-index: 5;
  mix-blend-mode: multiply;
}

.sophia-img2 {
  opacity: 0.8;
  z-index: 4;
  animation: sophia-img2 8s infinite;
  mix-blend-mode: multiply;
}

.sophia-img3 {
  opacity: 0.5;
  z-index: 3;
  animation: sophia-img1 6s infinite;
  mix-blend-mode: multiply;
}

@keyframes sophia-img1 {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    opacity: 0.5;
  }
}
@keyframes sophia-img2 {
  0% {
    opacity: 0.9;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 0.9;
  }
}
@keyframes colorChange {
  0% {
    background-position: 0% 50%;
    padding: 1em;
    margin-bottom: 0;
    transform: rotate(15deg);
  }
  50% {
    background-position: 100% 50%;
    padding: 1.35em;
    margin-bottom: 10px;
    transform: rotate(13deg);
  }
  100% {
    background-position: 0% 50%;
    padding: 1em;
    margin-bottom: 0;
    transform: rotate(15deg);
  }
}
/* *************************************** top-about & top-about2 */
/* *************************************** top-page-swiper */
.top-carousel {
  width: 100%;
  height: 100vh;
  background: #e9e2d6 url(../images/bg-slider.webp) no-repeat center center;
  background-size: contain;
}
.top-carousel .container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper {
  width: 100%;
  height: 75vh;
  /* カルーセルの高さを指定 */
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  background: #ddd;
}

/* *************************************** top-page-swiper */
/* *************************************** top-system-dep */
section.top-system-dep {
  background: #e9e2d6;
  color: #004288;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
}
section.top-system-dep .container {
  width: 90%;
  margin: auto;
}
section.top-system-dep .container h2 {
  font-size: 3vw;
  margin: 0;
  padding: 0;
}
section.top-system-dep .container h3 {
  margin: 0;
  padding: 0;
}
section.top-system-dep .container .clm3 img {
  height: 300px;
}

.clm3 {
  display: flex;
  justify-content: space-around;
  align-items: top;
}
.clm3 div {
  max-width: 300px;
}

/* *************************************** top-system-dep */
/* *************************************** top-IoT */
section.top-iot {
  background: url(../images/bg-iot.webp) no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
section.top-iot .container {
  width: 90%;
  margin: auto;
  color: #fff;
}
section.top-iot .container h2 {
  text-align: left;
  font-size: 3vw;
  margin: 0;
  padding: 0;
}
section.top-iot .container h2 small {
  margin-left: 0.5em;
  font-size: 0.7em;
}
section.top-iot .container h3 {
  margin: 0;
  padding: 0;
}
section.top-iot .container .clm3 img {
  height: 300px;
}

/* *************************************** top-ai */
section.top-ai {
  background: #010101;
  background-size: cover;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
section.top-ai .container {
  width: 90%;
  margin: auto;
  color: #00a29a;
}
section.top-ai .container h2 {
  text-align: left;
  font-size: 3vw;
  margin: 0;
  padding: 0;
}
section.top-ai .container h2 small {
  margin-left: 0.5em;
  font-size: 0.7em;
}
section.top-ai .container h3 {
  margin: 0;
  padding: 0;
}
section.top-ai .container .clm2 {
  display: flex;
  justify-content: center;
  align-items: center;
}
section.top-ai .container .clm2 img {
  width: 100%;
}
section.top-ai .container .clm2 div {
  width: 50%;
  line-height: 2;
  letter-spacing: 2px;
  font-size: 1.2em;
  color: #00a29a;
}

/* *************************************** top-AI */
/* *************************************** top-space-venture */
section.top-space-venture {
  background: url(https://www.sophia-sys.co.jp/sophia/wp-content/uploads/2025/04/space-venture.jpg) no-repeat center center;
  background-size: cover;
  color: #fff;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
section.top-space-venture .container {
  width: 90%;
  margin: auto;
}
section.top-space-venture .container h2 {
  text-align: left;
  font-size: 3vw;
  margin: 0;
  padding: 0;
}
section.top-space-venture .container h2 small {
  margin-left: 0.5em;
  font-size: 0.7em;
}
section.top-space-venture .container h3 {
  margin: 0;
  padding: 0;
}
section.top-space-venture .container div {
  margin: 2em auto;
  background: rgba(255, 255, 255, 0.75);
  padding: 1.5em;
  line-height: 2;
  letter-spacing: 2px;
  color: #2c183c;
  max-width: 60%;
}
section.top-space-venture .container .clm2 {
  display: flex;
  justify-content: center;
  align-items: center;
}
section.top-space-venture .container .clm2 img {
  width: 100%;
}
section.top-space-venture .container .clm2 div {
  width: 50%;
  line-height: 2;
  letter-spacing: 2px;
  font-size: 1.2em;
  color: #00a29a;
}

/* *************************************** top-space-venture */
/* *************************************** header recruit */
section.top-recruit {
  background: #004288;
  color: #fff;
  width: 100%;
  align-items: center;
  margin: 0;
  padding: 0;
}
section.top-recruit h2 {
  margin: 0;
  padding: 0;
}
section.top-recruit img {
  margin: 0;
  padding: 0;
  cursor: pointer;
  width: 100%;
}
section.top-recruit a:hover {
  opacity: 0.75;
}

/* *************************************** header recruit */
/* *************************************** header access */
.foot-access {
  width: 100%;
  height: 100vh;
  background: url(../images/bg-company.webp) no-repeat center center;
  background-size: cover;
  color: #000;
}
.foot-access .container {
  width: 90%;
  height: 100vh;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.foot-access .container div {
  width: 50%;
  min-width: 350px;
  background-color: rgba(255, 255, 255, 0.75);
  color: #000;
  padding: 2em;
  text-align: center;
}
.foot-access .container div h2 {
  font-size: clamp(32px, 3.5vw, 42px);
  margin: 0;
  padding: 0;
}

/* *************************************** footer */
footer {
  background: url(../images/bg-footer.webp) no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
footer .container {
  width: 90%;
  height: 80vh;
  text-align: center;
  position: relative;
}
footer .container h2,
footer .container h3,
footer .container p {
  margin: 0;
  padding: 0;
  color: #fff;
}
footer .container h2 img,
footer .container h3 img {
  margin: 1em 0 0.5em 0;
  width: 150px;
}
footer .container .privacy {
  width: 80px;
}
footer .container ul {
  list-style-type: none;
  padding: 0;
  margin: 1em 0;
}
footer .container ul li {
  line-height: 2;
}
footer .copyright {
  color: #fff;
  bottom: 2em;
  font-size: 0.85em;
  letter-spacing: 3px;
  margin: 1em;
}

/* *************************************** footer */
/* *************************************** sp and tablet settings */
/* *************************************** sp and tablet settings */
/* *************************************** sp and tablet settings */
/* *************************************** sp and tablet settings */
/* *************************************** sp and tablet settings */
/* *************************************** sp and tablet settings */
/* *************************************** sp and tablet settings */
/* *************************************** sp and tablet settings */
/* *************************************** sp and tablet settings */
/* *************************************** sp and tablet settings */
/* *************************************** sp and tablet settings */
/* *************************************** sp and tablet settings */
/* *************************************** sp and tablet settings */
/* *************************************** sp and tablet settings */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  .nobr {
    display: block;
  }
  /* *************************************** hero */
  iframe {
    height: 100%;
    width: auto;
    aspect-ratio: 7/6;
    display: block;
    overflow: hidden;
  }
  .video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 7/6;
    overflow: hidden;
  }
  .video-container iframe {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    aspect-ratio: 7/6;
    z-index: 1;
  }
  .video-container .pattern {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/pattern-b.png) repeat;
    opacity: 0;
    z-index: 2;
  }
  /* *************************************** hero */
  /* *************************************** top-about & top-about2 */
  .top-about {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 60vh;
    padding-top: 8vh;
    background: #fff;
    color: #004288;
  }
  .top-about .container {
    width: 90%;
    height: 60vh;
    margin: auto auto;
    margin-top: 2vh;
    background: url(../images/bg-wecreate.webp) no-repeat center center;
    background-size: contain;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .top-about .container h2 img {
    width: 95%;
    text-align: center;
    margin: 1em auto;
  }
  .top-about .container h3,
  .top-about .container p {
    text-align: center;
  }
  .top-about .container h3 {
    font-size: clamp(32px, 3.5vw, 42px);
    letter-spacing: 2px;
  }
  .top-about .container p {
    font-size: clamp(18px, 1.5vw, 21px);
    letter-spacing: 1px;
  }
  .top-about2 {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100vh;
    background: #fff url(../images/bg-about2.webp) no-repeat center bottom;
    background-size: contain;
  }
  .top-about2 .container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .top-about2 .container .words {
    background: linear-gradient(-20deg, rgba(1, 41, 90, 0.85), rgba(177, 0, 27, 0.85), rgba(0, 152, 160, 0.9), rgba(0, 152, 160, 0.9));
    background-size: 200% 200%;
    color: #fff;
    padding: 1em 1.5em;
    letter-spacing: 1px;
    animation: colorChange 6s infinite;
    display: block;
    z-index: 10;
  }
  .top-about2 .container .words div {
    width: 29em;
  }
  .top-about2 .container .words h2.about2-h2 {
    font-size: clamp(32px, 3.5vw, 42px);
    font-weight: 300;
    margin: 0;
    padding: 0;
    letter-spacing: 2px;
    margin: 0;
    padding: 0;
  }
  .top-about2 .container .words h3.about2-h3 {
    font-weight: 300;
    font-size: 18px;
    letter-spacing: 1.5px;
    margin: 0 0 1em 0;
    padding: 0;
  }
  .top-about2 .container .words p {
    font-size: 16.5px;
    letter-spacing: 1px;
    font-weight: 200;
    line-height: 1.75;
  }
  .top-about2 .container .words .p-button {
    text-align: center;
    font-size: 18px;
    margin: 1em 0;
    line-height: 2;
  }
  .top-about2 .container .words a.button {
    margin: 1em 0;
    padding: 0.5em 1em;
    border: #fff 1px solid;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 1px;
  }
  .top-about2 .container .words:hover {
    animation: scaleChange 6s infinite;
  }
  @keyframes scaleChange {
    0% {
      transform: scale(0.9);
    }
    30% {
      transform: scale(1);
    }
    100% {
      transform: scale(0.9);
    }
  }
  .sophia-img1,
  .sophia-img2,
  .sophia-img3 {
    position: absolute;
    opacity: 0.5;
    bottom: 0;
    height: 75vh;
    z-index: 5;
    mix-blend-mode: multiply;
  }
  .sophia-img2 {
    left: 20px;
    opacity: 0.8;
    z-index: 4;
    animation: sophia-img2 8s infinite;
  }
  .sophia-img3 {
    opacity: 0.5;
    z-index: 3;
    animation: sophia-img1 6s infinite;
  }
  @keyframes sophia-img1 {
    0% {
      left: 40px;
    }
    50% {
      left: -40px;
    }
    100% {
      left: 40px;
    }
  }
  @keyframes sophia-img2 {
    0% {
      left: 20px;
    }
    50% {
      left: -20px;
    }
    100% {
      left: 20px;
    }
  }
  @keyframes colorChange {
    0% {
      background-position: 0% 50%;
      padding: 1em;
      margin-bottom: 0;
      transform: rotate(15deg);
    }
    50% {
      background-position: 100% 50%;
      padding: 1.35em;
      margin-bottom: 10px;
      transform: rotate(13deg);
    }
    100% {
      background-position: 0% 50%;
      padding: 1em;
      margin-bottom: 0;
      transform: rotate(15deg);
    }
  }
  /* *************************************** top-about & top-about2 */
  /* *************************************** top-page-swiper */
  .top-carousel {
    width: 100%;
    height: 45vh;
    background: #e9e2d6 url(../images/bg-slider.webp) no-repeat center center;
    background-size: cover;
  }
  .top-carousel .container {
    width: 100%;
    height: 45vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .swiper {
    width: 100%;
    height: auto;
    /* カルーセルの高さを指定 */
    aspect-ratio: 16/9;
  }
  .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    background: #ddd;
  }
  .swiper-slide img {
    width: 100%;
    height: auto;
  }
  /* *************************************** top-page-swiper */
  /* *************************************** top-system-dep */
  section.top-system-dep {
    background: #e9e2d6;
    color: #004288;
    width: 100%;
    height: auto;
    display: flex;
    padding: 3em 0;
    align-items: center;
  }
  section.top-system-dep .container {
    width: 90%;
    margin: auto;
  }
  section.top-system-dep .container h2 {
    font-size: clamp(32px, 3.5vw, 42px);
    margin: 0;
    padding: 0;
  }
  section.top-system-dep .container h3 {
    font-size: 18px;
    margin: 0;
    padding: 0;
  }
  section.top-system-dep .container .clm3 img {
    height: 300px;
  }
  .clm3 {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: top;
    overflow: hidden;
  }
  .clm3 div {
    max-width: 300px;
    margin: 0 auto;
  }
  /* *************************************** top-system-dep */
  /* *************************************** top-IoT */
  section.top-iot {
    background: url(../images/bg-iot.webp) no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  section.top-iot .container {
    width: 90%;
    margin: auto;
    color: #fff;
  }
  section.top-iot .container h2 {
    text-align: left;
    font-size: clamp(32px, 3.5vw, 42px);
    margin: 0;
    padding: 0;
  }
  section.top-iot .container h3 {
    margin: 0;
    padding: 0;
  }
  section.top-iot .container .clm3 img {
    height: 300px;
  }
  /* *************************************** top-IoT */
  section.top-ai {
    background: #010101;
    background-size: cover;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  section.top-ai .container {
    width: 90%;
    margin: auto;
    color: #fff;
  }
  section.top-ai .container h2 {
    text-align: left;
    font-size: clamp(32px, 3.5vw, 42px);
    margin: 0;
    padding: 0;
  }
  section.top-ai .container h3 {
    margin: 0;
    padding: 0;
  }
  section.top-ai .container .clm2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
  }
  section.top-ai .container .clm2 img {
    width: 38%;
  }
  /* *************************************** top-ai */
  section.top-ai {
    background: #010101;
    background-size: cover;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  section.top-ai .container {
    width: 90%;
    margin: auto;
    color: #00a29a;
  }
  section.top-ai .container h2 {
    text-align: left;
    font-size: clamp(32px, 3.5vw, 42px);
    margin: 0;
    padding: 0;
  }
  section.top-ai .container h2 small {
    margin-left: 0.5em;
    font-size: 0.7em;
  }
  section.top-ai .container h3 {
    margin: 0;
    padding: 0;
  }
  section.top-ai .container .clm2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  section.top-ai .container .clm2 img {
    width: 100%;
  }
  section.top-ai .container .clm2 div {
    width: 100%;
    line-height: 2;
    letter-spacing: 0;
    font-size: clamp(14px, 1em, 18px);
    color: #00a29a;
  }
  /* *************************************** top-AI */
  /* *************************************** top-space-venture */
  section.top-space-venture {
    background: url(../images/bg-space.webp) no-repeat center center;
    background-size: cover;
    color: #fff;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  section.top-space-venture .container {
    width: 90%;
    margin: auto;
  }
  section.top-space-venture .container h2 {
    text-align: left;
    font-size: clamp(32px, 3.5vw, 42px);
    margin: 0;
    padding: 0;
  }
  section.top-space-venture .container h2 small {
    margin-left: 0.5em;
    font-size: 0.7em;
  }
  section.top-space-venture .container h3 {
    margin: 0;
    padding: 0;
  }
  section.top-space-venture .container div {
    margin: 2em auto;
    background: rgba(255, 255, 255, 0.75);
    padding: 1.5em;
    line-height: 2;
    letter-spacing: 2px;
    color: #2c183c;
    max-width: 100%;
  }
  section.top-space-venture .container .clm2 {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  section.top-space-venture .container .clm2 img {
    width: 100%;
  }
  section.top-space-venture .container .clm2 div {
    width: 50%;
    line-height: 2;
    letter-spacing: 2px;
    font-size: 1.2em;
    color: #00a29a;
  }
  /* *************************************** top-space-venture */
  /* *************************************** header recruit */
  /* *************************************** header recruit */
  /* *************************************** header access */
  .foot-access {
    width: 100%;
    height: 100vh;
    background: url(../images/bg-company.webp) no-repeat center center;
    background-size: cover;
    color: #000;
  }
  .foot-access .container {
    width: 90%;
    height: 100vh;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .foot-access .container div {
    width: 50%;
    min-width: 360px;
    background-color: rgba(255, 255, 255, 0.75);
    color: #000;
    padding: 2em;
    text-align: center;
  }
  .foot-access .container div h2 {
    font-size: clamp(32px, 3.5vw, 42px);
    margin: 0;
    padding: 0;
  }
  .foot-access .container div iframe {
    width: 100%;
    height: 40vh;
  }
  /* *************************************** footer */
  footer {
    background: url(../images/bg-footer.webp) no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  footer .container {
    width: 90%;
    text-align: center;
  }
  footer .container h2,
  footer .container h3,
  footer .container p {
    margin: 0;
    padding: 0;
    color: #fff;
  }
  footer .container h2 img,
  footer .container h3 img {
    margin: 1em 0 0.5em 0;
    width: 150px;
  }
  footer .container .privacy {
    width: 80px;
  }
  footer .container .copyright {
    bottom: 1em;
    font-size: 0.85em;
    letter-spacing: 3px;
    margin: 1em;
  }
  /* *************************************** footer */
}
/* *************************************** header navigation */
/* *************************************** header navigation */
/* *************************************** header navigation */
/* *************************************** header navigation */
/* *************************************** header navigation */
/* *************************************** header navigation */
nav.navbar {
  transition: all 0.5s ease;
}

.navbar {
  color: #004288;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.menu-item {
  position: relative;
}

.menu-item a {
  color: #004288;
  text-decoration: none;
  padding: 8px;
  display: block;
}

.menu-item a:hover {
  background-color: #444;
  color: #fff;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #eb545b;
  display: none;
  padding: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  width: 300px;
  z-index: 1000;
}

.menu-column {
  margin: 0 15px;
}

.menu-column h3 {
  margin: 0 0 10px;
  color: #fff;
}

.menu-column ul {
  list-style: none;
  padding: 0;
}

.menu-column ul li a {
  color: #ddd;
  text-decoration: none;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

.dropdown-menu {
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.menu-toggle span {
  background-color: #004288;
  height: 5px;
  margin: 5px 0;
  border-radius: 2.5px;
  width: 40px;
  transition: all 0.5s ease;
}

.menu-toggle.show span:nth-child(1) {
  background-color: white;
  transform: rotate(45deg) translate(15px, 10px);
}

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

.menu-toggle.show span:nth-child(3) {
  background-color: white;
  transform: rotate(-45deg) translate(11px, -6px);
}

/* *************************************** header navi 980px↓↓↓ */
/* *************************************** header navi 980px↓↓↓ */
/* *************************************** header navi 980px↓↓↓ */
/* *************************************** header navi 980px↓↓↓ */
/* *************************************** header navi 980px↓↓↓ */
@media (max-width: 980px) {
  nav.navbar {
    padding: 0;
    margin: 0;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
  }
  nav ul {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    overflow: 0;
  }
  nav ul li {
    width: 50%;
    padding: 0;
    margin: 0;
  }
  .menu {
    display: none;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    opacity: 0;
    transition: all 1s ease;
  }
  .menu-column {
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0 15px;
    width: 100%;
  }
  .menu-column h3 {
    text-align: left;
    width: 100%;
    line-height: 1;
    margin: 0;
    padding: 0;
    font-size: 18px;
  }
  .menu-column ul {
    width: 100%;
    line-height: 1;
    margin-bottom: 12px;
  }
  .menu-column ul li {
    width: 50%;
    line-height: 1;
    margin: 0;
    padding: 0;
    text-align: left;
    font-size: 16px;
  }
  .menu.show {
    display: flex;
    width: 100%;
    background-color: #eb545b;
    overflow-y: auto;
    opacity: 1;
  }
  .menu-item {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 0;
    margin: 0;
  }
  .menu-item a {
    color: #004288;
    text-decoration: none;
    padding: 6px 0px 8px 8px;
    display: block;
  }
  .menu-toggle {
    display: flex;
  }
  .dropdown-menu {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    background-color: #eb545b;
    padding: 6px 0 8px 15px;
    box-shadow: none;
    width: 100%;
    top: auto;
    z-index: 9000;
  }
}
/* *************************************** page content */
.page-hero {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 40em;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 64px);
  letter-spacing: 0.25em;
  padding: 0 0 0 5vw;
  margin: 0;
  text-shadow: 0 0 10px #333, 0 0 10px #333, 0 0 10px #333, 0 0 10px #333, 0 0 10px #333;
}
.page-hero p {
  color: #fff;
  font-size: clamp(15px, 2vw, 21px);
  letter-spacing: 0.25em;
  padding: 0 0 0 5vw;
  text-shadow: 0 0 10px #333, 0 0 10px #333, 0 0 10px #333, 0 0 10px #333, 0 0 10px #333;
}

.page-content {
  background-color: #fff;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow: hidden;
  /**** カード形式のレイアウト  */
  /* ダークモード */
  /* ベース */
  /* 軽いホバー効果（デスクトップ向け） */
  /* 左のアクセントバー（可変） */
  /* 引用本文 */
  /* 引用符アイコン（飾り） */
  /* フッター（出典） */
  /* cite の強調 */
  /* モバイル調整 */
  /* アクセシビリティ：フォーカス時に視認性を高める（キーボードで選べる場合）*/
  /* バリエーション：アウトラインのみのシンプル版 */
  /* 小さめ（サイドバー用） */
  /* クイックアクセント切り替え（色を変えたいとき） */
}
.page-content .container {
  width: 90%;
  margin: auto;
  padding: 10vh 0;
}
.page-content img {
  max-width: 100%;
}
.page-content table,
.page-content p,
.page-content ul,
.page-content blockquote {
  letter-spacing: 2px;
  line-height: 1.8;
}
.page-content :root {
  --q-bg: #d6e1f0;
  --q-foreground: #0b1220;
  --q-accent: #0ea5a4;
  --q-muted: #6b7280;
  --q-radius: 14px;
  --q-shadow: 0 10px 30px rgba(11, 18, 32, 0.06);
  --q-border: rgba(11, 18, 32, 0.06);
  --q-padding: 20px;
  --q-font: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  --q-transition: 220ms cubic-bezier(0.2, 0.9, 0.3, 1);
}
@media (prefers-color-scheme: dark) {
  .page-content :root {
    --q-bg: linear-gradient(180deg, #07101a, #0b1220);
    --q-foreground: #e6eef6;
    --q-accent: #2da2d4;
    --q-muted: #9aa6b2;
    --q-shadow: 0 14px 40px rgba(2, 6, 23, 0.7);
    --q-border: rgba(255, 255, 255, 0.04);
  }
}
.page-content .card-quote {
  display: block;
  background: var(--q-bg);
  color: var(--q-foreground);
  font-family: var(--q-font);
  border-radius: var(--q-radius);
  padding: var(--q-padding);
  box-shadow: var(--q-shadow);
  border: 1px solid var(--q-border);
  max-width: 900px;
  margin: 3em auto;
  position: relative;
  transition: transform var(--q-transition), box-shadow var(--q-transition);
  line-height: 1.6;
  overflow: hidden;
}
.page-content .card-quote h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.page-content .card-quote strong {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 8px;
}
@media (hover: hover) and (pointer: fine) {
  .page-content .card-quote:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 60px rgba(11, 18, 32, 0.08);
  }
}
.page-content .card-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--q-accent), color-mix(in srgb, var(--q-accent) 70%, #000 30%));
  border-top-left-radius: var(--q-radius);
  border-bottom-left-radius: var(--q-radius);
  transform-origin: left center;
  transition: transform var(--q-transition);
}
.page-content .card-quote p {
  margin: 0 0 12px 12px; /* 左に少し余白を作る */
  font-size: 1.05rem;
  letter-spacing: 0.1px;
  font-weight: 500;
  margin-left: 14px;
}
.page-content .card-quote svg,
.page-content .card-quote .q-mark {
  position: absolute;
  right: 12px;
  top: 10px;
  opacity: 0.08;
  width: 72px;
  height: 72px;
  pointer-events: none;
  transform: translateZ(0);
}
.page-content .card-quote footer {
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: flex-start;
  margin-top: 10px;
  margin-left: 14px;
  font-size: 0.92rem;
  color: var(--q-muted);
}
.page-content .card-quote cite {
  display: inline-block;
  margin-left: 8px;
  font-style: normal;
  color: var(--q-muted);
  background: rgba(0, 0, 0, 0.03);
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.82rem;
  border: 1px solid rgba(11, 18, 32, 0.03);
}
@media (max-width: 720px) {
  .page-content .card-quote {
    padding: 16px;
    border-radius: 12px;
  }
  .page-content .card-quote::before {
    width: 5px;
  }
  .page-content .card-quote svg,
  .page-content .card-quote .q-mark {
    width: 52px;
    height: 52px;
    right: 10px;
    top: 8px;
  }
  .page-content .card-quote p {
    font-size: 1rem;
  }
}
.page-content .card-quote:focus-within {
  outline: 3px solid rgba(14, 165, 164, 0.12);
  outline-offset: 6px;
}
.page-content .card-quote.card-quote--outline {
  background: transparent;
  box-shadow: none;
  border: 1px solid var(--q-border);
}
.page-content .card-quote.card-quote--outline::before {
  transform: scaleY(0.9);
  opacity: 0.95;
}
.page-content .card-quote.card-quote--small {
  padding: 12px;
  --q-radius: 10px;
  font-size: 0.95rem;
}
.page-content .card-quote.is-blue {
  --q-accent: #3b82f6;
}
.page-content .card-quote.is-purple {
  --q-accent: #8b5cf6;
}
.page-content .card-quote.is-warn {
  --q-accent: #f59e0b;
}

:root {
  --gap: 24px;
  --card-radius: 12px;
  --card-bg: #ffffff;
  --card-shadow: 0 10px 30px rgba(11, 18, 32, 0.06);
  --accent: #2196f3;
  --text: #222;
  --muted: #6b7280;
}

/* グリッドコンテナ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* デフォルト：3カラム */
  gap: var(--gap);
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  padding: calc(var(--gap) * 1.2);
  box-sizing: border-box;
}

/* ブレイクポイント：1024px未満で2カラム（調整可） */
@media (max-width: 1023.98px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
  }
}
/* スマホ：720px未満で1カラム */
@media (max-width: 719.98px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }
}
/* カード本体 */
.card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(11, 18, 32, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  height: 100%; /* 等高にするために重要 */
}

/* ホバー効果（デスクトップのみ） */
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(11, 18, 32, 0.1);
  }
}
/* 画像（比率固定で切り抜き） */
.card__img {
  width: 100%;
  height: 250px;
  padding-top: 0; /* 16:9 */
  object-fit: cover; /* 画像の切り抜き */
  display: block;
}

/* 画像を背景的に扱うためにポジションを絶対化する方法（別実装）を避けるための簡易 */
.card__img {
  position: relative;
  background-size: cover;
  background-position: middle center;
}

/* ボディ */
.card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  flex: 1 1 auto; /* 高さを伸ばす */
}

p {
  margin: 0;
  padding: 0;
}

/* タイトル / テキスト */
.card__title {
  margin: 0;
  font-size: 1.3rem;
  color: var(--text);
}
.card__title a {
  color: #004288;
  text-decoration: none;
}

.card__text {
  margin: 0;
  padding: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
  flex: 1 1 auto; /* 説明が伸びてボタンを下に押し下げる */
}
.card__text a {
  color: #ff0073;
  text-decoration: none;
}

/* CTAボタン（右寄せでもOK） */
.card__cta {
  display: inline-block;
  align-self: flex-start; /* 左寄せ（右寄せにしたければ flex-end） */
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #000 30%));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(33, 150, 243, 0.12);
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.card__cta:hover {
  transform: translateY(-3px);
}

/* アクセシビリティ：キーボードでのフォーカス可視化 */
.card__cta:focus {
  outline: 3px solid rgba(33, 150, 243, 0.18);
  outline-offset: 4px;
}

/* カード内のテキスト溢れ対策 */
.card__title,
.card__text {
  word-break: break-word;
}

/* 任意：最小カード高さを揃えたい場合 */
.cards-grid.auto-row {
  grid-auto-rows: 1fr; /* 各行を等高にする補助 */
}

/* --- system dep.template[work] */
.grid2clm {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
}

.work-clm2 {
  border: #b1accf 3px solid;
  padding: 1em;
  margin-bottom: 2em;
  border-radius: 1em;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1em;
}
.work-clm2 img {
  width: 100%;
  height: auto;
}
.work-clm2 h2 {
  font-size: clamp(18px, 3.5vw, 24px);
  margin: 0;
  padding: 0;
  color: #010101;
}
.work-clm2 div {
  line-height: 2;
  letter-spacing: 2px;
  font-size: clamp(14px, 1em, 18px);
  color: #010101;
}
.work-clm2 .ex {
  width: 100%;
  height: auto;
  padding: 1em;
  background: #604c3f;
  color: #fff;
  border-radius: 1em;
  margin-top: 1em;
}
.work-clm2 .ex h3 {
  margin: 0;
  padding: 0;
  font-size: clamp(16px, 2.5vw, 20px);
  color: #fff;
}
.work-clm2 .ex h3 span {
  background: #c6aec1;
  padding: 0.3em 0.5em;
  border-radius: 50%;
  font-size: clamp(12px, 1.5vw, 16px);
  color: #604c3f;
  font-weight: 900;
}

@media (max-width: 720px) {
  .grid2clm {
    grid-template-columns: 1fr;
  }
  .work-clm2 {
    border: #b1accf 3px solid;
    padding: 1em;
    margin-bottom: 2em;
    border-radius: 1em;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1em;
  }
  .work-clm2 img {
    width: 100%;
    height: auto;
  }
  .work-clm2 h2 {
    font-size: clamp(18px, 3.5vw, 24px);
    margin: 0;
    padding: 0;
    color: #010101;
  }
  .work-clm2 div {
    line-height: 2;
    letter-spacing: 2px;
    font-size: clamp(14px, 1em, 18px);
    color: #010101;
  }
}
.tips-clm2 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1em;
  margin-bottom: 2em;
  background: #c9bc9c;
  padding: 1em;
  border-radius: 1em;
}
.tips-clm2 h2 {
  font-size: clamp(18px, 3.5vw, 24px);
  margin: 0;
  padding: 0;
  color: #010101;
}
.tips-clm2 div {
  line-height: 2;
  letter-spacing: 2px;
  font-size: clamp(14px, 1em, 18px);
  color: #010101;
}
.tips-clm2 img {
  max-width: 350px;
  height: auto;
}

@media (max-width: 720px) {
  .tips-clm2 {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .tips-clm2 img {
    max-width: 100%;
    height: auto;
  }
}
.clm2-normal {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1em;
  margin-bottom: 2em;
  background: #dae000;
  padding: 1em;
}
.clm2-normal h2 {
  font-size: clamp(18px, 3.5vw, 24px);
  margin: 0;
  padding: 0;
  color: #0c5240;
}
.clm2-normal div {
  line-height: 2;
  letter-spacing: 2px;
  font-size: clamp(14px, 1em, 18px);
  color: #038c67;
}
.clm2-normal img {
  max-width: 350px;
  height: auto;
}

@media (max-width: 720px) {
  .clm2-normal {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .clm2-normal img {
    max-width: 100%;
    height: auto;
  }
}
/* --- system dep.template end */
/* *************************************** page content */
/* ---------- Contact Form 7 - Modern Stylish Base ---------- */
/* カラー変数（ここを変えれば全体が変わる） */
:root {
  --cf-bg: #666;
  --cf-foreground: #0b1220;
  --cf-accent: #0ea5a4; /* アクションカラー */
  --cf-accent-600: #08928f;
  --cf-muted: #333;
  --cf-error: #ef4444;
  --cf-success: #16a34a;
  --cf-radius: 10px;
  --cf-input-h: 48px;
  --cf-font: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  --cf-shadow: 0 6px 20px rgba(11, 18, 32, 0.06);
}

/* Dark mode 対応 */
@media (prefers-color-scheme: dark) {
  :root {
    --cf-bg: #0b1220;
    --cf-foreground: #333;
    --cf-accent: #2dd4bf;
    --cf-accent-600: #18a8a0;
    --cf-muted: #9aa6b2;
    --cf-shadow: 0 8px 30px rgba(2, 6, 23, 0.7);
  }
}
/* 全体コンテナ調整 */
.wpcf7 {
  font-family: var(--cf-font);
  color: var(--cf-foreground);
  background: transparent;
  max-width: 820px;
  margin: 2em auto;
  line-height: 1.45;
}

/* フォームカード */
.wpcf7 .wpcf7-form {
  background: var(--cf-bg);
  padding: 26px;
  border-radius: var(--cf-radius);
  box-shadow: var(--cf-shadow);
  border: 1px solid rgba(11, 18, 32, 0.04);
}

/* フィールドグリッド（2カラム -> スマホで1カラム） */
.wpcf7 .cf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

@media (max-width: 720px) {
  .wpcf7 .cf-grid {
    grid-template-columns: 1fr;
  }
}
/* ラベル（上）とフローティング風配置 */
.wpcf7 label {
  display: block;
  font-size: 0.94rem;
  color: var(--cf-muted);
  margin-bottom: 6px;
}

.wpcf7 h3 {
  color: var(--cf-accent);
}

.wpcf7 p {
  color: var(--cf-muted);
  padding-bottom: 0.8em;
}

/* 入力・textarea 共通 */
.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 input[type=tel],
.wpcf7 input[type=url],
.wpcf7 input[type=number],
.wpcf7 select,
.wpcf7 textarea,
.wpcf7 .wpcf7-form-control {
  width: 100%;
  height: auto;
  min-height: var(--cf-input-h);
  padding: 0 14px;
  margin-bottom: 0.8em;
  border-radius: 12px;
  border: 1px solid rgba(11, 18, 32, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.96));
  box-sizing: border-box;
  font-size: 1rem;
  color: var(--cf-foreground);
  transition: box-shadow 0.18s ease, border-color 0.14s ease, transform 0.12s ease;
  outline: none;
  -webkit-appearance: none;
}

.wpcf7 .wpcf7-radio {
  background: #0b1220;
}

/* textarea の高さ */
.wpcf7 textarea {
  min-height: 140px;
  padding-top: 12px;
  padding-bottom: 12px;
  resize: vertical;
}

/* focus（キーボードで見やすい） */
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: var(--cf-accent-600);
  box-shadow: 0 6px 20px rgba(14, 165, 164, 0.12);
  transform: translateY(-1px);
}

/* プレースホルダー控えめ */
.wpcf7 ::placeholder {
  color: rgba(11, 18, 32, 0.35);
}

/* サブミットボタン */
.wpcf7 .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, var(--cf-accent), var(--cf-accent-600));
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(14, 165, 164, 0.14);
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.wpcf7 .wpcf7-submit:hover {
  transform: translateY(-3px);
}

.wpcf7 .wpcf7-submit:active {
  transform: translateY(0);
}

.wpcf7 .wpcf7-submit[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* 小さい補助テキスト */
.wpcf7 .cf-help {
  display: block;
  font-size: 0.86rem;
  color: var(--cf-muted);
  margin-top: 6px;
}

/* レスポンス（エラー / 成功） */
.wpcf7 .wpcf7-response-output {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 600;
  display: none; /* CF7 が表示時に inline スタイルを上書きすることが多い */
}

.wpcf7 .wpcf7-mail-sent-ok {
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.14);
  color: var(--cf-success);
  display: block;
}

.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-not-valid-tip {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.12);
  color: var(--cf-error);
  display: block;
}

/* 個別フィールドのエラー装飾（CF7 が .wpcf7-not-valid を付ける想定） */
.wpcf7 .wpcf7-not-valid,
.wpcf7 .wpcf7-not-valid input,
.wpcf7 .wpcf7-not-valid textarea {
  border-color: var(--cf-error) !important;
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.08);
}

/* チェックボックスやラジオの見た目向上 */
.wpcf7 input[type=checkbox],
.wpcf7 input[type=radio] {
  width: auto;
  margin-right: 10px;
  accent-color: var(--cf-accent);
  transform: translateY(1px);
}

/* ファイルアップロードのカスタム風（簡易） */
.wpcf7 .wpcf7-file {
  display: flex;
  gap: 10px;
  align-items: center;
}

.wpcf7 .wpcf7-file input[type=file] {
  background: transparent;
  border: 1px dashed rgba(11, 18, 32, 0.08);
  padding: 10px;
  border-radius: 10px;
  min-height: auto;
}

/* 小さめのフォーム（例：ウィジェット用） */
.wpcf7.wpcf7-compact .wpcf7-form {
  padding: 14px;
}

.wpcf7.wpcf7-compact .cf-grid {
  gap: 10px;
}

/* アクセシビリティ：フォーカス可視化（高コントラスト用） */
.wpcf7 :focus {
  outline: 3px solid rgba(14, 165, 164, 0.14);
  outline-offset: 2px;
}

/* 微調整：ラベルとインプットが近すぎないように */
.wpcf7 .form-row {
  margin-bottom: 12px;
}

/* 端末幅が狭いときのボタン幅最適化 */
@media (max-width: 520px) {
  .wpcf7 .wpcf7-submit {
    width: 100%;
  }
}
/* チェックボックスとラジオボタンのスタイル */
.wpcf7 input[type=checkbox],
.wpcf7 input[type=radio] {
  width: 22px; /* ← 少し大きく */
  height: 22px;
  margin-right: 10px;
  accent-color: var(--cf-accent);
  transform: translateY(2px);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* フォーカス時のアクセント */
.wpcf7 input[type=checkbox]:focus,
.wpcf7 input[type=radio]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 165, 164, 0.25);
  transform: scale(1.05);
}

/* 選択時の軽いエフェクト */
.wpcf7 input[type=checkbox]:checked,
.wpcf7 input[type=radio]:checked {
  transform: scale(1.1);
}

/*************************** button関係 ***************************/
.p-button {
  text-align: center;
  font-size: clamp(16px, 1.5vw, 18px);
  margin: 2em 0;
  line-height: 2;
  text-decoration: none;
}

.p-button-bottom {
  display: inline-block;
  margin-bottom: 3em;
  bottom: 3em;
}

button.button {
  margin: 1em 0;
  padding: 0.5em 1em;
  border: #fff 1px solid;
  color: #fff;
  text-decoration: none;
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 10px;
  transition: all 0.3s ease;
}
button.button span {
  display: inline-block;
  font-size: 0.8em;
}

button.button-blue {
  margin: 1em 0;
  padding: 0.5em 1em;
  border: #004288 1px solid;
  color: #004288;
  text-decoration: none;
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
button.button-blue span {
  display: inline-block;
  font-size: 0.8em;
}

button.button:hover,
button.button-blue:hover {
  background: #004288;
  color: #fff;
  border-radius: 0;
  transition: all 0.3s ease;
}/*# sourceMappingURL=style.css.map */