/*
Theme Name: Portfolio Nagaoka
Author: CHIHO
Version: 1.0
*/

@charset "UTF-8";

/* ======================================
   HOME
====================================== */
.HOME {
  padding: 45px 0 120px;
}
.home__inner {
  position: relative;
  height: 667px;
}
.home__bg {
  width: 59%;
  position: relative;
  margin-left: auto;
  overflow: hidden;
  z-index: -100;
}
.home__img {
  height: 100%;
  width: 100%;
  border-radius: 48px 0 0 48px;
  object-fit: cover;
}
.home__catchcopy {
  position: absolute;
  font-size: 4rem;
  top: 32%;
  left: 17%;
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.75;
  transform: translateY(-50%);
  margin: 0 0 0 0;
}
.home__title {
  position: absolute;
  bottom: 6%;
  left: 17%;
  z-index: 100;
}
.home__name {
  font-size: 12rem;
  color: var(--color-accent);
  line-height: 1;
  margin: 0;
  opacity: 0.6;
}
.home__sentence {
  font-size: 7rem;
  color: var(--color-accent);
  line-height: 1;
  opacity: 0.6;
  margin: 0;
}
.line {
  max-width: 100px;
  max-height: 284px;
  margin: 56px auto;
  opacity: 0;
  transition: all 2s;
  color: var(--color-accent);
}
.fadeIn {
  opacity: 1;
}
.paperflight__photo {
  width: 50%;
  max-width: 350px;
  position: absolute;
  top: 32%;
  right: 0%;
  animation: floatX 70s linear forwards;
}
.paperflight__photo img {
  animation: floatY 3s ease-in-out infinite alternate-reverse;
}

/* 紙飛行機アニメーション */
@keyframes floatX {
  0% {
    transform: translateX(0) rotate(5deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateX(-120vw) rotate(-8deg);
    opacity: 0;
  }
}
@keyframes floatY {
  0% {
    transform: translateY(-10%) rotate(3deg);
  }
  100% {
    transform: translateY(10%) rotate(-3deg);
  }
}

@media screen and (max-width: 1500px) {
  .home__inner {
    position: relative;
    height: auto;
  }

  .home__name {
    font-size: 6rem;
  }
  .home__sentence {
    font-size: 3rem;
  }

  .circle__blue {
    z-index: 100;
    width: 101px;
    height: 101px;
    left: 0;
  }
  .circle__orange {
    z-index: 100;
    width: 101px;
    height: 101px;
  }
}
@media screen and (max-width: 768px) {
  .home__inner {
    height: auto;
  }
  .home__bg {
    width: 100%;
  }
  .home__img {
    width: 100%;
    height: 667px;
    object-fit: cover;
    border-radius: 0;
    display: block;
  }
  .home__catchcopy {
    font-size: 2.5rem;
    left: 8%;
  }
  .home__title {
    top: 67%;
    left: 8%;
    right: 8%;
  }
  .home__name {
    font-size: 2.9rem;
    margin-bottom: 10px;
  }
  .home__sentence {
    font-size: 2.5rem;
  }
  .line {
    max-width: 28px;
    max-height: 80px;
    margin: 40px auto;
  }
}

/* ======================================
   ABOUT
====================================== */
.about {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}
.about__inner {
  max-width: 642px;
  width: 100%;
  position: relative;
  margin-bottom: var(--margin-section);
}
.text__bg {
  text-align: center;
  padding-bottom: 64px;
}

.about__img {
  padding-bottom: 40px;
}
.about__pc_img {
  width: 640px;
  height: 480px;
  border-radius: 48px;
  object-fit: cover;
}
.about__sentence {
  font-size: var(--fs-text);
  font-family: var(--font-sans);
  padding-bottom: 40px;
  margin: 0 0 0 0;
  text-align: center;
}

.about__inner .circle__blue {
  top: 70%;
  left: 90%;
  z-index: -100;
}
.about__inner .circle__orange {
  top: 11%;
  left: -8%;
  z-index: -100;
}
.about__sp_img {
  display: none;
}
@media screen and (max-width: 768px) {
  .about__pc_img {
    display: none;
  }
  .about__sp_img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
  }
  .about__sentence {
    text-align: left;
    width: 92%;
    margin: 0 auto;
  }
  .about__inner {
    margin-bottom: var(--margin-sp-section);
  }
  .about {
    padding-top: 20px;
    margin: -20px auto 0;
  }
}
/* ======================================
   SKILL
====================================== */

