@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

@font-face {
  font-family: 'Noto Sans JP Local';
  src: local('Noto Sans JP'), local('NotoSansJP-Regular');
}

/* =========================================================
  link color
========================================================= */
html {
  scroll-behavior: smooth;
}

@media screen and (min-width: 960px) {
  html {
    scroll-padding-top: 118px;
  }
}

body {
  background: var(--main-color-1);
  color: var(--mono-color-1);
  font-family: 'Noto Sans JP Local', 'Noto Sans JP', sans-serif;
}

body[class^='dir-buntanfuufu-company'],
body[class^='dir-buntanfuufu-interview'] {
  background: var(--blue-color);
}

a {
  color: var(--a-color);
  text-decoration: none;
}

a:hover {
  color: var(--a-hover-color);
}

a:visited {
  color: var(--a-visited-color);
}

img.external {
  display: none !important;
}

#content a img {
  transition: transform 0.2s;
}

#content a:hover img {
  transform: translateY(6px);
}

#content a:hover span img {
  transform: translateY(0);
}

#content a img:hover {
  opacity: 1;
}

.adobeReader {
  display: none;
}

/* =========================================================
  site layout
========================================================= */
#container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
}

#main {
  width: 100%;
}

.top #main {
  margin-top: 0;
}

#content {
  background-image: url('../images/dot-left.svg'), url('../images/dot-right.svg');
  background-position:
    left 0 top 250px,
    right 0 top 250px;
  background-repeat: no-repeat;
}

.top #content {
  background-position:
    left top,
    right top;
}

#contentContainer {
  margin: 0 auto;
}

#pageFooter {
  width: 100%;
}

@media screen and (min-width: 960px) {
  #pageHeader {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
  }
  #main {
    margin: 80px auto 0;
  }
  #contentContainer {
    max-width: 1140px;
  }
}
@media screen and (max-width: 959px) {
  #main {
    margin: 40px auto 0;
  }
}

/* sitelogo
----------------------------------------------- */
#pageHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--mono-color-9);
}

#sitelogo .pieceBody {
  padding: 0;
}

#sitelogo a {
  display: inline-block;
  height: 100%;
  padding: 20px 40px;
  background-color: var(--mono-color-9);
}

#sitelogo img {
  width: 126px;
}

@media screen and (max-width: 959px) {
  #pageHeader {
    flex-wrap: wrap;
  }

  #sitelogo {
    flex-basis: 100%;
    text-align: center;
  }
}

/* smart-menu
----------------------------------------------- */
#smartMenu {
  display: none;
}

@media screen and (max-width: 959px) {
  #smartMenu {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
  }

  #smartMenu ul {
    display: flex;
  }

  #smartMenu li {
    list-style: none;
  }

  #smartMenu button {
    display: block;
    width: 64px;
    height: 64px;
    padding: 40px 8px 0;
    border: 0;
    outline: none;
    background-repeat: no-repeat;
    background-position: center 6px;
    background-size: 32px 32px;
    background-color: transparent;
    color: transparent;
    white-space: nowrap;
    font-size: 0.7rem;
    cursor: pointer;
  }

  #smartMenu button.active {
    background-image: url('../images/ic-menu-close.svg');
  }

  #smartMenu .globalNavi {
    background-image: url('../images/ic-menu.svg');
  }

  #smartMenu .search {
    background-image: url('../../kochi/images/ic-search2.svg');
  }

  #smartMenu .accessibilityTool {
    background-image: url('../../kochi/images/ic-accessibility.svg');
  }
}

@media screen and (max-width: 559px) {
  #smartMenu button {
    width: 66px;
    height: 66px;
    background-position: center 15px;
    background-size: 34px 34px;
    padding: 48px 0 4px;
    font-size: 1rem;
    font-weight: bold;
  }
}

@media screen and (max-width: 370px) {
  #smartMenu button {
    width: 56px;
    height: 56px;
    background-position: center 10px;
    background-size: 20px 20px;
    padding: 30px 0 4px;
  }
}

/* global-navi
----------------------------------------------- */
#globalNavi {
  flex-basis: calc(100% - 206px);
}

#globalNavi .pieceBody {
  padding: 0;
}

#globalNavi ul {
  display: flex;
}

#globalNavi li {
  display: flex;
  align-items: center;
}

#globalNavi .mainMenu > li {
  position: relative;
}

#globalNavi .mainMenu > li:nth-child(1) {
  flex: 175 1 0%;
}

#globalNavi .mainMenu > li:nth-child(2) {
  flex: 255 1 0%;
}

#globalNavi .mainMenu > li:nth-child(3) {
  flex: 235 1 0%;
}

#globalNavi .mainMenu > li:nth-child(4) {
  flex: 245 1 0%;
}

#globalNavi .mainMenu > li:nth-child(5) {
  flex: 340 1 0%;
}

#globalNavi .mainMenu > li:not(:first-child):not(.company)::before {
  content: '';
  display: block;
  width: 1px;
  height: 2.5em;
  background-color: var(--mono-color-6);
}

#globalNavi .mainMenu > li > a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex: 1;
  width: 100%;
  height: 100%;
  padding: 14px 0;
  font-size: 1.25rem;
  font-weight: bold;
  text-decoration: none;
}

#globalNavi li.company > a {
  gap: 16px;
  background-color: var(--main-color-17);
  color: var(--mono-color-9);
}

#globalNavi .mainMenu > li > a > span span {
  display: block;
}

#globalNavi .subMenu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 10;
}

#globalNavi .mainMenu > li:hover .subMenu,
#globalNavi .mainMenu > li.is-open .subMenu {
  visibility: visible;
  opacity: 1;
}

#globalNavi .subMenu a {
  display: block;
  width: 100%;
  padding: 10px 15px;
  color: var(--mono-color-9);
  text-align: center;
  font-size: 1.25rem;
  font-weight: bold;
}

#globalNavi .graph a {
  background-color: #64be00;
}

#globalNavi .initiative a,
#globalNavi .promotion-movie a {
  background-color: #ff8200;
}

#globalNavi .interview-movie a {
  background-color: #fff000;
  color: #ff8200;
}

#globalNavi .register-promotion a {
  background-color: #d7e665;
  color: #0377b8;
}

#globalNavi .company-list a {
  background-color: #5bc2d9;
}

#globalNavi .company-movie a {
  background-color: #009de1;
}

#globalNavi .interview-article a {
  background-color: #0075b6;
}

#globalNavi .subMenu a span {
  display: inline-block;
}

@media screen and (max-width: 959px) {
  #globalNavi {
    flex-basis: 100%;
  }

  #globalNavi .pieceBody {
    display: none;
    position: fixed;
    top: 60px;
    z-index: 9999;
    width: 100%;
    background-color: var(--mono-color-9);
  }

  #globalNavi ul {
    flex-wrap: wrap;
  }

  #globalNavi .mainMenu > li {
    display: flex;
    flex-direction: column;
    flex-basis: 100% !important;
    border-top: 1px solid var(--mono-color-6);
  }

  #globalNavi .mainMenu > li:last-child {
    border-bottom: 1px solid var(--mono-color-6);
  }

  #globalNavi .mainMenu > li:not(:first-child):not(.company)::before {
    content: none;
  }

  #globalNavi .mainMenu > li > a {
    justify-content: flex-start;
    padding: 14px;
  }

  #globalNavi .mainMenu > li > a > span span {
    display: inline-block;
  }

  #globalNavi .company img {
    width: 45px;
    height: 45px;
  }

  /* === スマホ用のサブメニュー（常時表示） === */
  #globalNavi .subMenu {
    display: flex;
    flex-direction: column;
    position: static;
    visibility: visible;
    opacity: 1;
    width: 100%;
  }

  #globalNavi .subMenu a {
    padding: 10px 14px 10px 74px;
    text-align: left;
  }
}

/* keyvisual
----------------------------------------------- */
#keyvisual {
  font-weight: 500;
  text-align: center;
}

#keyvisual .text {
  background-image: url('../images/top/left.svg'), url('../images/top/right.svg');
  background-repeat: no-repeat;
  background-position:
    left center,
    right 90px;
  background-size: contain;
}

#keyvisual .catchphrase {
  font-weight: bold;
}

#keyvisual .text p:not(:last-child) {
  margin-bottom: 1em;
}

#keyvisual .text span {
  display: block;
}

#keyvisual .link {
  display: inline-block;
  position: relative;
  background-color: var(--mono-color-9);
  border-radius: 50%;
}

#keyvisual .link h3 {
  margin-bottom: 10px;
}

#keyvisual .link li:not(:last-child) {
  margin-bottom: 38px;
}

