@charset "UTF-8";

/* 共通部分
------------------------------- */
html {
	font-size: 100%;
}

body{
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", sans-serif;
	line-height: 1.7;
	color: #4A2C2A;
}
	
a {
	text-decoration: none;
}

img {
	max-width: 100%;
}

iframe {
	width: 100%;
}


/* レイアウト */
/*
.wrapper {
    max-width: 1120px;
    margin: auto;
    padding: 0 1.5rem;
}
*/

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

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


/* フォント */
.font-english {
	font-family: 'Philosopher', sans-serif;
	font-weight: normal;
}

.font-japanese {
	font-weight: normal;
}

.page-title {
	font-size: .9rem;
	text-align: center;
	margin-top: 2rem;
	line-height: 1.4;
}

.heading-large {
 	font-size: 1.5rem;
	text-align: center;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.heading-middle {
	font-size: 1.2rem;
	text-align: center;
	margin-bottom: 1rem;
}


/* フォーム */
.container {
	padding: 2rem;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	margin: 2rem 0rem 3rem 0rem;
}

label {
	display: block;
	margin-top: 1rem;
	margin-bottom: 0.3rem;
	font-size: 0.95rem;
}

input, select, textarea {
	padding: 0.5rem;
	font-size: 1rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	width: 100%;
	box-sizing: border-box;
}

button {
	margin-top: 1.5rem;
	padding: 0.75rem 1.5rem;
	background-color: #4A2C2A;	  
	color: white;
	border: none;
	border-radius: 6px;
	font-size: 1rem;
	cursor: pointer;
	width: 100%;
	transition: background-color 0.3s ease;
}

button:hover {
	background-color: #F08650;
}


/* スマホ用メニューアイコン */
.menu-icon {
	width: 30px;
	height: 22px;  
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	cursor: pointer;
	margin: 1rem .5rem 1rem auto;
}

.menu-icon span {
	display: block;
	height: 4px;
	background-color: black;
	border-radius: 4px;
 	transition: 0.3s;
	margin: .2rem .02rem;
}
  
  
/* ヘッダー
------------------------------- */
.page-header {
	padding-top: 1rem;
}

.logo {
	width: 300px;
}

.main-nav {
	display: flex;
	justify-content: center;
	gap: 1rem;
	font-size: .8rem;
	list-style: none;
}

.main-nav a {
	color: #FFFFFF;
}
	
/* ヘッダー　・　カバー画像
------------------------------- */
.cover {
	background-size: cover;
	background-position: center bottom;
	height: 400px;	
	background-image: url(../images/bg-top.png);
}

/* ヘッダー　・　メニュー・ボタン
------------------------------- */
.menu {
	display: inline-block;
	font-size: .8rem;
	background-color: #4A2C2A;	
	color: #fff;
	border-radius: 8px;
	padding: .1rem 1rem;
	transition: .5s;
}

.menu:hover {
	background-color: #F08650;
	scale: 1.2;
}

.btn {
	display: inline-block;
	font-size: 1.2rem;
	background-color: #4A2C2A;	
	color: #fff;
	border-radius: 8px;
	padding: .5rem 1.5rem;
	transition: .5s;
	margin-right: 1rem;
	margin-bottom: 5rem;
}

.btn:hover {
	background-color: #F08650;
	scale: 1.2;
}


/* 本文
------------------------------- */	
.about {
	max-width: 736px;
	padding: 0 1.5rem;
	margin: 2rem auto 0;
}

.about p {
	margin-bottom: 3rem;
}

.about img {
	margin-bottom: 3rem;
}

.about li{
	list-style-type: none;
}

/* お知らせ */
.release li{
	font-size: 1rem;
	margin-bottom: 1rem;
}

.release a {
	text-decoration: none;
}


/* フッター
------------------------------- */
.page-footer {
	background-image: url(../images/bg-buttom.png);
	background-size: cover;
	background-position: center;
	padding-top: 1rem;
}

.info {
	width: 100%;
	max-width: 544px;
	margin: auto;
	padding: 0 1.5rem;
	border-spacing: 0;
	margin-bottom: 5rem;
}

.info th,
.info td {
	border-bottom: 1px solid #c9c2bc;
}

.info th {
	text-align: left;
	font-weight: normal;
	padding: 1rem;
}

.info td {
	padding: 1rem 0;
}

.copyright {
	background-color: #432;
	text-align: center;
	padding: 2rem 0;
	margin-top: 6rem;
	color: #fff;
}

    
/* 流麗読書会
  ------------------------------- */ 
.book {
	width: 250px;
	height: 250px;   
	display: block;
	margin: 2rem auto;    
}
  
  
/* アクセス
  ------------------------------- */ 
.location {
	margin-bottom: 3.5rem;
}

.location-info {
	margin-bottom: 2rem;
}

.location-info .info {
	padding: 0;
}
 
  
/* LINE
------------------------------- */ 
.line-icon {
	position: fixed;
	right: 30px;
	bottom: 180px;
	z-index: 9999;
	color: inherit;
}
  
.line-container img {
	width: 100px;
	height: auto;
	cursor: pointer;
}

/* モバイル対応 */
@media (max-width: 799px) {
	.line-icon {
		right: 10px;
		bottom: 120px;
	}

	.line-container img {
		width: 105px;
	}
}
  
/* トムくん
------------------------------- */ 
.cat-icon {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.cat-container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.cat-container img {
	width: 60px;
	height: auto;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.cat-container img:hover {
	transform: scale(1.1);
}

.cat-caption {
	font-size: 12px;
	color: #333;
	margin-top: 4px;
}  
    
/* モバイル対応 */
@media (max-width: 799px) {
	.cat-icon {
    	right: 10px;
		bottom: 10px;
    }

	.cat-container img {
		width: 45px;
	}

	.cat-caption {
		font-size: 10px;
	}
}
    

/* アコーティオン
------------------------------- */   
.accordion {
	cursor: pointer;
	padding: 10px;
	width: 100%;
	text-align: left;
	border: none;
	outline: none;
	transition: 0.4s;
	font-size: 16px;
}

.panel {
	padding: 10px;
	display: none;
	background-color: #f9f9f9;
	overflow: hidden;
}

.panel:first-of-type {
	display: block;
}
  
      
/* モバイル対応
------------------------------- */   
  
/* モバイルメニュー */
.mobile-menu {
	position: fixed;
	top: 0;
	right: -250px;
	width: 250px;
	height: 100vh;
	/*background-color: #333;*/
	/*background-color: red;*/
	background-color: #4A2C2A;
	color: white;
	transition: right 0.3s;
	z-index: 2;
}

.mobile-menu ul {
	list-style: none;
	padding-top: 60px;
}

.mobile-menu li {
	padding: 15px;
	border-bottom: 1px solid #555;
}

.mobile-menu a {
	text-decoration: none;
	color: white;
}

.mobile-menu a:hover {
	color: #ffcc00;
}


/* メニュー表示 */
.mobile-menu.open {
	right: 0;
}


/* オーバーレイ */
.overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1;
}

/* オーバーレイ表示 */
.overlay.active {
	display: block;
}
	

/* レスポンシブ対応
------------------------------- */   

/* スマホ表示: 799px以下 */
@media (max-width: 799px) {

	.cover {
		height: 270px;	
	}
		
	/* 見出し */
	.page-title {
		font-size: 1.2rem;
		margin-top: 1rem;
		animation: slideUp 1s ease-out forwards;
		opacity: 0;
	}
	
	.menu {
		display: none; /* PCメニュー非表示 */
	}
  
	.menu-icon {
		display: block; /* アイコン表示 */
	}
}

/* PC表示: 800px以上 */
@media (min-width: 800px) {
	
	.mobile-menu {
 		display: none; /* モバイルメニュー非表示 */
	}
  
	.menu-icon {
		display: none; /* アイコン非表示 */
	}


 	/* 見出し */
	.page-title {
		font-size: 1.5rem;
		animation: slideUp 1s ease-out forwards;
		opacity: 0;
 	}

 	.heading-large {
		font-size: 2rem;
	}

 	/* ヘッダー */
	.main-nav {
		font-size: 2rem;
	}

	.logo {
		width: 380px;
 	}
  	
	.menu {
		display: inline-block;
		font-size: .8rem;
		background-color: #4A2C2A;	
		color: #fff;
		border-radius: 8px;
		padding: .5rem 2rem;
		transition: .5s;
	}
}


/* テキストアニメーション
------------------------------- */ 
.animated-text {	
	display: inline-block;
	-webkit-animation: slideUp 1s ease-out forwards;
	animation: slideUp 1s ease-out forwards;
	opacity: 0;
	will-change: transform, opacity;
	transform: translateZ(0); /* ハードウェアアクセラレーション */
}

/* Safari対応: -webkit-keyframes */
@-webkit-keyframes slideUp {
	0% {
		-webkit-transform: translateY(20px);
		transform: translateY(20px);
		opacity: 0;
	}
	100% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes slideUp {
	0% {
		transform: translateY(20px);
		opacity: 0;
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}