:root {
  --color-leaf-theme: #185aa5;
  --font-size-name-sei : 5rem;
  --font-size-name-mei : 3rem;
  --font-size-name-sei-sp : 4rem;
  --font-size-name-mei-sp : 3rem;
  --font-type-1: "NotoSerifJP";
  --font-size-1: 20px;
  --font-weight-1: normal;
  --font-type-2: "NotoSerifJP";
  --font-size-2: 20px;
  --font-weight-2: normal;
  --font-type-3: "NotoSansJP";
  --font-size-3: 20px;
  --font-weight-3: normal;
  --font-type-4: "NotoSansJP";
  --font-size-4: 20px;
  --font-weight-4: normal;
  /* モバイル用フォント設定 */
  --font-type-1-mobile: "NotoSerifJP";
  --font-size-1-mobile: 20px;
  --font-weight-1-mobile: normal;
  --font-type-2-mobile: "NotoSerifJP";
  --font-size-2-mobile: 20px;
  --font-weight-2-mobile: normal;
  --font-type-3-mobile: "NotoSansJP";
  --font-size-3-mobile: 20px;
  --font-weight-3-mobile: normal;
  --font-type-4-mobile: "NotoSansJP";
  --font-size-4-mobile: 20px;
  --font-weight-4-mobile: normal;
}

.leaf_container {
  max-width: 1000px;
  width: 100%;
  background-color: #fefefe;
}

.leaf_heading_container,
.leaf_header_container {
  background-color: var(--color-leaf-theme);
}
.leaf_header_container{
  display: flex;
  /* justify-content: center; */
  background-color: var(--color-leaf-theme);
  justify-content: space-between;
  width: 100%;
}

/* .leaf_catch_container {

} */

.btn_custom_link {
  width: 300px;
  height: 60px;
  line-height: 60px;
}

.btn_custom_link a.custom_link {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 48px;
  text-decoration: none;
  /* background: var(--color-leaf-theme); */
  /* background: hsl(49, 100%, 50%); */
  background-color: var(--color-leaf-sub-theme);
  text-align: center;
  border: 5px solid #bbb;
  color: #000;
  font-size: 24px;
  /* font-weight: bold; */
  border-radius: 40px;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  /* box-shadow: 0px 2px 8px 4px #dedede; */
}

.btn_custom_link a.custom_link :hover {
  background: #1b66ba;
  color: #fefefe;
  margin-left: 0px;
  margin-top: 0px;
  border: 5px solid #fefefe;
  /* box-shadow: 0px 2px 8px 4px #dedede; */
}

.leaf_modal_body {
  /* background-color: rgba(237 237 237); */
  width: 100%;
  overflow-x: hidden;
}

.favorite-btn {
  background: none;
  border: none;
  height: 36px;
  padding: 0;
  font-size: 1rem;
  color: #f0f0f0;
  transition: transform 0.3s ease, color 0.3s ease, filter 0.3s ease;
  outline: none;
  position: relative;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.favorite-btn:hover {
  /* color: #ffd700; */
  transform: scale(1.1);
  filter: brightness(1.2);
}

.favorite-btn:active {
  transform: scale(0.95);
}

.favorite-btn.active {
  color: #ffd700;
  animation: shine 0.5s ease-in-out;
}

.favorite-btn.active .bi-star-fill {
  /* animation: sparkle 1.5s infinite; */
}

.favorite-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background-color: rgba(255, 215, 0, 0.3);
  transition: width 0.3s ease, height 0.3s ease;
  z-index: -1;
}

.favorite-btn:hover::after {
  /* width: 3rem;
  height: 3rem;
  background-color: rgba(255, 215, 0, 0.2); */
  /* filter: blur(10px); */
}

.favorite-btn.active:hover {
  color: #ffd700;
  transform: scale(1.1);
  filter: brightness(1.5);
}

.favorite-btn.active:active {
  transform: scale(0.95);
  filter: brightness(1.3);
}

.favorite-btn i {
  line-height: 40px;
  font-size: 1.5rem;
}

@keyframes shine {
  0% {
    filter: brightness(1) contrast(1);
  }

  50% {
    filter: brightness(1.5) contrast(1.2);
    /* text-shadow: 0 0 20px #ffd700; */
  }

  100% {
    filter: brightness(1) contrast(1);
  }
}

