@charset "UTF-8";
/*
Theme Name:ハンドラインテーマ
Author: AMEIRO
Description: 超シンプルで軽量・イベント管理に特化したテーマ
*/
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-display: optional;
}

html {
	font-size: 62.5%;
}
body {
	margin: 0;
	padding: 0;
	font-family: "Helvetica Neue", Helvetica, Arial, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Yu Gothic", "游ゴシック体", sans-serif;
	font-weight: 500;
	line-height: 1.6;
	color: #015243;
	font-size: 1.4rem;
	background: #015243;
	}
header, footer {
	padding: 1em;
	background: #f4f4f4;
	}
main {
	width: 900px;
	max-width: 96%;
	margin:70px auto 0;
	padding-bottom: 20px;
	box-sizing: border-box;
	background: #f5a98f;
	}
.container {
	width: 600px;
	max-width: 100%;
	margin: auto;
	box-sizing: border-box;
	background: #f5a98f;
	}
.contents {
	padding: 0 5%;
}
.contents-text {
	padding: 10px 0 30px;
}
.contents-text p {
	padding: 0 25px 1rem;
}
.contents-text h2 :hover {
	background: #f5a98f;
	color: #015243;
}

footer address {
	width: 600px;
	max-width: 96%;
	margin: auto;
	text-align: center;
	font-size: 1.2rem;
}
h1 {
	font-weight: bold;
	font-size: 2.8rem;
	line-height: 1.3;
	background: #015243;
	color: #fff;
	text-align: center;
	padding: 20px 0 10px;
	margin-block-end: 0!important;
	margin: 0;
}
h2,.h2 {
	font-weight: bold;
	font-size: 2.2rem;
	line-height: 1.4;
	margin-block-start: 0!important;
}
h2,summary {
	background: #015243;
	color:#fff;
	text-align: center;
}
h3 {
	font-weight: bold;
	font-size: 2.2rem;
	line-height: 1.4;
}
.single h3 {
	border-bottom: solid 1px #015243;
	margin-bottom: 0;
}
.single .venue {
	border: none;
}

p {
	margin-top: 0;
	font-size: 1.8rem;
	line-height: 1.6;
}
.page h3,.page h4,.page p {
	width: 90%;
	margin:1rem auto;
}
a { 
	text-decoration: none; /* 下線なし */
	color: inherit;
	display: block;
}
a:hover {
}
.center {
	text-align: center;
}
img {
	max-width: 100%;
	height: auto;
}

.logo a {
	font-size: 20px;
	font-weight: bold;
}
.red {
	color: red;
}



/* イベントグリッド */
.events {
	padding:10px 0 50px;
}
.home .events {
	width: 100%;
	margin: auto;
}
.home .events h3 {
	margin: 5px auto;
    border-bottom: solid 1px #015243;
}
	
.events ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  list-style: none;
  padding: 0;
	width: 90%;
	margin: 0 auto 50px;
}

.events li {
	width: calc(50% - 0.5em);
	box-sizing: border-box;
	border: 1px solid #ddd;
	background: #e1dfd3;
}
.events ul li a {
	display: block;
	padding: 0.5em;
	height: -webkit-fill-available;
}
.events img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* スマホ対応 */
@media (max-width: 900px) {
	.container {
	width: 100%;
	}
	.events li {
	width: 100%; 
	}
}
	

/* 共通 */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2%;
  background: #fff;
  position: fixed;
  top: 0;
	left: 0;
  width: 96%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}
.logo img {
	height: 60px;
	width: auto;
	}
.nav-menu {
  min-height:60px; /* 仮でナビ高さを確保 */
}
.nav-menu ul {
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav-menu li a {
	text-decoration: none;
	color: #015243;
	padding: 10px 0;
	font-size: 1.4rem;
}

/* =====================
   ハンバーガー
===================== */
.hamburger {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 36px;
	height: 18px;
	cursor: pointer;
	z-index: 1001;
}
.hamburger span {
  display: block;
  height: 4px;
  background: #015243;
  border-radius: 2px;
  transition: 0.3s;
}
/* 開いたときのXアニメーション */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px,5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px,-5px);
}

/* =====================
   メニュー（初期はスマホ用スライド）
===================== */
.nav-menu {
	position: fixed;
	top: 0;
	right: 0;
	width: 250px;
	height: 100vh;
	padding-top: 60px;
	background: #fff;
	box-shadow: -2px 0 5px rgba(0,0,0,0.1);
	transform: translateX(100%); /* 初期は右に隠す */
	transition: transform 0.3s ease;
	z-index: 1000;
	}

