/* カラー変更 */

:root {
  --content-width: 1200px;
  --main-color: #005886;
  --sub-color: #5f9b00;
  --pale-color: #bde381;
}


/* コンテンツレイアウト */

body {
  font-family: "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "游ゴシック体", "Yu Gothic", YuGothic, Hiragino Sans, "ヒラギノ角ゴシック", Hiragino Kaku Gothic ProN, "ヒラギノ角ゴ ProN W3", sans-serif;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  word-break: break-all;
  border-spacing: 0;
  border-collapse: collapse;
  text-indent: initial;
  text-decoration: none;
  line-height: 2.0em;
}

section {
  padding: 60px 0;
  position: relative;
  z-index: 2;
}


@media (max-width: 767px) {
  section {
    padding: 30px 0;
  }
}

.home section:first-of-type {
  padding-top: 60px;
}

@media (max-width: 767px) {
  .home section:first-of-type {
    padding-top: 30px;
  }
}

.container {
  padding-right: calc(30px / 2);
  padding-left: calc(30px / 2);
}

@media (min-width: 767px) {
  .container {
    margin: 0 auto;
    max-width: var(--content-width);
  }
   :first-child {
    margin-top: 0;
  }
}

.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 0;
  margin-bottom: 0;
  margin-right: calc(-1 * 30px / 2);
  margin-left: calc(-1 * 30px / 2);
}

@media (max-width: 767px) {
  .row {
    display: block;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
  }
  .row.sp-2row {
    display: flex;
  }
}

