@charset "utf-8";

/*cssのリセット*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,
blockquote,pre,abbr,address,cite,code,del,dfn,em,img,
ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,
ol,ul,li,fieldset,form,label,legend,table,caption,
tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,
figcaption,figure,footer,header,hgroup,menu,nav,section,
summary,time,mark,audio,video {
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  border: 0;
  outline: 0;
  background: transparent;
}
 
body {
  line-height: 1;
}
 
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
  display: block;
}
 
nav ul {
  list-style: none;
}
 
blockquote,
q {
  quotes: none;
}
 
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
 
a {
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  background: transparent;
}
 
ins {
  text-decoration: none;
  color: #000;
  background-color: #ff9;
}
 
mark {
  font-weight: bold;
  font-style: italic;
  color: #000;
  background-color: #ff9;
}
 
del {
  text-decoration: line-through;
}
 
abbr[title],
dfn[title] {
  cursor: help;
  border-bottom: 1px dotted;
}
 
table {
  border-spacing: 0;
  border-collapse: collapse;
}
 
hr {
  display: block;
  height: 1px;
  margin: 1em 0;
  padding: 0;
  border: 0;
  border-top: 1px solid #ccc;
}

/* リセットcss */

/*サイト全体の基準となるCSSを記述*/

html {
  font-size: 16px;
}
 
body {
  /*フォントの指定*/
  font-family: Noto, "Hiragino Sans", Helvetica,"Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, "Helvetica Neue", Helvetica, Arial, sans-serif;

  /*行間の指定*/
  line-height: 1.4;
  margin: 0;
  padding: 0;
  /*サイトのデフォルトとなる文字の色を指定*/
  color: #333;
  /* サイト全体の背景色 */
  background-color: #f7f7f7;
}

/* 画面の横幅飛び出ないように */
.wrap {
  overflow: hidden;
}
 
/*見出しを全て太字で表示 + 文字色を黒に*/
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  color: #333;
}
 
img {
  max-width: 100%;
  height: auto;
}

/* 文字の色のcss */
.font-color-deepgreen {
  color: #078890;
}

.font-color-lightgreen {
  color: #66b9bf;
}

.font-color-deeporange {
  color: #e37222;
}

.font-color-lightorange {
  color: #eeaa7b;
}

/*ここまでサイト全体の基準となるCSSを記述*/

/* headerのcss */

.title-text-box {
 max-width: 1200px;
 margin-left: auto;
 margin-right: auto;
 height: 120px;
 text-align: center;
 position: relative;
}

.title-text-box h1 {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%);
  font-size: 2rem;
}

.title-text-box h1 a {
  text-decoration: none;
  font-weight: bold;
  /* font-family: 'Pacifico', cursive; */
  font-family: 'Russo One', sans-serif;
}

.nav {
  margin-bottom: 3rem;
}

nav.nav ul {
  text-align: right;
  position: relative;
}
nav.nav ul::after {
  position: absolute;
  background-color: #07889b;
  z-index: -1;
  border-radius: 30px;
  width: 40rem;
  height: 2.5rem;
  top: 0.5rem;
  right: -5rem;
  content: '';
}

nav.nav ul li {
  display: inline-block;
  margin: 1rem 0.5rem;
}

nav.nav ul li a {
  text-decoration: none;
  color: #f7f7f7;
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  padding: 0.8rem 0.5rem;
  transition: all 0.3s;
}
nav.nav ul li a:hover {
  opacity: 0.7;
}

.top-view {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10rem;
}

.top-texts {
  margin-left: auto;
  margin-right: auto;
}

.top-texts h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  padding: 1rem;
  border-radius: 30px;
  position: relative;
}
.top-texts h2::after {
  content: '';
  position: absolute;
  background-color: #e37222;
  z-index: -1;
  width: 60rem;
  height: 8.5rem;
  border-radius: 50px;
  top: 0;
  left: -43rem;
}

.top-texts p {
  padding: 1rem;
  position: relative;
  top: -1.8rem;
  color: #f7f7f7;
  font-size: 0.9rem;
}

