@charset "utf-8";

/* 挨拶状ドットコムの想い
--------------------------------------------------*/
.message{
    margin-bottom: 80px;
}
.message_box{
    position: relative;
}
.message_box::after {
    content: "";
    background: url(../img/bg_message.png) bottom right no-repeat;
    display: block;
    width: 387px;
    height: 387px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
}
.message p:not(:last-child) {
	margin-bottom: 10px;
}
.message_text{
    margin-bottom:30px;
}
.sign .name{
    display: flex;
    align-items: center;
    gap: 0 10px;
}
.sign .name::after {
	content:"";
    display: block;
    background: url(../img/sign.png) no-repeat 0 0;
	width: 118px;
    height: 26px;
}
@media screen and (max-width:750px){
    .message{
        margin-bottom: calc(60 * 100vw / 750);
    }
    .message_text {
        margin-bottom: calc(60 * 100vw / 750);
    }
    .message_box {
        position: relative;
        padding-bottom: calc(280 * 100vw / 750);
    }
    .message_box::after {
        top: inherit;
        bottom: 0;
        width: calc(387 * 100vw / 750);
        height: calc(387 * 100vw / 750);
        background-size: 100%;
    }
}

/* 挨拶状ドットコムがプロフェッショナルである理由
--------------------------------------------------*/
/* カテゴリリンク */
.expert_box {
    margin-bottom: 50px;
}
.expert_box ul {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(158px,1fr));
    gap: 20px;
}
/* 各項目設定 */
.reason_wrap {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0 20px;
}
.reason_box img {
    width: 100%;
    height: auto;
}
.reason_text{
    width: calc(100% - 400px);
}
.reason_text > p {
    margin-bottom: 14px;
}
.reason_link {
    width: 400px;
}
.reason_link p {
    text-align: center;
}
.reason_img{
    width: 400px;
}
/* プロによるレイアウトと校正 */
.reason_list dt {
    font-weight: bold;
    color: #1C2F61;
    margin-bottom: 20px;
}

@media screen and (max-width:750px){
    /* 各項目設定 */
   .reason_wrap {
        flex-direction: column-reverse;
        gap:calc(20 * 100vw / 750) 0;
    }
    .reason_text,.reason_img,.reason_link{
        width: 100%;
    }
    .reason_text > p {
        margin-bottom:calc(20 * 100vw / 750) ;
    }
    /* プロによるレイアウトと校正 */
    .reason_list dt {
        margin-bottom: calc(10 * 100vw / 750);
    }
    .reason_list .list_disc{
        line-height: 140%;
    }
}
/* 挨拶状ドットコムのスタッフ
--------------------------------------------------*/
.staff_lead {
	margin-bottom: 40px;
}
.staff_lead p:not(:first-child) {
	margin-top: 14px;
}
.department {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 80px;
}
.staff_intro {
    width:calc(100% / 2 - 20px);
}
.staff_box dt {
	font-weight:bold;
	font-size:18px;
}
.staff_box dd {
	margin-top: 18px;
}
.staff_box dd.department_name {
    margin-top: 30px;
}
@media screen and (max-width:750px){
    .staff_intro{
        width: 100%;
    }
    .department {
        flex-direction: column;
        gap:calc(80 * 100vw / 750) 0;
        margin-bottom: 0;
    }
    .staff_box dt,
    .staff_box dd {
        font-size:calc(30 * 100vw / 750);
    }
}


/* 全ページ共通
--------------------------------------------------*/
.font01 {
	font-size: 14px;
	font-weight: bold;
	color: #333333;
}
.font02 {
	font-size: 12px;
	line-height: 150%;
	color: #333333;
}
