@charset "utf-8";

:root {
	--color-All-Bg: #E6EFF6;
	--color-Q: #dae9f1;
	--color-header-font-color: #1A1A1A;
	--color-header: #f7fafd;
    --colorquestionAreaBg: #f4f8fc;
	--colorqaBorder: #D5DEE5;
	--colorUserFont: #9CA3AF;
	--colorWhite: #fff;
	--colorBtn01: #16304a;
	--colorBlack: #1F1F1F;
	--inner: 980px;
	--opacity: 0.75;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-style: normal;
}

.pc{display: none !important;}
.sp{display: block !important;}


li{
	list-style-type: none;
}

html{
	font-size: 16px;
}

body {
	/*font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HiraKakuPro-W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;*/
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI",
             "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3",
             "Noto Sans JP", "Yu Gothic", "游ゴシック体", sans-serif;
	line-height: 1.6;
	padding: 0;
	margin: 0;
	color:#2D2D2D;
	background: var(--color-All-Bg);
}

a{
	text-decoration: none;
}

input::placeholder {
	color: var(--colorUserFont);
}

h2{
	font-size: 1.2rem;
	font-weight: 700;
}

.q-icon,.a-icon {
	font-family: "Outfit", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	background-color: var(--colorWhite);
	color: var(--colorBlack);
	font-weight: bold;
	border-radius: 50%;
	flex-shrink: 0;
}
.q-icon{
	background-color: #FBC200;
}

/* header */
header{
	padding: 20px;
	background: var(--color-header);
}
header .inner{
    display: flex;
	align-items: center;
	gap: 25px;
}
header #logo{
	width: 140px;
}
header .inner #searchBtn{
	display: flex;
	align-items: center;
}
header .inner #searchBtn span{
	display: none;
}
header #searchBtn{
	cursor: pointer;
	transition: 0.3s;
}
header #search{
	position: fixed;
    right: 15px;
	width: 46px;
	background: var(--color-Q);
	border-radius: 100svh;
	padding: 8px;
	z-index: 100;
}
header #search:hover {
	opacity: var(--opacity);
	transition: 0.3s;
}

/* optional */
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.4);
	z-index: 9998;
	display: none;
}
.overlay.active {
	display: block;
}

/* search-panel */
.search-panel {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	max-width: 100%;
	height: 100%;
	background-color: #F2F4F7;
	box-shadow: -4px 0 12px rgba(0,0,0,0.1);
	transform: translateX(100%);
	transition: transform 0.3s ease;
	z-index: 9999;
	overflow-y: auto;
	padding: 16px;
	margin: auto;
	font-size: 1rem;
}
.search-panel.active {
	transform: translateX(0);
}
.close-button {
    position: absolute;
    top: 25px;
    right: 20px;
    background: #E0E4EA;
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    font-size: 0;
    cursor: pointer;
    color: var(--colorBlack);
	transition: 0.3s;
}
.close-button:hover{
	opacity: var(--opacity);
}
.close-button img{
	width: 16px;
}
.search-panel > label {
	display: block;
	font-weight: bold;
	margin: 16px 0 8px;
}
.input-with-icon input {
	width: 100%;
	padding: 12px;
	border: 1px solid #C5D1DB;
	border-radius: 6px;
	background-color: var(--colorWhite);
	font-size: 0.875rem;
}
.tag-box {
	background-color: var(--colorWhite);
	border: 1px solid #CED5DC;
	border-radius: 6px;
	padding: 12px;
}
.tag-box ul{
	display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tag-box li label{
	margin-right: 6px;
}
.tag-box li:last-child{
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
.button-row {
	display: flex;
	gap: 12px;
	margin-top: 24px;
}
.button-row button{
	font-size: 1rem;
	transition: 0.3s;
}
.button-row button:hover{
	opacity: var(--opacity);
}
#btn-search {
	flex: 1;
	background-color: #3B4D61;
	color: var(--colorWhite);
	border: none;
	padding: 12px;
	border-radius: 6px;
	cursor: pointer;
}
#btn-reset {
	flex: 1;
	background-color: #D0D3D8;
	color: #666;
	border: none;
	padding: 12px;
	border-radius: 6px;
	cursor: pointer;
}
input[type="search"],
input[type="text"],
textarea {
	font-size: 16px;
}
.tag-item input[type="checkbox"]:checked + span {
	color: #5d91cd;
	font-weight: bold;
}
.highlight {
	background-color: yellow;
	font-weight: bold;
}


