@charset "UTF-8";


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #0d0c3c;
  background-color: #ffffff;
  line-height: 1.6;
  font-family: "Zen Old Mincho", serif;
}

h1 {
  font-size: clamp(32px, 3.64vw + 20.4px, 48px);
}

h2 {
  font-size: clamp(24px, 2.73vw + 15.3px, 36px);
  letter-spacing: 0.2em;
  color: #0d0c3c;
  font-weight: 500;
}

h3 {
  font-size: clamp(18px, 1.36vw + 13.6px, 24px);
}

p {
  font-size: clamp(14px, 0.19vw + 13.29px, 16px);
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.7;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}


.pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  background-color: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s;
  z-index: 99;
}

.pagetop:hover {
  background-color: #007bff;
}

.pagetop__arrow {
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(-45deg);
  margin-top: 4px;
}


.wrapper a,
.works a,
.footer-nav a,
.nav-list a,
ul li a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.wrapper a::after,
.footer-nav a::after,
.works a::after,
.nav-list a::after,
ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.3s ease;
}

.header a::after,
.nav-list a::after,
.footer-nav a::after {
  background-color: #ffffff;
}

.wrapper a:hover::after,
.footer-nav a:hover::after,
.works a:hover::after,
.nav-list a:hover::after,
ul li a:hover::after {
  transform: scale(1, 1);
}

/*ヘッダー */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 40px;
  background-color: #111111;
  color: #ffffff;
}

.header img {
  object-fit: cover;
  padding-left: 20px;
  width: 160px;
  height: 80px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 20px;
  margin-right: 80px;
}

/* ハンバーガーボタン */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1000;
  position: relative;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* スマホナビゲーション */

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.close-btn:hover {
  transform: scale(1.2);
  opacity: 0.6;
}

.sp-nav ul {
  padding-top: 80px;
  text-align: center;
}

section {
  scroll-margin-top: 80px;
}

/*ヒーロー */

.hero {
  background-color: #111111;
  position: relative;
  width: 100%;
}

.slider-container {
  width: 100%;
  max-width: 1920px;
  height: auto;
  aspect-ratio: 1440 / 528;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 1s ease-in-out;
}

.slider-track img {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

/*VISION */

.vision {
  padding: 56px;
  display: grid;
  border-bottom: 4px solid #eeeeee;
}

.vision h2 {
  transform: translate(-16px, 24px);
}

.vision div {
  margin-left: 48px;
  margin-top: 64px;
}

.vision h3 {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 24px;
  font-family: serif;
}

.vision p {
  font-size: 1rem;
  color: #444444;
  line-height: 1.6;
}

/* WORKS */

.works {
  padding: 56px;
  border-bottom: 4px solid #eeeeee;
}

.works ul {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 32px;
}

.works ul li a {
  font-size: 24px;
  color: #0d0c3c;
}

/* WORKSカテゴリ専用下線 */

#works a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #0d0c3c;
}

#works a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: #0d0c3c;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.3s ease;
}

#works a:hover::after {
  transform: scale(1, 1);
}

/* 作品一覧 */

.works-links {
  display: flex;
  gap: 30px;
  font-size: 0.85rem;
  color: #666666;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.work-item {
  position: relative;
  animation: fadeIn 0.4s ease;
}

.work-item.is-hide {
  display: none;
}

.work-image img {
  width: 100%;
  object-fit: cover;
}

/* 作品画像のアニメーション */

.work-item img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.work-item img:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.work-item img:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* モノクロ画像 */

.color-image {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.color-image:hover {
  filter: grayscale(0%);
}

/* 作品ラベル */

.thumb-container {
  position: relative;
  display: inline-block;
}

.work-item .work-label {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.work-item:hover .work-label {
  opacity: 1;
  visibility: visible;
}

.work-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
  letter-spacing: 0.05em;
}

/* 表示アニメーション */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/*モーダル */

.modal,
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
}

.modal {
  z-index: 1000;
  padding: 30px;
}

.modal-overlay {
  z-index: 999;
}

