/*
Theme Name: FALCON Theme
Theme URI: https://falcon-hp.com/
Author: FALCON
Description: FALCON company website theme
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: falcon-theme
*/

/* ==========================================================================
   13. messageページ
   ========================================================================== */
   .message-top {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.message-top_img {
    width: 100%;
    overflow: hidden;
}

.message-top_img img {
    width: 100%;
    height: auto;
    animation: zoom02 2s cubic-bezier(.61,1,.88,1);
    animation-fill-mode: forwards;
}

@keyframes zoom02 {
    0% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.message-top_text {
    background: rgba(255,255,255,.8);
    padding: 2rem;
    position: absolute;
    z-index: 100;
    top: 50%;
    right: 3%;
    transform: translateY(-50%);
    max-width: 400px;
}

.message-top_text h2 {
    font-size: 24px;
    line-height: 1.6;
    margin: 0;
}

.message-top_text span {
    display: block;
    margin: 20px 0 0;
    font-size: 16px;
}


@media screen and (max-width: 768px) {
    .message-top {
        display: flex;
        flex-direction: column;
    }
    .message-top .container{
        padding:0;
    }
    
    .message-top_text {
        padding: 2rem 0;
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        max-width: 100%;
        margin-top: -20px;
    }
    .message-top_text h2 {
        font-size: 1.5rem;
    }
    .message-top_img {
        margin: 0;
    }
}

/* keireki */
.message-reki{
    padding: 0 0 50px;
}
.message-reki ul{
    list-style: none;
    line-height: 2;
}
.message-reki .waku{
    background: #f5f7ff;
  padding: 30px;
}
.message-reki h2{
font-size: 18px;
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    .message-reki .container{
        padding:0;
    }
    .message-reki .waku {
        padding: 30px 20px;
      }

}

/* kikkake */
.message-kikkake .container{
display: flex;
  justify-content: space-between;
}
.message-kikkake_text{
    padding-right: 30px;
    width: 55%;
}
.message-kikkake_text h2{
margin: 0 auto 30px;
}
.message-kikkake_text p{
line-height: 1.9;
}
.message-kikkake_img{
margin: 0 auto;
}
.message-kikkake_img img{
    width: 100%;
}

.hantai .message-kikkake_img {
    order: -1;
  }
.hantai .message-kikkake_text {
  padding-right: 0;
  padding-left: 30px;
}

@media screen and (max-width: 890px) {
.message-kikkake .container {
    flex-wrap: wrap;
  }
  .message-kikkake_text {
    padding-right: 0;
    width: 100%;
    padding-bottom: 30px;
  }
  .message-kikkake_text h2 {
    margin: 30px auto;
  }
  .hantai .message-kikkake_text {
    padding-left: 0;
  }
  .hantai .message-kikkake_img {
    order: 2;
  }
}