/* answers */
#site-intro{
	padding: 40px 20px 160px;
	background: url(../img/pic_main01.webp) no-repeat;
    background-size: 80%;
    background-position: bottom right;
}
#site-intro h1{
	font-weight: 700;
	font-size: 1.875rem;
	line-height: 1;
	margin-bottom: 20px;
}

/* qa-area */
#qa-area{
	background: var(--colorquestionAreaBg);
	padding: 20px 20px 40px;
}
#qa-area #search-info{
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
	font-weight: 700;
}

/* answers */
#answers > ul > li{
	border: solid 2px var(--colorqaBorder);
    border-radius: 8px;
	margin-bottom: 20px;
	padding: 20px;
	background: var(--colorWhite);
	overflow-wrap: anywhere;
	word-break: break-word; 
}
#answers > ul > li .date{
	line-height: 1;
	margin-bottom: 20px;
	color: var(--colorUserFont);
	font-size: 0.875rem;
}
#answers > ul > li .question-area{
	border-bottom: 1px solid var(--colorqaBorder);
	padding-bottom: 20px;
	margin-bottom: 20px;
}
#answers > ul > li .question,
#answers > ul > li .answer{
	display: flex;
	gap: 10px;
}
#answers > ul > li .question div,
#answers > ul > li .answer div:last-child{
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}
#answers > ul > li .question div p.text{
	font-weight: 600;
}
#answers > ul > li .question div .type{
	margin-top: 10px;
	color: var(--colorUserFont);
	align-self: flex-end;
	margin-left: auto;
	font-size: 0.875rem;
}
#answers > ul > li .answer div:last-child .tag{
	margin-top: 1rem;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
#answers > ul > li .answer div:last-child .tag li{
	border: 1px solid var(--colorUserFont);
	color: var(--colorUserFont);
	line-height: 1;
	padding: 5px 15px;
	font-size: 0.875rem;
	border-radius: 2px;
}

#answers #load-more{
	text-align: center;
}
#answers #load-more a{
	display: inline-block;
	margin: 0 auto;
	text-align: center;
	background: #5d91cd;
	border: 1px solid #C5D1DB;
	color: var(--colorWhite);
	text-align: center;
	padding: 10px 30px;
	border-radius: 6px;
	font-size: 0.875rem;
	font-weight: 700;
	box-shadow: 0 4px 6px rgb(0 0 0 / 10%), 0 2px 4px rgb(0 0 0 / 6%);
	transition: 0.3s;
}
#answers #load-more a:hover{
	opacity: var(--opacity);
}

/* #event-info */
#event-info{
	margin-top: 20px;
	text-align: center;
	background: #c5e1f2;
	padding: 10px;
}
#event-info a{
	color: var(--colorBlack);
	font-weight: 600;
	text-decoration: underline;
}
#event-info a:hover{
	opacity: var(--opacity);
	text-decoration: none;
}
#event-info a img{
	width: 24px;
	vertical-align: middle;
	margin-right: 8px;
}

/* line-banner */
#line-banner{
	margin: 40px 20px;
	padding: 40px 20px;
	background: var(--colorWhite);
	border-radius: 8px;
	overflow: visible;
}
#line-banner h2{
	text-align: center;
	margin-bottom: 1rem;
}
#line-banner #line-banner-info{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
}
#line-banner #line-banner-info img{
	width: 15%;
	height: auto;
}
#line-banner #line-banner-info img#bun03{
	position: absolute;
    top: -150px;
    right: 45px;
    width: 78px;
    transform: scale(1, -1);
	transition: 0.6s;
}
#line-banner #line-banner-info img#bun03.active{
	top: -35px;
}
#line-banner #friend{
	text-align: center;
}

