@charset "utf-8";
/*=========================================
common
=========================================*/
html {
	font-size: 62.5%;
}
html:focus-within { 
  scroll-behavior: smooth;
}
/* https://qiita.com/k-fuseya/items/5648cd09e26a0ab2c6b3 */
:root {
/* color */
	--white: #ffffff;
	--black: #383E41;
	--gray: #9AA1AB;
	--red: #BE162F;
	--base_light: #F3F3F3;
/* font */
	--font-family-base: "Zen Maru Gothic", sans-serif;
	--font-family-num: "Afacad", sans-serif;
/* box */
	--contentWidth: 91.4%;
	--contentPadding: 4.2%;
	--box-width:1120px ;
	--box-width_sp:100% ;
}
*,::before,::after {
	box-sizing: border-box;
	border-style: solid;
	border-width: 0;
}
img {
	max-width: 100%;
	height: auto;
}
body {
	font-family: var(--font-family-base);
	background-color:var(--white);
	color: var(--black);
	font-size: 1.6rem;
	line-height: 1.75;
	font-style: normal;
	font-feature-settings: "palt" 1;
}
a {
	font-weight: 500;
}
a:hover {
	opacity: 0.6;
}
.main a:hover {
	color: var(--black);
}
/* container ------------------ */
.container {
	container-type: inline-size;
	height: 100%;
  display: flex;
  flex-direction: column;
	resize: horizontal;
	overflow: auto;
}
@container (min-width: 768px) {
	.container {
		container-type: inline-size;
		resize: horizontal;
		overflow: auto;
	}
	body {
		line-height: 1.8;
	}
}

/* タイポグラフィ  ------------------ */
h1, h2, h3, h3, h4,h5 {
	line-height: 1.1;
	letter-spacing: -0.2rem;
}
h1, h2, h3, h3, h4, h5 {
	font-weight: 700;
}
h1 {
	font-size: 3rem;
	padding: 20px 0;
	justify-content: center;
	text-align: center;
}
h2 {
	font-size: 2.4rem;
	margin: 10px 0;
}
h3 {
	font-size: 2.2rem;
	margin: 20px 0 10px;
}
h4 {
	font-size: 2rem;
}
.txtMid {
	font-size: 1.8rem;
	font-weight: 500;
}

.article-ttl {
	font-size: 1.6rem;
	font-weight: 500;
	padding-bottom: 1rem ;
	margin-bottom: 0.5em;
	line-height: 1.4;
}
.titleBox {
	padding: 20px 0;
}
.title_h2 {
	border-bottom: 2px solid var(--gray);
	position: relative;
	text-indent: 0.2em;
	padding-bottom: 10px;
	margin-bottom:0;
}
.title_h2:after {
	position: absolute;
	content: " ";
	display: block;
	border-bottom: solid 2px var(--red);
	bottom: -2px;
	width: 30%;
}

@container (min-width: 768px) {
	h1 {
		font-size: 4rem;
		padding: 40px 0;
	}
	h2 {
		font-size: 3.2rem;
		margin: 10px 0;
	}
	h3 {
		font-size: 2.4rem;
	}
	h4 {
		font-size: 2.2rem;
	}
	.titleBox {
		padding: 40px 0;
	}
	.title_h2 {
		border-bottom: 2px solid var(--gray);
		position: relative;
		text-indent: 0.2em;
		padding-bottom: 10px;
		margin-bottom:0;
	}
	.title_h2:after {
		position: absolute;
		content: " ";
		display: block;
		border-bottom: solid 2px var(--red);
		bottom: -2px;
		width: 30%;
	}
	.txtMid {
		font-size: 2rem;
	}
}

/* section--news ------------------ */
.news__list {
	container: layout inline-size;
	margin: 40px 0 20px;
}
.news__item a {
	display: block;
}
.news__txt {
	container: layout inline-size;
}
.news__img {
	container: layout inline-size;
	padding-right: 1rem;
  height: auto;
}
.news__img img {
	container: layout inline-size;
  border-radius: 4px;
}
@container (min-width: 768px) {
.news__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 20px;
}
	.news__txt {
		max-width: 600px;
	}
	.news__txt,
	.news__img {
		width: 100%;
	}
	.news__item {
		overflow: hidden;
	}
	.news__item img {
		transition: transform .6s ease;
	}
	.news__item:hover img {
		transform: scale(1.1);
	}
}/* min-width: 768px */


