.p-top-logo {
  font-size: 20px;
  line-height: 1.4;
  max-width: 90%;
  margin: 30px auto;
  text-align: center;
}

.p-top-logo a {
  display: block;
  transition: opacity .2s;
  text-decoration: none;
  color: #333;
}

.p-top-logo a:hover {
  opacity: .66;
}

.p-top-logo a:active {
  opacity: 1;
}

#p-slider .bx-controls-direction a {
  z-index: 100;
}

#p-slider .bx-viewport {
  top: 0;
  left: 0;
  border: 0;
  background: #f8f8f8;
  box-shadow: none;
}

#p-slider .bx-wrapper img {
  margin: 0 auto;
}

#p-slider .bx-caption {
  top: 0;
  bottom: auto;
  background: rgba(0, 0, 0, .3);
}

#p-slider .bx-caption span {
  padding: 1.5em;
}

#p-slider .bx-pager {
  bottom: 10px;
  padding-top: 0;
}

#p-slider .bx-pager a {
  background: #fff;
}

#p-slider .bx-pager a:hover,
#p-slider .bx-pager a.active {
  background: #fd7f23;
}

.p-news {
  line-height: 1.5;
  margin: 0;
}

.p-news::after {
  display: block;
  clear: both;
  content: '';
}

.p-news__label {
  font-size: 14px;
  font-weight: normal;
  line-height: 1.6;
  width: 180px;
  margin: 0;
  letter-spacing: 1px;
}

.p-news__content {
  line-height: 1.6;
  margin: 5px 0 20px 10px;
}

.p-news__content p:nth-child(1) {
  margin-top: 0;
}

.p-news__label {
  font-family: 'Montserrat', sans-serif;
}

.p-news__label::before {
  content: '-';
}

.p-info {
  line-height: 1.5;
}

.p-contents {
  line-height: 1.5;
  margin-bottom: 40px;
}

.p-contents__list {
  margin: 0 0 20px;
  padding: 0;
  list-style-type: none;
}

.p-contents__list::after {
  display: block;
  clear: both;
  content: '';
}

.p-contents__list li {
  position: relative;
  box-sizing: border-box;
  padding: 0 2em 0 1em;
}

.p-contents__list li::before {
  position: absolute;
  top: .5em;
  left: 0;
  content: '-';
}

.p-contents__list a {
  display: block;
  max-width: 100%;
  padding: .5em 0;
  transition: opacity .2s;
  text-decoration: none;
  color: #333;
}

.p-contents__list a:hover {
  opacity: .66;
}

.p-contents__list a:active {
  opacity: 1;
}

.p-custom-banner {
  margin-top: 50px;
  text-align: center;
}

.p-custom-banner__unit {
  background: #f8f8f8;
}

.p-custom-banner__unit--text {
  font-family: 'Montserrat', sans-serif;
  padding: 30px 10px;
  color: #f8f8f8;
  background: #333;
}

.p-custom-banner__unit--text a {
  color: #f8f8f8;
}

.p-custom-banner__image {
  width: 100%;
}

.p-custom-banner__heading {
  font-size: 24px;
  padding: 10px 0;
}

.p-custom-banner__body {
  line-height: 1.5;
  padding: 10px 0;
}

@media screen and (min-width: 600px) {
  .p-top-logo {
    display: none;
  }

  #p-slider .bx-pager {
    bottom: 30px;
  }

  .p-contents__list li::before {
    top: 0;
  }

  .p-contents__list li {
    float: left;
    width: 50%;
    margin-bottom: 20px;
  }

  .p-contents__list li:nth-child(2n + 1) {
    clear: left;
  }

  .p-contents__list a {
    display: inline-block;
    padding: 0;
  }

  .p-custom-banner {
    display: table;
    width: 100%;
    margin-top: 100px;
    table-layout: fixed;
  }

  .p-custom-banner__unit {
    display: table-cell;
    box-sizing: border-box;
    width: 50%;
    max-width: 50%;
    vertical-align: middle;
    word-break: break-all;
  }

  .p-custom-banner__unit--text {
    padding: 10px 20px;
  }
}