.modal.is-open,
.modal-overlay.is-open {
  display: flex;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  min-height: 490px;
  max-height: 90vh;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  overflow-y: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 1001;
}

/* モーダル2カラム */

.modal-body {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 40px;
  align-items: start;
}

/* モーダル画像 */

#modal-media-container {
  position: relative;
  width: 100%;
  min-height: 339px;
  padding: 20px;
  background: #f4f4f3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}

#modal-media-container img {
  display: block;
  width: 100%;
  max-height: 400px;
  height: auto;
  object-fit: contain;
  border-radius: 5px;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

#modal-media-container:hover img {
  transform: scale(1.03);
}

#modal-media-container video {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
}

/* モーダルテキスト */

.modal-text-container {
  width: 100%;
  padding-right: 20px;
}

.modal-text-container h3 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 8px;
  color: #0d0c3c;
}

.modal-text-container p {
  font-size: 15px;
  line-height: 1.8;
  color: #0d0c3c;
  margin-bottom: 8px;
}

.modal-text-container strong {
  display: block;
  font-size: 15px;
  font-weight: bold;
  color: #0d0c3c;
  margin-top: 12px;
  margin-bottom: 3px;
}

.modal-text-container br {
  display: block;
  content: "";
  margin-bottom: 3px;
}



.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  padding: 30px;
  cursor: zoom-out;
}

.lightbox.active {
  display: flex;
}

/* 拡大画像 */

.lightbox img {
  display: block;
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: default;
  border-radius: 4px;
  transform: none;
}

/* 閉じるボタン */

.lightbox-close {
  position: fixed;
  top: 220px;
  right: 400px;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  z-index: 100000;
  transition: transform 0.3s ease;
}
.lightbox-close:hover {
  transform: rotate(90deg);
}

/* 背景スクロール防止 */

body.modal-open {
  overflow: hidden;
}


/* PROFILE */

.profile-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  justify-content: space-between;
}

.profile-container h2 {
  padding: 56px;
}

.about {
  display: flex;
  transform: translate(56px, 20px);
}

.about img {
  padding: 24px;
}

/*SKILLS */

.skills-container {
  margin: 0 auto;
  padding: 56px;
  border-bottom: 4px solid #e0e0e0;
  grid-template-columns: 200px 1fr;
  align-items: center;
  max-width: 1200px;
  width: 100%;
}

.skills-container h2 {
  transform: translate(24px, 0);
}

.skills-list {
  display: flex;
  transform: translate(24px, 24px);
  gap: 104px;
  color: #0d0c3c;
}

.skills-list img {
  max-width: 120px;
}

/*CONTACT*/

.contact-container {
  padding: 56px;
}

