@charset "UTF-8";
/*!
Theme Name: ja-kyosai-niigata-poster-contest-2025
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ja-kyosai-niigata-poster-contest
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

ja-kyosai-niigata-poster-contest is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
/* Normalize
--------------------------------------------- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */
/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

p {
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a {
  color: #4169e1;
}
a:visited {
  color: #800080;
}
a:hover, a:focus, a:active {
  color: #191970;
}
a:focus {
  outline: thin dotted;
}
a:hover, a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type=button],
input[type=reset],
input[type=submit] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}
button:hover,
input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
  border-color: #ccc #bbb #aaa;
}
button:active, button:focus,
input[type=button]:active,
input[type=button]:focus,
input[type=reset]:active,
input[type=reset]:focus,
input[type=submit]:active,
input[type=submit]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=range],
input[type=date],
input[type=month],
input[type=week],
input[type=time],
input[type=datetime],
input[type=datetime-local],
input[type=color],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=range]:focus,
input[type=date]:focus,
input[type=month]:focus,
input[type=week]:focus,
input[type=time]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=color]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* Navigation
--------------------------------------------- */
.main-navigation {
  display: block;
  width: 100%;
}
.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}
.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}
.main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}
.main-navigation ul ul a {
  width: 200px;
}
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}
.main-navigation li {
  position: relative;
}
.main-navigation a {
  display: block;
  text-decoration: none;
}
/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }
  .main-navigation ul {
    display: flex;
  }
}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}
.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.post,
.page {
  margin: 0 0 1.5em;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}
.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}
.wp-caption img[class*=wp-image-] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

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

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
/* Jetpack infinite scroll
--------------------------------------------- */
/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
/* Accessibility
--------------------------------------------- */
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  -webkit-clip-path: none;
          clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;
  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;
  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

@font-face {
  font-family: "Genjyu Gothic P";
  font-style: normal;
  font-weight: 400;
  src: url("font/GenJyuuGothic-P-Regular.woff") format("woff");
  font-display: swap;
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
html, body {
  font-family: "Genjyu Gothic P", sans-serif;
  color: #40220f;
  background: #fff;
  font-size: 14px;
  background: #faefb6;
}
@media screen and (min-width: 768px) {
  html, body {
    font-size: 16px;
  }
}
button,
input[type=button],
input[type=reset],
input[type=submit] {
  font-family: "Genjyu Gothic P", sans-serif;
}

#page {
  min-height: 100%;
}

.post, .page {
  margin: 0;
}

#page {
  position: relative;
}

@media screen and (min-width: 768px) {
  #primary section {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
  }
}

.inner {
  padding-left: 14px;
  padding-right: 14px;
}

.strong {
  font-weight: bold;
}

@media screen and (min-width: 768px) {
  .for-mb {
    display: none;
  }
}

#site-navigation {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 98;
}
#site-navigation .menu-toggle {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-block;
  width: 45px;
  height: 45px;
  padding: 0;
  background: #eb6d8e;
  border: none;
  border-radius: 0;
  z-index: 99;
}
#site-navigation .menu-toggle:before, #site-navigation .menu-toggle:after, #site-navigation .menu-toggle span {
  display: inline-block;
  width: 34px;
  height: 4px;
  left: 5px;
  border-radius: 2px;
  background: #fff;
  position: absolute;
  transition: all 0.2s;
}
#site-navigation .menu-toggle:before, #site-navigation .menu-toggle:after {
  content: "";
}
#site-navigation .menu-toggle:before {
  top: 8px;
  transform-origin: top left;
}
#site-navigation .menu-toggle:after {
  bottom: 8px;
  transform-origin: bottom left;
}
#site-navigation .menu-toggle span {
  top: 21px;
}
#site-navigation #primary-menu {
  display: block;
  color: #fff;
  max-height: 100dvh;
  overflow: auto;
}
#site-navigation #primary-menu ul {
  display: none;
  animation-name: fade-out;
  animation-duration: 0.5s;
  background-color: #eb6d8e;
  background-image: url(images/menu_footer.png);
  background-repeat: repeat-x;
  background-position-y: bottom;
  background-size: auto 14px;
  transition: all 0.2s;
  padding: 15px 15px 45px 15px;
}
#site-navigation #primary-menu ul .sec__head {
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  border-bottom: 1px dotted #fff;
  padding: 20px;
}
#site-navigation #primary-menu ul a {
  display: block;
  color: #fff;
  text-align: center;
  border-bottom: 1px dotted #fff;
  padding: 15px;
}
#site-navigation #primary-menu ul a.tohome {
  border-bottom: 1px solid #fff;
  font-weight: bold;
}
#site-navigation.toggled .menu-toggle:before {
  top: 8px;
  left: 11px;
  transform: rotateZ(45deg);
  width: 37px;
}
#site-navigation.toggled .menu-toggle:after {
  bottom: 8px;
  left: 11px;
  transform: rotateZ(-45deg);
  width: 37px;
}
#site-navigation.toggled .menu-toggle span {
  opacity: 0;
}
#site-navigation.toggled #primary-menu ul {
  display: block;
  animation-name: fade-in;
  animation-duration: 0.2s;
}

