/* CSS Document */

:root {
    --color: #24C230;
    --color-accent: #73DE6B;
    --color-light: #CFF6FF;
    --color-bg: #ffffff;
    --color-bg-secondary: #FAEFE4;
    --color-secondary: hsla(120,100%,30%,1.00);
    --color-secondary-accent: hsla(120,100%,30%,0.8);
    --color-shadow: #397023;
    --color-bg-section: #fcfcfc;
  
    --width-content: 1200px;
  
    --font-sans-serif: "游ゴシック","YuGothic","Hiragino Kaku Gothic ProN","Hiragino Kaku Gothic Pro","Meiryo","メイリオ","ＭＳ Ｐゴシック",sans-serif !important;
    --font-serif: "Yu Mincho", "Hiragino Mincho ProN", "serif";
}

html {
  scroll-padding-top: 80px;  /* リンクポイント 固定メニュー分のずれ調整 */ 
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: border-box;
}

section div.card {
  text-align: justify;
}
section div.card_medium{
  width: var(--width-card-medium);
}
section div.card_wide{
  width: var(--width-card-wide);
}
section div.card_full{
  width: 100%;
}
section div.card_noframe{
  border: none;
  box-shadow: none;
}

section div.card:hover {
  box-shadow: var(--box-shadow) var(--color-shadow);
}

body{
  font-family: var(--font-sans-serif);
  font-size: 1.0rem;
}

header {
  margin: 50px auto 0;
  padding: 0;
}

table {
  background-color: #fff;
  width: 80%;
  margin: auto;
  border: none;
  border-radius: 0;
  margin-bottom: 1em;
  white-space: normal;
  border-collapse: collapse;
}
table td,
table th,
table tr {
    text-align: start;
}
tr {
  background-color: #fff;
  border-bottom: 1px solid #999;
}
tr:first-child {
  border-top: 1px solid #999;
}
th {
  background-color: var(--color-bg-secondary);
}
td {
  background-color: #fff;
}

div.content {
  margin: auto;
  padding: 0 1em;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

section#sct_header {
  padding-top: 2em;
}
section#sct_header #top-block {
  top: 40px;
  padding: 2em 0;
  display: flex;
  justify-content: space-between;
}
section#sct_header #top-block a {
  filter: none;
}
section#sct_header #top-block #top-block-left {
  width: 40%;
}
section#sct_header #top-block #top-block-left img {
  width: 100%;
}
section#sct_header nav {
  position: fixed;
  z-index: 900;
  top: 0px;
  right: 0;
  height: auto;
  min-height: 40px;
  width: 100%;
  margin-bottom: 0rem;
  background-color: var(--color);
  border-bottom: 1px solid var(--color-secondary);
  box-shadow: 0 0px 3px 0px var(--color-shadow);
}
section#sct_header nav a {
  color: #fff;
}
section#sct_header nav ul {
  margin: 0 auto;
}
section#sct_header nav ul li {
  margin: 0 .7em;
}
section#sct_header nav ul li:has(ul)::after {
  content: '▾';
  color: #fff;
}
section#sct_header nav ul li ul {
  display: block;
  background-color: var(--color);
  border: none;
  border-radius: 0 var(--border-radius) var(--border-radius) var(--border-radius);
  box-shadow: var(--box-shadow) var(--color-shadow);

  width: auto;
  height: auto;
  left: -2px;
  padding: .5rem 1rem;
  position: absolute;
  top: 2rem;
  white-space: nowrap;
  z-index: 1;

  visibility: hidden;
  opacity: 0;
  transition: .3s;
}
section#sct_header nav ul li:hover ul {
  visibility: visible;
  opacity: 1;
}
section#sct_header nav ul li ul li {
  color: #fff;
}
section#sct_header nav ul li ul li:hover {
  text-decoration: underline;
}

