/*
Theme Name: N-Partner
Theme URL: http://wwww.n-nartner.co.jp
Description: 株式会社エヌ・パートナー
Author: Himakichi
*/

:root {
    --font-main: #333;
    --font-text: #F4A118;
    --blue: #4AD7D1;
    --yellow: #F6D80D;
    --yellow-back: #FEFBE6;
}

body {
    font-family: source-han-sans-japanese, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 200;
    color: var(--font-main);
}

header {
    width: 100%;
    box-shadow: 0px 0px 5px 1px #999 ;
}

.container {
    width: 100%;
}

.hero-01 {
    width: 100%;
}

.hero-01-wbox {
    width: 100%;
}

.hero-01-text {
    width: 100%;
}

.hero-01-span-2 {
    width: 100%;
}

.menu-container {
    width: 100%;
    margin: 0 auto;
    height: 76px;
    display: flex;
    padding: 0 16px;
    align-items: center;
}

.hero-01-wbox {
    width: 100%;
}


.logo {
    padding: 15px 0 0 0;
}

.sp-menu {
    margin-left: auto;
}

.sp-menu #open {
    font-size: 32px;
    line-height: 64px;
    cursor: pointer;
}

.sp-menu #open.hide {
    display: none;
}

main {
    padding: 0 16px;
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    text-align: center;
    padding: 64px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s;
    z-index: 10;
}

.overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.overlay #close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 32px;
    cursor: pointer;
}

.overlay ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.overlay li {
    margin-top: 24px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .3s, transform .3s;
}

.overlay.show li {
    opacity: 1;
    transform: none;
}

.pc-menu {
    display: none;
}

.menu-container img {
    object-fit: contain;
    width: 75%;
    padding-top: 3px;
}

.hero-01-wbox {
    width: 90vw;
    height: 39.5vw;
    margin: 0 auto;
    position: relative;
    background-color: rgba(255,255,255,0.4);
    top: 7vw;
}

.hero-01 {
    width: auto;
    height: 55vw;
    background: url(../img/top-01-sp.jpg);
    background-size: cover;
    margin: 4px 0 0 0;
}

.hero-01-text {
    font-size: 10vw;
    font-weight: 900;
    padding: 4vw 0 0 4vw;
    line-height: 11vw;
}

.hero-01-span-1 {
    font-size: 4vw;
}

.hero-01-span-2 {
    font-weight: 300;
    padding: 0 0 4vw 4vw;
    font-size: 4vw;
}

.hero-02 {
    color: var(--font-text);
    font-size: 3.5vw;
    text-align: center;
    line-height: 7vw;
    margin: 5vw auto;
}

h2 {
    font-size: 7vw;
    font-weight: 600;
    text-align: center;
    color: var(--font-text);
    line-height: 7vw;
}

h2 span {
    font-size: 3vw;
    font-weight: 200;
    color: var(--font-main);
    position: relative;
    display: inline-block;
    padding: 0 25px;
}

h2 span:before, h2 span:after{
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 15px;
    height: 1px;
    background-color: #666;
}

h2 span:before {
    left: 0;
}

h2 span:after {
    right: 0;
}

/* top-about-as */
    
.top-sec-about {
    background: url(../img/top-about-back.jpg);
    background-size: cover;
    padding: 5vw 0 0 0;
}

.top-about {
    display: grid;
    grid-template-columns: repeat(2, 41vw);
    gap: 4vw 4vw;
    justify-content: center;
    padding: 5vw 0;
    font-size: 4vw;
}

.top-about div {
    padding: 30px 0;
    font-weight: 400;
    text-align: center;
    border-radius: 5px;
    background-color: rgba(255,255,255,0.6);
    transition: all 0.5s;
}

.top-about div:hover {
    background: rgba(246,216,13,0.6);
}

/* top-info */
    
.top-sec-info {
    margin: 5vw 0 0 0;
}

/* top-activities */

.top-sec-activities {
    background: var(--yellow-back);
    padding: 5vw 0;
}

