/*****************************************************************************
CSS only for /jp/support/sumai/ top
*****************************************************************************/

/* Set
-----------------------------------------*/
#contents * {
  box-sizing: border-box;
}
img {
  max-width: 100%;
  height: auto;
}
.section {
  margin-bottom: 70px;
}

/* PageLink
-----------------------------------------*/
.PageLink {
  margin-top: 50px;
}
.PageLink__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 36px;
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
  .PageLink__list {
    justify-content: flex-start;
    gap: 27px 20px;
  }
}
.PageLink__item {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.3;
}
.PageLink__item a {
  position: relative;
  padding-right: 18px;
  color: #333;
}

.PageLink__item a:hover   { text-decoration: underline; }
.PageLink__item a:focus   { text-decoration: underline; }
.PageLink__item a:active  { text-decoration: underline; }

.PageLink__item a[target="_blank"] {
  padding-right: 0;
}

.PageLink__item a::before {
  content: '';
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: 8px;
  width: 12px;
  height: 6px;
  clip-path: polygon(100% 0, 0 0, 50% 100%);
  background-color: #333;
}
.PageLink__item a:hover::before  { opacity: .7; }
.PageLink__item a:focus::before  { opacity: .7; }
.PageLink__item a:active::before { opacity: .7; }

.PageLink__item a::after {
  content: '';
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: 5px;
  width: 12px;
  height: 1px;
  background-color: #333;
}
.PageLink__item a:hover::after  { opacity: .7; }
.PageLink__item a:focus::after  { opacity: .7; }
.PageLink__item a:active::after { opacity: .7; }

.PageLink__item a[target="_blank"]::before,
.PageLink__item a[target="_blank"]::after {
  content: none;
}

.PageLink__item a > img {
  vertical-align: middle;
  margin-left: 6px;
}

/* MenuList
-----------------------------------------*/
.MenuList {
  display: grid;
  gap: 20px;
}

.MenuList a {
	color: #000;
	text-decoration: none;
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
  .MenuList {
    gap: 10px;
  }
}
.MenuList--col2 {
  grid-template-columns: repeat(2, calc((100% - 20px) / 2));
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
  .MenuList--col2 {
    grid-template-columns: auto;
  }
}
.MenuList--col3 {
  grid-template-columns: repeat(3, calc((100% - 40px) / 3));
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
  .MenuList--col3 {
    grid-template-columns: auto;
  }
}

.MenuList__btn {
  display: grid;
  align-items: center;
  position: relative;
  z-index: 1;
  border: 1px solid #D6D6D6;
  color: #000;
  background-color: #fff;
  cursor: pointer;
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
  .MenuList__btn {
    gap: 0 10px;
  }
}
a.MenuList__btn {
  height: 100%;
}
.MenuList__btn::-webkit-details-marker {
  display: none;
}
.MenuList__btn:where(:hover, :focus, :active) {
  opacity: .8;
}
.MenuList__btn::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 17px;
  transform: rotate(45deg);
  width: 7px;
  height: 7px;
  margin: -4px 0 0 0;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  transition: transform 0.4s;
}

.MenuList--col2 > .MenuList__item > .MenuList__btn {
  grid-template-columns: 52px 1fr;
  gap: 0 14px;
  padding: 0 2.857em 0 .714em;
	height: 80px;
}
.MenuList--col3 > .MenuList__item > .MenuList__btn {
  grid-template-columns: 36px 1fr;
  gap: 0 20px;
  padding: 0 2.857em 0 1.428em;
	height: 80px;
}

.MenuList__text {
  font-size: 14px;
  line-height: 1.5;
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
  .MenuList__text {
    font-size: 12px;
  }
}
.MenuList__text > *:last-child {
  margin-bottom: 0;
}
.MenuList__category {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
  .MenuList__category {
    font-size: 14px;
  }
}
.MenuList__category > img {
  margin-left: 4px;
  vertical-align: middle;
}
.MenuList__text > .MenuList__category:not(:only-child) {
  margin-bottom: 4px;
}

.MenuList__panel {
  position: relative;
  z-index: 0;
  width: calc(100% * 3 + 40px);
  margin-top: 9px;
  overflow: hidden;
  border: 1px solid #D6D6D6;
  box-shadow: 5px 5px 10px 0 rgb(0 0 0 / .1);
  background-color: #F6F6F6;
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
  .MenuList__panel {
    width: 100%;
    border-top: none;
    margin-top: 0;
  }
}
.MenuList__item:nth-child(3n-1) .MenuList__panel {
  left: 50%;
  transform: translateX(-50%);
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
  .MenuList__item:nth-child(3n-1) .MenuList__panel {
    left: auto;
    transform: translateX(0);
  }
}
.MenuList__item:nth-child(3n) .MenuList__panel {
  left: calc(-200% - 40px);
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
  .MenuList__item:nth-child(3n) .MenuList__panel {
    left: auto;
  }
}

