@charset "utf-8";

body {
  font-family: "Noto Sans JP",sans-serif;
  margin: 0 auto;
  background-color: #F2EEE7;
  color: #483F3F;
  overflow-x: hidden;
}

.header {
    align-items: center;
    padding: 40px 0; /* ← 左右の余白を消す */
    width: 100%;
    margin: 0 auto;
    position: fixed;
} 

.header2 {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 0 4%;
    align-items: center;
}

.logo {
    width: 155px;
    margin: 20px;
}

.nav1 {
    display: flex;
    align-content: center;
}

.nav2 {
    display: flex;
    align-items: center;
    margin: 20px;
    margin-top: 35px;
    padding-right: 30px;
}

.contact {
    display: flex;
    margin-top: 20px;
    background-color: #888787;
    padding: 13px 16px;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    border-radius: 22px;
    align-items: center;
    justify-content: center;
}

/* チェックボックスを非表示にする */
.drawer_hidden {
  display: none;
}

.drawer_open {
  position: absolute;
  width: 50px;   /* ← クリック範囲 */
  height: 50px;  /* ← クリック範囲 */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 100;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #333;
  transition: 0.5s;
  position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
  bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
  top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked ~ .drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#drawer_input:checked ~ .drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
}
  
/* メニューのデザイン*/
.nav_content {
  width: 100%;
  height: 100vh;
  position: fixed;
  bottom: 100%;
  left: 0%; /* メニューを画面の外に飛ばす */
  z-index: 99;
  background: rgba(0, 0, 0, 0.5);
  transition: .5s;
  text-align: center;
  padding-top: 120px;
  font-family: "Montserrat", sans-serif;
  display: flex;
  justify-content: center;
  line-height: 1.9;
}

