@charset "utf-8";

/*! 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; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* 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; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 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; /* 1 */
  font-size: 1em; /* 2 */
}

/* 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; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * 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; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * 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; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  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; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * 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; /* 1 */
  padding: 0; /* 2 */
}

/**
 * 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; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * 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; /* 1 */
  font: inherit; /* 2 */
}

/* 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;
}

/* normalize ここまで =============================================== */


@font-face {
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  font-style: normal;
  src: url("https://use.fontawesome.com/releases/v5.6.1/webfonts/fa-solid-900.woff2") format("woff2");
  font-display: swap;
}
body{
	padding: 0px;
	margin:0px;
	font-family: Arial, "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: #222;
    height: 100%;
    line-height: 1.7;
    background: url('./img/bg.jpg') repeat;
}
div, input {
    box-sizing: border-box;    
}
input {
    padding: 0.1rem 0.5rem;
}
select {
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
	background-position: calc(100% - 16px) calc(0.5rem + 4px), calc(100% - 11px) calc(0.5rem + 4px), calc(100% - 2rem) 0.1rem;
	background-size: 5px 5px, 5px 5px, 1px 1.5rem;
	background-repeat: no-repeat;
	padding: 0.1rem 3rem 0.1rem 1rem;
}
/* edge 文字位置がずれるので調整 */
_:-ms-lang(x)::backdrop, select {
    background-position: calc(100% - 16px) calc(0.5rem + 4px), calc(100% - 11px) calc(0.5rem + 4px), calc(100% - 2rem) 4px;
    padding: 4px 3rem 0 1rem;
}
_:lang(x)::-ms-, select {
    background-position: calc(100% - 16px) calc(0.5rem + 4px), calc(100% - 11px) calc(0.5rem + 4px), calc(100% - 2rem) 4px;
    padding: 4px 3rem 0 1rem;
}
a, a:hover, a:focus, a:active, a:visited {
	color: #222;
	text-decoration: none;
	outline: none;
}
img {
    width: 100%;
    height: auto;
}

/* flex */
.flex_container {
    display: flex;
    justify-content: center;
}
.flex_container.flex_start {
	justify-content: flex-start;
}
.flex_container.flex_end {
	justify-content: flex-end;
}
.flex_container.space_between {
    justify-content: space-between;
}
.align_items_center {
    align-items: center;
}
.align_items_baseline {
    align-items: baseline;
}
.flex_column {
    flex-direction: column;
}
.flex_column_row { /* sp column →　pc row */
    flex-direction: column;
}
@media all and (min-width: 960px) { /* pc */
    body {
        font-size: 14px;
    }
    .flex_column_row { /* sp column →　pc row */
        flex-direction: row;
    }
}
body #outline {
	width: 100%;
	max-width: auto;
    border: none;
    font-family: Arial, "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
}
/* header menu */
#header {    
	height: 100px;
}
.header_inner {
    width: 100%;
	max-width: 1240px;
	margin: 0 auto;
}
#header .logo {
	width: 80%;
	margin: 1rem auto 0;
	max-width: 280px;
}
#header .logout {
    flex-basis: 100%;
	text-align: right;
	padding: 0 0.5rem;
}
#main_menu {
    border: none;
    padding: 0;
    background-color: #5b9919;
    z-index: 10;
    position: relative;
}

#nav_drawer {
    position: relative;
    text-align: left;
    max-width: 1240px;
    margin: 0 auto;
}
/*チェックボックス等は非表示に*/
.nav_unshown {
      display:none;
}
/*アイコンのスペース*/
#nav_open {
	display: inline-block;
	width: 30px;
	height: 20px;
	vertical-align: middle;
	padding: 0.6rem 0 0.6rem 0.4rem;
	text-align: left;
}

#nav_open span, #nav_open span:before, #nav_open span:after {
    position: absolute;
    height: 3px;/*線の太さ*/
    width: 22px;/*長さ*/
    border-radius: 3px;
    background: #fff/*#82bc56*/;
    display: block;
    content: '';
    cursor: pointer;
    transition: all .6s;
}
#nav_open span:before {
    bottom: -8px;
}
#nav_open span:after {
    bottom: -16px;
}

