/* ---------- 共通 ---------- */
body {
  font-family: 'メイリオ', Meiryo,'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
  color: #545976;
  background-color: #fff;
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
}

header, 
h1, 
h2, 
h3, 
ol, 
.footer_nav_pc {
  font-family: 'Cinzel', serif;
  font-family: 'Neuton', serif;
  font-weight: normal;
}
h2, 
h3 {
  font-size: 60px;
}
a {
  color: #545976;
  text-decoration: none;
}
.home header nav ul .nav_home a,
.about header nav ul .nav_about a,
.works header nav ul .nav_works a,
.contact header nav ul .nav_contact a, 
.thanks header nav ul .nav_contact a, 
.home .footer_fixed nav ul .nav_home a,
.about .footer_fixed nav ul .nav_about a,
.works .footer_fixed nav ul .nav_works a,
.contact .footer_fixed nav ul .nav_contact a,
header nav ul a:hover,
.footer_fixed nav ul a:hover {
  color: #949494;
}
.inner {
  width: 840px;
  margin-right: auto;
  margin-left: auto;
}
section {
  opacity: 0;
  position: relative;
  bottom: -100px;
 }
 section.on {
  opacity: 1;
  bottom: 0;
  }

/* ----- header ----- */
header {
  width: 100%;
  height: 180px;
  position: relative;
  font-size: 18px;
}
header .nav_pc {
  position: absolute;
  top: 28px;
  right: 70px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  text-align: right;
}
header .nav_pc ul {
  display: flex
}
header .nav_pc .ul_left {
  margin-right: 120px;
}
header .nav_pc .ul_left li {
  margin-right: 65px;
}
header h1 {
  position: absolute;
  top: 80px;
  left: 30px;
}



/* ---------- article --------- */
article{
  margin-bottom: 180px;
}




/* ---------- footer ---------- */
footer {
  height: 150px;
  background-color: rgba(83, 174, 158, 0.6);
}
footer img {
  padding-top: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}
footer p {
  text-align: center;
  font-size: 12px;
  font-family: 'Cinzel', serif;
  font-family: 'Neuton', serif
}




/* ------ 固定footer nav ------ */
.footer_fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1;
  
  width: 100%;
  height: 40px;
  font-size: 20px;
  line-height: 40px;
}
.footer_fixed .footer_nav_pc {
  display: flex;
  background-color: rgba(113, 200, 188, 0.9);
}
.footer_fixed .footer_nav_pc .ul_left {
  display: flex;
  margin-left: 60px;
}
.footer_fixed .footer_nav_pc .ul_left li {
  padding-right: 60px;
}
.footer_fixed .footer_nav_pc .ul_right {
  position: absolute;
  right: 60px;
}
.footer_fixed section {
  opacity: 0;
  position: relative;
}
.footer_fixed section.on {
  opacity: 1;
}




/* ----- スムーズスクロール ----- */
.back-top {
  position: fixed;
  bottom: 200px;
  right: 15%;
 }
 .back-top a{
  display: block;
  opacity: 0.2;
  color: #fff;
  background-color: rgb(83, 174, 158);
  width: 60px;
  line-height: 60px;
  border-radius: 100%;
  text-align: center;
 }
.back-top a:hover {
  opacity: 0.6;
}





/* ----- top以外の共通 ----- */
.about, 
.works, 
.contact {
  margin-top: 165px;
}
.about h2, 
.works h2, 
.contact h2, 
.thanks h2 {
  margin-bottom: 60px;
}



/* ----- hamburger ---- */
.hamburger-button, 
.hamburger-nav {
  display: none;
}

/*  ------float up ----- */
.home .top_works img,
.works img, 
.underpage_web img{
  /* 拡大するのにかかる時間 */
  transition:all 0.8s;
}

.home .top_works img:hover, 
.works img:hover, 
.underpage_web img:hover{
  /* ホバーしたら1.2倍サイズに拡大 */
  transform: scale(1.1);
}

