@charset "UTF-8";
/* ========================
    color
   ======================== */
:root {
  --color-base: #fffaf0;
  --color-peach: #efc3bd;
  --color-rose-gray: #c8acac;
  --color-terracotta: #d49a8f;
  --color-green: #a8c4c0;
  --color-choco: #5b4a46;
  --color-choco-lt: #8b7d7b;
}

/* ========================
    Reset & Base Styles
   ======================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body {
  background-color: var(--color-base);
  color: var(--color-choco);
  font-family: "Nunito", "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
}

h1 {
  font-family: "Sacramento", cursive;
  font-size: 3rem;
  font-weight: 400;
}

h2 {
  font-family: "Montserrat", sans-serif;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

p {
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.5;
}

.common-container {
  width: min(92%, 1166px);
  margin: auto;
  position: relative;
}

/* ========================
    Header Section
   ======================== */
.header {
  height: 3.4rem;
  background-color: rgba(239, 195, 189, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .header-container {
  display: flex;
  justify-content: space-between;
  height: 100%;
}
.header .icon-image {
  display: flex;
}
.header .icon-image img {
  width: 6.5rem;
  height: auto;
  transition: transform 0.3s ease;
}
.header .icon-image img:hover {
  transform: rotate(5deg) scale(1.05);
}
.header {
  /* --- Navigation Button --- */
}
.header .nav-btn {
  margin-left: auto;
  padding: 0;
  border: none;
  outline: none;
  background-color: transparent;
  cursor: pointer;
  color: var(--color-rose-gray);
  font-size: 28px;
  height: 100%;
  position: relative;
  z-index: 120;
  transition: color 0.3s ease, transform 0.2s ease;
}
.header .nav-btn:hover {
  color: var(--color-peach);
  transform: scale(1.1);
}
.header .nav-btn .fa-bars-staggered {
  display: block;
}
.header .nav-btn .batu {
  display: none;
}

/******* Navigation Menu(TB) *******/
@media (max-width: 767px) {
  .nav-container {
    display: block;
  }
  .nav {
    position: fixed;
    inset: 0 -100% 0 100%;
    z-index: 100;
    background-color: rgba(239, 195, 189, 0.8);
    transition: transform 0.3s;
  }
  .nav ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 40px;
    color: var(--color-choco);
  }
  .nav li a {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
    position: relative;
  }
  .nav li a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background-color: var(--color-peach);
    transition: transform 0.3s ease;
  }
  .nav li a:hover {
    transform: translateY(-3px);
    color: var(--color-peach);
    opacity: 1;
  }
  .nav li a:hover::after {
    transform: translateX(-50%) scaleX(1);
  }
  .open .nav-btn {
    color: var(--color-choco);
  }
  .open .nav-btn .fa-bars-staggered {
    display: none;
  }
  .open .nav-btn .batu {
    display: block;
    color: var(--color-rose-gray);
  }
  .open .nav {
    transform: translate(-100%, 0);
  }
}
/******* Navigation Menu(PC) *******/
@media (min-width: 768px) {
  .nav-btn {
    display: none;
  }
  .nav-container {
    display: flex;
    align-items: center;
  }
  .nav-container .nav {
    font-size: 1.2rem;
  }
  .nav-container .nav ul {
    display: flex;
    gap: 40px;
  }
  .nav-container .nav ul li a {
    display: inline-block;
    position: relative;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  .nav-container .nav ul li a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background-color: var(--color-peach);
    transition: transform 0.3s ease;
  }
  .nav-container .nav ul li a:hover {
    transform: translateY(-3px);
    color: var(--color-peach);
    opacity: 1;
  }
  .nav-container .nav ul li a:hover::after {
    transform: translateX(-50%) scaleX(1);
  }
}
/* ========================
    Hero Section
   ======================== */
.hero-container {
  width: 100%;
  max-width: none;
  padding: 0;
}
.hero-container .hero-image {
  position: relative;
}
.hero-container .hero-image img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-container .hero-image .site-title {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-peach);
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(239, 195, 189, 0.5);
  margin: 0;
  left: 5%;
  font-size: 3rem;
  min-height: 0vw;
}

/******* Hero Section(SM) *******/
@media (min-width: 767px) {
  .hero-container .hero-image .site-title {
    font-size: 5rem;
  }
}
/******* Hero Section(TB) *******/
@media (min-width: 768px) {
  .hero-container .hero-image .site-title {
    font-size: 6rem;
  }
}
/******* Hero Section(PC) *******/
@media (min-width: 1100px) {
  .hero-container .hero-image .site-title {
    font-size: 8rem;
  }
}
/* ========================
    Message Section
   ======================== */
