/* ==========================================================
   Profile New Design (page-profile-new.php 専用CSS)
   既存サイトの配色(#d7003a)・フォント(Jost/游ゴシック)・
   ブレイクポイント(1024/768/480)に合わせています。
   ========================================================== */

/* このテンプレートのページ全体で、画像ブリードによる横スクロールバーの発生を防ぐ */
body {
  overflow-x: hidden;
}

.pf2-content {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px 100px;
  box-sizing: border-box;
}
.pf2-content .page-ttl {
  margin-bottom: 100px;
}

/* ページタイトルは既存の .page-ttl (style.css側) をそのまま使用しています */

/* ---------- セクション共通見出し ---------- */
.pf2-section-ttl {
  text-align: center;
  margin-bottom: 40px;
}
.pf2-section-ttl p{
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 2px;
  color: #222;
}
.pf2-section-ttl span,
.pf2-section-en {
  display: block;
  font-size: 12px;
  letter-spacing: 3px;
  color: #999;
  margin-top: 4px;
}

.pf2-concept-body {
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.5px;
}

/* ---------- ボタン ---------- */
.pf2-btn {
  text-align: center;
  margin-top: 40px;
}
.pf2-btn a {
  display: inline-block;
  min-width: 220px;
  height: 55px;
  line-height: 55px;
  text-align: center;
  color: #fff;
  background: #d7003a;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  transition: opacity 0.3s;
}
.pf2-btn a:hover {
  opacity: 0.8;
}

/* ---------- Concept ---------- */
.pf2-concept {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 140px;
}
.pf2-concept-img {
  flex: 1 1 58%;
  /* コンテンツ幅を超えて左(ビューポート端)まで画像を大きく見せる */
  margin-left: calc((100vw - 100%) / -2);
}
.pf2-concept-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.pf2-concept-txt {
  flex: 1 1 25%;
}

/* ---------- Staff ---------- */
.pf2-staff {
  margin-bottom: 100px;
}
.pf2-staff-inner {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}
.pf2-staff-txt {
  flex: 1.3;
}
.pf2-staff-role {
  font-size: 13px;
  letter-spacing: 1px;
  color: #666;
}
.pf2-staff-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 2px;
  margin: 6px 0 20px;
}
.pf2-staff-name span {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: #999;
  margin-left: 10px;
  letter-spacing: 1px;
}
.pf2-staff-body {
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.3px;
}
.pf2-staff-affili {
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.8;
}
.pf2-staff-affili strong {
  display: block;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.pf2-staff-img {
  flex: 1;
}
.pf2-staff-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}
.pf2-section-ja {
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.11em;
  margin-bottom: 32px;
}

/* ---------- Partners ---------- */
.pf2-partners {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 140px;
}
.pf2-partners-img {
  flex: 1;
}
.pf2-partners-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #d9d9d9;
}
.pf2-partners-txt {
  flex: 1;
}

/* ---------- Studio ---------- */
.pf2-studio {
  margin-bottom: 140px;
}
.pf2-studio-inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.pf2-studio-main {
  flex: 1.2;
  max-width: 100%;
}
.pf2-studio-mainimg {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.pf2-studio-mainimg img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  transition: opacity 0.2s ease;
}
.pf2-studio-mainimg img.is-sliding {
  opacity: 0;
}

/* 矢印ボタン */
.pf2-studio-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s;
}
.pf2-studio-arrow-prev {
  left: 14px;
}
.pf2-studio-arrow-next {
  right: 14px;
}

/* ---- サムネイル: 4枚表示、5枚目以降は横スクロールで選択 ---- */
.pf2-studio-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
}
.pf2-studio-thumbs::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.pf2-studio-thumbs li {
  flex: 0 0 calc((100% - 30px) / 4); /* 4枚分の幅(gap 10px x3を差し引き) */
  aspect-ratio: 4 / 3; /* メイン画像と同じ縦横比 */
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s, opacity 0.3s;
  opacity: 0.7;
  scroll-snap-align: start;
}
.pf2-studio-thumbs li:hover {
  opacity: 1;
}
.pf2-studio-thumbs li.is-active {
  border-color: #d7003a;
  opacity: 1;
}
.pf2-studio-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pf2-studio-txt {
  flex: 1;
}
.pf2-map {
  margin-top: 50px;
}
.pf2-map iframe {
  display: block;
  width: 100%;
  border-radius: 4px;
}

