@charset "utf-8";
/* FV: Webgene cards. Position and rotation are controlled by index.js. */
.fv {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  padding: 120px 0 30px;
  overflow: hidden;
  background: #f2f6f5;
}
.fv .fvbox1 {
  display: flex;
  width: 100%;
  min-height: calc(100vh - 150px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
}
.fv .fv_photo_wrap {
  --card-width: clamp(170px, 25vw, 320px);
  display: block;
  position: relative;
  width: 100%;
  height: calc(var(--card-width) * 1.397 + 110px);
  padding: 0;
  overflow: hidden;
}
.fv .fv_photo_wrap > .fv_photo_track {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}
.fv .fv_photo_track.is-dragging { cursor: grabbing; }
.fv .fv_copy { position: relative; z-index: 3; margin-top: 35px; }
.fv .fv_copy p { margin: 0; }
.fv .fv_copy .default_title4 { margin-top: 10px; font-weight: 700; }
.fv .fv_bottom {
  position: absolute;
  z-index: 2;
  right: 3%;
  bottom: 25px;
  left: 3%;
  align-items: flex-end;
}
.fv .fv_bottom p { margin: 0; font-weight: 700; line-height: 1.5; }
.fv .fv_scroll { white-space: nowrap; animation: fv_scroll_move 1.5s ease-in-out infinite; }
@keyframes fv_scroll_move { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
.fv::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 260px;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(4px);
  top: -130px;
  left: -100px;
  background: rgba(0,212,103,.08);
  animation: fv_bg_left 9s ease-in-out infinite alternate;
}
@keyframes fv_bg_left { from { transform: translate(0,0); } to { transform: translate(70px,45px); } }
@media (max-width: 768px) {
  .fv .fv_photo_wrap { --card-width: clamp(150px, 42vw, 240px); }
}
@media (max-width: 576px) { .fv::before { width: 180px; } }
@media (prefers-reduced-motion: reduce) { .fv .fv_scroll, .fv::before { animation: none; } }

/* FV card appearance */
/* 投稿一覧の外枠 */
.fv .fv_photo_track > .section02_staff_list {
	display: block;
	position: relative;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	padding: 0;
}

.fv .fv_photo_track .section02_staff_list > .webgene-blog {
	display: block;
	position: relative;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	padding: 0;
}

/* 一覧見出しは非表示 */
.fv .fv_photo_track .webgene-blog > .webgene-header {
	display: none;
}

/* カード：位置と回転は既存JSで制御 */
.fv .fv_photo_track .section02_staff_list > .webgene-blog > .webgene-item {
	display: block;
	position: absolute;
	top: 25px;
	left: 50%;
	float: none;
	width: var(--card-width);
	max-width: none;
	min-width: 0;
	height: auto;
	aspect-ratio: 315 / 440;
	margin: 0;
	padding: 0;
	overflow: hidden;
	box-sizing: border-box;
	background: #fff;
	border: 2px solid #211918;
	border-radius: 20px;
	opacity: 1;
	transform-origin: center center;
	transition: none;
	will-change: transform;
}

/* 写真をカード全体に配置 */
.fv .fv_photo_track .webgene-item > .webgene-item-content {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;

	/* HTMLに直接入っている紹介文を非表示 */
	font-size: 0;
	line-height: 0;
	color: transparent;
}

.fv .fv_photo_track .webgene-item-content > .webgene-item-main-image {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	padding: 0;
	object-fit: cover;
	object-position: center;
	user-select: none;
	-webkit-user-drag: none;
}

/* FVではメイン画像だけ表示 */
.fv .fv_photo_track .webgene-item-content > :not(.webgene-item-main-image) {
	display: none;
}

/* 名前・役職を写真の左下へ */
.fv .fv_photo_track .webgene-item > header {
	display: flex;
	position: absolute;
	z-index: 2;
	left: 14px;
	right: 14px;
	bottom: 14px;
	top: auto;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	width: auto;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	pointer-events: none;
}

.fv .fv_photo_track .webgene-item-info {
	display: block;
	width: auto;
	max-width: 100%;
	margin: 0;
	padding: 0;
}

/* 投稿日 */
.fv .fv_photo_track .webgene-item-info time {
	display: none;
}

/* 役職 */
.fv .fv_photo_track .webgene-item-info span {
	display: block;
	width: fit-content;
	margin: 0;
	padding: 3px 7px;
	color: #00d467;
	background: #211918;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;
}

/* 名前 */
.fv .fv_photo_track .webgene-item > header h2 {
	display: block;
	width: fit-content;
	max-width: 100%;
	margin: 0;
	padding: 8px 12px;
	box-sizing: border-box;
	color: #fff;
	background: #211918;
	border: 0;
	font-size: clamp(16px, 1.6vw, 22px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.08em;
	overflow-wrap: anywhere;
}

/* スマホ */
@media screen and (max-width: 768px) {
	.fv .fv_photo_track .section02_staff_list > .webgene-blog > .webgene-item {
		border-width: 1px;
		border-radius: 12px;
	}

	.fv .fv_photo_track .webgene-item > header {
		left: 8px;
		right: 8px;
		bottom: 8px;
		gap: 3px;
	}

	.fv .fv_photo_track .webgene-item-info span {
		padding: 2px 5px;
		font-size: 10px;
	}

	.fv .fv_photo_track .webgene-item > header h2 {
		padding: 5px 8px;
		font-size: 14px;
	}
}

/* FV：タブレット・スマホの重なりを解消 */
@media screen and (max-width: 1080px) {
  .fv {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    max-height: none;
    padding: 90px 20px 28px;
  }

  .fv .fvbox1 {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 0;
    gap: 0;
    margin: 0;
  }

  /* 写真エリアが押し縮められるのを防ぐ */
  .fv .fv_photo_wrap {
    flex: 0 0 auto;
  }

  .fv .fv_copy {
    width: 100%;
    margin: 12px 0 0;
    text-align: center;
  }

  .fv .fv_copy .entitle1 {
    font-size: clamp(26px, 5.2vw, 52px);
    line-height: 1.2;
    letter-spacing: 0.03em;
    white-space: normal;
    text-wrap: balance;
  }

  .fv .fv_copy .default_title4 {
    margin-top: 14px;
    font-size: clamp(14px, 2.5vw, 20px);
    line-height: 1.7;
    white-space: normal;
    text-wrap: balance;
  }

  /* 下固定を解除して、コピーの下に配置 */
  .fv .fv_bottom {
    position: relative;
    inset: auto;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
    padding-top: 40px;
  }

  .fv .fv_address {
    max-width: 100%;
    font-size: clamp(11px, 1.8vw, 14px);
    line-height: 1.65;
    overflow-wrap: anywhere;
  }

  .fv .fv_scroll {
    margin-left: auto;
    font-size: 12px;
    white-space: nowrap;
  }
}

@media screen and (max-width: 576px) {
  .fv {
    padding: 80px 16px 24px;
  }

  .fv .fv_copy {
    margin-top: 0;
  }

  .fv .fv_bottom {
    padding-top: 32px;
    gap: 16px;
  }
}

.section01 {
  position: relative;
  overflow: hidden;
  background-color: #f2f6f5;
}
/* ---------- 全体 ---------- */
.section01 .section01_inner {
  position: relative;
  align-items: center;
  gap: 8%;
}
/* ---------- テキスト ---------- */
.section01 .section01_txtbox {
  width: 56%;
}
.section01 .section01_txtbox > .entitle4 {
  line-height: 1.4;
  letter-spacing: 0.04em;
}
.section01 .section01_txtbox .default_title1 {
  line-height: 1.4;
  letter-spacing: 0.06em;
}
.section01 .section01_txt {
  line-height: 1.9;
  letter-spacing: 0.04em;
}
.section01 .section01_txtbox .more1 {
  margin-top: 60px;
}
/* ---------- 画像 ---------- */
.section01 .section01_imgbox {
  position: relative;
  width: 36%;
  margin-bottom: 80px;
}
.section01 .section01_img {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 2px solid #231816;
  border-radius: 20px;
}
.section01 .section01_img img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.3;
  object-fit: cover;
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}
/* ---------- ロゴ ---------- */
.section01 .section01_logo {
  position: absolute;
  z-index: 2;
  bottom: -18%;
  left: -48%;
  width: 105%;
  pointer-events: none;
}
.section01 .section01_logo img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 8px 6px rgba(35, 24, 22, 0.12));
}
/* ==================================================
   1080px以下
================================================== */
@media screen and (max-width: 1080px) {
  .section01 .section01_inner {
    gap: 6%;
  }
  .section01 .section01_txtbox {
    width: 57%;
  }
  .section01 .section01_imgbox {
    width: 37%;
  }
  .section01 .section01_logo {
    left: -20%;
    width: 95%;
  }
  .section01 .section01_txtbox .more1 {
    margin-top: 45px;
  }
}
@media screen and (max-width: 900px) {
  .section01 .section01_inner {
    flex-direction: column;
    align-items: stretch;
    gap: 70px;
  }
  /* 画像を上へ */
  .section01 .section01_imgbox {
    order: 1;
    width: 100%;
    max-width: 520px;
    margin: 0 auto 100px;
  }
  /* テキストを下へ */
  .section01 .section01_txtbox {
    order: 2;
    width: 100%;
  }
  .section01 .section01_txtbox .more1 {
    margin-top: 40px;
  }
  .section01 .section01_logo {
    right: auto;
    bottom: -17%;
    left: -10%;
    width: 75%;
  }
}
/* ==================================================
   768px以下
================================================== */
@media screen and (max-width: 768px) {
  .section01 .section01_inner {
    gap: 55px;
  }
  .section01 .section01_txt {
    line-height: 1.8;
  }
  .section01 .section01_imgbox {
    max-width: 460px;
    margin-bottom: 80px;
  }
  .section01 .section01_logo {
    bottom: -14%;
    left: -6%;
    width: 70%;
  }
}
/* ==================================================
   576px以下
================================================== */
@media screen and (max-width: 576px) {
  .section01 .section01_inner {
    gap: 45px;
  }
  .section01 .section01_txtbox .default_title1 {
    letter-spacing: 0.03em;
  }
  .section01 .section01_txt {
    line-height: 1.75;
  }
  .section01 .section01_txtbox .more1 {
    margin-top: 35px;
  }
  .section01 .section01_imgbox {
    width: 92%;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
  }
  .section01 .section01_img {
    border-radius: 15px;
  }
  .section01 .section01_logo {
    bottom: -12%;
    left: -7%;
    width: 72%;
  }
}
/* ==================================================
   SECTION 03 / NEWS
================================================== */
.section03 {
  position: relative;
  overflow: hidden;
  background-color: #f2f6f5;
}
.section03 .section03_inner {
  align-items: flex-start;
  gap: 8%;
}
/* ---------- タイトル ---------- */
.section03 .section03_titlebox {
  width: 25%;
  flex-shrink: 0;
}
.section03 .section03_titlebox > p {
  margin: 0 0 5px;
}
.section03 .section03_titlebox h2 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.04em;
}
.section03 .section03_titlebox .more1 {
  margin-top: 55px;
  justify-content: flex-start;
}
/* ---------- 記事一覧 ---------- */
.section03 .newstop_b2 {
  width: 67%;
}
.section03 .newstop_b2 > .width-1280-max, .section03 .newstop_b2 .contents, .section03 .newstop_b2 .webgene-blog {
  width: 100%;
}
.section03 .newstop_b2 .webgene-item {
  padding: 0;
  border-bottom: 1px solid #777;
}
.section03 .newstop_b2 .webgene-item a {
  display: block;
  width: 100%;
  padding: 18px 0;
  color: inherit;
  text-decoration: none;
}
.section03 .newstop_b2 .webgene-item .item {
  display: flex;
  flex-direction: column;
  width: 100%;
}
/* HTMLは変えず、日付とカテゴリーを上に移動 */
.section03 .newstop_b2 .webgene-item .label {
  order: 1;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.section03 .newstop_b2 .webgene-item h3 {
  display: -webkit-box;
  order: 2;
  width: 100%;
  margin: 0;
  overflow: hidden;
  font-weight: 700;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.section03 .newstop_b2 .webgene-item .date, .section03 .newstop_b2 .webgene-item .catelabel {
  margin: 0;
  line-height: 1.4;
}
.section03 .newstop_b2 .webgene-item .catelabel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  padding: 3px 14px;
  color: #fff;
  background-color: #231816;
  border-radius: 0;
}
/* ---------- ホバー ---------- */
.section03 .newstop_b2 .webgene-item a {
  transition:
    opacity 0.3s ease, transform 0.3s ease;
}
.section03 .newstop_b2 .webgene-item a:hover {
  opacity: 0.65;
  transform: translateX(5px);
}
/* ==================================================
   1080px以下
================================================== */
@media screen and (max-width: 1080px) {
  .section03 .section03_inner {
    gap: 6%;
  }
  .section03 .section03_titlebox {
    width: 27%;
  }
  .section03 .newstop_b2 {
    width: 67%;
  }
  .section03 .section03_titlebox .more1 {
    margin-top: 45px;
  }
}
/* ==================================================
   900px以下
================================================== */
@media screen and (max-width: 900px) {
  .section03 .section03_inner {
    flex-direction: column;
    gap: 45px;
  }
  .section03 .section03_titlebox, .section03 .newstop_b2 {
    width: 100%;
  }
  .section03 .section03_titlebox .more1 {
    margin-top: 30px;
  }
  .section03 .newstop_b2 .webgene-item:first-child {
    border-top: 1px solid #777;
  }
}
/* ==================================================
   576px以下
================================================== */
@media screen and (max-width: 576px) {
  .section03 .section03_inner {
    gap: 30px;
  }
  .section03 .section03_titlebox .more1 {
    margin-top: 25px;
  }
  .section03 .newstop_b2 .webgene-item a {
    padding: 14px 0;
  }
  .section03 .newstop_b2 .webgene-item .label {
    gap: 8px;
    margin-bottom: 8px;
  }
  .section03 .newstop_b2 .webgene-item .catelabel {
    min-width: 75px;
    padding: 3px 10px;
  }
  .section03 .newstop_b2 .webgene-item h3 {
    -webkit-line-clamp: 2;
  }
}
/* ==================================================
   SECTION 04 / RECRUIT
================================================== */
.section04 {
  position: relative;
  width: 100%;
  min-height: 560px;
  aspect-ratio: 2160 / 1110;
  overflow: hidden;
  background-color: #231816;
}
/* ---------- 背景画像 ---------- */
.section04 .section04_bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
}
.section04 .section04_bg::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0.38);
}
.section04 .section04_bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.section04:hover .section04_bg img {
  transform: scale(1.025);
}
/* ---------- 中央コンテンツ ---------- */
.section04 .section04_inner {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: inherit;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}
.section04 .section04_content {
  width: 46%;
  max-width: 520px;
  transform: translateX(-8%);
}
.section04 .section04_lead {
  margin: 0 0 25px;
  color: #00d467;
  letter-spacing: 0.08em;
}
.section04 .section04_title {
  margin: 0;
  color: #00d467;
  line-height: 1.2;
  letter-spacing: 0.04em;
}
.section04 .section04_content .more1 {
  justify-content: flex-start;
  margin-top: 40px;
}
/* ==================================================
   1080px以下
================================================== */
@media screen and (max-width: 1080px) {
  .section04 {
    min-height: 540px;
  }
  .section04 .section04_content {
    width: 50%;
    transform: translateX(-5%);
  }
}
/* ==================================================
   900px以下
================================================== */
@media screen and (max-width: 900px) {
  .section04 {
    min-height: 620px;
    aspect-ratio: auto;
  }
  .section04 .section04_bg img {
    object-position: center;
  }
  .section04 .section04_inner {
    padding: 70px 30px;
  }
  .section04 .section04_content {
    width: 60%;
    transform: none;
  }
  .section04 .section04_content .more1 {
    margin-top: 35px;
  }
}
/* ==================================================
   768px以下
================================================== */
@media screen and (max-width: 768px) {
  .section04 {
    min-height: 600px;
  }
  .section04 .section04_bg img {
    object-position: 58% center;
  }
  .section04 .section04_content {
    width: 75%;
  }
  .section04 .section04_bg::after {
    background-color: rgba(0, 0, 0, 0.48);
  }
}
/* ==================================================
   576px以下
================================================== */
@media screen and (max-width: 576px) {
  .section04 {
    min-height: 560px;
  }
  .section04 .section04_inner {
    align-items: center;
    padding: 60px 20px;
  }
  .section04 .section04_content {
    width: 100%;
    text-align: center;
  }
  .section04 .section04_lead {
    margin-bottom: 20px;
  }
  .section04 .section04_content .more1 {
    justify-content: center;
    margin-top: 30px;
  }
}