time,
.num__font {
  font-family: "Afacad", sans-serif;
  font-optical-sizing: auto;
	line-height: 1.1
}
time {color: var(--gray);}
.main {
	flex: 1;
}
.main p a {
	font-weight: 500;
	color: var(--red);
}
.main p a:hover {
	color: var(--red);
	border-bottom: dotted 1px var(--red);
}
/*=============================
header 
=============================*/

.bg__gray {
	background-color: var(--base_light);
}
.section--inner {
	container: layout inline-size;
	margin: auto;
	padding: 20px;
}
@container (min-width: 768px) {
.section--inner {
		padding: 40px 8cqw 60px;
	}
}
@container (min-width: 1120px) {
.section--inner {
		padding: 40px 160px 60px;
	}
}
@container (min-width: 1440px) {
.section--inner {
		padding: 40px 160px 60px;
		max-width: 1440px;
	}
}

/* fadein js */
.fadeIn {
  opacity: 0;
  transition: 2s;
}
.fadeIn.is-show {
  opacity: 1;
}
.to__detail {
	display: flex;
	justify-content: space-between;
}
.more {
	text-align: right;
	color: var(--red);
	font-size: 1.2rem;
	padding-right: 10px;
}
.more::after {
  font-family: "Font Awesome 7 Free";
  content: '\f061';
  font-weight: 900;
	padding-left: 5px;
}

.activity__infobox{
	background-color: var(--white);
	padding: 20px 40px;
	border-radius: 10px;
	margin: 1rem auto;
}