.top-activities {
    display: grid;
    grid-template-columns: repeat(1, 85vw);
    gap: 6vw 0;
    justify-content: center;
    margin: 5vw;
}

.top-activities div {
    background: #fff;
    border-radius: 10px;
}

.top-activities-img {
    display: block;
    margin-inline: auto;
    padding: 5vw 0;
    width: 20vw;
}

.top-activities-h3 {
    font-size: 5.5vw;
    font-weight: 600;
    text-align: center;
    margin: 0 0 5vw 0;
}

.top-activities-p {
    padding: 0 5vw 5vw 5vw;
    text-align: justify;
    font-size: 4.3vw;
    line-height: 5.4vw;
}

.top-activities-p a{
    color: var(--font-text);
    font-weight: 500;
}

/*
* 新着記事一覧ショートコード用
*/

.top-info {
    width:100%;
    margin: 5vw auto;
}

.top-info ul {
    width: 85vw;
    margin: 0 auto;
    font-size: 4vw;
}

.top-info li {
    padding: 2vw 0;
    display: block;
    border-bottom: 1px dotted #999;
}

.top-info p {
    display: inline;
    padding: 0 0 0 3vw;
}

.top-info h4 {
    display: inline;
    padding: 0 0 0 5vw;
}

/* single-news.php */

.contents-body {
    width: 90vw;
    margin: 0 auto;
    font-size: 4vw;
}

.contents-body li {
    border-bottom: 1px dotted #999;
    padding: 2vw 1vw 2vw 2vw;
    list-style: none;
}

.contents-body li a {
    padding:0 0 0 2vw;
}

/* share */
    
.single-p-container {
    margin-inline: auto;
    padding: 5vw 0;
    text-align: center;
}

.single-p-container img {
    width: 20vw;
}

.single-p-title {
    font-size: 6vw;
    font-weight: 500;
    margin: 5vw 0;
    color: var(--font-text);
}

.single-p-title-h3 {
    width: 90vw;
    font-size: 5vw;
    font-weight: 400;
    border-bottom: 2px solid var(--font-text);
    margin: 0 auto 3vw auto;
    padding: 0 0 1vw 3vw;
}

.single-p-aisatsu {
    width: 90vw;
    padding: 0 1vw 4vw 1vw;
    margin: 0 auto;
    text-align: justify;
    line-height: 6vw;
    font-size: 4vw;
}

/* about-signle */
    
.company-cat {
    width: 90vw;
    margin: 5vw auto;
}

.company-cat ul {
    display: block;
    list-style: disc;
    margin: 0 0 5vw 7vw;
}

.company-cat li {
    font-size: 4vw;
    padding: 5px 0;
}

.company-cat h4 {
    font-weight: 400;
    font-size: 5vw;
    color: var(--font-text);
    padding: 0 0 5vw 3vw;
}

/* recruit-single */

table {
    width: 90vw;
    margin: 5vw auto;
    border-collapse: separate;
    border-spacing: 1vw;
}

table tr {
    padding: 1rem;
    /* border-bottom:1px solid #aaa; */
}

table th,td {
    font-size: 4vw;
    padding:2vw;
}

table th {
    width: 30vw;
    font-size: 4vw;
    font-weight: 400;
    background: var(--yellow-back);
}

.recruit-table-p {
    padding: 0 0 1rem 0;
}

/* shops */

.single-shop {
    display: grid;
    grid-template-columns: repeat(1, 90vw);
    gap: 5vw 0;
    justify-content: center;
    padding: 0;
}

.single-shop table {
    width: 90vw;
    margin: 0;
    padding: 0;
    font-size: 1rem;
}

.single-shop th {
    width: auto;
    padding: 0;
    margin: 0;
    text-align: center;
    vertical-align: middle;
}

.single-shop td {
    padding: 5px 0;
    margin: 0;
    text-align: center;
}

.single-p-shops {
    width: 90vw;
    margin: 20px auto;
}

.map {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 75%; /* 比率を4:3に固定 */
  }
   
  /* Google Mapのiframe */
  .map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

