@charset "utf-8";
body{
    width: 100%;
    background-color: #f3f3f3;
}
.intro{
    right: 120px;
    width: 50%;
}
.flex_1 {
    display: flex;
    justify-content: space-between;
    position: relative;
    background-color: #ffffff;
    padding: 10px;
}
h1{
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    margin: 0;
}
    .flex_2{
        display: flex;
        font-size: 10px;
        position: absolute;
        right: 0;
        bottom: 10px;
        }
        .flex_2 a {
            display: inline-block;
            margin: 0 20px;
        }
        ul {
            list-style: none;
            padding: 0;
            margin: 0 auto;
        }
        li {
            display: list-item;
            unicode-bidi: isolate;
        }
        .main{
            padding: 300px 0;
            background-color: #e4fbff;
            background: url(../images/pc1.jpg) center center no-repeat;
            background-size: cover;
            position: relative;
        width: 100%;
        }
        .word{
            position: absolute;
            top: 50%;
            left: 46%;
            font-size: 50px;
            padding: 0;
            margin: 0;
            color: #ffffff;
            text-align: center;
            font-weight: bold;
        }
        .rinen{
            text-align: left;
            font-size: 25px;
            max-inline-size: max-content;
            margin-inline: auto;
            padding: 50px;
            line-height: 40px;
        }
        form {
          width: 70%;
          margin: 0 auto;
        }
        .form-row {
          display: flex;
          align-items: center;
          padding: 20px;
          border-bottom: 1px solid #f2f4f5;
        }
        .form-row:last-child {
          border-bottom: none;
        }
        .form-label {
          display: flex;
          align-items: center;
          width: 250px;
        }
        .form-label label {
          font-weight: bold;
        }
        .form-label span {
          margin-left: 10px;
          padding: 2px 6px;
          border-radius: 3px;
          font-size: 12px;
          font-weight: bold;
          color: #fff;
          background-color: #166ab5;
        }
        
        /* フォームパーツのデザイン */
        input, textarea {
          background-color: #f2f4f5;
          border: none;
          border-radius: 3px;
          padding: 15px 20px;
          font-size: 16px;
          color: #333;
          flex-grow: 1;
        }
        input::placeholder,
        textarea::placeholder {
          color: #999;
          font-size: 14px;
        }
        select {
          background-color: #f2f4f5;
          border: none;
          border-radius: 3px;
          padding: 15px 20px;
          font-size: 16px;
          color: #333;
        }
        button {
          cursor: pointer;
          margin-top: 30px;
          margin-bottom: 30px;
          padding: 15px 45px;
          border: none;
          border-radius: 3px;
          color: #fff;
          font-weight: bold;
          background-color: #166ab5;
        }
        .button{
          justify-content: center;
          margin: auto;
          padding-right: 250px;
          
        }
        .white{
          background-color: #ffffff;
          font-weight: bolder;
        }
        .ser{
          text-align: center;
          margin: 80px 0 60px;
          font-weight: bold;
          font-size: 40px;
      }
        .qa-8 dt {
          margin-bottom: 1em;
          color: #333333;
          font-weight: 600;
      }
      
      .qa-8 dt::before,
      .qa-8 dd::before {
          margin-right: .4em;
      }
      
      .qa-8 dt::before {
          content: "Q.";
      }
      
      .qa-8 dd {
          margin: 0 0 2.5em;
          padding: 1em 1.5em;
          color: #333333;
      }
      
      .qa-8 dd::before {
          content: "A.";
      }

      .back{
        background-color: #ffffff;
      }
      .qa{
        justify-self: center;
        padding-bottom: 80px;
      }
      p a{
        width:310px;
        display:block;
    }
    p a img{ width:250px; }
    .contact{
        overflow: visible;
        width: 100%;
        height: 100%;
    }
    p a:hover{ 
        display: block;
        transition-duration: 0.5s;
    }
    p a:hover img{ 
        transform: scale(1.08,1.08);
    transition-duration: 0.5s;
    }
        .footer-menu {
            height: 60px;
            }
            
            .footer-menu-list {
            list-style: none;
            text-align: center;
            line-height: 60px;
            }
            
            .footer-menu-list li {
            margin: 10px;
            display: inline;
            }
        .footer{
            background-color: #000000;
            color: #ffffff;
            padding: 20px;
        }
        .fot{
            color: #ffffff;
            text-align: center;
            background-size: 500px;
        }
        .fotsize{
            font-size: 15px;
        }