#keyvisual .link::after {
  content: '';
  position: absolute;
  left: 50%;
  width: calc(100% + 400px);
  height: 100%;
  background: url('../images/top/company.svg') no-repeat left bottom / contain;
  transform: translateX(-50%);
  z-index: 0;
}

a[class*='btn-'] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  border: 5px solid var(--mono-color-1);
  border-radius: 9999px;
  box-shadow: 0 18px 0 var(--mono-color-1);
  background-repeat: no-repeat;
  font-weight: bold;
  letter-spacing: 0.15em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  z-index: 1;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
a[class*='btn-']:hover {
  transform: translateY(6px);
  box-shadow: 0 12px 0 var(--mono-color-1);
}
a.btn-blue {
  background-color: var(--blue-color);
  background-image: url('../images/arrow-white.svg');
  color: var(--yellow-color);
}
a.btn-green {
  background-color: var(--green-color);
  color: var(--mono-color-1);
}
a.btn-orange {
  background-color: var(--orange-color);
  color: var(--mono-color-1);
}
a.btn-yellow {
  background-color: var(--yellow-color);
  background-image: url('../images/arrow-black02.svg');
  color: var(--mono-color-1);
}
a.btn-blue:hover {
  color: var(--yellow-color);
}
a[class*='btn-'] img {
  display: flex;
  justify-content: center;
  align-items: center;
}
a[class*='btn-'] > span {
  flex: 1;
}

#keyvisual li a {
  justify-content: space-between;
}

@media screen and (min-width: 960px) {
  #keyvisual {
    max-width: 1440px;
    margin: 80px auto 130px;
  }
  #keyvisual .banner {
    margin-bottom: 50px;
  }
  #keyvisual h2 {
    margin-bottom: 100px;
  }
  #keyvisual .text {
    margin-bottom: 90px;
    font-size: 1.5rem;
  }
  #keyvisual .catchphrase {
    font-size: 2.5rem;
  }
  #keyvisual .link {
    padding: 50px 132px 90px;
  }
  #keyvisual .link::after {
    bottom: -60px;
  }
  a[class*='btn-'] {
    max-width: 620px;
    padding: 12px;
    background-position: right 38px center;
  }
  a[class*='btn-'] > span {
    margin-left: 16px;
  }
  #keyvisual li a {
    padding: 12px 75px 12px 12px;
    font-size: 1.75rem;
  }
}
@media screen and (max-width: 959px) {
  #keyvisual {
    max-width: 100%;
    padding: 20px 0 40px;
  }
  #keyvisual .banner,
  #keyvisual h2 {
    margin-bottom: 20px;
    padding: 0 30px;
  }
  #keyvisual .text {
    margin-bottom: 20px;
    font-size: 1rem;
  }
  #keyvisual .text p:not(.catchphrase) {
    padding: 0 30px;
  }
  #keyvisual .catchphrase {
    font-size: 1.35rem;
  }
  #keyvisual .link {
    width: calc(100% - 40px);
    padding: 40px 20px 80px;
  }
  #keyvisual .link::after {
    width: 100%;
  }
  #keyvisual .link::after {
    bottom: -40px;
  }
  a[class*='btn-'] {
    max-width: 100%;
    padding: 6px;
    background-position: right 12px center;
  }
  #keyvisual li a {
    padding: 6px 24px 6px 6px;
    background-size: auto 40%;
    font-size: 1.15rem;
  }
  #keyvisual li a img {
    width: 45px;
    height: 45px;
  }
}
@media screen and (max-width: 559px) {
  #keyvisual .text {
    background: none;
  }
  #keyvisual .text p:not(.catchphrase) {
    padding: 0 10px;
  }
}

/* topAnchorlink
----------------------------------------------- */
#topAnchorlink {
  text-align: center;
}

#topAnchorlink ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

#topAnchorlink li a {
  background-image: url('../images/arrow-black01.svg');
}

@media screen and (min-width: 960px) {
  #topAnchorlink {
    margin-bottom: 145px;
  }
  #topAnchorlink .pieceHeader {
    margin-bottom: 60px;
  }
  #topAnchorlink li {
    flex: 1;
  }
  #topAnchorlink li a {
    padding: 25px 12px;
    font-size: 2.5rem;
  }
}
@media screen and (max-width: 959px) {
  #topAnchorlink {
    margin: 0 20px 60px;
  }
  #topAnchorlink .pieceHeader {
    margin-bottom: 20px;
  }
  #topAnchorlink ul {
    flex-direction: column;
  }
  #topAnchorlink li {
    width: 100%;
  }
  #topAnchorlink li a {
    padding: 12px 36px;
    background-size: auto 20%;
    font-size: 1.5rem;
  }
}

/* graph
----------------------------------------------- */
.main-contents {
  font-weight: 500;
  text-align: center;
}

.main-contents h2 {
  position: relative;
  border: 5px solid var(--mono-color-1);
  z-index: 1;
}

#graph h2 {
  background-color: var(--green-color);
}

.main-contents h2 span {
  display: block;
  margin-top: 10px;
}

.main-contents .pieceHeader+.pieceBody {
  border-radius: 20px;
  background-color: var(--mono-color-9);
  font-weight: bold;
}

.main-contents .block {
  position: relative;
  border-radius: 20px;
  background-color: var(--creamyellow-color);
}

.main-contents .no {
  position: absolute;
  left: -20px;
  top: -30px;
}

.main-contents h3 {
  margin-bottom: 20px;
}

.main-contents h3 span {
  display: block;
}

.main-contents .graph-area {
  display: block;
  background-color: var(--mono-color-9);
}

.main-contents .graph-area.no2 {
  overflow: visible;
}

.graph-area.no2 img {
  display: block;
  max-width: none;
}

.main-contents .graph-area.no3 {
  overflow: visible;
}

.graph-area.no3 img {
  display: block;
  max-width: none;
}

.main-contents p > span {
  display: block;
}

@media screen and (min-width: 960px) {
  .main-contents {
    margin-bottom: 160px;
  }
  #graph.main-contents {
    font-size: 2rem;
  }
  .main-contents .pieceHeader {
    padding: 0 80px;
  }
  .main-contents h2 {
    padding: 20px;
    border-radius: 100px;
  }
  .main-contents .pieceHeader span {
    font-size: 1.75rem;
  }
  .main-contents .pieceHeader+.pieceBody {
    margin-top: -80px;
    padding: 130px 80px 80px;
  }
  #graph .pieceBody > p:not(:last-child),
  #graph .block:not(:last-child) {
    margin-bottom: 60px;
  }
  .main-contents .block {
    padding: 20px 40px 40px;
  }
  .main-contents .graph-area {
    padding: 20px 40px;
  }
  .main-contents .graph-area.no2 {
    padding: 40px 40px 20px;
  }
  .graph-area.no2 img {
    width: calc(100% + 100px);
    margin-right: -100px;
  }
  .main-contents .graph-area.no3 {
    padding: 20px 40px 20px;
  }
  .graph-area.no3 img {
    width: calc(100% + 40px);
    margin-right: -40px;
  }
}
@media screen and (max-width: 959px) {
  .main-contents {
    margin-bottom: 40px;
    padding: 0 20px;
  }
  #graph.main-contents {
    font-size: 1.15rem;
  }
  .main-contents .pieceHeader {
    padding: 0 20px;
  }
  .main-contents h2 {
    padding: 10px 8px;
    border-radius: 54px;
  }
  .main-contents .pieceHeader span {
    font-size: 1rem;
  }
  .main-contents .pieceHeader+.pieceBody {
    margin-top: -64px;
    padding: 80px 20px 20px;
  }
  #graph .pieceBody > p:not(:last-child),
  #graph .block:not(:last-child) {
    margin-bottom: 40px;
  }
  .main-contents .no img {
    width: 53px;
    height: 53px;
  }
  .main-contents .block {
    padding: 20px;
  }
  .main-contents .graph-area {
    padding: 20px;
  }
  .graph-area.no2 img {
    width: calc(100% + 50px);
    margin-right: -50px;
  }
  .main-contents .graph-area.no3 {
    padding: 20px;
  }
  .graph-area.no3 img {
    width: calc(100% + 20px);
    margin-right: -20px;
  }
}

/* initiative
----------------------------------------------- */
#initiative h2 {
  background-color: var(--orange-color);
}

#initiative .lead {
  position: relative;
  font-weight: 500;
}

#initiative .lead::before,
#initiative .lead::after {
  content: '';
  position: absolute;
  background-position: left top;
  background-repeat: no-repeat;
  background-size: contain;
}

#initiative .lead::before {
  background-image: url('../images/top/torikumi_illust-left.svg');
}

#initiative .lead::after {
  background-image: url('../images/top/torikumi_illust-right.svg');
}

#initiative .contents-no {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