.section02 {
  position: relative;
  width: 100%;
  overflow: visible;
  background: #f2f6f5;
}
.section02, .section02 * {
  box-sizing: border-box;
}
.section02 .section02_scroll {
  position: relative;
  width: 100%;
  height: auto;
  overflow: visible;
}
.section02 .section02_track {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
}
.section02 .section02_panel {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 650px;
  overflow: visible;
}
.section02 .section02_panel_inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
padding: clamp(80px, 7vh, 150px) 50px;
}
.section02 img {
  -webkit-user-drag: none;
  user-select: none;
}
/* ==================================================
   共通タイトル
================================================== */
.section02 .section02_titlebox > p {
  margin: 0;
}
.section02 .section02_titlebox .entitle2 {
  margin-top: 8px;
  line-height: 1.2;
  letter-spacing: 0.04em;
}
/* ==================================================
   STYLE GALLERY
================================================== */
.section02 .section02_gallery {
  background-color: #f5e817;
}
.section02 .section02_gallery::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image: url("https://hs-friends.com/system_panel/uploads/images/topbg1.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.section02 .section02_guide {
  position: absolute;
  z-index: 3;
  top: 28px;
  left: 0;
  padding: 9px 18px;
  color: #fff;
  background-color: #f21f16;
}
.section02 .section02_gallery_wrap {
  height: 100%;
  align-items: center;
  gap: 6%;
}
.section02 .section02_gallery_left {
  width: 40%;
}
.section02 .section02_gallery_right {
  width: 54%;
}
.section02 .section02_style_main {
  width: 90%;
}
.section02 .section02_style_list {
  align-items: flex-start;
  gap: 30px;
}
.section02 .section02_style_item {
  width: calc(50% - 15px);
}
.section02 .section02_style_img {
  overflow: hidden;
  background-color: #fff;
  border: 2px solid #231816;
  border-radius: 20px;
}
.section02 .section02_style_img img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.section02 .section02_style_item .section02_style_img img {
  aspect-ratio: 1 / 1;
}
.section02 .section02_style_main > p, .section02 .section02_style_item > p {
  margin-top: 18px;
}
.section02 .section02_gallery_txt {
  margin-top: 35px;
  line-height: 1.8;
}
.section02 .section02_gallery_right .more1 {
  margin-top: 25px;
}