/*閉じる用の薄黒カバー*/
#nav_close {
    display: none;/*はじめは隠しておく*/
    position: fixed;
    z-index: 9;
    top: 0;/*全体に広がるように*/
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: .6s ease-in-out;
}

/*中身*/
#nav_content {
    overflow: auto;
    position: absolute;
    top: 2.3rem;
    z-index: 10;/*最前面に*/
    width: 100%;
    /*max-width: 330px;/*最大幅（調整してください）*/
    height: auto;
    background: #5b9919;/*背景色*/
    transition: .6s ease-in-out;/*滑らかに表示*/
    -webkit-transform: translateY(-130%);
    transform: translateY(-130%);/*左に隠しておく*/
}
#nav_content a {
	height: 2.3rem;
	line-height: 2.3rem;
	border-top: 1px solid #fff;
    letter-spacing: 1px;
    color: #fff;
    font-size: 110%;
}
#nav_content a:hover {
	color: #cfac41;
}

/*チェックが入ったら*/
#nav_input:checked ~ #nav_open span {
	background: #5b9919;
}
#nav_input:checked ~ #nav_open span::before {
    opacity: 1;
	transform: rotate(45deg);
}
#nav_input:checked ~ #nav_open span::after {
    opacity: 1;
	bottom: -8px;
	transform: rotate(-45deg);
}
#nav_input:checked ~ #nav_close {
    display: block;/*カバーを表示*/
    opacity: .5;
}
#nav_input:checked ~ #nav_content {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);/*中身を表示*/
}
#nav_content .flex_container {
    flex-direction: column;
    text-align: center;
}
@media all and (min-width: 961px) { /* pc */
    #main_menu {
        mix-blend-mode: multiply;
    }
    #nav_open {
        display: none;
    }
    #nav_content {
        transform: translateX(0);
        position: relative;
        background-color: transparent;
        max-width: 90%;
        margin: 0 5%;
        top: 0;
        height: 6rem;
    }
    #nav_content .flex_container {
        justify-content: space-around;
        flex-direction: row;
        align-items: center;
        height: 3rem;
    }
    #nav_content a {
        text-align: center;
        position: relative;
        /*padding-left: 0.8rem;*/
        border-top: none;
    }
}
/* for IE 11 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    #main_menu {
        background-color: rgba(79,153,0,0.7);
    }
}
/* for Edge */
@supports (-ms-ime-align:auto) {
    #main_menu {
        background-color: rgba(79,153,0,0.7);
    }
}

/* main_content */
#maincontent {
	overflow: hidden;
    background-color: transparent;
}
/* page_title */
#page_title {
	text-align: center;
    margin: 2rem 1rem;
    border: none;
    border-bottom: 2px solid #000;
    padding: 0;
}
#page_title img {
	max-height: 25px;
    width: auto;
}
@media all and (min-width: 961px) { /* pc */
    #page_title {
        max-width: 960px;
        margin: 2rem auto;
    }
    #page_title img {
        max-height: 30px;
    }
}

/* footer */
#footer {
	clear: both;
	background-color: #5b9919;
    mix-blend-mode: multiply;
	padding: 1rem;
    border: none;
    color: #fff;
}
/* for IE 11 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    #footer {
        background-color: rgba(79,153,0,0.7);
    }
}
/* for Edge */
@supports (-ms-ime-align:auto) {
    #footer {
        background-color: rgba(79,153,0,0.7);
    }
}
.footer_inner {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
}
.fotter_menu {
	text-align: right;
    margin-bottom: 1rem;
}
#footer a, #footer a:hover, #footer a:focus, #footer a:active, #footer a:visited {
	color: #fff;
}
.copyright {
	font-size: 80%;
}