#initiative .contents-link {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media screen and (min-width: 960px) {
  #initiative.main-contents {
    font-size: 1.35rem;
  }
  #initiative .lead {
    padding-left: 55px;
    padding-bottom: 80px;
  }
  #initiative .lead::before {
    left: -41px;
    top: 0;
    width: 164px;
    height: 534px;
  }
  #initiative .lead::after {
    right: -40px;
    top: 80px;
    width: 160px;
    height: 454px;
  }
  #initiative .lead p:not(:last-child) {
    margin-bottom: 1.5em;
  }
  #initiative .contents-no {
    margin-bottom: 80px;
  }
  #initiative .contents-no li:nth-child(n + 4) {
    margin-top: -40px;
  }
  #initiative .contents-link {
    gap: 40px;
  }
}
@media screen and (max-width: 959px) {
  #initiative.main-contents {
    font-size: 1rem;
  }
  #initiative .lead {
    padding: 0 40px 30px;
  }
  #initiative .lead::before {
    left: -40px;
    top: 50%;
    width: 82px;
    height: 267px;
    transform: translateY(-50%);
  }
  #initiative .lead::after {
    right: -40px;
    top: 50%;
    width: 80px;
    height: 227px;
    transform: translateY(-50%);
  }
  #initiative .lead p:not(:last-child) {
    margin-bottom: 1em;
  }
  #initiative .contents-no {
    margin-bottom: 30px;
  }
  #initiative .contents-link {
    gap: 20px;
  }
}

/* link
----------------------------------------------- */
#link {
  text-align: center;
}

#link ul {
  display: flex;
  flex-wrap: wrap;
}

#link a img {
  transition: transform 0.2s;
}

#link a:hover img {
  transform: translateY(6px);
}

@media screen and (min-width: 960px) {
  #link .pieceHeader {
    margin-bottom: 60px;
  }
  #link ul {
    gap: 40px 20px;
  }
  #link li {
    flex-basis: calc(50% - 10px);
  }
}
@media screen and (max-width: 959px) {
  #link .pieceHeader {
    margin-bottom: 30px;
  }
  #link ul {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
  }
}

/* commonFooter
----------------------------------------------- */
#commonFooter {
  font-weight: 500;
}

#commonFooter .pieceBody {
  display: flex;
  align-items: center;
}

#commonFooter .section {
  font-weight: bold;
}

#commonFooter p span {
  display: inline-block;
}

#commonFooter .section span {
  margin-right: 1em;
}

@media screen and (min-width: 960px) {
  #commonFooter {
    max-width: var(--content-width);
    margin: 100px auto 60px;
    font-size: 1.5rem;
  }
  #commonFooter .pieceBody {
    justify-content: center;
    gap: 60px;
  }
  #commonFooter .section {
    font-size: 2rem;
    font-weight: bold;
  }
}
@media screen and (max-width: 959px) {
  #commonFooter {
    margin: 40px auto 20px;
    font-size: 1.15rem;
  }
  #commonFooter .pieceBody {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
  }
}

/* copyright
----------------------------------------------- */
#copyright {
  padding: 1em 0;
  background-color: var(--mono-color-5);
  color: var(--mono-color-9);
  text-align: center;
  letter-spacing: 0.15em;
}

@media screen and (min-width: 960px) {
  #copyright small {
    font-size: 1rem;
  }
}

/* pageTitle
----------------------------------------------- */
#pageTitle {
  text-align: center;
}

.page #pageTitle h1 {
  position: relative;
  padding: 20px;
  border: 5px solid var(--mono-color-1);
  z-index: 1;
}

.page #pageTitle h1.green {
  background-color: var(--green-color);
}

.page #pageTitle h1.orange {
  background-color: var(--orange-color);
}

.page #pageTitle h1 span {
  display: block;
  margin-top: 10px;
}

.interview #pageTitle h1,
.topics #pageTitle h1 {
  position: relative;
  margin: 0 0 20px;
  color: var(--mono-color-1);
  text-align: center;
}

@media screen and (min-width: 960px) {
  .company #pageTitle {
    margin-bottom: 60px;
  }
  .page #pageTitle {
    padding: 0 80px;
  }
  .page #pageTitle h1 {
    border-radius: 100px;
  }
  .page #pageTitle h1 span {
    font-size: 1.75rem;
  }
  .interview #pageTitle h1,
  .topics #pageTitle h1 {
    font-size: 2.5rem;
    letter-spacing: 0.25rem;
  }
}
@media screen and (max-width: 959px) {
  .company #pageTitle,
  .interview #pageTitle,
  .topics #pageTitle {
    margin-bottom: 20px;
  }
  .page #pageTitle {
    padding: 0 20px;
  }
  .page #pageTitle h1 {
    border-radius: 68px;
  }
  .page #pageTitle h1 span {
    font-size: 1rem;
  }
  .interview #pageTitle h1,
  .topics #pageTitle h1 {
    font-size: 1.5rem;
    letter-spacing: 0.1rem;
  }
}

/* torikumi
----------------------------------------------- */
/* 取り組み1 */
.torikumi {
  border-radius: 20px;
  background-color: var(--mono-color-9);
}

.torikumi h2 {
  display: inline-flex;
  align-items: center;
  position: relative;
  background-color: var(--mono-color-9);
  transform: translateY(-50%);
}

.torikumi h2 .img {
  position: absolute;
}

.torikumi p {
  margin-bottom: 1em;
}

.torikumi a.btn-orange,
.torikumi a.btn-green {
  max-width: 100%;
}

.torikumi a.btn-orange > span,
.torikumi a.btn-green > span {
  flex: none;
}

.torikumi p > strong > span {
  display: block;
}

@media screen and (min-width: 960px) {
  .torikumi {
    margin-top: 130px;
    padding: 0 80px 80px;
    font-size: 1.35rem;
  }
  .torikumi h2 {
    padding: 10px 56px;
    font-size: 3rem;
    letter-spacing: 0.25rem;
  }
  .torikumi h2 .img {
    left: -71px;
    top: -25px;
  }
  .torikumi h2 .txt {
    margin-left: 71px;
  }
  .torikumi .lead-txt {
    font-size: 3rem;
  }
  .torikumi p:has(img) + p,
  .torikumi p + .block,
  .torikumi .block + p,
  .torikumi p + p:has(img) {
    margin-top: 3em;
  }

  .torikumi p + .block {
    padding-top: 40px;
  }
}
@media screen and (max-width: 959px) {
  .torikumi {
    margin: 70px 20px 0;
    padding: 0 20px 20px;
  }
  .torikumi h2 {
    padding: 10px 10px 10px 20px;
    font-size: 1.3rem;
  }
  .torikumi h2 .img {
    left: -20px;
  }
  .torikumi h2 img {
    width: 71px;
    height: 67px;
  }
  .torikumi h2 .txt {
    margin-left: 36px;
  }
  .torikumi .lead-txt {
    font-size: 2rem;
  }
  .torikumi p:has(img) + p,
  .torikumi p + .block,
  .torikumi .block + p,
  .torikumi p + p:has(img) {
    margin-top: 1.5em;
  }
  .torikumi p + .block {
    padding-top: 20px;
  }
  .torikumi a[class*='btn-'] {
    padding: 12px 40px;
  }
  #no1.torikumi a[class*='btn-'] > span {
    flex: auto;
  }
  #no1.torikumi a[class*='btn-'] .img {
    flex: none;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #no1.torikumi a[class*='btn-'] .img:first-child {
    position: absolute;
    left: 15px;
  }
  #no1.torikumi a[class*='btn-'] .img:last-child {
    position: absolute;
    right: 15px;
  }
  .torikumi a[class*='btn-'] .img img {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 20px;
  }
  #no1.torikumi a[class*='btn-'] .txt {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    word-break: break-word;
    font-size: 100% !important;
  }
}

/* 取り組み2 */
.torikumi .lead-img {
  position: relative;
}

.torikumi .lead-img .img {
  position: absolute;
}

.torikumi .list h3 {
  border-bottom: 3px solid var(--mono-color-1);
}

.torikumi .list ul {
  display: flex;
  flex-wrap: wrap;
  font-weight: normal;
  text-align: left;
}

.torikumi .list li {
  padding-left: 1em;
  text-indent: -1em;
}

.torikumi .list li::before {
  content: '○';
}

.torikumi .list li span {
  display: inline-block;
  padding-left: 1em;
}

.torikumi .document h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  line-height: 1.5;
}

.torikumi .document h3::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  border-bottom: 3px solid var(--mono-color-1);
  transform: translateY(-50%);
  z-index: 1;
}

.torikumi .document h3 span {
  display: inline-block;
  position: relative;
  padding: 0 1em;
  background-color: var(--mono-color-9);
  z-index: 2;
}

.torikumi .document ul {
  font-weight: normal;
  text-align: left;
}