/* more */
#more{
	padding: 20px 0;
	margin-bottom: 40px;
	overflow-x: hidden;
	background: #ddd;
}
#more .txt{
	text-align: center;
}
#more .txt p{
	font-size: 0.875rem;
	margin-bottom: 40px;
}
.swiper {
	padding-bottom: 70px !important;
	margin-left: 20px !important;
	filter: drop-shadow(5px 5px 5px rgba(102, 102, 102, 0.1));
}
.swiper-slide {
    width: auto;
    max-width: 250px;
    background: var(--colorWhite);
    border-radius: 8px;
    padding: 20px 40px 20px 20px;
    margin-right: 20px;
}
.swiper-slide img{
	width: 168px;
    position: absolute;
    bottom: -50px;
    right: -75px;
}
.swiper-scrollbar {
	background: rgba(0, 0, 0, 0.1);
    height: 4px;
	border-radius: 4px;
}
.swiper-scrollbar-drag {
    background: #333;
}
.fixed-4lines {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.5em;
	min-height: 6em;
}

/* modal */
.qa-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}
.qa-modal.active {
	opacity: 1;
	pointer-events: auto;
}
.qa-modal-content {
	background: white;
	padding: 2em;
	max-width: 600px;
	width: 90%;
	border-radius: 10px;
	position: relative;
	transform: translateY(-30px);
	opacity: 0;
	transition: all 0.3s ease;
	overflow-wrap: anywhere;
	word-break: break-word;
}
.qa-modal.active .qa-modal-content {
	transform: translateY(0);
	opacity: 1;
}
#qa-modal-close {
	position: absolute;
	right: 10px;
    top: 0;
	cursor: pointer;
	font-size: 1.5em;
}
#modal-question{
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--colorqaBorder);
	font-weight: 700;
}
#modal-question,
#modal-answer{
	display: flex;
	gap: 10px;
}
#modal-bun{
	position: absolute;
    top: -59px;
    right: 20px;
    height: 60px;
}


/* footer */
footer{
    padding-top: 40px;
    background: var(--colorBlack);
    color: var(--colorWhite);
    font-size: 0.875rem;
}
footer > div{
	padding: 0 20px;
}
footer p{
    margin-bottom: 40px;
    border-bottom: 1px solid var(--colorWhite);
    padding: 15px;
    border-top: 1px solid var(--colorWhite);
}
footer dl{
    padding-bottom: 0px;
	margin-bottom: 40px;
}
footer dd:first-of-type{
    margin-bottom: 1rem;
}
footer a:link,
footer a:hover,
footer a:visited{
    color: var(--colorWhite);
}
footer a:hover{
	text-decoration: none;
}
footer address{
    color: var(--colorWhite);
	padding: 15px;
	text-align: center;
}

/* top */
#gotop{
	position: fixed;
	bottom: -100px;
    right: 10%;
    height: 100px;
    z-index: 10;
	transition: 0.3s;
}
#gotop.active{
	bottom: -8px;
	cursor: pointer;
}
#gotop.active:hover{
	opacity: var(--opacity);
}
#gotop.active.stopped {
  position: absolute;
}

