/* PROFILE専用CSS：Suudon/custom-css/profile.css */
.profile-page {
  --profile-blue: #0797c7; --profile-blue-dark: #087fa7; --profile-pale: #acd9e7; --profile-text: #45494c;
  position: relative; width: 100vw; max-width: none; margin: 0 calc(50% - 50vw); margin-top: 0 !important;
  overflow: hidden; color: var(--profile-text); background: #fff;
  font-family: "Noto Sans JP", "Yu Gothic", "游ゴシック", sans-serif; line-height: 1.9;
}
.profile-page *, .profile-page *::before, .profile-page *::after { box-sizing: border-box; }
.profile-page h1, .profile-page h2, .profile-page h3, .profile-page p { margin-top: 0; }
.profile-page h1, .profile-page h2, .profile-page h3 { font-weight: 200; }
.profile-page p { margin-bottom: 0; }

/* ABOUTと共通のヘッダー */
.profile-hero { position: relative; color: #fff; background: url("https://piyo-chayama.site/wp-content/uploads/2026/10/header_img5.png") center / 60% repeat; }
.profile-hero-inner {
  display: flex;
  align-items: center;
  width: min(1120px, calc(100% - 64px));
  min-height: 230px; margin: 0 auto; 
}
.profile-hero-heading { position: relative; z-index: 1; }
.profile-kicker { margin: 0; font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 300; letter-spacing: .16em; line-height: 1.25; }
.profile-short-line { display: block; width: 62px; height: 2px; margin: 14px 0 10px; background: currentColor; }
.profile-hero-heading h1 { margin: 0; font-size: 1rem; font-weight: 300; letter-spacing: .12em; }

/* 本文 */
.profile-main {
  position: relative;
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0 72px;
}
.profile-section { margin: 0 0 48px; }
.profile-section:last-child { margin-bottom: 0; }
.profile-section-title { display: flex; align-items: baseline; gap: 12px; margin: 0 0 22px; padding: 0 0 8px; border-bottom: 1px solid #d7e9ef; }
.profile-section-title h2 {
  margin: 0;
  color: var(--profile-blue);
  font-family: "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.4; 
}
.profile-section-title p { margin: 0; color: #6b8d99; font-size: .78rem; line-height: 1.5; }

/* 01 Profile */
.profile-intro { display: grid; grid-template-columns: minmax(0, 1fr) 160px; align-items: center; gap: 32px; max-width: 720px; margin: 0 auto; padding: 28px 0 42px; }
.profile-name { margin: 0 0 12px; color: var(--profile-text); font-size: 1.2rem; font-weight: 400; letter-spacing: .12em; }
.profile-title { margin: 0 0 8px; font-size: .9rem; line-height: 1.8; }
.profile-basic { margin: 0; color: #687277; font-size: .82rem; line-height: 1.9; }
.profile-portrait { display: block; width: 148px; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: #e8f1f2; object-fit: cover; }

/* 02 Career */
.profile-career-list { position: relative; margin: 0; padding: 0 0 0 22px; list-style: none; }
.profile-career-list::before { position: absolute; top: 8px; bottom: 8px; left: 5px; width: 1px; background: #9ed4e3; content: ""; }
.profile-career-item { position: relative; margin: 0 0 18px; padding: 0 0 0 10px; }
.profile-career-item:last-child { margin-bottom: 0; }
.profile-career-item::before { position: absolute; top: .62em; left: -21px; width: 8px; height: 8px; border-radius: 50%; background: var(--profile-blue); content: ""; }
.profile-career-item h3 { margin: 0 0 3px; color: var(--profile-blue-dark); font-size: .96rem; font-weight: 500; line-height: 1.6; }
.profile-career-item p { margin: 0; font-size: .84rem; line-height: 1.8; }
.profile-career-note { margin-top: 10px !important; padding: 12px 16px; background: #f1f5f7; color: #59656a; font-size: .78rem !important; line-height: 1.8; }
.profile-career-note strong { font-weight: 500; }

/* 03 Skills */
.profile-skills-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.profile-skill { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 10px 12px; border-radius: 3px; background: #eef5f8; }
.profile-skill img { flex: 0 0 30px; width: 30px; height: 30px; object-fit: contain; }
.profile-skill h3 { margin: 0 0 2px; color: var(--profile-blue-dark); font-size: .82rem; font-weight: 500; line-height: 1.45; }
.profile-skill p { margin: 0; color: #65747a; font-size: .68rem; line-height: 1.5; }

/* 04 Fields */
.profile-fields { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-field { display: inline-block; padding: 3px 11px; border: 1px solid #d5eaf1; border-radius: 999px; background: #f3f9fb; color: #42798b; font-size: .76rem; line-height: 1.6; }
.profile-fields-note { margin-top: 12px !important; color: #718087; font-size: .75rem; }


/* ========================================
   共通フッター（PC版）
======================================== */
/*
.site-footer {
  position: relative;
  padding: 44px 24px 18px;
  color: #fff;
  background-image: url("https://piyo-chayama.site/wp-content/uploads/2026/10/header_img5.png");
  background-position: center center;
  background-size: 60% auto;
  background-repeat: repeat;
}*/

.site-footer  {
  position: relative;
  min-height: 180px;
  padding: 48px max(40px, calc((100% - 1064px) / 2));
  color: #fff;
  background: url("https://piyo-chayama.site/wp-content/uploads/2026/10/header_img5.png") center / 75% repeat;
}

@media screen and (max-width: 767px) {

.site-footer {
background-size: auto 100%;
background-repeat: no-repeat;
background-position: center;
}
}

/* 上段：プロフィールとナビ */
.site-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  max-width: 1064px;
  margin: 0 auto;
  padding-bottom: 32px;
}

/* プロフィール */
.site-footer-brand {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.site-footer-brand p {
  margin: 0;
  color: #fff;
  text-align: left;
}

.site-footer-home {
  display: inline-block;
  color: #fff;
  text-align: left;
  text-decoration: none;
}

.site-footer-name {
  margin: 0;
  font-family: "Noto Sans JP", "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-align: left;
}

.site-footer-copy {
  font-size: 1.0rem;
  font-weight: 300;
  line-height: 1.8;
  text-align: left;
}

/* SNS */
.site-footer-sns {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

/* ナビゲーション */
.site-footer-nav {
  display: flex;
  flex: 0 0 100px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 0;
  padding: 0;
  text-align: left;
}

.site-footer-nav a,
.site-footer-nav a:visited,
.site-footer-nav a:hover {
  display: block;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 1.0rem;
  font-weight: 300;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
}

/* コピーライト */
.site-footer-bottom {
  max-width: 1064px;
  margin: 0 auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  text-align: right;
}

.site-footer-copyright {
  margin: 0;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-align: right;
}


/* WordPress側のページタイトルが二重表示される場合 */
body.page .entry-header { display: none; }
.profile-page, .profile-page .profile-hero, .profile-page .profile-hero-inner, .profile-page .profile-main, .profile-page .profile-section, .profile-page .profile-footer, .profile-page .profile-footer-inner, .profile-page .profile-footer-brand, .profile-page .profile-footer-sns, .profile-page .profile-footer-nav { margin-top: 0 !important; }

@media (min-width: 1200px) {
  .profile-hero-inner {
    width: min(1120px, calc(100% - 64px));
  }
}
@media (max-width: 767px) {
  .profile-hero { background-size: auto 100%; background-repeat: no-repeat; background-position: center; }
  .profile-hero-inner {
  align-items: center;
  width: calc(100% - 40px);
  min-height: 220px;
  }

  .profile-main { width: calc(100% - 40px); padding-bottom: 54px; }
  .profile-section { margin-bottom: 38px; }
  .profile-intro { grid-template-columns: minmax(0, 1fr) 112px; gap: 18px; padding: 24px 0 34px; }
  .profile-portrait { width: 108px; }
  .profile-name { font-size: 1.05rem; }
  .profile-title { font-size: .82rem; }
  .profile-basic { font-size: .76rem; }
  .profile-section-title { gap: 9px; margin-bottom: 18px; }
  .profile-section-title h2 { font-size: 1.2rem; }
  .profile-section-title p { font-size: .7rem; }
  .profile-career-item h3 { font-size: .9rem; }
  .profile-career-item p { font-size: .8rem; }
  .profile-skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .profile-skill { gap: 8px; padding: 9px; }
  .profile-skill img { flex-basis: 24px; width: 24px; height: 24px; }
  .profile-skill h3 { font-size: .75rem; }
  .profile-skill p { font-size: .63rem; }
  .profile-field { font-size: .72rem; }
  .site-footer { min-height: 140px; padding: 36px 24px; background-size: auto 100%; background-repeat: no-repeat; background-position: center; }
  .site-footer-inner { gap: 20px; }
}
@media (max-width: 420px) {
  .profile-intro { grid-template-columns: minmax(0, 1fr) 88px; gap: 12px; }
  .profile-portrait { width: 84px; }
  .profile-skills-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 30px 20px; }
  .site-footer-inner { gap: 16px; }
}

/* ヘッダー・フッターの背景を少し落ち着かせる */
.profile-hero,
.site-footer {
  position: relative;
  isolation: isolate;
}

.profile-hero::before,
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 45, 55, 0.22);
  z-index: -1;
}

/* フッター：モバイル調整 */
@media screen and (max-width: 700px) {

  .site-footer {
    min-height: 0;
    padding: 32px 20px 36px;
  }

  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
    width: 100%;
  }

  .site-footer-brand {
    width: 100%;
  }

  .site-footer-name {
    font-size: 1.5rem;
    line-height: 1.5;
  }

  .site-footer-copy {
    font-size: 1.0rem;
    line-height: 1.6;
  }

  .site-footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    line-height: 1.5;
  }

  .site-footer-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    width: 100%;
    padding: 10px 0;
    line-height: 1.5;
    font-size: 1.25rem;
  }

}



/* フッター：モバイル横並びメニュー */
@media screen and (max-width: 700px) {

  .site-footer {
    min-height: 0;
    padding: 32px 20px;
  }

  .site-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
  }

  .site-footer-brand {
    width: 100%;
  }

  .site-footer-name {
    font-size: 1.15rem;
    line-height: 1.5;
  }

  .site-footer-copy {
    font-size: 0.75rem;
    line-height: 1.6;
  }

  .site-footer-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    width: 100%;
    line-height: 1.5;
  }

  .site-footer-nav a {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 10px 2px;
    font-size: 0.8rem;
    line-height: 1.5;
    white-space: nowrap;
    text-align: center;
  }

}