
/*
2024/10/31 add
*/
/* styles.css */

/* styles.css */

body {
  font-family: Arial, sans-serif;
  background-color: #f7f7f7;
  margin: 0;
  padding: 0;
}
.box-stlye{
  padding: 20px 10px;
}
.box-stlye2{
  display: flex;
  float: right;
  text-align: center;
  margin-left: 10%;
  padding: 20px;
}
.grid-container{
  padding: 0 20px;
}
.grid_wrapper{
  
  height: 100vh;
}

.box-line{
  border: 1px solid;
  
  border-radius: 3px;
  background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.06));
  background-image: -moz-linear-gradient(top, transparent, rgba(0, 0, 0, 0.06));
  background-image: -o-linear-gradient(top, transparent, rgba(0, 0, 0, 0.06));
  background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.06));
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);

}

.confidential {
  color: red;
  font-weight: bold;
}

.logo {
  color: #db7093;
}

.content {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 10px;
}

.top-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

/*
.dropdown, .graph-toggle {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
*/

.date-age-controls {
  display: grid;
  grid-template-columns: auto auto auto auto;
  gap: 10px;
  align-items: center;
}

.date-age-controls input[type="date"] {
  padding: 5px;
  font-size: 14px;
}
.age-dropdown {
  display: grid;
  gap: 1px;
	grid-template-columns: 200px auto;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  height: 35px;
  width: 240px;
  margin: 6px 0;
  background: #f2f2f2;
  border: 1px solid;
  border-color: white #f7f7f7 #f5f5f5;
  border-radius: 3px;
  background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.06));
  background-image: -moz-linear-gradient(top, transparent, rgba(0, 0, 0, 0.06));
  background-image: -o-linear-gradient(top, transparent, rgba(0, 0, 0, 0.06));
  background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.06));
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.age-button {
  padding: 10px;
  background-color: #ff69b4;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.age-arrow{
  width: 35px;
  height: 35px;
  line-height: 35px;
  display: grid;
  place-items: center;
  background-color:#ebebeb;
}
.age-arrow .arrow{
  align-items: center;
  cursor: pointer;
  img{
    width: 30px;
    height: auto;
  }
}
/*スクリプト設定*/
.a-top img{
  transform: scale(1,-1);
}
/*未使用（スクリプト設定）
.a-down{

}
*/

.edit-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.calendar-button {
  padding: 10px;
  font-size: 14px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.dates-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
}

.date-btn {
  background-color: #ff69b4;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 14px;
}

.menu-header {
  /*
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  */
  display: flex;
  background-color: #333;
  color: white;
  padding: 10px;
  text-align: center;
}
.menu-header li{
  margin-left: 0;
  position: relative;
}
.menu-header li::before{
  content: "";
  width: 20px;
  height: 20px;
  background:#fff;
  background-repeat: no-repeat;
  background-size:cover;
  position: absolute;
  top:50%;
  left: 0;
  transform: translate(0, -50%);
}

.meal-type {
  width: 8%;
  font-weight: bold;
}
.menu-header .s-color::before{
  background:url(../img/icon/breakfast.png);
  background-size:cover;
}
.menu-header .a-color::before{
  background:url(../img/icon/am-snack.png);
  background-size:cover;
}
.menu-header .n-color::before{
  background:url(../img/icon/lunch.png);
  background-size:cover;
}
.menu-header .p-color::before{
  background:url(../img/icon/pm-snack.png);
  background-size:cover;
}
.menu-header .o-color::before{
  background:url(../img/icon/sub-snack.png);
  background-size:cover;
}
.menu-header .e-color::before{
  background:url(../img/icon/dinner.png);
  background-size:cover;
}

.menu-column {
  background-color: #fff;
  overflow: hidden;
}