@media screen and (min-width: 960px) {
  .p-news__label {
    float: left;
    clear: left;
    margin-right: 20px;
  }

  .p-news__content {
    overflow: hidden;
    margin: 0 0 20px;
  }

  .p-custom-banner__heading {
    font-size: 30px;
  }
}
.cp_block {
	margin: 5em auto;
	text-align: center;
}
.cp_textlink07 {
  font-size:1.2em;
     width:250px;
  	margin: 0.5em auto;
	position: relative;
	display: inline-block;
	padding: 0.1em 0.3em;
	text-decoration: none;
	color: #3949AB;
}
.cp_textlink07::after,
.cp_textlink07::before {
	position: absolute;
	content: '';
	border-radius: 3px;
}
.cp_textlink07::after {
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,255,0.3) ;
	transition: all 0.3s ease;
}
.cp_textlink07::before {
	top: -4px;
	bottom: -5px;
	left: -4px;
	right: -5px;
	width: calc(100% + 6px);
	height: calc(100% + 6px);
	border: 1px solid #3949AB;
	opacity: 0;
	transition: all 0.3s;
}
.cp_textlink07:hover:after {
	background: rgba(0,0,255,0.1) ;
}
.cp_textlink07:hover:before {
	top: 2px;
	left: 2px;
	width: calc(100% - 6px);
	height: calc(100% - 6px);
	opacity: 1;
}
.cp2_block {
	margin: auto;
  	text-align: center;
}
    .category-item-1 {
        display: inline-block;
        width: 100px; /* 固定幅 */
        height: 140px; /* 固定高さ */
        text-align: center; /* テキストを中央揃え */
        vertical-align: top; /* 上揃え */
        margin: 10px; /* 隙間調整 */
        border: 1px solid #ccc; /* 枠線（任意） */
        padding: 10px; /* 余白調整 */
        box-sizing: border-box; /* padding を含めたサイズ指定 */
    }

    .category-img-1 {
        width: 80px; /* 画像の幅 */
        height: 80px; /* 画像の高さ */
        object-fit: cover; /* 画像のトリミング（必要に応じて変更） */
    }

    .category-name-1 {
        display: block;
        margin-top: 5px; /* 画像との間隔 */
        font-size: 11px; /* 文字サイズ */
    }

  .cp_block-2 {
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

  }
  .cp_item-2 {
    display: flex;
    flex-direction: column; /* 縦方向に並べる */
    align-items: left; /* 中央揃え */
    text-align: left;
    width: 180px; /* カード幅調整 */
        height: auto; /* 固定高さ */
    border: 0px solid #ddd;
    padding: 5px;

  }
  .cp_details-2 {
    margin-top: 3px;
    font-size: 12px;
  }
  .cp_textlink07-2 {
    display: flex;
    align-items: left;
    text-decoration: none;
    font-weight: bold;
            font-size: 18px;
  }
  .cp_textlink07-3 {
    display: flex;
    align-items: left;
    text-decoration: none;
    font-weight: normal;
            font-size: 15px;
    color: #000000;
  }
  .cp_textlink07-4 {

    align-items: left;
    margin-left: 10px;
    text-decoration: none;
    font-weight: normal;
            font-size: 13px;
    color: #000000;
  }
    .category-item-3 {
        display: inline-block;
        width: 360px; /* 固定幅 */
        height: 110px; /* 固定高さ */
        text-align: center; /* テキストを中央揃え */
        vertical-align: top; /* 上揃え */
        margin: 10px; /* 隙間調整 */
        border: 1px solid #ccc; /* 枠線（任意） */
        padding: 10px; /* 余白調整 */
        box-sizing: border-box; /* padding を含めたサイズ指定 */
    }

    .category-img-3 {
        width: 340px; /* 画像の幅 */
        height: 90px; /* 画像の高さ */
        object-fit: cover; /* 画像のトリミング（必要に応じて変更） */
    }

/* iframe 用 *  padding-bottom: 30%; */
@media screen and (min-width: 600px) {
.iframe-wrapper {
  position: relative;
  padding-bottom: 50%;
  height: 0;
  overflow: hidden;
}
  }
@media screen and (min-width: 600px) {
.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
  }
@media screen and (max-width: 599px) {
.iframe-wrapper {
  position: relative;
  padding-bottom: 150%;
  height: 0;
  overflow: hidden;
}
  }
@media screen and (max-width: 599px) {
.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
  }

/* ページID13のiframe幅を95%にする */
.iframe-wrapper {
  width: 95%;
  max-width: 95%;
    margin: 0 auto; /* 中央寄せ */
}

.iframe-wrapper iframe {
  width: 100%; /* wrapperの中で全幅表示 */
  border: none;
  display: block;
}