.top-img {
  width: 50%;
  min-width: 400px;
  margin-right: 1rem;
  overflow: hidden;
  border-radius: 50px;
  background: linear-gradient(45deg,#eeaa7b,#66b9bf);
}

.top-img img {
  width: 100%;
  opacity: 0.3;
  vertical-align: bottom;
}

/* PC表示でハンバーガーメニューを見えないように */
.hamburger-menu {
  display: none;
}

/* ここまでheaderのcss */

/* aboutのcss */

.about {
  background-color: #07889b;
  display: flex;
  position: relative;
  margin-bottom: 8rem;
}

.about-img {
  width: 15rem;
  height: 20rem;
  border-radius: 50px;
  overflow: hidden;
  margin-left: 5%;
  margin-right: 5%;
  position: relative;
  top: -2rem;
  border: solid 0.5rem #07889b;
}

.about-img img {
  vertical-align: bottom;
  height: auto;
  width: 130%;
  max-width: 130%;
}

.about-texts {
  width: 50%;
  height: 100%;
  margin-left: 10%;
  margin-right: 10%;
  color: #f7f7f7;
}

.about-texts h3 {
  color: #f7f7f7;
  font-size: 3rem;
  font-family: 'Pacifico', cursive;
  margin-top: 2rem;
  margin-bottom: 1.8rem;
}

.about a {
  font-weight: bold;
  text-decoration: none;
  box-sizing: border-box;
  padding: 1.5rem 6rem;
  background-color: #e37222;
  color: #333;
  border-radius: 40px;
  position: absolute;
  bottom: 10%;
  left: 45%;
  letter-spacing: 0.1rem;
}

/* ここまでABOUT */

/* service */

.service {
  margin-bottom: 8rem;
}

.service h2 {
  font-size: 2rem;
  margin-left: 2rem;
  margin-bottom: 1rem;
  color: #07889b;
  letter-spacing: 0.1rem;
  font-family: 'Russo One', sans-serif;
}

.service-flexbox {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.service-flexbox > div {
  width: 33%;
  box-sizing: border-box;
  border-radius: 50px;
}

.service-flexbox01,
.service-flexbox03 {
  background-color: #eeaa7b;
}

.service-flexbox01 h3,
.service-flexbox02 h3,
.service-flexbox03 h3
 {
  font-size: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
  text-align: center;
}

.service-icons {
  text-align: center;
  font-size: 4rem;
  margin-bottom: 2rem;
}

.service-flexbox01 .service-description,
.service-flexbox02 .service-description,
.service-flexbox03 .service-description {
  padding: 0 2rem;
  line-height: 1.8rem;
  margin-bottom: 3rem;
  text-align: left;
}

.service-flexbox02 {
  background-color: #66b9bf;
}

.service p {
  text-align: center;
}

.service p a {
  font-weight: bold;
  text-decoration: none;
  box-sizing: border-box;
  padding: 1.5rem 6rem;
  background-color: #e37222;
  color: #333;
  border-radius: 40px;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.1rem;
}

/* ここまでservice */

/* works */

.works {
  margin-bottom: 8rem;
}

.works-flexbox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}
.works-flexbox::after {
  position: absolute;
  background-color: #66b9bf;
  content: '';
  width: 100rem;
  height: 2rem;
  right: -45rem;
  bottom: 0;
  z-index: -1;
  border-radius: 50px;
}

.works-flexbox01 {
  box-sizing: border-box;
  width: 30%;
}

.works-flexbox01 h2 {
  text-align: center;
  font-size: 2rem;
  color: #07889b;
  letter-spacing: 0.1rem;
  font-family: 'Russo One', sans-serif;
}

.works-flexbox02 {
  box-sizing: border-box;
  width: 70%;
}

.works-slider {
 width: 85%;
 margin-left: auto;
 margin-right: auto;
}

/* slicksliderクリック時の枠線を消去 */
.works-slider a {
  outline: none;
}

.works-slider li {
  margin-right: 0.5rem;
  margin-left: 0.5rem;
}

.works-slider li a {
 display: inline;
 text-decoration: none;
}

.works-slider li a img {
  margin-bottom: 1.2rem;
  vertical-align: bottom;
  border-radius: 1rem;
}

.works-slider li a h3 {
  text-align: center;
  color: #333;
  margin-bottom: 3rem;
}

.slick-prev {
  position: relative;
}
.slick-prev::before {
  color:#07889b!important;
  position: absolute;
  left: -1.5rem!important;
  font-size: 3rem!important;
}
.slick-next::before {
  color:#07889b!important;
  position: absolute;
  right: -1.5rem!important;
  font-size: 3rem!important;
}

.works p {
  text-align: center;
}

.works p a {
  font-weight: bold;
  text-decoration: none;
  box-sizing: border-box;
  padding: 1.5rem 6rem;
  background-color: #e37222;
  color: #333;
  border-radius: 40px;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.1rem;
}

/* ここまでworks */

/* BLOG */

.blog {
  margin-bottom: 8rem;
}

.blog-flexbox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}
.blog-flexbox::after {
  position: absolute;
  background-color: #eeaa7b;
  content: '';
  width: 100rem;
  height: 2rem;
  right: -45rem;
  bottom: 0.2rem;
  z-index: -1;
  border-radius: 50px;
}

