@charset "UTF-8";
/* CSS Document */
/* --- それぞれのページに関するスタイルの指定、PC閲覧を想定 --- */
/* 900px以上のブラウザでの閲覧時、ボトムナビゲーションを非表示
------------------------------------------------------ */
.bottom-menu,
.drawer-nav {
  display: none;
}

.chevron--right {
  display: block;
}

.chevron--down {
  display: none;
}

/* トップページ
----------------------------------- */
/* ===== Hero Section =====  */
.hero {
  position: sticky;
  top: var(--headerHeight);
  height: calc(100svh - var(--headerHeight, 80px));
  background-color: #333;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  display: block;
  background-image: var(--hero-img-bg);
  inset: 0;
  z-index: 0;
  pointer-events: none; /* 装飾要素なので操作不可に */
  background-position: center center; /* 中央に寄せてタイル状に配置 */
  background-size: auto 160%; /* 縦方向を基準に拡大（調整可） */
  transform: scale(1.04); /* ちょっと拡大して端のシームを避ける */
  filter: blur(8px) saturate(1.1) brightness(0.9); /* 大きさに合わせて調整 */
  /* will-change: transform, filter; */
  opacity: 1;
}

.hero__picture {
  display: block;
  position: relative;
  top: 0;
  width:100%;
  height: 100%;
  max-width: 1070px;
  margin-inline: auto;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__heading {
  position: absolute;
  top: 72%;
  left: 38%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--bg-color);
  text-shadow: 2px 3px 6px rgb(0 0 0 / 0.75);
  font-feature-settings: "halt";
  letter-spacing: 0.05em;
  font-family: "Hiragino Mincho ProN", "YuMincho", "Yu Mincho", serif;
  transition: top 0.5s ease, opacity 0.5s ease;
}

.hero__heading.is-scrolled {
  top: 10%;
  opacity: 0;
}

.hero__heading .big {
  font-size: 1.4em;
}

.hero__heading .kanji {
  font-size: 1.17em;
}

.hero__heading .spacer {
  margin-right: 0.15em;
}

.hero__overlay {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  display: block;
  inset: 0;
  background: rgb(0 0 0 / 0.75);
  z-index: 2;
  transition: opacity 0.3s;
}

.hero__overlay.is-scrolled {
  visibility: visible;
  opacity: 1;
}

.top-concept__text {
  position: relative;
  color: var(--bg-color);
  display: inline-block;
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.09rem); /* 画面幅に応じて文字サイズを可変に */
  max-width: min(100vw, 800px);
  line-height: 1.7;
  margin: 1em auto;
  padding: 0 2em;
  font-feature-settings: "halt";
  padding-bottom: var(--topConceptTextPadding);
  z-index: 3;
}

.top-concept__text ruby rt {
  font-size: 0.6em;
  color: inherit;
}

/* ===== Top Features Section ===== */
.top-features {
  background-color: var(--bg-color-sub);
  padding-bottom: 2.5rem;
  padding-top: 1.87rem;
  margin-bottom: 30px;
  margin-top: 0;
}

.top-features__list {
  display: block grid;
  grid-template-columns: repeat(4,210px);
  grid-column-gap: 15px;
  justify-content: center;
  padding: 1rem 0 2rem;
  margin: 0 auto;
}

.top-features__item {
  display: block grid;
  grid-template:
    "." 3rem
    "icon"
    "." 2rem
    "heading"
    "." 2rem;
  background-color: var(--bg-color);
  border: 2px solid var(--accent-color-main);
  border-radius: 1em;
  width: 100%;
}

.top-features__icon {
  grid-area: icon;
}

.top-features__icon .iconFont {
  font-size: 3rem;
  color: var(--accent-color-main);
}

.top-features__heading {
  grid-area: heading;
  margin: 0;
  font-size: 1rem;
}

/* ===== Top Work Section ===== */
.top-work {
  margin-inline: auto;
  padding: 0 1rem;
  padding-bottom: 2rem;
  max-width: 1200px;
}

.top-work_cards {
  display: block grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.2rem 1rem;
  margin-inline: auto;
  max-width: 1200px;
}

.top-work__article {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  grid-gap: 0;
  width: min(100%, var(--top-card-max-width));
  margin-inline: auto;
  padding: 0 0 1em;
  box-shadow: 0px 2px 3px 2px rgb(0 0 0 / 0.15);
  border-radius: 0.3em;
  overflow: hidden;
}

