@charset "utf-8";

* {
    text-decoration: none;
    margin: 0;
}

@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP');

*{
    font-family: 'Noto Sans JP', sans-serif;
}

/*****header*****/

.header-content {
    height: 80px;
    background-color: white;
    display: flex;
    justify-content: space-between;
}

.title-logo {
    margin-left: 50px;
}

.contact {
    display: flex;
    gap: 50px;
    margin: 10px 50px 0 0;
}

.contact a {
    font-size: 2rem;
}

.header-image {
    background-image: url("images/header-image.png");
    background-size: cover;
    height: 150vh;
    position: relative;
}

.header-message {
    width: 75%;
    position: absolute;
    top: 500px;
    animation-name:fadeDownAnime;
    animation-duration:6s;
    animation-fill-mode:forwards;
    opacity:0;
}
@keyframes fadeDownAnime{
        from {
          opacity: 0;
          transform: translateY(-100px);
          }
        
          to {
            opacity: 1;
          transform: translateY(0);
          }
}

.under-line {
    width: 35%;
    height: 10%;
    position: fixed;
    bottom: 10px;
    right: 0;
    background-color:rgb(6, 179, 6);
    z-index:100;
    border-radius: 10px;
    text-align:center;
}

.under-line a p {
    color: white;
    font-size: 1.3rem;
    padding-top: 15px;
    position: relative;
}

.under-line a p::before {
    content: url("images/line.png");
    position: absolute;
    top: 5px;
    left: 5px;
}


/*****sec-1*****/

.sec-1 {
    
    text-align: center;
    margin: 0;
    padding: 0;
     /* 画面の高さいっぱいに広がるように設定 */
    background: linear-gradient(
    110deg,       /* 斜めの角度（135度は左上から右下に向かう方向） */
    transparent 10%,   /* 透明色から開始 */
    transparent 60%,  /* 透明色の終了位置（線の太さの半分）*/
    #ffbd59 10%,      /* オレンジ色の開始位置 */
    #ffbd59 60%      /* オレンジ色の終了位置 */
    
  );}

.sec-1-message {
    padding-top: 100px;
    font-size: 3.5rem;
    font-weight: bold;
}

.sec-1-message1 {
    padding-top: 100px;
    font-size: 3rem;
}

.sec-1-contact {
    margin-top: 100px;
    font-size: 3.5rem;
}

.sec-1-contact a::before {
    content: url("images/contact-phone.jpg");
    margin-right: 20px;
}

.b-hours {
    font-size: 3.5rem;
    margin-top: 50px;
    line-height: 80px;
    padding-bottom: 100px;
}

/*****sec-2*****/

.sec-2 {
   color: white;
   height: 150vh;
   background-image: url(images/self-intro.jpg);
   background-size: cover;
   background-position: center;
}

.space {
    padding-top: 100px;
}

.self-intro {
    font-size: 50px;
    margin-left: 100px;
    background-color: rgba(0, 75, 173, 0.5);
    padding: 10px 20px;
    display: inline;
    border-radius: 30px;
    text-decoration-line: underline;
}

.sentence-back {
    background-color: rgba(0, 75, 173, 0.5);
    width: 95%;
    margin: 0 auto;
}

.sentence {
    width: 90%;
    margin: 0 auto;
    font-size: 1.75rem;
    padding: 20px;
    line-height: 1.25;
}

.thought {
    border: 3px solid black;
    width: 70%;
    height: 40%;
    margin: 250px auto;
    padding-top: 20px;
}

/*****sec-3*****/

.reason {
    text-align: center;
    margin-top: 100px;
}

.reason img {
    width: 80%;
}

.reason-content {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 100px;
    margin-left: 30px;
}

.reason-box img {
   width: 90%;
}

/*****sec-4******/

.bg-line { /*  背景の線*/
    text-align: center;
    margin: 0;
    padding: 0;
                    /* 画面の高さいっぱいに広がるように設定 */
    background: linear-gradient(
    -95deg,       /* 斜めの角度（135度は左上から右下に向かう方向） */
    transparent 10%,   /* 透明色から開始 */
    transparent 70%,  /* 透明色の終了位置（線の太さの半分）*/
    #ffbd59 0%,      /* オレンジ色の開始位置 */
    #ffbd59 30%      /* オレンジ色の終了位置 */
    
  );}

.sec-4 {
    text-align: center;
}

.assessment {
   margin-top: 200px;
   font-size: 3rem;
   position: relative;
}

