@charset "utf-8";

/* ---------------------------------------------------
   File: calendar.css
   Version: 1.0.0
   Update: 2025-01-14
   Author: https://flowlab.co.jp

   (c)2007-2025 Flowlab inc. All Rights Reserved.
--------------------------------------------------- */



/* =======================================================================================================================

   WIDE DESKTOP LAYOUT

======================================================================================================================= */


/* ====================================================
		Title
==================================================== */
/* -------------------------------
		Page Title
------------------------------- */

body {
	/*min-width: 1300px;*/
	color: #1d1d1d;
	font-size: 1.6rem;
	line-height: 1.8;
  letter-spacing: .05em;
	text-size-adjust: none;
	-webkit-text-size-adjust: none;
  overflow-x: hidden;
}


/* ====================================================
		Contents
==================================================== */
/* -------------------------------
		White Box
------------------------------- */
.whiteBox {
  margin: 50px 0 24px;
}

/* -------------------------------
		English
------------------------------- */
#calendar .english {
  font-family: "azo-sans-web", sans-serif;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  display: block;
}



.flex,
.flex_space-around,
.flex_center {
  display: flex;
  flex-wrap: wrap;
}
.flex {
  justify-content: space-between;
}
.flex_space-around {
  justify-content: space-around;
}
.flex_center {
  justify-content: center;
}
/* ====================================================
		Calendar
==================================================== */
/* -------------------------------
		Layout
------------------------------- */
#calendar {
	margin:0 auto;
	max-width:800px;
}
#calendar .flex {
  justify-content: center;
}

/* -------------------------------
		Button
------------------------------- */
#calendar .btn_prev,
#calendar .btn_next {
  width: 20%;
  padding-top: 20px;
}
#calendar .btn_prev a,
#calendar .btn_next a {
  width: 100%;
  max-width: 70px;
  aspect-ratio: 1;
  border: 1px solid #666;
  border-radius: 100px;
  display: block;
  margin: 0 auto;
  transition: .3s;
}
#calendar .btn_prev a span,
#calendar .btn_next a span {
  display: block;
  position: relative;
}
#calendar .btn_prev a span::before,
#calendar .btn_prev a span::after,
#calendar .btn_next a span::before,
#calendar .btn_next a span::after {
  content: '';
  position: absolute;
  top: calc(50% + 35px);
  transform: translateY(-50%);
  transition: .3s;
}
#calendar .btn_prev a span::before,
#calendar .btn_next a span::before {
  width: 12px;
  height: 1px;
  background: #666;
  top: calc(50% + 36px);
  right: 30px;
}
#calendar .btn_prev a span::after,
#calendar .btn_next a span::after {
  width: 6px;
  height: 6px;
  border-top: solid 1px #666;
  border-right: solid 1px #666;
  right: 32px;
  transform: rotate(45deg) translateY(-50%);
}
#calendar .btn_prev a span::after {
  top: calc(50% + 30px);
  transform: rotate(-135deg) translateY(-50%);
}

/* Hover */
#calendar .btn_prev a:hover,
#calendar .btn_next a:hover {
  background: #666;
  opacity: 1;
}
#calendar .btn_prev a:hover span::before,
#calendar .btn_next a:hover span::before {
  background: #fff;
}
#calendar .btn_prev a:hover span::after,
#calendar .btn_next a:hover span::after {
  border-top: solid 1px #fff;
  border-right: solid 1px #fff;
}

/* No Hover Action */
#calendar .noHover a:hover {
  background: none;
  cursor: default;
}
#calendar .noHover a:hover span::before {
  background: #666;
}
#calendar .noHover a:hover span::after {
  border-top: solid 1px #666;
  border-right: solid 1px #666;
}

/* -------------------------------
		Title
------------------------------- */
#calendar h2 {
  width: calc(100% - 40%);
}
#calendar h2::before {
  content: none;
}
#calendar h2 strong,
#calendar h2 span {
  text-align: center;
  display: inline;
}

/* Title */
#calendar h2 strong {
  font-size: 4.6rem;
  font-family: "azo-sans-web", sans-serif;
  font-weight: 700;
  display: block;
}
#calendar h2 strong span {
  font-size: 3rem;
  font-family: 'Noto Sans JP',YuGothic,sans-serif;
  margin: 0 5px;
}

/* English */
#calendar h2 span.english {
  font-size: 2rem;
  letter-spacing: 0;
}

/* -------------------------------
		Table
------------------------------- */
#calendar table {
  width: 100%;
  text-align: center;
}

/* Day of the week */
#calendar table thead th {
  width: 14.285%;
  padding-bottom: 20px;
}
#calendar table thead th span.english {
  font-size: 1.2rem;
  padding-top: 5px;
}

#calendar table tbody td {
  vertical-align: text-top;
  border: 1px solid #ccc;
  padding: 25px 10px 20px;
}

/* Date */
#calendar table tbody td strong {
  font-size: 2.2rem;
  font-family: "azo-sans-web", sans-serif;
  font-weight: 700;
  line-height: 1;
  padding-bottom: 15px;
  display: block;
}

/* Time */
#calendar table tbody td p {
  
}
#calendar table tbody td p span {
  font-size: 1.6rem;
  font-family: "brandon-grotesque", sans-serif;
  font-weight: 400;
  font-feature-settings: "palt";
	-moz-font-feature-settings: "palt";
  line-height: 1;
  position: relative;
  display: block;
}
#calendar table tbody td p span.sumi {
  color: #ff0000;
  text-decoration: line-through;
}


