@charset "UTF-8";
/* CSS Document */

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

@media print and (min-width: 768px), screen and (min-width: 768px) {
    .pc-hide {
        display: none !important;
    }
}
@media print and (max-width: 767px), screen and (max-width: 767px) {
    .sp-hide {
        display: none !important;
    }
}

h1 a {text-decoration: none;}

hr {
	border-width: 1px;
}

.wp-site-blocks {
	padding: 0!important;
}
@media (max-width: 767px) {
	.wp-site-blocks header {
		padding-left: var(--wp--custom--spacing--outer);
		padding-right: var(--wp--custom--spacing--outer);
	}
}


.is-layout-flex:has(h1) {
	gap: 0!important;
}

.wp-block-template-part {
    margin-block-start: 0;
}

@media (max-width: 767px) {
	a.wp-block-navigation-item__content {
		text-decoration: none!important;
	}
}


/* KV */
.wp-block-image.aj-keyvisual {
	width: 100%;
	max-height: 640px;
}
@media (max-width: 767px) {
	.wp-block-image.aj-keyvisual {
		max-height: auto;
	}
}

.inview {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.inview.is-show {
  opacity: 1;
  transform: translateY(0);
}

.block-inner-pd {
	margin-inline: auto;
	max-width: var(--wp--style--global--content-size);
	padding-left: var(--wp--custom--spacing--outer);
	padding-right: var(--wp--custom--spacing--outer);
	box-sizing: content-box;
}

/* Topics */
.top-topics-area {
	margin-inline: auto;
	max-width: var(--wp--style--global--content-size);
	padding-left: var(--wp--custom--spacing--outer);
	padding-right: var(--wp--custom--spacing--outer);
	box-sizing: content-box;
}
.top-topics-area .wp-container-core-group-is-layout-cc739763 {
	border-bottom: 1px solid var(--wp--preset--color--cyan-bluish-gray) !important;
	padding-bottom: 1rem;
	padding-top: 1rem;
}
.top-topics-area .wp-container-core-group-is-layout-cc739763 h3 {
	font-weight: 500;
}
.top-topics-area .wp-container-core-group-is-layout-cc739763 h3:not(:first-child) {
	margin-top: 3rem;
}

/* PC2カラムSP1カラム */
@media (max-width: 767px) {
	.top-banner-area {
		flex-direction: column;
		gap: 3rem;
	}
}

/* Footer */
.footer-sns-area {
	gap: 3rem;
	margin-inline: auto;
	max-width: var(--wp--style--global--content-size);
	padding-left: 1rem;
	padding-right: 1rem;
}
.footer-sns-area a {
	text-decoration: none;
	font-size: inherit;
}

.icon-instagram {
	gap: 0;
	align-items: center;
	position: relative;
}

.icon-instagram:after {
	content: "";
	display: block;
	position: absolute;
    right: -1.5rem;
    height: 20px;
    width: 1px;
    background-color: var(--wp--preset--color--foreground);
}

.text-copyright {
	padding-right: 1rem;
}

/* ボタンリンク */
.wp-block-button .wp-block-button__link {
	position: relative;
	padding-right: 2em;
}

.wp-block-button a.wp-block-button__link::after {
    position: absolute;
    content: "";
    margin: auto;
    box-sizing: border-box;
    vertical-align: middle;
    top: 50%;
    right: 1em;
    transform: translate(0px, 0px) rotate(45deg);
    transform-origin: top right;
    border-top: 1px solid;
    border-right: 1px solid;
    width: 7px;
    height: 7px;
    transition-property: top, right, bottom, left;
    transition-duration: 0.3s;
}

/* 下層ページ */
@media (max-width: 767px) {
	.aj-lower-page h1 {
	padding-left: var(--wp--custom--spacing--outer);
	padding-right: var(--wp--custom--spacing--outer);
	}
}

/* 最後のアイテム（.blocks-gallery-item:last-child）への対策 */
.wp-block-gallery.columns-3 .wp-block-image:last-child {
  flex-grow: 0;
  margin-right: auto; /* 自動余白を付けて拡大を抑える方法のひとつ */  
}

