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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #ffffff;
  color: #171717;
  line-height: 1.6;
}

.portfolio-page {
  position: relative;
  width: 100%;
  background-color: #ffffff;
}

.section-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  position: relative;
  height: 784px;
  width: 100%;
  overflow: hidden;
  margin-top: -54px;
}
.hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
  opacity: 0;
  animation: fadeIn 1.2s ease-out forwards;
}
.hero .water-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.hero .water-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.hero .water-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(6px);
  opacity: 0.35;
  animation: ripple 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ripple {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-12px, -8px); }
  50%  { transform: translate(10px, -12px); }
  75%  { transform: translate(-8px, -6px); }
  100% { transform: translate(0, 0); }
}
.hero .hero-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 519px;
  padding: 0 40px;
  z-index: 2;
  text-align: center;
}
.hero .hero-label {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 4.0496px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  margin-bottom: 27px;
  opacity: 0;
  animation: fadeInLetterSpacing 1s ease-out 0.1s forwards;
}
.hero .hero-title {
  font-size: 96px;
  font-weight: 400;
  line-height: 96px;
  color: #ffffff;
  letter-spacing: -2.4px;
  margin-bottom: 22px;
  height: 96px;
}
.hero .hero-title .hero-title-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease-out forwards;
}
.hero .hero-title .hero-title-char:nth-child(1) {
  animation-delay: 0.3s;
}
.hero .hero-title .hero-title-char:nth-child(2) {
  animation-delay: 0.4s;
}
.hero .hero-title .hero-title-char:nth-child(3) {
  animation-delay: 0.5s;
}
.hero .hero-title .hero-title-char:nth-child(4) {
  animation-delay: 0.6s;
}
.hero .hero-subtitle {
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.6703px;
  margin-bottom: 50px;
  opacity: 0;
  filter: blur(4px);
  animation: fadeInBlur 0.8s ease-out 0.7s forwards;
}
.hero .hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.hero .scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 74px;
  transform: translateX(-50%);
  opacity: 0.6;
  cursor: pointer;
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}
@media (max-width: 720px) {
  .hero {
    height: 100vh;
  }
  .hero .hero-content {
    width: 100%;
  }
  .hero .scroll-indicator {
    bottom: 32px;
  }
  .hero .hero-label {
    font-size: 12px;
  }
  .hero .hero-title {
    font-size: 48px;
    line-height: 48px;
    height: 48px;
    margin-bottom: 16px;
  }
  .hero .hero-subtitle {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 32px;
  }
  .hero .hero-buttons .btn {
    font-size: 12px;
  }
}

.btn {
  padding: 10px 24px;
  height: 40px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  animation: fadeInUpScale 0.6s ease-out forwards;
}
.btn.btn-primary {
  background-color: #ffffff;
  color: #0f172b;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  animation-delay: 1s;
}
.btn.btn-primary:hover {
  transform: translateY(-2px) scale(1.05);
  background-color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.btn.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.1), 0px 8px 10px -6px rgba(0, 0, 0, 0.1);
  animation-delay: 1.1s;
}
.btn.btn-secondary:hover {
  transform: translateY(-2px) scale(1.05);
  border-color: rgba(255, 255, 255, 0.8);
}
.btn.btn-submit {
  background-color: #0f172b;
  color: #ffffff;
  padding: 0 40px;
  height: 48px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn.btn-submit:hover {
  background-color: #262626;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.btn.btn-submit .btn-arrow {
  display: inline-block;
  animation: arrowMove 1.5s ease-in-out infinite;
}

section {
  position: relative;
  width: 100%;
  padding: 0;
}

.section-label {
  max-width: 896px;
  width: 100%;
  margin: 0 auto 20px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 4.0496px;
  color: #99a1af;
  text-transform: uppercase;
  height: 20px;
  text-align: left;
}

.section-heading {
  max-width: 896px;
  width: 100%;
  margin: 0 auto;
  font-size: 48px;
  font-weight: 400;
  line-height: 48px;
  color: #0a0a0a;
  letter-spacing: -0.8484px;
  text-align: left;
}
.section-heading .typing-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 96px;
}
.section-heading .typing-line-1,
.section-heading .typing-line-2 {
  display: block;
  min-height: 48px;
  line-height: 48px;
}
.section-heading .typing-cursor {
  display: inline-block;
  width: 3px;
  height: 48px;
  background-color: #0a0a0a;
  margin-left: 4px;
  vertical-align: top;
  animation: blink 0.8s ease-in-out infinite;
}