/* ==================================================
   FIRST VISIT
================================================== */
.section02 .section02_first {
  display: flex;
  background-color: #f25c2e;
}
.section02 .section02_first_img {
  position: relative;
  z-index: 2;
  width: 27%;
  height: 100%;
  flex-shrink: 0;
}
.section02 .section02_first_img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}
.section02 .section02_first_content {
  position: relative;
  width: 73%;
  height: 100%;
}

.section02 .section02_first_inner {
  position: relative;
  z-index: 2;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8%;
  padding: 60px 45px;
}
.section02 .section02_first_txtbox {
  width: 52%;
  line-height: 1.8;
}
.section02 .section02_first_links {
  width: 40%;
}
.section02 .section02_first_links .more1 {
  width: 100%;
  margin-bottom: 22px;
}
.section02 .section02_first_links .more1:last-child {
  margin-bottom: 0;
}
.section02 .section02_first_links .more1 a {
  width: 100%;
  min-width: 0;
  justify-content: flex-start;
}
/* ==================================================
   1080px以下
================================================== */
@media screen and (max-width: 1080px) {
  .section02 .section02_panel_inner {
    padding-right: 35px;
    padding-left: 35px;
  }
  .section02 .section02_gallery_wrap {
    gap: 4%;
  }
  .section02 .section02_gallery_left {
    width: 42%;
  }
  .section02 .section02_gallery_right {
    width: 54%;
  }
 
  .section02 .section02_first_inner {
    gap: 5%;
    padding-right: 30px;
    padding-left: 30px;
  }
}
/* ==================================================
   900px以下
================================================== */
@media screen and (max-width: 900px) {
  /* ---------- 横スクロール ---------- */
  .section02 .section02_panel_inner {
    height: auto;
    min-height: 100%;
    padding: 70px 30px;
  }
  .section02 .section02_guide {
    top: 18px;
    left: 20px;
  }
  /* ---------- STYLE GALLERY ---------- */
  .section02 .section02_gallery_wrap {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 45px;
  }
  .section02 .section02_gallery_left, .section02 .section02_gallery_right {
    width: 100%;
  }
  .section02 .section02_style_main {
    width: 70%;
    max-width: 430px;
    margin-right: auto;
    margin-left: auto;
  }
  .section02 .section02_style_list {
    gap: 20px;
  }
  .section02 .section02_style_item {
    width: calc(50% - 10px);
  }
  .section02 .section02_gallery_txt {
    margin-top: 30px;
  }
  .section02 .section02_gallery_right .more1 {
    margin-top: 30px;
  }

  /* ---------- FIRST VISIT ---------- */
  .section02 .section02_first {
    flex-direction: column;
  }
  .section02 .section02_first_img {
    width: 100%;
    height: clamp(240px, 38vw, 340px);
  }
  .section02 .section02_first_img img {
    object-position: center;
  }
  .section02 .section02_first_content {
    width: 100%;
    height: auto;
    flex: 1;
  }
  .section02 .section02_first_inner {
    width: 100%;
    height: auto;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 45px;
    padding: 55px 30px 70px;
  }
  .section02 .section02_first_txtbox, .section02 .section02_first_links {
    width: 100%;
  }
  .section02 .section02_first_links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}
