/*
Theme Name: Jinsei Activity Blog Theme
Theme URI: https://example.com/
Author: 3LIFE
Description: じんせー公式サイト用WordPressテーマ。活動実績セクションのみブログ形式で管理できるようにカスタム投稿タイプ化しています。
Version: 1.0.2
Text Domain: jinsei-activity-blog
*/

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
}

.mainvisual {
  width: 100%;
  position: relative;
}
.mainvisual img {
  display: block;
  width: 100%;
  aspect-ratio: 144/85;
}

.contents {
  margin-top: -200px;
  margin-bottom: 80px;
}
.contents .inner {
  max-width: 1000px;
  border: solid 2px #000;
  margin: 0 auto;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.contents .inner .about {
  padding: 40px 40px;
}
.contents .inner .about .txt {
  font-size: 18px;
  font-weight: 500;
  line-height: 2;
  margin-bottom: 30px;
}
.contents .inner .about .txt a {
  text-decoration: underline;
  color: #E6216E;
}
.contents .inner .about .txt b {
  background: #EFEA3C;
  padding: 0 0.2em;
}
.contents .inner .profile {
  position: relative;
}
.contents .inner .profile .bg {
  width: 100%;
  position: absolute;
  top: -100px;
  left: -20%;
}
.contents .inner .profile .bg img {
  width: 100%;
}
.contents .inner .profile .photo {
  width: 100%;
  position: absolute;
  top: -100px;
  overflow: hidden;
}
.contents .inner .profile .photo img {
  width: 100%;
  transform: scale(1.01);
}
.contents .inner .profile .data {
  width: 80%;
  padding: 40px;
  padding-top: 100px;
  position: relative;
}
.contents .inner .profile .data .item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}
.contents .inner .profile .data .item h2 {
  font-size: 16px;
  width: 100px;
  text-align: center;
  background: #000;
  text-align: center;
  line-height: 1;
  padding: 0.5em 0.2em 0.6em;
  color: #fff;
}
.contents .inner .profile .data .item .txt {
  flex: 1;
  font-size: 16px;
  line-height: 2;
  font-weight: 500;
}
.contents .inner .profile .data .item .txt p {
  background: rgba(255, 255, 255, 0.7);
  display: inline;
}
.contents .inner .profile .data .item .txt .follower {
  display: flex;
  align-items: center;
  font-size: 40px;
  gap: 1em;
  line-height: 1;
}
.contents .inner .profile .data .item .txt .follower .box {
  display: flex;
  align-items: center;
  gap: 0.2em;
}
.contents .inner .profile .data .item .txt .follower .box img {
  width: 1.2em;
}
.contents .inner .profile .data .item .txt .follower .box span {
  font-weight: 900;
  font-style: italic;
}
.contents .inner .profile .data .item .txt .follower .box span small {
  font-style: normal;
  font-weight: 700;
  font-size: 0.7em;
}
.contents .inner .service {
  position: relative;
  padding: 40px;
}
.contents .inner .service h2 img {
  width: 90%;
}
.contents .inner .service .service_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.contents .inner .service .service_list .item {
  display: flex;
  align-items: center;
  border: solid 3px #000;
  padding: 20px;
  gap: 20px;
}
.contents .inner .service .service_list .item .txt h3 {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
  font-size: 22px;
}
.contents .inner .service .service_list .item .txt h3 span {
  padding: 0 0.4em 0 0.6em;
  position: relative;
}
.contents .inner .service .service_list .item .txt h3::after {
  content: "";
  display: block;
  width: 0.5em;
  height: 1.2em;
  background: #E6216E;
  position: absolute;
  top: 0.2em;
  left: -0.2em;
}
.contents .inner .service .service_list .item .txt h3::before {
  content: "";
  display: block;
  width: 100%;
  height: 1em;
  background: #fff;
  position: absolute;
  top: 0.6em;
}
.contents .inner .service .service_list .item .txt p {
  font-weight: 500;
  line-height: 1.8;
}
.contents .inner .service .service_list .item .txt .price {
  font-size: 28px;
  font-weight: 700;
  padding-top: 1em;
  display: inline-block;
  border-bottom: solid 2px #000;
}
.contents .inner .service .service_list .item img {
  width: 100px;
}

footer {
  background: #1C1D1D;
  padding-bottom: 40px;
}
footer .inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
footer .inner .illust {
  width: 600px;
  margin-top: -60px;
}
footer .inner .illust img {
  width: 100%;
}
footer .inner .sns {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: center;
}
footer .inner .sns a img {
  width: 100px;
}