.site-branding {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}
.site-branding img {
  vertical-align: bottom;
}

#links {
  margin-top: 30px;
  margin-bottom: 30px;
}
#links .inner ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}
#links .inner ul li {
  width: 100%;
}
#links .inner ul li a {
  background-color: #00aaeb;
}
#links .inner ul li a::after {
  rotate: 90deg;
}

#intro {
  margin: 30px 0;
}
#intro .section-head,
#intro .section-body {
  background: url(images/dots.png) repeat-x;
  background-size: auto 6px;
  background-position: center;
}
#intro .section-head {
  margin: 0;
  line-height: 1;
  text-align: center;
}
#intro .section-head span {
  display: inline-block;
  background: #faefb6;
  padding: 0 10px;
}
#intro .section-body {
  padding: 20px 0 30px 0;
  background-position-y: bottom;
}

#main-menu nav ul,
#links ul,
.linkbtn ul,
.forms ul.formbtn {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}
#main-menu nav ul li,
#links ul li,
.linkbtn ul li,
.forms ul.formbtn li {
  text-indent: 0 !important;
}
#main-menu nav ul li a, #main-menu nav ul li input,
#links ul li a,
#links ul li input,
.linkbtn ul li a,
.linkbtn ul li input,
.forms ul.formbtn li a,
.forms ul.formbtn li input {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #fff;
  border-radius: 20px;
  box-shadow: 4px 4px 0px 0px rgba(74, 36, 0, 0.5);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.15em;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  padding: 13px 10px;
  position: relative;
  /*
  			display: block;
  			border: 2px solid #fff;
  			border-radius: 20px;
  			box-shadow: 4px 4px 0px 0px rgba(74,36,0,0.5);
  			line-height: 50px;
  			color: #fff;
  			text-align: center;
  			text-decoration: none;
  			font-size: 1.1rem;
  			font-weight: bold;
  			letter-spacing: 0.2em;
  			width: 80%;
  			margin-left: auto;
  			margin-right: auto;
  			margin-bottom: 30px;
  			position: relative;
  */
}
#main-menu nav ul li a.method, #main-menu nav ul li input.method,
#links ul li a.method,
#links ul li input.method,
.linkbtn ul li a.method,
.linkbtn ul li input.method,
.forms ul.formbtn li a.method,
.forms ul.formbtn li input.method {
  background-color: #6ec8e2;
}
#main-menu nav ul li a.detail, #main-menu nav ul li input.detail,
#links ul li a.detail,
#links ul li input.detail,
.linkbtn ul li a.detail,
.linkbtn ul li input.detail,
.forms ul.formbtn li a.detail,
.forms ul.formbtn li input.detail {
  background-color: #eb6d8e;
}
#main-menu nav ul li a.contact, #main-menu nav ul li input.contact,
#links ul li a.contact,
#links ul li input.contact,
.linkbtn ul li a.contact,
.linkbtn ul li input.contact,
.forms ul.formbtn li a.contact,
.forms ul.formbtn li input.contact {
  background-color: #61c1be;
}
#main-menu nav ul li a.entry, #main-menu nav ul li input.entry,
#links ul li a.entry,
#links ul li input.entry,
.linkbtn ul li a.entry,
.linkbtn ul li input.entry,
.forms ul.formbtn li a.entry,
.forms ul.formbtn li input.entry {
  background-color: #ed6d2b;
}
#main-menu nav ul li a.result, #main-menu nav ul li input.result,
#links ul li a.result,
#links ul li input.result,
.linkbtn ul li a.result,
.linkbtn ul li input.result,
.forms ul.formbtn li a.result,
.forms ul.formbtn li input.result {
  background-color: #61c19e;
}
#main-menu nav ul li a.calendar, #main-menu nav ul li input.calendar,
#links ul li a.calendar,
#links ul li input.calendar,
.linkbtn ul li a.calendar,
.linkbtn ul li input.calendar,
.forms ul.formbtn li a.calendar,
.forms ul.formbtn li input.calendar {
  background-color: #ed9f2b;
}
#main-menu nav ul li a.flyer, #main-menu nav ul li input.flyer,
#links ul li a.flyer,
#links ul li input.flyer,
.linkbtn ul li a.flyer,
.linkbtn ul li input.flyer,
.forms ul.formbtn li a.flyer,
.forms ul.formbtn li input.flyer {
  background-color: #59b178;
}
#main-menu nav ul li a.prev, #main-menu nav ul li input.prev,
#links ul li a.prev,
#links ul li input.prev,
.linkbtn ul li a.prev,
.linkbtn ul li input.prev,
.forms ul.formbtn li a.prev,
.forms ul.formbtn li input.prev {
  background-color: #5988b1;
}
#main-menu nav ul li a.format, #main-menu nav ul li input.format,
#links ul li a.format,
#links ul li input.format,
.linkbtn ul li a.format,
.linkbtn ul li input.format,
.forms ul.formbtn li a.format,
.forms ul.formbtn li input.format {
  background-color: #a4b159;
}
#main-menu nav ul li a.raise, #main-menu nav ul li input.raise,
#links ul li a.raise,
#links ul li input.raise,
.linkbtn ul li a.raise,
.linkbtn ul li input.raise,
.forms ul.formbtn li a.raise,
.forms ul.formbtn li input.raise {
  background-color: #e9497e;
}
#main-menu nav ul li a.dl, #main-menu nav ul li input.dl,
#links ul li a.dl,
#links ul li input.dl,
.linkbtn ul li a.dl,
.linkbtn ul li input.dl,
.forms ul.formbtn li a.dl,
.forms ul.formbtn li input.dl {
  background-color: #5988b1;
}
#main-menu nav ul li a.jagroup, #main-menu nav ul li input.jagroup,
#links ul li a.jagroup,
#links ul li input.jagroup,
.linkbtn ul li a.jagroup,
.linkbtn ul li input.jagroup,
.forms ul.formbtn li a.jagroup,
.forms ul.formbtn li input.jagroup {
  background-color: #009725;
}
#main-menu nav ul li a:after, #main-menu nav ul li input:after,
#links ul li a:after,
#links ul li input:after,
.linkbtn ul li a:after,
.linkbtn ul li input:after,
.forms ul.formbtn li a:after,
.forms ul.formbtn li input:after {
  content: "▲";
  font-size: 10px;
  position: absolute;
  right: 15px;
  transform: rotateZ(90deg);
}