.row.reverse {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.row .span_1 {
  width: calc(100% / 12 * 1);
}

.row .span_2 {
  width: calc(100% / 12 * 2);
}

.row .span_3 {
  width: calc(100% / 12 * 3);
}

.row .span_4 {
  width: calc(100% / 12 * 4);
}

.row .span_5 {
  width: calc(100% / 12 * 5);
}

.row .span_6 {
  width: calc(100% / 12 * 6);
}

.row .span_7 {
  width: calc(100% / 12 * 7);
}

.row .span_8 {
  width: calc(100% / 12 * 8);
}

.row .span_9 {
  width: calc(100% / 12 * 9);
}

.row .span_10 {
  width: calc(100% / 12 * 10);
}

.row .span_11 {
  width: calc(100% / 12 * 11);
}

.row .span_12 {
  width: 100%;
}

.row>.col {
  margin-top: 30px;
  margin-left: 0;
  padding-right: calc(30px / 2);
  padding-left: calc(30px / 2);
}

@media (max-width: 767px) {
  .row>.col {
    margin-top: 20px;
    margin-left: 0;
    margin-right: 0;
    padding-right: calc(30px / 2);
    padding-left: calc(30px / 2);
    width: 100%;
  }
  .row.sp-2row>.col {
    width: 50%;
  }
}

@media (max-width: 767px) {
  .row .span_1 {
    width: auto;
  }
  .row>.col:not(:first-child) {
    margin-top: 20px;
  }
}


/* ぱんくず */

.bread_wrap {
  margin-top: 0;
  margin-bottom: 0;
}

.bread {
  overflow: hidden;
  margin: 0;
  justify-content: flex-end;
}

.bread ul {
  float: none;
  display: flex;
  justify-content: flex-end;
  padding-top: 20px;
  flex-wrap: wrap;
}

.bread ul li {
  list-style: none;
  position: relative;
  float: left;
  margin-right: 20px;
  padding-right: calc(20px + 9px);
  color: #000;
}

@media (max-width: 767px) {
  .bread ul li {
    margin-right: 15px;
    padding-right: calc(15px + 9px);
  }
}

.bread ul li a {
  padding: 0;
  text-decoration: none;
  color: #000;
}

.bread ul li a:hover {
  text-decoration: underline;
}

.bread ul li:after {
  content: '>';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  color: #000;
}

.bread ul li:last-child {
  padding-right: 0;
  margin-right: 0;
}

.bread ul li:last-child:after {
  content: none;
}


/* 画像のフィックス */

figure {
  margin: 0;
  text-align: center;
}

img {
  vertical-align: middle;
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
  max-width: 100%;
  width: 100%;
  height: auto;
}

figure img {
  width: inherit;
}


/* 投稿 */

.article_list {
  padding: 30px;
  border: 1px solid var(--main-color);
  position: relative;
  overflow: hidden;
}

@media (max-width: 767px) {
  .article_list {
    padding: 20px;
  }
}

.article_list:first-child {
  margin-top: 0;
}

.article_list:nth-child(n+2) {
  margin-top: 30px;
}

.article_detail {
  font-size: 1.2rem;
}

.article_detail img {
  width: auto;
}

.article_detail .span_12 {
  margin: 2% 0;
}

.article_button {
  margin-top: 30px;
  text-align: right;
}

@media (max-width: 767px) {
  .article_button {
    margin-top: 20px;
  }
}

.more {
  display: inline-block;
  overflow: hidden;
  margin: auto;
}

.more.btn_ss a, .more.btn_ss span {
  padding: 0.3em 2.1em 0.3em 1.4em;
}

.more.btn_s a, .more.btn_s span {
  padding: 0.5em 2.1em 0.5em 1.4em;
}

.more.btn_m a, .more.btn_m span {
  padding: 0.5em 2.1em 0.5em 1.4em;
}

.more a, .more span {
  display: inline-block;
  letter-spacing: normal;
  color: var(--main-color);
  border: 1px solid var(--main-color);
  padding: 0.9em 1.6em;
  margin-bottom: 1px;
  text-decoration: none;
}

.more a:after, .more span:after {
  border-color: var(--main-color);
}

.more a:hover, .more span:hover {
  color: #333;
  border-color: #333;
}

.more a:hover:after, .more span:hover:after {
  border-color: #333;
}

.more a.add_arrow, .more span.add_arrow {
  padding-right: 1.9em;
}

.add_arrow {
  display: block;
  position: relative;
}

.add_arrow:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 5%;
  margin: auto;
  width: 6px;
  height: 6px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  -webkit-transform: translate(0, -50%) rotate(45deg);
  transform: translate(0, -50%) rotate(45deg);
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.add_arrow:hover:after {
  right: 3%;
  border-color: #fff;
}

.more {
  display: inline-block;
  overflow: hidden;
  margin: auto;
}

.more a {
  display: inline-block;
  letter-spacing: normal;
  border: 1px solid var(--main-color);
  color: var(--main-color);
  padding: 0.3em 1.3em 0.3em 1em;
  margin-bottom: 1px;
  text-decoration: none;
  font-size: 1.2rem;
}

.pager {
  overflow: hidden;
  margin-bottom: 5%;
}

.pager .pager_prev {
  float: left;
}

.pager .pager_prev a {
  display: block;
  position: relative;
  padding-left: 15px;
  text-decoration: none;
}

.pager .pager_prev a:before, .pager .pager_prev a:after {
  content: "";
  display: block;
  position: absolute;
  left: 2px;
  margin: auto;
  width: 8px;
  height: 1px;
  background: var(--main-color);
  -webkit-transition: .2s;
  transition: .2s;
}

.pager .pager_prev a:before {
  -webkit-transform: translateY(-50%) rotate(-45deg);
  transform: translateY(-50%) rotate(-45deg);
  top: calc(50% - 2px);
}

.pager .pager_prev a:after {
  -webkit-transform: translateY(-50%) rotate(-135deg);
  transform: translateY(-50%) rotate(-135deg);
  top: calc(50% + 3px);
}

.pager .pager_prev a:hover {
  text-decoration: underline;
}

.pager .pager_prev a:hover:before {
  left: 0;
}

.pager .pager_prev a:hover:after {
  left: 0;
}

.pager .pager_next {
  float: right;
}

.pager .pager_next a {
  display: block;
  position: relative;
  padding-right: 15px;
  text-decoration: none;
}

.pager .pager_next a:before, .pager .pager_next a:after {
  content: "";
  display: block;
  position: absolute;
  right: 2px;
  margin: auto;
  width: 8px;
  height: 1px;
  background: var(--main-color);
  -webkit-transform-origin: center;
  transform-origin: center;
  -webkit-transition: .2s;
  transition: .2s;
}

.pager .pager_next a:before {
  -webkit-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
  top: calc(50% - 2px);
}

.pager .pager_next a:after {
  -webkit-transform: translateY(-50%) rotate(135deg);
  transform: translateY(-50%) rotate(135deg);
  top: calc(50% + 3px);
}

.pager .pager_next a:hover {
  text-decoration: underline;
}

.pager .pager_next a:hover:before {
  right: 0;
}

.pager .pager_next a:hover:after {
  right: 0;
}

.pagination{
   margin:40px 0 0;
   text-align: center;
   font-weight: bold;
}
.nav-links{
   display:flex;
}
.pagination .page-numbers{
   margin:10px;
   padding:5px;
   color:#fff;
   background:var(--main-color);
   border:2px solid var(--main-color);
}

.pagination .current{
   padding:5px;
   color:var(--main-color);
   background: #fff;
}

.pagination .prev,
.pagination .next{
    margin: 10px;
    height: auto;
    padding: 4px 10px;
    text-align: center;
    background: var(--main-color);
    color: #fff;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--main-color);
}

.pagination .prev:hover,
.pagination .next:hover{
  color: var(--main-color);
  background: #fff;
}

.pagination .dots{
   background:transparent;
   box-shadow:none;
}

.news-item {
  display: block;
  padding: 10px 20px;
  border: 2px solid var(--main-color);
  background: #fff;
  line-height: 1.625;
  position: relative;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

.news-item:hover {
  background: var(--main-color);
  color: #fff;
}

.news-item:hover .cat {
  background: #fff;
  color: var(--main-color);
}

.news-item article {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  line-height: 1.625;
  gap: 0 20px;
  align-items: center;
  flex-wrap: wrap;
}

.news-item:before {
  content: '';
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  background-image: url(/wp-coushun/wp-content/uploads/arrow-right.png);
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: contain;
}

.news-item:hover:before {
  background-image: url(/wp-coushun/wp-content/uploads/arrow-right-white.png);
}

@media (max-width: 767px) {
  .news-item {
    padding: 10px 15px;
    line-height: 1.625;
  }
}

.news-item:nth-child(n+2) {
  margin-top: 20px;
}

@media (max-width: 767px) {
  .news-item:nth-child(n+2) {
    margin-top: 15px;
  }
}

.news-item time {
  width: 100px;
}

.cat {
  background: var(--main-color);
  padding: 5px;
  color: #fff;
  font-size: 12px;
  width: inherit!important;
}

.news-item a {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  font-weight: bold;
  color: #000;
}

@media (max-width: 480px) {
  .news-item span {
    flex: inherit;
    width: 100%;
  }
}

.news-item a:hover {
  text-decoration: underline;
  opacity: .7;
}

.top-content {
  display: flex;
  font-weight: bold;
}

.right-head {
  max-width: 550px;
  display: flex;
  justify-content: center;
  padding-top: 50px;
}
.left-head {
  width: 550px;
  display: flex;
  justify-content: center;
  padding-top: 50px;
}


.right-wrap {
  width: 50%;
  display: flex;
  justify-content: flex-start;
  padding: 30px;
  background: #f7f7f7;
  background-image: url(/wp-coushun/wp-content/uploads/safety-bg.png);
  background-repeat: no-repeat;
  flex-wrap: wrap;
  flex-direction: column;
  flex-grow: 1;
}

.right-wrap-inner {
  max-width: 550px;
  height: auto;
  padding: 50px 0 0;
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  flex-grow: 1;
}

.left-wrap {
  width: 50%;
  display: flex;
  justify-content: flex-end;
  padding: 30px;
  background: #f7f7f7;
  background-image: url(/wp-coushun/wp-content/uploads/company-bg.png);
  background-repeat: no-repeat;
  flex-wrap: wrap;
}

.left-wrap-inner {
  max-width: 550px;
  height: auto;
  padding: 50px 0 0;
  position: relative;
  display: flex;
  justify-content: center;
}

.inner-content {
  background: #fff;
  padding: 20px 20px 50px;
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.inner-content .btn-1 {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  bottom: -30px;
}

.heading-gradiant {
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  margin: 0;
}

.heading-gradiant span {
  background: linear-gradient(90deg, #005886, #000000);
  background: -webkit-linear-gradient(0deg, #005886, #000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .top-content {
    display: block;
  }
  .right-wrap {
    width: 100%;
    display: inherit;
    margin: 0;
  }
  .left-wrap {
    width: 100%;
    display: inherit;
    margin: 0;
  }
  .right-wrap-inner {
    width: auto;
    height: auto;
    display: inherit;
  }
  .left-wrap-inner {
    width: auto;
    height: auto;
    display: inherit;
  }
  .right-head {
    width: 100%;
    padding-top: 10px;
  }
  .left-head {
    max-width: 100%;
    padding-top: 10px;
  }

}

@media (max-width: 480px) {
  .heading-gradiant {
    line-height: 1.5;
  }
}

.slider-img {
  position: relative;
}

.slider-img p {
  position: absolute;
  bottom: 0;
  background: rgb(0 0 0 / 50%);
  width: 100%;
  margin: 0;
  text-align: center;
  color: #fff;
  opacity: 0;
  transition: opacity .25s ease-in-out;
}

.slick-slide img {
  height: auto;
  width: 100%;
  transform: scale(.7);
  transition: transform .5s;
}

.slick-slide.slick-current img {
  transform: scale(1);
}

.slick-slide.slick-current p {
  opacity: 1;
}

.slick-dots li button:before {
  font-size: 14px!important;
  color: var(--main-color)!important;
}

.top-bg01 {
  overflow: hidden;
  position: relative;
  background: url("/wp-coushun/wp-content/uploads/top-bg01.png") no-repeat;
  background-size: cover;
}
.top-bg02 {
  overflow: hidden;
  position: relative;
  background: url("/wp-coushun/wp-content/uploads/top-bg02.png") no-repeat;
  background-size: cover;
}

.content-bg {
  overflow: hidden;
  position: relative;
  background: url("/wp-coushun/wp-content/uploads/recruit-bg.png") no-repeat center;
  background-size: cover;
}

.content-bg .container {
  position: relative;
  z-index: 2;
}

.content-bg .heading-2 {
  position: relative;
  z-index: 3;
  justify-content: center;
  margin: 30px 0;
}

.top-recruit {
  background: #fff;
  padding: 20px 20px 50px;
  position: relative;
  max-width: 800px;
  margin: 0 auto 50px;
}

.top-recruit .btn-1 {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  bottom: -30px;
}

.checkmark001{
	padding-left:30px;
	position:relative;
}
.checkmark001:before,
.checkmark001:after{
	content:"";
	display:block;
	position:absolute;
}
.checkmark001:before{
	width:16px;
	height:16px;
	background:#ffffff;
    	border:1px solid #000000;
	left:0;top:2px;
}
.checkmark001:after{
	border-left:2px solid #005886;
	border-bottom:2px solid #005886;
	width:18px;
	height:5px;
	-webkit-transform:rotate(-45deg);
	transform:rotate(-45deg);
	left:5px;
	top:3px;
}

/* コンタクトフォーム */

.inquiry {
  width: 960px;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .inquiry {
    width: auto;
  }
}

.inquiry input[type="text"], .inquiry input[type="url"], .inquiry input[type="email"], .inquiry input[type="tel"], .inquiry input[type="date"], .inquiry input[type="number"], .inquiry select, .inquiry textarea {
  width: 100%;
  padding: 5px;
  color: #000;
}

.buttom-flow{
  display: flex;
  justify-content: center;
  gap:20px;
}

.wpcf7-previous{
  display: block;
  width: 180px;
  height: auto;
  padding: 16px 10px;
  text-align: center;
  background: #575757;
  color: #fff;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.4);
  border: 2px solid #575757;
}

.wpcf7-submit {
  display: block;
  width: 180px;
  height: auto;
  padding: 16px 10px;
  text-align: center;
  background: var(--main-color);
  color: #fff;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--main-color);
}

.wpcf7-previous:hover {
  color: #575757;;
  background: #fff;
  border: 2px solid #575757;
}

.wpcf7-submit:hover {
  color: var(--main-color);
  background: #fff;
}

.buttom-flow p{
  margin: 0;
}

.wpcf7-spinner {
  display: none;
}

.require {
  color: #c00;
}


/* Slider */

.mv {
  position: relative;
  width: 100%;
  height: 100vh;
}

.mv-image {
  z-index: -1;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
}

.mv-image.mv01 {
  background-image: url(/wp-coushun/wp-content/uploads/mv01.png);
}

.mv-image.mv02 {
  background-image: url(/wp-coushun/wp-content/uploads/mv02.png);
}

.mv-image.mv03 {
  background-image: url(/wp-coushun/wp-content/uploads/mv03.png);
}

.mv-image.mv04 {
  background-image: url(/wp-coushun/wp-content/uploads/mv04.png);
}

.mv-image.mv05 {
  background-image: url(/wp-coushun/wp-content/uploads/mv05.png);
}

.mv-image.mv06 {
  background-image: url(/wp-coushun/wp-content/uploads/mv06.png);
}

.mv-image figure img {
  width: 100%;
}

@media (max-width: 1024px) {
  .mv {
    height: inherit;
  }
  .mv-image {
    z-index: -1;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 500px;
  }
}
@media (max-width: 480px) {
  .mv {
    height: inherit;
  }
  .mv-image {
    z-index: -1;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 300px;
  }
}

/* キャッチフェード */

.catch {
  position: relative;
  z-index: 1;
}

.catch .L {
  width: 100%;
  position: relative;
}

.catch .L:before {
  content: '';
  position: absolute;
  top: -900px;
  left: 0;
  background-image: url(/wp-coushun/wp-content/uploads/over-wrap-L.png);
  width: 100%;
  height: 1100px;
  background-repeat: no-repeat;
  background-size: contain;
}

.catch .R {
  width: 100%;
  position: relative;
}

.catch .R:before {
  content: '';
  position: absolute;
  bottom: -250px;
  right: 0;
  background-image: url(/wp-coushun/wp-content/uploads/over-wrap-R.png);
  width: 890px;
  height: 720px;
  background-repeat: no-repeat;
}

@media (max-height: 768px) {
  .catch .L:before {
    top: -700px;
    left: -270px;
}
}

@media (max-width: 1024px) {
  .catch .L:before {
    top: -550px;
    bottom: 0;
    left: -100px;
    width: 100%;
}
.catch .R {
  display: none;
}
}

@media (max-width: 480px) {
  .catch .L:before {
    top: -360px;
    bottom: 0;
    left: -120px;
    width: 100%;
    background-image: url(/wp-coushun/wp-content/uploads/over-wrap-L-sp.png);
}
}

/* 見出し */

h2.heading-1 {
  border: 0;
  word-wrap: break-word;
  font-weight: bold;
  padding-top: 0;
  font-size: 1.8rem;
  color: var(--main-color);
  text-align: center;
}
h2.heading-1 span {
  position: relative;
  padding-left: 2em;
}

h2.heading-1 span:before {
  position: absolute;
  content:'';
  width: 15px;
  height: 50px;
  background: #000;
  transform: rotate(45deg);
  left: 8px;
  top: 4px;
  z-index: 1;
}
h2.heading-1 span:after {
  position: absolute;
  content:'';
  width: 15px;
  height: 50px;
  background: var(--main-color);
  transform: rotate(45deg);
  left: 10px;
  top: -12px;
}

h2.heading-2 {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: bold;
  font-size: 1.8rem;
  color: var(--main-color);
  line-height: 1.5em;
  display: flex;
  gap: 10px;
  align-items: center;
}

h2.heading-2 span {
  font-weight: bold;
  font-size: 1rem;
  color: #000;
}

h2.heading-2.white {
  color: #fff;
}

h2.heading-2.white span {
  color: #fff;
}

h3.heading-3 {
  margin: 0.2em 0 0.5em;
  font-weight: bold;
  font-size: 1.6rem;
  position: relative;
  line-height: 1.5em;
  padding-bottom: 0.5em;
}

h3.heading-3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, rgba(0,88,134,1) 0%, rgba(0,88,134,1) 10%, rgba(224,224,224,1) 10%);
}

h3.heading-3.white {
  color: #fff;
}

h3.heading-3.white:after {
  background: #fff;
}

h4.heading-4 {
  margin: 0 0 0.5em;
  padding: 0.2em 0 0.2em 1em;
  font-size: 1.2rem;
  position: relative;
  color: var(--main-color);
  font-weight: normal;
  line-height: 1.5em;
}

h4.heading-4:after {
  content: '';
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  display: block;
  width: 6px;
  height: 100%;
  margin: auto;
  background: var(--main-color);
}

h4.heading-4.white {
  color: #fff;
}

h4.heading-4.white:after {
  background: #fff;
}

h4.heading-5 {
  margin: 0.2em 0 0.5em;
  padding: 0.2em 0 0.2em 1em;
  font-size: 1.2rem;
  position: relative;
  color: var(--main-color);
  border-bottom: 1px solid;
  font-weight: normal;
  line-height: 1.5em;
}

h4.heading-5:after {
  content: '';
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  display: block;
  width: 6px;
  height: 100%;
  margin: auto;
  background: var(--main-color);
}

h4.heading-5.white {
  color: #fff;
}

h4.heading-5.white:after {
  background: #fff;
}

#pagetitle {
  position: relative;
  color: #fff;
  padding: 2.5em 0;
  background: url("/wp-coushun/wp-content/uploads/pagetitle-bg.png");
  background-position: center;
  margin-top: 117px;
}

@media (max-width: 1000px) {
  #pagetitle {
    margin-top: 90px;
  }
}
@media (max-width: 480px) {
  #pagetitle {
    margin-top: 77px;
  }
}