.blog-flexbox01 {
  box-sizing: border-box;
  width: 30%;
}

.blog-flexbox01 h2 {
  text-align: center;
  font-size: 2rem;
  color: #07889b;
  letter-spacing: 0.1rem;
  font-family: 'Russo One', sans-serif;
}

.blog-flexbox02 {
  box-sizing: border-box;
  width: 70%;
}

.blog-slider {
  width: 85%;
  margin-left: auto;
  margin-right: auto;
}

/* slicksliderクリック時の枠線を消去 */
.blog-slider a {
  outline: none;
}

.blog-slider li {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  overflow: hidden;
}

.blog-slider li img {
  margin-bottom: 1.2rem;
  vertical-align: bottom;
  border-radius: 1rem;
}

.blog-slider li a {
  text-decoration: none;
  display: inline;
}

.blog-slider li a h3 {
  color: #333;
  text-align: center;
  margin-bottom: 3rem;
}

.blog p {
  text-align: center;
}

.blog p a {
  font-weight: bold;
  text-decoration: none;
  box-sizing: border-box;
  padding: 1.5rem 6rem;
  background-color: #e37222;
  color: #333;
  border-radius: 40px;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.1rem;
}

/* ここまでBLOG */

/* CONTACT */

.contact {
  margin-bottom: 8rem;
}

.contact-box {
  width: 100%;
  max-width: 700px;
  background-color: #07889b;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5rem;
  padding: 4rem;
  padding: 4rem 4rem 2rem 4rem;
  box-sizing: border-box;
}

.contact-box h2 {
  text-align: center;
  font-size: 2rem;
  color: #f7f7f7;
  margin-bottom: 2rem;
  letter-spacing: 0.2rem;
  font-family: 'Russo One', sans-serif;
}

.contact-box p {
  text-align: center;
  margin-bottom: 2rem;
  color: #f7f7f7;
}

.contact-box .contact-description {
  text-align: left;
  line-height: 1.8rem;
  letter-spacing: 0.1rem;
}

.contact-box p a {
  font-weight: bold;
  text-decoration: none;
  box-sizing: border-box;
  padding: 1.5rem 6rem;
  background-color: #e37222;
  color: #333;
  border-radius: 40px;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.1rem;
}

/* ここまでCONTACT */

/* footer */

.footer {
  height: 7rem;
  position: relative;
}

.footer-contets {
  position: absolute;
  background-color: #eeaa7b;
  width: 150%;
  box-sizing: border-box;
  border-radius: 4rem;
  padding: 2rem 3rem 10rem 4rem;
  left: 50px;
  top: 1rem;
}

.footer-contets h3 {
  font-size: 1.2rem;
  font-family: 'Russo One', sans-serif;
}

.footer-contets p {
  font-size: 0.6rem;
}

.to-top-button {
  position: absolute;
  top: 1rem;
  right: -8rem;
}

.to-top-button a {
  text-decoration: none;
  color: #f7f7f7;
  box-sizing: border-box;
  background-color: #07889b;
  padding: 6rem 10rem 10rem 3rem;
  border-radius: 4rem;
  font-weight: bold;
  font-size: 1.3rem;
}

/* ここまでfooter */

/* タブレット用css 885px */

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

  .service-flexbox {
    flex-wrap: wrap;
  }

  .service-flexbox > div {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .service-flexbox01,
  .service-flexbox02 {
    margin-bottom: 1rem;
  }

  .service-description {
    padding: 0 3rem;
  }

  .service-icons {
    font-size: 8rem;
    margin-bottom: 2rem;
  }

  .works-flexbox::after {
    right: -65rem;
  }

  .blog-flexbox::after {
    right: -65rem;
  }

}/* /タブレット用CSS 885px */

