@charset "UTF-8";

/* ==========================================================================
   下層ページ メインビジュアル（ヘッダー下バナー）※共通パーツ
   ========================================================================== */
.sub-mv {
  margin-top: 80px; /* ヘッダー高さ分 */
  width: 100%;
  height: 260px;
  overflow: hidden;
  background-color: #f5f5f5;
}

.sub-mv-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

@media screen and (max-width: 768px) {
  .sub-mv {
    margin-top: 60px;
    height: 180px;
  }
}

/* ==========================================================================
   下層ページ ヘッダータイトル ＆ 区切り線
   ========================================================================== */
.sub-page-header {
  margin-bottom: 6rem;
}

.sub-page-header .header-line {
  width: 80px;
  height: 3px;
  background-color: #555555;
  margin: 2rem auto 0;
}

.section-divider {
  border: none;
  border-top: 2px solid #555555;
  width: 100%;
  margin: 8rem 0 0;
}

@media screen and (max-width: 768px) {
  .sub-page-header {
    margin-bottom: 4rem;
  }
  .section-divider {
    margin: 5rem 0 0;
  }
}

/* ==========================================================================
   HELLO! 自己紹介メインレイアウト（押し潰し防止の厳格な幅制御）
   ========================================================================== */
.profile-intro-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4.5rem;
  margin-bottom: 8rem;
  width: 100%;
}

/* 画像エリア：幅を40%に固定し、大きな画像が来ても絶対に膨張・押し潰しをさせない */
.profile-intro-img {
  flex: 0 0 40%;
  max-width: 440px;
  width: 40%;
  min-width: 0;
}
.profile-intro-img img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  display: block;
}

/* テキストエリア：残りの幅を確保し、縮小・1文字潰れを完全に防止 */
.profile-intro-text {
  flex: 1 1 auto;
  width: 55%;
  min-width: 0;
}

.profile-name {
  font-size: 2.6rem;
  font-weight: 900;
  color: #222222;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #dddddd;
  line-height: 1.4;
}
.profile-name .name-sub {
  font-size: 1.4rem;
  font-weight: 500;
  color: #666666;
  display: inline-block;
  margin-left: 1rem;
}

.profile-intro-text p {
  font-size: 1.5rem;
  line-height: 2;
  color: #444444;
  margin-bottom: 1.8rem;
}

/* ハッシュタグの装飾 */
.profile-hashtags {
  font-size: 1.2rem !important;
  color: #555555 !important;
  font-weight: 700;
  line-height: 1.8 !important;
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 4px;
  margin-top: 2rem;
}