#pagetitle:after {
  content: '';
  position: absolute;
}

#pagetitle span {
  font-size: 2.0rem;
  font-weight: bold;
  display: block;
  box-sizing: border-box;
  line-height: 1;
  color: #000;
}
#pagetitle p {
  font-size: 1rem;
  font-weight: bold;
  color: var(--main-color);
  margin: 0;
}

@media (max-width: 480px) {
  h2.heading-1 span,
  h2.heading-2 {
    font-size: 1.2rem;
  }
  h2.heading-1 span:before,
  h2.heading-1 span:after {
    width: 10px;
    height: 35px;
  }
  h3.heading-3 {
    font-size: 1.1rem;
  }
  h3.heading-3 {
    font-size: 1.1rem;
  }
  h4.heading-4{
    font-size: 1rem;
  }
  #pagetitle span {
    font-size: 1.5rem;
  }
}


/* ボタン */

.btn-1 {
  display: block;
  width: 180px;
  margin: 0 auto 40px;
  height: auto;
  padding: 16px 10px;
  text-align: center;
  background: var(--main-color);
  color: #fff;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--main-color);
}


.btn-1:hover {
  color: var(--main-color);
  background: #fff;
}

.btn-1.black {
  color: #fff;
  background: #575757;
  border: 2px solid #575757;
}