.single-p-shops-title-p {
    padding: 0 0 0 3.5vw;
    font-size: 4vw;
}

.single-p-shop-title-h3 {
    width: 100%;
    font-size: 5vw;
    font-weight: 400;
    border-bottom: 2px solid var(--font-text);
    margin: 0 auto 3vw auto;
    padding: 0 0 1vw 3vw;
}

.news-single-sec {
    width: 90vw;
    margin:5vw auto;
}

.news-single-sec li {
    list-style: disc;
    font-size: 4vw;
    line-height: 6vw;
}

.news-single-sec ul {
    padding-left: 2rem;
}

.news-single-sec p {
    margin: 5vw 0;
    font-size: 4vw;
    line-height: 6vw;
    padding: 0 3vw;
}

/* ページタブの共通スタイル */
.nav-links a.page-numbers ,
.nav-links .current,
.nav-links a.prev,
.nav-links a.next,
.nav-links .dots {
    width: 10vw;
    height: 10vw;
    text-align: center;
    line-height: 10vw;
    background: #fff;
    color: #7090DD;
    border-radius: 50%;
    margin-right: 2vw;
    font-size: 3vw;
    font-weight: bold;
    border: 1px solid #7090DD;
}

/* ページネーション */

/* 真ん中に設置 */
.pagination {
    text-align: center;
    display: block;
    padding: 5vw 0;
}

/* 横並びにする */
.nav-links .page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* マウスが乗った時の、ボタンの背景の色と文字の色 */
.nav-links a.page-numbers:hover {
    color: #FFF;
    background-color: #999;
    border-color: #999;
    border-radius: 50%;
}

/* 現在のページのタブ  */
.nav-links .current {
    background: #7090DD;
    color: #FFFFFF;
    padding: 0;
}

/* 前への「＜」、次への「＞」 */
.nav-links a.prev,
.nav-links a.next {
    border: 1px solid #004BB1;
    color: #004BB1;
    position: relative;
}

/* // 縦線の共通CSS */
.nav-links .next::before,
.nav-links .prev::after {
    content: "";
    display: inline-block;
    width: 0.5px;
    height: 40px;
    background-color: rgb(224, 215, 215);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}


/* 次へ」の前の縦線位置 */
.nav-links .next::before {
    left: -15px;
}

/* //「前へ」の後の縦線位置 */
.nav-links .prev::after {
    right: -15px;
}

/*  数字省略の「・・・」 */
.nav-links .dots {
    background: transparent;
    border: none;
}

.page-under {
    display: grid;
    width: 800px;
    margin: 2rem auto;
}

/* Privacy */

.privacy h3 {
    font-weight: 400;
    font-size: 5vw;
    margin: 0 0 5vw 0;
    padding: 0 5vw;
}

.privacy p {
    line-height: 6vw;
    padding: 0 5vw;
    margin: 0 0 5vw 0;
    font-size: 4vw;
}

.privacy ul {
    margin: 0;
    padding:  5vw;
}

.privacy li {
    list-style: circle;
    margin-left: 6.5vw;
    margin-bottom: 4vw;
    font-size: 4vw;
    line-height: 6vw;
}

/* 問合せボタン */

a.btn {
    display: inline-block;
    text-align: center;
    margin: 5vw 0;
}

a.btn--orange {
    color: #fff;
    background-color: #eb6100;
}

a.btn--orange:hover {
    color: #fff;
    background: #f56500;
}

a.btn-c {
    font-size: 4vw;
    position: static;
    padding: 2vw 10vw;
    border-radius: 100vh;
}

a.btn-c i.fa {
    margin-right: 4vw;
}

/* コンタクトフォーム */

table.CF7_table{
    width: 95%;
    margin:0 auto;
}

table.CF7_table tr{
    display: block;
    width: 100%;
    line-height:2.5em;
    padding: 0 0 1rem 0;
    margin: 0 0 1rem 0;
    border-bottom: 1px solid #aaa;
}

table.CF7_table th {
    width:100%;
    background-color:#ebedf5;
    display: block;
    line-height:2.5em;
}