header h1 {
  margin: 8px auto 40px;
  font-size: 2.5rem;
  color: #fff;
}
header h2 {
  background-image: linear-gradient(to right, hsla(120,100%,30%,1.00), hsla(120,100%,30%,1.00) 30%, hsla(120,100%,30%,0) 50%) , url("../img/greenBack.png");
  background-repeat: no-repeat, repeat-x;
  text-align: start;
  padding-left: 1em;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  line-height: 2em;
  color: #FFFFFF;
  text-shadow: 0 0 5px hsla(120,100%,30%,1.00);
}

h3 {
  width: 100%;
  text-align: start;
  font-family: var(--font-serif);
  font-size: 1.6em;
  padding-left: .5em;
  border-left: .3em solid var(--color);
}

li a {
  display: inline;
}

figure {
  text-align: center;
  margin: 0.7em;
}
figure figcaption {
  color: #030303;
  font-size: 0.9em;
  font-weight: bold;
  line-height: 1.1em;
}

header img {
}
header {
  text-align: left;
}

.copy {
  color: var(--color);
}
.shamei {
  margin: 8px auto 40px;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--color);
}

section {
  width: 100%;
  max-width: var(--width-content);
  margin: auto;
}
section > div {
  width: 100%;
}

section#sct_top_title {
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: #fff;
  background-image: url("/img/greenBack.png");
  background-size:auto 100%;
  background-repeat: repeat-x;
  text-shadow: 1px 1px 3px var(--color-secondary);
}

section#sct_top_title .copy {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.6em;
  font-weight: bolder;
}
section#sct_top_title header {
  text-align: center;
}

section#sct_block_service {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 1em 0;
  background: repeating-linear-gradient(45deg, #ECF9E0, #A1E063 3px, #A1E063 3px, #ECF9E0 4px);
  color: #fff;
}
section#sct_block_service a {
  color: #fff;
  font-weight: normal;
}
section#sct_block_service div#service_elastin,
section#sct_block_service div#service_jacalin {
  background-color: hsla(102,54%,25%,0.70);
}
section#sct_block_service div img {
  width: 25%;
}
section#sct_block_service li {
  list-style-image: url("/img/arrow-w.png") ;
}

/* top page */
section#sct_oshirase_top div.content {
  display: block;
  width: auto;
  max-width: var(--width-content);
}
section#sct_oshirase_top div.content span.info_date::after {
  content: ' ▸ ';
  color: var(--color);
}
section#sct_oshirase_top div.content span.info_title a {
  font-weight: normal;
  color: var(--color-secondary);
}
/* information page */
section#sct_oshirase div.content {
  display: block;
  width: auto;
  max-width: var(--width-content);
}
section#sct_oshirase div.content a {
  font-weight: normal;
  color: var(--color-secondary);
}
section#sct_oshirase div.content span.info_date::after {
  content: ' ▸ ';
  color: var(--color);
}
section#sct_oshirase div.content div.info_tolist,
section#sct_oshirase div.content div.info_date {
  text-align: right;
}

section#sct_banner {
  padding: 1em 0;
}
section#sct_banner a {
  font-weight: normal;
  color: #000;
}
section#sct_banner div.content {
  justify-content: center;
}
section#sct_banner div.banner {
  margin: 8px;
  width: 270px;
  height: 90px;
  border: 1px solid hsla(29,22%,54%,1.00);
  box-shadow: none;
  
  background-color: hsla(55,16%,87%,1.00);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right top;
}
section#sct_banner div#bnr_media {
  background-image: url("../img/media.png");
}
section#sct_banner div#bnr_ecm {
  background-image: url("../img/kouza_ecm.jpg");
}
section#sct_banner div#bnr_jacalin {
  background-image: url("../img/kouza_jacalin.png");
}
section#sct_banner div#bnr_shop {
  background-image: url("../img/shop.png");

}
section#sct_banner div.banner::before {
  content: '';
  position: relative;
  display: inline-block;
  width: 5px;
  height: 1.2em;
  transform: translate(-0.3em, 0.2em);
}
section#sct_banner div#bnr_media::before {
  background-color: var(--color);
}
section#sct_banner div#bnr_ecm::before,
section#sct_banner div#bnr_jacalin::before {
  background-color: #FF9826;
}
section#sct_banner div#bnr_shop::before {
  background-color: #FF72CE;
}