.top-work_cards img {
  width: 100%;
  height: auto;
  background: beige;/* 確認用ダミー色 */
}

.top-work_cards h3 {
  margin: 10px 0 0;
  color: var(--accent-color-main);
  line-height: 2.19em;
}

.top-work_cards p {
  font-size: 0.94rem;
  padding: 0 1rem;
  margin: 0;
}

.top-work .link_button {
  display: block;
  margin-top: 1rem;
  transition: bottom 0.3s, background 0.3s, color 0.3s, border 0.3s;
}

.top-work .link_button:active {
  bottom: 2px;
}

/* ===== Top Band Section ===== */
.top-band {
  background-color: var(--accent-color-sub);
}

.top-band_container {
  margin-inline: auto;
  max-width: 1200px;
  padding: 2.5rem 0 4rem;
}

.top-band_container .micro-copy {
  display: inline-block;
  position: relative;
  color: var(--bg-color);
  left:50%;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: "ヒラギノ丸ゴ ProN", sans-serif;
  padding: 0 1rem;
  transform: translateX(-50%);
}

/* ----- マイクロコピーの装飾ここから ----- */
.top-band_container .micro-copy::before,
.top-band_container .micro-copy::after {
  position: absolute;
  content: "";
  top: calc(50% + 0.1em);
  transform-origin: center center;
  width: 1px;
  height: 1rem;
  background-color: var(--bg-color);
}

.top-band_container .micro-copy::before{
  left: 0;
  transform: translateY(-50%) rotate(-30deg);
}

.top-band_container .micro-copy::after {
  right: 0;
  transform: translateY(-50%) rotate(30deg);
}
/* ----- マイクロコピーの装飾ここまで ----- */

.top-band_buttons {
  display: flex;
  justify-content: center;
  gap: min(5rem, 10vw);
}

.top-band_buttons .button {
  display: block;
  position: relative;
  text-align: center;
  width: 14rem;
  font-weight: 500;
  padding: 1rem 1.2rem;
  border-radius: 100vmax;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.top-band_buttons .button-form-secondary {
  background-color: var(--cta-color);
  color: var(--textColor);
  border: solid 2px var(--cta-color);
}

.top-band_buttons .button-form-secondary:hover,
.top-band_buttons .button-form-secondary:focus-visible {
  background-color: var(--bg-color-muted);
  color: var(--cta-color-dark);
  border-color: var(--bg-color-muted);
}

.top-band_buttons .button-form-primary {
  background-color: var(--accent-color-main);
  color: var(--bg-color);
  border: solid 2px var(--bg-color);
}

.top-band_buttons .button-form-primary:hover,
.top-band_buttons .button-form-primary:focus-visible {
  background-color: var(--bg-color-muted);
  color: var(--accent-color-main);
  border-color: var(--bg-color-muted);
}

/* ボタンの装飾、右向きのシェブロン */
.top-band_buttons .button::after{
  position: absolute;
  content: "";
  width: .5em;
  height:.5em;
  border-top: solid 2px;
  border-right: solid 2px;
  right: 1em;
  top: 50%;
  transform: rotate(45deg);
  margin-top: -.26em;
  margin-left: .05em;
}

.top-band_num_and_icons {
  display: flex;
  justify-content: space-around;
  padding: 0 2.5rem;
  margin-top: 2rem;
  margin-inline: auto;
  max-width: 800px;
}

.top-band_num p {
  color: var(--bg-color);
  padding: 0;
  margin: 0.2rem;
  text-align: center;
}

.top-band_num p:nth-child(2) {
  font-size: 1.7rem;
}

.top-band_num p:nth-child(3) {
  font-size: 0.8rem;
}

.top-band_num a {
  margin-left: 0.2em;
  color: var(--bg-color);
  transition: opacity 0.3s;
}

.top-band_num a:hover,
.top-band_num a:focus-visible {
  opacity: 0.7;
}

/* ホバー、フォーカス時に左端から伸びていく下線 */
.top-band_num a::after {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 2px;
  background: rgb(255 255 255 / 0.7);
  bottom: -3px;
  transform: scale(0,1);
  transform-origin: left top;
  transition: transform 0.3s;
}

.top-band_num a:hover::after,
.top-band_num a:focus-visible::after {
  transform: scale(1,1);
}

.top-band_icons {
  margin: 0;
  width: 40%;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3,33%);
  place-content: center;
  text-align: center;
}