/* メニュー表示 */
.nav-menu.active {
  transform: translateX(0);
}

/* メニュー内リスト */
.nav-menu ul {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  list-style: none;
}
.nav-menu li a {
  display: block;
  padding: 15px;
  border-bottom: 1px solid #eee;
}

/* =====================
   オーバーレイ
===================== */
#menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0); /* 初期は透明 */
  pointer-events: none;
  transition: background 0.3s ease;
  z-index: 999;
}
#menu-overlay.active {
  background: rgba(0,0,0,0.3);
  pointer-events: auto;
}

/* =====================
   PC用（横並び、常に表示）
===================== */
@media (min-width: 769px) {
  .hamburger {
    display: none; /* ハンバーガー非表示 */
  }

  .nav-menu {
    display: flex !important;
    flex-direction: row;
    position: static;
    width: auto;
    height: auto;
    transform: none;  /* スライド無効 */
    box-shadow: none;
    padding: 0;
  }

  .nav-menu ul {
    flex-direction: row;
  }

  .nav-menu li a {
    border: none;
	}

  #menu-overlay {
    display: none; /* オーバーレイ不要 */
  }
}

/* =====================
   スマホ用（ハンバーガー表示）
===================== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
}

.event-item {
    display: flex;
    align-items: center;
    padding: 2%;
    background: #fff;
    margin: 1% auto;
    border-radius: 12px;
    width: 90%;
}

.event-item a {
    display: flex;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.home .event-thumb {
	width: 100%;
	height: 180px;
	overflow: hidden;
	}
.event-thumb img,.thum img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.single .events ul {
	width: 96%;
}
.single .events li {
	position: relative;
	width: 100%;
	padding: 0;
	border: none;
}
.single .events li a {
	display: flex;
}
.single .events .event-status {
	position: absolute;
	top: 0;
	width: 100%;
	background: red;
	text-align: center;
	color: #fff;
	z-index: 100;
}
.single .events .year {
	position: absolute;
    top: 0;
    right: 0;
    background: #015243;
    text-align: center;
    padding: 0 5px;
    color: #fff;
    z-index: 100;
	font-size: 1.8rem;
}
.single .event-thumb {
	width: 150px;
	height: 150px;
	overflow: hidden;
}

.single .event-thumb img {
	width: 150px;
	height: 150px;
}
.archive .events ul li h2,
.page .events ul li h2 {
	margin: 0 1%;
    border-bottom: solid 1px #015243;
    background: transparent;
    text-align: left;
    color: #015243;
}
.archive .h2,
.page .h2 {

    background: #015243;
    color: #fff;
}

.single .event-info h3 {
	margin: 0;
	font-size: 1.8rem;
}
.event-info {
    display: flex;
    flex-direction: column; /* 上下に並べる */
    justify-content: center;
	font-size: 0.8rem;
	padding:0 2%;
	width: 65%;
}
.event-info h2 {
	font-size: 1.2rem;
	margin: 0;
}

.event-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.event-meta {
    font-size: 0.9rem;
    color: #666;
}

.event-report {
	margin-bottom: 60px;
	padding-bottom: 25px;

}
.inline {	
	display: inline-block;
	white-space: nowrap;
}
.page-button-nav {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap: 8px;
	padding: 10px 0;
	width: 96%;
	margin: auto;
}

.page-button-nav .page-button {
	display: block;
	padding: 10px;
	/*background: #0073aa;
	color: #fff;*/
	border: 1px solid #015243;
	text-align: center;
	text-decoration: none;
	border-radius: 6px;
	font-weight: bold;
	transition: background 0.3s;
	font-size: 1.8rem;
}

.page-button-nav .page-button:hover {
  /*background: #005177;*/
	border: 1px solid #015243;
}

.page-button.active {
  background: #015243; /* 今開いているページの色 */
  color: #fff;         /* 文字色 */
  font-weight: bold;
}

@media (min-width: 768px) {
  .page-button-nav {
    grid-template-columns: repeat(3, 1fr); /* PCは横並び6列 */
  }
}

.event-list {
		padding: 0;
}
.past-event-link {
	text-align: right;
	margin: 50px 5%;
}
.past-event-link a {
	background: #fff;
	padding: 5px 10px;
	border-radius: 3px;
}
/*埋め込みコンタクトフォーム*/
.post-form fieldset.hidden-fields-container {
    display: none;
}
.post-form summary {
    cursor: pointer; /* カーソルを手の形に */
	font-size: 1.2em;      /* 文字を大きく */
    font-weight: bold;      /* 太字に */
}

