@charset "utf-8";

/*
Theme Name: Hanamaru Prefix
Theme URI: 
Description: Hanamaru Prefix
Version: 0.21.09.30
Author: OA推進センター
Author URI: 
*/

:root {
  --main-bg-color: #FFE45F;
  --sub-bg-color: #FFFBE5;
  --color-black: #231815;
  --main-color: #f39800;
  --font-round: normal 500 1em/1.4 'M PLUS Rounded 1c', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
}
body {
  position: relative;
  min-height: 100vh;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
  background-color: #ffffff;
}
img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}
a {
  color: inherit;
  text-decoration: none;
  word-break: break-all;
}
a img {
  transition: all 200ms 0s ease;
}
a:hover {
/*  text-decoration: underline; */
}
a:hover {
  opacity: 0.7;
}

@media screen and (max-width: 900px) {
body {
  font-size: 0.8rem;
}
}
@media screen and (max-width: 450px) {
body {
  font-size: 0.6rem;
}
}

/**********

**********/
.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2em 1em;
}


.sp {
  display: none;
}

.link_button {
  display: inline-block;
  margin-left: 0.5em;
  padding: 0.4em 0.8em;
  font-weight: 700;
  background-color: #ffffff;
  border-radius: 3px;
  filter: drop-shadow(1px 1px 0 rgba(0,0,0,1));
  transition: all 0.2s;
}
.link_button:hover {
  padding: 0.5em 0.7em 0.3em 0.9em;
  filter: drop-shadow(-1px -1px 0 rgba(0,0,0,1));
}
@media screen and (max-width: 680px){
  .link_button {
    padding: 0.2em 0.4em;
    font-size: 1em;
  }
}




/**********
ヘッダ
**********/
header {
  position: fixed;
  z-index: 100;
  width: 100%;
  padding: 0 5px;
  background-color: var(--main-bg-color);
}
header .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}
header .header_logo {
  max-width: 300px;
}
header .header_logo img{
  max-height: 85px;
}

header .header_link {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 68%;
}
header .member_name {
  margin: 0 1.5em;
  line-height: 1.2;
  font-weight: 700;
}
header .header_plus {
  margin-left: 20px;
  text-align: right;
}
header .header_plus img {
  height: 1em;
}

header .menu_button {
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
}
header .menu_open {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 2.4em;
  height: 2.4em;
}
header .menu_open span {
  display: block;
  width: 100%;
  height: 0.3em;
  background-color: #000000;
}
header .menu_close {
  position: absolute;
  right: 30px;
  top: 20px;
  width: 1.4em;
  height: 1.4em;
  background: url("./images/menu/icon_close.svg") 50% 50% no-repeat;
  background-size: contain;
}

@media screen and (max-width: 900px) {
  header .content {
    height: 60px;
    padding: 0 0.5em;
  }
  header .header_logo {
    max-width: 250px;
  }
  header .header_logo img{
    max-height: 70px;
  }
}
@media screen and (max-width: 450px) {
header {
  padding: 0 10px;
}
  header .header_link a {
    font-size:0.9em;
  }
header .content {
  height: 50px;
}
header .header_logo {
}
header .member_name {
  margin: 0 1em;
}
}

.header_modal {
  position: absolute;
  z-index: 20;
  right: -500px;
  top: 0;
  width: 90vw;
  max-width: 500px;
  height: 100vh;
  padding: 20px 30px;
  font: var(--font-round);
  font-size: 2em;
  background-color: #ffffff;
  transition: all 0.5s;
}
.header_modal_open {
  right: 0;
}
.header_modal .modal_menu {
  margin-top: 2.4em;
}
.header_modal .modal_menu ul {
  list-style-type: none;
  width: 100%;
  border-top: solid 2px #000000
}
.header_modal .modal_menu ul li {
  border-bottom: solid 2px #000000
}
.header_modal .modal_menu ul li a {
  display: block;
  position: relative;
  width: 100%;
  padding: 0.7em 2.7em;
  background-position: 0.7em center;
  background-repeat: no-repeat;
  background-size: auto 1.4em;
}
.header_modal .modal_menu ul li a:after {
  content: '';
  position: absolute;
  right: 0.7em;
  top: 50%;
  width: 1em;
  height: 1em;
  margin-top: -0.4em;
  background: url("./images/menu/icon_arrow.svg") 50% 50% no-repeat;
  background-size: contain;
}
.header_modal .modal_menu .menu_mymenu   { background-image: url("./images/menu/icon_mymenu.svg"); }
.header_modal .modal_menu .menu_favorite { background-image: url("./images/menu/icon_favorite.svg"); }
.header_modal .modal_menu .menu_plan     { background-image: url("./images/menu/icon_plan.svg"); }
.header_modal .modal_menu .menu_history  { background-image: url("./images/menu/icon_history.svg"); }
.header_modal .modal_menu .menu_logout   { background-image: url("./images/menu/icon_logout.svg"); }