.assessment::before {
    content: "flow";
    color: gray;
    font-family: 'Kaushan Script', cursive;
    font-size: 5rem;
    font-style: italic;
    opacity: 50%;
    position: absolute;
    left: 45%;
}

.assess-box,
.assess-box1,
.assess-box2,
.assess-box3,
.assess-box4 {
    display: flex;
    margin: 150px auto;
    justify-content:center;
    gap: 30px;
}

.flow-p {
    font-size: 2.5rem;
    width: 30%;
    margin-top: 50px;
    text-align: left;
    line-height: 1.2;
}

.need {
    font-size: 2.75rem;
    margin: 50px 0;
}

ul {
    list-style: decimal;
    margin: 0 auto;
    width: 30%;

}

li {
    font-size: 2rem;
    text-align: left;
}

.notes {
    font-size: 2rem;
    width: 60%;
    margin: 50px auto 0;
}

/*****sec-5*****/

.sec-5 {
    text-align: center;
}

.eria {
    margin-top: 200px;
    font-size: 3rem;
    position: relative;
 }
 
 .eria::before {
     content: "eria";
     color: gray;
     font-family: 'Kaushan Script', cursive;
     font-size: 5rem;
     font-style: italic;
     opacity: 50%;
     position: absolute;
     left: 45%;
 }

 .activity-eria {
    width: 50%;
    font-size: 2.5rem;
    margin: 70px auto 0;
    padding-bottom: 100px;
 }

 .season-eria {
    font-size: 2rem;
    margin-bottom: 50px;
 }

/*****sec-6*****/

.service {
    margin-top: 100px;
    margin-bottom: 150px;
    font-size: 3rem;
    position: relative;
 }
 
 .service::before {
     content: "service";
     color: gray;
     font-family: 'Kaushan Script', cursive;
     font-size: 5rem;
     font-style: italic;
     opacity: 50%;
     position: absolute;
     left: 30%;
 }

 .sales,
 .maintenance,
 .coating      {
    font-size: 2.5rem;
    margin: 50px auto;
 }

 .service-sales,
 .maintenance-service,
 .coating-service {
    margin-bottom: 50px;
    font-size: 2rem;
 }

 .service-content img,
 .maintenance-content img,
 .coating-content img {
    width: 70%;
    border-radius: 50% 20% / 10% 40%;
    padding-bottom: 100px;
 }

 .car-coment {
    width: 70%;
    margin: 50px auto 200px;
    text-align: left;
    font-size: 1.5rem;
 }

 /*****sec-7*****/

 .question {
        margin: 100px auto;
        font-size: 3rem;
        text-align: center;
 }

/*------------------------------

ここからアコーディオンのCSS

------------------------------*/
/* チェックボックスは非表示 */

.accordion {
    margin-bottom: 100px;
}

.accordion-hidden{
    display: none;
  }
  
  /* Question部分 */
  .accordion-open {
    display: block;
    width: 80%;
    font-size: 1.25rem;
    padding: 10px 50px 10px 10px;
    background: black;
    color: white;
    cursor: pointer;
    margin: 5px auto;
    font-weight: 700;
    position: relative;/* 変更部分 */
  }
  
  /* 開閉状態を示すアイコン+の作成 */
  .accordion-open::before,
  .accordion-open::after {
    content: '';
    width: 3px;
    height: 20px;
    background: white;
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
  }
  
  /* 一本は縦にして+を作る */
  .accordion-open::after {
    transform: translateY(-50%) rotate(450deg);
    transition: .5s;
  }
  
  /* アコーディオンが開いたら縦棒を横棒にして-にする */
  .accordion-hidden:checked + .accordion-open:after {
    transform: translateY(-50%) rotate(0);
  }
  
  /* Answer部分 */
  .accordion-close {
    display: block;
    width: 83%;
    font-size: 1.5rem;
    margin: 0 auto;
    height: 0;
    padding: 10px;
    opacity: 0;
    transition: 1s;/* 表示速度の設定 */
  }
  
  /* チェックボックスにチェックが入ったらAnswer部分を表示する */
  .accordion-hidden:checked + .accordion-open + .accordion-close {
    height: auto;
    opacity: 1;
    padding: 10px;
    background: #ffbd59;
    font-weight: 700;
  }

  /*****footer*****/

