@charset "UTF-8";
html {
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: #787878;
}

.p-postSlider {
  display: none;
}

.inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 30px 50px;
}
@media screen and (max-width: 768px) {
  .inner {
    padding: 0 15px;
  }
}

.top #content {
  padding-top: 80px;
  padding-bottom: 50px;
}
@media screen and (max-width: 768px) {
  .top #content {
    padding-top: 40px;
  }
}

.l-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 30px 50px;
}
@media screen and (max-width: 768px) {
  .l-content {
    padding: 0 15px;
  }
}

.l-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.section__title {
  font-size: clamp(2rem, 1.773rem + 1.14vw, 2.625rem);
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  background: #fff5e5;
  color: #787878;
  border-radius: 25% 70% 25% 30%;
  width: 400px;
  height: 400px;
  max-width: 100%;
  max-height: 100%;
  padding: 160px 20px 10px;
}
@media screen and (max-width: 1050px) {
  .section__title {
    width: 250px;
    height: 250px;
    padding: 70px 10px 10px;
  }
}

.aboutme__box {
  width: 850px;
  max-width: 100%;
  margin-left: 80px;
}
@media screen and (max-width: 1050px) {
  .aboutme__box {
    margin-left: 20px;
  }
}
@media screen and (max-width: 768px) {
  .aboutme__box {
    margin-left: 0;
  }
}

.aboutme__text {
  color: #787878;
  line-height: 2;
  margin-top: -80px;
}
@media screen and (max-width: 1050px) {
  .aboutme__text {
    margin-top: -70px;
  }
}

.aboutme-skil {
  margin-top: 20px;
  color: #787878;
}
@media screen and (max-width: 820px) {
  .aboutme-skil {
    margin-top: 10px;
  }
}

.aboutme-skil__title {
  font-weight: bold;
  line-height: 1.8;
}

.aboutme__img {
  margin-top: -100px;
  float: right;
  width: 500px;
  height: 500px;
  border-radius: 50% 70% 40% 30%;
  background: #fff5e5;
  padding: 80px 10px 20px 55px;
  shape-outside: ellipse(48% 44% at 50% 50%); /* 楕円でテキストを避ける */
  shape-margin: 16px;
}
@media screen and (max-width: 820px) {
  .aboutme__img {
    margin-top: -70px;
    padding: 70px 10px 20px 60px;
    margin-top: 10px;
  }
}
.aboutme__img img {
  width: 400px;
  height: 400px;
  border-radius: 20% 60% 40% 30%;
}
@media screen and (max-width: 768px) {
  .aboutme__img img {
    width: 350px;
    height: 350px;
  }
}

/* ===== reveal（既存の[data-animate]ベースを使う前提で「画像だけ」例外処理） ===== */
/* 画像のコンテナ(.aboutme__img)は動かさない＝floatの形状を保つ */
.aboutme__img[data-animate=slide-in-right] {
  transform: none !important; /* コンテナは固定 */
  opacity: 1; /* 不透明にしておく（中身で制御） */
}

/* 中身だけを右からフェードイン（レイアウトに影響しない） */
.aboutme__img[data-animate=slide-in-right] > * {
  transform: translateX(var(--reveal-dist, 64px));
  opacity: 0;
  transition: transform var(--reveal-dur, 900ms) var(--reveal-ease, cubic-bezier(0.22, 0.61, 0.36, 1)), opacity var(--reveal-dur, 900ms) var(--reveal-ease, cubic-bezier(0.22, 0.61, 0.36, 1));
}

.aboutme__img.is-inview > * {
  transform: none;
  opacity: 1;
}

/* アニメ完了後にスタッキングのクセを消す（重なり予防） */
[data-animate].reveal-done {
  transform: none !important;
  will-change: auto;
}