/******** pages **********/
.br_sp {
    display: block;
}
#maincontent_inner {
    min-height: calc(100vh - 300px);
}
#maincontent_inner table {
    margin: 0 auto;
}
.t_aligncenter {
	text-align: center;
}
.pointer {
    cursor: pointer;
    transition: all .6s;
}
.pointer.go_btn, .pointer.cancel_btn {
	padding: 0.2rem 3rem;
    color: #fff;
    font-size: 110%;
	border-radius: 5px;
    text-align: center;
    margin: 1rem 1rem 1rem 0;
    border: none;
    line-height: 1.5;
}
.pointer.go_btn a, .pointer.cancel_btn a {
    color: #fff;
}
.pointer.go_btn {
	background-color: #5b9919;
}
.pointer.go_btn:hover {
    background-color: #ccffcc;
}
.pointer.cancel_btn {
	background-color: #9fa0a0/*#aaa*/;
}
.pointer.cancel_btn:hover {
    background-color: #ccc;
}
.btn_area {
    /*align-content: center;*/
}
.btn_area .cancel_btn, .btn_area .go_btn {
	flex-basis: 48%;
    max-width: 200px;
	padding: 0.2rem 0;
    margin: 1rem 2% 1rem 0;
}
.btn_area .cancel_btn {
    letter-spacing: normal;
    margin: 1rem 0 1rem 2%;
}
.strc {
	clear: both;
	position: relative;
	padding: 1rem 0 2rem;
}
.strc span {
	cursor: pointer;
}
@media all and (min-width: 961px) { /* pc */
    .br_sp {
        display: none;
    }
}

/* login */
.page_login #maincontent_inner {
	max-width: 700px;
    padding-top: 5rem;
    min-height: calc(100vh - 200px);
}
.page_login .pointer.go_btn {
    margin: 2rem auto;
    letter-spacing: normal;
}
.id_input {
    margin-bottom: 1rem;
}
.id_input input, .pass_input input {
    border-radius: 5px;
    line-height: 1.5;
    border: solid 1px #bbb;
    width: 200px;
}
.pass_input input {
    /*width: 220px;*/
}
@media all and (min-width: 961px) { /* pc */
    .page_login .pointer.go_btn {
        margin: 3rem auto;
    }
    .id_input {
        margin-bottom: 2rem;
    }
    .id_input div:first-child, .pass_input div:first-child {
        flex-basis: 150px;
    }
    .id_input div:nth-child(2), .pass_input div:nth-child(2) {
        text-align: right;
    }
}

/* home */
#link_area {
	flex-wrap: wrap;
    max-width: 960px/*700px*/;
    margin: 1rem auto;
}
#link_area .link {
	flex-basis: 48%;
	height: 100px;
	border-radius: 5px;
	font-size: 18px;
	margin: 0.5rem 1%;    
    /*background-color: #82bc56;*/
    font-weight: bold;
    height: auto;
    transition: all .6s;
}
#link_area .link img {
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
    border-radius: 13px;
}

#link_area .link img:hover {
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4);
    /*background-color: #ccffcc;*/
    transition: all .6s;
}

#campaign_area {
    max-width: calc(960px - 1rem);
    margin: 1rem auto;
    position: relative;
}
#campaign_area iframe {
	width: 100%;
	height: 500px;
    border: none;
}
@media all and (min-width: 481px) {
    #link_area {
	   margin: 1rem auto;
    }
    #link_area .link {
	   flex-basis: 24%;
    }
}
@media all and (min-width: 961px) {
    #campaign_area iframe {
        height: 1350px;
    }
}

/* notes, info, lineup */
td {
    box-sizing: border-box;
}
.ichiran tr td:last-child a {
    color: #fff;
}
.ichiran tr td:last-child a span, .ichiran tr td:last-child p span {
    color: #fff100;
}
.ichiran tr td:last-child a:hover, .ichiran tr td:last-child a:hover span,
.ichiran tr td:last-child:hover, .ichiran tr td:last-child:hover p span {
    color: #cfac41;
}
.ichiran tr td:last-child p {
    margin: 0;
    line-height: 1;
    transition: none;
}
.ichiran tr td:last-child p span.to_pdf {
    margin: 0;
    color: #fff;
    font-size: 80%;
}
.page_lineup .ichiran tr td:nth-child(3) span {
    line-height: 2;
    background: #9fa0a0;
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-size: 80%;
}

