@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden;
}
html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body{
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.7;
  color: #333;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
}
.wrapper {
max-width: 1200px;
margin: 0 auto;
padding: 0 4%;
}

/* ナビゲーション(PC) */
.main-nav {
  display: flex;
  font-size: 1.5rem;
  text-transform:uppercase;
  margin-top: 34px;
  list-style: none;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
}
.main-nav li {
  margin-left: 36px;
}
.main-nav a {
  color: rgb(246, 195, 117);
  text-shadow:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px  1px 0 #fff,
    1px  1px 0 #fff;
}
.main-nav a:hover {
  color: rgb(116, 125, 120);
}
.page-header {
  display: flex;
  justify-content: flex-end;
}
.pc-nav {
  display: block;
}
.sp-nav,
.hamburger {
  display: none;
}
/*  HOME
-------------------------------------------------------------- */
.big-bg {
  background-size: cover;
  background-position: center top;
}
#home {
  background-image: url(images/main-bg.png);
  min-height: 100vh;
}
.home-content {
  text-align: center;
}
.page-title {
  font-size: 5rem;
  font-family: "Nunito",sans-serif;
  font-weight: 800;
  color: rgb(246, 195, 117);
  text-shadow:
    -2px -2px 0 #ffffff,
     2px -2px 0 #ffffff,
    -2px  2px 0 #ffffff,
     2px  2px 0 #ffffff;
  background: rgba(197, 222, 202, 0.2);
  display: inline-block;
  padding: 5rem 2rem;
  border-radius:  50%;
}
/* セクション共通 */
.works-content,
.about-content,
.skill-content,
.contact-content {
text-align: center;
margin-top: 200px;
margin-bottom: 50px;
}
.works-title,
.about-title,
.skill-title,
.contact-title {
font-size: 3rem;
color: rgb(246, 195, 117);
font-family: "Nunito", sans-serif;
margin-bottom: 2px;
letter-spacing: 0.05em;
line-height: 1.1;
}
h3 {
font-size: 1rem;
font-weight: normal;
}

/* Works */
.grid {
display: grid;
column-gap: 70px;
row-gap: 70px;
grid-template-columns: repeat(3, 1fr);
margin-top: 6%;
}
.grid img {
height: 350px;
object-fit: contain;
width: 100%;
}
.item {
text-align: center;
}
.detail-btn {
  position: relative;
  font-size: 0.9rem;
  color: rgb(246, 195, 117);
  text-decoration: none;
  display: inline-block;
}
  .detail-btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background:rgb(246, 195, 117);
    transition: transform 0.3s ease;
    transform-origin: left;
  }
  .detail-btn:hover {
    color: rgb(116, 125, 120);
  }
  .detail-btn:hover::after {
    transform: scaleX(0.6);
    background: rgb(116, 125, 120);
  }

  /* works-detail */
  .works-detail {
    max-width: 800px;
  }

.back-link {
  font-size: 0.9rem;
  color: rgb(246, 195, 117);
  text-decoration: none;
  transition: color 0.3s ease;
}
.back-link:hover {
  color: rgb(116, 125, 120);
}
.works-detail > .back-link {
  display: block;
  text-align: center;
  margin: 80px auto 120px;
}

  .works-detail h1 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin: 40px 0 20px;
    line-height: 1.4;
    color: rgb(246, 195, 117);
   
  }

.works-main-img {
  width: 100%;
  margin: 30px 0 10px;
}
.works-detail p {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 40px;
}
.slides {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.slides img {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto 60px;
  display: block;
}


/* About */
.about-content p {
display: inline-block;
text-align: left;
}

/* Skill */
.skills-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 70px;
margin-top: 50px;
}
.icon {
display: flex;
flex-direction: column;
align-items: center;
}
.icon i {
font-size: 6rem;
color: rgb(197, 222, 202);
margin-bottom: 16px;
}
.icon p {
text-align: left;
margin-top: 16px;
}

/* Footer */
footer {
background: #c5deca;
padding: 2rem 0;
}
footer p {
text-align: center;
font-size: 0.875rem;
}

/* タブレット */
@media (max-width: 768px) {

.wrapper {
padding: 0 2%;
}
.sp-menu a {
    color: rgb(246, 195, 117);
    font-size: 1.2rem;
    text-shadow:
      -1px -1px 0 #fff,
       1px -1px 0 #fff,
      -1px  1px 0 #fff,
       1px  1px 0 #fff;
    text-decoration: none; 
    font-family: "Nunito", sans-serif;
    font-weight: 700;
  }
.pc-nav {
display: none;
}
.sp-nav,
.hamburger {
display: block;
}
#home {
min-height: 70vh;
}
.page-title {
font-size: 2.5rem;
padding: 3rem 1.5rem;
}
.grid {
grid-template-columns: 1fr;
}
.skills-grid {
grid-template-columns: 1fr;
gap: 40px;
}
.icon {
align-items: center;
}
.icon p{
margin: 0 auto;
text-align: left;
max-width: 90%;
}
/* ハンバーガーメニュー */
.hamburger {
z-index: 2000;
display: flex;
flex-direction: column;
cursor: pointer;
margin-top: 20px;
}
}
.hamburger span {
height: 3px;
width: 36px;
margin: 4px 0;
border-radius: 2px;
background: rgb(246, 195, 117);
transition: 0.35s ease;
transform-origin: center;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

.sp-menu {
position: fixed;
top: 0;
right: -100%;
width: 220px;
height: 100vh;
background: #fff;
padding-top: 80px;
list-style: none;
transition: right 0.3s;
margin: 0;
z-index: 1500;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
padding-top: 120px;
}
.sp-menu li {
  margin: 20px 0;
}
.sp-menu.active {
right: 0;
}

/* スマホ */
@media (max-width: 375px) {

.page-title {
font-size: 2rem;
padding: 2.5rem 1.2rem;
}
.icon p {
font-size: 0.95rem;
line-height: 1.6;
}
.works-content,
.about-content,
.skill-content,
.contact-content {
margin-top: 80px;
}
}