/*
 * base css 
 * pc width 1000px fixed
 */

@media (max-width: 599px) {
}

@media (min-width: 600px) and (max-width:959px) {
}

@media (min-width: 960px) {
}

@media (max-width: 480px) {
}

@media (min-width: 481px) and (max-width:767px) {
}

@media (min-width: 768px) and (max-width:959px) {
}

@media (min-width: 960px) {
}


/* ---------------------------------------- common */

main { padding: 6em 0 0; }

/* ---------------------------------------- news */

#news { 
	padding: 0 2em; 
	margin: 0 0 8em;
}
#news h3 {
	color: var( --orange-color );
	line-height: 1.4;
	text-align: center;
	margin: 0 0 .5em;
}
#news time {
	display: block;
	text-align: center;
	margin: 0 0 3em;
}


@media (max-width: 767px) {

	#news h3 { font-size: var( --sp-h3 ); }

}

@media (min-width: 768px) {

	#news h3 { font-size: var( --pc-h3 ); }

}

/* ---------------------------------------- editors */

/* =========================
   WYSIWYG (#editors) base
========================= */
#editors { 
	line-height: 2;
	font-weight: 400;
	margin: 0 0 5em;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

@media (max-width: 767px) {

	#editors * {
		font-size: clamp(0.813rem, 0.678rem + 0.67vw, 1rem);
		padding: 0 1em;
	}

}

@media (min-width: 768px) {

	#editors * {
		font-size: clamp(0.813rem, 0.537rem + 0.57vw, 1rem);
		padding: 0 1em;
	}

}

/* =========================
   spacing reset (局所的)
========================= */
#editors > *:first-child {
  margin-top: 0;
}
#editors > *:last-child {
  margin-bottom: 0;
}

/* =========================
   paragraph
========================= */
#editors p {
  margin: 1em 0;
}

/* =========================
   headings
========================= */
#editors h1,
#editors h2,
#editors h3,
#editors h4,
#editors h5,
#editors h6 {
  font-weight: bold;
  font-weight: 700;
  line-height: 1.4;
  margin: 1.5em 0 0.5em;
}

#editors h1 { font-size: 2em; }
#editors h2 { font-size: 1.75em; }
#editors h3 { font-size: 1.5em; }
#editors h4 { font-size: 1.25em; }
#editors h5 { font-size: 1.1em; }
#editors h6 { font-size: 1em; }

/* =========================
   lists
========================= */
#editors ul,
#editors ol {
  margin: 1em 0 1em 1.5em;
  padding: 0;
}

#editors ul { list-style: disc; }
#editors ol { list-style: decimal; }

#editors li {
  margin: 0.5em 0;
}

/* =========================
   links
========================= */
#editors a {
  color: #0073aa;
  text-decoration: underline;
  transition: opacity 0.2s;
}

#editors a:hover {
  opacity: 0.7;
}

/* =========================
   images
========================= */
#editors img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em 0;
}

/* WP alignment */
#editors .alignleft {
  float: left;
  margin: 0 1em 1em 0;
}
#editors .alignright {
  float: right;
  margin: 0 0 1em 1em;
}
#editors .aligncenter {
  display: block;
  margin: 1em auto;
}

/* clearfix */
#editors::after {
  content: "";
  display: block;
  clear: both;
}

/* =========================
   blockquote
========================= */
#editors blockquote {
  margin: 1.5em 0;
  padding: 0.5em 1em;
  border-left: 4px solid #ccc;
  color: #555;
  background: #f9f9f9;
}

/* =========================
   table
========================= */
#editors table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95em;
}

#editors th,
#editors td {
  border: 1px solid #ddd;
  padding: 0.5em;
  text-align: left;
}

#editors th {
  background: #f3f3f3;
  font-weight: bold;
  font-weight: 600;
}

/* =========================
   hr
========================= */
#editors hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 2em 0;
}

/* =========================
   strong / emphasis
========================= */
#editors strong {
  font-weight: bold;
  font-weight: 700;
}

#editors em {
  font-style: italic;
}

/* =========================
   code
========================= */
#editors code {
  background: #f4f4f4;
  padding: 0.2em 0.4em;
  font-size: 0.9em;
  border-radius: 3px;
}

#editors pre {
  background: #f4f4f4;
  padding: 1em;
  overflow-x: auto;
  margin: 1.5em 0;
}

/* =========================
   iframe (YouTube etc)
========================= */
#editors iframe {
  max-width: 100%;
  margin: 1em 0;
}

/* =========================
   small tweaks
========================= */
#editors small {
  font-size: 0.85em;
  color: #666;
}

#editors sup {
  font-size: 0.8em;
  vertical-align: super;
}

#editors sub {
  font-size: 0.8em;
  vertical-align: sub;
}