@media all and (max-width: 960px) { /* タブレットまで */
    .ichiran tr {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
        box-shadow: 0 0 3px #9fa0a0/*#aaa*/;
        margin: 0.5rem auto;
        border-radius: 5px;
    }
    .ichiran .w800 {
        width: calc(100% - 60px);
        border: none;
        padding-left: 1rem;
    }
    .ichiran .w600 {
        width: 100%;
        border: none;
        padding-left: 1rem;
    }
    .ichiran .w100 {
        width: auto;
    }
    .ichiran .waku4c {
        border: none;
    }
    .ichiran tr > td:first-child {
        background: #5b9919/*#ccffcc*/;
        border-radius: 5px 0;
        margin-right: 1rem;
        color: #fff;
    }
    .ichiran tr td:last-child {
        background-color: #5b9919/*#ccffcc*/;
        color: #fff;
        border-radius: 5px 0;
        padding: 0.2rem;
        width: 60px;
    }
    .page_notes .ichiran tr > td:nth-child(2),
    .page_info .ichiran tr > td:nth-child(2),
    .page_lineup .ichiran tr > td:nth-child(2) {
        border-bottom: 1px solid #ddd;
    }
    /*.page_notes .ichiran tr > td:nth-child(2)::before,
    .page_info .ichiran tr > td:nth-child(2)::before,
    .page_lineup .ichiran tr > td:nth-child(2)::before {
        content: '掲載日：';
        font-size: 80%;
    }*/
    .page_notes .ichiran tr td > a,
    .page_info .ichiran tr td > a {
        display: block;
    }
    /*.page_notes .ichiran tr td > a::before,
    .page_info .ichiran tr td > a::before {
        content: '詳細';
        font-size: 80%;
        line-height: 1;
        display: block;
    }*/
    .page_lineup .ichiran tr {
        position: relative;
    }
    .page_lineup .ichiran tr td:nth-child(3) {
        width: 100%;
        text-align: left;
        margin: 0.5rem 0.5rem 0.2rem;
        line-height: 1.5;
    }
    .page_lineup .ichiran tr td:nth-child(4), .ichiran tr td:nth-child(5) {
        /*margin: 0 2%;*/
        position: relative;
        text-align: right;
        /*padding-right: 2.5rem;*/
        height: 45px;
    }
    .page_lineup .ichiran tr td:nth-child(4) {
        width: calc(100% - 60px);
        padding-right: 0.5rem;
        background-color: #cfac41/*#5b9919*/;
        margin-left: calc(100% - 125px);
        width: 60px;
        margin-right: 5px;
        border-radius: 5px 5px 0 0;
    }
    .page_lineup .ichiran tr td:nth-child(5) {
        width: 60px;
        line-height: 40px;
        text-align: center;
        /*margin: 0 2% 0 0;*/
    } 
    /*
    .page_lineup .ichiran tr td:nth-child(4)::before {
        content: 'チラシ';
        display: block;
        position: absolute;
        top: 30%;
        right: 0;
        font-size: 80%;
    }
    .page_lineup .ichiran tr td:nth-child(5)::before {
        content: '申込み';
        display: block;
        position: absolute;
        top: 30%;
        right: 0;
        font-size: 80%;
    }
    */
    .page_lineup .ichiran tr td:nth-child(4) img,
    .page_lineup .ichiran tr td:nth-child(5) img {
        max-height: 35px;
        width: auto;
        display: inline-block;
        margin: 5px;
    }
}
@media all and (min-width: 961px) {
    .ichiran {
        border-collapse: separate;
        border-spacing: 0 5px;
    }
    /*.ichiran tr:first-child td {
        text-align: center;
    }*/
    table.ichiran td {
        font-size: 16px;
        border: none;
        border-color: #bbb;
        /*box-shadow: 0 0 2px #ccc;*/
    }
    .page_notes table.ichiran td:nth-child(4),
    .page_info table.ichiran td:nth-child(4),
    .page_lineup table.ichiran td:nth-child(5),
    .page_lineup table.ichiran td:nth-child(6) {
        /*padding: 0.2rem;
        width: 55px;*/
        border-radius: 5px;
        padding: 0.5rem;
        width: 70px;
        height: 50px;
    }
    .ichiran td img {
        vertical-align: middle;
    }
    .ichiran tr td:first-child, .ichiran tr td:last-child {
        background-color: #5b9919/*#ccffcc*/;
        color: #fff;
        border: none;
    }    
    .ichiran .w800 {
        width: 600px;
        padding-left: 1rem;
    }
    .ichiran tr td:first-child {
        font-size: 120%;
    }    
    .ichiran tr td:nth-child(2) {
        width: auto;
        padding: 0 0.5rem;
        color: #5b9919;
        font-size: 120%;
    }
    .page_lineup .ichiran {
        border-collapse: separate;
        border-spacing: 5px 10px;
    }
    .page_lineup .ichiran tr td:nth-child(3) {
        width: auto;
        padding: 0 0.5rem;
        max-width: 530px;
        text-align: left;
        line-height: 1.5;
    }
    .page_lineup .ichiran tr td:nth-child(4) {
    }
    .page_lineup .ichiran tr td:nth-child(4) {
        background-color: #cfac41/*#5b9919*/;
        border-radius: 5px;
    }
    .page_lineup .ichiran tr td:nth-child(5) {
        cursor: pointer;
        width: auto;
        padding: 0.3rem;
    }
}
/* notes1, info1  */
.h2 {
	margin: 1rem 0.5rem 0;
	width: 100%;
	float: none;
	line-height: 1.5;
}
.sentences {
	margin: 1rem 0.5rem;
}
.page_notes1 .photo, .page_info1 .photo {
    width: 50%;
    min-width: 300px;
    padding: 1rem;
}
.photos.flex_container {
    flex-wrap: wrap;
}
@media all and (min-width: 961px) {
    .h2 {
	   margin: 2rem 2rem 0;
    }
    .page_notes1 #maincontent_inner > .flex_container,
    .page_info1 #maincontent_inner > .flex_container {
        align-items: flex-start;
    }
    .page_notes1 #maincontent_inner > .flex_container > div:first-child,
    .page_info1 #maincontent_inner > .flex_container > div:first-child {
        flex-basis: 70%;
        padding: 0 1rem 0 2rem;
    }
    .page_notes1 .flex_container > div:last-child,
    .page_info1 .flex_container > div:last-child {
        flex-basis: 30%;
        padding: 0 1rem;
    }
    .sentences {
        margin: 1rem auto;
    }
}
/* apply */
.page_apply #maincontent_inner {
	max-width: 700px;
}
.apply_area {
	margin-bottom: 2rem;
}
.apply_area.member_area, .apply_area.form_area {
    border-top: 2px dotted #ccffcc;
}
.apply_area > div {
	margin: 0.5rem auto 1rem;
	width: 90%;
}
.apply_area h2 {
	margin-bottom: 0;
}
.apply_area > div.setsumei {
	margin: 0 auto auto 0;
}
.apply_area .h3, .apply_area .h4 {
	float: none;
	margin: 0;
}
.apply_area .input_field {
    float: none;
    margin-left: 2rem;
}
.apply_area.form_area .h2 {
	margin: 1rem auto;
	font-size: 100%;
}
.apply_area .w400 {
    width: 150%;
    max-width: 400px;
}
.apply_area .w300, .apply_area .w200, .apply_area .w100 {
    width: 100%;
    max-width: 300px;
}
.apply_area.form_area > div >.flex_container {
    margin-bottom: 0.5rem;
}
.apply_area.member_area > div >.flex_container .h3 {
    flex-basis: 35%;
    min-width: 110px;
}
.apply_area.form_area > div >.flex_container .h3 {
    flex-basis: 25%;
    min-width: 110px;
}
.apply_area textarea {
    width: 100%;
}
#busu {
	width: 100px;
    text-align: right;
}
#busu + span {
	margin: 2px auto auto 0.5rem;
}
.apply_area.form_area > div > .under {
	margin-left: 1rem;
}
#todofuken2 {
    width: 150px;
}
.apply_area > div > .flex_container input,
.apply_area > div > .flex_container select,
.apply_area > div > .flex_container textarea {
    border-radius: 5px;
    line-height: 1.7;
    border: solid 1px #bbb;
}
.apply_area > div > .flex_container input[type="checkbox"] {
    vertical-align: -1px;
    margin-left: 5px;
}
/*
.apply_area.form_area .flex_container:nth-child(5),
.apply_area.form_area .flex_container:nth-child(6),
.apply_area.form_area .flex_container:nth-child(7),
.apply_area.form_area .flex_container:nth-child(8) {
    margin-left: 2rem;
}
*/
.apply_area.form_area .flex_container:nth-child(6) {
    margin-bottom: 1rem;
}
.page_apply .btn_area {
	margin-top: 1rem;
}
@media all and (min-width: 961px) { /* pc */
    .apply_area > div > .flex_container .h3,
    .apply_area > div > .flex_container .h4 {
        flex-basis: 110px;
        align-self: center;
    }
    .apply_area textarea {
        width: 75%;
    }
    .apply_area .input_field {
        margin-left: 0;
    }
    .apply_area.form_area .flex_container:nth-child(2) > div:first-child,
    .apply_area.form_area .flex_container:nth-child(7) > div:first-child,
    .apply_area.form_area .flex_container:nth-child(8) > div:first-child {
        align-self: flex-start;
    }
/*
    .apply_area.form_area .flex_container:nth-child(5),
    .apply_area.form_area .flex_container:nth-child(6),
    .apply_area.form_area .flex_container:nth-child(7),
    .apply_area.form_area .flex_container:nth-child(8) {
        margin-left: 25%;
    }
*/
}
/* soba */
#maincontent_inner {
    position: relative;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0.5rem;
}
.result {
	font-size: 110%;
}
#category_area {
	
}
#category {
	flex-wrap: wrap;
	margin-top: 1rem;
    padding: 0;
    justify-content: center;
}
#category > div {
	flex-basis: calc(50% - 4px);
	margin: 0.2rem 2px;
	text-align: center;
	background-color: #9fa0a0/*#aaa*/;
	border-radius: 5px;
    color: #fff;
}
#category > div.selected {
    background-color: #b69213;
}
#category > div:hover {
    background-color: #b69213;
}