table.CF7_table td {
    padding: 2vw 0 2vw 0;
    display: block;
    width: 100%;
    line-height:2.5em;
}

table.CF7_table p{
    margin: 0;
    padding: 0;
    font-size: 1rem;
}

table.CF7_table input {
    padding: 0.5rem;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table{
    display:table;
}

/*入力欄*/
.CF7_table input, .CF7_table textarea {
    border: 1px solid #d8d8d8;
}

.CF7_table ::placeholder {
    color:#797979;
}

.CF7_table select {
    border: 1px solid #d8d8d8;
    appearance: menulist;
    padding: 0.5rem;
}

/*「必須」文字*/
.CF7_req{
    font-size:.9em;
    padding: 5px;
    background: #f79034;/*オレンジ*/
    color: #fff;
    border-radius: 3px;
    margin-right:1em;
}

/*「任意」文字*/
.CF7_unreq{
    font-size:.9em;
    padding: 5px;
    background: #bdbdbd;/*グレー*/
    color: #fff;
    border-radius: 3px;
    margin-right:1em;
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
    background-color: var(--font-text);
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 auto;
    padding: 0.5rem 1rem;
}

.CF7_btn{
    text-align:center;
    margin-top:20px;
}

.wpcf7-spinner{
    width:0;
    margin:0;
}

.wpcf7-form-control .wpcf7-select {
    appearance: menulist;
}

.footer-menu {
    display: none;
}

.copy {
    font-size: 3vw;
    text-align: center;
    margin: 5vw 0;
}

/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */


@media (min-width: 1024px) {

    .container {
        width: 1024px;
        margin: 0 auto;
    }

    .menu-container {
        width: 1024px;
        margin: 0 auto;
        height: 76px;
        display: flex;
        padding: 0 16px;
        align-items: center;
    }


    .pc-menu {
        display: block;
        margin-left: auto;
    }

    .pc-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
    }

    .pc-menu {
        font-weight: 500;
    }

    .pc-menu li span {
        font-size: 0.8rem;
        color: var(--blue);
    }

    .pc-menu a {
        display: block;
        width: 130px;
        text-align: center;
        line-height: 20px;
    }

    .menu-container a:hover {
        opacity: 0.5;
    }

    .menu-container img {
        object-fit: contain;
        width: auto;
        padding-top: 3px;
    }

    .sp-menu {
        display: none;
    }

    /* PC old */

    .hero-01 {
        height: 400px;
        background: url(../img/top-01.jpg);
        margin: 4px 0 0 0;
    }
    
    .hero-01-wbox {
        width: 700px;
        height: 330px;
        position: relative;
        background-color: rgba(255,255,255,0.4);
        top: 40px;
        margin: 0;
    }
    
    .hero-01-text {
        font-size: 4rem;
        font-weight: 900;
        padding: 30px 0 0 30px;
        line-height: 5rem;
    }
    
    .hero-01-span-1 {
        font-size: 2rem;
    }
    
    .hero-01-span-2 {
        font-weight: 300;
        padding: 15px 0 0 30px;
        font-size: 1.4rem;
        line-height: 10px;
    }
    
    .hero-02 {
        color: var(--font-text);
        font-size: 1.5rem;
        text-align: center;
        line-height: 3rem;
        margin: 80px auto 0 auto;
    }
    
    /* top-about-as */

    .top-sec-about {
        background: url(../img/top-about-back.jpg);
        background-size: cover;
        padding: 50px 0 0 0;
        margin: 80px 0 0 0;
    }

    .top-about {
        font-size: 1rem;
        display: grid;
        grid-template-columns: repeat(4, 235px);
        gap: 0 28px;
        justify-content: center;
        padding: 50px 0;
    }

    .top-about div {
        padding: 30px 0;
        font-weight: 400;
        text-align: center;
        border-radius: 5px;
        background-color: rgba(255,255,255,0.6);
        transition: all 0.5s;
    }

    .top-about div:hover {
        background: rgba(246,216,13,0.6);
    }

    /* top-info */

    .top-sec-info {
        margin: 50px 0 0 0;
    }

    /* top-activities */

    .top-sec-activities {
        background: var(--yellow-back);
        padding: 50px 0;
    }

    .top-activities {
        display: grid;
        grid-template-columns: repeat(3, 330px);
        gap: 0 17px;
        justify-content: center;
        margin: 50px 0 0 0;
    }

    .top-activities div {
        background: #fff;
        border-radius: 10px;
    }

    .top-activities-img {
        display: block;
        margin-inline: auto;
        padding: 30px 0;
        width: auto;
    }

    .top-activities-h3 {
        font-size: 1.5rem;
        font-weight: 600;
        text-align: center;
        margin: 0 0 30px 0;
    }

    .top-activities-p {
        padding: 0 20px 30px 20px;
        text-align: justify;
        font-size: 1rem;
        line-height: normal;
    }

    .top-activities-p a{
        color: var(--font-text);
        font-weight: 500;
    }


    footer {
        padding: 80px 0;
        margin: 50px 0 0 0;
        border-top: 2px solid var(--font-text);
    }

    .footer-menu {
        display: inline;
    }

    .copy {
        font-size: 0.7rem;
        text-align: center;
        margin: 2rem 0 0 0;
    }

    /* about-signle */

    .company-cat {
        width: 800px;
        margin: 50px auto 0 auto;
    }

    .company-cat ul {
        display: block;
        list-style: disc;
        margin: 0 0 30px 40px;
    }

    .company-cat li {
        font-size: 1rem;
        padding: 5px 0;
    }

    .company-cat h4 {
        font-weight: 400;
        font-size: 1.2rem;
        color: var(--font-text);
        padding: 0 0 15px 1rem;
    }

    .single-p-aisatsu {
        width: 800px;
        padding: 1rem 0 0 1rem;
        margin: 1rem auto;
        text-align: justify;
        line-height: 2rem;
        font-size: 1rem;
    }
    
    /* recruit-single */
    
    table {
        width: 800px;
        margin: 50px auto 0 auto;
        border-collapse: separate;
        border-spacing: 5px;
    }
    
    table tr {
        padding: 1rem;
        border-bottom:1px solid #aaa;
    }
    
    table th,td {
        font-size: 1rem;
        padding:1rem;
    }
    
    table th {
        width: 250px;
        font-weight: 400;
        background: var(--yellow-back);
    }
    
    .recruit-table-p {
        padding: 0 0 1rem 0;
    }
    
    /* shops */
    
    .single-shop {
        display: grid;
        grid-template-columns: repeat(2, 500px);
        gap: 0 15px;
        justify-content: center;
        padding: 20px 0 0 0;
    }
    
    .single-shop table {
        width: 500px;
        margin: 0;
        padding: 0;
        font-size: 1rem;
    }
    
    .single-shop th {
        width: auto;
        padding: 0;
        margin: 0;
        text-align: center;
        vertical-align: middle;
    }
    
    .single-shop td {
        padding: 5px 0;
        margin: 0;
        text-align: center;
    }
    
    .single-p-shops {
        width: 1024px;
        margin: 20px auto;
    }
    
    .single-p-shops-title-p {
        padding: 0 0 0 1rem;
        font-size: 1rem;
    }
    
    .single-p-shop-title-h3 {
        width: 1024px;
        font-size: 1.5rem;
        font-weight: 400;
        border-bottom:3px solid var(--font-text);
        margin: 50px auto 0 auto;
        padding: 0 0 5px 1rem;
    }
    
    .news-single-sec {
        width: 800px;
        margin:50px auto;
    }
    
    .news-single-sec li {
        list-style: disc;
        font-size: 1rem;
        line-height: normal;
    }
    
    .news-single-sec ul {
        padding-left: 2rem;
    }
    
    .news-single-sec p {
        margin: 50px 0 0 0;
        font-size: 1rem;
        line-height: 2rem;
        padding: 0 1.5rem;
    }
    
    /* Privacy */
    
    .privacy h3 {
        font-weight: 400;
        font-size: 1.5rem;
        margin: 0 0 1rem 0;
        padding: auto;
    }
    
    .privacy p {
        line-height: 2rem;
        padding: 1rem 0;
        margin: 0 0 2rem 0;
        font-size: 1rem;
    }
    
    .privacy ul {
        margin: 1rem 0;
        padding: 1rem 0;
    }
    
    .privacy li {
        list-style: circle;
        margin-left: 1.5rem;
        margin-bottom: auto;
        line-height: 2rem;
        font-size: 1rem;
    }
    
    /* Contact */
    
    .contact-single-sec {
        margin: 0;
        line-height: 2rem;
        padding: 1.5rem 2rem;
    }
    
    /* share */
    
    .single-p-container {
        margin-inline: auto;
        padding: 50px 0;
        margin: 0 0 50px 0;
        text-align: center;
        border-bottom: 1px solid #aaa;
    }

    .single-p-container img {
        width: auto;
    }
    
    .single-p-title {
        font-size: 2rem;
        font-weight: 500;
        margin: 15px 0 0 0;
        color: var(--font-text);
    }
    
    .single-p-title-h3 {
        width: 800px;
        font-size: 1.5rem;
        font-weight: 400;
        border-bottom:3px solid var(--font-text);
        margin: 50px auto 0 auto;
        padding: 0 0 5px 1rem;
    }

    /*
    * 新着記事一覧ショートコード用
    */

    .top-info {
        width:1024px;
        margin: 50px auto;
        font-size: 1rem;
    }

    .top-info ul {
        /* display: flex; */
        width: 1024px;
        font-size: 1rem;
    }

    .top-info li {
        padding: 1rem;
        display: block;
        border-bottom: 2px dotted #999;
    }

    .top-info p {
        display: inline;
        padding: 0 0 0 1.5rem;
    }

    .top-info h4 {
        display: inline;
        padding: 0 0 0 3rem;
    }

    /* single-news.php */

    .contents-body {
        width: 1023px;
        margin: 0 auto 50px auto;
        font-size: 1rem;
    }

    .contents-body li {
        border-bottom: 1px dotted #999;
        padding: 1rem 0 1rem 2rem;
        list-style: none;
    }

    .contents-body li a {
        padding:0 0 0 2rem;
    }

    h2 {
        font-size: 2.5rem;
        font-weight: 600;
        text-align: center;
        color: var(--font-text);
        line-height: 2.8rem;
    }

    h2 span {
        font-size: 1rem;
        font-weight: 200;
        color: var(--font-main);
        position: relative;
        display: inline-block;
        padding: 0 25px;
    }

    h2 span:before, h2 span:after{
        content: '';
        position: absolute;
        top: 50%;
        display: inline-block;
        width: 15px;
        height: 1px;
        background-color: #666;
    }

    h2 span:before {
        left: 0;
    }

    h2 span:after {
        right: 0;
    }

    footer {
        text-align: center;
    }

    /* 問合せボタン */

    a.btn {
        display: inline-block;
        text-align: center;
        margin: 50px 0;
    }

    a.btn--orange {
        color: #fff;
        background-color: #eb6100;
    }

    a.btn--orange:hover {
        color: #fff;
        background: #f56500;
    }

    a.btn-c {
        font-size: 1rem;
        position: static;
        padding: 1rem 2rem;
        border-radius: 100vh;
    }

    a.btn-c i.fa {
        margin-right: 1rem;
    }



    /* ページネーション */

    /* 真ん中に設置 */
    .pagination {
        text-align: center;
        display: block;
        padding: 50px 0;
    }

    /* 横並びにする */
    .nav-links .page-numbers {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* ページタブの共通スタイル */
    .nav-links a.page-numbers ,
    .nav-links .current,
    .nav-links a.prev,
    .nav-links a.next,
    .nav-links .dots {
        width: 50px;
        height: 50px;
        text-align: center;
        line-height: 50px;
        background: #fff;
        color: #7090DD;
        border-radius: 50%;
        margin-right: 25px;
        font-size: 12px;
        font-weight: bold;
        border: 1px solid #7090DD;
    }

    /* マウスが乗った時の、ボタンの背景の色と文字の色 */
    .nav-links a.page-numbers:hover {
        color: #FFF;
        background-color: #999;
        border-color: #999;
        border-radius: 50%;
    }

    /* 現在のページのタブ  */
    .nav-links .current {
        background: #7090DD;
        color: #FFFFFF;
        padding: 0;
    }

    /* 前への「＜」、次への「＞」 */
    .nav-links a.prev,
    .nav-links a.next {
        border: 1px solid #004BB1;
        color: #004BB1;
        position: relative;
    }

    /* // 縦線の共通CSS */
    .nav-links .next::before,
    .nav-links .prev::after {
        content: "";
        display: inline-block;
        width: 0.5px;
        height: 40px;
        background-color: rgb(224, 215, 215);
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }


    /* 次へ」の前の縦線位置 */
    .nav-links .next::before {
        left: -15px;
    }

    /* //「前へ」の後の縦線位置 */
    .nav-links .prev::after {
        right: -15px;
    }

    /*  数字省略の「・・・」 */
    .nav-links .dots {
        background: transparent;
        border: none;
    }

    .page-under {
        display: grid;
        width: 800px;
        margin: 2rem auto;
    }

    /* コンタクトフォーム */

    table.CF7_table{
        width: 800px;
        margin:0 auto;
    }

    table.CF7_table tr{
        border-top: 1px solid #e5e5e5;
    }

    table.CF7_table th {
        padding: 0 1rem;
        vertical-align: middle;
    }

    table.CF7_table td {
        padding: 0.5 0;
    }

    table.CF7_table p{
        margin: 0;
        padding: 0;
        font-size: 1rem;
    }

    table.CF7_table input {
        padding: 0.5rem;
    }

    .single .entry-content table.CF7_table,
    .page .entry-content table.CF7_table{
        display:table;
    }

    /*入力欄*/
    .CF7_table input, .CF7_table textarea {
        border: 1px solid #d8d8d8;
    }

    .CF7_table ::placeholder {
        color:#797979;
    }

    .CF7_table select {
        border: 1px solid #d8d8d8;
        appearance: menulist;
        padding: 0.5rem;
    }

    /*「必須」文字*/
    .CF7_req{
        font-size:.9em;
        padding: 5px;
        background: #f79034;/*オレンジ*/
        color: #fff;
        border-radius: 3px;
        margin-right:1em;
    }

    /*「任意」文字*/
    .CF7_unreq{
        font-size:.9em;
        padding: 5px;
        background: #bdbdbd;/*グレー*/
        color: #fff;
        border-radius: 3px;
        margin-right:1em;
    }

    /* タイトル列 */
    @media screen and (min-width: 768px){
        .CF7_table th{
        width:30%;/*横幅*/
        background-color:#ebedf5;/*ブルーグレー*/
        }
    }

    /* レスポンシブ */
    @media screen and (max-width: 768px){
        table.CF7_table{
        width:95%;
        }
        .CF7_table tr, .CF7_table td, .CF7_table th{
        display: block;
        width: 100%;
        line-height:2.5em;
        }
        .CF7_table th{
        background-color:#ebedf5;
        }
    }

    /* 「送信する」ボタン */
    .wpcf7 input.wpcf7-submit {
        background-color:#f79034;/* オレンジ*/
        border:0;
        border-radius: 10px;
        color:#fff;
        font-size:1.2em;
        font-weight:bold;
        margin:0 auto;
        padding: 0.5rem 1rem;
    }

    .CF7_btn{
        text-align:center;
        margin-top:20px;
    }

    .wpcf7-spinner{
        width:0;
        margin:0;
    }

    .wpcf7-form-control .wpcf7-select {
        appearance: menulist;
    }

}






/*
PC：設定なし（実質1025px以上）
タブレット：1024px [max-width : 1024px]
スマートフォン：599px [max-width : 599px]
*/