#entry-form ul.formbtn li input {
  background-color: #ed6d2b;
  margin: 30px auto 0 auto;
}

#contact-form ul.formbtn li input {
  background-color: #61c1be;
  margin: 30px auto 0 auto;
}

.subhead {
  display: block;
  position: relative;
  width: 90%;
  height: 50px;
  line-height: 50px;
  text-align: center;
  padding: 0 20px;
  font-size: 1.8rem;
  color: #FFF;
  box-sizing: border-box;
  margin: 30px auto;
}
.subhead:before, .subhead:after {
  position: absolute;
  content: "";
  width: 0px;
  height: 0px;
}
.subhead:before {
  top: 0;
  left: 0;
  border-width: 25px 0px 25px 15px;
  border-color: transparent transparent transparent #fff;
  border-style: solid;
}
.subhead:after {
  top: 0;
  right: 0;
  border-width: 25px 15px 25px 0px;
  border-color: transparent #fff transparent transparent;
  border-style: solid;
}

#primary.detail #torecruit {
  position: sticky;
  left: 0;
  bottom: 0;
  text-align: center;
}
#primary.detail #torecruit a {
  display: inline-block;
  width: 74%;
  background: #ed6d2b;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.2em;
  text-decoration: none;
  padding: 10px 30px;
  border: 2px solid #fff;
  border-bottom: none;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  box-shadow: 0px 0px 7px -6px rgba(74, 36, 0, 0.5);
  z-index: 99;
}