.post-form {
	margin: 10px auto;
	text-align: center;
}

/*シェアボタン*/
.share {
    border-top: solid 1px #015243;
	margin-top: 50px;
	padding: 15px 0 30px;
}
.share h3 {
    border: none;
}
.sns-share-circle {
	display: flex;
    justify-content: center;
    gap: 0.5em;
    margin: auto;
}

.sns-share-circle a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.sns-share-circle a.x { background-color: #000; }
.sns-share-circle a.facebook { background-color: #1877F2; }
.sns-share-circle a.line { 
	color: #00C300;
	background-color: #fff; }

.sns-share-circle a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.sns-share-circle i {
  font-size: 24px; /* アイコンサイズ統一 */
}
.sns-share-circle .line i {
  font-size: 50px; /* アイコンサイズ統一 */
}

.banner {
	position: relative;
}
.banner img {
	width: 100%;
	opacity: 0.5;
}
.banner p {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%); /* 自身の大きさ分ずらす */
	margin: 0;
	font-size: 50px;
}
@media (max-width: 768px) {
	.banner {
	width: 100%;
}

	.banner p {
		font-size: 1.2rem;
	}
}

/* ページ番号リストをフレックス化 */
.pagination {
    display: flex;
	justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
	width: 100%;
}
.pagination-wrap {
	text-align: center;
	margin: 20px 0 0;
	padding-bottom: 20px;
}

/* 各ページ番号をフレックスで揃える */
.pagination li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
	width: 40px;
    height: 40px;
	color: #fff;
}
.pagination .current {
	font-weight: bold;
	font-size: 1.2rem;
}
.pagination .active,
.pagination .dots {
	background: transparent;
	color:  #015243;
}

/* aタグは li のサイズにフィットさせる */
.pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 1px solid #015243;
	background: #015243;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* ホバー */
.pagination li a:hover {
    background-color: #fff;
    border-color: #015243;
	color: #015243;
}

/* 現在ページ */
.pagination li.active a {
    background-color: #e74c3c;
    color: #fff;
    border-color: #015243;
}

/* 前へ・次へリンク */
.pagination li a.prev,
.pagination li a.next {
    font-weight: bold;
	padding: 0 5px;
}
.thum,.event-thumb {
	position: relative;
	height: 200px;
}
.header-thumb {
	width: 100%;
	aspect-ratio: 900 / 200;
	overflow: hidden;
	display: block;
	}
.thum img {
	}
.thum .event-status,.event-thumb .event-status {
	position: absolute;
	padding: 0 5px;
	background: red;
	color: #fff;
	bottom: 0;
	font-weight: bold;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 1.2rem;
	width: -webkit-fill-available;
}
.thum .year,.event-thumb .year {
	position: absolute;
	padding: 0 5px;
	background: #015243;
	color: #fff;
	top: 0;
	right: 0;
	font-weight: bold;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 1.8rem;
}

/* トップに戻るボタン */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background: #fff;
    color: #015243;
	border: solid 1px #015243;
    padding: 10px 14px;
	font-weight: bold;
    border-radius: 50%;
    text-align: center;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        padding: 8px 12px;
        font-size: 1rem;
    }
}

#back-to-top:hover {
    background-color: #015243;
    color: #fff;
	border: solid 1px #015243;
	transform: scale(1.1);
}

/* スマホ用調整（画面幅600px以下） */
@media (max-width: 600px) {
    #back-to-top {
        bottom: 60px;
        right: 20px;
        padding: 18px 20px;
        font-size: 1rem;
    }
}

.blogcard {
    background: #fff;
    margin: 1% auto;
    border-radius: 12px;
    width: 90%;
}
.blogcard a {
	display: flex;
    align-items: center;
    padding: 2%;
    background: #fff;
    margin: 1% auto;
    border-radius: 12px;
    width: 96%;
}

.blogcard-thumb {
	width: 25%;
}
.blogcard-thumb img {
	width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}
.blogcard-info {
	width: 70%;
	padding: 0 5%;
	display: flex;
    flex-direction: column;
    justify-content: center;
}
.blogcard-title,.blogcard-date,.blogcard-place {
	margin-block-start: 0!important;
    margin-block-end: 0!important;
}

blockquote {
	background: #e1dfd3;
	margin: 0;
	padding: 10px 0;
	}
.auto-cite-wrap {
    margin-top: 0.5em;
}
.auto-cite {
    display: block;
    text-align: right;
    font-style: normal;
    font-size: 1.5rem;
	padding: 5px 10px;
	font-style: italic;
}
.auto-cite a {
	display: inline;
}