/* PC */
@media (min-width: 768px) {
	
	.pc{display: block !important;}
	.sp{display: none !important;}

	h2 {
    	font-size: 1.5rem;
    }

	.inner{
		max-width: var(--inner);
		margin: 0 auto;
	}

	header{
		padding: 25px 80px;
	}
	header h1 {
    	font-size: 2rem;
	}
	header .inner{
		width: 90%;
        max-width: 90%;
		margin: 0 auto;
		gap: 60px;
	}
	header .inner #searchBtn{
		background: var(--color-Q);
		position: fixed;
		right: 10%;
		padding: 10px 50px 10px 40px;
		border-radius: 100svh;
		font-weight: 700;
		font-size: 18px;
		z-index: 10;
	}
	header .inner #searchBtn span{
		display: block;
	}
	header #search {
		position: relative;
		width: 40px;
	}
	header #logo{
		width: 190px;
	}
	header #search{
		right: 10%;
	}
	header #searchBtn:hover{
		opacity: var(--opacity);
	}
	header #bunnabiman_all{
		display: flex;
	}
	header #bunnabiman_all img{
		width: 51px;
	}

	.search-panel {
		max-width: 650px;
        padding: 25px 25px 25px 50px;
		border-radius: 10px 0 0 10px;
	}

	#site-intro{
		padding: 120px 0;
		background: url(../img/pic_main01.webp) no-repeat;
    	background-size: 54%;
    	background-position: center right;
	}
	#site-intro h1{
		font-size: 2.875rem;
		margin-bottom: 40px;
	}

	#qa-area {
		background: var(--colorquestionAreaBg) url(../img/bg_qa.webp);
		background-size: 18%;
		background-position: 26px 0px;
		background-repeat: repeat;
    	padding: 40px 40px 60px;
		animation: bgDiagonalScroll 60s linear infinite;
	}
	@keyframes bgDiagonalScroll {
		0% {
    		background-position: 26px 0px;
		}
		100% {
			background-position: 26px 1000px;
		}
	}
	#qa-area #search-info {
		font-size: 1.1rem;
	}
	#answers > ul > li {
    	margin-bottom: 40px;
    	padding: 40px;
	}
	#answers > ul > li .date,
	#answers > ul > li .question div .type{
		font-size: 1rem;
	}
	#answers > ul > li .question div .type{
		margin-top: 15px;
	}
	#answers > ul > li .question-area{
		padding-bottom: 25px;
		margin-bottom: 25px;
	}
	#answers > ul > li .answer div:last-child .tag {
    	margin-top: 25px;
	}

	/* #event-info */
	#event-info{
		margin-top: 40px;
	}

	#line-banner{
		max-width: 600px;
		margin: 60px auto;
		padding: 40px;
		overflow: hidden;
		position: relative;
	}
	#line-banner #line-banner-info img {
    	width: 25%;
    }

	#more{
		display: flex;
		padding: 60px 0 60px 200px;	
		margin-bottom: 60px;
	}
	#more .txt{
		margin-right: 40px;
		text-align: left;
	}
	#more .txt p{
		font-size: 1rem;
		margin: 1rem 0;
	}
	#more .txt p + p{
		font-size: 0.875rem;
	}

	.swiper-arrow-list{
		display: flex;
		justify-content: flex-end;
		gap: 10px;
	}
	.swiper-arrow {
		width: 50px;
		height: 50px;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		transition: all 0.3s ease;
		background: var(--colorWhite);
	}
	.swiper-arrow:hover{
		background: var(--colorBlack);
	}
	.swiper-arrow:hover span{
		border-right: 2px solid var(--colorWhite);
		border-bottom: 2px solid var(--colorWhite);
	}
	.swiper-arrow span{
		display: block;
		width: 8px;
		height: 8px;
		border-right: 2px solid var(--colorBlack);
		border-bottom: 2px solid var(--colorBlack);
		transition: all 0.3s ease;
	}
	.swiper-arrow span.next-arrow {
		transform: rotate(-45deg);
	}
	.swiper-arrow span.prev-arrow {
		transform: rotate(135deg);
	}

	footer {
    	padding-top: 60px;
    }
	footer a{
		text-decoration: underline;
	}
	footer p {
    	margin-bottom: 60px;
    }

	footer address {
    	padding-bottom: 20px;
    }

	#modal-bun{
		top: -69px;
    	height: 70px;
	}
	
}