/* 画面酔い配慮 */
@media (prefers-reduced-motion: reduce) {
  [data-animate], .aboutme__img[data-animate=slide-in-right] > * {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
}
.portfolio {
  margin-top: 350px;
}
@media screen and (max-width: 820px) {
  .portfolio {
    margin-top: 555px;
  }
}

.portfolio__box {
  width: 850px;
  max-width: 100%;
  margin-left: 80px;
  margin-top: 50px;
}
@media screen and (max-width: 1050px) {
  .portfolio__box {
    margin-left: 20px;
  }
}
@media screen and (max-width: 768px) {
  .portfolio__box {
    margin-left: 0;
  }
}
@media screen and (max-width: 660px) {
  .portfolio__box {
    margin-top: 0;
  }
}

.portfolio__text {
  color: #787878;
  line-height: 2;
  margin-top: -150px;
  font-size: clamp(0.75rem, 0.659rem + 0.45vw, 1rem);
}
@media screen and (max-width: 1050px) {
  .portfolio__text {
    margin-top: -70px;
  }
}
.portfolio__text a {
  font-weight: bold;
  border-bottom: 5px solid white;
}

.portfolio__content {
  margin-top: 100px;
  position: relative;
  --pf-peek: clamp(16px, 6vw, 120px); /* 両端チラ見せ量 */
  --pf-gap: clamp(16px, 3vw, 32px); /* カード間の隙間 */
  --pf-radius: 16px;
}
@media screen and (max-width: 820px) {
  .portfolio__content {
    margin-top: 65px;
  }
}

@media (max-width: 480px) {
  .portfolio__content {
    --pf-peek: clamp(12px, 4vw, 40px);
  }
}
.portfolio__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: var(--pf-peek);
  scroll-padding-inline: var(--pf-peek); /* ← snapの基準をパディングに合わせる */
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30px, #000 calc(100% - 30px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 30px, #000 calc(100% - 30px), transparent);
}

.portfolio__viewport::-webkit-scrollbar {
  display: none;
}

.portfolio__viewport.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none; /* ドラッグ中は吸着を一時OFFで滑らかに */
}

.portfolio__list {
  display: flex;
  align-items: center;
  text-align: center;
}

.portfolio__item {
  flex: 0 0 calc(100% - var(--pf-peek) * 2); /* いつでも1枚だけドン！ */
  scroll-snap-align: center;
  color: #787878;
  background: #fff5e5;
  border-radius: var(--pf-radius);
  padding: clamp(16px, 3vw, 28px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transform: scale(0.92);
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
}
@media screen and (max-width: 650px) {
  .portfolio__item {
    padding: 10px;
  }
}

.portfolio__item.is-active {
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.portfolio__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.portfolio__item-box {
  margin-top: 25px;
}
@media screen and (max-width: 650px) {
  .portfolio__item-box {
    margin-top: 15px;
  }
}

.portfolio__item-heading {
  font-size: clamp(1.125rem, 0.9rem + 0.7vw, 1.5rem);
  text-align: left;
}
@media screen and (max-width: 820px) {
  .portfolio__item-heading {
    text-align: left;
  }
}

.portfolio__item-text {
  margin-top: 20px;
  font-size: clamp(0.75rem, 0.659rem + 0.45vw, 1rem);
  text-align: left;
}
@media screen and (max-width: 820px) {
  .portfolio__item-text {
    margin-top: 15px;
    text-align: left;
    padding: 0 5px;
  }
}
@media screen and (max-width: 670px) {
  .portfolio__item-text {
    overflow: hidden;
  }
}

.portfolio__item-text + .portfolio__item-text {
  margin-top: 10px;
}

.portfolio__item-url {
  display: block;
  margin-top: 10px;
  font-size: clamp(0.75rem, 0.659rem + 0.45vw, 1rem);
  text-align: left;
}
@media screen and (max-width: 820px) {
  .portfolio__item-url {
    margin-top: 15px;
    padding: 0 5px;
  }
}

.portfolio__item-pw {
  display: block;
  margin-top: 10px;
  font-size: clamp(0.75rem, 0.659rem + 0.45vw, 1rem);
  text-align: left;
}
@media screen and (max-width: 820px) {
  .portfolio__item-pw {
    margin-top: 15px;
    padding: 0 5px;
  }
}

.form {
  margin-top: 95px;
  font-family: "Montserrat", sans-serif;
}

.form__title {
  text-align: center;
  font-size: clamp(2rem, 1.773rem + 1.14vw, 2.625rem);
  color: #787878;
}
@media screen and (max-width: 600px) {
  .form__title {
    text-align: left;
  }
}

.form__text {
  font-family: "Montserrat", sans-serif;
  text-align: center;
  margin-top: 20px;
  font-size: clamp(0.875rem, 0.83rem + 0.23vw, 1rem);
  color: #787878;
}
@media screen and (max-width: 600px) {
  .form__text {
    text-align: left;
  }
}/*# sourceMappingURL=custom.css.map */