.header_modal_back {
  position: absolute;
  z-index: 15;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
}
.header_modal_back_wide {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.3);
}


/**********
フッタ
**********/
footer {
  position: relative;
  width: 100%;
  padding-top: 10px;
  background-color: #ffe35f;
  filter: drop-shadow(0 -5px 5px rgba(0,0,0,0.3));
}
footer .footer_logo {
  margin: 1.5em 0;
  text-align: center;
}
footer .footer_logo img {
  max-width: 300px;
}
footer .footer_copyright {
  margin: 1.5em 0;
  text-align: center;
  font-size: 0.74em;
}
footer nav ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0.5em 0 0 0;
  padding: 0 0;
  font-weight: 700;
  transition: all 0.5s;
}
footer nav ul li:after {
  content: '|';
  padding: 0 0.4em;
}
footer nav ul li:last-of-type:after {
  display: none;
}

footer nav ul li a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
footer nav ul li a:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #000000;
  transition: all 0.3s;
  transform: scale(0, 1);

  transform-origin: left top;
}
footer nav ul li a:hover:after {
  transform: scale(1, 1);
}
@media screen and (max-width: 560px) {
footer .footer_logo img {
  max-width: 50%;
}
}


/**********
パンくずリスト
**********/
.area_breadcrumb {
  max-width: 1240px;
  margin: 1em auto;
  padding: 0 20px;
}
.area_breadcrumb ol {
  list-style-type: none;
  display: flex;
  justify-content: flex-start;
  padding: 0;
  font-size: 0.8em;
}
.area_breadcrumb ol li:after {
  content: '＞';
  padding: 0 0.5em 0 0.3em;
}
.area_breadcrumb ol li:last-of-type:after {
  display: none;
}
.area_breadcrumb ol li a {
  text-decoration: underline;
}


/**********

**********/
main {
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 10px;
}
article {
  max-width: 1040px;
  padding: 0 20px;
  margin: 3em auto;
}

@media screen and (max-width: 900px) {
main {
  padding-top: 60px;
}
}
@media screen and (max-width: 450px) {
main {
  padding-top: 50px;
}
}


/**********
メイン
**********/
article p {
  margin: 0.8em 0;
  line-height: 1.5;
}
article a {
  text-decoration: underline;
}

.area_landing_top {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 500;
}

.area_about {
  margin-bottom: 20px;
  padding: 30px 20px;
  background-color: #FFF3B8;
}
.area_about .area_about_inner {
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}
.area_about .area_about_image {
  float: left;
  width: 100px;
  margin-right: 20px;
}
.area_about .area_about_title {
  float: left;
  width: calc(100% - 120px);
  margin-bottom: 0.3em;
  font-size: 1.4em;
  letter-spacing: 0.1em;
  border-bottom: solid 2px #000000;
}




/**********

**********/
.area_tile {
  position: relative;
  max-width: 1040px;
  margin: 3em auto;
}
.item_tile {
  display: flex;
  justify-content: center;
  position: relative;
}
.item_tile_space {
  margin-bottom: 3em;  
}

.item_tile_button {
  position: absolute;
  left: 10%;
  width: 80%;
  margin: 1em auto;
}
.position_top .item_tile_button {
  top: 5%;
}
.position_center .item_tile_button {
  top: 50%;
  margin-top: -1.4em;
}
.position_bottom .item_tile_button {
  bottom: 5%;
}
.item_tile_button a {
  display: block;
  width: 100%;
  padding: 0.4em 1em;
  text-align: center;
  line-height: 1.2;
  font-size: 2.8em;
  font-weight: 700;
  text-decoration: none;
  border: solid 5px #ffffff;
  border-radius: 1em;
  filter: drop-shadow(0 5px 3px rgba(0,0,0,0.35));
}