@container (min-width: 768px) {
	.section--topics {
		background-image: url(/images/bg-pc.jpg);
		background-position: center top;
	}
	.topics {
		max-width: 1160px;
		margin: 32px auto 0;
		display: flex;
		justify-content: center;
		gap:0 20px;
	}
	.topics__item {
		margin-top: 0;
		width: 373px;
	}
	.topics__item img {
		object-fit: contain;
		height: auto;
	}
	.topics__txt {
		height: 123px;
	}
	.btn--topics {
		margin: 32px auto 0;
	}
	.profile__box {
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.shopbnr {
		display: flex;
		flex-direction: row;
		gap: 20px;
	}
	.shopbnr {
		margin: 0.5rem;
	}
}/* min-width: 768px */

/* contact */
.contact__box {
	container: layout inline-size;
	display: flex;
  flex-direction: column;
  gap: 20px;
	padding: 40px 20px;
}
.btn_contact {
	container: layout inline-size;
	background: var(--red);
	color: var(--white);
	border-radius: 100px;
	display: flex;
	font-size: 2.4rem;
  width: 100%;
	padding: 2rem 10rem;
	justify-content: center;
white-space: nowrap;
align-items: center;
}

.btn_contact p::after {
  font-family: "Font Awesome 7 Free";
  content: '\f0a9';
  font-weight: 900;
  margin-left: 0.5em;
}

time + .article-ttl {
margin-top: 0;
}
@container (min-width: 768px) {
	.contact__box {
		text-align: center;
		align-items: center;
	}
	.btn_contact {
		border-radius: 100px;
		display: flex;
		width: 400px;
		height: 100px;
	}
}

.btn_contact.flash {
  opacity: 1;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.btn_contact.flash::before {
  background-color: #fff;
  content: "";
  display: block;
  position: absolute;
  top: -100px;
  left: 0;
  width: 30px;
  height: 100%;
  opacity: 0;
  transition: cubic-bezier(0.32, 0, 0.67, 0);
}
.btn_contact.flash:hover::before {
  animation: flash 0.5s linear;
}

@keyframes flash {
  0% {
    transform: scale(2) rotate(45deg);
    opacity: 0;
  }
  20% {
    transform: scale(20) rotate(45deg);
    opacity: 0.6;
  }
  40% {
    transform: scale(30) rotate(45deg);
    opacity: 0.4;
  }
  80% {
    transform: scale(45) rotate(45deg);
    opacity: 0.2;
  }
  100% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}


/* contact */

/* footer -----------------------------------*/
.footer {
	container: layout inline-size;
	padding: 20px;
}
.footenav__list {
	container: layout inline-size;
	display: none;
}
.footer__group {
	container: layout inline-size;
	display: flex;
  place-content: space-between;
}
.footer__copy {
	container: layout inline-size;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	padding:1rem 0.5rem;
	background: var(--red);
  color: var(--white);
	text-align: center;
  gap: 20px;
}
.footer__desc {
	display: flex;
	gap: 1rem;
	line-height: 1;
	font-size: 1.1rem;
	justify-content: center;
	align-items: center;
	align-self: stretch;
}
.footerdesc__item {
	padding-right: 10px;
	border-right: 1px solid var(--white);
}
.footerdesc__item:last-of-type {
	padding-right: none;
	border-right: 0;
}
.footer__logo {
	width: 123px;
}
.footenav {
	display: flex;
	gap:40px;
}
.footer__sns {
	container: layout inline-size;
	display: flex;
  gap: 10px;
}
@container (min-width: 768px) {
	.footer {
		background: var(--white);
		padding: 20px 40px;
		height: 166px;
	}
	.footer__group {
		display: flex;
		justify-content: space-between;
		align-items: center;
		align-self: stretch;
	}
	.footer__copy {
    flex-direction: row-reverse;
		justify-content: space-between;
		padding: 1rem 40px;
	}
	.footenav__list {
		display: flex;
		gap: 20px;
	}
	.footer__sns {
		display: flex;
		gap:10px;
	}
}

@container (min-width: 768px) {
	.title_icon {
		position: absolute;
		top: -43rem;
		right: -40rem;
		width: 77rem;
		height: 54rem;
		opacity: 0;
		transition: opacity 0.3s var(--e-out-quint);
	}
	.title_icon.is-active {
		opacity: 1;
		animation: bird var(--e-in-out-expo) infinite 6s forwards var(--stone-delay);
	}
	.title_icon_inner {
		transform: rotate(-15deg);
	}
	.news__detail {
		container: layout inline-size;
		margin: 20px 0;
		display: flex;
   flex-direction: column;
		justify-content: center;
		align-items: start;
		gap: 40px;
	}
	.news__txt {
		max-width: 500px;
	}
	.news__img > div + div {
		margin: 20px 0;
	}
}

.dl__info {
	margin: 20px auto;
	display: flex;
  justify-content: flex-start;
  width: 100%;
  flex-wrap: wrap;
}
.dl__info dt {
	width: 6em;
  padding: 5px;
}
.dl__info dd {
  padding: 5px;
	width: calc(100% - 8em);
}


.button_link_inner {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 9rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.some-class {
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: clamp(16px, 4vw, 32px);   
	padding: clamp(16px, 4vw, 32px);
	width: min(100%, 800px);
}

/* pagetop */
.pagetop {
	height: 280px;
	position: relative;
	display: flex;
	flex-direction: column;
	text-align: center;
	padding: 40px;
}
.pagetop a {
  transform-origin: center bottom;
	opacity: 1;
}
.pagetop__img {
	container: layout inline-size;
	width: 100px;
}
@keyframes bounce {
    0%   { transform: scale(1.0, 1.0) translate(0%, 0%); }
    50%  { transform: scale(0.9, 0.9) translate(0%, 15%); }
		100% { transform: scale(1.0, 1.0) translate(0%, -10%); }

}
.pagetop a :hover {
	transition: transform 10s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation-name: bounce;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    transform-origin: center bottom;
}
@container (min-width: 768px) {
.pagetop__img {
		width: 200px;
	}
}

/* fancyBox3 */
.fancyArea {

  max-width: 1024px;
}
.fancyArea a {
  max-width: 400px;
}
.fancyArea a img {
  max-width: 100%;
  height: auto;
}

/* keyvisual */
.keyvisual:not(.home) img {
	width: 100vw;
}

.masonry {
	container: layout inline-size;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: masonry;
	gap:3rem;
}

@container (min-width: 640px) {
	.masonry {
		grid-template-columns: 1fr 1fr 1fr;
	}
}
@container (min-width: 1024px) {
	.masonry {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
}

.infomation-txt {
	margin-top: 10px;
	margin-bottom: 40px;
}
.profile__title {
	display: flex;
	padding: 40px 0;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 10px;
	flex: 1 0 0;
	align-self: stretch;
}
.profile__img {
text-align: center;
}
/* pagenation */
.pageNav {
	margin: 40px auto;
}
.Pagination {
  display: flex;
  align-items: center;
	justify-content: center;
}
.Pagination > * + * {
  margin-left: 12px;
}
.Pagination-Item-Link:not(.isActive):not(.toLeft):not(.toRight) {
  border:1px solid var(--base_light);
  color: var(--red);
}
.Pagination-Item-Link {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 30px;
  height: 30px;
  background: var(--white);
  font-size: var(--article-ttl);
  font-weight: bold;
	border-radius: 4px;
  transition: all 0.15s linear;
}
.Pagination-Item-Link-Icon {
  width: 20px;
}
.Pagination-Item-Link.isActive {
  pointer-events: none;
  background: var(--red);
  color: var(--white);
}
.Pagination-Item-Link:not(.isActive):hover {
  color: var(--red);
	opacity: 0.6;
}
a.Pagination-Item-Link i {
  color: var(--red);
}
/* news */

.menuBox {
	display: flex;
	margin-bottom: 8cqw;
	align-items: flex-start;
	align-content: flex-start;
	gap: 2cqw;
	align-self: stretch;
	flex-wrap: wrap;
	justify-content: center;
}
.menuBox li {
	color: var(--white);
	background: var(--red);
	display: flex;
	height: 30px;
	padding: 0 14px 4px;
	align-items: center;
	border-radius: 4px;
}
.menuBox li:not(.current) a,
.menuBox li:not(.current) a:hover{
	color: var(--white);
}
.menuBox li.current {
	color: var(--black);
	background: var(--base_light);
}
.menuBox li::hover {
	cursor: pointer;
}

/* fancyBox3 */
.fancyArea {
	display: flex;
	flex-direction: column;
	gap:20px;
}
.fancyArea video,
.fancyArea a {
  max-width: 500px;
}
.fancyArea a img {
	width: 350px;
  max-width: 100%;
  height: auto;
}


.news_datetime {

	text-align: right;
}
.news_datetime time {
    width: 12rem;
    justify-content: flex-end;
}

.news__txt {
width: 100%;
	padding: 0 20px 0;
}


.tagBox li{
	display: inline-block;
	margin: 0 .1em .6em 0;
	padding: .6em 1em;
	line-height: 1;
	background-color: var(--white);
	border: 1px solid var(--base_light);
	border-radius: 2em;
}
/* menubox */
.menuBox {
	display: flex;
	margin-bottom: 8cqw;
	align-items: flex-start;
	align-content: flex-start;
	gap: 2cqw;
	align-self: stretch;
	flex-wrap: wrap;
	justify-content: center;
}
.menuBox li {
	color: var(--white);
	background: var(--red);
	display: flex;
	height: 30px;
	padding: 0 14px 4px;
	align-items: center;
	border-radius: 4px;
}
.menuBox li:not(.current) a,
.menuBox li:not(.current) a:hover{
	color: var(--white);
}
.menuBox li.current {
	color: var(--black);
	background: var(--base_light);
}
.menuBox li::hover {
	cursor: pointer;
}
.fancyArea {
	margin-bottom: 2rem;
}
.news_datetime {
	text-align: right;
}
.news_datetime time {
 width: 12rem;
 justify-content: flex-end;
}
.news__detail .works__txt {
	max-width: 600px;
}
.works__item {
	overflow: hidden;
	grid-template-columns: 1fr;
}
.works__item img {
	width: 100%;
	object-fit: cover;
	border-radius: 4px;
	transition: transform .6s ease;
}
.works__item:hover img {
	transform: scale(1.15);
}
.works__img {
	border: 1px solid var(--base_light);
}

.news__item {
	overflow: hidden;
	grid-template-columns: 1fr;
}
.news__item img {
	width: 100%;
	object-fit: cover;
	border-radius: 4px;
	transition: transform .6s ease;
}
.newss__item:hover img {
	transform: scale(1.15);
}
.works__img {
	border: 1px solid var(--base_light);
}