.about {
  background-color: #ffffff;
  min-height: 570px;
  padding: 110px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about .section-heading {
  position: relative;
  margin-bottom: 60px;
  min-height: 95px;
  line-height: 50px;
}
@media (max-width: 720px) {
  .about {
    padding: 80px 40px;
  }
  .section-heading {
    font-size: 28px;
    line-height: 36px;
  }
  .section-heading .typing-cursor {
    height: 36px;
  }
  .about .section-heading .typing-container {
    min-height: 80px;
  }
  .about .section-heading .typing-line-1,
  .about .section-heading .typing-line-2 {
    min-height: 36px;
    line-height: 36px;
  }
}
.about .about-content {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  font-family: "Zen Kaku Gothic New", sans-serif, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 2;
  color: #4a5565;
  letter-spacing: -0.4395px;
}
.about .about-content p {
  margin-bottom: 0;
}
@media (max-width: 720px) {
  .about .about-content {
    font-size: 0.925rem;
    line-height: 1.7;
  }
}

.skills {
  background-color: #f9fafb;
  min-height: 450px;
  padding: 110px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.skills .section-label {
  max-width: 896px;
  width: 100%;
  margin: 0 auto 20px;
}
.skills .skills-grid {
  max-width: 896px;
  width: 100%;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}
@media (max-width: 720px) {
  .skills {
    padding: 80px 40px;
  }
  .skills .skills-grid {
    grid-template-columns: 1fr;
  }
}
.skills-column {
  text-align: left;
}
.skills-category {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #4a5565;
  margin: 0 0 12px 0;
  text-transform: uppercase;
}
.skills-category-line {
  width: 100%;
  height: 1px;
  background-color: #6a7282;
  margin-bottom: 24px;
}
.skills-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.skill-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.skill-item:last-child {
  margin-bottom: 0;
}
.skill-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.skill-icon svg {
  width: 20px;
  height: 20px;
}
.skill-content {
  flex: 1;
  min-width: 0;
}
.skills .skill-name {
  font-size: 16px;
  font-weight: 500;
  color: #0a0a0a;
  margin: 0 0 6px 0;
}
.skills .skill-desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: #6a7282;
  margin: 0;
  font-family: "Zen Kaku Gothic New", sans-serif, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.projects {
  background-color: #ffffff;
  padding: 110px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.projects .section-label {
  position: relative;
}
.projects .projects-grid {
  max-width: 900px;
  width: 100%;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 32px;
  height: 770px;
}
@media (max-width: 720px) {
  .projects {
    padding: 80px 40px;
  }
  .projects .projects-grid {
    grid-template-columns: 1fr;
    grid-template-rows: unset;
    height: auto;
  }
  .projects .project-card {
    aspect-ratio: 4 / 3;
    height: auto;
  }
  .projects .project-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}
.projects .project-link {
  display: block;
  height: 100%;
  min-height: 0;
  text-decoration: none;
  color: inherit;
}
.projects .project-card {
  position: relative;
  height: 100%;
  background-color: #f3f4f6;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  transform: scale(1.02);
}
.projects .project-card:hover {
  transform: scale(1);
}
.projects .project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.projects .project-card .project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 70%, transparent 100%);
  opacity: 1;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 32px;
}
.projects .project-card:hover .project-overlay {
  opacity: 0.25;
}
.projects .project-card .project-info {
  width: 100%;
}
.projects .project-card .project-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  color: #ffffff;
  letter-spacing: -0.5297px;
  margin-bottom: 8px;
}
.projects .project-card .project-tech {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: -0.1504px;
}
.projects .project-card .project-role {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: -0.15px;
  margin-top: 6px;
}
@media (max-width: 720px) {
  .projects .project-card .project-overlay {
    padding: 10px;
  }
  .projects .project-card .project-role {
    margin-top: 0;
  }
}