#method {
  background: #fff;
}
#method .subhead {
  background: #6ec8e2;
}
#method .inner {
  background: url(images/dots.png) no-repeat;
  background-size: auto 6px;
  background-position: center bottom;
  padding-top: 30px;
  padding-bottom: 20px;
}
#method .inner .subhead:first-of-type {
  margin-top: 0;
}

.method .flow {
  padding: 20px;
  border-radius: 5px;
  background: #e8f5fa;
  box-shadow: 4px 4px 0px 0px rgba(74, 36, 0, 0.5);
}
.method .flow .subhead {
  margin-top: 0;
  background-color: #6ec8e2;
  color: #fff;
}
.method .flow .subhead:before {
  border-left-color: #e8f5fa;
}
.method .flow .subhead:after {
  border-right-color: #e8f5fa;
}
.method .flow ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.method .flow ul li {
  border: 1px solid #6ec8e2;
  border-radius: 5px;
  padding: 10px;
  margin: 0 0 25px 0;
  background: #fff;
  text-align: center;
  position: relative;
}
.method .flow ul li:after {
  content: "▼";
  display: block;
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: -25px;
  color: #6ec8e2;
}
.method .flow ul li:last-of-type:after {
  display: none;
}
.method .flow dl dt {
  font-weight: bold;
}
.method .flow dl dd {
  margin: 0;
}
.method .about dt {
  font-weight: bold;
  color: #6ec8e2;
  position: relative;
  overflow-x: hidden;
  margin-bottom: 5px;
}
.method .about dt:after {
  content: "";
  border-top: 2px dotted #6ec8e2;
  position: absolute;
  top: 50%;
  width: 100%;
}
.method .about dd {
  margin: 0;
}

#recruit {
  background: #fff;
  padding-top: 30px;
}
#recruit .inner {
  padding-bottom: 15px;
}
#recruit .inner .subhead:first-of-type {
  margin-top: 0;
}
#recruit .subhead {
  background-color: #eb6d8e;
  color: #fff;
}
#recruit .section-body .subhead {
  background-color: #faefb6;
  color: #40220f;
  font-size: 1.2rem;
  width: 100%;
}
#recruit .section-body .subhead.two {
  height: 76px;
  line-height: 30px;
  padding-top: 9px;
}
#recruit .section-body .subhead.two:before, #recruit .section-body .subhead.two:after {
  border-top-width: 38px;
  border-bottom-width: 38px;
}
#recruit .section-body .subhead .sub {
  font-size: 0.9rem;
}
#recruit .ttl {
  font-size: 2rem;
  line-height: 40px;
  letter-spacing: 0.2em;
  border-bottom: 2px dashed #40220f;
  padding-left: 5px;
  padding-bottom: 5px;
  position: relative;
  margin-left: 15px;
}
#recruit .ttl:before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 3px;
  left: -15px;
  width: 10px;
  height: 40px;
  background: url(images/marker.png) no-repeat center;
  background-size: contain;
}
#recruit .ttl .sub {
  font-size: 1.3rem;
  letter-spacing: 0;
}
#recruit .lisence .note {
  border: 1px solid #40220f;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 0.9rem;
}
#recruit .details ul {
  list-style-type: none;
  margin: 0 0 0 1.5em;
  padding-left: 0;
}
#recruit .details ul li {
  text-indent: -1.5em;
}
#recruit .details ul li .example {
  background: #eee;
  border-radius: 5px;
  padding: 15px;
  margin-left: -1.5em;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}