#subcategory_area {
	
}
#subcategory {
	flex-wrap: wrap;
	margin-top: 1rem;
    padding: 0;
    justify-content: center;
}
#subcategory > div {
	flex-basis: calc(50% - 4px);
	margin: 0.2rem 2px;
	text-align: center;
	background-color: #9fa0a0/*#aaa*/;
	border-radius: 5px;
    color: #fff;
}
#subcategory > div.selected {
    background-color: #b69213;
}
#subcategory > div:hover {
    background-color: #b69213;
}

#search_area {
	flex-direction: column-reverse;
    padding: 0.5rem;
    max-width: 600px;
    margin: 0 auto;
}
#search_area > div {
	margin: 0.5rem 0;
}
#search div:nth-child(2) {
    position: relative;
}
#search div:nth-child(2) input {
	width: 100%;
    border-radius: 15px;
    line-height: 2;
    /*border: solid 1px #bbb;*/
    border: none;
    box-shadow: 0 0 5px #ccc, 1px 1px 3px #777;
}
#search div:nth-child(2) .fa-search {
	position: absolute;
	right: -1px;
	top: -1px;
	background-color: #fefefe;
	padding: 9px;
	border-radius: 50%;
	color: #898989;
	/* box-shadow: -1px 0 1px #ccc; */
	border: 1px solid #ddd;
	/* box-sizing: border-box; */
}
#search .go_btn {
	margin: 0.5rem 0 0;
}
#item_area {
	flex-wrap: wrap;
    padding: 0.2rem;
}
.item_box {
	padding: 0.5rem 0.4rem 0.5rem 0.5rem;
	margin: 0.2rem;
	/* border: solid 1px #bbb; */
	background: #fff;
	border-radius: 8px;
	flex-basis: calc(50% - 0.4rem);
	box-shadow: 1px 1px 4px #ddd, 0px 0px 2px #ddd;
    font-weight: normal;
}
.item_box p.short_name {
    line-height: 1.4;
    margin-top: 0.5rem;
}
.item_box p {
	margin: 0;
}
p.item_no {
    font-weight: bold;
}
p.item_date {
	font-size: 90%;
}
.price {
    text-align: center;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
    background-color: #5b9919;
    color: #fff;
    border-radius: 5px;
    padding: 0.3rem 0.2rem 0.2rem 0.3rem;
    font-size: 1.4rem;
    line-height: 1;
    margin-top: 0.5rem;
}
.price_title {
	font-size: 40%;
	line-height: 1.1;
}
.price span.small {
	font-size: 50%;
    padding-left: 0.2rem;
}
.detail {
    display: none;
    justify-content: center;
    align-items: center;
	position: fixed;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0,0,0,0.1);
	top: 0;
	left: 0;
    z-index: 20;
}
.detail_inner {
    position: relative;
	max-width: calc(600px + 2rem);
	width: 90vw;
    max-height: 94vh;
	background-color: #fff;
	padding: 2rem 1rem 0;
    text-align: center;
    overflow-y: auto;
}
.detail_inner i {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
	font-size: 2rem;
	text-align: right;
    color: #5b9919;
}
@media screen and (orientation: landscape) {
    .detail_inner img {
        width: auto;
        max-height: 70vh;
        min-height: 250px;
    }
}