.item_tile .item_tile_button_maru a {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 500;
}

@media screen and (max-width: 900px) {
.item_tile_button {
  padding: 5px 20px;
}
.item_tile_button a {
  font-size: 4.4vw;
}
}





.area_link {
  margin: 3em;
  text-align: center;
}

.title_h1 {
  margin: 0 0 0.5em 0;
  padding: 0.1em 0;
  font-size: 2em;
  font-weight: 700;
}

/**********

**********/
article.page_normal {
  max-width: 1040px;
  padding: 0 20px;
  margin: 0 auto;
}
article  a {
  color: #0068B7;
}


article.page_normal .style_col2 table {
  width: 100%;
  margin: 1em 0;
  border-collapse: collapse;
  border-top: solid 1px var(--color-black);
  border-bottom: solid 1px var(--color-black);
}
article.page_normal .style_col2 td {
  padding: 0.7em 1.4em;
}
article.page_normal .style_col2 td:first-of-type {
  vertical-align: top;
  white-space: nowrap;
  text-align: left;
  font-weight: 400;
  color: #ffffff;
  background-color: var(--color-black);
  border-bottom: solid 1px #ffffff;
}
article.page_normal .style_col2 tr:last-of-type td:first-of-type {
  border-bottom: solid 1px var(--color-black);
}
article.page_normal .style_col2 td {
  border-bottom: solid 1px var(--color-black);
}

@media screen and (max-width: 450px) {
article.page_normal .style_col2 table, article.page_normal .style_col2 td {
  display: block;
  border: none;
}
article.page_normal .style_col2 td {
  margin-bottom: 0.7em;
}
article.page_normal .style_col2 td:first-of-type {
  white-space: normal;
  margin-bottom: 0;
}
article.page_normal .style_col2 td:first-of-type br {
  display: none;
}
}


.area_term {
  display: block;
  margin: 1em auto;
}
.area_term:last-of-type {
  margin-bottom: 0 !important;
}
.area_term .s_head {
  padding: 0.2em 1em 0.1em 1em;
  text-align: center;
  font-size: 2em;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--color-black);
  margin: 0.5em 0 1em 0;
}
.area_term .s_title {
  margin: 1.4em 0 0.5em 0;
  font-size: 1.4em;
  font-weight: 700;
}
.area_term .s_sign {
  margin-top: 2em;
}
.right {
  text-align: right;
}


ol {
  counter-reset: li;
  margin: 0.4em 0;
  padding-left: 1.5em;
}
ul {
  margin: 0.4em 0;
  padding-left: 1.5em;
}
ol li, ul li {
  margin-bottom: 1em;
}
ol li p {
  margin: 0.8em 0 0.8em 0.5em;
}
ol.list_second li, 
ol.list_lalpha li {
	list-style: none;
  position: relative;
	margin: 0 0 0.5em 1.1em;
}
ol.list_second li:before, 
ol.list_lalpha li:before {
	position: absolute;
	top: 0;
	right: 100%;
	counter-increment: li;
}
ol.list_second li:before {
	content: '（'counter(li)'）';
}
ol.list_lalpha li:before {
	content: counter(li,lower-alpha)'）';
}

.area_term ul.list_nopoint {
  list-style-type: none;
  padding-left: 0;
}
.area_term ul > li {
  margin-bottom: 1.4em;
}
.area_term .style_subtext {
  display: inline-block;
  margin-left: 1em;
}
.area_term table {
  margin: 1em 0 2em 0;
}
.area_term table td{
  padding: 0.2em 2em 0.2em 0; 
  font-size: 0.8em;
}

.style_indent {
  display: inline-block;
  margin-left: 1em;
  text-indent: -1em;
}

/**********

**********/
.terms {
  margin-bottom: 5em;
}
.terms .title_h1 {
  padding: 0.2em 1em 0.1em 1em;
  text-align: center;
  color: #ffffff;
  background-color: #000000;
}
.terms .title_h2 {
  margin: 1.4em 0 0 0;
  font-size: 1.4em;
  font-weight: 700;
}
.terms .title_h2 + p {
  margin-top: 0.4em;
}
.terms .text_add{
  margin: 2em 0;
}