.btn-1.black:hover {
  color: #575757;
  background: #fff;
}



/* テーブル */

.table-schedule {
  width: 100%;
}

.table-schedule td, .table-schedule th {
  border: 1px solid var(--sub-color);
  padding: 0.7em;
  text-align: center;
}

@media (max-width: 480px) {
  .table-schedule td, .table-schedule th {
    padding: 0.7em .3em;
  }
}

.table-schedule thead th {
  background: var(--main-color);
  color: #fff;
}

.table-schedule tbody th {
  background: transparent;
}

.table-default {
  width: 100%;
}

.table-default td, .table-default th {
  padding: 0.7em 1em;
  border: 1px solid var(--sub-color);
  vertical-align: middle;
}

.table-default th {
  background: var(--main-color);
  color: #fff;
}


/* 流れ */

.bg {
  background: #e8f6fb;
  padding: 10px 15px;
  display: block;
  border: 1px solid #fff;
  box-shadow: 0 3px 3px #ebeae8;
  border-radius: 13px 0;
  margin-right: 10px;
}

span.bg {
  background: var(--main-color);
  color: #fff;
  padding: 5px;
  border-radius: 3px;
  display: block;
}

.indent {
  margin-left: 2em;
  text-indent: -2em;
}

.indent span.bg {
  display: inline;
}

