@charset "UTF-8";
/* -----共通----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Crucial for Safari/Responsive layout */
}

html, body {
  overflow-x: hidden; /* Prevent ANY horizontal scroll */
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

html {
  font-size: 16px;
}
@media screen and (max-width: 767px) {
  html {
    font-size: 10px;
  }
}
@media screen and (max-width: 500px) {
  html {
    font-size: 8px; /* Slightly larger base font for better readability */
  }
}

body {
  color: black;
  background-color: #AA8978;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

#works, #portfolio, #about-detail, #contact-content, #works-content {
  background-color: rgba(170, 137, 120, 0.7);
  position: relative;
  z-index: 10;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 5%;
  padding-right: 5%;
}

.flex {
  display: flex;
}

/* -----index.html----- */
/* -----header----- */
header {
  transition: all 0.4s ease;
  pointer-events: none; /* nav以外の領域で下の要素を押せるようにする */
}
header .content .header {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  padding: 1rem 2rem;
  z-index: 1000;
  transition: all 0.4s ease;
}
header .content .header nav {
  background-color: transparent;
  border-radius: 50px;
  pointer-events: auto; /* nav自体はクリック可能にする */
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  transform-origin: top right;
  padding: 0 1.5rem;
}
header .content .header nav ul {
  display: flex;
  gap: 3rem;
  padding: 0.8rem 0;
  transition: all 0.4s ease;
}
header .content .header nav ul li a {
  font-size: 2.5rem;
  font-family: Caveat;
  color: black;
  opacity: 0.7;
  transition: all 0.3s ease;
  display: block;
}
header .content .header nav ul li a:hover {
  opacity: 1;
}

/* スクロール時に小さくなるスタイル */
header.scrolled .content .header nav {
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: scale(0.5); /* 半分に縮小 */
  opacity: 0.4; /* 少し薄くする */
}

/* ポインターを乗せたら広がる（元のサイズに戻る）スタイル */
header.scrolled .content .header nav:hover {
  transform: scale(1); /* 100%に戻る */
  opacity: 1; /* はっきり表示 */
  background-color: rgba(255, 255, 255, 0.95); /* 少し白を強くして見やすくする */
}

/* -----fv----- */
.fv {
  height: 100vh;
  height: 100svh; /* For mobile Safari */
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.fv .mainvisual {
  position: fixed;
  background-image: url(../img/凪２.jpg);
  background-position: center;
  background-size: 80%;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  top: 0;
  left: 0;
  z-index: -100;
  opacity: 0.5;
}
.fv .maintext {
  position: relative; /* Changed from absolute to flow naturally or be centered by flex */
  width: 100%;
  text-align: center;
}
.fv .maintext .up {
  width: 100%;
  text-align: center;
}
.fv .maintext .up p {
  font-size: 4rem;
  font-family: Caveat Brush;
  letter-spacing: 1.25rem;
  text-indent: 1.25rem;
  text-align: center;
}
.fv .maintext .under {
  width: 100%;
  text-align: center;
}
.fv .maintext .under p {
  font-size: 2rem;
  font-family: Caveat;
  letter-spacing: 0.3rem;
  text-indent: 0.3rem;
  text-align: center;
}

/* -----scrolldown----- */
.scrolldown {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.scrolldown span {
  display: block;
  font-family: Caveat, cursive;
  font-size: 1.25rem;
  letter-spacing: 0.2rem;
  writing-mode: vertical-rl;
  padding-bottom: 60px;
  position: relative;
}
.scrolldown span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 50px;
  background: black;
  animation: scroll-line 2s cubic-bezier(0.76, 0, 0.3, 1) infinite;
}

@keyframes scroll-line {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/* -----works----- */
#works {
  margin-top: max(100rem, 120svh);
}
@media screen and (max-width: 767px) {
  #works {
    margin-top: 100vh;
    margin-top: 120svh; /* Increased buffer for mobile UI and fixed image */
  }
}
#works .title {
  font-size: 2.5rem;
  text-align: center;
  font-family: Caveat Brush;
  letter-spacing: 1rem;
  padding: 5rem 0 3rem;
}
#works ul {
  display: flex;
  justify-content: center;
  padding: 0 3.75rem 5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