.torikumi .document a:hover {
  text-decoration: underline;
}

@media screen and (min-width: 960px) {
  .torikumi .lead-img .img {
    right: -140px;
    top: -60px;
  }
  .torikumi .lead-img img {
    width: 224px;
    height: 224px;
  }
  .torikumi .list h3 {
    margin: 1.5em 0 1em;
    padding-bottom: 1em;
    font-size: 2.25rem;
  }
  .torikumi .list li {
    flex-basis: 50%;
  }
  .torikumi .document h3 {
    margin: 1.5em 0 1em;
    font-size: 150%;
  }
}
@media screen and (max-width: 959px) {
  .torikumi .lead-img .img {
    right: -40px;
    top: -90px;
  }
  .torikumi .lead-img img {
    width: 90px;
    height: 90px;
  }
  .torikumi .lead-img .txt {
    padding: 0 20px;
  }
  .torikumi .list h3 {
    margin: 1em 0 0.5em;
    padding-bottom: 0.5em;
    font-size: 1.25rem;
  }
  .torikumi .list ul {
    flex-direction: column;
  }
  .torikumi .document h3 {
    margin: 1em 0 0.5em;
    font-size: 125%;
  }
}

/* 取り組み3 */
.torikumi .link {
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.torikumi .link a {
  justify-content: space-between;
}

.torikumi .merit h3 {
  display: inline-block;
  position: relative;
}

.torikumi .merit h3::before,
.torikumi .merit h3::after {
  content: '';
  position: absolute;
  background-position: left top;
  background-repeat: no-repeat;
}

.torikumi .merit h3::before {
  background-image: url('../images/torikumi/ic-left.svg');
}

.torikumi .merit h3::after {
  background-image: url('../images/torikumi/ic-right.svg');
}

.torikumi .merit ul {
  display: flex;
}

.torikumi .merit li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  margin: -10px;
  padding: 0;
  border-radius: 50%;
  background-color: var(--skyblue-color);
}

.torikumi .merit li .img {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.torikumi .merit .title {
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--cobaltblue-color);
  text-shadow:
    0 0 5px var(--mono-color-9),
    0 0 5px var(--mono-color-9),
    0 0 5px var(--mono-color-9),
    0 0 5px var(--mono-color-9);
}

.torikumi .merit .txt {
  font-weight: 500;
}

.torikumi .merit span {
  display: block;
}

.torikumi .merit .mark {
  position: absolute;
  right: -20px;
  bottom: 20px;
  z-index: 2;
}

.torikumi .merit .mark img {
  filter: drop-shadow(5px 5px var(--skyblue-color));
}

.torikumi .merit a.btn-yellow {
  max-width: calc(100% - 160px);
}

.torikumi .requirement {
  background-color: var(--mono-color-7);
}

.torikumi .requirement dl {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.torikumi .requirement dt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--blue-color);
  color: var(--mono-color-9);
}

.torikumi .requirement dd {
  text-align: left;
}

.torikumi .requirement p {
  margin: 0;
}

.torikumi .merit-company h4 span {
  display: block;
}

.torikumi .merit-company h4 + .graph-area {
  margin-top: 1.5rem;
}

.torikumi .merit-company .block {
  background-color: var(--skyblue-color);
}

.torikumi .merit-company .graph02 {
  overflow: visible;
}

.torikumi .merit-company .graph02 img {
  display: block;
  max-width: none;
}

.torikumi .merit-company .link1 a {
  padding: 12px;
}

.torikumi .merit-company .link1 a .img {
  margin-left: auto;
}

.torikumi .merit-company .link2 a {
  padding: 12px;
  border-radius: 40px;
}

.torikumi .merit-company .link2 a .txt {
  white-space: nowrap;
}

@media screen and (min-width: 960px) {
  .torikumi .link {
    margin: 2.5em 0;
  }
  .torikumi .link a {
    padding: 12px 70px 12px 12px;
    font-size: 1.75rem;
  }
  .torikumi .merit h3::before {
    left: -165px;
    bottom: -125px;
    width: 145px;
    height: 145px;
  }
  .torikumi .merit h3::after {
    right: -186px;
    bottom: -134px;
    width: 166px;
    height: 154px;
  }
  .torikumi .merit ul {
    padding: 165px 0 80px 40px;
  }
  .torikumi .merit li {
    width: 330px;
    height: 330px;
  }
  .torikumi .merit li:nth-child(2) {
    transform: translateY(-50%);
  }
  .torikumi .merit .title {
    font-size: 2rem;
  }
  .torikumi .merit .txt {
    font-size: 1.15rem;
  }
  .torikumi .requirement {
    margin: 3rem 0;
    padding: 40px;
    border-radius: 80px;
  }
  .torikumi .requirement dl {
    gap: 40px 20px;
  }
  .torikumi .requirement dt {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    font-size: 2.25rem;
  }
  .torikumi .requirement dd {
    flex-basis: calc(100% - 220px);
  }
  .torikumi .merit-company h3 {
    margin-bottom: 40px;
  }
  .torikumi .merit-company h4 {
    font-size: 2rem;
  }
  .torikumi .merit-company .graph02 img {
    width: calc(100% + 60px);
    margin-left: -60px;
  }
  .torikumi .merit-company .block:not(:last-child) {
    margin-bottom: 60px;
  }
  .torikumi .merit-company .link1 a {
    max-width: 19em;
  }
  .torikumi .merit-company .link1 a .img {
    margin-right: 12px;
  }
  .torikumi .merit-company .link2 {
    flex-direction: row;
    justify-content: center;
  }
  .torikumi .merit-company .link2 a .txt span {
    display: block;
  }
}
@media screen and (max-width: 959px) {
  .torikumi .link1 {
    margin: 0 0 2.5em;
  }
  .torikumi .link2 {
    margin: 0 0 20px;
  }
  .torikumi .link a[class^='btn-'] {
    background-size: auto 30%;
  }
  .torikumi#no3 .link a[class^='btn-'] {
    padding: 12px;
    letter-spacing: normal;
  }
  .torikumi#no3 .link a[class^='btn-'] img {
    width: 45px;
    height: 45px;
  }
  .torikumi .link1 a[class*='btn-'] > span,
  .torikumi .link2 a[class*='btn-'] > span {
    flex: none;
  }
  .torikumi .merit {
    margin-top: 60px;
  }
  .torikumi .merit ul {
    flex-direction: column;
    gap: 60px;
    padding: 0 0 40px;
  }
  .torikumi .merit li {
    padding: 60px 20px 40px;
  }
  .torikumi .merit .title {
    font-size: 1.5rem;
  }
  .torikumi .merit .title span {
    display: inline-block;
  }
  .torikumi .merit a.btn-yellow {
    max-width: 100%;
    background-size: auto 40%;
  }
  .torikumi .requirement {
    margin: 40px 0;
    padding: 20px;
    border-radius: 40px;
  }
  .torikumi .requirement dl {
    flex-direction: column;
    gap: 20px;
  }
  .torikumi .requirement dt {
    width: 100%;
    border-radius: 16px;
    font-size: 1.25rem;
  }
  .torikumi .requirement dt span {
    display: inline-block;
  }
  .torikumi .merit-company h3 {
    margin-bottom: 20px;
  }
  .torikumi .merit-company h4 {
    font-size: 1.5rem;
  }
  .torikumi .merit-company .graph02 img {
    width: calc(100% + 30px);
    margin-left: -30px;
  }
  .torikumi .merit-company .block:not(:last-child) {
    margin-bottom: 20px;
  }
}

/* 取り組み4 */
.torikumi .promotion h3 {
  color: var(--orange-color);
  font-size: 3rem;
}
.torikumi .promotion ul {
  display: flex;
  flex-wrap: wrap;
}
.torikumi .promotion ul + h3 {
  margin-top: 1em;
}
@media screen and (min-width: 960px) {
  .torikumi .promotion ul {
    justify-content: center;
    gap: 20px 40px;
  }
  .torikumi .promotion li {
    flex-basis: calc(33.33% - 26.66px);
  }
  .torikumi .promotion .title span {
    display: block;
  }
}
@media screen and (max-width: 959px) {
  .torikumi .promotion h3 {
    font-size: 2rem;
  }
  .torikumi .promotion ul {
    flex-direction: column;
    gap: 20px;
  }
  .torikumi .promotion .title span {
    display: inline-block;
  }
}

/* 取り組み5 */
.block-number {
  text-align: left;
}

.block-number h3 {
  display: flex;
  align-items: center;
  gap: 1em;
  line-height: 1.2;
}
.block-number .number {
}

.block-number .link-block {
  display: flex;
  align-items: center;
  gap: 20px;
}

.block-number .link-block:not(:last-child) {
  margin-bottom: 2em;
  padding-bottom: 2em;
  border-bottom: 1px solid var(--mono-color-1);
}