.message-section {
  text-align: center;
  padding: 4rem 2rem;
  background-color: rgba(239, 195, 189, 0.1);
}

.message-title {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.message-description span {
  display: block;
  font-size: 0.8rem;
}

@media (min-width: 768px) {
  .message-description span {
    display: inline;
  }
  .message-description .des-1::after,
  .message-description .des-2::after {
    content: " | ";
    /* \00a0 は &nbsp; */
  }
}
/******* Message Section(SM) *******/
@media (min-width: 767px) {
  .message-title {
    font-size: 1.4rem;
  }
  .message-description span {
    font-size: 1rem;
    display: inline;
  }
  .message-description .des-1::after,
  .message-description .des-2::after {
    content: " | ";
  }
}
/******* Message Section(TB) *******/
@media (min-width: 768px) {
  .message-title {
    font-size: 1.8rem;
  }
  .message-description span {
    display: inline;
  }
}
/* ========================
	Button
   ======================== */
.btn-text {
  text-align: center;
  margin: 2rem 0;
  grid-column: 1/-1;
}

/* ボタンの基本スタイルと影エフェクト */
.btn-design {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #fff;
  font-weight: 500;
  outline: 1px solid var(--color-choco);
  display: block;
  position: relative;
  box-sizing: border-box;
  max-width: 250px;
  padding: 0.8rem 2rem;
  margin: 0 auto;
  text-decoration: none;
  cursor: pointer;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-design:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(91, 74, 70, 0.15);
}

/* ボタンの影部分（疑似要素で作成） */
.btn-design::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 100%;
  height: 100%;
  background-color: var(--color-peach);
  z-index: -1;
  transition: all 0.4s;
}

/* ホバー時に影を消す */
.btn-design:hover::before {
  top: 0;
  left: 0;
  transition: all 0.4s;
}

/* ========================
    Works / About 共通
   ======================== */
.section-title {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 3.5rem;
  z-index: 0;
}
.section-title .works-title,
.section-title .about-title {
  font-family: "M PLUS Rounded 1c", sans-serif;
  position: relative;
  padding-top: 1rem;
  z-index: 1;
  color: rgba(91, 74, 70, 0.75);
  letter-spacing: 0.2em;
}
.section-title .works-title::before,
.section-title .about-title::before {
  font-family: "Montserrat", sans-serif;
  position: absolute;
  bottom: 0.8rem;
  z-index: -1;
  color: var(--color-peach);
  font-size: 3rem;
  line-height: 1;
  content: attr(data-word);
  pointer-events: none;
  letter-spacing: 0.02em;
  right: 0;
}
.section-title img {
  width: 3rem;
  height: 3rem;
}

/* ========================
    Works Section
   ======================== */
.works-section {
  padding: 2rem 1rem 1rem;
}

.works-container {
  width: min(92%, 1166px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin: auto;
}

/******* Works Section(PC) *******/
@media (min-width: 1100px) {
  .works-container {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ========================
    About Section
   ======================== */
.about-section {
  padding: 4rem 1rem;
  background-color: rgba(239, 195, 189, 0.1);
}

.sub-about-section {
  background-color: var(--color-base);
}

.about-container {
  width: min(92%, 1166px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin: auto;
}

/* Profile Section */
.profile-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.profile-section .profile-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(91, 74, 70, 0.15);
  margin: 0 auto;
}
.profile-section .profile-box h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--color-choco);
  border-left: 4px solid var(--color-peach);
  padding-left: 1rem;
}
.profile-section .profile-box .profile-description {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-choco);
}

