@charset "UTF-8";

.introduction{
    width: 80%;
    margin: 100px auto 0;
}

.introduction-title,
.FAQ-title{
    position: relative;
    display: inline-block;
    padding: 10px 32px;
    background-color: var(--primary-red);
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 0.12em;
    font-family: 'BananaSlip', 'Noto Sans JP', sans-serif;
    margin-bottom: 32px;
}
/* 社員リストのレイアウト（レスポンシブ対応） */
.employee-list {
    max-width: 1780px;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* デフォルトは4列 */
    margin: 0 auto;
    justify-content: center;
    gap: 15px;
}

/* 社員カードのデザイン */
.employee-card {
    align-items: flex-start; /* 左寄せ（必要なら center でもOK） */
    width: 90%;
    margin: 0 auto;
}


/* 社員の画像 */
.employee-card img {
    width: auto;
    height: 260px;
    object-fit: cover;
    margin: 0 auto;
    padding-top: 20px;
}

.employee-card h3 {
    display: inline-block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(1.5rem,calc(28/1100*100vw),1.8rem);
    font-weight: 600;
    color:var(--primary-red);
    border-radius: 50px;
    text-align: left;
    letter-spacing: 0.04em;
    margin-top: 10px;
}


.employee-card p {
    font-family:"Noto Sans JP", sans-serif;
    color:black;
    font-weight: 500;
    font-size: clamp(1.2rem,calc(16/1100*100vw),1.8rem);
    padding: 0 0 0 5%;
}

.employee-photo {
    position: relative;
    width: fit-content;
    margin: 0 auto;
}

/* ここでシルエットに沿った“ふち”を作る */
.employee-photo img {
    display: block;
    height: 220px;

    /* ふちの太さ・広がりを調整したいときは 6px の値を変える */
    filter:
        drop-shadow(0 0 0 var(--shadow-color))
        drop-shadow(7px 0 0 var(--shadow-color))
        drop-shadow(-7px 0 0 var(--shadow-color))
        drop-shadow(0 7px 0 var(--shadow-color))
        drop-shadow(0 -7px 0 var(--shadow-color));
}

  /* 色の指定は親のクラスで */
.employee-photo{
    --shadow-color: rgb(var(--primary-yellow-rgb) / 100%);
}

.br-sp{
    display:none;
}

/* ============768px以下=============== */
@media (max-width: 768px) {

    .employee-list {
        grid-template-columns: repeat(2, 1fr);
        padding: 0;
        margin: 0 auto;
}

    .employee-card img{
        height: 160px;
    }

    .employee-card h3 {
        font-size: clamp(1.4rem,calc(16/1100*100vw),1.8rem);
        border-radius: 25px;
    }

    .br-sp{
        display:block;
    }

    .introduction-title,
    .FAQ-title{
    font-size: 1.8rem;
}

.employee-photo img {
    filter:
        drop-shadow(0 0 0 var(--shadow-color))
        drop-shadow(5px 0 0 var(--shadow-color))
        drop-shadow(-5px 0 0 var(--shadow-color))
        drop-shadow(0 5px 0 var(--shadow-color))
        drop-shadow(0 -5px 0 var(--shadow-color));
}
}


/* ==============================
    よくある質問
    ============================== */
    .FAQ {
  width: 80%;
  margin: 150px auto 0;
  background-image: url(../img/grid-pattern.png);
  background-repeat: repeat-y;
  max-width: 1920px;
}

/* １つのQ&Aブロック */
.qna {
  margin: 80px auto 0;
  max-width: 900px;
}

    .FAQ_section__header{
        display: flex;
        align-items: center;
        width: 90%;
    }
    
    .qna{
        margin-top: 80px;
    }
    
    
.qna-question {
  width: fit-content;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1.6rem, calc(20/1100*100vw), 2rem);
  font-weight: bold;
  color: #000;
  background-color: #fff;           /* 白い吹き出し本体 */
  border: 1px solid #333;
  border-radius: 10px;
  padding: 20px 28px 20px 70px;
  position: relative;
  z-index: 2;
}

/* 吹き出しのしっぽ（右側の小さな三角） */
.qna-question::after {
  content: "";
  position: absolute;
  left: 70%;                     /* 位置は調整 */
  bottom: -13px;
  width: 24px;
  height: 24px;
  background-color: #fff;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  transform: rotate(45deg);
}