.block-number .link-block > span {
  flex: 1;
}

.block-number .link-block > .txt {
  text-align: left;
}

.block-number .link-block > .txt > span {
  display: block;
}

.block-number a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: auto;
  max-width: none;
  background-image: none;
  letter-spacing: normal;
}

.block-number a .img {
  display: flex;
  align-items: center;
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
}

.block-number a .img img {
  display: block;
  max-height: 24px;
}

.block-number .link-block a {
  width: 100%;
  margin-top: 0.5em;
}

.block-number a > span {
  flex: none;
  margin-left: 0;
}

.block-number.flex {
  display: grid;
  gap: 20px;
  align-items: center;
}

.block-number > .img img {
  display: block;
  width: 100%;
  height: 208px;
  object-fit: contain;
}

.block-number .link {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
}

.block-number .link a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 0 auto;
}
@media screen and (min-width: 960px) {
  .torikumi .block-number:not(:last-child) {
    margin-bottom: 60px;
  }
  .block-number .title {
    font-size: 2rem;
  }
  .block-number .link-block a {
    padding: 12px;
    font-size: 1.5rem;
  }
  .block-number.flex {
    grid-template-columns: 1fr 232px;
  }
  .block-number a .txt {
    padding: 0 70px;
  }
  .block-number .link a {
    padding: 12px;
  }
}
@media screen and (max-width: 959px) {
  .torikumi .block-number:not(:last-child) {
    margin-bottom: 20px;
  }
  .block-number .title {
    font-size: 1.5rem;
  }
  .block-number .link-block {
    flex-direction: column;
  }
  .block-number .link-block:last-child {
    margin-bottom: 1em;
  }
  .block-number a {
    width: 100%;
    margin-bottom: 2em;
  }
  .block-number .link-block a {
    margin-bottom: 0;
    padding: 6px 12px;
    background-size: auto 30%;
    font-size: 1rem;
  }
  .block-number a .txt {
    padding: 0 30px;
  }
  .block-number p.link {
    margin: 1em 0;
  }
  .block-number .link a {
    padding: 6px 12px;
  }
}

/* relatedlink
----------------------------------------------- */
#relatedLink {
  color: var(--mono-color-9);
  font-size: 1.25rem;
  font-weight: 500;
  text-align: center;
}
body[class^="dir-buntanfuufu-interview-"] #relatedLink {
  display: none;
}
#relatedLink .total {
  margin-bottom: 2em;
}
#relatedLink li a {
  justify-content: space-between;
}
#relatedLink li:not(:last-child) {
  margin-bottom: 38px;
}
#relatedLink li a[class*='btn-']:hover img {
  transform: translateY(0);
}
@media screen and (min-width: 960px) {
  #relatedLink {
    margin: 80px auto 130px;
  }
  a[class*='btn-'] {
    max-width: 640px;
    padding: 12px;
    background-position: right 38px center;
  }
  a[class*='btn-'] > span {
    margin-left: 16px;
  }
  #relatedLink li a {
    padding: 12px 75px 12px 12px;
    font-size: 1.75rem;
  }
}
@media screen and (max-width: 959px) {
  #relatedLink {
    max-width: 100%;
    padding: 20px 0 40px;
  }
  a[class*='btn-'] {
    max-width: 100%;
    padding: 6px;
    background-position: right 12px center;
  }
  #relatedLink li a {
    padding: 6px 24px 6px 6px;
    background-size: auto 40%;
    font-size: 1.15rem;
  }
  #relatedLink li a img {
    width: 45px;
    height: 45px;
  }
}

/* topics
----------------------------------------------- */
.company #content .wrapper:not(:last-child) {
  margin-bottom: 40px;
}

#topics .pieceHeader {
  text-align: center;
}

.dir-buntanfuufu-category #pageTitle,
.dir-buntanfuufu-topics #pageTitle {
  text-align: center;
}

.dir-buntanfuufu-category #pageTitle h1,
.dir-buntanfuufu-topics #pageTitle h1,
#topics h2 {
  display: inline-block;
  padding: 0 60px;
  background: url('../images/ic-topics.svg') no-repeat left center / auto 80%;
  color: var(--main-color-3);
  font-size: 2rem;
  letter-spacing: 0.5rem;
}

@media screen and (max-width: 959px) {
  .dir-buntanfuufu-category #pageTitle h1,
  .dir-buntanfuufu-topics #pageTitle h1,
  #topics h2 {
    letter-spacing: 0.1rem;
  }
}

.dir-buntanfuufu-interview #pageTitle h1:not(:has(img)) {
  display: block;
  width: 848px;
  height: 62px;
  margin-left: auto;
  margin-right: auto;
  background: url('../images/tl-suishin.svg') no-repeat center center;
  text-align: center;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.dir-buntanfuufu-topics #contentContainer #pageTitle,
.dir-buntanfuufu-interview #contentContainer #pageTitle {
  display: none;
}

#topics h2 {
  display: inline-block;
  padding: 0 60px;
  background: url('../images/ic-topics.svg') no-repeat left center / auto 80%;
  color: var(--main-color-3);
  font-size: 2rem;
  letter-spacing: 0.5rem;
}

.topics .contentGpArticleDocs .docs ul,
#topics ul {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 0;
}

.contentGpCategoryCategoryType .docs ul,
.contentGpCategory .docs ul,
.interview .contentGpArticleDocs .docs ul,
#interview ul {
  display: flex;
  gap: 20px;
}

.contentGpCategoryCategoryType .docs ul,
.contentGpCategory .docs ul {
  flex-wrap: wrap;
}

.contentGpCategoryCategoryType .docs li,
.contentGpCategory .docs li {
  flex-basis: calc(33.33% - 13.33px);
}

.topics .contentGpArticleDocs .docs li,
#topics li {
  display: flex;
  flex-basis: calc(25% - 30px);
  flex-wrap: wrap;
}

.contentGpCategoryCategoryType .docs li a,
.contentGpCategoryCategoryType .docs li span,
.contentGpCategory .docs li a,
.contentGpCategory .docs li span,
.interview .contentGpArticleDocs .docs li a,
.interview .contentGpArticleDocs .docs li span,
#interview li a,
#interview li span,
.topics .contentGpArticleDocs .docs li span,
#topics li a,
#topics li span {
  display: block;
}

.contentGpCategoryCategoryType .docs li a,
.contentGpCategory .docs li a,
.interview .contentGpArticleDocs .docs li a,
#interview li a {
  height: 100%;
}

.contentGpArticleDocs .docs li .img,
.contentGpArticleDocs .docs li .image,
#topics li .img,
#topics li .image {
  position: relative;
  width: 250px;
  height: 185px;
}

.contentGpCategoryCategoryType .docs li .img,
.contentGpCategoryCategoryType .docs li .image,
.contentGpCategory .docs li .img,
.contentGpCategory .docs li .image,
.interview .contentGpArticleDocs .docs li .img,
.interview .contentGpArticleDocs .docs li .image,
#interview li .img,
#interview li .image {
  position: relative;
  width: 100%;
  height: 250px;
}

.contentGpCategoryCategoryType .docs li .img,
.contentGpCategory .docs li .img,
.interview .contentGpArticleDocs .docs li .img,
#interview li .img {
  margin-bottom: 20px;
}

.contentGpCategoryCategoryType .docs li .img:empty::before,
.contentGpCategory .docs li .img:empty::before,
.interview .contentGpArticleDocs .docs li .img:empty::before,
#interview li .img:empty::before,
.topics .contentGpArticleDocs .docs li .img:empty::before,
#topics li .img:empty::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/logo-buntanfuufu.webp') no-repeat center center;
  background-size: contain;
}

.contentGpCategory .docs li img,
.interview .contentGpArticleDocs .docs li img,
#interview li img,
.topics .contentGpArticleDocs .docs li img,
#topics li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contentGpCategoryCategoryType .docs li img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contentGpCategoryCategoryType .docs li .title,
.contentGpCategory .docs li .title,
.interview .contentGpArticleDocs .docs li .title,
#interview li .title {
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 500;
}

.contentGpCategoryCategoryType .docs li .subtitle,
.contentGpCategory .docs li .subtitle,
.interview .contentGpArticleDocs .docs li .subtitle,
#interview li .subtitle,
.contentGpCategoryCategoryType .docs li .title + .body,
.contentGpCategory .docs li .title + .body,
.interview .contentGpArticleDocs .docs li .title + .body,
#interview li .title + .body {
  margin-bottom: 30px;
  font-size: 1rem;
}

.interview .contentGpArticleDocs .docs li span[class$='date'],
#interview li span[class$='date'] {
  font-weight: 500;
}