.childhood-header {
  clear: both;
  display: flex;
  padding: 10px 0;
  justify-content: center;
  align-items: center;
  background-color: #ff69b4;
  color: white;
  position: relative;
}
.date-header {
  display: flex;
  padding: 10px 0;
  justify-content: center;
  align-items: center;
  background-color: #ff69b4;
  color: white;
  position: relative;
}
.persent {
  position: absolute;
  left: 20px;
  font-size: 16px;
  width: auto;
}
.date {
  font-size: 18px;
  font-weight: bold;
}
.add-btn {
  position: absolute;
  right: 0;         
  cursor: pointer;
  background-color: #ff69b4;
  border: none;
  img{
    width: 50px;
    height: auto;
  }
}
.add-btn2 {   
  cursor: pointer;
  border: none;
  background-color:#fff;
  img{
    width: 50px;
    height: auto;
  }
}

.menu-section {
  padding: 5px 15px;
  display: grid;
  gap: 10px;
  grid-template-columns: 100%;
}

.item-top{
  margin-left: 10px;
  padding: 5px 3px;
  font-size: 16px;
  line-height: 1.5;
  display: grid;
  grid-template-columns: 80% 20%;
  align-items: center;
  gap: .3em;
  position: relative;
  img{
    margin-left: 5px;
    height: 1.3lh;
    cursor: pointer;
  }
  input[type="text"]{
    height: 1lh;
    font-size: 90%;
  }
  &::before{
    position: absolute;
    content: "";
    display: inline-block;
    background-image: url(../img/icon/dinner.png);
    background-repeat: no-repeat;
    background-size:cover;
    width: 20px;
    height: 20px;
    top:50%;
    left: -20px;
    transform: translate(0, -50%);
    vertical-align: middle;
  } 
}
.b-color::before{
  background:url(../img/icon/breakfast.png);
  background-repeat: no-repeat;
  background-size: cover;
}
.a-color::before{
  background:url(../img/icon/am-snack.png);
  background-repeat: no-repeat;
  background-size: cover;
}
.l-color::before{
  background:url(../img/icon/lunch.png);
  background-repeat: no-repeat;
  background-size: cover;
}
.p-color::before{
  background:url(../img/icon/pm-snack.png);
  background-repeat: no-repeat;
  background-size: cover;
}
.s-color::before{
  background:url(../img/icon/sub-snack.png);
  background-repeat: no-repeat;
  background-size: cover;
}
.d-color::before{
  background:url(../img/icon/dinner.png);
  background-repeat: no-repeat;
  background-size: cover;
}
/*
.item-top::before{
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background:url(../img/icon/dinner.png);
  background-size:cover;
 }  
*/
.item {
  display: flex;
  align-items: center;
  font-size: 14px;
  padding: 5px 0;
}

.title {
  font-weight: bold;
}

.title-red {
  color: red;
  font-weight: bold;
}

.input-group {
  padding-right: 20px;
  margin-right: 10px;
  display:grid;
  align-items:center;
  grid-template-columns:10% 60% 20% 5%;
  gap: 5px 10px;
  img{
    height: 1lh;
    cursor: pointer;
  }
}
.input-text{
  font-size: smaller;
  display: inline-block;
  line-height: 15px;
  height: 15px;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
}

.input-gram{
  font-size: smaller;
  width: 30px;
  height: 15px;
}

.input {
  width: 60px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 14px;
}

.unit {
  margin-left: 6px;
  font-size: 14px;
  color: #666;
}

.nutrition-info {
  padding-top: 10px;
  border-top: 1px solid #ddd;
  font-size: 14px;
  text-align: center;
}

.nutrition-info__header{
  margin-top: 10px;
  height: 50px;
  display: grid;
  align-items: center;
  gap: 1px;
	grid-template-columns: 80% auto;
  background-color: #000;
  color: #fff;
}
.setIcon{
  background-color: #000;
  border: none;
  img{
    width: 25px;
    height: 25px;
  }
}


.about-new {
  all: initial;
  font-size: 100%;
}

.about-new * {
  all: unset;
  box-sizing: border-box;
  display: revert;
}

