@charset "utf-8";

/* ↓リセット */
*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

body {
  /* ↓　基本のフォント */
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 12px;
  color: #4A5052;
  line-height: 2;
  letter-spacing: 1.3px;
  /* ↑　基本のフォント */
  background-color: #FAFAF6;
}

/* pcの基本フォント設定 */
@media (min-width: 1025px) {
  body {
    font-size: 16px;
  }
}


/* ↓　フォント */

.top_ja_ttl2 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.5;
}

.top_en_ttl2 {
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .1em;
  color: #FFC9A2;
  line-height: 1.5;
}

.ja_ttl1 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.en_ttl1 {
  color: #FFC9A2;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
}

.ja_ttl2 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
}

.about_ttl3 {
  color: #FF9142;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.works_ttl3 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

/* pcのフォント設定 */
@media (min-width: 1025px) {

  .top_ja_ttl2 {
    font-size: 40px;
  }

  .top_en_ttl2 {
    font-size: 24px;
  }

  .ja_ttl1 {
    font-size: 40px;
  }

  .en_ttl1 {
    font-size: 24px;
  }

  .ja_ttl2 {
    font-size: 32px;
  }

  .about_ttl3 {
    font-size: 20px;
  }

  .works_ttl3 {
    font-size: 24px;
  }
}

.current {
  color: #FF9142;
}


/* header */
header {
  width: 100%;
  height: 60px;
}

/* ハンバーガーメニュー */

#g_nav {
  position: fixed;
  z-index: -1;
  opacity: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(#f7f7ee, #eae8d0 60%, #f5be92);
  transition: all 0.3s;
}

#g_nav.panelactive {
  opacity: 1;
  z-index: 999;
}

#g_nav ul {
  display: none;
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#g_nav.panelactive ul {
  display: block;
}

#g_nav li {
  list-style: none;
  text-align: center;
}

#g_nav li a {
  font-size: 15px;
  padding-top: 38px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

#g_nav li span {
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #FF9142;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

/* ハンバーガーボタン */
.openbtn {
  position: fixed;
  z-index: 9999;
  top: 10px;
  right: 20px;
  cursor: pointer;
  width: 35px;
  height: 50px;
}

.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  height: 1px;
  border-radius: 2px;
  background-color: #FF9142;
  width: 35px;
}

.openbtn span:nth-of-type(1) {
  top: 15px;
}

.openbtn span:nth-of-type(2) {
  top: 25px;
}


.openbtn.active span:nth-of-type(1) {
  top: 18px;
  transform: translateY(6px) rotate(-30deg);
  width: 35px;
}

.openbtn.active span:nth-of-type(2) {
  top: 30px;
  transform: translateY(-6px) rotate(30deg);
  width: 35px;
}

/* pcのheader */

@media (min-width: 1025px) {

  header {
    width: 100%;
    height: 80px;
    padding-right: 75px;
  }

  /* ハンバーガーメニュー */

  #g_nav {
    position: static;
    z-index: 0;
    opacity: 1;
    top: auto;
    width: 100%;
    height: 100%;
    background-image: initial;
  }

  #g_nav ul {
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;

    position: static;
    top: auto;
    left: auto;
    transform: none;
  }

  #g_nav li {
    padding-left: 78px;
  }

  #g_nav li a {
    font-size: 16px;
    letter-spacing: 0;
    transition: .3s;

    line-height: 1.5;
    padding-top: 0;
  }

  #g_nav li a:hover {
    color: #FF9142;
  }

  #g_nav li span {
    display: none;
  }

  /* ハンバーガーボタン */
  .openbtn {
    display: none;
  }
}

/* リンクボタン */
.linkbtn_area {
  display: block;
  text-decoration: none;
  width: 170px;
}

.linkbtn_area_text {
  display: block;
  padding-right: 8px;
  margin-bottom: 3px;
  text-align: right;
  font-size: 12px;
  letter-spacing: .1em;
  line-height: 1.5;
}

.linkbtn_area_line {
  position: relative;
  display: block;
  height: 1px;
  background-color: #4A5052;
}

.linkbtn_area_circle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #FF9142;
  transform: translateY(-50%);
  transition: left 0.5s ease;
}

.linkbtn_area:hover .linkbtn_area_circle {
  left: 100%;
}

/* pcのリンクボタン */

@media (min-width: 1025px) {

  .linkbtn_area {
    width: 190px;
  }

  .linkbtn_area_text {
    padding-right: 10px;
    margin-bottom: 8px;
    font-size: 14px;
  }
}

/* footer */

footer {
  width: 100%;
  height: 350px;
  background-image: url(../img/footer_sp.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  text-align: center;
  position: relative;
  line-height: 1.5;
}

.pagetop {
  width: 50px;
  height: 50px;
  position: absolute;
  top: -7%;
  left: 50%;
  transform: translateX(-50%);

  transition: .3s;
}


/* .pagetop img { 
  width: 100px;
}*/

.top_ttl2 {
  padding-top: 50px;
}

.address_area {
  padding-top: 35px;
}

.address_area p {
  font-weight: 400;
  letter-spacing: .1em;
}

.address {
  display: block;
  margin-top: 25px;
  margin-left: auto;
  margin-right: auto;
  width: 300px;
  background-color: #fff;
  border-radius: 8% / 50%;
  padding: 8px 28px;
  font-size: 16px;
  letter-spacing: 0;
  color: #FF9142;
}

.address:hover {
  color: #fff;
  background-color: #FF9142;
}

.small_text {
  padding-top: 80px;
}

.small_text p,
.small_text small {
  font-size: 8px;
  font-weight: 400;
  letter-spacing: .1em;
}

/* pcのfooter */

@media (min-width: 1025px) {

  footer {
    height: 680px;
    background-image: url(../img/footer_pc.svg);
  }

  .pagetop {
    width: 113px;
    height: 113px;
    position: absolute;


    transition: .3s;
  }

  .pagetop:hover {
    transform: translate(-50%, -10px);
    transform-origin: center center;
  }


  .top_ttl2 {
    padding-top: 155px;
  }

  .address_area {
    padding-top: 40px;
  }

  .address_area p {
    font-size: 20px;
  }

  .address {
    margin-top: 30px;
    width: 570px;
    padding: 19px 95px;
    font-size: 36px;
  }

  .small_text {
    padding-top: 150px;
  }

  .small_text p,
  .small_text small {
    font-size: 12px;
  }

}