.contact-container h2 {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.contact-text {
  font-size: 1.5rem;
  color: #0d0c3c;
  margin: 0;
}

/* お問い合わせボタン */

.btn {
  position: relative;
  display: inline-block;
  margin: 15px;
  padding: 12px 27px;
  text-align: center;
  font-size: 16px;
  letter-spacing: 1px;
  text-decoration: none;
  color: #0d0c3c;
  background: #ffffff;
  border: 3px solid #0d0c3c;
  cursor: pointer;
  transition: ease-out 0.5s;
}

.btn.btn-border-4::after,
.btn.btn-border-4::before {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  transition: 0.5s;
}

.btn.btn-border-4::after {
  top: -9px;
  left: -9px;
  border-top: 3px solid transparent;
  border-left: 3px solid transparent;
}

.btn.btn-border-4::before {
  bottom: -9px;
  right: -9px;
  border-bottom: 3px solid transparent;
  border-right: 3px solid transparent;
}

.btn.btn-border-4:hover {
  color: #0d0c3c;
}

.btn.btn-border-4:hover::after,
.btn.btn-border-4:hover::before {
  width: calc(100% + 15px);
  height: calc(100% + 15px);
  border-color: #0d0c3c;
}

/* フッター*/

.footer {
  background-color: #111111;
  color: #ffffff;
  padding: 60px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-nav {
  display: flex;
  gap: 30px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

.copyright {
  font-size: 0.75rem;
  color: #888888;
}


/* レスポンシブ*/
@media (max-width: 1440px) {

  .header,
  .hero,
  .vision,
  .works,
  .profile-section,
  .footer {
    padding: 20px;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .vision,
  .skills-container,
  .contact-container {
    gap: 30px;
    padding: 48px;
  }

  .hamburger {
    display: none;
  }
  .lightbox-close {
  position: fixed;
  top: 80px;
  right: 148px;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  z-index: 100000;
  transition: transform 0.3s ease;
}
}

/* 1024px以下 */

@media screen and (max-width: 1024px) {

  /* 全体 */
  .container {
    width: 90%;
  }

  /* ヘッダー */
  .header {
    padding: 0 30px;
  }

  .header img {
    width: 140px;
    height: auto;
    padding-left: 0;
  }

  .nav-list {
    gap: 15px;
    margin-right: 0;
  }

  .hamburger {
    display: none;
  }

  /* PCナビゲーション */
  .header>.nav-list {
    display: none;
  }

  /* ヒーロー */
  .slider-container {
    width: 100%;
    aspect-ratio: 1440 / 528;
  }

  /* VISION */
  .vision {
    padding: 48px 40px;
  }

  .vision h2 {
    transform: none;
  }

  .vision div {
    margin-left: 24px;
    margin-top: 40px;
  }

  /* WORKS */
  .works {
    padding: 48px 40px;
  }

  .works-grid {
    max-width: 900px;
    gap: 40px;
  }

  .works ul {
    gap: 28px;
  }

  .works ul li a {
    font-size: 21px;
  }

  /* モーダル */
  .modal {
    padding: 24px;
  }

  .modal-content {
    width: 94%;
    max-width: 900px;
    min-height: 0;
    max-height: 90vh;
    padding: 32px;
  }

  .modal-body {
    grid-template-columns: 42% 1fr;
    gap: 28px;
  }

  #modal-media-container {
    min-height: 250px;
    padding: 12px;
  }

  #modal-media-container img {
    max-height: 350px;
  }

  .modal-text-container {
    padding-right: 0;
  }

  .modal-text-container h3 {
    font-size: 19px;
  }

  .modal-text-container p {
    font-size: 14px;
  }


 .lightbox-close {
    top: 48px;
    right: 32px;
    color: #0d0c3c;
  }


  /* PROFILE */
  .profile-container {
    width: 90%;
  }

  .profile-container h2 {
    padding: 40px 20px;
  }

  .about {
    transform: none;
    justify-content: center;
    align-items: center;
    gap: 24px;
  }

  .about img {
    height: auto;
    padding: 12px;
  }

  /* SKILLS */
  .skills-container {
    padding: 48px 40px;
  }

  .skills-container h2 {
    transform: none;
  }

  .skills-list {
    transform: none;
    flex-wrap: wrap;
    gap: 64px;
    justify-content: center;
  }

  .skills-list img {
    max-width: 100px;
  }

  /* CONTACT */
  .contact-container {
    padding: 48px 40px;
  }

  .contact-text {
    font-size: 1.3rem;
    text-align: center;
  }

  /* FOOTER */
  .footer {
    padding: 48px 40px;
    gap: 30px;
  }

  .footer-nav {
    gap: 20px;
  }

}

/*769px以上：PC表示 */

@media screen and (min-width: 769px) {

  .sp-nav {
    display: none;
  }

  .hamburger {
    display: none;
  }

  .pc-nav {
    display: block;
  }

  .nav-list {
    display: flex;
  }

}


/* 768px以下 */

@media screen and (max-width: 768px) {

  /* 共通 */
  body {
    overflow-x: hidden;
  }

  section {
    scroll-margin-top: 70px;
  }

  .container {
    width: 100%;
    padding: 0 20px;
  }


  /*ヘッダー */

  .header {
    height: 70px;
    padding: 0 20px;
    position: relative;
    z-index: 1000;
  }

  .header img {
    width: 120px;
    height: 60px;
    padding-left: 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-list {
    display: none;
  }

  /* スマホナビ*/
  .sp-nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 350px;
    height: 100dvh;
    background-color: #111111;
    color: #ffffff;
    z-index: 10001;
    overflow-y: auto;

    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;

    transition:
      transform 0.4s ease,
      visibility 0.4s ease;
  }

  .sp-nav.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .sp-nav ul {
    padding: 90px 20px 40px;
    text-align: center;
  }

  .sp-nav li {
    margin-bottom: 30px;
    font-size: 18px;
  }

  .sp-nav a {
    color: #ffffff;
  }

  .close-btn {
    color: #ffffff;
    top: 20px;
    right: 20px;
    z-index: 10002;
  }

  body.menu-open {
    overflow: hidden;
  }


  /* ヒーロー*/

  .slider-container {
    aspect-ratio: 16 / 9;
  }


  /*VISION*/

  .vision {
    padding: 40px 24px;
  }

  .vision h2 {
    transform: none;
  }

  .vision div {
    margin: 30px 0 0;
  }

  .vision h3 {
    font-size: 1.25rem;
    margin-bottom: 18px;
  }

  .vision p {
    font-size: 14px;
    line-height: 1.8;
  }


  /* WORKS */

  .works {
    padding: 40px 24px;
  }

  .works ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    padding: 24px 0;
  }

  .works ul li a {
    font-size: 18px;
  }

  .works-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }


  /* モーダル */

  .modal {
    padding: 15px;
    z-index: 1000;
  }

  .modal-content {
    position: relative;
    width: 100%;
    max-height: 85vh;
    min-height: auto;
    padding: 45px 20px 25px;
    overflow-y: auto;
  }

  .modal-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #modal-media-container {
    min-height: 180px;
    padding: 10px;
  }

  #modal-media-container img,
  #modal-media-container video {
    max-height: 280px;
  }

  .modal-text-container {
    padding-right: 0;
  }

  .modal-text-container h3 {
    font-size: 20px;
  }

  /* モーダル閉じるボタン */
  .modal .close-btn,
  .modal-content .close-btn {
    display: flex;
    position: absolute;
    top: 10px;
    right: 15px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 1;
    color: #333333;
    z-index: 10010;
    cursor: pointer;
  }

  .lightbox-close {
    top: 100px;
    right: 20px;
    color: aliceblue
  }

  /*PROFILE */

  .profile-container {
    padding: 0 24px;
  }

  .profile-container h2 {
    padding: 40px 0 20px;
  }

  .about {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: none;
    gap: 10px;
  }

  .about img {
    width: 100%;
    max-width: 320px;
    height: auto;
    padding: 10px;
    object-fit: contain;
  }


  /*SKILLS */

  .skills-container {
    padding: 40px 24px;
  }

  .skills-container h2 {
    transform: none;
  }

  .skills-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-items: center;
    align-items: center;
    gap: 25px;
    transform: none;
    margin-top: 30px;
  }

  .skills-list img {
    width: 100%;
    max-width: 90px;
    height: auto;
    object-fit: contain;
  }


  /*CONTACT*/

  .contact-container {
    padding: 40px 24px;
  }

  .contact-container h2 {
    padding: 0;
  }

  .contact-text {
    font-size: 1.15rem;
    text-align: center;
  }


  /* フッター*/

  .footer {
    padding: 40px 24px;
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .copyright {
    font-size: 11px;
  }

}