/* -------------------------------
		Table - Color
------------------------------- */
/* Today */
#calendar table tbody td.today {
  background: rgb(249, 219, 91, 0.1);
}

/* Close */
#calendar table tbody td.close {
  background: #f9f9f9;
}
#calendar table tbody td.close p {
  color: #d81d52;
}
#calendar table tbody td.close p span:first-child {
  font-size: 1.6rem;
  padding-bottom: 7px;
}
#calendar table tbody td.close p span:first-child::after {
  content: none;
}
#calendar table tbody td.close p span:last-child {
  font-size: 0.9rem;
}

/* Saturday */
#calendar table th:nth-child(7),
#calendar table td:nth-child(7) strong {
  color: #2cacdc;
}
/* Sunday */
#calendar table th:nth-child(1),
#calendar table td:nth-child(1) strong {
  color: #d81d52;
}

/* Today & Close */
#calendar table tbody td.today.close {
  background: rgb(249, 219, 91, 0.1);
}


/* -------------------------------
		Attention
------------------------------- */
#calendar small {
  font-size: 1.1rem;
  padding-top: 0;
}
#calendar .whiteBox small {
  text-align: right;
  padding-top: 20px;
}





/* ====================================================
		Footer
==================================================== */
/* -------------------------------
		Layout
------------------------------- */
#gFooter {
  background: url("../img/common/bg_footer_top.png") no-repeat 0 0 / contain;
}













/* =======================================================================================================================

   TABLET

======================================================================================================================= */
@media screen and (min-width: 897px) and (max-width: 1299px) {

  /* ====================================================
      Contents
  ==================================================== */
  /* -------------------------------
      White Box
  ------------------------------- */
  .whiteBox {
    margin-top: 30px;
  }
  
  
  
  
  /* ====================================================
      Event Schedule
  ==================================================== */
  /* -------------------------------
      Button
  ------------------------------- */
  #calendar .btn_prev,
  #calendar .btn_next {
    width: 10%;
    padding-top: 0;
  }
  
  /* -------------------------------
      Title
  ------------------------------- */
  #calendar h2 {
    width: calc(100% - 20%);
  }
  
  /* Title */
  #calendar h2 strong {
    font-size: 3rem;
  }
  #calendar h2 strong span {
    font-size: 2rem;
  }
  
  /* English */
  #calendar h2 span.english {
    font-size: 1.8rem;
  }
  
  
}













/* =======================================================================================================================

   MOBILE

======================================================================================================================= */
@media screen and (max-width: 896px) {
  
  /* ====================================================
      Contents
  ==================================================== */
  /* -------------------------------
      White Box
  ------------------------------- */
  .whiteBox {
    margin-top: 0;
  }
  
  
  
  
  /* ====================================================
      Calendar
  ==================================================== */
  /* -------------------------------
      Button
  ------------------------------- */
  #calendar .btn_prev,
  #calendar .btn_next {
    width: 10%;
    padding-top: 0;
  }
  #calendar .btn_prev a,
  #calendar .btn_next a {
    max-width: 30px;
  }
  #calendar .btn_prev a span::before,
  #calendar .btn_prev a span::after,
  #calendar .btn_next a span::before,
  #calendar .btn_next a span::after {
    top: calc(50% + 14px);
  }
  #calendar .btn_prev a span::before,
  #calendar .btn_next a span::before {
    width: 8px;
    right: 10px;
    top: calc(50% + 15px);
  }
  #calendar .btn_prev a span::after,
  #calendar .btn_next a span::after {
    width: 4px;
    height: 4px;
    right: 12px;
  }
  #calendar .btn_prev a span::after {
    top: calc(50% + 10.5px);
  }
  
  /* Hover */
  #calendar .btn_prev a:hover,
  #calendar .btn_next a:hover {
    background: none;
  }
  #calendar .btn_prev a:hover span::before,
  #calendar .btn_next a:hover span::before {
    background: #046c4c;
  }
  #calendar .btn_prev a:hover span::after,
  #calendar .btn_next a:hover span::after {
    border-top: solid 1px #046c4c;
    border-right: solid 1px #046c4c;
  }
  
  /* -------------------------------
      Title
  ------------------------------- */
  #calendar h2 {
    width: calc(100% - 20%);
  }
  
  /* Title */
  #calendar h2 strong {
    font-size: 2.6rem;
    letter-spacing: 0.02em;
    padding-bottom: 5px;
  }
  #calendar h2 strong span {
    font-size: 1.2rem;
  }
  
  /* English */
  #calendar h2 span.english {
    font-size: 1.2rem;
  }
  
  /* -------------------------------
      Table
  ------------------------------- */
  /* Day of the week */
  #calendar table thead th {
    font-size: 1.2rem;
  }
  #calendar table thead th span.english {
    font-size: 1rem;
    padding-top: 0;
  }
  #calendar table tbody td {
    padding: 14px 0 12px;
  }

  /* Date */
  #calendar table tbody td strong {
    font-size: 1.4rem;
  }
  
  /* Time */
  #calendar table tbody td p span {
    font-size: 1.1rem;
  }
  #calendar table tbody td p span:first-child::after {
    width: 6px;
    height: calc(tan(60deg) * 4px / 2);
    bottom: 4px;
  }
  
  /* -------------------------------
      Table - Color
  ------------------------------- */
  /* Close */
  #calendar table tbody td.close p span:first-child {
    font-size: 1rem;
    line-height: 1.4;
    padding-bottom: 3px;
  }
  #calendar table tbody td.close p span:last-child {
    font-size: 0.8rem;
  }
  
  
  
}