/* リセット */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ul {
  margin: 0;
}
html {
  scroll-behavior: smooth;
  /*font-size: 62.5%;*/
}
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}
a:not([class]) {
  text-decoration-skip-ink: auto;
}
img,
picture {
  max-width: 100%;
  display: block;
}
input,
button,
textarea,
select {
  font: inherit;
}
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
ul {
  padding: 0;
}

/* font */
.zen-maru-gothic-regular {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.nunito-<uniquifier > {
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}


/*初期*/
:root {
  --background-color: #fff;
  --main-color: #e23d88;
  --accent-color: #4f3429;
}

body {
  width: 100%;
  background-color: var(--background-color);
  font-family: "Zen Maru Gothic", "nunito", sans-serif;
  color: var(--main-color);
  font-weight: 500;
}

h2 {
  text-align: center;
  font-size: 35px;
  font-family: "nunito";
  font-weight: bold;
  font-style: italic;
  margin: 120px 0 60px;
}
h3 {
  text-align: center;
  margin: 2.5ex;
  font-size: 1.6rem;
  font-weight: 500;
}
h4{
  font-size: 1.3rem;
}
h5{
  font-size: 1.5rem;
  margin: 0 0 10px;
  line-height: 30px;
  font-weight: 500;
}

section{
  margin: 50px 0;
}
section div{
  margin: 0 auto;
  max-width: 1000px;
  width: 100%;
}

ul li{
  list-style: none;
}

/* ボタン */
.btn {
  display: flex;
  margin: 30px auto 110px;
  width: 80%;
}
.btn a {
  position: relative;
  border: 2px solid var(--main-color);
  background-color: var(--background-color);
  color: var(--main-color);
  font-size: 1.4rem;
  border-radius: 50px;
  margin: 0 auto;
  padding: 20px 100px;
  text-decoration: none;
  overflow: hidden; 
  transition: color 0.3s ease; 
  z-index: 1;
}
.btn a::after {
  position: absolute;
  top: 20px;
  right: 30px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1rem;
  content: "\f105";
  transition: color 0.3s ease;
  z-index: 2; 
}
@media (hover: hover) and (pointer: fine) {
  .btn a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%; 
    width: 100%;
    height: 100%;
    background-color: var(--main-color);
    border-radius: 50px;
    transition: left 0.4s ease; 
    z-index: -1; 
  }
  .btn a:hover::before {
    left: 0; 
  }
  .btn a:hover {
    color: var(--background-color); 
  }
}
@media (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .btn a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%; 
    width: 100%;
    height: 100%;
    background-color: var(--main-color);
    border-radius: 50px;
    transition: left 0.4s ease; 
    z-index: -1; 
  }
  .btn a:hover::before {
    left: 0; 
  }
  .btn a:hover {
    color: var(--background-color); 
  }
}
.btn_br{
  display: none;
}
@media(max-width:560px){
  .btn a {
    padding: 20px 60px;
  }
}
@media(max-width:450px){
  .btn a {
    font-size: 1.2rem;
    padding: 20px 45px;
    line-height: 30px;
    text-align: center;
  }
  .btn a::after {
    top: 22px;
    right: 20px;
  }
  .btn_br{
    display: block;
  }
}

/* h2タイトル装飾 */
section >.contents_ttl{
  position: relative;
}
h2 .star_ttl{
  position: absolute;
}
h2 .star_ttl_left{ top: -7%;  left: 34%; width: 3%;}
h2 .star_ttl_left_sm{ top: 30%; left: 38%;  width: 2%; }
h2 .star_ttl_right{ top: -7%;  right: 34%;  width: 3%; }
h2 .star_ttl_right_sm{ top: 30%;  right: 38%;  width: 2%; }
@media(max-width:900px){
  h2 .star_ttl_left{ top: 7%;  left: 24%; width: 4.5%;}
  h2 .star_ttl_left_sm{ top: 60%; left: 29%;  width: 2%; }
  h2 .star_ttl_right{ top: 7%;  right: 24%;  width: 4.5%; }
  h2 .star_ttl_right_sm{ top: 60%;  right: 29%;  width: 2%; }  
}
@media(max-width:400px){
  h2 .star_ttl_left{ top: 17%;  left: 14%; width: 6%;}
  h2 .star_ttl_left_sm{ top: 50%; left: 20%;  width: 4%; }
  h2 .star_ttl_right{ top: 17%;  right: 14%;  width: 6%; }
  h2 .star_ttl_right_sm{ top: 50%;  right: 20%;  width: 4%; }  
}

/* h3タイトル装飾 */
.crown_img{
  display: flex;
  margin: 0 auto;
  width: 5%;
}
@media (max-width: 800px) {
  .crown_img{
    margin: 30px auto 0;
    width: 12%;
  }
}

/*ヘッダー*/
header {
  /*position: fixed;*/
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  height: 80px;
  width: 100%;
  background-color: var(--accent-color);
  align-items: center;
  /*box-shadow: 0 3px 10px #dedede;*/
  z-index: 30;
}
header img{
  width: 50%;
}
@media(max-width:600px){
  header{
    height: 50px;
  }
}

/*フッター*/
footer{
  background-color: var(--accent-color);
  color: var(--background-color);
  text-align: center;
  padding: 15px;
  line-height: 30px;
  font-weight: 100;
}
#contact .contact_txt a{
  color: var(--background-color);
  text-decoration: none;
}
#contact .contact_txt{
  line-height: 1.3rem;
}
#contact .contact_inq a{
  font-weight: 700;
}
#contact .contact_c{
  font-size: 0.8rem;
  padding-top: 20px;
  font-weight: 100;
}