.top-band_icons .iconFont {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--bg-color);
  font-size: 2.4rem;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  transition: opacity 0.3s, box-shadow 0.3s;
}

.top-band_icons a:hover > .iconFont,
.top-band_icons a:focus-visible > .iconFont {
  opacity: 0.7;
  box-shadow: 0 0 4px 1px rgb(255 255 255 / 0.7);
}

/* ===== Top Guidance Section ===== */
.top-guidance {
  --chevron-size: 20px;

  padding: 0.75rem 1rem 1.25rem;
}

.top-guidance_list {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  justify-content: center;
  gap: 10px;
  padding-inline: 1.2rem;
  margin: 0;
  margin-inline: auto;
  margin-bottom: 1rem;
}

.top-guidance_list .guide-flow__heading {
  font-size: 1rem;
}

/* ===== Top Access Section ===== */
.top-access {
  background-color: var(--bg-color-sub);
  padding-top: 0.87rem;
  padding-bottom: 2rem;
  margin: 1rem 0 0;
}

.top-access_map {
  margin: 0 auto 0.5em;
  max-width: 1200px;
  height: auto;
  border: 1px solid var(--border-color);
}

.top-access table td {
  padding-left: 1em;
}

/* ===== Top FAQ Section ===== */
.top-faq__list .faq__item {
  max-width: 640px;
}

.faq__item .faq-btn {
  border: none;
  padding: 0 2rem 0 0;
  background-color: transparent;
  display: block;
  width: 100%;
  font-size: 1.17rem;
  text-align: left;
  position: relative;
}

/* ボタンの右端の + マーク、押すと回転する */
.faq__item .faq-btn::before,
.faq__item .faq-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.35em;
  width: 0.7em;
  height: 2px;
  background-color: #666;
  transform: translateY(-50%);
  transition: transform 0.3s;
}

.faq__item .faq-btn[aria-expanded="false"]::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq__item .faq-btn[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(225deg);
}

.faq__item .faq-btn[aria-expanded="true"]::before {
  transform: translateY(-50%) rotate(135deg);
}

.top-faq .faq__item .faq-a {
  border: none;
  overflow: hidden;
  height: 0;
}

.top-faq .faq__item .faq-a[aria-hidden="false"] {
  border-top: 2px solid var(--border-color-light-grayish-blue);
}

.top-faq .faq__item .faq-a p {
  margin: 1em 0; 
}

.top-faq .faq__item:has(.faq-btn:hover),
.top-faq .faq__item:has(.faq-btn:focus-visible) {
  box-shadow: 0 4px 5px 0 var(--btn-shadow-color);
}

/* マーキュリーについてページ
------------------------------------ */
.about_about_us {
  margin: 1em 1.2em;
  padding: 1.5em;
  border: var(--border-color-light-grayish-blue) 1px solid ;
  border-radius: 5px;
}

.about_about_us > h2 {
  font-weight: 300;
}

.about_features {
  --padding: 1.4rem;
  --iconFont-height: 2.5rem;
  
  background: var(--bg-color-sub);
  padding: 1.5em 1em;
}

.about_features__title {
  margin-bottom: 1.5em;
}

.about_features__grid {
  display: grid;
  grid-template-columns: minmax(165px, 25%) 1fr;
  
  background: var(--bg-color);
  border: 2px solid var(--accent-color-main);
  border-radius: 2em;
  padding: 1.2em;
  margin-bottom: 1em;
}

.about_features__flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  
  border-right: 2px solid var(--border-color-light-grayish-blue);
  padding: 1em
}

.about_features__icon {
  font-size: 2.5rem;
  color: var(--accent-color-main);
  margin-bottom: 1.4rem;
}

.about_features__heading {
  font-size: 1rem;
}

.about_features__text {
  padding: 1em 1.5em;
}

.about_staffs {
  padding-top: 0.08px;
  margin: 0 1.2rem 1rem;
}

.about_staffs_grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  padding: 1.5rem 1rem;
  gap: 2rem;
  border-bottom: 2px solid var(--border-color-light-grayish-blue);
}

.portrait {
  display: flex;
  justify-content: center;
  align-items: center;
}

.portrait img {
  border-radius: 1rem;
  width: 100%;
  max-width: 180px;
  height: auto;
}

.profile {
  flex-basis: 70%;
}

.profile__post {
  color: var(--accent-color-main);
  font-size: 0.88rem;
  font-weight: 500;
}