.topics .contentGpArticleDocs .docs li span[class$='date'],
#topics li span[class$='date'] {
  margin-bottom: 0.5em;
  padding: 0.5em 0 0.25em;
  border-bottom: 1px solid var(--mono-color-1);
}

.topics .contentGpArticleDocs .docs li span[class^='title'],
#topics li span[class^='title'] {
  display: block;
  position: relative;
  overflow: hidden;
  max-height: 3.5em;
  line-height: 1.75em;
  transition: max-height 0.3s ease;
}

.topics .contentGpArticleDocs .docs li span[class^='title'].expanded,
#topics li span[class^='title'].expanded {
  max-height: none;
  overflow: visible;
}

.topics .contentGpArticleDocs .docs li .readmore,
#topics li .readmore {
  display: none;
  text-decoration: underline;
  cursor: pointer;
}

.topics .contentGpArticleDocs .docs li .readmore:hover,
.topics .contentGpArticleDocs .docs li .readmore:focus,
#topics li .readmore:hover,
#topics li .readmore:focus {
  text-decoration: none;
}

.topics .contentGpArticleDocs .docs li span[class^='category'],
#topics li span[class^='category'] {
  flex-basis: 100%;
  align-self: flex-end;
  margin-top: 0.5em;
}

.topics .contentGpArticleDocs .docs li span[class^='category'] span,
#topics li span[class^='category'] span {
  width: 12em;
  padding: 2px;
  border-radius: 15px;
  background-color: var(--main-color-17);
  color: var(--mono-color-9);
  font-weight: bold;
  text-align: center;
}

.topics .contentGpArticleDocs .docs li span[class^='category'] .topics-event,
#topics li span[class^='category'] .topics-event {
  background-color: var(--main-color-3);
}

#interview .more,
#topics .more {
  text-align: center;
}

#interview .more a,
#topics .more a {
  display: inline-block;
  padding: 0.5em 4em;
  border-radius: 40px;
  background: var(--mono-color-9);
  box-shadow: 0 0 6px 0 var(--main-color-13);
  color: var(--main-color-3);
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.15em;
  transition: all 0.2s;
}

#interview .more a:hover,
#interview .more a:focus,
#topics .more a:hover,
#topics .more a:focus {
  background: var(--main-color-3);
  color: var(--mono-color-9);
}

@media screen and (max-width: 959px), print {
  .dir-buntanfuufu-topics #pageTitle h1,
  #topics h2 {
    padding: 0 0 0 40px;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
  }

  .dir-buntanfuufu-interview #pageTitle h1:not(:has(img)) {
    width: calc(100vw - 40px);
    height: 7.31vw;
    background-size: contain;
    text-indent: 200%;
  }

  .contentGpCategoryCategoryType .docs ul,
  .contentGpCategory .docs ul,
  .topics .contentGpArticleDocs .docs ul,
  #topics ul {
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
  }

  .interview .contentGpArticleDocs .docs ul,
  #interview ul {
    flex-wrap: wrap;
  }

  .interview .contentGpArticleDocs .docs ul {
    padding: 0 20px;
  }

  .contentGpCategoryCategoryType .docs li,
  .contentGpCategory .docs li,
  .interview .contentGpArticleDocs .docs li,
  #interview li,
  .topics .contentGpArticleDocs .docs li,
  #topics li,
  .topics .contentGpArticleDocs .docs li > a,
  #topics li > a {
    flex-basis: 100%;
  }

  #topics .more a {
    width: 100%;
    padding: 0.5em;
  }

  .contentGpCategoryCategoryType .docs li .img,
  .contentGpCategoryCategoryType .docs li .image,
  .contentGpCategory .docs li .img,
  .contentGpCategory .docs li .image,
  .interview .contentGpArticleDocs .docs li .img,
  .interview .contentGpArticleDocs .docs li .image,
  #interview li .img,
  #interview li .image,
  .topics .contentGpArticleDocs .docs li .img,
  .topics .contentGpArticleDocs .docs li .image,
  #topics li .img,
  #topics li .image {
    width: 100%;
    height: auto;
  }

  .topics .contentGpArticleDocs .docs li span[class^='title'],
  #topics li span[class^='title'] {
    max-height: 100%;
    overflow: visible;
  }

  .topics .contentGpArticleDocs .docs li span[class^='category'] span,
  #topics li span[class^='category'] span {
    margin: 0 auto;
  }

  .topics .contentGpArticleDocs .docs li .readmore,
  #topics li .readmore {
    display: none !important;
  }
}

/* magazine
----------------------------------------------- */
.magazine .contentGpArticleDocs li:not(:last-child) {
  margin-bottom: 1em;
}

.magazine .contentGpArticleDocs li div,
.magazine .contentGpArticleDocs li a:not(:empty),
.magazine .contentGpArticleDocs li span:not(.subtitle) {
  display: inline-block;
}

.magazine .contentGpArticleDocs li a:not(:empty) {
  margin-right: 1em;
  text-decoration: underline;
}

.magazine .contentGpArticleDocs li a:not(:empty):hover,
.magazine .contentGpArticleDocs li a:not(:empty):focus {
  text-decoration: none;
}

.magazine .contentGpArticleDocs li .subtitle {
  display: block;
}

/* docsSearch
----------------------------------------------- */
#docsSearch {
  margin: 0 0 40px;
  padding: 40px;
  border-radius: 20px;
  background: var(--main-color-4);
  color: var(--main-color-3);
  font-weight: bold;
}

#docsSearch .pieceHeader {
  text-align: center;
}

#docsSearch h2 {
  display: inline-block;
  padding: 0 50px;
  background: url('../images/ic-search.svg') no-repeat left center / auto 80%;
  font-size: 2rem;
  letter-spacing: 0.5rem;
}

#docsSearch form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#docsSearch label {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  letter-spacing: 0.25rem;
}

@media screen and (max-width: 959px) {
  .contentMailmagazineDocs label,
  #docsSearch label {
    letter-spacing: 0.1rem;
  }
}

#docsSearch .categories {
  display: flex;
  flex-basis: 100%;
  gap: 0 20px;
  margin: 20px 0;
  text-align: center;
}

#docsSearch .categories fieldset {
  flex: 1;
}

#docsSearch select,
#docsSearch input[type='text'] {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--mono-color-2);
}

#docsSearch select {
  appearance: none;
  padding-right: 30px;
  background: var(--mono-color-9) url('../images/arrow-search.svg') no-repeat right 15px center / 15px 17px;
}

#docsSearch .keyword {
  flex-basis: 100%;
  text-align: center;
}

#docsSearch .keyword label {
  display: block;
}

#docsSearch input[type='submit'] {
  margin-top: 30px;
  padding: 10px 50px;
  border: 1px solid var(--mono-color-2);
  border-radius: 30px;
  background: var(--main-color-3);
  color: var(--mono-color-9);
  box-shadow: 0 5px 15px 0 var(--mono-color-2);
  font-size: 1.25rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 1rem;
  text-indent: 1rem;
  transition: all 0.2s;
}

#docsSearch input[type='submit']:hover,
#docsSearch input[type='submit']:focus {
  background: var(--mono-color-9);
  color: var(--main-color-3);
}

@media screen and (max-width: 959px), print {
  #docsSearch {
    margin: 0 0 20px;
    padding: 20px;
  }

  #docsSearch h2 {
    padding: 0 0 0 40px;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
  }

  #docsSearch .categories {
    gap: 10px 0;
    flex-wrap: wrap;
  }

  #docsSearch .categories fieldset {
    flex-basis: 100%;
  }
}

/* attention
----------------------------------------------- */
#attention {
  padding: 0 0 40px;
  font-size: 1rem;
  font-weight: 500;
}

@media screen and (max-width: 959px), print {
  #attention {
    padding: 0 0 20px;
  }
}

/* contentGpArticleDocs
----------------------------------------------- */
.interview .docs li,
.topics .docs li,
.company #contentContainer {
  position: relative;
  margin: 0 auto;
  border-radius: 20px;
  background-color: var(--mono-color-8);
}

.dir-buntanfuufu-interview #contentContainer #pageTitle,
.dir-buntanfuufu-topics #contentContainer #pageTitle {
  display: none;
}

.interview .docs ul,
.topics .docs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.interview .docs li,
.topics .docs li {
  padding: 20px;
}

@media screen and (min-width: 960px) {
  .interview .docs li,
  .topics .docs li,
  .company #contentContainer {
    max-width: var(--content-width);
    padding: 40px;
  }
  .interview .docs li,
  .topics .docs li {
    flex-basis: calc(33.33% - 13.33px);
  }
}
@media screen and (max-width: 959px) {
  .scroll {
    width: calc(100vw - 80px);
  }
  .scroll::-webkit-scrollbar-track {
    background: var(--skyblue-color);
  }
  .scroll::-webkit-scrollbar-thumb {
    background: var(--blue-color);
  }
  .company #contentContainer {
    max-width: calc(100% - 40px);
    padding: 20px;
  }
  .interview .docs li,
  .topics .docs li {
    max-width: 100%;
    padding: 20px;
  }
  .contentGpArticleDoc .body img {
    width: auto !important;
    height: auto !important;
  }
}