/* ---------- topページ ----------- */
.home .slider {
  margin-bottom: 180px;
}
.slider img {
  object-fit: cover;
}
.slider_sp {
  display: none;
}
.home .greeting_back {
  background-color: rgba(83, 174, 158, 0.6);
  width: 100%;
  height: 510px;

  margin-bottom: 180px;
}
.home .greeting_back .inner {
  position: relative;
}
.home .greeting_back img {
  position: absolute;
  top: 60px;
  z-index: 1;
}
.home .greeting_back h2 {
  position: absolute;
  top: 80px;
  right: 210px;
}
.home .greeting_back .greeting_text {
  position: absolute;
  z-index: 0;
  background-color: rgba(255, 255, 255, 0.6);
  width: 620px;
  height: 260px;
  top: 190px;
  right: 0;
  padding: 25px 30px 30px 60px;
  line-height: 30px;
}
.home .greeting_back .link_box {
  position: absolute;
  bottom: 15px;
  right: 30px;
  font-family: 'Cinzel', serif;
  font-family: 'Neuton', serif;
  font-size: 18px;
}
.home .greeting_back .about_link{
  display:inline-block;
  width: 100px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  text-align:left;
  color:#545976;
  cursor:pointer;
  position: relative;
  text-decoration: none;
}
.home .greeting_back .about_link::before{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 19px;
  margin: auto;
  width: 20px;
  height: 1px;
  background: #545976;
  transition: .3s;
}
.home .greeting_back .about_link::after{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  margin: auto;
  width: 8px;
  height: 8px;
  border-left: 0.5px solid #545976;
  border-bottom: 0.5px solid #545976;
  transform: rotate(-135deg);
  transition: .3s;
}
.home .greeting_back .about_link:hover::before{
  right: 10px;
  width: 30px;
}
.home .greeting_back .about_link:hover::after{
  right: 10px;
}
.home h3 {
  margin-bottom: 60px;
}
.home .top_works {
  display: flex;
  gap: 0 180px;
  margin-bottom: 170px;
  text-align: center;
}
.home .top_works .top_web_link, 
.home .top_works .top_dtp_link{
  overflow: hidden;
}
.home .top_works img {
  margin-bottom: 30px;
}
.home .top_works p {
  font-family: 'Cinzel', serif;
  font-family: 'Neuton', serif;
  font-size: 36px;
}





/* ----------- about -------- */



.about .about_first {
  display: flex;
  margin-bottom: 52.5px;
}
.about .about_first img {
  margin-right: 60px;
}
.about .about_first .about_text {
  font-size: 14px;
  line-height: 30px;
  margin-top: -7.5px;
}

.about dl {
  text-align: center;
  line-height: 30px;
  display: flex;
  flex-wrap: wrap;
  width: 650px;
  margin-left: 150px;
  margin-bottom: 180px;
}
.about dl dt {
  text-align: right;
  width: 130px;
}
.about dl dd {
  text-align: left;
  width: 520px;
}


/*  skills  */
.about .skill_back {
  background-color: rgba(83, 174, 158, 0.6);
  height: 700px;
}
.about .skill_back h3 {
  margin-bottom: 45px;
  position: relative;
  top: -15px;

}
.about .skill_back .skills_head {
  display: flex;
  flex-wrap: wrap;
  gap: 0 60px;
}
.about .skill_back .skills_head .skills_contents {
  display: flex;
  gap: 0 30px;
}
.about .skill_back .skills_head .skills_contents img {
  padding-bottom: 120px;
}
.about .skill_back .skills_contents .skills_text {
  width: 290px;
  line-height: 30px;
  margin-top: -8px;
}
.about .skill_back .skills_contents .skills_text span {
  font-weight: bold;
}





/* ----------- works ---------*/
.works h3 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  top: -15px;
}
.works .works_web {
  display: flex;
  gap: 0 106px;
  margin-bottom: 180px;
}
.works .works_dtp_back {
  background-color: rgba(83, 174, 158, 0.6);
  width: 100%;
  height: 560px;
}
.works .dtp_h3 {
  top: -10px;
}
.works .works_dtp {
  display: flex;
  flex-wrap: wrap;
  gap: 60px 105px;
}

/* float up */
.works .float {
  overflow: hidden;
  width: 210px;
}
.works .float img {
  width: 100%;
}



/* --------- underpage --------- */
/* underpage_web */
.underpage_web ol {
  font-size: 18px;
  display: flex;
  margin-top: 25px;
  margin-bottom: 140px;
}
.underpage_web ol li {
  list-style-type: none;
}
.underpage_web ol li a {
  width: 50px;
}