/*480px以下 */

@media screen and (max-width: 480px) {

  /* 共通 */
  .container {
    padding: 0 16px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 24px;
    letter-spacing: 0.12em;
  }

  h3 {
    font-size: 18px;
  }

  p {
    font-size: 14px;
  }


  /* ヘッダー */

  .header {
    height: 65px;
    padding: 0 16px;
  }

  .header img {
    width: 110px;
    height: 55px;
  }


  /*WORKS */

  .works {
    padding: 35px 18px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .works ul {
    gap: 15px;
  }

  .works ul li a {
    font-size: 16px;
  }

  .works-links {
    gap: 12px;
    font-size: 12px;
  }


  /* モーダル */

  .modal {
    padding: 10px;
  }

  .modal-content {
    padding: 45px 15px 20px;
    max-height: 88vh;
  }

  .modal-body {
    gap: 15px;
  }

  #modal-media-container {
    min-height: 150px;
  }

  #modal-media-container img,
  #modal-media-container video {
    max-height: 220px;
  }

  .modal-text-container h3 {
    font-size: 18px;
  }

  .modal-text-container p {
    font-size: 13px;
  }

  .lightbox-close {
    top: 212px;
    right: 8px;
    color: aliceblue;
  }

  /*PROFILE*/

  .profile-container {
    padding: 0 20px;
  }

  .profile-container h2 {
    padding: 35px 0 20px;
  }

  .about {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transform: none;
  }

  .about img {
    width: 85%;
    max-width: 260px;
    height: auto;
    padding: 0;
    object-fit: contain;
  }

  .about p {
    width: 100%;
    max-width: 320px;
    font-size: 14px;
    line-height: 1.9;
    text-align: left;
    overflow-wrap: break-word;
  }


  /*SKILLS*/

  .skills-container {
    padding: 35px 20px;
  }

  .skills-container h2 {
    transform: none;
  }

  .skills-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    justify-items: center;
    align-items: center;
    gap: 25px 15px;
    width: 100%;
    max-width: 280px;
    margin: 30px auto 0;
    transform: none;
  }

  .skills-list img {
    display: block;
    width: 100%;
    max-width: 85px;
    height: 85px;
    object-fit: contain;
  }


  /*CONTACT*/

  .contact-container {
    padding: 35px 20px;
  }

  .contact-container h2 {
    padding: 0;
  }

  .contact-text {
    font-size: 1rem;
    text-align: center;
  }

  .btn {
    font-size: 14px;
    padding: 10px 20px;
  }


  /* フッター*/

  .footer {
    padding: 35px 20px;
    gap: 22px;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    font-size: 11px;
  }

}


