/* ====== 全体設定 ====== */
body {
    background-color: #EEEEEE;
    font-family: 'meiryo', sans-serif;
    font-weight: bold;
    color: #575757;
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden;
    position: relative;
}

/* ====== フォント読み込み ====== */
@font-face {
  font-family: 'NikkyouSans';
  src: url('../fonts/NikkyouSans-mLKax.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'meiryo';
  font-weight: bold;
  font-style: normal;
}

/* ====== テキスト調整 ====== */
.aboutText p {
    text-align: center;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.highlight {
    color: #3D9EBF;
}

/* ====== ふわっと表示（ローディング） ====== */
.load-fade {
  opacity: 0;
  visibility: hidden;
  transition: all 0.9s;
}
.load-fade.is-show {
  opacity: 1;
  visibility: visible;
}

/* ====== ふわっと表示（スクロール） ====== */
.scroll-up {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.7s;
}
.scroll-up.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}

/* ====== ヘッダー ====== */
.hero {
  position: relative;
  width: 100%;
  height: 43.07vw;
  overflow: hidden;
  line-height: 0;
  margin-top: 0;
  z-index: 1;
  background-color: #EEEEEE;
}

.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  animation: fade 24s infinite;
}

.hero img:first-child  { animation-delay: 0s;  }
.hero img:nth-child(2) { animation-delay: 8s;  }
.hero img:nth-child(3) { animation-delay: 16s; }

@keyframes fade {
  0%   { opacity: 1; }
  29%  { opacity: 1; }
  34%  { opacity: 0; }
  99%  { opacity: 0; }
  100% { opacity: 1; }
}

/* ====== 受付状況 ====== */
.commissionStatus {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 15px;
  padding: 15px 20px;
  min-width: 320px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  margin-top: 160px;
  margin-left: 60px;
  flex-shrink: 0;
}

.commissionTitle {
  font-size: 16px;
  color: #575757;
  margin: 0 0 8px 0;
  letter-spacing: 1px;
}

.commissionLine {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.2);
  margin: 0 0 10px 0;
}

.commissionGrid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px 10px;
  text-align: center;
  font-size: 13px;
}

.commissionSub {
  font-size: 11px;
  color: #999;
  margin: -5px 0 8px 0;
  letter-spacing: 1px;
}

.commissionBtn {
  display: block;
  margin-top: 15px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  color: #575757;
  font-size: 13px;
  transition: all 0.3s;
}

.commissionBtn:hover {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ====== ABOUTセクション ====== */
.aboutSection {
  padding: 60px 0;
  position: relative;
  z-index: 5;
}

.aboutInner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
}

.aboutImage {
  flex-shrink: 0;
  text-align: left;
}

.aboutImage .title-img {
  width: 200px;
  height: auto;
  display: block;
  margin-bottom: 10px;
  margin-left: -170;  
}

.title-img {
  width: 200px;
  height: auto;
  display: block;
  margin-bottom: 10px;
  margin-left: 0;

}

.character-img {
  width: 350px;
  height: auto;
  display: block;
}

.profile-title {
  width: 350px;
  height: auto;
  display: block;
  margin-bottom: 15px;
  margin-left: auto;
  margin-right: 0;
}

.aboutContent { flex: 1; }
.aboutContent h4 { font-size: 22px; margin: 0 0 5px; }
.aboutContent .role { font-size: 14px; margin: 0 0 15px; color: #888; }
.aboutContent .description { font-size: 14px; line-height: 1.8; margin-bottom: 20px; word-break: keep-all; }

/* SNSアイコン */
.sns-links { display: flex; gap: 12px; flex-wrap: nowrap; }
.sns-links img { width: 60px; height: auto; transition: opacity 0.2s; }
.sns-links a:hover { opacity: 0.7; }

/* ====== スキルタグ ====== */
.skillLabel {
  font-size: 12px;
  color: #999;
  margin: 0 0 8px;
}

.skillTags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.skillTag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 200, 200, 0.8);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 12px;
  color: #575757;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ====== SKILLセクション ====== */
.skillTitleArea {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 0px;
    margin-left: 60px;
}

.kouitta-img {
    width: 480px;
    height: auto;
    display: block;
    margin-left: 120px;
}

.skillSection {about.png
    width: 100%;
    margin: 0;
    padding: 0;
}

.skillMainImageContainer {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}

.skillMainImageContainer .skill-img-main {
    width: 100%;
    height: auto;
    display: block;
}

.skillInner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 100px;
}

.skillDescriptionAreaVertical {
    display: flex;
    justify-content: center;
    gap: 280px;
    width: 100%;
    margin-top: -70px;
    position: relative;
    z-index: 10;
}