section#sct_kenkyuu {
}
section#sct_kenkyuu div#ganyuuritsu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
section#sct_kenkyuu div#ganyuuritsu figure,
section#sct_kenkyuu div#ganyuuritsu div {
  width: 100%;
  max-width: 300px;
  padding: 0 1em;
}
section#sct_kenkyuu div#kokoromi_photos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
section#sct_kenkyuu div#kokoromi_photos figure {
  width: 100%;
  width: 150px;
}

section#sct_product {
}
section#sct_product div#product_jacalin table {
  height: 60vh;
  overflow: scroll;
}
section#sct_product div#product_jacalin thead {
  color: #000;
  position: sticky;
  top: 0px;
  z-index: 1;
}
section#sct_product div#product_jacalin tbody {
  /*white-space: nowrap;*/
}
section#sct_product div.card_product,
section#sct_service div.card_product {
  width: 100%;
  max-width: 400px;
  box-shadow: none;
}
section#sct_service div.card_product#service_seizou_elastin {
  max-width: 800px;
}
section#sct_product div.card_product h4,
section#sct_service div.card_product h4 {
  margin-top: 0;
  font-size: 1.1rem;
}
section#sct_product div.card_product img,
section#sct_service div.card_product img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}
section#sct_product div.card_product dt,
section#sct_service div.card_product dt {
  font-weight: bold;
}
section#sct_service div.douga {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
section#sct_service div.douga div {
  width: 40%;
  margin: 0 auto;
  padding-bottom: 1em;
  text-align: center;
}


section#sct_jisseki ul,
section#sct_happyou ol,
section#sct_tokkyo table {
  width: 100%;
  max-width: 800px;
}
section#sct_happyou ol h4 {
  line-height: 2em;
  margin: 1.3em 0 .3em -2em;
  padding-left: 1em;
  background-color: var(--color-bg-secondary);
}
section#sct_happyou ol > li {
	list-style-type: none;
	counter-increment: cnt;
  border-bottom: 1px solid hsla(0,0%,73%,1.00);
}
section#sct_happyou ol > li::before {
  content: "(" counter(cnt) ") ";
}
section#sct_happyou ol > li > ul li {
  list-style-type: none;
}
section#sct_happyou ol > li > ul li::before {
  content: '・';
}


section#sct_gaiyou table#tbl_gaiyou,
section#sct_enkaku table#tbl_enkaku {
  width: 100%;
  max-width: 800px;
}
section#sct_gaiyou table#tbl_gaiyou tbody,  
section#sct_enkaku table#tbl_enkaku tbody,
section#sct_gaiyou table#tbl_gaiyou tr,  
section#sct_enkaku table#tbl_enkaku tr {
  width: 100%;
}
section#sct_gaiyou table#tbl_gaiyou th,
section#sct_enkaku table#tbl_enkaku th {
  font-weight: normal;
  white-space: nowrap;
}

section#sct_rinen table {
  width: auto;
  margin: auto;
  border: none;
  border-radius: 0;
  border-collapse: separate;
  border-spacing: 0 1em;
  margin-bottom: 1em;
  white-space: normal;
}
section#sct_rinen table th {
  width: 2em;
  height: 2em;
  padding: 0;
  background-color: var(--color);
  border-radius: 50%;
  font-size: 2em;
  color: #fff;
  text-align: center;
  vertical-align: middle;
}
section#sct_rinen table td span {
  font-weight: bold;
}

section#sct_yakuin div.content {
  width: 100%;
  max-width: 800px;
  padding: 0 1em;
}

section#sct_media table#tbl_media tr:nth-child(odd) {
  border-bottom: none;
}