/* ---------- 定義テーブル(Studio内訳・About us共通) ---------- */
.pf2-info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}
.pf2-info-table tr {
  border-bottom: 1px solid #e5e5e5;
}
.pf2-info-table tr:first-child {
  border-top: 1px solid #e5e5e5;
}
.pf2-info-table th,
.pf2-info-table td {
  text-align: left;
  padding: 16px 10px;
  font-size: 13px;
  letter-spacing: 0.5px;
  vertical-align: top;
}
.pf2-info-table th {
  width: 130px;
  font-weight: 600;
  color: #333;
}
.pf2-info-table td {
  color: #444;
  line-height: 1.8;
}
.pf2-info-table-about {
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- About us ---------- */
.pf2-aboutus {
  margin-bottom: 40px;
}

/* ============================================================
   専用フッター(footer-pf2.php)
   ============================================================ */
.pf2-footer {
  width: 100%;
  overflow: hidden;
  background: #fbe7e9;
}
.pf2-footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px 20px;
  box-sizing: border-box;
}
.pf2-footer-logo {
  text-align: center;
  margin-bottom: 40px;
}
.pf2-footer-logo img {
  width: 180px;
  height: auto;
  display: inline-block;
}
.pf2-footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.pf2-footer-brand {
  flex: 1 1 260px;
  max-width: 320px;
}
.pf2-footer-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.pf2-footer-cta {
  display: inline-block;
  padding: 0 24px;
  height: 46px;
  line-height: 46px;
  text-align: center;
  color: #fff;
  background: #d7003a;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: opacity 0.3s;
  white-space: nowrap;
}
.pf2-footer-cta:hover {
  opacity: 0.8;
}
.pf2-footer-sns {
  display: flex;
  gap: 12px;
}
.pf2-footer-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50%;
  background: #fff;
  color: #d7003a;
  font-size: 16px;
}
.pf2-footer-sns .fa-instagram{
  width: 34px;
  height:34px;
  line-height: 30px;
}
.pf2-footer-sns .fa-instagram:before,.pf2-footer-sns .fa-line:before{
 font-size: 24px;
}
.pf2-footer-address {
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.pf2-footer-map iframe {
  display: block;
  width: 100%;
  border-radius: 4px;
}
.pf2-footer-nav {
  flex: 1 1 400px;
  display: flex;
  gap: 60px;
  justify-content: flex-end;
}
.pf2-footer-col {
  list-style: none;
}
.pf2-footer-col li {
  margin-bottom: 14px;
}
.pf2-footer-col a {
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #333;
  transition: opacity 0.3s;
}
.pf2-footer-col a:hover {
  opacity: 0.6;
}
.pf2-footer-col-ttl,
.pf2-footer-col-ttl a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #333;
}
.pf2-footer-col-ttl {
  margin-bottom: 14px;
}

/* TOP列: すべて太字 */
.pf2-footer-col-links a {
  font-weight: 700;
}

/* プラン列: リンクの左に横長のラインを配置 */
.pf2-footer-col-plans li {
  display: flex;
  align-items: center;
}
.pf2-footer-col-plans li a {
  display: flex;
  align-items: center;
}
.pf2-footer-col-plans li:not(.pf2-footer-col-ttl) a::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 1px;
  background: #333;
  margin-right: 8px;
  flex-shrink: 0;
}
.pf2-footer-copy {
  text-align: center;
  padding: 20px 0;
  font-size: 12px;
  letter-spacing: 2px;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: #666;
}
.pf2-footer-check {
  display: block;
  width: 100%;
  height: 30px;
  object-fit: cover;
  margin-bottom: -10px;
}

@media screen and (max-width: 768px) {
  .pf2-footer-top {
    flex-direction: column;
  }
  .pf2-footer-nav {
    justify-content: flex-start;
    flex-direction: column;
    gap: 0 !important;
  }
  .pf2-footer-brand {
    max-width: none;
  }
}


/* ============================================================
   レスポンシブ(既存サイトのブレイクポイントに合わせる)
   ============================================================ */
@media screen and (max-width: 1024px) {
  .pf2-concept,
  .pf2-partners,
  .pf2-studio-inner {
    gap: 40px;
  }
}

@media screen and (max-width: 768px) {
  .pf2-content {
    padding: 40px 20px 80px;
  }
  .pf2-content .page-ttl {
    margin-bottom: 60px;
  }
  .pf2-concept-img {
    margin-left: 0;
  }
  .pf2-concept,
  .pf2-staff-inner,
  .pf2-partners,
  .pf2-studio-inner {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 80px;
  }
  .pf2-studio-inner{
    margin-bottom: 30px;
  }
  .pf2-map{
    margin-top: 30px;
  }
  .pf2-concept-img img,
  .pf2-staff-img img,
  .pf2-partners-img img {
    height: 260px;
  }
  .pf2-studio-arrow {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .pf2-studio-thumbs li {
    flex: 0 0 calc((100% - 30px) / 4);
  }
  .pf2-concept-txt .pf2-section-ttl {
    text-align: center;
  }
  .pf2-info-table th {
    width: 100px;
    font-size: 12px;
  }
  .pf2-staff-inner{
    align-items: flex-start;
    flex-direction: column-reverse;
  }
  .pf2-staff-img img{
    width: 100%;
    height: auto;
  }
  .pf2-staff-img img{
    flex-direction: column;
  }
  .pf2-section-ja{
    font-size: 19px;
  }
}

@media screen and (max-width: 480px) {
  .pf2-section-ttl p{
    font-size: 24px;
  }
  .pf2-section-en {
    font-size: 12px;
  }
  .pf2-staff-name {
    font-size: 19px;
  }
  /* 画面が狭いスマホでは3枚表示にして、タップしやすい大きさを確保 */
  .pf2-studio-thumbs li {
    flex: 0 0 calc((100% - 20px) / 3);
  }
}