.about_staffs__ideal {
  margin-top: 2rem;
  padding: 0 1rem
}
/* お仕事ページ
--------------------------------------*/
.work_content {
  padding-bottom: 2rem;
}

.work_title {
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--accent-color-main);
  background: linear-gradient(to right, #EAF8FF, #C2F2FF);
  margin: 0;
  padding: 1em 0;
}

.work_title:has(ruby) {
  padding: 1.3em 0 1em;
}

.work_grid {
  display: grid;
  grid-template-columns: 25% 1fr;
  gap: 1rem;
  padding-top: 1em;
  padding-bottom: 1em;
  padding-right: 1.8em;
  margin: 0;
}

.work_grid:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}

.work_abstract {
  display: block;
  padding-top: 2rem;
  padding-bottom: 1.2rem;
  padding-inline: 2rem;
  margin-block-start: 0;
  margin-block-end: 0;
}

.work_image {
  padding-bottom: 2rem;
  padding-inline: 2rem;
}

.work_icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.work_icon img {
  display: block;
  width: 4rem;
  height: 5rem;
  max-width: 100%;
  object-fit: contain;
}

.work_text h3 {
  color: var(--accent-color-sub);
}

.work_text ul {
  list-style-type: disc;
  padding-left: 1.3em;
}

.work_text li {
  padding: 0.5em 0;
}

/* ----- Guide Page ----- */
/* ===== Guide Conditions Section ===== */
.guide_conditions {
  padding: 0 1em;
}

.guide_conditions_container {
  border: 1px solid #BECAEF;
  padding: 1em;
  border-radius: 0.7em;
}

.guide_conditions_heading {
  font-size: 1.05em;
}

.guide_conditions_list {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 1rem;
}

.guide_conditions_item {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.guide_conditions_item span {
  font-feature-settings: "halt";
}

.guide_conditions_visions {
  margin-top: 2rem;
  padding: 0.5em 1em;
  border-radius: 1.2rem;
  border: 2px solid var(--border-color-light-grayish-blue);
}

/* ===== Guide Schedule Section ===== */
.guide_schedule_container {
  padding: 0.08px 1em 0;
}

.guide_schedule_container > div {
  max-width: 600px;
  margin: 0 auto;
  border: 4px solid var(--accent-color-main);
  border-top: 5em solid var(--accent-color-main);
}
  
.guide_schedule {
  margin: 1em auto 0;
  position: relative;
  border-collapse: collapse
}
  
.guide_schedule th {
  padding: 0.3em;
}

/* 時間割の縦線 */
.guide_schedule::before {
  content: "";
  position:absolute;
  width: 4px;
  height: calc(100% - 32px);
  top: 16px;
  left: 6em;
  transform: translateX(50%);
  background: var(--schedule-y-axis-color);
}
  
.guide_schedule :is(tr:nth-child(3),tr:nth-child(5)) :is(th,td) {
  padding-bottom: 1.8em
}
  
.guide_schedule tr:nth-child(4) :is(th,td) {
  padding-bottom: 1em;
}
  
.guide_schedule td {
  padding-left: 6em;
}
  
.guide_schedule th {
  position: relative;
}

/* 時間割の丸 */
.guide_schedule th::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  top: 1em;
  transform: translate(50%,-50%);
  left: 5em;
  background-color: var(--schedule-circle-color);
}
  
.guide_schedule caption {
  position: absolute;
  color: var(--bg-color);
  font-size: 1.05em;
  font-weight: 500;
  width: 100%;
  top: -4.7em;
  left: 50%;
  transform: translateX(-50%)
}

/* ===== Guide Flow Section ===== */

.guide_flow {
  --chevron-size: 24px;
  background: var(--bg-color-sub);
  padding: 0 1rem 3rem;
}

.guide_flow_list {
  margin: 0 auto;
  max-width: 800px;
}

.guide_flow_list .chevron--down {
  display: block;
}

.guide_flow_list .guide-flow__item:not(:last-child) {
  margin-bottom: 1.5rem;
}

/* ご利用の流れの1.お問い合わせのグリッドここから
------------------------------------- */
.gf_inq_grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  margin-top: 1rem;
}

.gf_inq_phone {
  text-align: center;
}

.gf_inq_form, .gf_inq_line {
  text-align: center;
  display: flex;
  align-items: center;
  padding: 0 0.2rem;
}

.gf_inq_phone div:first-child {
  font-size: 0.9rem
}

