@charset "UTF-8";
/* --- scss/_base.scss --- */
/* --- この世界の基本ルール --- */
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.no-scroll {
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: #f4f2ed;
  font-family: "Noto Serif JP", serif;
  color: #3d3d3d;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Pirata One", cursive;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 0.75em;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #3d3d3d;
}

h1, .section-title {
  font-family: "Pirata One", cursive;
}

p {
  margin-bottom: 1em;
}

a {
  color: #007bff;
  text-decoration: none;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

a:hover, a:focus {
  color: #0056b3;
  text-decoration: underline;
}

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

.section-title {
  font-size: 2rem;
  text-align: center;
  margin: 0 auto 60px;
  font-weight: 400;
  position: relative;
  padding: 1rem 2rem;
  display: inline-block;
  background-color: #3d3d3d;
  color: #f4f2ed;
  border: 3px solid #3d3d3d;
  -webkit-box-shadow: 6px 6px 0 #007bff;
          box-shadow: 6px 6px 0 #007bff;
}
.section-title::before, .section-title::after {
  content: "★";
  color: #007bff;
  font-size: 1.2rem;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
.section-title::before {
  left: 1rem;
}
.section-title::after {
  right: 1rem;
}
@media screen and (max-width: 670px) {
  .section-title {
    font-size: 1.5rem;
    padding: 0.8rem 1.5rem;
  }
}

.js-scroll-fade-in {
  opacity: 0;
  -webkit-transform: translateY(30px);
          transform: translateY(30px);
  -webkit-transition: opacity 0.8s ease-out, -webkit-transform 0.8s ease-out;
  transition: opacity 0.8s ease-out, -webkit-transform 0.8s ease-out;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out, -webkit-transform 0.8s ease-out;
}

.js-scroll-fade-in.is-visible {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

/* --- ボタン --- */
.btn, .contact__button, .work-card__link, .hero__cta, .card-base__link {
  font-family: "Press Start 2P", cursive;
  text-transform: uppercase;
  display: inline-block;
  padding: 15px 35px;
  border-radius: 4px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-align: center;
  -webkit-transition: background-color 0.2s ease, color 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: background-color 0.2s ease, color 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  border: 2px solid #3d3d3d;
  cursor: pointer;
  background-color: #ffffff;
  color: #3d3d3d;
  -webkit-box-shadow: 4px 4px 0 #3d3d3d;
          box-shadow: 4px 4px 0 #3d3d3d;
}
.btn:hover, .work-card__link:hover, .hero__cta:hover, .card-base__link:hover, .btn:focus, .work-card__link:focus, .hero__cta:focus, .card-base__link:focus, .contact__button:hover, .contact__button:focus {
  -webkit-transform: translateY(-2px) translateX(-2px);
          transform: translateY(-2px) translateX(-2px);
  -webkit-box-shadow: 6px 6px 0 #3d3d3d;
          box-shadow: 6px 6px 0 #3d3d3d;
  text-decoration: none;
}
.btn:active, .work-card__link:active, .hero__cta:active, .card-base__link:active, .contact__button:active {
  -webkit-transform: translateY(2px) translateX(2px);
          transform: translateY(2px) translateX(2px);
  -webkit-box-shadow: 2px 2px 0 #3d3d3d;
          box-shadow: 2px 2px 0 #3d3d3d;
}
.btn--primary, .hero__cta, .contact__button--primary {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
  -webkit-box-shadow: 4px 4px 0 #0056b3;
          box-shadow: 4px 4px 0 #0056b3;
}
.btn--primary:hover, .hero__cta:hover, .btn--primary:focus, .hero__cta:focus, .contact__button--primary:hover, .contact__button--primary:focus {
  -webkit-box-shadow: 6px 6px 0 #0056b3;
          box-shadow: 6px 6px 0 #0056b3;
}
.btn--primary:active, .hero__cta:active, .contact__button--primary:active {
  -webkit-box-shadow: 2px 2px 0 #0056b3;
          box-shadow: 2px 2px 0 #0056b3;
}

/* --- カードの基本スタイル --- */
.card, .adventure-card {
  background-color: #ffffff;
  border: 2px solid #3d3d3d;
  border-radius: 6px;
  padding: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
}
.card:hover, .adventure-card:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 8px 0 rgba(0, 0, 0, 0.2);
          box-shadow: 0 8px 0 rgba(0, 0, 0, 0.2);
}

.type-cursor {
  opacity: 1;
  font-weight: 100;
  margin-left: 2px;
}
.type-cursor.is-blinking {
  -webkit-animation: blink 0.7s infinite;
          animation: blink 0.7s infinite;
}

@-webkit-keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.btn--primary, .hero__cta, .contact__button {
  -webkit-transition: background-color 0.3s ease, -webkit-transform 0.3s ease;
  transition: background-color 0.3s ease, -webkit-transform 0.3s ease;
  transition: background-color 0.3s ease, transform 0.3s ease;
  transition: background-color 0.3s ease, transform 0.3s ease, -webkit-transform 0.3s ease;
}
.btn--primary:hover, .hero__cta:hover, .contact__button:hover {
  background-color: #0056b3;
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.card, .adventure-card {
  background-color: #ffffff;
  border: 1px solid #444444;
  border-radius: 8px;
  padding: 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
}
.card:hover, .adventure-card:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
          box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card__title {
  font-family: "Press Start 2P", cursive;
  font-size: 1.2rem;
  line-height: 1.4;
  color: #3d3d3d;
  margin-bottom: 1.2rem;
}

.card__description {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #7a7a7a;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

.card--has-image {
  padding: 0;
}
.card--has-image .card__image-placeholder {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid #444444;
}
.card--has-image .card__image-placeholder img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.4s ease;
  transition: -webkit-transform 0.4s ease;
  transition: transform 0.4s ease;
  transition: transform 0.4s ease, -webkit-transform 0.4s ease;
}
.card--has-image .card__content {
  padding: 1.5rem;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.card--has-image:hover .card__image-placeholder img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.plan-card,
.work-card,
.adventure-card {
  background-color: #fff;
  border-radius: 8px;
  -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
          box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
}
.plan-card:hover,
.work-card:hover,
.adventure-card:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
          box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.card-base, .plan-card, .work-card, .adventure-card {
  background-color: #ffffff;
  border: 2px solid #3d3d3d;
  border-radius: 6px;
  padding: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-shadow: 4px 4px 0px #3d3d3d;
          box-shadow: 4px 4px 0px #3d3d3d;
  -webkit-transition: -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
}
.card-base:hover, .plan-card:hover, .work-card:hover, .adventure-card:hover {
  -webkit-transform: translateY(-4px) translateX(-4px);
          transform: translateY(-4px) translateX(-4px);
  -webkit-box-shadow: 8px 8px 0px #007bff;
          box-shadow: 8px 8px 0px #007bff;
}
.card-base__link {
  -ms-flex-item-align: start;
      align-self: flex-start;
  padding: 10px 25px;
  font-size: 0.9rem;
}

.work-card {
  padding: 0;
}
.work-card .work-card__content {
  padding: 25px;
}

/* --- scss/_layout.scss --- */
/* --- 城の骨格（レイアウト） --- */
.header {
  background-color: rgba(244, 242, 237, 0.85);
  padding: 0 15px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 65px;
  z-index: 1000;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border-bottom: 1px solid #444444;
}

.header__inner {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.header__logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-decoration: none;
  color: #3d3d3d;
  font-family: "Press Start 2P", cursive;
  font-size: 1.2rem;
  font-weight: 400;
}
.header__logo .header__logo-icon {
  font-family: "Noto Serif JP", serif;
  height: 34px;
  margin-right: 8px;
}

.header__nav ul {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.header__nav li:not(:last-child) {
  margin-right: 30px;
}
.header__nav a {
  color: #7a7a7a;
  font-weight: bold;
  text-decoration: none;
}
.header__nav a:hover {
  color: #007bff;
}
@media screen and (max-width: 1096px) {
  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(244, 242, 237, 0.98);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    -webkit-transition: opacity 0.4s ease, visibility 0.4s ease;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }
  .header__nav ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
    height: 100%;
  }
  .header__nav li {
    margin: 0 0 40px 0;
  }
  .header__nav a {
    font-size: 1.5rem;
    font-family: "Press Start 2P", cursive;
    color: #3d3d3d;
  }
  .header__nav.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.hamburger-button {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
}
.hamburger-button__line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #3d3d3d;
  position: absolute;
  left: 0;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.hamburger-button__line:nth-child(1) {
  top: 8px;
}
.hamburger-button__line:nth-child(2) {
  top: 19px;
}
.hamburger-button__line:nth-child(3) {
  bottom: 8px;
}
.hamburger-button.is-active .hamburger-button__line:nth-child(1) {
  top: 19px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.hamburger-button.is-active .hamburger-button__line:nth-child(2) {
  opacity: 0;
}
.hamburger-button.is-active .hamburger-button__line:nth-child(3) {
  bottom: 19px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
@media screen and (max-width: 1096px) {
  .hamburger-button {
    display: block;
  }
}

.section-briefing {
  max-width: 800px;
  margin: 0 auto 0.5em auto;
  padding: 1.5rem 2rem 1.5rem 2rem;
  border-left: 4px solid #007bff;
}
.section-briefing p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #7a7a7a;
  margin: 0;
}
.section-briefing strong {
  color: #3d3d3d;
  font-weight: 700;
}

.footer {
  background-color: #00f2ff;
  color: #030613;
  -webkit-box-shadow: 0 0 20px #00f2ff;
          box-shadow: 0 0 20px #00f2ff;
  padding: 50px 0;
  text-align: center;
  font-size: 0.9rem;
}
.footer p:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #00f2ff;
}

.section-divider {
  height: 60px;
  background-color: transparent;
}

section {
  padding-top: 50px;
  padding-bottom: 80px;
  background-color: #ffffff;
  border-top: 2px solid #444444;
}

.section:nth-child(even) {
  background-color: #f4f2ed;
}

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

.btn--primary, .hero__cta {
  background: transparent;
  border: 2px solid #00f2ff;
  color: #00f2ff;
  padding: 0.8em 2em;
  font-family: "Audiowide", sans-serif;
  text-shadow: 0 0 8px #00f2ff;
  -webkit-transition: background-color 0.3s, color 0.3s, -webkit-box-shadow 0.3s;
  transition: background-color 0.3s, color 0.3s, -webkit-box-shadow 0.3s;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s, -webkit-box-shadow 0.3s;
}
.btn--primary:hover, .hero__cta:hover {
  background-color: #00f2ff;
  color: #030613;
  -webkit-box-shadow: 0 0 20px #00f2ff;
          box-shadow: 0 0 20px #00f2ff;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #00f2ff;
}

.hero {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  padding: 120px 20px 60px;
  position: relative;
  overflow: hidden;
  background: -webkit-gradient(linear, left top, left bottom, from(#f4f2ed), to(#eeebe4));
  background: linear-gradient(180deg, #f4f2ed 0%, #eeebe4 100%);
}
.hero #hero-3d-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero #hero-3d-background canvas {
  height: 100%;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero__title {
  margin-bottom: 0;
}
.hero__title--main {
  font-size: 5rem;
  color: #3d3d3d;
  display: block;
  letter-spacing: 1px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}
.hero__title--sub {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  background: linear-gradient(45deg, #e63946, #d4af37, #833ab4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
.hero .hero-warning {
  text-align: left;
  max-width: 650px;
  margin: 3rem auto 2.5rem;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  padding: 2.5rem 3rem;
  border-radius: 12px;
  border: 2px solid #007bff;
  -webkit-box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
          box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  color: #3d3d3d;
}
.hero .hero-warning h3 {
  font-family: "Press Start 2P", cursive;
  text-transform: uppercase;
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 3px dashed #444444;
  letter-spacing: 1px;
  position: relative;
}
.hero .hero-warning h3.is-typing::after {
  content: "|";
  font-family: monospace;
  font-weight: bold;
  -webkit-animation: blink 0.7s infinite;
          animation: blink 0.7s infinite;
}
.hero .hero-warning p {
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 1.5rem;
}
.hero .hero-warning ul {
  font-size: 1.05rem;
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}
.hero .hero-warning li {
  margin-bottom: 1.2em;
  padding-left: 1.8em;
  position: relative;
}
.hero .hero-warning li::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 0;
  color: #007bff;
  font-size: 1.2rem;
}
.hero__cta {
  padding: 16px 40px;
  font-size: 1.1rem;
}
@media screen and (max-width: 670px) {
  .hero__title--main {
    font-size: 3rem;
  }
  .hero__title--sub {
    font-size: 1.8rem;
  }
  .hero .hero-warning {
    padding: 1.5rem;
  }
  .hero__cta {
    padding: 12px 30px;
    font-size: 0.9rem;
  }
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
#golden-ball-follower {
  position: fixed;
  width: 15px;
  height: 15px;
  background-color: #FFD700;
  border-radius: 50%;
  -webkit-box-shadow: 0 0 15px 5px #FFD700, 0 0 30px 10px rgba(255, 215, 0, 0.2);
          box-shadow: 0 0 15px 5px #FFD700, 0 0 30px 10px rgba(255, 215, 0, 0.2);
  pointer-events: none; /* マウス操作を邪魔しないように */
  z-index: 9999;
  opacity: 0; /* 最初は非表示 */
}

.works__intro, .skills__intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4em auto;
  font-size: 1.1rem;
  color: #3d3d3d;
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  -webkit-perspective: 1000px;
          perspective: 1000px;
}

.works__cta-area {
  text-align: center;
  margin-top: 4rem;
}

.work-card {
  background-color: #f4f2ed;
  border: 2px solid #3d3d3d;
  border-radius: 6px;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-transition: -webkit-transform 0.4s ease, -webkit-box-shadow 0.4s ease;
  transition: -webkit-transform 0.4s ease, -webkit-box-shadow 0.4s ease;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transition: transform 0.4s ease, box-shadow 0.4s ease, -webkit-transform 0.4s ease, -webkit-box-shadow 0.4s ease;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
}
.work-card:hover {
  -webkit-transform: translateY(-10px) rotateY(5deg) rotateX(3deg);
          transform: translateY(-10px) rotateY(5deg) rotateX(3deg);
  -webkit-box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
          box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.work-card:hover .work-card__image-placeholder img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.work-card__image-placeholder {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-bottom: 2px solid #3d3d3d;
}
.work-card__image-placeholder img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.4s ease;
  transition: -webkit-transform 0.4s ease;
  transition: transform 0.4s ease;
  transition: transform 0.4s ease, -webkit-transform 0.4s ease;
}
.work-card__content {
  padding: 25px;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.work-card__title {
  font-size: 1.2rem;
  color: #3d3d3d;
  margin-bottom: 0.5em;
}
.work-card__description {
  font-size: 0.95rem;
  color: #7a7a7a;
  line-height: 1.7;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  margin-bottom: 1.5em;
}
.work-card__link {
  -ms-flex-item-align: start;
      align-self: flex-start;
  padding: 10px 25px;
  font-size: 0.9rem;
}

.skills {
  padding-top: 100px;
  padding-bottom: 100px;
  background-color: #f4f2ed;
  border-top: 2px solid #444444;
}

.skills__grid--revised {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.skill-card {
  background-color: #ffffff;
  border: 2px solid #3d3d3d;
  padding: 30px;
  border-radius: 6px;
  text-align: center;
}
.skill-card__icon {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 20px;
}
.skill-card__title {
  font-size: 1.2rem;
  margin-bottom: 0.8em;
}
.skill-card__description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #7a7a7a;
  margin-bottom: 1.5em;
}
.skill-card__tags span {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  display: inline-block;
  background-color: #f4f2ed;
  border: 1px solid #444444;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 20px;
  margin: 3px;
}

#achievements {
  background-color: #f4f2ed;
  border-top: 2px solid #444444;
}
#achievements .work-card {
  background-color: #ffffff;
}

#adventures {
  background-color: #e8e5e0;
  padding: 100px 0;
  border-top: 2px solid #d1ccc0;
  overflow-x: hidden;
}

.adventures__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}
@media screen and (max-width: 768px) {
  .adventures__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 670px) {
  .adventures__grid {
    grid-template-columns: 1fr;
  }
}

.adventure-card {
  background-color: #fffde7;
  border-color: #ddd;
  -webkit-box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
          box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
  grid-column: span 2;
}
.adventure-card:nth-child(1) {
  -webkit-transform: rotate(-3deg);
          transform: rotate(-3deg);
  grid-column: 1/4;
}
.adventure-card:nth-child(2) {
  -webkit-transform: rotate(2deg);
          transform: rotate(2deg);
  grid-column: 4/7;
  grid-row: 1;
  margin-top: 2rem;
}
.adventure-card:nth-child(3) {
  -webkit-transform: rotate(4deg);
          transform: rotate(4deg);
  grid-column: 2/5;
  grid-row: 2;
  margin-top: -5rem;
  z-index: 2;
}
.adventure-card:nth-child(4) {
  -webkit-transform: rotate(-2deg);
          transform: rotate(-2deg);
  grid-column: 5/7;
  grid-row: 2;
  margin-top: -2rem;
}
.adventure-card:nth-child(5) {
  -webkit-transform: rotate(3deg);
          transform: rotate(3deg);
  grid-column: 1/4;
  grid-row: 3;
  margin-top: -4rem;
  z-index: 3;
}
@media screen and (max-width: 768px) {
  .adventure-card {
    grid-column: auto !important;
    grid-row: auto !important;
    margin-top: 0 !important;
  }
  .adventure-card:nth-child(even) {
    -webkit-transform: rotate(3deg);
            transform: rotate(3deg);
  }
  .adventure-card:nth-child(odd) {
    -webkit-transform: rotate(-3deg);
            transform: rotate(-3deg);
  }
}
.adventure-card:hover {
  -webkit-transform: scale(1.15) !important;
          transform: scale(1.15) !important;
  z-index: 10;
}
.adventure-card .card__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  color: #5a524c;
}
.adventure-card .card__description {
  font-family: "Noto Sans JP", sans-serif;
  color: #6c645d;
}

.final-investigation {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 4px double #d1ccc0;
  text-align: center;
}
.final-investigation h3 {
  font-family: "Press Start 2P", cursive;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.final-investigation p {
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}
.final-investigation .iframe-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border: 2px solid #d1ccc0;
  -webkit-box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
          box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
}
.final-investigation .iframe-container iframe {
  width: 100%;
  height: 500px;
  display: block;
}
.final-investigation .logic-tree-text {
  font-size: 0.8rem;
  margin-top: 1rem;
  color: #777;
}
.final-investigation .logic-tree-text details {
  cursor: pointer;
}
.final-investigation .logic-tree-text details summary {
  font-weight: bold;
}
.final-investigation .logic-tree-text details pre {
  text-align: left;
  background: #f4f4f4;
  padding: 1rem;
  border-radius: 4px;
  margin-top: 0.5rem;
  white-space: pre-wrap;
}

#services {
  padding: 100px 0;
  background-color: #f4f2ed;
  border-top: 2px solid #444444;
}

.plan-table__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media screen and (max-width: 1096px) {
  .plan-table__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 670px) {
  .plan-table__grid {
    grid-template-columns: 1fr;
  }
}

.natto-slot-container {
  text-align: center;
  margin: 4rem auto;
  padding: 2rem;
  background-color: #fffde7;
  border: 2px dashed #d1ccc0;
  border-radius: 8px;
}
.natto-slot-container h3 {
  font-family: "Press Start 2P", cursive;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #5a524c;
}
.natto-slot-container p {
  margin-bottom: 1.5rem;
  color: #6c645d;
}
.natto-slot-container iframe {
  width: 100%;
  max-width: 502px;
  height: 522px;
  border-radius: 6px;
  -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
          box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#about {
  padding: 150px 0;
  background-color: #f4f2ed;
  border-top: 2px solid #444444;
}

.about__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 60px;
}
@media screen and (max-width: 768px) {
  .about__content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center;
    gap: 40px;
  }
}