.contact {
  background-color: #f9fafb;
  min-height: 860px;
  padding: 110px 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact .section-label {
  text-align: left;
}
.contact .section-heading {
  position: relative;
  margin-bottom: 30px;
  text-align: left;
}
.contact .contact-description {
  max-width: 900px;
  width: 100%;
  margin: 0 auto 40px;
  font-family: "Zen Kaku Gothic New", sans-serif, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 2;
  color: #4a5565;
  letter-spacing: -0.4395px;
  text-align: left;
}
@media (max-width: 720px) {
  .contact {
    padding: 80px 40px 0;
  }
  .contact .contact-description {
    font-size: 0.925rem;
    line-height: 1.7;
  }
}
.contact .contact-form,
.contact .wpcf7 {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}
.contact .wpcf7-form p {
  margin-bottom: 20px;
}
.contact .wpcf7-form p br {
  display: none;
}
.contact .wpcf7-form label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #99a1af;
  margin-bottom: 8px;
}
.contact .wpcf7-form-control-wrap {
  display: block;
}
.contact .wpcf7-form input[type="text"],
.contact .wpcf7-form input[type="email"],
.contact .wpcf7-form select,
.contact .wpcf7-form textarea {
  width: 100%;
  background-color: #f0f1f3;
  border: none;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  font-family: "Inter", "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171717;
  transition: all 0.3s ease;
  height: 50px;
}
.contact .wpcf7-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2399a1af' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.contact .wpcf7-form textarea {
  height: auto;
  min-height: 120px;
  resize: vertical;
}
.contact .wpcf7-form input:focus,
.contact .wpcf7-form select:focus,
.contact .wpcf7-form textarea:focus {
  outline: none;
  background-color: #e8e9ec;
}
.contact .wpcf7-form input::placeholder,
.contact .wpcf7-form textarea::placeholder {
  color: #99a1af;
}
.contact .wpcf7-form .wpcf7-submit,
.contact .wpcf7-form .button {
  background-color: #0a0a0a;
  color: #ffffff;
  padding: 0 48px;
  height: 48px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  margin-top: 8px;
}
.contact .wpcf7-form .wpcf7-submit:hover,
.contact .wpcf7-form .button:hover {
  background-color: #262626;
}
.contact .wpcf7-form .wpcf7-list-item {
  margin-left: 0;
}
.contact .wpcf7 form .wpcf7-response-output {
  padding: 0;
  border: none;
}
.contact .wpcf7 form.sent .wpcf7-response-output {
  border: none;
}
/* contact-form__item 用（CF7カスタム） */
.contact .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}
.contact .wpcf7-form > br {
  display: none;
}
.contact .wpcf7-form > .contact-form__item:nth-of-type(1) {
  grid-column: 1;
}
.contact .wpcf7-form > .contact-form__item:nth-of-type(2) {
  grid-column: 2;
}
.contact .wpcf7-form > .contact-form__item:nth-of-type(3),
.contact .wpcf7-form > .contact-form__item:nth-of-type(4),
.contact .wpcf7-form > .contact-form__item:nth-of-type(5) {
  grid-column: 1 / -1;
}
.contact .wpcf7-form > p:last-child {
  grid-column: 1 / -1;
  margin-top: 8px;
  margin-bottom: 0;
  text-align: left;
}
@media (max-width: 720px) {
  .contact .wpcf7-form {
    grid-template-columns: 1fr;
  }
  .contact .wpcf7-form > .contact-form__item:nth-of-type(1),
  .contact .wpcf7-form > .contact-form__item:nth-of-type(2) {
    grid-column: 1;
  }
}
.contact .contact-form__item label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #99a1af;
  margin-bottom: 8px;
}
.contact .contact-form__item .required {
  color: #99a1af;
  margin-left: 2px;
}
.contact .contact-form__item input[type="text"],
.contact .contact-form__item input[type="email"],
.contact .contact-form__item select,
.contact .contact-form__item textarea {
  width: 100%;
  background-color: #f0f1f3;
  border: none;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  font-family: "Inter", "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171717;
  transition: all 0.3s ease;
  height: 50px;
}
.contact .contact-form__item select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2399a1af' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.contact .contact-form__item textarea {
  height: auto;
  min-height: 120px;
  resize: vertical;
}
.contact .contact-form__item input:focus,
.contact .contact-form__item select:focus,
.contact .contact-form__item textarea:focus {
  outline: none;
  background-color: #e8e9ec;
}
.contact .contact-form__item input::placeholder,
.contact .contact-form__item textarea::placeholder {
  color: #99a1af;
}
.contact .form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}
.contact .form-group {
  position: relative;
  margin-bottom: 32px;
}
.contact .form-label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1996px;
  text-transform: uppercase;
  color: #6a7282;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}
