html {
  font-size: 1rem;
  font-family: "Sora", sans-serif;
  font-weight: 300;
  font-style: normal;
  background-color: #EBF3F7;
}

main {
  width: 100%;
  overflow: hidden;
}

section {
  padding: 5rem;
  margin-bottom: 5rem;
}
@media (max-width: 900px) {
  section {
    padding: 1.5rem;
  }
}

h2 {
  margin-bottom: 2rem;
  font-size: 4rem;
  font-weight: 200;
}
h2 small {
  font-size: 1.25rem;
}
@media (max-width: 900px) {
  h2 small {
    font-size: 0.875rem;
  }
}
@media (max-width: 900px) {
  h2 {
    font-size: 2.5rem;
  }
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: #1F2937;
}

p {
  line-height: 160%;
}
@media (max-width: 900px) {
  p {
    font-size: 0.875rem;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 1s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

header {
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 5rem;
  align-items: center;
}
header h1 a {
  transition: opacity 0.3s;
}
header h1 a:hover {
  opacity: 0.6;
}
header h1 a img {
  width: 100%;
  min-width: 10rem;
  max-width: 16.25rem;
}
header nav ul {
  display: flex;
  justify-content: end;
  gap: 1.5rem;
  align-items: center;
}
header nav ul li a {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
}
header nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -0.3125rem;
  left: 50%;
  width: 0;
  height: 0.1rem;
  background-color: #1F2937;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
header nav ul li a:hover::after {
  width: 100%;
}
header nav ul li a small {
  color: #6B7280;
}
@media (max-width: 900px) {
  header nav ul li a small {
    font-size: 0.5rem;
  }
}
@media (max-width: 900px) {
  header nav ul li a {
    font-size: 0.5rem;
  }
}
header nav ul li .contact-pill {
  padding: 0.75rem 1.5rem;
  border: 2px solid #1F2937;
  border-radius: 2rem;
  background-color: #1F2937;
  color: #EBF3F7;
  transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}
header nav ul li .contact-pill:hover {
  background-color: #FCFCFC;
  color: #1F2937;
  transform: translateY(-2px);
}
header nav ul li .contact-pill:hover .contact-small {
  color: #1F2937;
}
header nav ul li .contact-pill::after {
  display: none;
}
header nav ul li .contact-pill .contact-small {
  color: #EBF3F7;
}
@media (max-width: 900px) {
  header nav ul li .contact-pill {
    padding: 0.5rem 1rem;
  }
}
@media (max-width: 900px) {
  header nav ul {
    gap: 0.5rem;
  }
}
@media (max-width: 900px) {
  header {
    flex-direction: column;
    padding: 1.5rem 1rem;
  }
}

footer {
  padding: 5rem 5rem 1.5rem 5rem;
  background-color: #2F5D7E;
  color: #FCFCFC;
}
footer .footer-wrapper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
footer .footer-wrapper .brand {
  transition: opacity 0.3s;
}
footer .footer-wrapper .brand:hover {
  opacity: 0.6;
}
footer .footer-wrapper nav {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
footer .footer-wrapper nav a {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  padding-bottom: 0.25rem;
  color: #FCFCFC;
}
footer .footer-wrapper nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 0.1rem;
  background-color: #EBF3F7;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
footer .footer-wrapper nav a:hover::after {
  width: 100%;
}
@media (max-width: 900px) {
  footer .footer-wrapper nav {
    gap: 1rem;
    flex-wrap: wrap;
  }
}
@media (max-width: 900px) {
  footer .footer-wrapper {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
  }
}
footer hr {
  margin-bottom: 3rem;
}
@media (max-width: 900px) {
  footer hr {
    margin-bottom: 2rem;
  }
}
footer .footer-bottom {
  display: flex;
  justify-content: space-between;
}
footer .footer-bottom a {
  color: #FCFCFC;
  transition: opacity 0.3s;
}
footer .footer-bottom a:hover {
  opacity: 0.6;
}
@media (max-width: 900px) {
  footer .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
  }
}
@media (max-width: 900px) {
  footer {
    padding: 3.75rem 1.5rem 1.25rem;
  }
}

.hero {
  margin-bottom: 7.5rem;
  padding: 10rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(to bottom, #EBF3F7 0 50%, #2F5D7E 50% 100%);
}
.hero .hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(582px, 90vw);
  margin: 0 auto;
}
.hero .hero-logo .marina-logo,
.hero .hero-logo .portfolio-logo {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.hero .hero-logo .marina-logo.is-writing path,
.hero .hero-logo .portfolio-logo.is-writing path {
  fill: transparent;
  stroke: var(--path-color);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--path-length);
  stroke-dashoffset: var(--path-length);
  animation: draw-logo 0.7s ease forwards;
  animation-delay: var(--path-delay);
}
.hero .hero-logo .marina-logo.is-writing path.is-drawn,
.hero .hero-logo .portfolio-logo.is-writing path.is-drawn {
  fill: var(--path-color);
  stroke: transparent;
}
.hero .hero-logo .marina-logo {
  margin-bottom: 1.5rem;
}
.hero .hero-logo .portfolio-logo {
  width: 140%;
  max-width: none;
  margin-top: 1.5rem;
}
@media (max-width: 900px) {
  .hero {
    min-height: 100svh;
    margin-bottom: 4rem;
    padding: 6rem 1.25rem;
  }
  .hero .hero-logo {
    width: min(360px, 88vw);
  }
  .hero .hero-logo .marina-logo {
    width: 80%;
    margin-bottom: 1rem;
  }
  .hero .hero-logo .portfolio-logo {
    width: 100%;
    margin-top: 1rem;
  }
}

@keyframes draw-logo {
  to {
    stroke-dashoffset: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero .marina-logo.is-writing path,
  .hero .portfolio-logo.is-writing path {
    fill: var(--path-color);
    stroke: none;
    animation: none;
  }
}
@media (max-width: 900px) {
  .about h2 {
    display: flex;
    flex-direction: column;
  }
}
.about .profile-card {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
  height: auto;
  padding: 3rem;
  border-radius: 7.5rem;
  background-color: #FCFCFC;
}
.about .profile-card .profile-visual {
  width: 40%;
  align-items: center;
}
.about .profile-card .profile-visual img {
  width: 100%;
  min-width: 16.25rem;
}
@media (max-width: 900px) {
  .about .profile-card .profile-visual img {
    min-width: none;
  }
}
.about .profile-card .profile-visual p {
  text-align: center;
}
.about .profile-card .profile-visual p b {
  font-size: 2rem;
}
@media (max-width: 900px) {
  .about .profile-card .profile-visual p b {
    font-size: 1.5rem;
  }
}
@media (max-width: 900px) {
  .about .profile-card .profile-visual p {
    font-size: 0.625rem;
  }
}
.about .profile-card .profile-visual.fade-in {
  transition-delay: 0.6s;
}
@media (max-width: 900px) {
  .about .profile-card .profile-visual {
    width: calc(6.25% * 1rem / 1px);
  }
}
.about .profile-card .profile-copy {
  width: 60%;
}
.about .profile-card .profile-copy p {
  margin-bottom: 1rem;
}
@media (max-width: 900px) {
  .about .profile-card .profile-copy p {
    font-size: 0.875rem;
  }
}
.about .profile-card .profile-copy hr {
  margin: 2rem 0 2rem 0;
}
.about .profile-card .profile-copy dl {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
}
.about .profile-card .profile-copy dl dt, .about .profile-card .profile-copy dl dd {
  margin-bottom: 0.75rem;
}
.about .profile-card .profile-copy dl dt {
  font-weight: 400;
}
.about .profile-card .profile-copy dl dd {
  font-size: 0.75rem;
}
@media (max-width: 900px) {
  .about .profile-card .profile-copy dl {
    grid-template-columns: 5rem 1fr;
  }
}
.about .profile-card .profile-copy.fade-in {
  transition-delay: 1.2s;
}
@media (max-width: 900px) {
  .about .profile-card .profile-copy {
    width: 100%;
  }
}
@media (max-width: 900px) {
  .about .profile-card {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    padding-bottom: 4rem;
    border-radius: 2.5rem;
  }
}

.works .section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.works .section-title h2 {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .works .section-title h2 {
    display: flex;
    flex-direction: column;
  }
}
.works .section-title a {
  transition: opacity 0.3s;
}
.works .section-title a:hover {
  opacity: 0.6;
}
@media (max-width: 900px) {
  .works .section-title a {
    font-size: 0.75rem;
  }
}
.works .work-swiper {
  overflow: visible;
  padding: 0.5rem 0;
}
.works .work-swiper .swiper-wrapper {
  transition-timing-function: linear;
  gap: 1.5rem;
}
.works .work-swiper .work-card {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  width: 22.5rem;
  min-height: 25rem;
  padding: 1.5rem;
  border-radius: 3rem;
  background-color: #FCFCFC;
  color: inherit;
  text-decoration: none;
}
.works .work-swiper .work-card .laptop {
  width: 100%;
  height: auto;
  aspect-ratio: 103/60;
  -o-object-fit: cover;
     object-fit: cover;
}
.works .work-swiper .work-card .work-inner {
  padding: 1.5rem;
  text-align: left;
}
.works .work-swiper .work-card .work-inner h3 {
  margin: 0.5rem 0;
}
.works .work-swiper .work-card .work-inner p {
  margin: 0;
  font-size: 0.75rem;
}
@media (max-width: 900px) {
  .works .section-title {
    align-items: center;
  }
  .works .section-title h2 {
    font-size: 2.5rem;
  }
  .works .section-title h2 small {
    font-size: 0.875rem;
  }
  .works .work-swiper .swiper-wrapper {
    gap: 1rem;
  }
  .works .work-swiper .work-card {
    width: min(18.75rem, 100vw - 2.5rem);
    min-height: 22.5rem;
    padding: 1.25rem;
    border-radius: 2rem;
  }
  .works .work-swiper .work-card .work-inner {
    padding: 1.25rem 0.5rem 0.5rem;
  }
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.5rem;
}
.contact h2 {
  display: flex;
  flex-direction: column;
}
.contact p {
  margin-bottom: 2rem;
}
.contact .line-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1rem 5rem;
  background-color: #2F5D7E;
  color: #FCFCFC;
  border-radius: 6.25rem;
  font-size: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact .line-button img {
  display: block;
  width: 2rem;
  height: 2rem;
}
.contact .line-button:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 0.625rem 1.5625rem rgba(0, 0, 0, 0.15);
}
.contact .line-button:active {
  transform: translateY(-1px) scale(0.98);
}
@media (max-width: 900px) {
  .contact .line-button {
    padding: 0.75rem 2.5rem;
    font-size: 1rem;
  }
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.privacy-modal .privacy-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.privacy-modal .privacy-modal__content {
  position: relative;
  z-index: 1;
  width: min(800px, 100%);
  max-height: 80vh;
  overflow-y: auto;
  padding: 2.5rem;
  background: #FCFCFC;
  border-radius: 10px;
}

.privacy-modal.is-active {
  display: flex;
}

.privacy-modal__close {
  position: absolute;
  top: 0.9375rem;
  right: 0.9375rem;
  border: none;
  background: none;
  font-size: 1.875rem;
  cursor: pointer;
}

.works-page {
  width: min(100% - 5rem, 75rem);
  margin: 0 auto;
  padding: 8rem 0 2.5rem;
}
.works-page__heading {
  margin: 0 0 0.75rem;
  font-size: 3.375rem;
  letter-spacing: 0.04em;
  line-height: 1;
}
.works-page__heading small {
  margin-left: 0.625rem;
  font-size: 0.75rem;
  letter-spacing: 0;
}
.works-page__lead {
  margin: 0 0 3rem;
  line-height: 1.9;
}
.works-page__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}

.work-card {
  overflow: hidden;
  padding: 2rem 1rem;
  background: #FCFCFC;
  border-radius: 1.25rem;
  box-shadow: 0 8px 22px rgba(82, 113, 128, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.work-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1.72/1;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.work-card__body {
  padding: 0 1.375rem 1.375rem;
}
.work-card__tag {
  display: inline-block;
  margin-bottom: 7px;
  padding: 3px 7px;
  border-radius: 2px;
  background: #EBF3F7;
  color: #2F5D7E;
  font-size: 0.5rem;
  line-height: 1;
}
.work-card__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: #1F2937;
}
.work-card__meta {
  margin: 0;
  font-size: 0.5rem;
  line-height: 1.6;
  color: #6B7280;
}
.work-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 15px 35px rgba(82, 113, 128, 0.18);
}

@media (max-width: 900px) {
  .works-page {
    width: min(100% - 2rem, 37.5rem);
  }
  .works-page__lead {
    margin-bottom: 2rem;
  }
  .works-page__grid {
    grid-template-columns: 1fr;
    gap: 1.375rem;
  }
}
.work-detail {
  width: min(100% - 5rem, 75rem);
  margin: 0 auto;
  padding: 8rem 0 6.25rem;
}
.work-detail__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 28.125rem;
  margin-bottom: 2.5rem;
  padding: 2.5rem 0;
  background-color: #FCFCFC;
  border-radius: 1.25rem;
  overflow: hidden;
}
.work-detail__visual img {
  display: block;
  width: 80%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.work-detail__content {
  padding: 0 2.5rem;
}
.work-detail__content.fade-in {
  transition-delay: 0.6s;
}
.work-detail__category {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: 0.1875rem;
  background-color: rgba(47, 93, 126, 0.1216);
  color: #1F2937;
  font-size: 0.625rem;
  line-height: 1;
}
.work-detail__title {
  margin: 0 0 0.5rem;
  color: #1F2937;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
}
.work-detail__meta {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
}
.work-detail__text {
  margin: 0 0 1.25rem;
  color: #1F2937;
  font-size: 0.8125rem;
  line-height: 2;
}
.work-detail__url {
  margin: 0;
  color: #1F2937;
  font-size: 0.75rem;
}
.work-detail__url a {
  color: #1F2937;
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
  transition: opacity 0.3s ease;
}
.work-detail__url a:hover {
  opacity: 0.6;
}
.work-detail__back {
  margin-top: 3.75rem;
  padding: 0 2.5rem;
}
.work-detail__back.fade-in {
  transition-delay: 0.6s;
}
.work-detail__back a {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  color: #1F2937;
  font-size: 0.6875rem;
  transition: opacity 0.3s ease;
}
.work-detail__back a:hover {
  opacity: 0.6;
}
.work-detail__back a span {
  font-size: 0.875rem;
}
@media (max-width: 900px) {
  .work-detail {
    width: min(100% - 2rem, 37.5rem);
  }
  .work-detail__visual {
    height: 15rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-radius: 0.875rem;
  }
  .work-detail__visual img {
    width: 95%;
  }
  .work-detail__content {
    padding: 0;
  }
  .work-detail__category {
    margin-bottom: 0.625rem;
    font-size: 0.5625rem;
  }
  .work-detail__title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }
  .work-detail__text {
    font-size: 0.75rem;
    line-height: 1.9;
  }
  .work-detail__url {
    font-size: 0.625rem;
    overflow-wrap: anywhere;
  }
  .work-detail__back {
    margin-top: 2.5rem;
    padding: 0;
  }
  .work-detail__back a {
    font-size: 0.625rem;
  }
}/*# sourceMappingURL=style.css.map */