.about-new div {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

.about-new .a-border {
  background-color: #ffe0eb;
  border-radius: 2px;
}

.about-new .a-item.a-border {
  background-color: #ffffff;
  border-radius: 2px;
}

.about-new .b-item.a-border {
  background-color: #ffffff;
  border-radius: 2px;
}

.about-new .b-border {
  background-color: #ffe0eb;
  border-radius: 2px;
}

.about-new .w-mode {
  writing-mode: vertical-lr;
  letter-spacing: 0.3em;
  margin-top: auto;
  margin-bottom: auto;
}

.about-new {
  clear: both;
  min-width: 1200px;
  margin: 0 auto;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 500;
}
.about-new .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  gap: 10px;
  text-align: center;
}
.about-new .container .container_left {
  background-color: #fff;
}
.about-new .container .container_left-header {
  display: grid;
  grid-template-columns: 1fr 3fr 3fr 6fr 4fr;
  gap: 3px;
  padding: 0 5px;
  width: 100%;
  height: 60px;
}
.about-new .container .container_left-header .a-body {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.about-new .container .container_left-header .a-body p {
  display: inline-block;
}
.about-new .container .container_left-header .a-item {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
}
.about-new .container .container_left-header .a-item .a-item-child {
  background-color: #ffe0eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.about-new .container .container_left-header .a-item ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px;
  background-color: #fff;
}
.about-new .container .container_left-header .a-item ul li {
  list-style: none;
  line-height: 23px;
}
.about-new .container .container_left .container_left-body {
  margin-top: 5px;
}
.about-new .container .container_left .container_left-body-child {
  display: grid;
  grid-template-columns: 1fr 3fr 3fr 6fr 4fr;
  align-items: center;
  place-content: center;
  gap: 3px;
  padding: 0 5px;
  width: 100%;
  height: 35px;
}
.about-new .container .container_left .container_left-body-child .a-body {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 32px;
}
.about-new .container .container_left .container_left-body-child .a-body select {
  all: revert;
  -webkit-appearance: none;
  appearance: none;
  padding: 0 5px;
  border: none;
  border-radius: 3px;
  background-color: #f2f2f2 !important;
  height: 100%;
}
.about-new .container .container_left .container_left-body-child .a-body .input-text {
  background-color: field;
  border-width: 2px;
  border-style: inset;
  border-color: light-dark(rgb(118, 118, 118), rgb(133, 133, 133));
  margin: 0;
  border-radius: 5px;
  height: 100%;
  width: 85%;
  padding: 1px 2px;
  text-align: start;
}
.about-new .container .container_left .container_left-body-child .delete {
  position: relative;
  padding: 0 5px;
}
.about-new .container .container_left .container_left-body-child .delete img {
  content: "";
  position: absolute;
  right: 10px;
  width: 25px;
  height: 25px;
  cursor: pointer;
}
.about-new .container .container_left .container_left-body-child .select-type {
  height: 100%;
  position: relative;
  background: #f2f2f2;
  border: 1px solid;
  border-color: white #f7f7f7 #f5f5f5;
  border-radius: 3px;
  background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.06));
  background-image: -moz-linear-gradient(top, transparent, rgba(0, 0, 0, 0.06));
  background-image: -o-linear-gradient(top, transparent, rgba(0, 0, 0, 0.06));
  background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.06));
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}
.about-new .container .container_left .container_left-body-child .select-type::before {
  border-bottom: 4.5px solid #888;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  content: "";
  position: absolute;
  right: 9px;
  top: 12px;
  width: 0;
}
.about-new .container .container_left .container_left-body-child .select-type::after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4.5px solid #888;
  content: "";
  position: absolute;
  right: 9px;
  top: 18px;
  width: 0;
}
.about-new .container .container_left .container_left-body-child .c-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.about-new .container .container_left .container_left-body-child .a-button {
  justify-content: center;
  align-items: center;
  background-color: #FFF;
  border: #888 solid 1px;
  cursor: pointer;
  width: 25px;
  height: 25px;
  margin: 0 auto;
}
.about-new .container .container_left .container_left-body-child .a-button input:checked + label {
  background: #eb6ea5;
  color: #FFF;
}
.about-new .container .container_left .container_left-body-child .a-button .input-button {
  display: none;
}
.about-new .container .container_left .container_left-body-child .a-button label {
  display: block;
  width: 15px;
  height: 15px;
  background: #fcfcfc;
  color: #000;
  padding: 1px;
  margin: 1px;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
  cursor: pointer;
}
.about-new .container .container_left .a-body-btn {
  width: 100%;
  margin: 10px auto 0 100px;
}
.about-new .container .container_left .a-body-btn a {
  background-color: #fff;
  display: inline-block;
  background-image: url(../img/add_white.png);
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  height: 30px;
  width: 100px;
  border: none;
  cursor: pointer;
}
.about-new .container .container_right {
  background-color: #fff;
}
.about-new .container .container_right-header {
  display: grid;
  grid-template-columns: 6fr 1fr 6fr 3fr 1fr;
  gap: 3px;
  padding: 0 5px;
  width: 100%;
  height: 60px;
  padding: 0 5px;
}
.about-new .container .container_right-header .b-body {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.about-new .container .container_right-header .b-body p {
  display: inline-block;
}
.about-new .container .container_right-header .select-type select {
  width: 136px;
  height: 60px;
  padding-top: 20px;
  position: absolute;
  background: #ffe0eb;
  border: none;
}
.about-new .container .container_right-header .select-type::before {
  border-bottom: 4.5px solid #000000;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  content: "";
  position: absolute;
  right: 9px;
  top: 27px;
  width: 0;
  z-index: 1;
}
.about-new .container .container_right-header .select-type::after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4.5px solid #000000;
  content: "";
  position: absolute;
  right: 9px;
  top: 33px;
  width: 0;
}
.about-new .container .container_right-header .b-item {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
}
.about-new .container .container_right-header .b-item-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #ffe0eb;
  border-radius: 2px;
}
.about-new .container .container_right-header .b-item ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px;
  background-color: #fff;
}
.about-new .container .container_right-header .b-item ul li {
  list-style: none;
  line-height: 23px;
  border: 1px 1px 0 1px solid #ccc;
}
.about-new .container .container_right .container_right-body {
  margin-top: 5px;
}
.about-new .container .container_right .container_right-body-child {
  display: grid;
  grid-template-columns: 6fr 1fr 6fr 3fr 1fr;
  align-items: center;
  place-content: center;
  gap: 3px;
  padding: 0 5px;
  width: 100%;
  height: 35px;
}
.about-new .container .container_right .container_right-body .b-body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.about-new .container .container_right .container_right-body .b-body .b-forward {
  display: inline-block;
  background-image: url(../img/forward.png);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 25px;
  width: 25px;
  border: none;
  cursor: pointer;
}
.about-new .container .container_right .container_right-body .b-body .b-reverse {
  display: inline-block;
  background-image: url(../img/reverse.png);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 25px;
  width: 25px;
  border: none;
  cursor: pointer;
}
.about-new .container .container_right .container_right-body .b-body input {
  background-color: field;
  border-width: 2px;
  border-style: inset;
  border-color: light-dark(rgb(118, 118, 118), rgb(133, 133, 133));
  margin: 0;
  height: 29px;
  width: 90%;
  border-radius: 5px;
  padding: 1px 2px;
  text-align: start;
}
.about-new .container .container_right .container_right-body .delete {
  position: relative;
  padding: 0 0 0 45px;
  display: grid;
  place-items: center;
  justify-content: flex-start;
  text-align: left;
}
.about-new .container .container_right .container_right-body .delete img {
  content: "";
  position: absolute;
  left: 10px;
  width: 25px;
  height: 25px;
  cursor: pointer;
}
.about-new .container .container_right .container_right-body .b-amount {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  place-content: center;
  height: 100%;
  gap: 10px;
}
.about-new .container .container_right .container_right-body .b-amount div {
  height: 100%;
}
.about-new .container .container_right .container_right-body .b-amount div input {
  background-color: field;
  border-width: 2px;
  border-style: inset;
  border-color: light-dark(rgb(118, 118, 118), rgb(133, 133, 133));
  margin: 0;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  padding: 1px 2px;
  text-align: start;
}
.about-new .container .container_right .b-body-btn {
  margin: 10px auto 0 0;
  width: 20%;
}
.about-new .container .container_right .b-body-btn a {
  background-color: #fff;
  display: inline-block;
  background-image: url(../img/add_white.png);
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  height: 30px;
  width: 100px;
  border: none;
  cursor: pointer;
}