/*
Theme Name: bafessa_test
Theme URI: nothing
Author: takashiraki , aisatou , (keitomurakami)
Author URI: nothing
Description: New ad article wordpress theme
Requires at least:
Tested up to:
Requires PHP: 
Version: 1.0
License: 
License URI: 
Text Domain: 
*/

/****************************************

    /* 共通設定

*****************************************/
@charset "UTF-8";

body {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    color: #111;
    background: white;
    background-size: contain;
    -webkit-text-size-adjust: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

h1 {
    display: none;
}

h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-align: center;
}

h3 {
    font-size: 1.3rem;
    color: #333;
    max-width: 100%;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.2rem;
    color: #333;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
}

p {
    margin: 0;
    color: #333;
    font-weight: normal;
}

img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    height: auto;
}

/* PRのフォントを変更 */
.pr-font {
    color: gray;
    font-weight: bold;
    text-align: right;
}

.underline {
    background: linear-gradient(transparent 65%, #FFE2E2 50%);
    padding: 4px 5px;
}

.h2-margin {
    padding: 3rem 0;
}

/* ◼︎求人
--------------------------------------------------*/
/* 求人表のスタイル変更 */
table {
    border-collapse: collapse;
    width: 100%;
}

table th,
table td {
    border: solid 0.1rem #d3d3d3;
    font-size: 1.2rem;
    text-align: center;
    padding: 1rem;
}

table th {
    width: 16%;
    height: 60px;
}

table td {
    width: 43%;
    height: 60px;
}

/* 表の背景色をピンクに変更 */
.background-pink {
    background-color: #fff8f5;
}

/* 表を中央配置 */
.center {
    margin: 0 10px;
    margin-bottom: 50px;
}

/* ◼︎おすすめの理由
--------------------------------------------------*/
/* スタイル変更 */
.reason-style {
    font-weight: bold;
    margin-bottom: 50px;
}

/* タイトルに番号をふる */
.title-number {
    counter-reset: h3;
}

.title-number h3 {
    display: flex;
    justify-content: start;
    align-items: center;
}

.title-number h3:before {
    counter-increment: h4;
    content: counter(h4);
    background-color: #FFBF86;
    color: #fff;
    width: 2rem;
    height: 2rem;
    margin-right: 2%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.title-number {
    counter-reset: h4;
}

.title-number h4 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-number h4:before {
    counter-increment: h4;
    content: counter(h4);
    background-color: #FFBF86;
    color: #fff;
    width: 2rem;
    height: 2rem;
    margin-right: 2%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

/* 画像の大きさを変える */
.reason-images {
    width: 32%;
}

/* 文字を強調する */
.emphasis {
    color: #F77D7D;
    background: linear-gradient(transparent 65%, #FFFFC4 50%);
    font-weight: bold;
}

/* 余白を入れる */
.margin {
    margin: 10px;
}

/* ◼︎お客様の声
--------------------------------------------------*/
/* 注釈のフォント */
.annotation-font {
    color: gray;
    font-weight: bold;
    text-align: right;
    font-size: 0.7rem;
    margin-top: 10px;
}

/* 文字を小さくする */
.small-text {
    font-size: 0.8rem;
}

/* 画像を小さくする */
.flex img {
    width: 25%;
    height: auto;
    background-color: white;
    border-radius: 50%;
    padding: 0.3rem;
}

.flex {
    display: flex;
    align-items: center;
}

.comment-margin {
    margin: 10px;
}

.container {
    padding: 1.5rem;
    background: #fff8f5;
    border-radius: 13%;
    margin-bottom: 50px;
}

@media screen and (min-width: 800px) {
    .container {
        border-radius: 8%;
    }
}

/* ◼︎ctaボタン
--------------------------------------------------*/
/* ボタンセクションのスタイル変更 */
.button-section-style {
    margin-bottom: 50px;
}

/* ctaボタン */
.button {
    display: block;
    text-align: center;
    text-decoration: none;
    margin: auto;
    padding: 6%;
    background: #00b900;
    color: #fff;
    border-radius: 3rem;
    transition: 0.5s;
    font-size: 1.2rem;
    box-shadow: 0.3rem 0.3rem 0.3rem 0 rgba(0, 0, 0, 0.3);
    font-weight: bold;
}

/* ボタンのひよこ */
.button-image {
    width: 17%;
    margin: 0;
    position: absolute;
    left: 85%;
    top: 34%;
}

/* hoverでスタイル変更 */
.animation:hover {
    opacity: 0.6;
}

/* ボタンのアニメーション */
.animation {
    animation: fuwafuwa 1s ease 0s infinite alternate;
    transform-origin: center;
}

@keyframes fuwafuwa {
    from {
        transform: scale(0.9, 0.9);
    }

    to {
        transform: scale(1, 1);
    }
}

/* フッター
-------------------------------------------------- */
/* フッターのフォント変更 */
.footer-font {
    color: gray;
    font-weight: bold;
    text-align: center;
    font-size: 0.5rem;
    display: block;
    margin: 30px;
}