#works ul li {
  width: calc((100% - 2rem) / 3);
}
@media screen and (max-width: 1439px) {
  #works ul li {
    width: calc((100% - 1rem) / 2);
  }
}
@media screen and (max-width: 1079px) {
  #works ul li {
    width: 100%;
  }
}
#works ul li a {
  color: black;
  font-family: "RocknRoll One", sans-serif;
}
#works ul li a .img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
#works ul li a .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#works ul li a .text {
  letter-spacing: 0.2rem;
  padding: 0.7rem 1rem;
}
#works ul li a .text .ttl {
  font-size: 1rem;
}
@media screen and (max-width: 1079px) {
  #works ul li a .text .ttl {
    font-size: 1.75rem;
  }
}
@media screen and (max-width: 899px) {
  #works ul li a .text .ttl {
    font-size: 1.5rem;
  }
}
#works ul li a .text .language {
  padding: 0.8rem 0;
  font-size: 0.6rem;
}
@media screen and (max-width: 1079px) {
  #works ul li a .text .language {
    font-size: 1rem;
  }
}
@media screen and (max-width: 899px) {
  #works ul li a .text .language {
    font-size: 0.75rem;
  }
}
#works ul li .pc_secret {
  display: none;
}
@media screen and (max-width: 1439px) {
  #works ul li .pc_secret {
    display: block;
  }
}
@media screen and (max-width: 1439px) {
  #works ul li .pc {
    display: none;
  }
}

/* -----portfolio----- */
#portfolio .title, #about-detail .title {
  font-size: 2.5rem;
  text-align: center;
  font-family: Caveat Brush;
  letter-spacing: 1rem;
  padding: 5rem 0 3rem;
}
#portfolio ul {
  display: flex;
  justify-content: center;
  padding: 0 3.75rem 5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
#portfolio ul li {
  width: calc((100% - 2rem) / 3);
}
@media screen and (max-width: 1439px) {
  #portfolio ul li {
    width: calc((100% - 1rem) / 2);
  }
}
@media screen and (max-width: 1079px) {
  #portfolio ul li {
    width: 100%;
  }
}
#portfolio ul li a {
  color: black;
  font-family: "RocknRoll One", sans-serif;
}
#portfolio ul li a .img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF; /* Fallback */
}

/* Individual Background Colors to match mockups */
#portfolio ul li a.portfolio-1 .img { background-color: #E5D1C6; }
#portfolio ul li a.portfolio-2 .img { background-color: #8B0000; }
#portfolio ul li a.portfolio-3 .img { background-color: #f3eee3; }
#portfolio ul li a.portfolio-4 .img { background-color: #0d1b3e; }
#portfolio ul li a.portfolio-5 .img { background-color: #b2aba4; }
#portfolio ul li a.portfolio-6 .img { background-color: #556B2F; }

#portfolio ul li a .img img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Combined with padding to prevent cutoff but look like cover due to bg color */
  padding: 8%; /* Increased padding to ensure iPhone is safe */
}
#portfolio ul li a .text {
  letter-spacing: 0.2rem;
  padding: 0.7rem 1rem;
}
#portfolio ul li a .text .ttl {
  font-size: 1rem;
}
@media screen and (max-width: 1079px) {
  #portfolio ul li a .text .ttl {
    font-size: 1.75rem;
  }
}
@media screen and (max-width: 899px) {
  #portfolio ul li a .text .ttl {
    font-size: 1.5rem;
  }
}
#portfolio ul li a .text .language {
  padding: 0.8rem 0;
  font-size: 0.6rem;
}
@media screen and (max-width: 1079px) {
  #portfolio ul li a .text .language {
    font-size: 1rem;
  }
}
@media screen and (max-width: 899px) {
  #portfolio ul li a .text .language {
    font-size: 0.75rem;
  }
}