.frame {
  border: 1px solid var(--main-color);
  border-radius: 6px;
  padding: 1em 0;
  position: relative;
  display: flex;
}

.frame>.col {
  padding-right: calc(30px / 2);
  padding-left: calc(30px / 2);
}

.span_6 .frame, .span_4 .frame {
  margin-top: 30px;
}

@media (max-width: 767px) {
  .span_6 .frame, .span_4 .frame {
    margin-top: 20px;
  }
  .frame {
    display: block;
  }
  .frame .span_2, .frame .span_3, .frame .span_4, .frame .span_5, .frame .span_6, .frame .span_7, .frame .span_8, .frame .span_9, .frame .span_10 {
    width: 100%!important;
  }
}

.frame.arrow:after {
  border-color: transparent transparent transparent var(--main-color);
  border-style: solid;
  border-width: 26px 0 26px 18px;
  content: '';
  margin-top: -11px;
  position: absolute;
  right: 50%;
  bottom: -36px;
  transform: rotate(90deg);
}

.frame.arrow.end:after {
  display: none;
}


/* リスト */

dl {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

dl dt {
  font-weight: bold;
  width: 230px;
  border-bottom: 1px solid var(--main-color);
  padding: 10px;
  margin: 0;
}

dl dd {
  width: calc(100% - 240px);
  border-bottom: 1px solid #9c9c9c;
  padding: 10px;
  margin: 0;
}

@media (max-width: 767px) {
  dl dt {
    width: 100%;
  }
  dl dd {
    width: 100%;
  }
}


/* ページトップ */

.pagetop {
  position: absolute;
  top: 0;
  right: 5%;
  z-index: 100;
  margin: 0;
}

@media (max-width: 767px) {
  .pagetop {
    bottom: 74px;
  }
}

.pagetop a {
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  display: inline-block;
  position: relative;
  width: 70px;
  height: 70px;
  padding: 0;
  background: var(--main-color);
}

.pagetop a:before {
  position: absolute;
  content: 'TOP';
  bottom: 0;
  left: -2px;
  color: #fff;
  font-size: 12px;
}

.pagetop a:after {
  content: "";
  display: block;
  position: absolute;
  top: 40%;
  left: 50%;
  margin: auto;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  -webkit-transform: translate(-50%, -20%) rotate(45deg);
  transform: translate(-50%, -20%) rotate(45deg);
  -webkit-transition: .2s;
  transition: .2s;
}
.pagetop a:hover:after {
  top: 30%;
}


/* バナーエリア */

.bnr {
  margin: -15px;
  padding: 0;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .bnr {
    margin: -10px;
  }
}

.bnr li {
  padding: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  max-width: 250px;
}

@media (max-width: 767px) {
  .bnr li {
    padding: 10px;
  }
}

.bnr li a img {
  margin: 0 auto;
}


/* ヘッダー */

header {
  position: fixed;
  top: 0;
  background: rgba(255, 255, 255, 0.5);
  width: 100%;
  z-index: 200;
}

.header-wrap {
  position: relative;
  margin-right: auto;
  margin-left: auto;
  width: auto;
  min-height: 77px;
  padding: 20px 50px;
  text-align: center;
}

@media (max-width: 1000px) {
  .header-wrap {
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .header-wrap:after {
    border: none;
  }
  .header-wrap:before {
    border: none;
  }
}

@media (max-width: 767px) {
  .header-wrap {
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin-top: 0;
    z-index: 999;
    padding: 10px 40px 10px 10px;
  }
}

@media (max-width: 480px) {
  .header-wrap {
    padding: 10px 70px 10px 10px;
  }
}

.header-main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.header-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@media (max-width: 767px) {
  .header-main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    width: 100%;
  }
}

.header-head:not(.title) {
  font-size: 1rem;
  line-height: 1;
  margin: 0;
  flex: 1;
}

@media (max-width: 767px) {
  .header-head:not(.title) {
    margin: 0 auto 0 0;
    padding: 0;
    text-align: left;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .header-head:not(.title) {
    width: 85%;
  }
}

@media (max-width: 767px) {
  .header-head:not(.title) img {
    height: auto;
    width: auto;
  }
}

.header-head {
  text-align: left;
}

.header-head a {
  display: inline-block;
  max-width: 420px;
}

.header-head p {
  color: #231815;
  font-size: 1.5rem;
  font-weight: bold;
}

.header-copy:not(.title) {
  color: #1b1b1b;
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.2;
  margin: 0 0 20px 0;
  padding: 4px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  text-align: left;
  position: relative;
}

@media (max-width: 767px) {
  .header-copy:not(.title) {
    display: none;
  }
}

.header-tel {
  margin: 0 20px 0 0;
  text-align: right;
}

.header-tel p {
  line-height: 1.5em;
  margin: 0px;
}

.header-tel p:first-child {
  margin-top: 0;
}


.nav {
  position: fixed;
  min-height: 100%;
  width: 100%;
  top: 0;
  right: -100%;
  z-index: 30000;
}

.nav__bg {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  right: -100%;
  cursor: pointer;
}

@media (max-width: 767px) {
  .nav__bg {
    display: none;
  }
}

.nav__wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: 460px;
  height: 100vh;
  padding-bottom: 30px;
  overflow: auto;
  background: rgba(0, 0, 0, 0.8);
  ;
}

@media (max-width: 767px) {
  .nav__wrap {
    width: 100%;
    height: 100vh;
    padding-bottom: 70px;
    overflow-y: scroll;
  }
}

.nav-btn {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  width: 70px;
  height: 100%;
  z-index: 99999999;
  background: var(--main-color);
}

.nav-btn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 17px;
  height: 3px;
  border-radius: 2px;
  background: #FFF;
  width: 50%;
}
.nav-btn span:nth-of-type(1) {
  top: 20px;
}
.nav-btn span:nth-of-type(2) {
  top: 32px;
}
.nav-btn span:nth-of-type(3) {
  top: 45px;
}