.company .contentGpArticleDocs .docs > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 0 0 20px;
}

.company .contentGpArticleDocs .docs > ul > li {
  display: flex;
  align-items: flex-start;
  flex-basis: calc(50% - 20px);
  flex-wrap: wrap;
}

.company .contentGpArticleDocs .docs > ul > li > h2 {
  display: none;
  width: 100%;
  padding-bottom: 1.5rem;
  text-align: center;
}

.company .contentGpArticleDocs .docs > ul > li > span {
  display: block;
}

.company .contentGpArticleDocs .docs li .title {
  width: 100%;
  padding: 10px;
  background-color: var(--main-color-5);
  font-size: 1.15rem;
  font-weight: bold;
}

.company .contentGpArticleDoc .logo,
.company .contentGpArticleDocs .docs li .logo,
.body .logo,
.cke_editable .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 225px;
  padding: 40px;
  background-color: var(--mono-color-9);
}

.company .contentGpArticleDoc .logo:empty::before,
.company .contentGpArticleDocs .docs li .logo:empty::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 185px;
  background: url('../images/logo-buntanfuufu.webp') no-repeat center center;
  background-size: contain;
}

.company .contentGpArticleDoc .logo img,
.company .contentGpArticleDocs .docs li .logo img,
.body .logo img,
.cke_editable .logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.interview #contentContainer:has(.contentGpArticleDoc),
.topics #contentContainer:has(.contentGpArticleDoc),
.magazine #contentContainer {
  padding: 40px;
  border-radius: 20px;
  background-color: var(--mono-color-8);
}
.magazine .body p {
  margin-bottom: 1em;
}
@media screen and (max-width: 959px) {
  .interview #contentContainer,
  .topics #contentContainer,
  .magazine #contentContainer {
    margin: 0 20px;
  }
  .interview #contentContainer:has(.contentGpArticleDoc),
  .topics #contentContainer:has(.contentGpArticleDoc),
  .magazine #contentContainer {
    padding: 20px;
  }
}
.docs table,
.body table,
.cke_editable table {
  width: 100%;
  border: 0;
}

.docs th,
.docs td,
.body th,
.body td,
.cke_editable th,
.cke_editable td {
  padding: 10px;
  border: 2px solid var(--mono-color-9);
  vertical-align: middle;
}

.docs th,
.body th,
.cke_editable th {
  background-color: var(--main-color-6);
  font-weight: 500;
}

.docs .info th:last-child,
.body .info th:last-child,
.cke_editable .info th:last-child {
  width: auto;
  border-bottom: 0;
}

.docs th:first-child,
.docs td:first-child,
.body th:first-child,
.body td:first-child,
.cke_editable th:first-child,
.cke_editable td:first-child {
  border-left: 0;
}

.docs th:last-child,
.docs td:last-child,
.body th:last-child,
.body td:last-child,
.cke_editable th:last-child,
.cke_editable td:last-child {
  border-right: 0;
}

.docs td,
.body td,
.cke_editable td {
  background-color: var(--main-color-7);
}

.docs td th,
.docs td td,
.body td th,
.body td td,
.cke_editable td th,
.cke_editable td td {
  width: auto;
}

.docs td th:not(:first-child),
.docs td td:not(:first-child),
.body td th:not(:first-child),
.body td td:not(:first-child),
.cke_editable td th:not(:first-child),
.cke_editable td td:not(:first-child) {
  text-align: center;
}

.docs td th:first-child,
.body td th:first-child,
.cke_editable td th:first-child {
  width: 20em;
}

.docs .paternity-leave thead th,
.body .paternity-leave thead th,
.cke_editable .paternity-leave thead th,
.docs .paternity-leave td,
.body .paternity-leave td,
.cke_editable .paternity-leave td {
  text-align: center;
}

.searchInfo .hit {
  padding: 20px 0;
}

.contentGpArticleDocs .docs table img {
  max-width: 240px;
  height: auto;
}

@media screen and (min-width: 960px) {
  .docs .info th:first-child:not(:last-child),
  .body .info th:first-child:not(:last-child),
  .cke_editable .info th:first-child:not(:last-child) {
    width: 135px;
  }
}

@media screen and (max-width: 959px), print {
  .docs table,
  .body table,
  .cke_editable table {
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  .docs th,
  .docs td,
  .body th,
  .body td,
  .cke_editable th,
  .cke_editable td {
    padding: 5px 2px;
    font-size: 0.875rem;
    word-break: auto-phrase;
  }

  .docs .paternity-leave table,
  .body .paternity-leave table,
  .cke_editable .paternity-leave table {
    table-layout: auto;
  }

  .docs .paternity-leave th:first-child,
  .body .paternity-leave th:first-child,
  .cke_editable .paternity-leave th:first-child {
    width: 7em;
  }

  .docs .info th,
  .body .info th,
  .cke_editable .info th,
  .docs .paternity-leave th:not(:first-child) {
    width: 4em;
  }

  .company .contentGpArticleDoc .logo,
  .company .contentGpArticleDocs .docs li .logo,
  .body .logo,
  .cke_editable .logo {
    padding: 20px;
  }
}

@media print {
  .dir-buntanfuufu-company-search .company .contentGpArticleDocs .docs > ul > li > h2 {
    display: block;
  }
}

/* midashi
----------------------------------------------- */
.contentGpArticleDoc .date {
  margin-bottom: 2em;
  text-align: right;
}

body[class^='dir-buntanfuufu-topics-'] #contentContainer #pageTitle h1 .contentGpCategoryCategoryTypes h2 a,
.cke_editable h2:not(:has(img)),
.contentGpArticleDoc .body h2:not(:has(img)),
.magazine #contentContainer #pageTitle h1 {
  display: block;
  line-height: 1.3;
  margin: 2rem 0 0.25em;
  padding: 0.5em 0;
  border-top: 1px solid var(--mono-color-1);
  border-bottom: 1px solid var(--mono-color-1);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  word-break: auto-phrase;
}

body[class^='dir-buntanfuufu-topics-'] #contentContainer #pageTitle h1,
.magazine #contentContainer #pageTitle h1 {
  text-align: left;
}

.magazine #contentContainer #pageTitle h1 {
  margin-bottom: 3.25rem;
}

.cke_editable h2:first-child,
.contentGpArticleDoc .body h2:first-child {
  margin-top: 0;
}

.contentGpCategoryCategoryTypes h2 a {
  transition: all 0.2s;
}

.contentGpCategoryCategoryTypes h2 a:hover,
.contentGpCategoryCategoryTypes h2 a:focus {
  background: var(--main-color-3);
  color: var(--mono-color-9);
}

.cke_editable h3:not(:has(img)),
.contentGpArticleDoc .body h3:not(:has(img)) {
  display: block;
  margin: 1.8rem 0 1rem;
  padding: 0.5em 1em;
  border-radius: 8px;
  background-color: var(--blue-color);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  box-shadow: 0 0 6px 0 var(--cobaltblue-color);
  word-break: auto-phrase;
}

.cke_editable p,
.contentGpArticleDoc .body p {
  line-height: 2;
}

.cke_editable p:not(:last-child),
.contentGpArticleDoc .body p:not(:last-child) {
  margin-bottom: 2em;
}

.cke_editable ul,
.contentGpArticleDoc .body ul {
  margin-bottom: 2em;
}

.cke_editable ul li::before,
.contentGpArticleDoc .body ul li::before {
  content: '・';
}

.pagination a:hover,
.pagination a:focus,
.cke_editable a:hover,
.contentGpArticleDoc a:hover,
.cke_editable a:focus,
.contentGpArticleDoc a:focus {
  text-decoration: underline;
}

@media screen and (max-width: 959px), print {
  body[class^='dir-buntanfuufu-topics-'] #contentContainer #pageTitle h1,
  .magazine #contentContainer #pageTitle h1 {
    margin-top: 0;
    font-size: 1.25rem;
  }

  .contentGpArticleDoc .date {
    margin-bottom: 1em;
  }

  .magazine #contentContainer #pageTitle h1 {
    margin-bottom: 0;
  }

  .contentGpCategoryCategoryTypes h2 a,
  .cke_editable h2:not(:has(img)),
  .contentGpArticleDoc .body h2:not(:has(img)) {
    font-size: 1.25rem;
  }

  .cke_editable h3:not(:has(img)),
  .contentGpArticleDoc .body h3:not(:has(img)) {
    font-size: 1.15rem;
  }

  .cke_editable p:not(:last-child),
  .contentGpArticleDoc .body p:not(:last-child) {
    margin-bottom: 1em;
  }
}