/******* Profile Section(TB) *******/
@media (max-width: 768px) {
  .profile-section {
    gap: 3rem;
    display: flex;
    flex-direction: column;
  }
  .profile-section .profile-box {
    align-items: center;
  }
  .profile-section .profile-box h3 {
    font-size: 1.5rem;
  }
  .profile-section .profile-box .profile-description {
    font-size: 1rem;
  }
}
/******* Profile Section(PC) *******/
@media (min-width: 1100px) {
  .profile-section {
    grid-template-columns: 300px 1fr;
    grid-template-rows: auto auto;
    gap: 3rem;
  }
  .profile-section .profile-image {
    grid-row: 1/3;
  }
  .profile-section .profile-box:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
  }
  .profile-section .profile-box:nth-of-type(3) {
    grid-column: 2;
    grid-row: 2;
  }
  .profile-section .profile-box h3 {
    font-size: 1.5rem;
  }
  .profile-section .profile-box .profile-description {
    font-size: 1rem;
  }
}
/* Skills Section */
.skills-section h3 {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--color-choco);
  position: relative;
}
.skills-section h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--color-peach);
  margin: 0.5rem auto 1rem;
}
.skills-section .skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.skills-section .skill-card {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 1.2rem 1rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(91, 74, 70, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(91, 74, 70, 0.12);
  border-color: rgba(239, 195, 189, 0.5);
}
.skills-section .skill-card .skill-icon {
  font-size: 2.2rem;
  color: var(--color-peach);
  margin-bottom: 0.6rem;
  filter: drop-shadow(0 1px 1px rgba(239, 195, 189, 0.15));
  transition: transform 0.3s ease, color 0.3s ease;
}
.skills-section .skill-card:hover .skill-icon {
  transform: scale(1.15);
  color: #e8a69f;
}
.skills-section .skill-card h4 {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  line-height: 1.4;
}
.skills-section .skill-card .skill-level {
  font-size: 0.85rem;
  color: var(--color-peach);
  margin: 0;
}
.skills-section .skill-card i {
  margin: 0 1px;
}
.skills-section .skill-card .fa-solid {
  color: var(--color-peach);
}
.skills-section .skill-card .fa-regular {
  color: rgba(239, 195, 189, 0.3);
}

/******* Skills Section(SM) *******/
@media (min-width: 480px) {
  .skills-section .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
/******* Skills Section(TB) *******/
@media (min-width: 768px) {
  .skills-section h3 {
    font-size: 1.6rem;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  .skills-section .skills-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
  }
}
/******* Skills Section(PC) *******/
@media (min-width: 1100px) {
  .skills-section .skills-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
  }
}
/* ========================
    Footer
   ======================== */
.footer {
  padding: 3rem 0 2rem;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

/* Footer Logo */
.footer-logo a {
  display: inline-block;
  transition: transform 0.3s ease;
}
.footer-logo a:hover {
  transform: rotate(5deg) scale(1.05);
  opacity: 1;
}
.footer-logo img {
  width: 80px;
  height: auto;
}

/* Footer Menu */
.footer-menu {
  display: flex;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-choco);
}
.footer-menu li::after {
  content: "｜";
  margin-left: 0.5rem;
  color: var(--color-rose-gray);
}
.footer-menu li:last-child::after {
  content: "";
  margin-left: 0;
}
.footer-menu a {
  transition: color 0.3s ease;
}
.footer-menu a:hover {
  color: var(--color-peach);
  opacity: 1;
}

/* Footer SNS */
.footer-sns {
  display: flex;
  gap: 2rem;
  font-size: 1.8rem;
}
.footer-sns a {
  color: var(--color-rose-gray);
  transition: color 0.3s ease, transform 0.3s ease;
}
.footer-sns a:hover {
  color: var(--color-peach);
  transform: translateY(-3px);
  opacity: 1;
}

/* Footer Copyright */
.footer-copy {
  color: var(--color-choco-lt);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}
.footer-copy .copyright {
  letter-spacing: 0.05em;
}

/******* Footer(Tablet) *******/
@media (min-width: 768px) {
  .footer-logo img {
    width: 100px;
  }
  .footer-menu {
    font-size: 1.1rem;
    gap: 1rem;
  }
  .footer-menu li::after {
    margin-left: 1rem;
  }
  .footer-sns {
    font-size: 2rem;
    gap: 2.5rem;
  }
  .footer-copy {
    font-size: 0.85rem;
  }
}
/******* Footer(PC) *******/
@media (min-width: 1100px) {
  .footer {
    padding: 4rem 0 2.5rem;
  }
  .footer-container {
    gap: 2rem;
  }
  .footer-menu {
    font-size: 1.2rem;
  }
  .footer-sns {
    font-size: 2.2rem;
    gap: 3rem;
  }
  .footer-copy {
    font-size: 0.9rem;
    margin-top: 1rem;
  }
}
/* ========================
    Sub Page - Works & About
   ======================== */
/******* Breadcrumb　List *******/
.breadcrumb-list {
  display: flex;
  gap: 0 1rem;
  list-style: none;
  padding-top: 3rem;
  font-size: 0.9em;
}
.breadcrumb-list li {
  display: flex;
  align-items: center;
}
.breadcrumb-list li a {
  display: inline-block;
  position: relative;
  color: var(--color-choco);
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}
.breadcrumb-list li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background-color: var(--color-peach);
  transition: transform 0.3s ease;
}
.breadcrumb-list li a:hover {
  transform: translateY(-3px);
  color: var(--color-peach);
  opacity: 1;
}
.breadcrumb-list li a:hover::after {
  transform: translateX(-50%) scaleX(1);
}
.breadcrumb-list li:not(:last-child)::after {
  display: inline-block;
  transform: rotate(45deg);
  width: 0.3em;
  height: 0.3em;
  margin-left: 10px;
  border-top: 1px solid var(--color-choco-lt);
  border-right: 1px solid var(--color-choco-lt);
  content: "";
}