/* スマホ用CSS 740px */

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

  .nav {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }

  .ham-btn {
    position: fixed;
    top: -8rem;
    right: -8rem;
    width: 200px;
    height: 200px;
    border-radius: 2rem;
    background-color: #07889b;
    cursor: pointer;
    z-index: 100;
  }

  .ham-line-top {
    width: 30px;
    height: 2px;
    background-color: #f7f7f7;
    bottom: 40px;
    left: 25px;
    position: absolute;
    transition: all 0.5s ease-in-out;
  }
  .ham-line-top.active {
    transform: rotate(45deg) translate(2px, 4px);
  }

  .ham-line-bottom {
    width: 30px;
    height: 2px;
    background-color: #f7f7f7;
    bottom: 30px;
    left: 25px;
    position: absolute;
    transition: all 0.5s ease-in-out;
  }
  .ham-line-bottom.active {
    transform: rotate(-45deg) translate(2px, -4px);
  }

  .ham-nav {
    position: fixed;
    z-index: 90;
    width: 245px;
    height: 100%;
    top: 0;
    right: -250px;
    background-color: #07889b;
    transition: all .5s ease-in-out;
  }
  .ham-nav.active {
    right: 0;
  }

  .ham-nav ul li a {
    text-decoration: none;
    color: #f7f7f7;
    font-family: 'Russo One', sans-serif;
    display: none;
    position: absolute;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
  }

  .ham-nav-menus.home {
    top: 5rem;
    left: 2.5rem;
  }

  .ham-nav-menus.about {
    top: 8rem;
    left: 2.5rem;
  }

  .ham-nav-menus.service {
    top: 11rem;
    left: 2.5rem;
  }

  .ham-nav-menus.works {
    top: 14rem;
    left: 2.5rem;
  }

  .ham-nav-menus.blog {
    top: 17rem;
    left: 2.5rem;
  }

  .ham-nav-menus.contact {
    top: 20rem;
    left: 2.5rem;
  }

  .ham-back {
    display: none;
    position: fixed;
    z-index: 80;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f7f7f7;
    opacity: .5;
  }

  .title-text-box {
    margin-bottom: 5rem;
  }

  .title-text-box h1 {
    font-size: 2.5rem;
  }

  .top-view {
    position: relative;
    margin-bottom: 8rem;
  } 
  .top-view::after {
    content: '';
    position: absolute;
    background-color: #e37222;
    width: 100%;
    height: 17rem;
    top: 0;
    left: 0;
  } 

  .top-texts {
    margin-left: 10%;
    z-index: 80;
  }

  .top-texts h2 {
    font-size: 3rem;
  }

  .top-texts p {
    font-size: 1rem;
  }

  .top-texts h2::after {
    content: none;
  }

  .top-img {
    position: absolute;
    top: -3rem;
    right: 0;
    width: 200px;
    height: 300px;
    min-width: 200px;
    border-radius: 30px;
    z-index: 70;
  }

  .top-img img {
    width: 200%;
    max-width: 200%;
  }
 
  .br::before {
    content: '\A';
    white-space: pre;
  }

  main .about {
    display: block;
    padding-top: 1rem;
    padding-bottom: 8rem;
  }

  .about-img {
    display: none;
  }

  .about-texts {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .about-texts h3 {
    font-size: 4rem;
    text-align: center;
    width: 100%;
  }

  .about-texts p {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }

  .about a {
    left: 50%;
    transform: translate(-50%, 0);
    bottom: 3rem;
  }
  
  .service-flexbox > div {
    width: 100%;
    /* margin-left: auto;
    margin-right: auto; */
    border-radius: 0;
  }

  .works-flexbox {
    display: block;
    position: relative;
    margin-bottom: 0;
  }

  .works-flexbox01 h2 {
    margin-left: 2rem;
    margin-bottom: 1rem;
    text-align: left;
}

  .works-flexbox02 {
    width: 100%;
  }
  
  .works-slider {
   width: 70%;
  }

  .works-flexbox::after {
    display: none;
  }

  .slick-prev::before {
    bottom: 0;
  }

  .slick-next::before {
    bottom: 0;
  }

  .blog-flexbox {
    display: block;
    margin-bottom: 0;
  }

  .blog-flexbox01 h2 {
    text-align: left;
    margin-left: 2rem;
    margin-bottom: 1rem;
  }

  .blog-flexbox02 {
    width: 100%;
  }

  .blog-flexbox::after {
    display: none;
  }

  .blog-slider {
    width: 70%;
   }

  .contact-box {
    position: relative;
    padding-bottom: 7.5rem;
  }

  .contact-box .contact-buttonbox {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: 1rem;
  }

  .contact-box p a {
    padding: 1.5rem 4rem;
  }

  .footer-contets {
    left: 30px;
}

}/* /スマホ用CSS 740px */

/* WORKS部分とBLOG部分のレイアウト崩れの修正の為390px以下のメディアクエリ記述 */

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

  .works-slider li {
    margin-left: 0;
    margin-right: 0;
  }

  .blog-slider li {
    margin-left: 0;
    margin-right: 0;
  }
  
}/* /スマホ用CSS 390px */