section#sct_contact form {
  background-color:  #fff;
  box-shadow: none;
  border: 1px solid var(--color-secondary);
}
section#sct_contact form table {
  width: auto;
  white-space: normal;
}
section#sct_contact form table tr {
  border: none;
}
section#sct_contact form table th {
  background-color: #fff;
  white-space: nowrap;
}
section#sct_contact form table td {
  text-align: left;
}
section#sct_contact form input,
section#sct_contact form select,
section#sct_contact form textarea {
  border-color: var(--color-secondary);
}
section#sct_contact input[type="text"],
section#sct_contact textarea {
  width: 30em;
  margin: auto;
}
section#sct_contact textarea {
  height: 6em;
}
section#sct_contact input[type="button"],
section#sct_contact input[type="submit"] {
    border-radius: var(--border-radius);
    display: inline-block;
    font-size: medium;
    font-weight: bold;
    line-height: var(--line-height);
    margin: 0.5rem 0;
    padding: 1rem 2rem;
    font-family: var(--font-family);
    background-color: var(--color);
    border: 2px solid var(--color);
    color: var(--color-bg);
}
section#sct_contact input[type="button"]:hover,
section#sct_contact input[type="submit"]:hover {
    cursor: pointer;
    filter: brightness(var(--hover-brightness));
}


footer {
  background-color: var(--color-secondary);
  margin-top: 3rem;
  padding: 1em 0;
  max-width: 100%;
  width: 100%;
  color: #fff;
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

footer #footer-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 10em;
  margin-bottom: 2rem;
}
footer #footer-block > div {
  width: 10em;
}
footer #footer-block ul {
  margin: 0;
  padding: 0;
}
footer #footer-block li {
  list-style: none;
} 
footer #footer-block li li {
  list-style: none;
  text-indent: 1.5em;
  font-size: 0.9em;
  padding: 0;
}
footer #ftr_copyright{
  font-size: 0.8em;
  text-align: center;
}

.download {
  text-align: right;
  margin-right: 2em;
}
.download span {
  display: inline-block;
  padding: .3em;
  border: 1px solid var(--color);
  border-radius: .3em;
}
a.file_pdf {
  position:relative;
  padding-left:2em;
}
a.file_pdf::before {
  content: '';
  display: block;
  width: 1.3em; 
  height: 1.3em;
  background-image: url("../img/PDF_24.png");
  background-size: contain;
  background-repeat:no-repeat;
  position:absolute;
  top:0;
  left:0;
}

.marker {
  display:inline-block;
  width: 5em;
  text-align: center;
  background:linear-gradient(transparent 50%, var(--color-light) 50%);
}
.tel_box {
  font-size: 0.9em;
  line-height: 1.5em;
  margin-bottom: 0.9em;
}
.phone {
  font-size: 0.9em;
  color: var(--color);
}
.sns {
  margin: 1.5em 0;
  font-size: 1.2em;
}
.sns a i {
  font-size: 1.2em;
  margin: 0;
  border: 0;
  padding: 0;  
}
.ilb {
  display: inline-block;
}
.kouza_wrap{
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-wrap: wrap;
  padding: 0 1em;
}
.kouza_pdf {
  width: 100%;
  max-width: 300px;
  padding: .5em 0;
  text-align: center;
  background-color: #EBF1DE;
  border: 1px solid var(--color);
  outline: 2px solid var(--color);
  outline-offset: 2px;
  margin: 4px auto 1.5em;
}
button {
    padding: .5rem 2rem;
}

/* ハンバーガーメニュー */
.bgr-menu {
  position: fixed;
  top: 0px;
  right: 0px;
  display: flex;
  height: 40px;
  width: 40px;
  justify-content: start;
  align-items: center;
  z-index: 999;
  background-color: var(--color);
}
.bgr-menu-btn span,
.bgr-menu-btn span:before,
.bgr-menu-btn span:after {
  margin-left: 8px;
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background-color: #ffffff;
  position: absolute;
}
.bgr-menu-btn span:before {
  margin-left: 0;
  bottom: 8px;
}
.bgr-menu-btn span:after {
  margin-left: 0;
  top: 8px;
}
#bgr-menu-btn-check:checked ~ .bgr-menu-btn span {
    background-color: rgba(255, 255, 255, 0);
}
#bgr-menu-btn-check:checked ~ .bgr-menu-btn span:before {
    bottom: 0;
    transform: rotate(45deg);
}
#bgr-menu-btn-check:checked ~ .bgr-menu-btn span:after {
    top: 0;
    transform: rotate(-45deg);
}
#bgr-menu-btn-check {
    display: none;
}
/* /ハンバーガーメニュー */