.work {
  padding: 80px;
  background-image: url("img/work/bg.svg");
  background-size: cover;
  border-top: solid 2px #000;
}
.work .inner {
  max-width: 1000px;
  border: solid 2px #000;
  margin: 0 auto;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.work .inner .work_list h2,
.work .inner .work_list .archive_title {
  padding: 20px 40px;
  text-align: center;
}
.work .inner .work_list h2 img,
.work .inner .work_list .archive_title img {
  width: 300px;
  max-width: 100%;
}
.work_blog {
  background: #fff;
}
.work_posts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: solid 2px #000;
}
.work_card {
  border-right: solid 2px #000;
  border-bottom: solid 2px #000;
  background: #fff;
  min-width: 0;
}
.work_card:nth-child(2n) {
  border-right: none;
}
.work_card a {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.work_card_thumb {
  position: relative;
  border-bottom: solid 2px #000;
  background: #f5f5f5;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.work_card_thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.work_card:hover .work_card_thumb img {
  transform: scale(1.04);
}
.work_card_body {
  padding: 28px 30px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.work_card_body.no_thumb {
  min-height: 260px;
}
.work_card_meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
}
.work_card_meta time,
.work_card_meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: solid 2px #000;
  padding: 3px 9px 4px;
  line-height: 1;
  background: #fff;
}
.work_card_meta span {
  background: #EFEA3C;
}
.work_card h3,
.work_card h2 {
  font-size: 24px;
  line-height: 1.45;
  margin-bottom: 14px;
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  background-size: 12px 2px;
  background-image: linear-gradient(to right, #000000 6px, transparent 6px);
  background-repeat: repeat-x;
  background-position: left bottom;
  padding-bottom: 8px;
}
.work_card p {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
  margin-bottom: 20px;
}
.work_readmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  border: solid 2px #000;
  background: #000;
  color: #fff;
  padding: 8px 18px 9px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}
.work_card:hover .work_readmore,
.work_archive_btn:hover {
  background: #E6216E;
  color: #fff;
}
.work_archive_btn_wrap {
  text-align: center;
  padding: 30px 20px 40px;
}
.work_archive_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: solid 2px #000;
  background: #000;
  color: #fff;
  text-decoration: none;
  padding: 14px 34px 15px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}
.work_empty_note {
  border-top: solid 2px #000;
  padding: 24px 30px 30px;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 700;
  text-align: center;
}
.work_archive_page,
.work_single_page {
  border-top: none;
}
.archive_text_title {
  padding: 34px 40px;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  font-size: 36px;
  border-bottom: solid 2px #000;
}
.pagination {
  padding: 30px;
  text-align: center;
  font-weight: 900;
}
.pagination .nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  border: solid 2px #000;
  color: #000;
  text-decoration: none;
  padding: 0 10px;
}
.pagination .current,
.pagination a:hover {
  background: #000;
  color: #fff;
}
.single_activity {
  padding: 48px 70px 58px;
}
.single_activity_head {
  margin-bottom: 28px;
}
.single_activity_head h1 {
  font-family: "Noto Serif JP", serif;
  font-size: 38px;
  line-height: 1.45;
  font-weight: 900;
  background-size: 12px 2px;
  background-image: linear-gradient(to right, #000000 6px, transparent 6px);
  background-repeat: repeat-x;
  background-position: left bottom;
  padding-bottom: 12px;
}
.single_activity_thumb {
  border: solid 2px #000;
  margin-bottom: 34px;
}
.single_activity_thumb img {
  display: block;
  width: 100%;
  height: auto;
}
.single_activity_content {
  font-size: 17px;
  font-weight: 500;
  line-height: 2;
}
.single_activity_content p,
.single_activity_content ul,
.single_activity_content ol,
.single_activity_content figure {
  margin-bottom: 1.6em;
}
.single_activity_content h2 {
  font-size: 28px;
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  line-height: 1.5;
  margin: 2em 0 1em;
  padding: .45em .7em .55em;
  border-left: 8px solid #E6216E;
  background: #EFEA3C;
}
.single_activity_content h3 {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
  margin: 1.8em 0 .8em;
  padding-bottom: .4em;
  border-bottom: 2px solid #000;
}
.single_activity_content a {
  color: #E6216E;
  text-decoration: underline;
  font-weight: 700;
}
@media (max-width: 900px) {
  .work {
    padding: 40px 18px;
  }
  .work_posts {
    grid-template-columns: 1fr;
  }
  .work_card,
  .work_card:nth-child(2n) {
    border-right: none;
  }
  .work_card_body {
    padding: 24px 22px 26px;
  }
  .work_card h3,
  .work_card h2 {
    font-size: 22px;
  }
  .single_activity {
    padding: 36px 24px 44px;
  }
  .single_activity_head h1 {
    font-size: 28px;
  }
}
@media (max-width: 640px) {
  .work {
    padding: 30px 12px;
  }
  .work .inner .work_list h2,
  .work .inner .work_list .archive_title {
    padding: 18px 20px;
  }
  .work .inner .work_list h2 img,
  .work .inner .work_list .archive_title img {
    width: 220px;
  }
  .work_card_body {
    padding: 20px 18px 22px;
  }
  .work_card h3,
  .work_card h2 {
    font-size: 20px;
  }
  .work_card p {
    font-size: 14px;
  }
  .work_archive_btn {
    width: 100%;
    max-width: 320px;
  }
}


/* =========================================================
   Mobile layout patch 2026-05-08 v1.0.2
   元のPCデザイン・既存アニメーション・hover演出は残し、
   スマホ表示の崩れだけをメディアクエリで補正。
   ※ animation / transition / transform はここでは上書きしない。
========================================================= */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
img,
svg,
iframe,
video {
  max-width: 100%;
}
.contents .inner,
.work .inner {
  width: min(100%, 1000px);
}
.contents .inner .profile .data .item .txt,
.contents .inner .service .service_list .item .txt,
.work_card_body,
.single_activity_content {
  min-width: 0;
  overflow-wrap: anywhere;
}
.single_activity_content img,
.single_activity_content iframe,
.single_activity_content video {
  max-width: 100%;
  height: auto;
}
.single_activity_content iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}