/******* h1 Title *******/
.sub-section-title {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  z-index: 0;
}
.sub-section-title .sub-page-title {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 500;
  font-size: 1.8rem;
  position: relative;
  padding-top: 3rem;
  z-index: 1;
  color: rgba(91, 74, 70, 0.75);
  letter-spacing: 0.2em;
}
.sub-section-title .sub-page-title::before {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 3.5rem;
  position: absolute;
  bottom: 0.8rem;
  z-index: -1;
  color: var(--color-peach);
  line-height: 1;
  content: attr(data-word);
  pointer-events: none;
  letter-spacing: 0.02em;
  right: 0;
}
.sub-section-title img {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 0.5rem;
}
.sub-section-title {
  /******* h2 Sub Title *******/
}
.sub-section-title .sub-heading {
  position: relative;
  padding-left: 1.2em;
  line-height: 1.4;
  font-family: "M PLUS Rounded 1c", sans-serif;
}
.sub-section-title .sub-heading::before {
  font-family: "Font Awesome 5 Free";
  content: "\f1b0";
  font-weight: 900;
  position: absolute;
  font-size: 1em;
  left: 0;
  top: 0;
  color: var(--color-peach);
  font-weight: 900;
}

/* !!!!!!!!!!!!!!別ファイル記述!!!!!!!!!!!!!!!!! */
/* ============================================
   detail - Page Styles
   ============================================ */
/* 作品詳細ページのヘッダー */
.work-header {
  padding: 40px 0;
}

/* 作品ヘッダーのh1画像サイズ */
.detail-header {
  position: relative;
  /* 子要素の絶対配置の基準点 */
  max-width: 700px;
  margin: 0 auto;
  /* 中央配置 */
  display: flex;
  /* Flexboxで中央揃え */
  justify-content: center;
  /* 水平方向中央 */
}

/* detail-header内の画像設定 */
.detail-header img {
  display: block;
  max-width: 100%;
  margin-top: 60px;
}

/* 作品詳細セクション全体の余白 */
.work-details {
  padding: 40px 30px;
  margin: 10px 60px;
}

/* 詳細セクション各項目の余白設定 */
.detail-section {
  padding-bottom: 30px;
}

/* 最後の詳細セクションは下線とマージンを除去 */
.detail-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* 詳細セクションのh2見出しスタイル */
.detail-section h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 30px;
  position: relative;
  padding-left: 25px;
  /* 左の三角形装飾用スペース */
}

/* h2の左側に三角形装飾を追加（疑似要素） */
.detail-section h2::before {
  position: absolute;
  content: "";
  bottom: -3px;
  left: 0;
  width: 0;
  height: 0;
  border-left: solid 15px transparent;
  border-bottom: solid 15px rgb(239, 195, 189);
  /* 三角形を作成 */
}

/* h2の下に横線を追加（疑似要素） */
.detail-section h2::after {
  position: absolute;
  content: "";
  bottom: -3px;
  left: 10px;
  width: 100%;
  border-bottom: solid 3px rgb(239, 195, 189);
}

/* 詳細コンテンツの内側余白と行間 */
.detail-content {
  line-height: 1.8;
  padding: 20px 60px;
}

/* 詳細コンテンツ段落の下マージン */
.detail-content p {
  margin-bottom: 10px;
  padding-left: 20px;
}

/* 制作概要 */
.project-info dt {
  float: left;
  clear: left;
  width: 100px;
  /* タイトルの幅 */
  font-weight: bold;
  padding-bottom: 10px;
}

.project-info dd {
  margin-left: 120px;
  /* dtの幅 + 余白 */
  padding-bottom: 10px;
}

/* リスト形式のツール一覧もスッキリさせる */
.tools-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ツールリストのマーカースタイル */
.tools-list {
  list-style: none;
  list-style-position: inside;
  /* マーカーを内側に配置 */
}

/* ツールリストアイテムの下マージン */
.tools-list li {
  margin-bottom: 8px;
}

/* プロジェクトリンクの色とアンダーライン */
.project-link {
  color: #4a90e2;
  text-decoration: underline;
}

/* プロジェクトリンクホバー時の色変更 */
.project-link:hover {
  color: #357abd;
}/*# sourceMappingURL=style.css.map */