.skillDescriptionAreaVertical .skillCard {
    width: 300px;
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px;
    border-radius: 20px;
    box-sizing: border-box;
    text-align: center;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.45);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08), inset 0 1px 1px rgba(255,255,255,0.35);
}

.skillCardImage {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 10px;
}

.skillCardImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.skillDescriptionAreaVertical .skillCard h4 {
    font-size: 20px;
    color: #3D9EBF;
    margin: 0;
    font-style: italic;
}

.skillDescriptionAreaVertical .skillCard .description {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    text-align: left;
    letter-spacing: 0.08em;
}

/* ====== ギャラリー ====== */
.gallery-img {
    width: 230px !important;
    height: auto;
    display: block;
    margin-top: 120px;
    margin-left: 190px;

}

#container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 20px auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

#container .galleryItem {
  flex-grow: 1;
  margin: 4px;
  overflow: hidden;
  border-radius: 8px;
}

#container .galleryItem img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: opacity 0.3s;
}

#container .galleryItem img:hover {
  opacity: 0.85;
}

#container .galleryItem-last {
  flex-grow: 0;
  width: 400px;
}

#container .galleryItem-last img {
  width: 100px;
}

.moreBtn-wrap {
  display: flex;
  justify-content: flex-end;
  max-width: 1400px;
  margin: 10px auto 30px;
  padding: 0 24px;
}

.moreBtn {
  width: 180px;
}

/* ====== ギャラリーモーダル ====== */
.galleryModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.galleryModal.is-open {
  display: flex;
}

.galleryModalBg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
}

#galleryModalImg {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  z-index: 1;
}

.galleryModalClose {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
}

/* ====== WORKSカード ====== */
.work-img {
  width: 200px;
  height: auto;
  display: block;
  margin-bottom: 40px;
  margin-left: 190px;
}

.worksGrid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
  position: relative;
  z-index: 1;
}

.worksCard {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: transform 0.3s;
  text-decoration: none;   
  color: inherit;          
  display: block;          
}

.worksCard:hover {
  transform: translateY(-4px);
}

.worksCardImg {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.worksCardImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.worksTag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 20px;
}

.worksCardInfo {
  padding: 12px 14px;
}

.worksTitle {
  font-size: 13px;
  margin: 0 0 4px;
  color: #575757;
}

.worksMeta {
  font-size: 11px;
  color: #999;
  margin: 0;
}

.moreBtn-work {
  display: flex;
  justify-content: flex-end;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px 30px;
  position: relative;
  z-index: 200;
}

.moreBtn-work .moreBtn {
  margin: 0;
  display: inline-block;
  position: relative;
  z-index: 200;
}

/* ====== COMMISSIONセクション ====== */
.commission-img {
    width: 290px !important;
    height: auto;
    display: block;
    margin-top: 120px;
    margin-left: 180px;
    position: relative;
    z-index: 10;
}

/* ====== CONTACTセクション ====== */
.contactSection {
    max-width: 1000px;
    margin: 80px auto;
    text-align: center;
    padding: 0 20px;
}