@media (max-width: 700px) { /* 700px 以下の時 ====================================================================== */
  html {
    scroll-padding-top: 0;  /* リンクポイント 固定メニュー分のずれ調整解除 */ 
  }
  
  body {
    overflow-x: hidden;
  }
  
  header, section, footer {
    /*overflow:hidden;*/
  }

  section #top-block {
    display: none;
  }
  section#sct_header nav {
    top: 40px;
    display: none;
  }
  section#sct_header nav a {
    display: block;
  }
  section#sct_header nav>ul>li {
    border-bottom: 1px solid var(--color-secondary);
    display: block;
    position: relative;
    padding: 0.5rem;
  }
  section#sct_header nav>ul>li:has(ul)::after {
    content: '';
  }
  section#sct_header nav>ul>li>ul {
    visibility: visible;
    opacity: 1;
    border: none;
    border-radius: 0;
    box-shadow: none;
    height: auto;
    left: -2px;
    padding: 0 .5em;
    position: relative;
    top: 0.2rem;
    white-space: nowrap;
    width: auto;
  }
  section#sct_header nav>ul>li>ul>li {
    border-top: 1px solid var(--color-secondary);
    display: block;
    position: relative;
  }
  
  .bgr-menu {
    display: flex;
  }
  section#sct_header #top-block #top-block-left {
    width: 90%;
    margin: auto;
  }

  section#sct_top_title .copy {
    font-size: 1.3em;
  }
  header h1 {
    font-size: 2rem;
  }

  #bgr-menu-btn-check:checked ~ nav {
    display: block;
  }
  
  section#sct_oshirase div.content span.info_date {
    display: block;    
  }
  section#sct_oshirase div.content span.info_title {
    padding-left: 1em;
  }
  section#sct_oshirase div.content span.info_date::after {
    content: none;
  }
  
  section#sct_product div#product_jacalin table {
    height: 80vh;
  }

  section#sct_tokkyo table {
    padding-left: 40px;
  }
  
  section#sct_gaiyou table#tbl_gaiyou th,
  section#sct_gaiyou table#tbl_gaiyou td,  
  section#sct_enkaku table#tbl_enkaku th,
  section#sct_enkaku table#tbl_enkaku td {
    display: block;
    width: 100%;
  }
  section#sct_gaiyou table#tbl_gaiyou td,  
  section#sct_enkaku table#tbl_enkaku td {
    padding-left: 1.5em;
  }
  
  section#sct_media table#tbl_media td{
    display: block;
    padding-top: 0; 
    padding-bottom: 0; 
  }
  section#sct_media table#tbl_media tr:nth-child(odd) td{
    display: inline-block;
  }
  section#sct_media table#tbl_media tr:nth-child(even) td:nth-child(1){
    height: 0;
  }

  section#sct_contact input,
  section#sct_contact input[type="text"],
  section#sct_contact label,
  section#sct_contact select,
  section#sct_contact textarea {
    width: 90%;
  }
  section#sct_contact textarea {
    height: 8em;
  }
  
  section#sct_contact div.content {
    width: 100%;
    margin: .5em;
  }
  section#sct_contact form {
    width: 100%;
    margin: .5em;
    padding: .5em;
  }
  section#sct_contact table#tbl_contact,
  section#sct_contact table#tbl_contact tbody,
  section#sct_contact table#tbl_contact tr,
  section#sct_contact table#tbl_contact th,
  section#sct_contact table#tbl_contact td {
    display: block;
  }
  section#sct_contact table#tbl_contact tr,
  section#sct_contact table#tbl_contact th,
  section#sct_contact table#tbl_contact td {
    background-color: white;
    padding-left: 0;
    padding-right: 0;
  }
  section#sct_contact table#tbl_contact th {
    padding-bottom: 0;
  }

  footer #footer-block {
    gap:0 5em;
  }

  
  div.content {
    width: auto;
    margin: 0 1em;
    padding: 0 ;
  }
}