.terms table {
  width: 100%;
  border: none;
  border-left: solid 1px #000000;
}
.terms table td {
  border: none;
  border-right: solid 1px #000000;
}

.terms ul {
  margin: 0.4em 0;
  padding-left: 1.8em;
}

.terms ol.list_lalpha {
	margin-bottom: 2em;
}

/**********

**********/
.area_subpage {
  padding: 0 20px;
  font: var(--font-round);
  text-align: center;
}
.area_subpage .subpage_title {
  margin-top: 5vh;
  margin-bottom: 0;
  line-height: 1.2;
  font-size: 3.5em;
}
.area_subpage .subpage_title img {
  width: 2.5em;
  margin-bottom: 0.5em;
}
.area_subpage .subpage_title_sub {
  display: inline-block;
  margin: 0.2em auto;
  padding-bottom: 0.5em;
  font-size: 1.5em;
  border-bottom: solid 2px #000000;
}
.area_subpage .subpage_error_text {
  width: 100%;
  max-width: 650px;
  margin: 1em auto;
  text-align: left;
}
.area_subpage .button_totop,
.area_subpage .box_maintenance {
  display: inline-block;
  margin: 1em auto 0.7em auto;
  padding: 0.5em 1em;
  font-size: 1.4em;
  text-decoration: none;
  background-color: #ffe45f;
  border-radius: 10px;
}
.area_subpage .subpage_title span,
.area_subpage .box_maintenance span {
  white-space: nowrap;
}
@media screen and (max-width: 450px) {
.area_subpage .subpage_title {
  font-size: 8vw;
}
.area_subpage .subpage_title_sub {
  font-size: 3.4vw;
}
}



/**********

**********/
article .has-medium-font-size {
  /*font-size: 1.4em;*/
}
article .button_full .wp-block-button {
  display: block;
  width: 100%;
}
article .wp-block-button__link {
  width: 18em;
  margin: 0.7em auto;
  padding: 0.4em;
  font: var(--font-round);
  font-size: 2.2em;
  color: #ffffff !important;
  text-decoration: none;
  background-color: var(--color-black);
  border-radius: 2em;
}
main.kodomo article .wp-block-button__link {
  color: var(--color-black) !important;
}

@media screen and (max-width: 600px) {
article .wp-block-button__link {
  font-size: 4.6vw;
}
}
  
  
.text_indent {
  margin-top: 0.4em;
  margin-left: 1em;
  text-indent: -1em;
}
.text_round {
  font: var(--font-round);
}




/**********
お知らせエリア
**********/
.info_block .info_title{
  margin: 0 0 0.5em 0;
  text-align: center;
  font: var(--font-round);
  font-size: 1.67em;
  background-color: #f3f3f3;
  padding: 10px;
}
.info_block .info_description{
  font-size:16pt;
  font-weight: bold;
  text-align: justify;
}
.info_block .info_description strong{
  color: red;
  text-decoration: underline;
}


/**********
黄色枠エリア
**********/
.area_box {
  max-width: 80%;
  margin: 3em auto;
  padding: 20px;
  background-color: var(--main-bg-color);
  border-radius: 14px;
}
.area_box .box_title {
  margin: 0 0 0.5em 0;
  text-align: center;
  font: var(--font-round);
  font-size: 1.67em;
}
.area_box .box_inner {
  display: block;
  position: relative;
  width: 100%;
  padding: 1em;
  background-color: #ffffff;
  border-radius: 10px;
}
.area_box .box_inner .style_stock {
  margin: 0.5em 0;
  text-align: center;
  font: var(--font-round);
  font-size: 3em;
}
.area_box .box_inner .style_stock span {
  font-size: 0.5em;
}
@media screen and (max-width: 600px) {
.area_box {
  max-width: none;
}
}







.news_title + div {
  display: none;
}

/**********

**********/



/**********
QRコードリーダ表示
 **********/
.open_qrreader {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  display: block;
  width: 5em;
  height: 5em;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url("./images/qrreader_open.svg");
  filter: drop-shadow(1px 1px 3px rgba(0,0,0,0.35));
  cursor: pointer;
}