/* Q＋？？ のアイコン画像 */
.qna-question::before {
  content: "";
  position: absolute;
  top: -38px;                      /* 吹き出しからどれだけ出すか */
  left: 20px;
  width: 90px;
  height: 90px;
  background-image: url('../img/question.svg');  /* Qの画像 */
  background-size: contain;
  background-repeat: no-repeat;
}
    
    .qna-answer{
        font-family:"Noto Sans JP", sans-serif;
        font-size: clamp(1.4rem,calc(16/1100*100vw),1.8rem);
        background-color: rgb(var(--primary-yellow-rgb) / 60%);
        border-radius: 15px;
        font-weight: 400;
        margin:-20px 0 0 0;
        width: 90%;
        padding: 45px 2% 30px 15%; 
        text-align: left; /* テキストは左揃え */
        margin-left: auto; /* 右側に寄せる */
        background-repeat: no-repeat;
        position: relative;
        z-index: 1;
    }

    
    .qna-answer::before {
        content: "";
        position: absolute;
        top:20%;
        left: 6%;
        width: 70px;
        height: 70px;
        background-image: url('../img/faq-a-deco.svg');
        background-size: contain;
        background-repeat: no-repeat;
    }
    
    /* ============768px以下=============== */
    @media (max-width: 768px) {
        .FAQ-title{
            margin-bottom: 0px;
        }
        .qna{
            margin-top: 60px;
        }
        .FAQ_section__header{
            display: flex;
            flex-direction: column;
            align-items: start;
        }
    
        .FAQ__subheading{
            width: 90%;
            padding: 0 30px 0 7%;;
        }
    
        .faq-summary{
            font-size: clamp(2rem,calc(30/1100*100vw),4rem);
            padding-top: 50px;
            width: 90%;
            margin: 0 auto;
        }
    
        .qna-label{
            font-size: clamp(2rem,calc(30/1100*100vw),4rem);
        }
        
        .qna-question {
            padding: 15px 28px 15px 70px;
        }
      
        .qna-question::before {
            content: "";
            position: absolute;
            top: -38%; /* 位置調整 */
            right: 10px;
            width: 50px;
            height: 70px;
            background-image: url('../img/question.svg'); /* Qの画像 */
            background-size: contain;
            background-repeat: no-repeat;
        }

        .qna-answer{
            padding: 42px 6% 20px 24%; 
            line-height: 1.6;
        }

    
        .qna-answer::before {
            content: "";
            position: absolute;
            top: 14%; /* 位置調整 */
            right: -7%; /* 位置調整 */
            width: 40px;
            height: 70px;
            background-image: url('../img/faq-a-deco.svg'); /* Aの画像 */
            background-size: contain;
            background-repeat: no-repeat;
        }
    }


/* ==============================
    LINE
    ============================== */

    .Line {
        width: calc(100vw - 100px);
        margin: 50px auto;
        text-align: center;
    }
    
    .line-content {
        display: flex; /* 横並びにする */
        align-items: center; /* 高さを中央揃え */
        justify-content:center; 
        padding-top: 80px;
    }
    
    .line-left {
        display: flex; /* アイコンとQRコードを横並びに */
        align-items: center;
        flex-direction: column;
        gap: 2%;
        padding-left: 3%;
    }

    .icon-group {
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: center;
    }

    .line-icon{
        width: 100%;
        height: 15vw;
    }
    
    .qr-code {
        width: 100%; /* アイコンとQRコードのサイズ調整 */
        height: 13vw;
    }
    
    .line-right {
        flex: 1; /* 右側のコンテンツが残りのスペースを占める */
        display: flex; /* flexboxを使って中央揃え */
        flex-direction: column; /* テキストを縦に並べる */
        justify-content: center; /* 縦方向で中央揃え */
        align-items: center; /* 横方向で中央揃え */
        text-align: left; /* テキストを左揃え */
    }
    
    .line-title {
        font-family: 'BananaSlip', 'Noto Sans JP', sans-serif;
        font-size: clamp(2.5rem, calc(35 / 1100 * 100vw), 4.5rem);
        color: var(--primary-red); /* 見出しの色 */
        margin-bottom: 20px; /* 見出しとテキストの間隔 */
        text-align: left; /* テキストを左揃え */
        letter-spacing: 0.04em;
    }
    
    .line-description {
        font-family: "Noto Sans JP", sans-serif;
        font-size: clamp(1.4rem, calc(20 / 1100 * 100vw), 2rem);
        color:black; 
        text-align: center;
    }

    .line-caption {
        font-family:"Noto Sans JP",  sans-serif;
        text-align: center;
        font-size: 2rem;
        color:#6AC26A;
        margin-bottom: 5px;
        font-weight: bold;
        position: relative;
        display: inline-block;
      }
      
      .slash {
        color: #333; 
      }

/* ============768px以下=============== */
@media (max-width: 768px) {
    .Line {
        width: 100%;
        margin-top: 100px;
        }
    
        .line-content {
            display: block; /* 横並びにする */ 
        }
    
        .line-title {
            font-size: clamp(1.8rem, calc(25 / 1100 * 100vw), 3.5rem);
            width: 100%;
            align-items: center;
            text-align: center;
        }
        
    .line-description{
        text-align: left;
    }

    .line-icon{
        width: 120px;
        height: 120px;
    }

    .line-left {
        gap: 10%;
    }
    
    .qr-code {
        width: 105px; 
        height: 105px;
    }

    .line-left {
        justify-content: center;
        padding-left: 0;
    }

    .line-description {
        text-align: left;
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .line-caption {
        font-size: 1.4rem;
      }
}
/* ==========================
footer
========================== */
.footer{
    margin-top: 100px;
}