html {
  scroll-behavior: smooth;
}

body {
  /* font-family: 'Helvetica Neue', sans-serif; */
  font-family: "dnp-shuei-gothic-gin-std", sans-serif;
  font-weight: 600;
  font-style: normal;
  line-height: 1.75rem;
  font-size: 1rem;
  color: #ffffff !important;
  background-color: #052e60;
  overflow-wrap: anywhere;
  /* 収まらない場合に折り返す */
  word-break: normal;
  /* 単語の分割はデフォルトに依存 */
  line-break: strict;
  /* 禁則処理を厳格に適用 */

}



.f-eng {
  font-family: "widescreen", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.fc-gold {
  color: #d5c78c;
  position: relative;
}

.l-space-1 {
  letter-spacing: 0.25rem;
}

.l-space-2 {
  letter-spacing: 0.2rem;
}


.fc-gold-star {
  color: #d5c78c;
  position: relative;
  font-weight: 800;
}



.hero {
  min-height: 500px;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: left;
  background-image: url(../images/hero_img.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

h1 img {
  display: block;
  max-width: 60% !important;
}

h3 {
  display: block;
  margin: 0 auto;
}


.fc-gold-star::after {
  content: url(../images/gold-star.svg);
  position: absolute;
  top: -45%;
  transform: scale(1);
}


.fc-gold-star-l::before {
  content: url(../images/gold-star.svg);
  position: absolute;
  top: -70%;
  transform: scale(1);
  max-width: 50%;
}



.fs-8 {
  font-size: 0.7rem !important;
  line-height: 1.2rem;
}





p.lead {
  font-size: 0.9rem;
}


a {
  text-decoration: none;
}


.row-eq-height {
  display: flex;
  flex-wrap: wrap;
}

.skills .card,
.works .card {
  transition: transform 0.3s;
}

.skills .card:hover,
.works .card:hover {
  transform: translateY(-5px);
}

.card-body i {
  margin-top: 5%;
}

.card-body p {
  margin-top: 5%;
  text-align: start;
}

.about-bg {
  background-image:
    url(../images/tree-left.svg),
    url(../images/tree-right.svg);
  background-position:
    left -5% bottom -10px,
    right -10% bottom -10px;
  background-repeat: no-repeat, no-repeat;
}

#about img {
  max-width: 200px;
}


#about dt {
  color: #d5c78c;
  letter-spacing: 0.1rem;
}

#about dd {
  font-family: "dnp-shuei-gothic-gin-std", sans-serif;
  font-weight: 600;
  font-style: normal;
}



.attention {
  width: fit-content;
  margin: 0 auto;
}

.attention li::marker {
  content: "※ ";
}


.attention li {
  margin-bottom: 10px;
}

.bg-color {
  background-color: #234982;
}



footer {
  background: #052e60;
  color: #fff;
  padding: 20px 0;
}

footer a {
  color: #fff;
  margin: 0 8px;
}


.free-ent {
  letter-spacing: 0.4rem;
  position: relative;
  width: 180px;
  margin: 0 auto
}


.free-ent p::before {
  content: url(../images/snowflake.svg);
  position: absolute;
  top: -10%;
  left: 0%;
  transform: scale(0.8);
}

.free-ent p::after {
  content: url(../images/snowflake.svg);
  position: absolute;
  top: -10%;
  right: 2%;
  transform: scale(0.8);
}




/* ボタンジェネレータ */



.btn-style2 {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.1rem;
  cursor: pointer;
  border: 2px solid #d5c78c;
  background-color: transparent;
  color: white;
  transition: background-color 0.3s, color 0.3s;
}

.btn-style2:hover {
  background-color: #d5c78c;
  color: white;
}

.size-small {
  font-size: 1rem;
  padding: 0.5em 1em;
}

.size-medium {
  font-size: 1rem;
  padding: 0.75em 1.5em;
}

.size-large {
  font-size: 1.125rem;
  padding: 1em 2em;
}

.width-auto {
  display: inline-block;
  width: 170px;
}

.width-full {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.radius-none {
  border-radius: 0;
}

.radius-small {
  border-radius: 4px;
}

.radius-medium {
  border-radius: 8px;
}

.radius-large {
  border-radius: 50px;
}


.rights {
  font-size: 0.75rem;
  /* position: fixed; */
  bottom: 0%;
  width: 100%;
}




.cspage {
  padding: 50px 0;
}


@media screen and (min-width:1200px) {
  body {
    font-size: 1.2rem;
    line-height: 2rem;
  }
}



@media screen and (max-width:499px) {
  .fc-gold-star {
    font-size: 1rem;
  }



  .fs-7 {
    font-size: 0.8rem;
    line-height: 1.25rem;
  }



  /* sp用about-bg調整 */
  .about-bg {
    background-image:
      url(../images/tree-left.svg),
      url(../images/tree-right.svg);
    background-position:
      left -6% bottom -10px,
      right -15% bottom -10px;
    background-repeat: no-repeat, no-repeat;
    background-size: 35%;
  }

}


@media screen and (max-width:599px) {



  .pc-display {
    display: none;
  }

  .cs-mb {
    position: relative;
    min-height: 100vh;
    background-image: url(../images/cs_pc_bg@3x-8.png);
    background-size: cover;
    background-repeat: repeat;
    justify-content: center;
    align-items: center;
  }

  .pc-none {
    display: block;
    width: 80vw;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
  }


}




.rights {
  position: fixed;
  height: 60px;
  justify-content: center;
  align-items: center;
   padding-top: 18px;
}

@media screen and (min-width:599px) {
  .pc-none {
    display: none;
  }

  .pc-display {
    display: block;
    width: 90vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);

  }

  .cs-pc {
    position: relative;
    min-height: 100vh;
    background-image: url(../images/cs_pc_bg@3x-8.png);
    background-size: cover;
    background-repeat: repeat;

  }


  .hero-cs {
    height: 100vh;
  }
}