/* ==================================================
   768px以下
================================================== */
@media screen and (max-width: 768px) {
  .section02 .section02_panel_inner {
    padding: 65px 24px;
  }
  .section02 .section02_gallery_wrap {
    gap: 40px;
  }
  .section02 .section02_style_main {
    width: 78%;
  }
  .section02 .section02_style_main > p, .section02 .section02_style_item > p {
    margin-top: 12px;
  }

  .section02 .section02_first_inner {
    padding: 50px 24px 65px;
  }
}
/* ==================================================
   576px以下
================================================== */
@media screen and (max-width: 576px) {
  .section02 .section02_panel_inner {
    min-height: 0;
    padding: 60px 18px;
  }
  .section02 .section02_guide {
    top: 12px;
    left: 12px;
    padding: 7px 11px;
  }
  /* ---------- STYLE GALLERY ---------- */
  .section02 .section02_gallery_wrap {
    gap: 35px;
  }
  .section02 .section02_style_main {
    width: 88%;
  }
  .section02 .section02_style_list {
    gap: 10px;
  }
  .section02 .section02_style_item {
    width: calc(50% - 5px);
  }
  .section02 .section02_style_img {
    border-width: 1px;
    border-radius: 12px;
  }
  .section02 .section02_gallery_txt {
    margin-top: 25px;
    line-height: 1.7;
  }
  .section02 .section02_gallery_right .more1 {
    margin-top: 25px;
  }

  /* ---------- FIRST VISIT ---------- */
  .section02 .section02_first_img {
    height: 220px;
  }
  .section02 .section02_first_inner {
    gap: 35px;
    padding: 45px 18px 60px;
  }
  .section02 .section02_first_txtbox {
    line-height: 1.7;
  }
  .section02 .section02_first_links {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .section02 .section02_first_links .more1 {
    width: 100%;
    margin: 0;
  }
  .section02 .section02_first_links .more1 a {
    width: 100%;
    min-height: 54px;
    padding: 12px 14px;
    justify-content: center;
  }
  .section02 .section02_first_links .more1 p {
    font-size: 13px;
  }
}

.section02 .section02_staff {
	position: relative;
	background-color: #8954ef;
}

.section02 .section02_staff::before {
	content: "";
	position: absolute;
	z-index: 0;
	inset: 0;
	pointer-events: none;
	background-image: url("https://hs-friends.com/system_panel/uploads/images/topbg2.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.section02 .section02_staff > .section02_panel_inner {
	position: relative;
	z-index: 1;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

/* ---------- 見出し ---------- */

.section02 .section02_staff_head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.section02 .section02_staff_head .section02_titlebox {
	min-width: 0;
}

.section02 .section02_staff_head .more1 {
	flex: 0 0 auto;
	max-width: 100%;
}

.section02 .section02_staff_head .more1 a {
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}


/* 一覧内のスクロールを解除 */
.section02 .section02_staff .section02_staff_list {
	display: block;
	flex: none !important;
	width: 100%;
	height: auto !important;
	min-height: 0;
	max-height: none !important;
	margin: 40px 0 0;
	padding: 0;
	overflow: visible !important;
}

.section02 .section02_staff > .section02_panel_inner {
	display: block !important;
	height: auto !important;
}

/* 投稿一覧 */
.section02 .section02_staff_list > .webgene-blog {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: start;
	align-content: start;
	gap: 40px 28px;
	width: 100%;
	max-width: 1000px;
	height: auto;
	margin: 0 auto;
	padding: 0 0 24px;
	box-sizing: border-box;
}

/* 空の一覧見出しを非表示 */
.section02 .section02_staff_list > .webgene-blog > .webgene-header {
	display: none;
}

/* ---------- スタッフカード ---------- */

.section02 .section02_staff_list > .webgene-blog > .webgene-item {
	display: block;
	position: relative;
	float: none;
	width: auto;
	min-width: 0;
	max-width: none;
	height: auto;
	aspect-ratio: 3 / 4;
	margin: 0;
	padding: 0;
	grid-column: auto;
	overflow: hidden;
	box-sizing: border-box;
	background-color: #fff;
	border: 2px solid #231816;
	border-radius: 20px;
}

/* ---------- 写真 ---------- */

.section02 .section02_staff_list .webgene-item > .webgene-item-content {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;

	/* 直接記述されている紹介文を非表示 */
	font-size: 0;
	line-height: 0;
	color: transparent;
}

.section02 .section02_staff_list .webgene-item-main-image {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	padding: 0;
	object-fit: cover;
	object-position: center;
}

/* メイン画像以外の本文要素を非表示 */
.section02 .section02_staff_list
.webgene-item-content > :not(.webgene-item-main-image) {
	display: none;
}

/* ---------- 名前・役職 ---------- */

.section02 .section02_staff_list .webgene-item > header {
	display: flex;
	position: absolute;
	z-index: 2;
	top: auto;
	left: 14px;
	right: 14px;
	bottom: 14px;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
}

.section02 .section02_staff_list .webgene-item-info {
	display: block;
	width: auto;
	max-width: 100%;
	margin: 0;
	padding: 0;
}

/* 投稿日は非表示 */
.section02 .section02_staff_list .webgene-item-info time {
	display: none;
}

/* 役職 */
.section02 .section02_staff_list .webgene-item-info span {
	display: block;
	width: fit-content;
	max-width: 100%;
	margin: 0;
	padding: 3px 7px;
	box-sizing: border-box;
	color: #00d467;
	background-color: #231816;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;
	overflow-wrap: anywhere;
}

/* 名前 */
.section02 .section02_staff_list .webgene-item > header h2 {
	display: block;
	width: fit-content;
	max-width: 100%;
	margin: 0;
	padding: 8px 12px;
	box-sizing: border-box;
	color: #fff;
	background-color: #231816;
	border: 0;
	font-size: clamp(16px, 1.6vw, 22px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.08em;
	overflow-wrap: anywhere;
}

/* ---------- 900px以下 ---------- */

@media screen and (max-width: 900px) {
	.section02 .section02_staff_list > .webgene-blog {
		gap: 28px 16px;
	}

	.section02 .section02_staff_list > .webgene-blog > .webgene-item {
		border-radius: 15px;
	}

	.section02 .section02_staff_list .webgene-item > header {
		left: 8px;
		right: 8px;
		bottom: 8px;
	}
}

/* ---------- 576px以下：2列 ---------- */

@media screen and (max-width: 576px) {
	.section02 .section02_staff_list {
		margin-top: 32px;
	}

	.section02 .section02_staff_list > .webgene-blog {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 12px;
	}

	.section02 .section02_staff_list > .webgene-blog > .webgene-item {
		border-width: 1px;
		border-radius: 12px;
	}

	.section02 .section02_staff_list .webgene-item > header {
		left: 7px;
		right: 7px;
		bottom: 7px;
		gap: 3px;
	}

	.section02 .section02_staff_list .webgene-item-info span {
		padding: 2px 5px;
		font-size: 10px;
	}

	.section02 .section02_staff_list .webgene-item > header h2 {
		padding: 5px 7px;
		font-size: 14px;
	}
}


/* SECTION02: index.js scroll controller, desktop and mobile.
   Long panels scroll vertically first; then the next panel slides in. */
body.on .section02.is-horizontal:not(.section02-portal) {
  height: var(--section-height);
  min-height: 0;
  padding: 0;
  border: 0;
}
body.on .section02.section02-portal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  max-width: none;
  height: var(--view-height);
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
body.on .section02-portal .section02_scroll {
  position: relative;
  top: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  touch-action: pan-y;
}
body.on .section02-portal .section02_track {
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  will-change: transform;
}
body.on .section02-portal .section02_panel {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: var(--view-height);
  margin: 0;
  overflow: hidden;
}
body.on .section02-portal .section02_panel_inner {
  height: auto;
  min-height: var(--view-height);
}
body.on .section02-portal .section02_gallery,
body.on .section02-portal .sc-anime {
  opacity: 1;
  visibility: visible;
}
body.on .section02-portal .sc-anime {
  animation: none;
}
/* STAFF title and button share a row on small screens. */
@media (max-width: 900px) {
  .section02 .section02_panel_inner { padding-top: 100px; }
  .section02 .section02_staff_head {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .section02 .section02_staff_head .section02_titlebox {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
  }
  .section02 .section02_staff_head .entitle2 {
    font-size: clamp(32px, 8vw, 60px);
  }
  .section02 .section02_staff_head .more1 {
    flex: 0 0 auto;
    width: auto;
    max-width: 48%;
    margin: 0;
  }
  .section02 .section02_staff_head .more1 a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-width: 0;
    min-height: 44px;
    padding: 12px 14px;
  }
  .section02 .section02_staff_head .more1 a p {
    margin: 0;
    font-size: clamp(11px, 2.8vw, 14px);
    line-height: 1.3;
    white-space: nowrap;
  }
}

/* 編集画面：bodyにonがない場合 */
body:not(.on) .section02 {
  height: auto !important;
  overflow: visible !important;
}
body:not(.on) .section02 .section02_scroll, body:not(.on) .section02 .section02_sticky {
  position: relative !important;
  top: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  cursor: auto !important;
  scroll-snap-type: none !important;
}
body:not(.on) .section02 .section02_track {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  transform: none !important;
}
body:not(.on) .section02 .section02_panel {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 650px;
  overflow: visible !important;
  flex: none !important;
  transform: none !important;
  scroll-snap-align: none !important;
}
body:not(.on) .section02 a, body:not(.on) .section02 img, body:not(.on) .section02 p, body:not(.on) .section02 div {
  pointer-events: auto !important;
}
body:not(.on) .section02 img {
  -webkit-user-drag: auto !important;
  user-select: auto !important;
}
body:not(.on) .section02 .section02_panel *, body:not(.on) .section02 .sc-anime {
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
  transform: none;
}
body:not(.on) .section02 .section02_gallery, body:not(.on) .section02 .section02_staff, body:not(.on) .section02 .section02_first {
  margin-bottom: 30px;
}
body:not(.on) .section02 .section02_panel:last-child {
  margin-bottom: 0;
}
/* FIRST VISITの写真と本文が編集画面でも欠けないようにする */
body:not(.on) .section02 .section02_first_img {
  width: 100%;
  height: 300px;
}
body:not(.on) .section02 .section02_first_content {
  width: 100%;
  height: auto;
}
body:not(.on) .section02 .section02_first_inner {
  height: auto;
}
@media screen and (max-width: 900px) {
  body:not(.on) .section02 .section02_panel {
    min-height: 0;
  }
}
.section02_panel.section02_first{    background-image: url(https://hs-friends.com/system_panel/uploads/images/topbg3.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.seo-h1{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}