@media (max-width: 1100px) {
  .contents {
    padding-inline: 24px;
  }
  .work {
    padding-inline: 24px;
  }
  footer .inner {
    width: min(100% - 32px, 1200px);
  }
  footer .inner .illust {
    width: 48%;
  }
}

@media (max-width: 900px) {
  .mainvisual img {
    height: auto;
    object-fit: cover;
    object-position: center top;
  }
  .contents {
    margin-top: -110px;
    margin-bottom: 64px;
    padding-inline: 18px;
  }
  .contents .inner .about {
    padding: 34px 30px;
  }
  .contents .inner .about .txt {
    font-size: 16px;
    line-height: 1.9;
  }
  .contents .inner .profile {
    overflow: hidden;
    padding-top: 0;
  }
  .contents .inner .profile .bg {
    width: 112%;
    top: -32px;
    left: -12%;
  }
  .contents .inner .profile .photo {
    position: relative;
    top: auto;
    width: min(92%, 520px);
    margin: 0 auto;
  }
  .contents .inner .profile .photo img {
    display: block;
    width: 100%;
  }
  .contents .inner .profile .data {
    width: 100%;
    padding: 24px 30px 38px;
  }
  .contents .inner .profile .data .item {
    gap: 14px;
  }
  .contents .inner .profile .data .item h2 {
    flex: 0 0 92px;
  }
  .contents .inner .profile .data .item .txt .follower {
    flex-wrap: wrap;
    gap: .45em .7em;
    font-size: clamp(28px, 5.8vw, 38px);
  }
  .contents .inner .service {
    padding: 34px 30px 40px;
  }
  .contents .inner .service h2 img {
    width: 100%;
    max-width: 560px;
    height: auto;
  }
  .contents .inner .service .service_list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contents .inner .service .service_list .item {
    min-width: 0;
  }
  .contents .inner .service .service_list .item .txt {
    flex: 1;
  }
  .contents .inner .service .service_list .item img {
    flex: 0 0 auto;
    height: auto;
  }
  footer .inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 28px;
  }
  footer .inner .illust {
    width: min(58%, 420px);
    margin-top: -34px;
  }
  footer .inner .sns {
    flex: 0 0 auto;
  }
}