/* メニュー黒ポチを消す */
.nav_list {
  text-decoration: none;
  border-radius: 10px;
  width: 190px;
  height: 250px;
  background-color: #f5f2ee;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}


.nav_item a {
  color: #483F3F;
  text-decoration: none;
  font-size: 20px;
}

.nav_item a:hover{
  color: #483f3f67;
  font-size: 20px;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .nav_content {
  bottom: 0;/* メニューを画面に入れる */
}

section {
    padding: 0 4%;
    padding-top: 180px;
}

.service {
    display: flex;
    max-width: 900px;
    align-items: center;
    font-size: 40px;
    border-bottom: 1px solid #483F3F;
    padding: 4px 4px;
    margin: 0 auto;
    padding-left: 37px;
    padding-bottom: 15px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}

.service-contents {
    display: flex;
    padding: 0 4%;
    padding-top: 80px;
    font-size: 16px;
    margin: 0 auto;
}

.service-contents1 {
    margin: 0 auto;
    padding: 0 4%;
    max-width: 1000px;
}

.service-contents-top {
    text-align: center;
    margin: 0 auto;
    display: block;
    padding: 0 4%;
    width: 90%;
}

.service-contents-top-text {
    max-width: 75%;
    text-align: center;
    margin: 0 auto;
}


.service-contents2{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-contents2 p {
    font-size: 24px;
    text-align: center;
    font-weight: 600;
    padding: 7px 0 44px 0;
}

.service-contents3{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.service-contents3 p {
    font-size: 24px;
    text-align: center;
    font-weight: 600;
    padding: 7px 0 44px 0;
}

.service-mark {
    display: block;
    width: 172px;
    margin: 0 auto;
    padding-top: 72px;
}

.services-3type {
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
    max-width: 900px;
}

.services {
    width: 30%;
}

.flow-mark {
    display: block;
    width: 98.73px;
    margin: 0 auto;
    padding-top: 72px;
}

.flow2 {
    display: flex;
    margin: auto;
    max-width: 900px;
    padding: 0 4%;
}

.flow-image {
    display: block;
    margin: 0 auto;
    height: 100%;
    width: 150px;
}

.flow-contents {
    text-align: left;
    padding-left: 60px;
    padding-top: 20px;
    flex: 1; /* ← 残り幅を全部使う。行ごとの差がなくなる */
}

.flow-number {
    color: #215BE5;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 10px;
}

.flow-item {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.flow-sentence {
    font-size: 16px;
    line-height: 1.7;
}

.flow5-title{
    font-size: 10px;
    padding-left: 10px;

}
.price-mark {
    display: block;
    width: 123.41px;
    margin: 0 auto;
    padding-top: 72px;
}

.price-list {
    width: 100%;
    max-width: 750px;
    margin: auto;
    padding: 0 4%;
}

.price-list-sp {
    display: none;
}

.contact-box {
    border-radius: 100px;
    padding: 40px 60px;
    max-width: 600px;
    margin: 80px auto;
    text-align: center;
    border: 1px solid #483F3F;
    font-family: "Montserrat", sans-serif;

}

.contact-box h2 {
    font-size: 24px;
    text-align: center;
    font-weight: 600;
    padding: 7px 0 20px 0;
}

.contact-btn {
    width: 361px;
    flex: block;
    margin: 0 auto;
}

.contact-box p {
    font-size: 16px;
    text-align: center;
    font-weight: 400;
    padding: 30px 0 10px 0;
}

.footer {
  background: #215BE5; 
  height: 70px;  
  font-size: 9px;
  margin-top: 70px;
  display: flex;
  justify-content: center; 
  align-items: center; 
  color:#fff;
}




@media (max-width: 990px) {

/* ヘッダー部分 */

.contact {  
    padding: 13px 23px;
}

.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  height: 3px;
  width: 25px;
}

.drawer_open span:before {
  bottom: 8px;
}

.drawer_open span:after {
  top: 8px;
}

/* ページタイトル部分 */

.service {
    max-width: 800px;
}

/* コンテンツ部分 */

.service-contents-top-text {
    font-size: 16px;
    max-width: 85%;
}

.service-contents-top {
    width: 700px;
}

.price-list {
    display: none;
}

.price-list-sp {
    display: block;
    width: 70%;
    max-width: 750px;
    margin: auto;
    padding: 0 4%;
    margin-bottom: 20px;
}

.services-3type {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    justify-content: center;
    max-width: 900px;
    gap: 20px;
}

.services {
    width: 40%;
    margin: 0 auto;
}

}

@media screen and (max-width: 559px) {

/* ヘッダー部分 */

.header {
    padding: 10px 0;
} 


.nav1 {
    display: flex;
    align-content: center;
    margin-left: auto;
}

.contact {  
    padding: 10px 15px;
    font-size: 10px;
}

.logo {
  width: 120px;
  margin: 20px;
}

.drawer_open {
  position: absolute;
  width: 50px;   /* ← クリック範囲 */
  height: 50px;  /* ← クリック範囲 */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 100;
}

.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #333;
  transition: 0.5s;
  position: absolute;
}

.nav_list {
  width: 160px;
  height: 200px;
}

.nav_item a {
  font-size: 16px;
}

.nav2 {
    display: flex;
    align-items: center;
    margin: 20px;
    margin-top: 35px;
    padding-right: 30px;
    margin-left: 5px;
}

/* ページタイトル部分 */

section {
    padding: 0 4%;
    padding-top: 130px;
}

.service {
    max-width: 350px;
    font-size: 29px;
}

/* コンテンツ部分 */

.service-contents {
    padding-top: 60px;
}

.service-contents-top-text {
    font-size: 13px;
    max-width: 85%;
}

.service-contents-top {
    width: 100%;
}

.works-detail-2 {
    display: block;
}

.works-detail-2 img {
    margin: 20px auto;
}


.contact-box {
    border-radius: 110px;
    padding: 30px 50px;
    max-width: 350px;
    margin: 0px auto;
}

.contact-box p {
    font-size: 12px;
}

.price-list {
    display: none;
}

.price-list-sp {
    display: block;
    width: 85%;
    max-width: 750px;
    margin: auto;
    padding: 0 4%;
    margin-bottom: 60px;
}

.flow2 {
    display: block;
}

.flow-contents {
    text-align: center;
    margin: 0 auto;
    padding-left: 0px;
    padding-top: 5px;
    width: 80%;
}

.flow-sentence {
    font-size: 14px;
    line-height: 1.7;
}

.flow-image {
    padding-top: 0px;
    margin-top: 0px;
}

.service-contents2 p {
    font-size: 20px;
}

.service-mark {
    display: block;
    width: 142px;
    margin: 0 auto;
    padding-top: 60px;
}

.service-contents3 p {
    font-size: 20px;
}

.flow-mark {
    display: block;
    width: 90px;
    margin: 0 auto;
    padding-top: 42px;
}

.price-mark {
    display: block;
    width: 110px;
    margin: 0 auto;
    padding-top: 42px;
}

.services {
    width: 65%;
    margin: 0 auto;
}

}