/*
Theme Name: Actio
Description: Twenty Twenty-Five ベースのActioテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template:   twentytwentyfive
*/

/* Custom Settings */
/** Common Header */
/* .header-fixed {
  position: fixed;
  top: 0;
  z-index: 99;
  width: 100%;
} */

/** List category */
.wp-block-post-terms__separator {
  display: none;
}

/** Frontpage Slider */
.metaslider.ms-theme-clarity .flexslider .slides li {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.common-title /** Common Content Title */
{
  margin-block-start: 0;
}

/** Frontpage Navigation */
.frontpage-nav-icon a {
  text-align: center;
  text-decoration: none;
}
.wp-block-navigation__responsive-container-open {
  margin-top: -10px !important;
}
.wp-block-navigation__responsive-container-open::after {
  font-size: 0.75em;
  position: absolute;
  left: -0.375em;
  padding-top: 7px;
  white-space: pre;
  content: "\AMENU";
}

.frontpage-nav-icon a::before {
  font-size: 2em;
  text-align: center;
  white-space: pre;
  font-family: "Font Awesome 7 Free";
}
.frontpage-nav-news a::before {
  content: "\f022\A";
}
.frontpage-nav-event a::before {
  content: "\f073\A";
}
.frontpage-nav-facility a::before {
  content: "\f1ad\A";
}
.frontpage-nav-guide a::before {
  content: "\f007\A";
}
.frontpage-nav-booking a::before {
  content: "\f274\A";
}
.frontpage-nav-faq a::before {
  content: "\f086\A";
}
.frontpage-nav-access a::before {
  content: "\f279\A";
}

/** Frontpage Event */
.frontpage-event-icon {
  position: absolute;
  padding: 10px;
  margin: 0 !important;
  background-color: #cc1a61;
  color: #fff;
  border-radius: 5px;
  text-align: center;
  font-size: 12px;
  width: 80px;
  top: -15px;
  left: -15px;
}
.frontpage-event-icon.color-gray {
  background-color: rgba(100, 100, 100);
  color: #fff;
}

/** Frontpage Facility **/
.frontpage-facility-row {
  width: 100%;
}
.frontpage-facility-map {
  width: 100%;
  height: 500px;
}

/** Footer */
.footer-button-tel,
.footer-button-mail,
.footer-button-faq {
  white-space: nowrap;
}
.footer-button-tel::before {
  content: "\f3cf";
  font-weight: bold;
  font-family: "Font Awesome 7 Free";
  margin-right: 5px;
}
.footer-button-mail::before {
  content: "\f0e0";
  font-family: "Font Awesome 7 Free";
  margin-right: 5px;
}
.footer-button-faq::before {
  content: "\f086";
  font-family: "Font Awesome 7 Free";
  margin-right: 5px;
}
.footer-sitemap-nav a {
  text-decoration: none;
}
.footer-button-top {
  position: fixed;
  margin: 0 0 !important;
  right: 20px;
  bottom: 20px;
}

/** News list */
.archive-list .wp-block-columns-is-layout-flex {
  gap: normal;
}

/** Event List */
.event-category a {
  border-radius: 12px;
  padding: 10px;
  background-color: #F6CFF4; 
}
.event-category a:not(:last-child) {
  margin-right: 10px;
}
/** event-calendar */
/* clearfix */
.clearfix:after {
	height:0;
	visibility:hidden;
	content:".";
	display:block;
	clear:both;
}
.clearfix {
	_height:1px;
	min-height:1px;
	/*￥*//*/
	height: auto;
	overflow: hidden;
	/**/
}
.event-c-prev {
	padding-bottom:6px;
	float:left;
}
.event-c-next {
	padding-bottom:6px;
	float:right;
}
.event-c-body {
	margin-bottom:20px;
	width:100%;
	border-bottom:1px solid #ccc;
  border-spacing: 0;
  border-collapse: collapse;
}
.event-c-body th {
	padding:6px 0;
	text-align:center;
	border:1px solid #ccc;
	font-weight:normal;
	font-size:16px;
}
.event-c-body .ym {
	background:#ffe7f1;
}
.event-c-body .days {
	background:#ffc0d9;
}
.event-c-body td {
	padding:6px 0;
	width:14.2%;
	text-align:center;
	border:1px solid #ccc;
	font-size:16px;
}
.event-c-link .link {
	background:#fffbce;
}
.event-c-body .date {
  text-align:right;
  padding-right:10px;
  border-bottom:0;
}
.event-c-body td.holiday {
	background:#999;
	color:#fff;
}
.event-c-body .row td {
  border-top:0;
  border-bottom:0;
  vertical-align:top;
  height:40px;
}
.event-c-body .odd td.cell {
  background:#fffbce;
  height:40px;
}
.event-c-body .even td.cell {
  background:#ffc0d9;
  height:40px;
}
.v-body th { 
  width:15%;
}
.v-body td {
  width:85%;
}
.v-body .blue1 {
  color:blue;
}


/** Access */
.access-detail {
  width: 100%;
}

/** Privacy */
.privacy-iframe iframe {
  width: 100%;
  height: 50vh;
}

/** PC / スマホ・タブレット */
/** pc **/
@media (width >= 1024px) {
  .frontpage-header-nav {
    display: none !important;
  }
}
/** sp **/
@media (width < 1024px) {
  .frontpage-nav-icon {
    gap: 10px;
    justify-content: flex-start;
  }
  .frontpage-nav-icon p {
    width: calc((100% - 20px) / 3);
  }
  .frontpage-facility-map {
    height: 200px;
  }
}
/** スマホのみ */
@media (width < 600px) {
  /** テーブル組みの縦積み表示 */
  .common-table-vertical {
    width: 100%;
  } 
  .common-table-vertical thead {
    display: none;
  }
  .common-table-vertical tr,
  .common-table-vertical td {
    display: block;
  }
  .common-table-vertical tr:not(:last-child) {
    margin-bottom: 10px;
  }
  .common-table-vertical td:not(:last-child) {
    border-width: 1px 1px 0;
  }
  .common-table-vertical td:nth-child(1) {
    font-weight: bold;
  }
}
/** トップの講座・イベント対応 */
/** 2列目（other）の横幅が狭い */
/** <= 601は一列表示（不要）、< 680は要横幅調整 */
@media (width > 600px) and (width < 680px) {
  .frontpage-event-other ul {
    gap: 10px;
  }
  .frontpage-event-other img {
    max-width: calc(100% - 20px) !important;
  }
}
/** 右（other）が崩れる */
/** 782px - 1120px はpickupとotherで改行  */
@media (width >= 782px) and (width < 1120px) {
  .frontpage-event .wp-block-columns {
    flex-wrap: wrap !important;
  }
  .frontpage-event-pickup {
    flex-grow: 1 !important;
  }
  .frontpage-event-other {
    flex-basis: auto !important;
  }
}