/* -----footer----- */
footer .name {
  background-color: #000000;
  padding: 2rem 0;
}
footer .name p {
  text-align: center;
  font-size: 1.5rem;
  color: #AA8978;
  font-family: Caveat Brush;
  letter-spacing: 0.2rem;
}

/* -----work-page1.html----- */
/* -----works1----- */
#works1 .wrapper {
  padding-top: 6rem;
}
#works1 .wrapper .mainvisual {
  padding-bottom: 4rem;
}
#works1 .wrapper .mainvisual .img {
  text-align: center;
}
#works1 .wrapper .mainvisual .img img {
  width: 100%;
}
#works1 .wrapper .title {
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem 6rem 2rem;
}
#works1 .wrapper .title .left {
  font-size: 1.25rem;
  font-family: "RocknRoll One";
  padding-right: 1.75rem;
  letter-spacing: 0.2rem;
}
#works1 .wrapper .title .right {
  font-size: 1rem;
  font-family: Caveat Brush;
  padding: 1rem 0 1rem 2rem;
  border-left: 1px solid #FFDBB7;
  letter-spacing: 0.2rem;
}
#works1 .wrapper .mainsentence {
  font-size: 1.15rem;
  font-family: "RocknRoll One";
  padding: 0 2rem 7rem 2rem;
  letter-spacing: 0.2rem;
}
#works1 .wrapper .mainsentence .site_jump{
  text-decoration: underline;
}
#works1 .wrapper ul li {
  padding-bottom: 2rem;
}
#works1 .wrapper ul li .list-text {
  font-size: 1.15rem;
  font-family: "RocknRoll One";
  padding-bottom: 1rem;
}
#works1 .wrapper ul li .list-img {
  width: 100%;
}
#works1 .wrapper ul li .list-img img {
  width: 100%;
}
#works1 .wrapper ul li .list-title {
  font-size: 1.3rem;
  font-family: "RocknRoll One";
  padding-bottom: 1rem;
}
#works1 .wrapper ul li .comment {
  font-size: 1.15rem;
  font-family: "RocknRoll One";
  padding: 1rem 0.5rem;
  margin-bottom: 5rem;
}

/* -----about.html----- */
#about-detail .wrapper {
  padding-top: 0;
  padding-bottom: 10rem;
}
.about-container {
  display: flex;
  gap: 5rem;
  align-items: flex-start;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 4rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}
.profile-img {
  flex: 0 0 300px;
}
.profile-img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
}
.profile-text {
  flex: 1;
  font-family: "RocknRoll One", sans-serif;
  color: black;
}
.profile-text .name-ja h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.profile-text .name-en {
  font-family: Caveat;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}
.profile-text .description p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.profile-text .skills {
  margin-top: 3rem;
}
.profile-text .skills h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #000;
  display: inline-block;
}
.profile-text .skills ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.profile-text .skills ul li {
  background: #000;
  color: #AA8978;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.9rem;
}

@media screen and (max-width: 767px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding: 3rem 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word; /* Ensure text breaks */
  }
  .profile-img {
    flex: 0 0 150px;
    width: 150px;
  }
  .profile-text {
    text-align: center;
    width: 100%;
  }
  .profile-text .description p {
    text-align: left; /* Keep long text readable */
    word-break: break-all;
  }
  .profile-text .skills ul {
    justify-content: center;
  }
}

/* -----contact.html----- */
#contact-content .wrapper {
  padding-top: 10rem;
  padding-bottom: 10rem;
}
.contact-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 4rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}
.contact-header {
  text-align: center;
  margin-bottom: 4rem;
  font-family: "RocknRoll One", sans-serif;
  line-height: 1.8;
  font-size: 1.1rem;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}
.contact-card {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 2.5rem;
  border-radius: 1rem;
  text-decoration: none;
  color: #000;
  transition: all 0.3s ease;
  font-family: "RocknRoll One", sans-serif;
  border: 2px solid transparent;
}
.contact-card:hover {
  background-color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: #AA8978;
}
.contact-card.insta-card:hover {
  border-color: #E1306C; /* インスタグラデーション風の近似色 */
}
.card-icon {
  font-size: 3rem;
  margin-right: 2rem;
  line-height: 1;
}
.card-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  opacity: 0.8;
}
.contact-value {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 0.1rem;
  margin-bottom: 0.5rem;
  color: #333;
}
.contact-note {
  font-size: 0.9rem;
  opacity: 0.7;
}