.mailBox {
    background-color: #a9a9a9 !important;
    color: #ffffff;
    display: inline-block;
    padding: 15px 40px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.mailLabel {
    font-size: 14px;
    letter-spacing: 0.1em;
    margin: 0;
    opacity: 0.8;
}

.mailAddress {
    font-size: 20px;
    margin: 5px 0 0;
    font-weight: bold;
}

.contactButtons {
    display: flex;
    justify-content: center;
    gap: 190px;
    flex-wrap: wrap;
}

.glassBtn {
    text-decoration: none;
    color: #575757;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 380px;
    padding: 25px 10px;
    border-radius: 60px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.glassBtn:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.btnMain {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 5px;
}

.btnSub {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: lowercase;
    opacity: 0.7;
}

/* ====== 左右柱画像 ====== */
.left1-img,
.left2-img,
.left3-img,
.right1-img,
.right2-img,
.right3-img {
  height: auto;
  position: absolute;
  z-index: 0;
  opacity: 0;
  transform: translateY(0px);
  transition: opacity 0.9s ease, transform 0.15s ease-out;
  pointer-events: none;
}

.left1-img  { width: 160px; top: 1100px; left: 60px; }
.left2-img  { width: 250px; top: 2600px; left: 0; }
.right1-img { width: 180px; top: 1300px; right: 60px; }
.right2-img { width: 380px; top: 2790px; right: 0; }
.left3-img  { width: 280px; top: 4300px; left: 0; }
.right3-img { width: 140px; top: 4200px; right: 60px; }

.left1-img.is-show,
.left2-img.is-show,
.left3-img.is-show,
.right1-img.is-show,
.right2-img.is-show,
.right3-img.is-show {
  opacity: 1;
}

@media screen and (max-width: 1300px) {
  .left1-img,
  .left2-img,
  .left3-img,
  .right1-img,
  .right2-img,
  .right3-img {
    display: none !important;
  }
}

/* ====== コピーライト ====== */
.copyright { text-align: center; font-size: 11px; margin: 20px 0; }

/* ====== スマホ対応（768px以下）====== */
@media screen and (max-width: 768px) {

  .hero {
    margin-top: 0;
    padding-top: 0;
  }

  /* ABOUT */
  .aboutInner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 0 15px;
    justify-content: flex-start;
  }

  .aboutImage {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .aboutSection {
    padding: 20px 0;
    margin-top: -10px;
  }

  .profile-title {
    width: 110px !important;
    margin: 0 auto 8px !important;
    margin-top: -20px !important;
  }

  .aboutImage .title-img,
  .title-img {
    width: 130px !important;
    margin-left: 0 !important;
  }

  .character-img {
    width: 160px;
    display: block;
    margin: 0 auto;
    margin-top: -10px;
  }

  .aboutContent {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .aboutContent h4 {
    font-size: 18px;
    text-align: center;
  }

  .aboutContent .role {
    font-size: 13px;
    text-align: center;
  }

  .aboutContent .description {
    font-size: 13px;
    text-align: center;
    width: 100%;
  }

  .skillTags {
    justify-content: center;
    gap: 8px;
  }

  .sns-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .sns-links img {
    width: 40px;
  }

  .commissionBtn {
    display: block;
    text-align: center;
    margin: 12px 0;
  }

  .moreBtn {
    display: block;
    text-align: center;
    margin: 12px auto;
  }

    .commissionBtn.moreBtn {
    margin-bottom: -10px;  
  }


  /* 受付状況 */
  .commissionStatus {
    margin-top: 20px;
    margin-left: 0;
    min-width: unset;
    width: 100%;
    box-sizing: border-box;
  }

  .commissionGrid {
    grid-template-columns: repeat(6, 1fr);
    font-size: 11px;
    gap: 4px 6px;
  }

  /* SKILLタイトル */
  .skillTitleArea {
    margin-left: 15px !important;
    justify-content: flex-start;
  }

  .kouitta-img {
    width: 260px !important;
    margin-left: 0 !important;
  }

  .skillDescriptionAreaVertical {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 20px !important;
    padding: 0 10px;
    overflow-x: visible;
  }

  .skillDescriptionAreaVertical .skillCard {
    flex: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    align-self: flex-start !important;
    padding: 16px !important;
  }

  .skillDescriptionAreaVertical .skillCard h4 {
    font-size: 12px !important;
  }

  .skillDescriptionAreaVertical .skillCard .description {
    font-size: 10px !important;
    line-height: 1.5;
  }

  .skillInner {
    padding: 0 10px;
  }

  /* ギャラリー */
  #container .galleryItem {
    flex-grow: 0;
    width: calc(50% - 8px);
  }

  #container .galleryItem img {
    height: 150px;
  }

  .gallery-img {
    width: 140px !important;
    margin-left: 15px !important;
    margin-top: 40px;
  }

  /* WORKS：2列グリッド */
  .work-img {
    width: 120px !important;
    margin-left: 15px !important;
    margin-bottom: 20px;
  }

  .worksGrid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    padding: 0 15px 20px !important;
  }

  .worksCard {
    flex: unset !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .worksCardImg {
    aspect-ratio: 1 / 1;
  }

  .worksTitle {
    font-size: 11px;
  }

  .worksMeta {
    font-size: 10px;
  }

  .moreBtn-wrap,
  .moreBtn-work {
    justify-content: center;
    padding: 0 15px;
  }

  /* COMMISSION */
  .commission-img {
    width: 160px !important;
    margin-left: 15px !important;
    margin-top: 40px;
  }

  /* CONTACT */
  .contactSection {
    margin: 40px auto;
    padding: 0 15px;
  }

  .contactButtons {
    gap: 16px;
    flex-direction: column;
    align-items: center;
  }

  .glassBtn {
    width: 90%;
    max-width: 400px;
  }

  .btnMain {
    font-size: 16px;
  }

  .btnSub {
    font-size: 10px;
  }

  .copyright {
    margin: 30px 0;
  }
}