.skill__inner {
  margin-bottom: var(--margin-section);
}
.skill__inner .circle__orange {
  top: 0%;
  left: 52%;
}
.skill__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 180px;
  row-gap: 100px;
}
.skill__item {
  max-width: 409px;
  width: 100%;
  margin: 0 auto;
}
.skill__circle {
  background: #ff853c;
  border-radius: 50%;
  display: flex;
  position: relative;
  aspect-ratio: 1;
}
.skill__img img {
  max-width: 219px;
  width: 53%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.skill__circle span {
  position: absolute;
  left: 4%;
  top: 5%;
  writing-mode: vertical-rl;
  font-size: 2.6rem;
  padding-bottom: 8px;
}
.skill__circle span::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: calc(381px - 100%);
  background-color: #333333;
}
.skill__img img {
  width: 220px;
}
.skill__text {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.skill__title {
  font-size: 2.6rem;
  font-family: var(--font-sans);
  padding: 40px 0 16px 0;
  margin: 0 0 0 0;
}
.skill__sentence {
  font-size: var(--fs-text);
  font-family: var(--font-sans);
  padding-bottom: 50px;
  margin: 0 0 0 0;
}
.skill__tool {
  font-size: var(--fs-text);
  font-family: var(--font-sans);
  display: inline;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
  text-decoration-color: #333333;
  margin: 0 0 0 0;
}
@media screen and (max-width: 768px) {
  .skill__inner {
    margin-bottom: var(--margin-sp-section);
  }
  .skill__list {
    flex-direction: column;
    align-items: center;
  }
  .skill__item {
    max-width: 215px;
    width: 100%;
  }
  .skill__circle span {
    font-size: var(--fs-text);
  }
  .skill__img img {
    max-width: 130px;
  }
  .skill__title {
    padding: 30px 0;
    font-size: 20px;
  }
  .skill__sentence {
    padding-bottom: 0 0 30px;
    font-size: 18px;
  }
  .skill__tool {
    font-size: 10px;
  }
  .skill__circle span::after {
    height: calc(205px - 100%);
  }
  .skill {
    padding-top: 20px;
    margin-top: -20px;
  }
}
/* ======================================
   WORKS
====================================== */

.works__inner {
  width: 100%;
  position: relative;
  margin-bottom: var(--margin-section);
}
.works__inner .circle__blue {
  top: 0%;
  left: 44%;
  z-index: -100;
}
.works__list {
  display: flex;
  align-items: center;
  justify-content: center;
}
.works__item {
  padding: 0 10px;
  max-width: 429px;
}
.works__item img {
  display: flex;
  height: 230px;
  width: 429px;
  align-items: center;
  background: #e4d7d7;
  object-fit: scale-down;
}
.slick-dots {
  bottom: -56px !important;
  font-size: 4px;
}
.slick-dots li {
  margin: 0 20px !important;
}
.works__inner .btn {
  margin-top: 76px;
}
@media screen and (max-width: 768px) {
  .works__inner {
    margin-bottom: var(--margin-sp-section);
  }
  .works {
    padding-top: 20px;
    margin-top: -20px;
  }
  .slick-dots li {
    margin: 0 5px !important;
  }
}

/* ======================================
   CONTACT
====================================== */

.contact__inner {
  margin-bottom: 160px;
}
.contact__inner .circle__orange {
  top: -3%;
  left: 51%;
}
.contact_Info {
  font-size: var(--fs-text);
  padding-bottom: 104px;
  line-height: 1.75;
  margin: 0 0 0 0;
  font-family: var(--font-sans);
}
.contact_inquiry {
  padding-bottom: 46px;
}
.contact_inquiry label {
  font-size: var(--fs-text);
  display: flex;
  padding-bottom: 8px;
  font-family: var(--font-sans);
}
#name,
#address {
  width: 100%;
  height: 70px;
  text-align: center;
  border: solid #fff;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: var(--fs-text);
  font-family: var(--font-sans);
}
#details {
  width: 100%;
  height: 534px;
  text-align: center;
  border: solid #fff;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: var(--fs-text);
  line-height: 1.75;
}
.contact__bg {
  max-width: 948px;
  width: 90%;
  margin: 0 auto;
}
.contact__btn {
  background: var(--color-accent);
  max-width: 200px;
  padding: 20px 0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin: 0 auto;
}
.contact__btn-text {
  font-size: 2.4rem;
  font-weight: bold;
  border: none;
  background: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  margin: 0 auto;
  font-family: var(--font-sans);
}
.thanks {
  /* ヘッダーの高さ分だけ上に余白を作る（数値はヘッダーに合わせて調整してください） */
  padding-top: 300px;
  padding-bottom: 150px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92%;
  margin: 0 auto;
}

.thanks_contents h2 {
  font-size: 40px;
  margin-bottom: 60px;
  margin-top: 0;
  font-family: Noto sanz;
}

.thanks_text {
  margin-bottom: 40px;
  line-height: 1.8;
  font-size: 26px;
  font-family: Noto sanz;
}

/* ボタンのデザイン例 */
.thanks-button {
  display: inline-block;
  padding: 15px 50px;
  background-color: #ff8c00; /* ロゴに合わせたオレンジなど */
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  transition: 0.3s;
  font-size: 26px;
}

.thanks-button:hover {
  opacity: 0.8;
}
@media screen and (max-width: 768px) {
  .contact {
    padding-top: 20px;
    margin-top: -20px;
  }
}