.nav-btn.is-active span:nth-of-type(1) {
    top: 27px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
}

.nav-btn.is-active span:nth-of-type(2) {
  opacity: 0;/*真ん中の線は透過*/
}

.nav-btn.is-active span:nth-of-type(3){
    top: 40px;
    left: 17px;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
}


@media (max-width: 767px) {
  .nav__items {
    margin-top: 0;
    padding-top: 60px;
    width: 290px;
    margin: 0 auto;
  }
}

.nav__items ul {
  list-style: none;
  padding: 15px 0 0 0;
}

.nav__items ul li a {
  display: block;
  padding: 10px;
  font-size: 1rem;
  color: #ebeddf;
  border-bottom: 1px solid #fff;
}

@media (max-width: 767px) {
  .nav__items ul li a {
    background-size: 100% auto;
  }
}

@media (min-width: 769px) {
  .nav__items ul li a:hover {
    -webkit-transition: opacity 0.2s ease-out;
    transition: opacity 0.2s ease-out;
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=percentage(70))";
    zoom: 1;
  }
}

.nav__items ul li a.has_under ul.sub-menu {
  padding-top: 0;
  margin-right: 10px;
  margin-left: 30px;
}

.nav__items ul li a.has_under ul.sub-menu li a {
  background: #fff;
  color: #fff;
  font-size: 2rem;
}

