﻿/*
    app.css
    @noshin/gamagori

*/
.gau-nav-header h1 {
  line-height: 2;
  padding-left: 12px;
  font-size: 20px;
}
.gau-nav-header h1::before {
  display: inline-block;
  content: "";
  width: 40px;
  height: 40px;
  margin-right: 1em;
  background-image: url("../img/header_icon.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.ol-rotate {
  left: 0.5em;
  right: unset;
  top: 4.5em;
}
input[name="bgopa_nav"] {
  width: 100%;
  height: 100%;
}

/* mode */
.app-mode-select {
  display: flex;
  font-size: large;
  background-color: #bdd9c0;
}
input[type="radio"] + label::before {
  font-family: "Font Awesome 5 Free";
  content: "\f111";
  font-size: 20px;
  font-weight: 900;
  margin-right: 4px;
  color: #aaa;
}
input[type="radio"]:checked + label::before {
  color: #53c59c;
}
.app-mode-select input[type="radio"] {
  display: none;
}
.app-mode-select > label:hover {
  background-color: rgba(0, 0, 120, 0.1);
  transition-duration: 0.5s;
}
.app-mode-select > label {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  color: #888;
  padding: 0.2em 0.6em;
  height: 48px;
  width: 50%;
  box-sizing: border-box;
  line-height: 28px;
}
.app-mode-select > input[type="radio"]:checked + label {
  color: #389f6a;
  background-color: white;
  font-weight: bold;
}
/* effect */

.slidein {
  opacity: 0;
  transform: translateX(40px);
  transition: transform 1s ease;
}
.slidein-active {
  /*opacity: 1;*/
  transform: translateX(0);
  animation: fadeIn 0.8s ease-in-out forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* main contents */

.app-main-contents {
  margin: 0.5em;
}
.app-main-contents input[type="radio"] {
  display: none;
}
.app-main-contents label:hover {
  background-color: rgba(0, 0, 120, 0.1);
  transition-duration: 0.5s;
}
.app-main-contents input[type="radio"]:checked + label {
  color: #389f6a; /* メインカラーと統一 */
  background-color: #fcfcfc;
  font-weight: bolder;
}
.app-main-contents input[type="radio"] + label::before {
  content: "";
}
.app-main-contents > input[type="radio"]:checked + label::before {
  content: "";
}

.app-main-contents h4 {
  margin-top: 0.8em;
  font-size: 18px;
  text-align: center;
  color: #fff;
  line-height: 2.6;
  background-color: #6bba59;
  border-radius: 12px 12px 0 0;
}

.app-main-btn {
  cursor: pointer;
  background-color: #6bba59;
  color: white;
  border-radius: 12px;
  /* box-shadow: 0 2px 3px #ccc; */
  margin: 1em;
  padding: 12px 18px;
}

/* main search*/
#app_main_search {
  display: flex;
  flex-wrap: wrap;
  margin: 0.5em;
}
#app_main_search label {
  display: flex;
  width: 100%;
  padding: 3px;
}
#app_main_search span {
  width: 30%;
  line-height: 32px;
  padding-right: 6px;
  text-align: right;
  font-size: 14px;
}
#app_main_search select {
  padding: 4px;
}

/* condition */
#app_condition_list {
  height: auto;
}
#app_condition_list li {
  height: auto;
  color: #777;
}
#app_condition_list label {
  color: #777;
}
input[type="checkbox"]:checked + label::before {
  color: #4487d4;
}
input[type="checkbox"] + label::before {
  font-family: "Font Awesome 5 Free";
  content: "\f058";
  font-size: 18px;
  font-weight: 900;
  margin-right: 4px;
  color: #aaa;
}

#app_condition_list select {
  color: #777;
}
#app_condition_list input[type="checkbox"] {
  display: inline-block;
  margin: 10px;
  color: #777;
}
#app_condition_list input[type="range"] {
  color: #777;
}
#app_condition_list input[type="text"] {
  color: #777;
}

/* legend */
.leg-cont dl {
  display: flex;
  align-items: center;
}
.leg-cont dd {
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.leg-cont dt {
  width: 190px;
  text-align: left;
  line-height: 1.2;
}
.leg-cont p {
  line-height: 1.2;
  text-align: left;
  padding: 1em;
  color: #245c35;
  background-color: #efe9c5;
  margin: 0.8em;
  border-radius: 8px;
}
.leg-current-0,
.leg-draft-0 {
  background-color: blue;
}
.leg-current-1,
.leg-draft-1 {
  background-color: rgb(208 208 208);
}
.leg-renew-add {
  border: 3px dotted lightgreen;
}
.leg-renew-exclude {
  border: 3px dotted red;
}
.leg-renew-other {
  border: 3px dotted yellow;
}

/* local settings */
.leg-draft-2 {
  background-color: rgb(255 255 0);
}
.leg-draft-3 {
  background-color: rgb(255 255 208);
}
.leg-draft-4 {
  background-color: rgb(255 0 0);
}
.leg-draft-5 {
  background-color: rgb(144 144 144);
}

/* 申請書 */
#apply_sortable li {
  font-size: large;
  font-weight: bold;
}

#apply_trash {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #eee;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 1000;
    transition: all 0.2s ease;
  }
  
  #apply_trash.active {
    background: #c00;
    color: #fff;
    transform: scale(1.1);
  }


/**********
 地点情報
***********/
.marker_pin::before {
  content: "\f276";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 38px;
  position: absolute;
  margin-left: -10px;
  width: 20px;
  height: 20px;
  margin-top: -40px;
  color: #389f6a;
}
div.form dl {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	font-size: 14px;
	color: #389f6a;
	width:100%;

}
div.form dl:nth-child(even) {
	background-color: #f7f3eb;
  }

.gau-areainfo-title {
	background-color: rgb(0 0 0 / .8);
	display: none;
}

.form_header,.gau-areainfo-header {
	color: white;
    line-height: 1.6;
    font-size: 18px;
    border-radius: 12px 12px 0 0;
    background-color: #389f6a;
	padding: 7px;
    padding-left: 14px;	
	/*position: sticky;*/
	top:0;
}


.gau-areainfo-props {
	-webkit-overflow-scrolling: touch;
}
.gau-areainfo-props dl dt {
	font-weight: normal !important;
}

#toggle_noshin{
  cursor:pointer;
  padding:0 6px;
  line-height:1;           /* 余計な上下ズレ防止 */
  display:flex;            /* i を確実に中央寄せ */
  align-items:center;
  color: #389f6a;
}

#toggle_noshin i{
  font-size:24px;          /* 好みで 20/24/28 など */
}

.listup-button {
    display: flex;
    justify-content: center;
    width: 177px;
    border-radius: 4px;
    background-color: #389f6a;
    color: white;
    padding: 10px 10px;
    font-family: inherit;
    text-align: center;
    font-size: 14px;
    position: absolute;
    right: 19px;
}
.apply-button {
    font-family: inherit;
    margin-top: 18px;
    display: flex;
    justify-content: center;
    margin-inline: auto;
    border: solid 3px white;
    max-width: 288px;
    width: 80%;
    border-radius: 2em;
    background-color: #389f6a;
    color: white;
    text-align: center;
    padding: 10px 10px;
    font-size: 16px;
    font-weight: 800;
    position: relative;
}
#apply_trash li {
  display:none;
}