/* 320px以下 */

@media screen and (max-width: 320px) {

  .container {
    padding: 0 12px;
  }

  h2 {
    font-size: 21px;
  }

  p {
    font-size: 13px;
  }


  /* HEADER */
  .header {
    height: 60px;
    padding: 0 12px;
  }

  .header img {
    width: 100px;
    height: 50px;
  }

  .hamburger {
    width: 26px;
    height: 20px;
  }


  /* VISION */
  .vision {
    padding: 30px 16px;
  }

  .vision h3 {
    font-size: 16px;
  }

  .vision p {
    font-size: 13px;
  }


  /* WORKS */
  .works {
    padding: 30px 16px;
  }

  .works ul li a {
    font-size: 14px;
  }


  /* モーダル */
  .modal-content {
    padding: 42px 12px 18px;
  }

  .modal .close-btn,
  .modal-content .close-btn {
    top: 8px;
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 27px;
  }

  .lightbox-close {
    top: 272px;
    right: 4px;
color: aliceblue
  }

  /* PROFILE */
  .profile-container {
    padding: 0 16px;
  }

  .about {
    gap: 12px;
  }

  .about img {
    width: 90%;
    max-width: 230px;
  }

  .about p {
    font-size: 13px;
    line-height: 1.8;
  }


  /* SKILLS */
  .skills-container {
    padding: 30px 16px;
  }

  .skills-list {
    max-width: 250px;
    gap: 20px 12px;
    margin-top: 25px;
  }

  .skills-list img {
    max-width: 75px;
    height: 75px;
  }


  /* CONTACT */
  .contact-container {
    padding: 30px 16px;
  }

  .contact-text {
    font-size: 13px;
  }

  .btn {
    font-size: 13px;
    padding: 9px 16px;
  }


  /* フッター */
  .footer {
    padding: 30px 12px;
  }

  .footer-nav {
    gap: 12px;
  }

}