@media screen and (max-width: 768px) {
  .profile-intro-layout {
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 5rem;
  }
  .profile-intro-img,
  .profile-intro-text {
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
  }
  .profile-name {
    font-size: 2.2rem;
  }
  .profile-name .name-sub {
    display: block;
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

/* ==========================================================================
   IMG実績 カルーセルスライダー ＆ 制御ボタン
   ========================================================================== */
.profile-carousel-wrap {
  position: relative;
  margin: 4rem 0 2rem;
}

.profile-carousel .carousel-item {
  margin: 0 10px;
  outline: none;
}
.profile-carousel .carousel-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background-color: #cccccc;
  border-radius: 4px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0.6;
}
.profile-carousel .slick-center img {
  opacity: 1;
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.profile-carousel .slick-prev,
.profile-carousel .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: #333333 !important;
  color: transparent !important;
  border: none;
  border-radius: 50%;
  z-index: 20;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.profile-carousel .slick-prev:hover,
.profile-carousel .slick-next:hover {
  background-color: #555555 !important;
  transform: translateY(-50%) scale(1.1);
}
.profile-carousel .slick-prev { left: 10px; }
.profile-carousel .slick-next { right: 10px; }

.profile-carousel .slick-prev::before,
.profile-carousel .slick-next::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}
.profile-carousel .slick-prev::before {
  left: 18px;
  transform: translateY(-50%) rotate(-135deg);
}
.profile-carousel .slick-next::before {
  right: 18px;
  transform: translateY(-50%) rotate(45deg);
}

.profile-carousel .slick-dots {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 2.5rem 0 3rem;
}
.profile-carousel .slick-dots li {
  list-style: none;
}
.profile-carousel .slick-dots button {
  font-size: 0 !important;
  width: 10px;
  height: 10px;
  background-color: #cccccc !important;
  border: none;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.profile-carousel .slick-dots li.slick-active button {
  background-color: #333333 !important;
  transform: scale(1.3);
}

/* 矢印 ＆ SELECTテキスト表示エリア */
.carousel-control-area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
}
.btn-ctrl-prev,
.btn-ctrl-next {
  background: none;
  border: none;
  font-size: 2.2rem;
  font-weight: 700;
  color: #333333;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: opacity 0.3s ease;
}
.btn-ctrl-prev:hover,
.btn-ctrl-next:hover {
  opacity: 0.6;
}

/* ★修正：「SELECT」テキスト専用の装飾（四角い枠・背景色を廃止しプレーンなテキストに） */
.carousel-select-wrap {
  display: inline-block;
}
.carousel-select-text {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 1.6rem;
  font-weight: 700;
  color: #333333;
  letter-spacing: 0.1em;
  user-select: none;
}

@media screen and (max-width: 768px) {
  .profile-carousel .carousel-item { margin: 0 5px; }
  .profile-carousel .slick-prev { left: 5px; width: 36px; height: 36px; }
  .profile-carousel .slick-next { right: 5px; width: 36px; height: 36px; }
  .carousel-control-area { gap: 1rem; }
}

/* ==========================================================================
   REQUEST お仕事の依頼について
   ========================================================================== */
.request-section {
  padding-top: 6rem;
}

.request-layout {
  display: flex;
  gap: 5rem;
  align-items: center;
}

.request-content {
  flex: 1.3;
}
.request-header {
  margin-bottom: 2.5rem;
}
.request-text {
  font-size: 1.5rem;
  line-height: 2;
  color: #444444;
}

.request-image {
  flex: 1;
}
.request-image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

@media screen and (max-width: 768px) {
  .request-layout {
    flex-direction: column;
    gap: 3rem;
  }
  .request-content { width: 100%; display: flex; flex-direction: column; }
  .request-header { order: 1; margin-bottom: 2rem; }
  .request-image { order: 2; width: 100%; margin-bottom: 2rem; }
  .request-text { order: 3; }
}

/* ==========================================================================
   HOW TO REQUEST ご依頼方法 ＆ 3連ボタン
   ========================================================================== */
.how-to-section {
  padding-top: 6rem;
}

.how-to-layout {
  display: flex;
  gap: 5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.how-to-image {
  flex: 1;
}
.how-to-image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.how-to-content {
  flex: 1.3;
}
.how-to-header {
  margin-bottom: 2.5rem;
}
.how-to-text {
  font-size: 1.5rem;
  line-height: 1.8;
  color: #444444;
  margin-bottom: 1.5rem;
}
.how-to-list li {
  font-size: 1.4rem;
  line-height: 2;
  color: #333333;
  font-weight: 500;
}

.profile-contact-btn-wrap {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

@media screen and (max-width: 768px) {
  .how-to-layout {
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
  }
  .how-to-content { width: 100%; display: flex; flex-direction: column; }
  .how-to-header { order: 1; margin-bottom: 2rem; }
  .how-to-image { order: 2; width: 100%; margin-bottom: 2rem; }
  .how-to-text { order: 3; }
  .how-to-list { order: 4; }
  
  .profile-contact-btn-wrap {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .profile-contact-btn-wrap .btn-contact {
    width: 100%;
    max-width: 320px;
  }
}

/* ==========================================================================
   下層ページ共通：導線アイコン一覧（フッター直上 6連ナビゲーション）
   ========================================================================== */
.sub-nav-icons {
  padding: 5rem 0 6rem;
  background-color: #ffffff;
}

.nav-icons-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  text-align: center;
}

.nav-icons-list li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  border-radius: 6px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.nav-icons-list li a:hover {
  transform: translateY(-4px);
  background-color: #f9f9f9;
  opacity: 1;
}

.nav-icons-list .icon-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin-bottom: 1.2rem;
}
.nav-icons-list .icon-img img {
  max-height: 40px;
  width: auto;
}

.nav-icons-list .icon-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #222222;
  line-height: 1.3;
}

@media screen and (max-width: 1024px) {
  .nav-icons-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  .sub-nav-icons {
    padding: 3rem 0 5rem;
  }
  .nav-icons-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }
  .nav-icons-list li a {
    padding: 1.2rem 0.5rem;
    border: 1px solid #eeeeee;
    background-color: #fafafa;
  }
  .nav-icons-list .icon-img {
    height: 40px;
    margin-bottom: 0.8rem;
  }
  .nav-icons-list .icon-img img {
    max-height: 32px;
  }
  .nav-icons-list .icon-text {
    font-size: 1.3rem;
  }
}

/* ==========================================================================
   CONTACT（お問い合わせエリア）
   ========================================================================== */
.contact {
  background-color: #00B7CE;
  color: #ffffff;
}

.contact-title {
  font-size: 5.8rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

.contact-sub {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.contact-text {
  font-size: 1.5rem;
  margin-bottom: 4rem;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.btn-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 260px;
  padding: 1.6rem 2rem;
  background-color: #222222;
  color: #ffffff;
  font-size: 1.5rem;
  border-radius: 4px;
}
.btn-contact:hover {
  background-color: #444444;
}

@media screen and (max-width: 768px) {
  .contact-title { font-size: 3.6rem; }
  .contact-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .btn-contact {
    width: 100%;
    max-width: 320px;
  }
}