.nav__items ul ul {
  margin-top: 0;
  padding-top: 0;
}

.nav__items ul ul li a {
  border-bottom: 1px dotted #fff;
  text-indent: 1em;
}


/* グローバルメニュー */

.menu {
  position: relative;
  width: 100%;
  background-color: #444;
}

.menu>ul>li>a {
  padding: 20px;
  display: block;
  letter-spacing: .2em;
}

.menu ul li ul {
  z-index: 100;
  display: none;
}

.menu ul li:hover ul {
  padding: 0;
  display: block;
}

.menu {
  background: linear-gradient(var(--main-color) 50%, var(--sub-color) 50%);
}

.menu li:hover {
  background: var(--sub-color);
}

.menu ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: auto;
  width: 100%;
  max-width: var(--content-width);
  list-style: none;
}

.menu li {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-weight: bold;
  line-height: 1;
}

.menu li:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: #FFF;
  width: 1px;
}

.menu li:first-child {
  margin-left: 0;
}

.menu ul li:first-child:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background-color: #FFF;
  width: 1px;
}

.menu ul>li a {
  display: block;
  color: #fff;
}

.menu ul li:first-child {
  margin-left: 0;
}

.menu ul li a:visited {
  color: #FFF;
}


/* Submenu */

.menu>ul li ul {
  position: absolute;
  top: 55px;
  left: 0;
  background: var(--main-color);
}

.menu>ul li ul li {
  display: block;
}

li.second-level {
  padding: 20px;
}

li.second-level:hover {
  background: var(--sub-color);
}

ul li.second-level:first-child:before {
  background: none;
}

ul li.second-level:after {
  background: none;
}

@media (max-width: 767px) {
  .menu {
    display: none;
  }
}


/* グローバルメニュー　別パターン */

.header_nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  box-sizing: border-box;
  margin: 0 auto;
  list-style: none;
  padding: 10px 0;
  align-items: center;
  gap: 20px;
}

.header_nav ul li {
  font-weight: bold;
}

.header_nav ul li a {
  color: #333;
  text-align: left;
  line-height: 1;
}

.header_nav ul li a span {
  font-size: 12px;
  display: block;
}

.header_nav ul li a:hover {
  text-decoration: underline;
  color: var(--main-color);
}


/* フッター */
footer{
  position: relative;
}
.footer-info_wrapper {
  padding: 60px 0;
  background:#313131;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-right {
  max-width: 750px;
}
@media (max-width: 767px) {
  .footer-info_wrapper {
    padding: 90px 15px;
  }
}

.footer-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .footer-info {
    display: block;
  }
}

.footer-info__name {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  text-align: right;
  padding: 0 calc(30px / 2);
}

@media (max-width: 767px) {
  .footer-info__name {
    padding: 0 calc(20px / 2);
    text-align: center;
  }
}

.footer-info__data {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 0 calc(30px / 2);
  color: #fff;
  text-align: left;
}

@media (max-width: 767px) {
  .footer-info__data {
    margin-top: 20px;
    text-align: center;
  }
}
.footer-info__name {
  max-width: 420px;
}

.footer-info__name img {
  margin: auto;
  width: auto!important;
}

.footer-info__adress {
  margin-top: 5px;
  line-height: 1.5em;
}

.footer-info__tel {
  line-height: 1.5em;
  margin-top: 5px;
}

.footer-info__tel a {
  color: #fff;
}

.footer__links {
  padding: 0;
}

.footer__links>ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: flex-end;
  margin: 20px auto 0;
  max-width: var(--content-width);
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 0;
  gap: 10px 2%;
}

.footer__links>ul>li {
  display: block;
  position: relative;
  padding: 0 calc(30px / 2);
  width: 23%;
}

@media (max-width: 767px) {
  .footer__links>ul {
    padding-bottom: 15px;
  }
}

.footer__links>ul>li>a {
  display: block;
  white-space: nowrap;
  color: #fff;
  position: relative;
}
.footer__links>ul>li>a:before {
  position: absolute;
  content: '-';
  top: 0;
  left: -10px;
}

@media (min-width: 767px) {
  .footer__links>ul>li a:hover {
    text-decoration: underline;
  }
}

.sns {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding: 20px 0;
}

@media (max-width: 480px) {
  .sns {
    justify-content: center;
  }
}

.footer__copy {
  padding: 20px 0;
  line-height: 1.42857;
  text-align: center;
  color: #fff;
  background: #000;
  margin: 0;
}


.js-fade {
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: opacity 1.5s,visibility 1.5s, transform 1.5s;
}