@media all and (min-width: 560px) { /* タブレット */
    #category {
        justify-content: flex-start;
    }
    #category > div {
        flex-basis: calc(33% - 4px);
    }
    #subcategory {
        justify-content: flex-start;
    }
    #subcategory > div {
        flex-basis: calc(33% - 4px);
    }
    .item_box {
        flex-basis: calc(33% - 0.4rem);
    }
    .price {
        font-size: 1.6rem;
    }
}
@media all and (min-width: 769px) {  
    #search .go_btn {
        /*margin: 0.5rem 0;*/
    }
    #category > div {
        flex-basis: calc(20% - 4px);
    }
    #subcategory > div {
        flex-basis: calc(20% - 4px);
    }
    .item_box {
        flex-basis: calc(25% - 0.4rem);
    }
    .price {
        font-size: 1.8rem;
    }
}
@media all and (min-width: 961px) { /* pc */
    .page_soba #maincontent_inner {
        min-height: 820px;
    }
    #search_area {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        max-width: unset;
        margin: auto;
    }
    #search_area > div {
        /*padding: 0 1rem;*/
    }
    #search {
        align-items: center;
    }
    #search > div {
        margin: 0 0.5rem;
    }
    #search > div:nth-child(2) {
        width: 400px;
        margin-right: 0;
    }
    #search .go_btn {
        padding: 0.05rem 0.5rem;
        margin: 0 0 0 0.5rem;
    }
    #category {
        position: absolute;
        width: 160px;
        top: 5rem;
        justify-content: flex-start;
        margin-top: 0;
    }
    #category > div {
        flex-basis: 100%;
    }
    #subcategory {
        position: absolute;
        width: 160px;
        top: 20rem;
        justify-content: flex-start;
        margin-top: 0;
    }
    #subcategory > div {
        flex-basis: 100%;
    }
    #item_area {
        width: calc(100% - 180px);
        float: right;
        position: relative;
    }
}