@media screen and (max-width: 767px) {
  .contact-container {
    padding: 3rem 2rem;
  }
  .contact-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  .card-icon {
    margin-right: 0;
    margin-bottom: 1rem;
    font-size: 2.5rem;
  }
  .contact-value {
    font-size: 1.5rem;
  }
}

/* -----works.html (subscription)----- */
#works-content .wrapper {
  padding-top: 10rem;
  padding-bottom: 10rem;
}
.subscription-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 4rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  color: #000;
  font-family: "RocknRoll One", sans-serif;
}
.subscription-container .intro {
  text-align: center;
  margin-bottom: 4rem;
}
.subscription-container .intro h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #000;
  display: inline-block;
  padding-bottom: 0.5rem;
}
.subscription-container .intro p {
  font-size: 1.1rem;
  line-height: 1.6;
}
.plan-details {
  margin-bottom: 5rem;
}
.plan-card {
  background-color: rgba(255, 255, 255, 0.4);
  padding: 3rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
}
.plan-card h3 {
  font-family: 'Caveat Brush', cursive;
  font-size: 2rem;
  margin-bottom: 2rem;
  letter-spacing: 0.1rem;
}
.plan-card .price {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.plan-card .price-item {
  display: flex;
  flex-direction: column;
}
.plan-card .price-item span {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}
.plan-card .price-item strong {
  font-size: 2.5rem;
  color: #8c6a59;
}
.plan-card .price-item strong span {
  font-size: 1.2rem;
  margin-left: 0.2rem;
}
.plan-card .price-item strong small {
  font-size: 0.9rem;
  font-weight: normal;
  margin-left: 0.2rem;
}
.plan-features {
  text-align: left;
  display: inline-block;
  margin-bottom: 3rem;
}
.plan-features li {
  margin-bottom: 0.8rem;
  padding-left: 1.8rem;
  position: relative;
  font-size: 1.05rem;
}
.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #8c6a59;
  font-weight: bold;
  font-size: 1.2rem;
}
.plan-features li strong {
  border-bottom: 2px solid #8c6a59;
}
.referral-box {
  background-color: rgba(255, 255, 255, 0.6);
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: left;
}
.referral-box h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #8c6a59;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.referral-box p {
  line-height: 1.6;
}

.flow-section h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}
.flow-section h3::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #000;
  margin-top: 0.5rem;
}
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}
.flow-steps::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  background-color: #AA8978;
}
.step {
  display: flex;
  align-items: flex-start;
  position: relative;
}
.step-num {
  background-color: #AA8978;
  color: #fff;
  font-family: 'Caveat Brush', cursive;
  font-size: 1.2rem;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  letter-spacing: 0.05rem;
}
.step-content {
  background-color: rgba(255, 255, 255, 0.4);
  padding: 1.8rem 2rem;
  border-radius: 0.5rem;
  margin-left: 2rem;
  flex-grow: 1;
}
.step-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #000;
}
.step-content p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

@media screen and (max-width: 767px) {
  .subscription-container {
    padding: 3rem 2rem;
  }
  .subscription-container .intro h2 {
    font-size: 1.5rem;
  }
  .plan-card {
    padding: 2rem 1.5rem;
  }
  .plan-card .price {
    flex-direction: column;
    gap: 1.5rem;
  }
  .plan-features {
    display: block;
  }
  .flow-steps::before {
    left: 25px;
  }
  .step-num {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  .step-content {
    margin-left: 1rem;
    padding: 1rem 1.5rem;
  }
}

/* アニメーション用クラス */
.js-fadein {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.js-fadein.show {
  opacity: 1;
  transform: translateY(0);
}
/*# sourceMappingURL=style2.css.map */