.footer-content {
    border-top: 1px solid;
}

 .footer-logo {
    margin-left: 50px;
 } 

 .footer-contact {
    display: flex;
    justify-content:space-evenly;
    text-align: center;
    margin-bottom: 30px;
 }

 .contact-box {
    width: 20%;
    height: 100px;
    border: 1px solid;
 }

 .contact-box a {
    color: black;
 }

 .contact-box span {
    font-size: 1.25rem;
 }

 .contact-box {
    line-height: 2;
 }

.contact-m,
.contact-inst {
    position: relative;
}

 .contact-m::after {
    content: url(images/mail.png);
    position: absolute;
    top: 30px;
    left: 15px;
 }

 .contact-inst::after {
    content: url(images/inst.png);
    position: absolute;
    top: 30px;
    left: 15px;
 }

.end-content {
    text-align: center;
    width: 100%;
    height: 30px;
    background-color: #ffbd59;
    line-height: 2;
}





/*******レスポンシブ*******/


@media (max-width: 750px) {

/******header*******/

.title-logo {
    margin-left: 0px;
}

.contact {
    display: flex;
    gap: 30px;
    margin: 10px 0 20px;
}

.contact a img {
    width: 50px;
}

.header-image {
    background-image: url("images/respon-header.png");
    background-size: cover;
    height: 80vh;
    position: relative;
}

.header-message {
    width: 90%;
    top: 120px;
    left: 30px;    
}

.under-line {
    width: 90%;
    height: 8%;
}

.under-line a p {
    font-size: 1.2rem;
    padding-top: 15px;
    font-weight: bold;
}

.under-line a p::before {
    top: 6px;
    left: 2px;
}

/*****sec-1*****/

.sec-1-message {
    font-size: 2.25rem;
}

.sec-1-message1 {
    padding-top: 100px;
    font-size: 2rem;
}

.sec-1-contact {
    font-size: 2rem;
}

.sec-1-contact a::before {
    content: url("images/contact-phone.jpg");
}

.b-hours {
    font-size: 2rem;
    margin-top: 50px;

}

/*****sec-2*****/

.sec-2 {
    height: 130vh;
    background-image: url("images/self-respon.png");
    background-position: right 30%;
 }
 
 .space {
     padding-top: 50px;
 }
 
 .sentence-back {
     width: 95%;
 }
 
 .sentence {
     width: 90%;
     font-size: 1.25rem;
 }
 
 .thought {
     width: 95%;
     margin: 300px auto 0;
 }


 /*****sec-3*****/

.reason img {
    width: 100%;
}

.reason-content {
    flex-direction: column;
    text-align: center;
    margin: 50px auto;
}

.reason-box img {
    width: 80%;
}

/*****sec-4*****/

.assess-box,
.assess-box2,
.assess-box4 {
    flex-direction: column;
}

.assess-box1,
.assess-box3 {
    flex-direction:column-reverse;
}

.assess-box img,
.assess-box1 img
.assess-box2 img 
.assess-box3 img 
.assess-box4 img {
    width: 60%;
}

.flow-p {
    font-size: 2rem;
    width: 90%;
    margin: 10px auto;
    text-align: left;
    line-height: 1.2;
}

.need {
    font-size: 2rem;
    margin: 50px 0;
}

ul {
    width: 70%;
}

li {
    font-size: 2rem;
    text-align: left;
}

.notes {
    font-size: 1.5rem;
    width: 80%;
}

/*****sec-5*****/

.eria {
    margin-top: 200px;
    font-size: 2.5rem;
 }

 .activity-eria {
    width: 90%;
    font-size: 2rem;
    margin: 70px auto 0;
    padding-bottom: 50px;
 }

 .season-eria {
    font-size: 1.75rem;
    margin-bottom: 50px;
 }

/*****sec-6*****/
 
 .sales,
 .maintenance,
 .coating      {
    font-size: 2.5rem;
 }

 .service-sales,
 .maintenance-service,
 .coating-service {
    font-size: 2rem;
 }

 .service-content img,
 .maintenance-content img,
 .coating-content img {
    width: 90%;
    padding-bottom: 50px;
 }

 .car-coment {
    width: 90%;
    font-size: 1.25rem;
 }

/*****sec-7*****/

 /*****footer*****/

 .footer-content {
    border-top: thick double #ffbd59;
}

 .footer-contact {
    flex-direction:column;
    text-align: center;
    gap: 10px;
 }

 .contact-box {
    width: 50%;
    margin: 0 auto;
 }

.end-content {
    height: 50px;
    line-height: 3;
    font-weight: bold;
    margin-bottom: 0;
}

}