.gf_inq_phone div:nth-child(2) a {
  margin-left: 0.4rem;
  font-size: 1.3rem;
  background: linear-gradient(to top, var(--linkHover) 2px, transparent 99%) no-repeat;
  transition: color 0.5s ease, background-size 0.5s ease;
  background-position: 0% 100%;
  background-size: 0% 1px;
}

.gf_inq_phone div:nth-child(2) a:hover,
.gf_inq_phone div:nth-child(2) a:focus-visible {
  background-size: 200% 1px;
  color: var(--linkHover);
}

.gf_inq_phone div:last-child {
  font-size: 0.8rem;
}

.gf_inq_form a, .gf_inq_line a {
  display: flex;
  place-items: center;
  justify-content: center;
  margin: auto;
  padding: 1rem 0;
  width: 100%;
  font-weight: 600;
  color: var(--bg-color);
  border: 2px solid;
  border-radius: 1rem;
  transition: color 0.3s, background-color 0.3s;
}

.gf_inq_form a {
  background: var(--accent-color-sub);
  border-color: var(--accent-color-sub);
}

.gf_inq_form a:hover,
.gf_inq_form a:focus-visible {
  color:var(--accent-color-sub);
  background-color: transparent;
}

.gf_inq_line a {
  background: var(--lineGreen);
  border-color: var(--lineGreen);
  transition: color 0.3s, background-color 0.3s;
}