.MenuList__wrapper {
  padding: 34px 20px;
  overflow: hidden;
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
  .MenuList__wrapper {
    padding: 28px 15px;
  }
}
.MenuList__wrapper > p {
  margin-bottom: 1em;
  font-size: 16px;
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
  .MenuList__wrapper > p {
    font-size: 14px;
  }
}
.MenuList__title {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
  .MenuList__title {
    font-size: 14px;
  }
}
.MenuList__group {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
  .MenuList__group {
    flex-direction: column;
  }
}
.MemoList + .MenuList {
  margin-top: 32px;
}

/* ---------- accordion ---------- */
.MenuList__item.js-accordionActive > .MenuList__btn {
  border-bottom: none;
  background-color: #F6F6F6;
}
.MenuList__item.js-accordionActive > .MenuList__btn::after {
  transform: rotate(135deg);
}
.MenuList__item.js-accordionActive > .MenuList__btn::before {
  content: '';
  display: block;
  position: absolute;
  bottom: -10px;
  left: -1px;
  width: 100%;
  height: 10px;
  border-inline: 1px solid #D6D6D6;
  background-color: #F6F6F6;
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
  .MenuList__item.js-accordionActive > .MenuList__btn::before {
    display: none;
  }
}
.MenuList__item.js-accordionActive > .MenuList__btn:where(:hover, :focus, :active) {
  opacity: 1;
}

/* ---------- slide ---------- */
.MenuList__wrapper:has(.js-slideMenu) {
  display: flex;
  align-items: flex-start;
  padding: 34px 20px;
  transition: transform 0.3s ease-out;
}
.MenuList__wrapper:has(.js-slideMenu) > * {
  flex-shrink: 0;
  width: 100%;
}
.MenuList__wrapper .js-slideMenu {
  transition: transform 0.3s ease-out;
}

.MenuList__detail {
  position: relative;
}
.MenuList__detail[data-slide-content] {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: .3s;
}
.MenuList__detail[data-slide-content].js-slideCurrent {
  height: auto;
  opacity: 1;
}

.MenuList__prev {
  margin-bottom: 32px;
}
.MenuList__prev button {
  position: relative;
  padding: 0 0 0 27px;
  border: none;
  background-color: transparent;
  color: #000;
  font-size: 16px;
  font-weight: bold;
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
  .MenuList__prev button {
    font-size: 14px;
  }
}
.MenuList__prev button::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 4px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  width: 7px;
  height: 7px;
  margin: -6px 0 0 0;
  border-bottom: 2px solid #000;
  border-left: 2px solid #000;
}

/* CatList
-----------------------------------------*/
.CatList {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 15px;
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
  .CatList {
    gap: 18px 15px;
  }
}
.CatList__item {
  width: 103px;
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
  .CatList__item {
    width: calc((100% - 15px * 3) / 4);
  }
}
.CatList__item a {
  display: block;
  color: #000;
  text-align: center;
}
.CatList__img {
  display: inline-block;
  padding: 17px;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0px 0px 10px 0 rgb(0 0 0 / .1);
  background-color: #fff;
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
  .CatList__img {
    padding: 13px;
  }
}
.CatList__img img {
  width: 69px;
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
  .CatList__img img {
    width: auto;
  }
}
.CatList__text {
  margin-top: 16px;
  font-size: 12px;
  font-weight: bold;
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
  .CatList__text {
    margin-top: 10px;
    line-height: 1.7;
  }
}
.CatList__text p > img {
  margin-left: 4px;
  vertical-align: middle;
}

/* MemoList
-----------------------------------------*/
.MemoList {
  font-size: 12px;
}
.MemoList li {
  text-indent: -1em;
  padding-left: 1em;
}

div.section {
	margin: 4em 0;
	line-height: 1.8;
}
div.section {
  width: 976px;
  margin-left: auto;
  margin-right: auto;
}
@media only screen and (max-device-width: 1280px) and (max-width: 640px){
  div.section {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }
}

.h3_number{
	font-size: 16px;
	font-weight: bold;
	border: 1px solid;
	padding: 8px 20px 6px;
	background: #FFF;
	margin: 0 0 1em;
}

ul+.h3_number{
	margin: 2em 0 1em;
}

ul.pdf__list{
	column-count: 2;
	padding-left: 0.8em;
}
ul.pdf__list li{
	margin: 0 0 0.4em;
	padding-left: 0.8em;
    text-indent: -0.8em;
}
ul.pdf__list li::before{
	content: "\f1c1";
	font-family: FontAwesome;
	color: crimson;
	display: inline-block;
	padding-right: 10px;
}
ul.pdf__list li a{
	text-decoration: underline;
}
ul.pdf__list li a:hover{
	text-decoration: none;
}
@media only screen and (max-width:640px) and (max-device-width:1280px){
ul.pdf__list{
	column-count: 1;
}
}