@media (max-width: 640px) {
  .mainvisual img {
    width: 100%;
    min-height: 265px;
    aspect-ratio: 390 / 300;
    object-fit: cover;
    object-position: center top;
  }
  .contents {
    margin-top: -28px;
    margin-bottom: 42px;
    padding-inline: 10px;
  }
  .contents .inner,
  .work .inner {
    width: 100%;
    max-width: calc(100vw - 20px);
  }
  .contents .inner .about {
    padding: 24px 18px 28px;
  }
  .contents .inner .about h1 {
    margin-bottom: 16px;
  }
  .contents .inner .about h1 img {
    display: block;
    width: 100%;
    height: auto;
  }
  .contents .inner .about .txt {
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 0;
  }
  .contents .inner .about .txt br {
    display: none;
  }
  .contents .inner .profile .bg {
    width: 150%;
    top: 18px;
    left: -36%;
    opacity: .48;
  }
  .contents .inner .profile .photo {
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .contents .inner .profile .photo img {
    width: 100%;
  }
  .contents .inner .profile .data {
    padding: 18px 18px 30px;
  }
  .contents .inner .profile .data .item {
    display: block;
    margin-bottom: 20px;
  }
  .contents .inner .profile .data .item:last-child {
    margin-bottom: 0;
  }
  .contents .inner .profile .data .item h2 {
    display: inline-block;
    width: auto;
    min-width: 86px;
    margin-bottom: 9px;
    font-size: 13px;
    padding: .45em .8em .55em;
  }
  .contents .inner .profile .data .item .txt {
    font-size: 14px;
    line-height: 1.85;
  }
  .contents .inner .profile .data .item .txt p {
    display: inline;
    background: rgba(255, 255, 255, .78);
  }
  .contents .inner .profile .data .item .txt .follower {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
    font-size: clamp(28px, 9vw, 34px);
  }
  .contents .inner .profile .data .item .txt .follower .box {
    width: 100%;
    justify-content: flex-start;
  }
  .contents .inner .service {
    padding: 24px 18px 32px;
  }
  .contents .inner .service h2 {
    margin-bottom: 16px;
  }
  .contents .inner .service h2 img {
    display: block;
    width: 100%;
    height: auto;
  }
  .contents .inner .service .service_list {
    gap: 10px;
  }
  .contents .inner .service .service_list .item {
    display: grid;
    grid-template-columns: 1fr 82px;
    align-items: start;
    gap: 14px;
    padding: 17px 15px;
  }
  .contents .inner .service .service_list .item .txt h3 {
    font-size: 18px;
    line-height: 1.45;
    margin-bottom: 8px;
  }
  .contents .inner .service .service_list .item .txt p {
    font-size: 14px;
    line-height: 1.75;
  }
  .contents .inner .service .service_list .item .txt .price {
    font-size: 22px;
    line-height: 1.25;
  }
  .contents .inner .service .service_list .item .txt .price small {
    font-size: .62em;
  }
  .contents .inner .service .service_list .item img {
    width: 82px;
  }
  .work {
    padding: 32px 10px;
    background-position: center top;
  }
  .work .inner .work_list h2,
  .work .inner .work_list .archive_title {
    padding: 18px 18px;
  }
  .work_posts {
    grid-template-columns: 1fr;
  }
  .work_card,
  .work_card:nth-child(2n) {
    border-right: none;
  }
  .work_card_thumb {
    aspect-ratio: 4 / 3;
  }
  .work_card_body {
    padding: 19px 17px 22px;
  }
  .work_card_meta {
    gap: 6px;
    margin-bottom: 12px;
    font-size: 11px;
  }
  .work_card_meta time,
  .work_card_meta span {
    min-height: 22px;
    border-width: 1.5px;
    padding: 3px 8px 4px;
  }
  .work_card h3,
  .work_card h2 {
    font-size: 19px;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  .work_card p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 18px;
  }
  .work_readmore {
    padding: 8px 15px 9px;
  }
  .work_archive_btn_wrap {
    padding: 24px 18px 30px;
  }
  .work_archive_btn {
    width: 100%;
    max-width: 300px;
    padding: 13px 20px 14px;
    font-size: 14px;
  }
  .archive_text_title {
    padding: 24px 18px;
    font-size: 26px;
  }
  .single_activity {
    padding: 28px 18px 36px;
  }
  .single_activity_head {
    margin-bottom: 22px;
  }
  .single_activity_head h1 {
    font-size: 25px;
    line-height: 1.5;
  }
  .single_activity_content {
    font-size: 15px;
    line-height: 1.9;
  }
  .single_activity_content h2 {
    font-size: 22px;
    margin: 1.8em 0 .9em;
    border-left-width: 6px;
  }
  .single_activity_content h3 {
    font-size: 19px;
  }
  footer {
    padding-bottom: 28px;
  }
  footer .inner {
    display: block;
    width: 100%;
    padding: 0 14px;
    text-align: center;
  }
  footer .inner .illust {
    width: min(100%, 360px);
    margin: -24px auto 18px;
  }
  footer .inner .sns {
    display: flex;
    justify-content: center;
    gap: 26px;
  }
  footer .inner .sns a img {
    width: 72px;
  }
}

@media (max-width: 390px) {
  .contents .inner .service .service_list .item {
    grid-template-columns: 1fr;
  }
  .contents .inner .service .service_list .item img {
    width: 76px;
    justify-self: end;
    order: -1;
  }
  .contents .inner .profile .data .item .txt .follower {
    font-size: 28px;
  }
}