/* =========================================================
  mailmagazine
========================================================= */
.contentMailmagazineDocs .upper_text,
.contentMailmagazineDocs .lower_text,
.contentMailmagazineDoc .upper_text,
.contentMailmagazineDoc .lower_text {
  padding: 16px;
  background-color: var(--main-color-3);
}

.contentMailmagazineDocs .upper_text,
.contentMailmagazineDoc .upper_text {
  margin-bottom: 30px;
}

.contentMailmagazineDocs .lower_text,
.contentMailmagazineDoc .lower_text {
  margin-top: 40px;
}

.contentMailmagazineDocs .upper_text ol,
.contentMailmagazineDocs .lower_text ol,
.contentMailmagazineDoc .upper_text ol,
.contentMailmagazineDoc .lower_text ol {
  list-style: inside decimal;
}

.contentMailmagazineDocs .upper_text li,
.contentMailmagazineDocs .lower_text li,
.contentMailmagazineDoc .upper_text li,
.contentMailmagazineDoc .lower_text li {
  margin-left: 1rem;
  text-indent: -1rem;
}

.contentMailmagazineDocs .menu {
  display: none;
}

.contentMailmagazineDocs .search {
  margin: 0 0 40px;
  padding: 40px;
  border-radius: 20px;
  background: var(--main-color-4);
  color: var(--main-color-3);
  font-weight: bold;
  text-align: center;
}

.contentMailmagazineDocs .search::before {
  content: 'バックナンバー検索';
  display: inline-block;
  padding: 0 50px;
  background: url('../images/ic-search.svg') no-repeat left center / auto 80%;
  font-size: 2rem;
  letter-spacing: 0.5rem;
}

.contentMailmagazineDocs form {
  margin: 20px 0 0;
  text-align: center;
}

.contentMailmagazineDocs .search div:not(.submitters) {
  position: relative;
  padding: 12px 0 20px 18.75em;
  border-bottom: 1px dotted var(--mono-color-3);
  text-align: left;
}

.contentMailmagazineDocs .search div:not(.submitters) label {
  position: absolute;
  top: -6px;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  width: 15em;
  font-size: 1.25rem;
  font-weight: bold;
  letter-spacing: 0.25rem;
}

.contentMailmagazineDocs .search div:not(.submitters) input,
.contentMailmagazineDocs .search div:not(.submitters) select {
  max-width: calc(100% - 15em);
  margin: 5px;
  padding: 4px 6px;
  border: 1px solid var(--mono-color-3);
}

.contentMailmagazineDocs .search .submitters,
.contentMailmagazineDoc .submit {
  margin-top: 20px;
  text-align: center;
}

.contentMailmagazineDocs .search .submitters input,
.contentMailmagazineDoc .submit input {
  margin-top: 30px;
  padding: 10px 50px;
  border: 1px solid var(--mono-color-2);
  border-radius: 30px;
  background: var(--main-color-3);
  color: var(--mono-color-9);
  box-shadow: 0 5px 15px 0 var(--mono-color-2);
  font-size: 1.25rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 1rem;
  text-indent: 1rem;
  transition: all 0.2s;
}

.contentMailmagazineDocs .search .submitters input:hover,
.contentMailmagazineDoc .submit input:hover,
.contentMailmagazineDocs .search .submitters input:focus,
.contentMailmagazineDoc .submit input:focus {
  background: var(--mono-color-9);
  color: var(--main-color-3);
}

.contentMailmagazineDocs .hit {
  width: 100%;
  padding: 10px;
  background-color: var(--main-color-5);
  font-size: 1.15rem;
  font-weight: bold;
}

.contentMailmagazineDocs .content_name {
  padding: 0;
}

.contentMailmagazineDocs .content_name.mailmagazine_doc1 {
  background-color: var(--main-color-9);
}

.contentMailmagazineDocs .content_name.mailmagazine_doc2 {
  background-color: var(--ac-color-orange-4);
}

.contentMailmagazineDocs .docs li {
  flex-wrap: wrap;
}

.contentMailmagazineDocs .docs li .title_link {
  flex-basis: 100%;
}

@media only screen and (max-width: 559px) {
  .contentMailmagazineDocs .search {
    margin-bottom: 25px;
  }

  .contentMailmagazineDocs .search::before {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 4px;
    font-size: 1.1rem;
  }

  .contentMailmagazineDocs .search div:not(.submitters) {
    position: static;
    padding: 0 0 25px;
    border-bottom: none;
  }

  .contentMailmagazineDocs .search div:not(.submitters) label {
    position: static;
    width: 100%;
    margin-bottom: 10px;
    padding: 5px;
    border-bottom: 1px dotted var(--mono-color-3);
  }

  .contentMailmagazineDocs .search .submitters,
  .contentMailmagazineDoc .submit {
    margin-top: 0;
  }

  .contentMailmagazineDocs .content_name {
    display: none;
  }
}

.contentMailmagazineDoc .date {
  margin-bottom: 1rem;
}

.contentMailmagazineDoc > h2 {
  padding: 8px 16px;
  border: 1px solid var(--ac-color-green-1);
  background-color: var(--ac-color-green-1);
  margin-bottom: 20px;
}

.contentMailmagazineDoc .mailmagazines {
  padding: 24px 0;
  border-bottom: 1px dotted var(--mono-color-3);
}

.contentMailmagazineDoc .mailmagazine_doc_contents input[type='checkbox'] {
  display: none;
}

.contentMailmagazineDoc .mailmagazine_doc_contents th {
  display: block;
}

.contentMailmagazineDoc .mailmagazine_doc_contents td {
  display: block;
  padding: 10px 38px 20px;
}

.contentMailmagazineDoc .mailmagazine_doc_contents label {
  position: relative;
  padding-left: 38px;
}

.contentMailmagazineDoc .mailmagazine_doc_contents label::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -14px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--mono-color-6);
  background-color: var(--mono-color-6);
}

.contentMailmagazineDoc .mailmagazine_doc_contents input:checked + label::before {
  border-color: #4b2b08;
  background: #4b2b08;
}

.contentMailmagazineDoc .mailmagazine_doc_contents input:checked + label::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 4px;
  width: 20px;
  height: 10px;
  margin-top: -7px;
  border-left: 2px solid var(--mono-color-9);
  border-bottom: 2px solid var(--mono-color-9);
  transform: rotate(-45deg);
}

.contentMailmagazineDoc .question:not(.mailmagazines) {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px dotted var(--mono-color-3);
}

.contentMailmagazineDoc .question:not(.mailmagazines) .question_content {
  display: flex;
  width: 240px;
  padding-right: 20px;
  font-weight: bold;
}

.contentMailmagazineDoc .question:not(.mailmagazines) .question_content label,
.contentMailmagazineDoc .question:not(.mailmagazines) .question_content .note {
  position: relative;
}

.contentMailmagazineDoc .question_content .note {
  max-width: 90px;
  margin-left: 0.5rem;
  padding: 0 5px;
  background-color: var(--ac-color-red-1);
  color: var(--mono-color-9);
  font-size: 0.875rem;
  font-weight: normal;
}

/* captchaForm
---------------------- */
.captchaForm .image {
  margin: 0 0 15px;
}

.captchaForm img {
  padding: 5px;
  border: 1px solid var(--mono-color-3);
}

.captchaForm .reload,
.captchaForm .talk {
  display: inline-block;
  width: 140px;
  margin: 0 0 15px;
  border-radius: 3px;
  background: linear-gradient(to bottom, var(--mono-color-9), var(--mono-color-9));
}

.captchaForm .reload:hover,
.captchaForm .talk:hover {
  background: linear-gradient(to bottom, var(--mono-color-9), var(--mono-color-9));
}

.captchaForm .reload {
  margin-right: 5px;
}

.captchaForm .reload a,
.captchaForm .talk a {
  display: block;
  padding: 6px 0 4px;
  border: 1px solid var(--mono-color-3);
  border-radius: 3px;
  color: var(--mono-color-1);
  font-size: 100%;
  text-align: center;
  text-decoration: none;
}

.captchaForm .field input {
  padding: 5px;
}

/* error
---------------------- */
#errorExplanation {
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid var(--ac-color-red-1);
}

#errorExplanation h2 {
  padding: 0 0 4px 15px;
  border-radius: 4px;
  background-color: var(--mono-color-9);
  color: var(--ac-color-red-1);
}

#errorExplanation p {
  margin-left: 15px;
}

#errorExplanation ul {
  list-style-type: disc;
  margin-left: 30px;
}

#errorExplanation li {
  color: var(--ac-color-red-1);
}