.gf_inq_line > a > .iconFont {
  font-size: 1.6rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.gf_inq_line a:hover,
.gf_inq_line a:focus-visible {
  color: var(--lineGreen);
  background-color: transparent;
}

/* ご利用の流れの1.お問い合わせのグリッドここまで
------------------------------------- */
/* ご利用の流れについての記述ここまで
----------------------------------- */

.guide_faq {
  padding: 0.08px 1em 0;
  margin-top: 0; 
}

.guide_faq .faq-q:not(:first-child) {
  margin-top: 1.5rem;
}

/* アクセスページ
-----------------------------------------*/
.access_table_and_map {
  display: flex;
  max-width: 1000px;
  margin: 0 auto 2rem;
  gap: 2rem;
}

.access_table_and_map .info_table {
  margin-bottom: 1rem;
  flex-basis: 45%;
}

.access_table_and_map .info_table th {
  padding-left: 1rem;
}

.access_map {
  flex-basis: 55%;
  border: 1px solid var(--border-color);
}

.access_directions__BG {
  background-color: var(--bg-color-sub);
  padding: 3rem 2rem 1.5rem;
}

.access_directions__title {
  font-size: 1.4rem;
  font-weight: 400;
  margin: 0 auto 1em;
}

.access_directions__map img {
  border: 1px solid var(--textColor);
}

.access_directions__flow {
  --chevron-size: 2rem;
  
  max-width: 1000px;
  margin: 2rem auto 1rem;
}

.access_directions__item {
  position: relative;
  display: block;
  background-color: var(--bg-color);
  padding: 1.2rem 1rem;
  margin: 1.2rem auto;
  border: 2px solid var(--accent-color-main);
  border-radius: 1rem;
}

.access_directions__item .chevron--down {
  display: block;
}

.access_directions__grid, .access_directions__grid--reverse {
  display: block grid;
  grid-template-rows: var(--acc-dir-index-size) 1fr;
  gap: 0.7rem 1rem;
}

.access_directions__grid {
  grid-template-columns: var(--acc-dir-img-width) 1fr;
  grid-template-areas:
    "img index"
    "img text";
}

.access_directions__grid--reverse {
  grid-template-columns: 1fr var(--acc-dir-img-width);
  grid-template-areas:
    "index img"
    "text  img"
}

.access_directions__img {
  grid-area: img;
  border: 1px solid var(--border-color);
  border-radius: 0.8rem;
}


.access_directions__index {
  grid-area: index;
  display: block;
  text-align: center;
  font-size: 1.5rem;
  font-family: "Helvetica", sans-serif;
  font-weight: 400;
  line-height: var(--acc-dir-index-size);
  width: var(--acc-dir-index-size);
  height: var(--acc-dir-index-size);
  background-color: var(--accent-color-sub);
  color: var(--bg-color);
  border-radius: 100vmax;
}

.access_directions__text {
  grid-area: text;
  font-family: "Hiragino Maru Gothic ProN", sans-serif;
  margin: 0;
}

/* お問い合わせページ
-------------------------------------- */
.form_section {
  padding-top: 0.08px; 
  border-top: 1px solid var(--bg-color-dim);
}

/* プライバシーポリシーページ
-------------------------------------- */
.privacy_policy > div {
  padding: 0 1rem;
}

.privacy_policy__declaration {
  padding-top: 3rem;
  padding-bottom: 2rem;
  margin: 0 auto;
  border-bottom: 2px solid var(--border-color);
}

.privacy_policy__list {
  list-style-position: outside;
  padding-left: 1.2rem;
}

.privacy_policy__list li {
  margin-bottom: 1rem;
}

.privacy_policy > div > div {
  margin: 3rem auto 0;
  padding-top: 1rem;
  border-top: 2px solid var(--border-color);
}

/* 情報公開ページ
-------------------------------------- */
.reports_overview {
  margin: 3rem auto 2rem;
  text-align: justify;
}

p.asterisk {
  padding-left: 1em;
}

p.asterisk::before {
  content: "※";
  font-family: sans-serif;
  margin-left: -1em;
}

.reports_accordion {
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}

.reports_accordion__heading {
  font-weight: 400;
  font-size: 1.2rem;
  border-left: 4px solid var(--accent-color-main);
  padding: .5em 0 .5em .8em;
  margin-top: 1.5em;
}

.pdf_list {
  list-style: disc outside;
  padding-left: 1rem;
}

.pdf_list[inert] {
  pointer-events: none;
}

.pdf_list_item {
  margin-bottom: 1.2rem;
  padding-right: 1.5em;
}

.pdf_list_item a {
  color: var(--accent-color-main);
  background: linear-gradient(to top, var(--linkHover) 2px, transparent 99%) no-repeat;
  transition: color 0.5s ease-out, background-size 0.5s ease-out;
  background-position: 0% 100%;
  background-size: 0% 1px;
}

.pdf_list_item a:hover,
.pdf_list_item a:focus-visible {
  background-size: 200% 1px;
  color: var(--linkHover);
}

.pdf_list_item a:visited {
  color: #666;
}

.reports .show_more_btn {
  display: block;
  padding: 0.5rem 2rem 1.2rem;
  margin: 1rem auto;
  width: calc(5em + 4rem);
  background-color: var(--accent-color-main);
  color: var(--bg-color);
  font-weight: 500;
  border: none;
  border-radius: .75rem;
  box-shadow: 
    0 3px 6px -2px rgb(0 0 0 / 0.75),
    0 2px 2px -1px rgb(255 255 255 / 0.5) inset;
  position: relative;
  cursor: pointer;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.reports .show_more_btn[aria-expanded="true"] {
  background-color: var(--bg-color);
  color: var(--accent-color-main);
  font-weight: 600;
  border: 2px solid var(--accent-color-main);
}

/* 「もっと見る」ボタンの矢印 */
.reports .show_more_btn::after {
  content: "";
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translate(-50%, 0%);
  transform-origin: center;
  transition: transform 0.3s ease-out, background-color 0.3s ease-out;
  background-color: var(--bg-color);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  width: 0.8em;
  height: 0.5em;
}

/* 「もっと見る」ボタンの矢印: 展開時に回転、色を変更 */
.reports .show_more_btn[aria-expanded="true"]::after {
  background-color: var(--accent-color-main);
  transform: translate(-50%, 0%) rotate(180deg);
}

/* pdf_listの子要素数が上限を超過しない場合、ボタンを表示しない */
.reports .show_more_btn[aria-hidden="true"] {
  visibility: hidden;
}

.reports .show_more_btn:hover,
.reports .show_more_btn:focus-visible {
  transform: scale(1.05);
  background-color: color-mix(in srgb, var(--accent-color-main) 85%, var(--bg-color));
  box-shadow:
    0 6px 12px -2px rgb(0 0 0 / 0.75),
    0 2px 2px -1px rgb(255 255 255 / 0.6) inset;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.reports .show_more_btn[aria-expanded="true"]:hover,
.reports .show_more_btn[aria-expanded="true"]:focus-visible {
  background-color: var(--bg-color-muted);
}

.reports .show_more_btn:focus:not(:focus-visible) {
  outline: none;
}

.reports .show_more_btn:active {
  transform: scale(0.98) translateY(2px);
  box-shadow:
    0 2px 3px -2px rgb(0 0 0 / 0.75),
    0 1px 1px -1px rgb(255 255 255 / 0.4) inset;
  background-color: color-mix(in srgb, var(--accent-color-main) 70%, black);
}