@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/




.block-heading {
    display: table;
    margin: 40px auto;
    text-align: center;
    font-size: 28px;
    width: 70%;
  position: relative;
  padding: 0.25em 1em;
  border-top: solid 2px black;
  border-bottom: solid 2px black;
}
.block-heading:before, .block-heading:after {
  content: '';
  position: absolute;
  top: -7px;
  width: 2px;
  height: -webkit-calc(100% + 14px);
  height: calc(100% + 14px);
  background-color: black;
}
.block-heading:before {
  left: 7px;
}
.block-heading:after {
  right: 7px;
}

.p-homeContent .block-heading:first-child {
  margin-top: -32px !important;
}
@media screen and (max-width: 959px) {
  .block-heading {
      margin: 30px auto;
      width: 90%;
  }
  .p-homeContent .block-heading:first-child {
    margin-top: -10vw !important;
  }
}




.category-box{
  position: relative;
}
.category-box+.category-box{
  margin-top: 10px;
}
.category-box_inner{
  padding: 1em;
}
.category-box:before,
.category-box:after{
  content: "";
  width: 4em;
  height: 4em;
  position: absolute;
}
.category-box::before{
  border-top: 2px solid #0094D6;
  border-left: 2px solid #0094D6;
}
.category-box::after{
  border-bottom: 2px solid #0094D6;
  border-right: 2px solid #0094D6;
  right: 0;
  bottom: 0;
}
.category-box .box-header{
  margin: 0 0 .5em;
}
.category-box .box-header:first-letter{
  font-size: 1.4em;
  color: #0094D6;
}

.category-box .link-items{
  margin: 10px 40px;
}

.link-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.link-items a {
    display: flex;
    padding: 10px 20px;
    background: #999999;
    color: #fff;
    border-radius: 4px;
}
.link-items a:hover {
	color: #fff;
	background: #333;
}


@media screen and (max-width: 959px) {
  .category-box .link-items {
      margin: 10px 0;
  }

  .link-items a {
      padding: 10px 20px;
  }
}


.list_link {
  margin-bottom: 60px;
}

.list_link a {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 40%;
	margin: auto;
	padding: 1rem 4rem;
	font-weight: bold;
	border: 2px solid #333;
	color: #333;
	transition: 0.2s;
}
.list_link a:hover {
	color: #fff;
	background: #333;
}

@media screen and (max-width: 959px) {
  .list_link a {
  	width: 80%;
  }
}