#recruit .details ul li .example dl {
  margin: 0;
}
#recruit .details ul li .example dl dt {
  margin: 0;
  text-indent: 0;
}
#recruit .details ul li .example dl dd {
  margin-bottom: 0.5em;
  margin-right: 0;
}
#recruit .details .blue {
  color: #6ec8e2;
}
#recruit .details .yellow {
  color: #ecd318;
}
#recruit .details .red {
  color: #eb6d8e;
}
#recruit .details .hairetu {
  width: 1em;
  vertical-align: middle;
  margin-right: 5px;
}
#recruit .details .note {
  border: 1px solid #eb6d8e;
  border-radius: 5px;
  padding: 10px;
  color: #eb6d8e;
  font-weight: bold;
  margin-top: 10px;
}
#recruit .shimekiri p {
  background: #faefb6;
  border-radius: 5px;
  padding: 10px;
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1;
}
#recruit .shimekiri p .num {
  font-size: 2.8rem;
}
#recruit .shimekiri p .sub {
  font-size: 1rem;
}
#recruit .shimekiri .souhu {
  font-weight: bold;
}
#recruit .shimekiri .souhu dt {
  background: #61c1be;
  text-align: center;
  color: #fff;
  padding: 10px;
  margin: 0;
  font-size: 1.4rem;
}
#recruit .shimekiri .souhu dd {
  background: #e6f4f3;
  text-align: center;
  padding: 10px;
  margin: 0;
  font-size: 1.3rem;
}
#recruit .shimekiri .souhu dd.note {
  background: #fff;
}
#recruit .shinsa ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#recruit .items dt {
  margin: 0;
  color: #eb6d8e;
}
#recruit .items dd {
  margin-left: 1em;
  margin-bottom: 0.5em;
}
#recruit .shou dt {
  margin: 0;
  color: #eb6d8e;
}
#recruit .shou dd {
  margin-left: 1em;
  margin-bottom: 0.5em;
}
#recruit .shou dd.column {
  -moz-columns: 2;
       columns: 2;
}
#recruit .shou .note {
  border: 1px dashed #40220f;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 0.9rem;
}
#recruit .shou p .sub {
  color: #eb6d8e;
  font-size: 0.8rem;
}
#recruit .happyou ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#recruit .atsukai dt {
  color: #eb6d8e;
  position: relative;
  overflow: hidden;
  margin-bottom: 0.5em;
}
#recruit .atsukai dt:after {
  content: "";
  border-top: 2px dotted #eb6d8e;
  position: absolute;
  top: 50%;
  width: 100%;
}
#recruit .atsukai dd {
  margin-left: 0;
  margin-right: 0;
}
#recruit .hyoushou p .num {
  font-size: 1.3rem;
}
#recruit .sponser dt {
  color: #eb6d8e;
  margin-bottom: 10px;
}
#recruit .sponser dd {
  margin: 0 0 30px 0;
}
#recruit .sponser dd.column {
  -moz-columns: 2;
       columns: 2;
  -moz-column-gap: 10px;
       column-gap: 10px;
}
#recruit .haritsuke {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 20px;
}
#recruit .haritsuke img {
  width: 150px;
}
@media screen and (min-width: 768px) {
  #recruit .haritsuke img {
    width: 200px;
  }
}

#bottom {
  background: #faefb6;
  padding-top: 10px;
}
@media screen and (min-width: 768px) {
  #bottom .inner {
    padding-left: 0;
    padding-right: 0;
  }
}
#bottom .contacts {
  background: #fff;
  box-shadow: 0px 4px 0px 0px rgba(74, 36, 0, 0.5);
  padding: 15px;
  position: relative;
}
#bottom .contacts h3 {
  display: inline-block;
  margin: 0;
  padding: 0 26px 0 22px;
  line-height: 34px;
  letter-spacing: 0.1em;
  background: #61c1be;
  color: #fff;
  position: relative;
  left: -22px;
  margin-bottom: 10px;
}
#bottom .contacts h3:after {
  position: absolute;
  content: "";
  z-index: 1;
  top: 0;
  right: 0;
  width: 0px;
  height: 0px;
  border-width: 17px 10px 17px 0px;
  border-color: transparent #fff transparent transparent;
  border-style: solid;
}
#bottom .contacts h3:before {
  position: absolute;
  content: "";
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 7px transparent;
  border-right: solid 7px #a7381d;
}
#bottom .contacts address {
  font-style: normal;
  font-size: 0.85rem;
}
#bottom .contacts address .strong {
  font-size: 1rem;
}
#bottom .contacts .note {
  border-top: 2px dotted #40220f;
  border-bottom: 2px dotted #40220f;
  padding: 10px 5px;
}
#bottom .contacts .note p {
  text-indent: -1em;
  margin: 0 0 0 1em;
}
#bottom .img {
  padding: 20px 15px;
  text-align: center;
}
#bottom .img img {
  width: 65px;
}