.image-container {
  /* max-width: 350px; */
  /* max-height: 350px; */
  /* height: 0; */
  /* padding-bottom: 100%; */
  /* width: 90%; */
  height: auto;
  overflow: hidden;
  position: relative;
}

.image-container img {
  height: 360px;
  width: auto;
  /* position: absolute; */
  /* top: 0; */
  /* left: 0; */
  /* width: 100%; */
  /* height: 100%; */
  /* object-fit: cover; */
}

.sns_info_icon {
  position: absolute;
  bottom: -10px;
  font-size: 14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

#hagemasukai_touroku_form {
}
#hagemasukai_touroku_form tr.row {
  /* margin-bottom: 0.5rem; */
  /* border-bottom: unset; */
  display: table-row;
  margin: 0;
}

h2.leaf_heading_container span {
  font-size: 1.5rem;
}

@media (max-width: 767.98px) {
  .image-container {
    /* max-width: 100%; */
    /* padding-bottom: 100%; */
  }
  .sns_info_icon {
    bottom: -15px;
  }
}

.catchphrase span {
  display: inline-block;
  font-size: 4rem;
  font-family: "Noto Serif JP", serif;
  color: #fefefe;
  /* text-shadow: 
    2px 2px 4px #fefefe,
    -2px 2px 4px #fefefe,
    2px -2px 4px #fefefe,
    -2px -2px 4px #fefefe; */
}


/* 適用されるスタイル */
.catchphrase1 {
  font-family: var(--font-type-1);
  font-size: var(--font-size-1);
  font-weight: var(--font-weight-1);
  font-variation-settings: "wght" var(--font-weight-1);

}

.catchphrase2 {
  font-family: var(--font-type-2);
  font-size: var(--font-size-2);
  font-weight: var(--font-weight-2);
  font-variation-settings: "wght" var(--font-weight-2);

}

.name_sei {
  font-family: var(--font-type-3);
  font-size: var(--font-size-3);
  font-weight: var(--font-weight-3);
  font-variation-settings: "wght" var(--font-weight-3);

}

.name_mei {
  font-family: var(--font-type-4);
  font-size: var(--font-size-4);
  font-weight: var(--font-weight-4);
  font-variation-settings: "wght" var(--font-weight-4);

}



@media (min-width: 1000px) {
  /* .name_sei {
    font-size: var(--font-size-name-sei);
    font-weight: 600;
  }
  .name_mei {
    font-size: var(--font-size-name-mei);
    font-weight: 500;
  } */
   .head_shot_container{
    background-color: #fff;
    justify-content: flex-end;
   }
}

@media (max-width: 999px) {
  .leaf_container {
    padding-right: 0.625rem;
    padding-left: 0.625rem;
  }
  .leaf_header_container {
    padding-right: 0;
    padding-left: 0;
  }

  .head_shot_container {
    background-color: #fff;
  }
  #hagemasukai_touroku_form tr.row {
    display: flex;
    width: 100%;
    margin: 0 auto 0.5rem;
    border: unset;
  }
  #hagemasukai_touroku_form th,
  #hagemasukai_touroku_form td {
    border: unset;
  }
  h2.leaf_heading_container,
  h2.leaf_heading_container span {
    font-size: 1.25rem;
  }

 /* 適用されるスタイル */
.catchphrase1 {
  font-family: var(--font-type-1-mobile);
  font-size: var(--font-size-1-mobile);
  font-weight: var(--font-weight-1-mobile);
  font-variation-settings: "wght" var(--font-weight-1-mobile);

}

.catchphrase2 {
  font-family: var(--font-type-2-mobile);
  font-size: var(--font-size-2-mobile);
  font-weight: var(--font-weight-2-mobile);
  font-variation-settings: "wght" var(--font-weight-2-mobile);

}

.name_sei {
  font-family: var(--font-type-3-mobile);
  font-size: var(--font-size-3-mobile);
  font-weight: var(--font-weight-3-mobile);
  font-variation-settings: "wght" var(--font-weight-3-mobile);

}

.name_mei {
  font-family: var(--font-type-4-mobile);
  font-size: var(--font-size-4-mobile);
  font-weight: var(--font-weight-4-mobile);
  font-variation-settings: "wght" var(--font-weight-4-mobile);

}
}


@media (min-width: 1000px) {
  .leaf_header_container_sp{display: none;}
  .leaf_header_container_pc{display: flex;}
}

  @media (max-width: 999px) {
    .leaf_header_container_sp{display: block;}
    .leaf_header_container_pc{display: none;}
  }