/* mypage */
.page_mypage #maincontent_inner {
	max-width: 700px;
}
.page_mypage h2 {
	font-size: 1.2rem;
}
#info_area {
    padding-bottom: 1rem;
}
#info_area > div, #pass_area > div {
	margin: 1rem auto;
	width: 90%;
}
#info_area > div >.flex_container, #pass_area > div >.flex_container {
	margin-top: 1rem;
}
#info_area > div > .flex_container:nth-child(2) input,
#info_area > div > .flex_container:nth-child(3) input,
#info_area > div > .flex_container:nth-child(7) input,
#info_area > div > .flex_container:nth-child(8) input {
	max-width: 300px;
}
#info_area > div > .flex_container:nth-child(4) input,
#info_area > div > .flex_container:nth-child(5) select {
    max-width: 150px; 
}
#info_area > div > .flex_container > input,
#info_area > div > .flex_container > select {
    border-radius: 5px;
    line-height: 1.7;
    border: solid 1px #bbb;
}
#info_area > div > .flex_container > select {
	width: 140px;
}
#pass_area {
	padding-top: 1rem;
	border-top: 2px dotted #ccffcc;
}
#pass_area > div > .flex_container > input {
    line-height: 1.7;
    border: none;
    border-bottom: solid 1px #bbb;
    padding: 0 0.5rem;
    text-align: center;
}
@media all and (min-width: 961px) { /* pc */
    #info_area > div >.flex_container, #pass_area > div >.flex_container {
        align-items: center;
    }
    .info_title {
        flex-basis: 25%;
    }
    #info_area > div > .flex_container > input {
        flex-basis: 75%;
    }
}
#hp_link_area {
	text-align: center;
	margin: 0 0.5rem;
}
.hp_link {
	font-size: 32px;
}