.scroll {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

/* トグル */

summary {
  display: block;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.toggle-wrap {
  margin-bottom: 20px;
}

.toggle-wrap:last-child {
  margin-bottom: 0;
}

.toggle-head.qa {
  position: relative;
}

.toggle-head.qa:before {
  position: absolute;
  content: "Q.";
  top: 15px;
  left: 30px;
  font-weight: bold;
  color: var(--main-color);
}

.toggle_inner {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px 15px 25px;
  border: 1px solid var(--main-color);
  font-weight: bold;
  color: var(--main-color);
}

.icon {
  display: block;
  position: relative;
  width: 24px;
  margin-left: 6px;
  flex-shrink: 0;
  transform-origin: center 43%;
  transition: transform 0.4s;
}

.icon:before {
  left: 0;
  transform: rotate(45deg);
}

.icon:after {
  right: 0;
  transform: rotate(-45deg);
}

.icon:before, .icon:after {
  content: "";
  position: absolute;
  display: block;
  width: 15px;
  height: 3px;
  background-color: var(--main-color);
}

.toggle-content p {
  padding: 20px 20px 20px 40px;
  background: var(--pale-color);
  margin: 0;
}

details[open] .icon {
  transform: rotate(180deg);
}


/* 汎用クラス */

.bg-red {
  background-color: #fe266d!important;
}

.bg-blue {
  background-color: #1646b1!important;
}

.bg-green {
  background-color: #5fcf32!important;
}

.bg-orange {
  background-color: #ffa204!important;
}

.text-red {
  color: #db2d2d!important;
}

.text-blue {
  color: #2420db!important;
}

.text-green {
  color: #6ddb20!important;
}

.text-orange {
  color: #db9620!important;
}

.text-pink {
  color: #db20b2!important;
}

.text-black {
  color: #000000!important;
}

.text-white {
  color: #FFFFFF!important;
}

.mt0 {
  margin-top: 0px!important;
}

.mb0 {
  margin-bottom: 0px!important;
}

.mt10 {
  margin-top: 10px!important;
}

.mt20 {
  margin-top: 20px!important;
}

.mt30 {
  margin-top: 30px!important;
}

.mt40 {
  margin-top: 40px!important;
}

.mt50 {
  margin-top: 50px!important;
}

.mt60 {
  margin-top: 60px!important;
}

.mr10 {
  margin-right: 10px!important;
}

.mr20 {
  margin-right: 20px!important;
}

.mr30 {
  margin-right: 30px!important;
}

.mr40 {
  margin-right: 40px!important;
}

.mr50 {
  margin-right: 50px!important;
}

.mr60 {
  margin-right: 60px!important;
}

.mb10 {
  margin-bottom: 10px!important;
}

.mb20 {
  margin-bottom: 20px!important;
}

.mb30 {
  margin-bottom: 30px!important;
}

.mb40 {
  margin-bottom: 40px!important;
}

.mb50 {
  margin-bottom: 50px!important;
}

.mb60 {
  margin-bottom: 60px!important;
}

.ml10 {
  margin-left: 10px!important;
}

.ml20 {
  margin-left: 20px!important;
}

.ml30 {
  margin-left: 30px!important;
}

.ml40 {
  margin-left: 40px!important;
}

.ml50 {
  margin-left: 50px!important;
}

.ml60 {
  margin-left: 60px!important;
}

.pt0 {
  padding-top: 0px!important;
}

.pt10 {
  padding-top: 10px!important;
}

.pt20 {
  padding-top: 20px!important;
}

.pt30 {
  padding-top: 30px!important;
}

.pt40 {
  padding-top: 40px!important;
}

.pt50 {
  padding-top: 50px!important;
}

.pt60 {
  padding-top: 60px!important;
}

.pr10 {
  padding-right: 10px!important;
}

.pr20 {
  padding-right: 20px!important;
}

.pr30 {
  padding-right: 30px!important;
}

.pr40 {
  padding-right: 40px!important;
}

.pr50 {
  padding-right: 50px!important;
}

.pr60 {
  padding-right: 60px!important;
}

.pb0 {
  padding-bottom: 0px!important;
}

.pb10 {
  padding-bottom: 10px!important;
}

.pb20 {
  padding-bottom: 20px!important;
}

.pb30 {
  padding-bottom: 30px!important;
}

.pb40 {
  padding-bottom: 40px!important;
}

.pb50 {
  padding-bottom: 50px!important;
}

.pb60 {
  padding-bottom: 60px!important;
}

.pl10 {
  padding-left: 10px!important;
}

.pl20 {
  padding-left: 20px!important;
}

.pl30 {
  padding-left: 30px!important;
}

.pl40 {
  padding-left: 40px!important;
}

.pl50 {
  padding-left: 50px!important;
}

.pl60 {
  padding-left: 60px!important;
}

.text-bold {
  font-weight: bold!important;
}

.text-center {
  text-align: center!important;
}

.text-right {
  text-align: right!important;
}

.text-left {
  text-align: left!important;
}

.text-xlarge {
  font-size: 1.6rem!important;
}

.text-large {
  font-size: 1.4rem!important;
}

@media (max-width: 767px) {
  .pc-only {
    display: none !important;
  }
}

@media (min-width: 767px) {
  .text-xlarge {
    font-size: 2.0rem;
  }
  .text-large {
    font-size: 1.6rem;
  }
  .sp-only {
    display: none !important;
  }
}

@media (min-width: 767px) and (max-width: 1023px) {
  .tablet-hide {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .tablet-only {
    display: none !important;
  }
}

a.link-opacity:hover {
  opacity: 0.7;
}

.heading-2 a {
  color: var(--main-color);
}

.company-head {
  text-align: center;
  font-weight: bold;
}

.main-text {
  font-size: 1.8rem;
  margin: 0;
}

@media (max-width: 480px) {
  .main-text {
    font-size: 1.2rem;
    margin: 0;
  }
}

.box5 {
  padding: 0.5em 1em;
  margin: 0 auto;
  width: 960px;
  border: double 5px #005886;
}
.box5 p {
  margin: 0; 
  padding: 0;
}
@media (max-width: 768px) {
  .box5 {
    width: auto;
    margin: 0 1em;
  }
}