.contact .form-input,
.contact .form-textarea {
  width: 100%;
  background-color: #f8f8f9;
  border: none;
  border-bottom: 2px solid #e5e7eb;
  border-radius: 0;
  padding: 12px 16px;
  font-size: 14px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171717;
  transition: all 0.3s ease;
}
.contact .form-input:focus,
.contact .form-textarea:focus {
  outline: none;
  border-bottom-color: #0a0a0a;
  background-color: #f3f3f5;
}
.contact .form-input::placeholder,
.contact .form-textarea::placeholder {
  color: #6a7282;
}
.contact .form-input {
  height: 50px;
}
.contact .form-textarea {
  min-height: 100px;
  resize: none;
}
.contact .contact-footer {
  max-width: 900px;
  width: 100%;
  margin: 100px auto 0;
}
.contact .footer-divider {
  border-top: 1px solid #e5e7eb;
  margin-bottom: 24px;
}
.contact .contact-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.contact .contact-footer-label {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #99a1af;
  margin-bottom: 4px;
}
.contact .contact-footer-address {
  font-size: 14px;
  color: #4a5565;
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact .contact-footer-address:hover {
  color: #0a0a0a;
}
.contact .contact-footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.contact .contact-footer-icon {
  color: #99a1af;
  transition: color 0.2s ease;
}
.contact .contact-footer-icon:hover {
  color: #0a0a0a;
}
.contact .contact-footer-icon svg {
  display: block;
}
.contact .footer-text {
  font-size: 12px;
  color: #99a1af;
  text-align: center;
}
.contact .recaptcha-disclaimer {
  font-size: 10px;
  color: #c4c8ce;
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}
.contact .recaptcha-disclaimer a {
  color: inherit;
  text-decoration: underline;
}
.contact .recaptcha-disclaimer a:hover {
  color: #99a1af;
}

.grecaptcha-badge {
  visibility: hidden;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeInLetterSpacing {
  from {
    opacity: 0;
    letter-spacing: 8px;
  }
  to {
    opacity: 0.8;
    letter-spacing: 4.0496px;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUpScale {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes fadeInBlur {
  from {
    opacity: 0;
    filter: blur(4px);
    transform: translateY(20px);
  }
  to {
    opacity: 0.9;
    filter: blur(0);
    transform: translateY(0);
  }
}
@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
@keyframes waterScale {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}
@keyframes arrowMove {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

/*# sourceMappingURL=main.css.map */