.underpage_web figure {
  text-align: center;
  margin-bottom: 120px;
  overflow: hidden;
}
.underpage_web figure img {
  width: 100%;
  }
.underpage_web .underpage_web_textbox {
  margin-bottom: 180px;
}
.underpage_web h2 {
  font-family: 'メイリオ', Meiryo,'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
  font-size: 18px;
  border-bottom: solid 1px #545976;
  margin:0 60px 24px 60px;
}
.underpage_web dl {
  text-align: center;
  line-height: 30px;
  display: flex;
  flex-wrap: wrap;
  width: 665px;
  margin-left: 90px;
  margin-bottom: 112px;
}
.underpage_web dt {
  text-align: right;
  width: 85px;
}
.underpage_web dd {
  text-align: left;
  width: 580px;
}
.underpage_web .underpage_web_text {
  line-height: 30px;
  width: 660px;
  margin-left: 90px;
  margin-bottom: 112px;
}
.underpage_web .button_box {
  display: flex;
  gap: 0 100px;
  margin-left: 150px;
}
.underpage_web .link_website {
  width: 170px;
  height: 30px;
  background-color: rgba(83, 174, 158, 0.2);
  text-align: center;
  display: table-cell;
  vertical-align: middle;
}
.underpage_web .link_back {
  width: 70px;
  height: 30px;
  background-color: rgba(83, 174, 158, 0.2);
  text-align: center;
  display: table-cell;
  vertical-align: middle;
}



/* underpage_dtp */
.underpage_dtp ol {
  font-size: 18px;
  display: flex;
  margin-top: 25px;
  margin-bottom: 140px;
}
.underpage_dtp ol li {
  list-style-type: none;
}
.underpage_dtp ol li a {
  width: 50px;
}
.underpage_dtp figure {
  text-align: center;
  margin-bottom: 120px;
}
.underpage_dtp .underpage_dtp_textbox {
  margin-bottom: 180px;
}
.underpage_dtp h2 {
  font-family: 'メイリオ', Meiryo,'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
  font-size: 18px;
  border-bottom: solid 1px #545976;
  margin:0 60px 24px 60px;
}
.underpage_dtp dl {
  text-align: center;
  line-height: 30px;
  display: flex;
  flex-wrap: wrap;
  width: 665px;
  margin-left: 90px;
  margin-bottom: 112px;
}
.underpage_dtp dt {
  text-align: right;
  width: 85px;
}
.underpage_dtp dd {
  text-align: left;
  width: 580px;
}
.underpage_dtp .underpage_dtp_text {
  line-height: 30px;
  width: 660px;
  margin-left: 90px;
  margin-bottom: 112px;
}

.underpage_dtp .link_back_dtp {
  text-align: center;
  line-height: 30px;
}
.underpage_dtp .link_back_dtp a {
  background-color: rgba(83, 174, 158, 0.2);
  padding: 4px 20px;
}







/* --------- contact -------- */
.contact .contact_text {
  line-height: 30px;
  margin-bottom: 60px;
}
.contact table th {
  font-weight: normal;
  display: block;
  line-height: 20px;
}
.contact table .request::after  {
  content: "必須";
  margin-left: 20px;
  color: #fff;
  background-color: #fc9d9d;
  text-align: center;
  font-size: 10px;
  width: 30px;
  padding: 1px 4px;
  vertical-align: middle;
}
.contact table td {
  display: block;
  margin-bottom: 30px;
}
.contact table input {
  background-color: rgba(83, 174, 158, 0.2);
  width: 460px;
  line-height: 20px;
  border: none;
}
.contact table textarea {
  background-color: rgba(83, 174, 158, 0.2);
  width: 460px;
  height: 160px;
  border: none;
}
.contact button {
  background-color: rgba(84, 89, 118, 0.9);
  color: #fff;
  border: none;
  width: 170px;
  height: 30px;
  line-height: 30px;
}





/* --------- thanks ---------- */
.thanks p {
  line-height: 30px;
}
.thanks .thanks_text {
  margin-bottom: 60px;
}
.thanks .thanks_sign {
  text-align: right;
}