.about__icon {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 150px;
  height: 150px;
}
.about__icon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  -webkit-box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
          box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.about__text-content {
  text-align: left;
}

.about__catchphrase {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 2.5em;
  padding-left: 1.5em;
  border-left: 4px solid #007bff;
}

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

.about__text li {
  background-color: #f4f2ed;
  border: 1px solid #444444;
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.about__text li:last-child {
  margin-bottom: 0;
}

.about__text strong {
  font-family: "Press Start 2P", cursive;
  font-size: 1rem;
  color: #007bff;
  display: block;
  margin-bottom: 0.75em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#skills {
  padding-top: 100px;
  padding-bottom: 100px;
  background-color: #f4f2ed;
  border-top: 2px solid #444444;
}

.skills__grid--revised {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.skill-card {
  background-color: #ffffff;
  border: 2px solid #3d3d3d;
  border-radius: 8px;
  padding: 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  text-align: left;
  -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
}
.skill-card:hover {
  -webkit-transform: translateY(-5px) scale(1.02);
          transform: translateY(-5px) scale(1.02);
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
          box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.skill-card__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
  margin-bottom: 1.5rem;
  border-bottom: 1px dashed #444444;
  padding-bottom: 1.5rem;
}
.skill-card__icon {
  font-size: 2.5rem;
  color: #007bff;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  background-color: #fefdfd;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.skill-card__title {
  font-size: 1.3rem;
  margin-bottom: 0;
  line-height: 1.3;
}
.skill-card__description {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #7a7a7a;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

.skill-card {
  will-change: transform, box-shadow;
}
.skill-card:hover {
  -webkit-transform: translateY(-8px) scale(1.03);
          transform: translateY(-8px) scale(1.03);
  -webkit-box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
          box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.skills__grid--revised {
  -webkit-perspective: 2000px;
          perspective: 2000px;
}

#skills .skill-card {
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
}

.contact__intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3em auto;
  font-size: 1.1rem;
  color: #3d3d3d;
}

.contact__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact__form {
  -webkit-box-flex: 2;
      -ms-flex: 2;
          flex: 2;
  min-width: 300px;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  font-family: "Press Start 2P", cursive;
  color: #3d3d3d;
  font-weight: 400;
  text-transform: uppercase;
}
.form-group input[type=text],
.form-group input[type=email],
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #3d3d3d;
  background-color: #ffffff;
  color: #3d3d3d;
  border-radius: 4px;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 1rem;
  -webkit-transition: border-color 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: border-color 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease;
}
.form-group input[type=text]:focus,
.form-group input[type=email]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #007bff;
  -webkit-box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
          box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group .required {
  color: #007bff;
  margin-left: 5px;
  font-weight: bold;
}

.contact__button {
  width: 100%;
  background-color: #e63946;
  color: #fff;
  border-color: #e63946;
  -webkit-box-shadow: 4px 4px 0 #a41520;
          box-shadow: 4px 4px 0 #a41520;
}
.contact__button:hover, .contact__button:focus {
  background-color: #e9505b;
  color: #fff;
  -webkit-box-shadow: 6px 6px 0 #a41520;
          box-shadow: 6px 6px 0 #a41520;
}
.contact__button:active {
  -webkit-box-shadow: 2px 2px 0 #a41520;
          box-shadow: 2px 2px 0 #a41520;
}

.contact__info {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 280px;
}
@media screen and (max-width: 670px) {
  .contact__info {
    text-align: center;
  }
}

.contact__info-title {
  font-size: 1.2rem;
  color: #3d3d3d;
  margin-bottom: 1em;
}

.contact__email {
  font-size: 1rem;
  margin-bottom: 2em;
}
.contact__email a {
  color: #007bff;
  word-break: break-all;
}

.contact__sns-text {
  font-size: 0.95rem;
  color: #7a7a7a;
  margin-bottom: 1em;
}

.sns-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 15px;
}
@media screen and (max-width: 670px) {
  .sns-links {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.sns-link {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #7a7a7a;
  font-size: 0.95rem;
}
.sns-link:hover {
  color: #007bff;
}
.sns-link i {
  font-size: 1.3rem;
  margin-right: 12px;
  width: 20px;
  text-align: center;
}

.page-main {
  background-color: #f4f2ed;
}

.page-hero {
  background-color: #ffffff;
  padding: 80px 0;
  text-align: center;
}
.page-hero__title {
  font-size: 2.5rem;
  color: #3d3d3d;
  margin-bottom: 0.5em;
}
.page-hero__subtitle {
  font-size: 1.1rem;
  color: #7a7a7a;
}

.plan-section {
  padding: 80px 0;
}
.plan-section--light {
  background-color: #ffffff;
}
.plan-section .section-title {
  margin-bottom: 1em;
}
.plan-section .services__intro {
  margin-bottom: 4em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.plan-table__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media screen and (max-width: 1096px) {
  .plan-table__grid {
    grid-template-columns: 1fr;
  }
}

.plan-note {
  text-align: center;
  margin-top: 2em;
}

.comparison-table__wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}
.comparison-table th, .comparison-table td {
  border: 1px solid #444444;
  padding: 15px;
  text-align: center;
}
.comparison-table th {
  background-color: #444444;
}
.comparison-table tbody tr:nth-child(even) {
  background-color: #ffffff;
}
.comparison-table td.highlight {
  font-weight: bold;
  color: #007bff;
  background-color: rgba(0, 123, 255, 0.05);
}

.scope__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
@media screen and (max-width: 768px) {
  .scope__grid {
    grid-template-columns: 1fr;
  }
}

.scope-box {
  background-color: #ffffff;
  border: 1px solid #444444;
  border-radius: 8px;
  padding: 30px;
}
.scope-box__title {
  font-size: 1.3rem;
  border-bottom: 2px solid #444444;
  padding-bottom: 0.5em;
  margin-bottom: 1em;
}
.scope-box__title .fa-check-circle {
  color: #ff4d4d;
}
.scope-box__title .fa-exclamation-circle {
  color: #ffc107;
}
.scope-box__title i {
  margin-right: 10px;
}
.scope-box ul {
  list-style: none;
  padding-left: 0;
}
.scope-box ul li {
  margin-bottom: 0.8em;
}
.scope-box ul li ul {
  margin-top: 0.5em;
  padding-left: 20px;
}

.flow-steps {
  max-width: 700px;
  margin: 4em auto 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.flow-step {
  background-color: #ffffff;
  border: 1px solid #444444;
  border-radius: 8px;
  padding: 40px;
  width: 100%;
  text-align: center;
}
.flow-step__number {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 120px;
  height: 40px;
  background-color: #007bff;
  color: #fff;
  font-weight: bold;
  border-radius: 20px;
  margin-bottom: 1.5em;
}
.flow-step__title {
  font-size: 1.5rem;
  margin-bottom: 0.5em;
}

.flow-step__arrow {
  padding: 2.5em 0;
  color: #7a7a7a;
}
.flow-step__arrow .fas {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5em;
}
.flow-step__arrow span {
  font-weight: bold;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 2em;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .options-grid {
    grid-template-columns: 1fr;
  }
}

.option-card {
  background-color: #f4f2ed;
  border: 1px solid #444444;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.option-card:hover {
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
}
.option-card h4 {
  color: #007bff;
  font-size: 1.1rem;
  margin-bottom: 0.8em;
}
.option-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  background-color: #ffffff;
  border: 1px solid #444444;
  border-radius: 8px;
  padding: 25px 30px;
  margin-bottom: 20px;
}
.faq__item:last-child {
  margin-bottom: 0;
}

.faq__question {
  font-size: 1.2rem;
  font-weight: bold;
  color: #3d3d3d;
  margin-bottom: 1em;
  position: relative;
  padding-left: 30px;
}
.faq__question::before {
  content: "Q.";
  position: absolute;
  left: 0;
  top: 0;
  color: #007bff;
  font-weight: bold;
}

.faq__answer {
  font-size: 0.95rem;
  color: #7a7a7a;
  line-height: 1.7;
  padding-left: 30px;
  position: relative;
}
.faq__answer::before {
  content: "A.";
  position: absolute;
  left: 0;
  top: 0;
  color: #3d3d3d;
  font-weight: bold;
}
.faq__answer p {
  margin-bottom: 0;
}