#entry-form {
  background: #faefb6;
  padding-top: 30px;
  padding-bottom: 30px;
}
#entry-form .inner .subhead {
  width: 100%;
  background-color: #ed6d2b;
  color: #fff;
  margin-top: 0;
}
#entry-form .inner .subhead:before {
  border-left-color: #faefb6;
}
#entry-form .inner .subhead:after {
  border-right-color: #faefb6;
}
#entry-form .inner .section-body {
  padding: 20px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 4px 4px 0px 0px rgba(74, 36, 0, 0.5);
}
#entry-form .inner .section-body h2 {
  font-size: 1.2rem;
  color: #ed6d2b;
  text-align: center;
}
#entry-form .inner .section-body dd {
  margin: 0 0 1em 0;
}
#entry-form .inner .section-body input[type=text],
#entry-form .inner .section-body input[type=email] {
  max-width: 100%;
}
#entry-form .inner .section-body .form-block {
  border-top: 1px dashed #40220f;
  padding-bottom: 1em;
  margin-bottom: 1em;
  padding-left: 20px;
  padding-right: 20px;
}
#entry-form .inner .section-body .form-block:first-of-type {
  border-top: none;
}
#entry-form .inner .section-body .ppolicy {
  background: #fdeddf;
  padding: 15px;
}
#entry-form .inner .section-body .ppolicy a {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  color: #ed6d2b;
}

#contact-form {
  background: #d9eeed;
  padding-top: 30px;
  padding-bottom: 30px;
}
#contact-form .inner .subhead {
  background-color: #61c1be;
  color: #fff;
  margin-top: 0;
  width: 100%;
}
#contact-form .inner .subhead:before {
  border-left-color: #d9eeed;
}
#contact-form .inner .subhead:after {
  border-right-color: #d9eeed;
}
#contact-form .inner .section-body {
  padding: 20px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 4px 4px 0px 0px rgba(74, 36, 0, 0.5);
}
#contact-form .inner .section-body h2 {
  font-size: 1.2rem;
  color: #61c1be;
  text-align: center;
}
#contact-form .inner .section-body dd {
  margin: 0 0 1em 0;
}
#contact-form .inner .section-body input[type=text],
#contact-form .inner .section-body input[type=email] {
  max-width: 100%;
}
#contact-form .inner .section-body .form-block {
  border-top: 1px dashed #40220f;
  padding-bottom: 1em;
  margin-bottom: 1em;
  padding-left: 20px;
  padding-right: 20px;
}
#contact-form .inner .section-body .form-block:first-of-type {
  border-top: none;
}
#contact-form .inner .section-body .ppolicy {
  background: #f3fafa;
  padding: 15px;
}
#contact-form .inner .section-body .ppolicy a {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  color: #61c1be;
}

.ttl {
  font-size: 1.2rem;
  line-height: 40px;
  letter-spacing: 0.2em;
  border-bottom: 2px dashed #40220f;
  padding-left: 5px;
  padding-bottom: 5px;
  position: relative;
  margin-left: 15px;
}
.ttl:before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 3px;
  left: -15px;
  width: 10px;
  height: 40px;
  background: url(images/marker.png) no-repeat center;
  background-size: contain;
}
.ttl .sub {
  font-size: 1.3rem;
  letter-spacing: 0;
}

.site-footer {
  background: #007564;
  color: #fff;
  text-align: center;
  padding: 30px 10px;
}
.site-footer img {
  width: 122px;
}

.navgroup {
  margin-top: 60px;
  margin-bottom: 60px;
}
.navgroup .section-head {
  margin: 0;
  text-align: center;
  background: url(images/dots.png) repeat-x;
  background-size: auto 6px;
  background-position: center;
}
.navgroup .section-head span {
  display: inline-block;
  background: #faefb6;
  padding: 0 10px;
}

.center {
  text-align: center;
}

.flow .center {
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
  font-size: 0.9rem;
}

.new {
  color: #e9497e;
}

em {
  font-style: normal;
  font-weight: bold;
}