/*
Theme Name: いのちの電話
Verion: 2024
*/

:root {
    --right: 300;
    --regular: 400;
    --medium: 500;
    --bold: 700;
    --black: 900;
    --green: #279841;
    --orange: #f97e23;
    --p-green: #d0ece2;
}

body {
    box-sizing: border-box; 
    margin: 0; 
    padding: 0;
    font-family: "Zen Maru Gothic", serif;
    font-weight: var(--regular);
    font-size: 18px;
    line-height: 1.6;
}
.bold {
    font-weight: var(--bold);
}
h1 {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    line-height: 150px;
    font-size: 42px;
    font-weight: var(--black);
    height: 150px;
    background-image: url(https://find-j.sakura.ne.jp/cms/wp-content/uploads/2024/10/h1_bk.png);
    background-position: center;
}
h1:has(.sub_title) {
    display: flex;
    flex-flow: column;
    justify-content: center;
    line-height: 1.2em;
}
h1 > span {
    font-size:0.7em;
}
h2 {
    font-weight: var(--black);
    text-align: center;
    font-size: 38px;
}

h3 {
    font-size: 36px;
}
    
h3 > span {
    color: var(--green)
}
h3.msg_title {
/*    width: calc(100% - 2rem);*/
    text-align: center;
    background: var(--p-green);
    color: var(--green);
    position: relative;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    margin: 30px 0 10px 0;
/*    cursor: pointer;*/
}
h3.join {
    margin-bottom: 0;
}
h4 {
    font-size: 24px;
    color: var(--orange)
}

header, footer, section {
    margin: 0;
    padding: 0;
}
section {
    padding-bottom: 20px;
}
section#kv {
    padding-bottom: 0;
}
article {
    position: relative;
}
header {
    background-image: url("./images/header_bk.png");
}
.right_flag {
    position: fixed;
    top: 300px;
    right: 0;
    height: 12rem;
    font-weight: var(--bold);
    text-align: center;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    writing-mode: vertical-rl;
    background: var(--orange);
    color: #fff;
    padding: 0.2rem 0.5rem;
    z-index: 100;
}
.to_top {
    position: absolute;
    right: 0;
    top: -5rem;
    height: 6rem;
    font-weight: var(--bold);
    writing-mode: vertical-rl;
    z-index: 120;
    background: #e2f0e6;
    padding: 0.2rem 0.5rem;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    text-indent: -1rem;
}
.to_top > span {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--green);
}
a:hover {
    opacity: 0.5;
    cursor: pointer;
}
button {
    display: block;
    background: none;
    border: none;
    font-size: 18px;
    margin: 35px auto;
}
button a {
    font-size: 24px;
    color: #fff;
}
button:hover {
    cursor: pointer;
    opacity: 0.5;
}
table {
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0px;
}
tr {
    height: 2rem;
}
th {
    background: #e5e4e2;
    text-align: center;
    vertical-align: middle;
    padding: 0 1rem;
}
tr:nth-child(2n) td {
    background: #f9f9f9;
}
td {
    border-bottom: solid 1px #e3e3e3;
    vertical-align: middle;
    padding: 0 1rem;
}

iframe {
    width: 60%;
    margin-left: 20%;
    height: auto;
    aspect-ratio: 16/9;
}
ul {
    list-style-type: none;
}

ul.disc {
    list-style-type: disc;
}
ul.circle_arrow li {
    background-image: url(./images/contact_03.png);
    background-repeat: no-repeat;
/*    background-position: 0 1.5vw;*/
/*    background-size: 4vw;*/
/*    padding-left: 7vw;*/
}
.green_disc_l::before {
    content: "⚫︎";
    color: var(--green);
}


/*********************************/
/* Buton */
.btn_green {
    border: solid 2px var(--green);
    background: #fff;
    color: var(--green);
    font-weight: var(--bold);
    padding: 1rem 2rem;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}
.btn_green > a {
    display: block;
    color: var(--green);
}
.btn_green > img {
    margin-right: 0.5rem;
    width: 2rem;
}
.btn_green:hover {
    opacity: 0.5;
}
.btn_orange {
    background: var(--orange);
    color: #fff;
    font-weight: var(--bold);
    padding: 1rem 2rem;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
/*    font-size: 24px;*/
}
.btn_orange > a {
    display: block;
    color: #fff;
}
.btn_orange:hover {
    opacity: 0.5;
}
.one_btn {
    text-align: center;
}
.three_btn, .four_btn, .two_btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.two_btn {
    justify-content: center;
}
.three_btn > a {
    display: block;
    width: 25%;
    text-align: center;
} 
.two_btn > a {
    display: block;
    width: 30%;
    text-align: center;
}
.two_btn > a {
    margin: 0 25px;
}
.four_btn > a {
    display: block;
    width: 15%;
    text-align: center;
}
.orange {
    color: var(--orange)
}
.green {
    color: var(--green)
}




.header-inner {
    position: relative;
    width: 1150px;
    padding: 14px 25px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-link {
    text-align: right;
}

.header-link a {
    margin: 0 7px;
    font-weight: var(--bold);
}

nav {
    background-color: #fff5b780;
    height: 60px;
    font-size: 17px;
}

nav ul.main_menu {
    width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 0;
}

nav ul.main_menu li {
    line-height: 60px;
    padding: 0;
}

nav ul.main_menu > li > a {
/*    border-left: solid 1px #a9a692;*/
    padding: 0 1rem;
    font-weight: var(--bold);
    color: #000;
}

nav ul.main_menu li:nth-child(1) a {
    border-left: none;
}
   
nav ul.sub_menu {
    display: none;
}

#sitemap {
    background: #fffadb;
    line-height: 1.5;
    position: relative;
}
#sitemap dt {
    font-weight: var(--bold);
}
#sitemap dt > span {
    color: var(--green);
}
#sitemap dd {
    margin-left: 1rem;
}
#sitemap dd a {
    color: #000;
}
#sitemap .header-sns-icons a {
    margin: 0 7px;
}
#sitemap .footer_tm p {
    text-align: center;
    padding: 1rem 0;
    margin: 0;
}

.breadcrumbs {
    height: 3rem;
    line-height: 3rem;
    border-bottom: solid 1px #eee;
}

.footer_sitemap_inner {
    width: 1200px; 
    padding: 50px 25px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start;
}

footer {
    position: relative;
    background: var(--green); 
    color: #fff;
    height: 60px;
}

.footer-inner {
    font-size: 12px;}

.footer-inner p {
    margin: 0;
    text-align: center;
    line-height: 60px;
}

.pagination {
    margin: 80px 0 200px 0;
}
.pagination ul.page-numbers {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}
.pagination span.page-numbers,
.pagination a.page-numbers {
    display: inline-block;
    text-align: center;
    border: solid 1px #f0f0f0;
    width: 2rem;
    border-radius: 5px;
    margin: 0 6px;
}
.pagination span.page-numbers.current {
    border: none;
    background: var(--green);
    color: #fff
}


#kv figure {
    text-align: center;

}

#guidance div.lead {
    width: 65%;
    margin:0 auto 80px auto;
    font-size: 30px;
}
#guidance .buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
#guidance .buttons .banner {
    border-radius: 15px;
    background-position-x: center;
    background-size: cover;
}

#guidance .buttons .banner h3 {
    margin: 25px 0 0 0;
    text-align: center;
}
#guidance .buttons .banner p {
    line-height: 2rem;
    text-align: center;
}
#guidance .buttons .banner button {
    width: 90%;
}

#guidance .buttons .banner1 {
    background-image: url(./images/banner_bkg1.png);
}
#guidance .buttons .banner2 {
    background-image: url(./images/banner_bkg2.png);
}
#guidance .buttons .banner3 {
    background-image: url(./images/banner_bkg3.png);
}
#guidance .buttons .banner4 {
    background-image: url(./images/banner_bkg4.png);
}
#guidance .buttons .banner5 {
    background-image: url(./images/banner_bkg5.png);
}

#recruitment {
    background: #fffadb;
}
#recruitment .youtube {
    width: 70%;
    margin: 0 auto;
}
#news h2 {
    padding-bottom: 25px;
    border-bottom: solid 3px var(--green);
}
#news .news_list {
    border-bottom: dotted 1px #ccc;
    padding: 20px 0;
}
#news .news_date {
    margin-right: 25px;
}
#news .show_all {
    text-align: right;
}

.sns_info {
    background-color: #e2f0e6;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.sns_info .fb iframe {
    height: 100%;
}


.trademark {
    text-align: center;
}
.free_dial_poster {
    float: right;
    text-align: center;
}
.account_info {
    border: solid 1px #f2f2f2;
    border-radius: 15px;
    padding: 1rem 1.5rem;
    width: 40%;
}
.bank_transfer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
dt {
    font-weight: bold;
    margin: 2rem 0 1rem 0;
}

dd span {
    display: inline-block;
    width: 6rem;
}

.table_list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.table_list table {
    width: 45%;
}
.soudanin_lead {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
    font-weight: bold;
}

.tel_list {
    position: relative;
    margin-bottom: 100px;
}
.tel_list .jp_img {
    position: absolute;
}
.entire_tels {
    background: url(./images/tel_list_bk.png) no-repeat 0 0;
    background-size: 100vw;
}
.suicide {
    background: url(./images/suicide_bk.png) no-repeat 0 0;
    background-size: 100vw 100%;
}
.navi_dial {
    background: url(./images/navi_dial_bk.png) no-repeat 0 0;
    background-size: 100vw 100%;
}
.internet_soudan {
    background: url(./images/internet_soudan_bk.png) no-repeat 0 0;
    background-size: 100vw 100%;
}
.izoku_support {
    background: url(./images/izoku_support_bk.png) no-repeat 0 0;
    background-size: 100vw 100%;
}
.area_list {
    width: 100%;
    text-align: center;
    background: var(--p-green);
    color: var(--green);
    position: relative;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    margin: 30px 0 10px 0;
    cursor: pointer;
}
.area_list::after {
    content: "▼";
    position: absolute;
    right: 1rem;
    top: 0;
    display: block;
    background: var(--green);
    color: #fff;
    padding: 0.5rem;
    clip-path: circle();
    font-size: 18px;
}
.entire_tels table {
    display: none;
}
.msg_box_1 {
    width: 65%;
    margin: 130px auto 180px auto;
}
.msg_title {
    background: var(--p-green);
    text-align: center;
    padding: 0.5rem 1rem;
    border: solid 1px var(--p-green);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    margin-bottom: 0;
}
.msg_cnts {
    background: #fbf9ed;
    padding: 1rem;
    margin-bottom: 30px;
    border: solid 1px var(--p-green);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
/*    text-align: center;*/
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}
.msg_cnts p {
    margin: 0;
}
.msg_cnts ol {
    color: var(--orange);
    font-weight: var(--bold);
}

.single_page {
    margin: 50px auto 200px auto;
}
h2.single_title {
    text-align: left;
    border-bottom: solid 1px #e3e3e3;

}
.single_page h4,
.archive_list h4 {
    margin: 25px 0 15px 0;
}
.single_page .cnts_header,
.archive_list .cnts_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}
.single_page .cnts_header .cnts_header_date,
.archive_list .cnts_header .cnts_header_date {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.single_page .cnts_header .cnts_header_category,
.archive_list .cnts_header .cnts_header_category {
    background-color: var(--green);
    color: #fff;
    border-radius: 5px;
    padding: 0 0.5rem;
}
.archive_list {
    border-bottom: solid 1px #e3e3e3;
    padding: 20px 20px 35px 20px;
}
.archive_list:nth-child(1) {
    margin-top: 30px;
}
.archive_list:nth-child(2n) {
    background: #f9f9f9;
}
.list_w_img {
    display: flex;
    align-items: stretch;
}
.list_w_img .thum_img {
    height: 100%;
    max-height: 10rem;
    width: auto;
    margin-right:35px;
}
.list_w_img_cnts {
    width: 100%;
}


.page-id-200 .entire_tels article {
    position: relative;
}
.page-id-200 .entire_tels article img {
    position: absolute;
    right: 0;
    top: 30%;
}
.page-id-200 .msg_title {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--green);
}
.page-id-200 .msg_title img {
    margin-right: 1rem;
}
.page-id-200 .msg_box_2 {
    width: 70%;
    margin: 0 auto;
    display: flex;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
}
.page-id-200 .msg_box_2 .cnts_left {
    width: 70%;
}
.page-id-200 .msg_box_2 .cnts_left p {
    text-indent: -7rem;
    margin-left: 7rem;
}
.page-id-200 .msg_box_2 .cnts_right {
    width: 30%;
    text-align: center;
}
.page-id-200 .msg_box_2 .cnts_right img {
    width: 50%;
}
.page-id-200 .msg_box_2 .cnts_right span {
    font-size: 0.6rem;
}
.page-id-200 .suicide h4 {
    background: #fafce3;
    display: inline-flex;
    align-items: center;
    margin-bottom: 0;
}
.page-id-200 .msg_box_3 {
    width: 70%;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
}
.page-id-200 .msg_box_3 p {
    text-indent: -7rem;
    margin-left: 7rem;
}
.page-id-200 .msg_box_3 h5 {
    margin-bottom: 0;
    font-size: 18px;
}
.page-id-200 .msg_box_3 h5::before {
    content: "▼";
    color: var(--green);
}
/*.page-id-200 .msg_box_3 ul {
    list-style-type: disc;
}*/
.page-id-200 .msg_box_4 {
    width: 80%;
    margin: 60px auto 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    border: solid 1px #e5e5e5;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.page-id-200 .msg_box_4 p {
    display: inline-block;
    width: 100%;
    text-align: center;
}
.page-id-200 .msg_box_4 div {
    width: 100%;
}
.page-id-200 .msg_box_4 div a{
    display: inline-block;
    width: 50%;
    background: url(./images/contact_03.png) 0 center no-repeat;
    text-align: center;
    background-position: 2rem;
}
.page-id-200 .internet_soudan article {
    position: relative;
}
.page-id-200 .internet_soudan img {
    position: absolute;
    right: 0;
    top: 50px;
}
.page-id-200 .izoku_support article {
    position: relative;
}
.page-id-200 .izoku_support div.pdf_link {
    position: absolute;
    right: 0;
    top: 50px;
    text-align: center;
}
.page-id-200 .izoku_support div.pdf_link span {
    font-size: 0.7rem
}

img.h3_over {
    position: absolute;
    right:0;
    z-index: 10;
/*  width: 25%; */
}
/*.page-id-87 #introduction img {
    position: absolute;
    right:0;
    z-index: 10;
}*/

/*.page-id-87 h3 {
    position: relative;
    margin: 30px 0 10px 0;
    cursor: pointer;
}*/
.page-id-87 .msg_box_5 {
    width: 100%;
    border: slid 1px var(--p-green);
    border-radius: 20px;
    background: #fbf9ed;
    padding: 25px;
}
.page-id-87 .msg_box_5 dt {
    font-size: 22px;
}
/*.page-id-87 .msg_box_5 dt::before {
    content: "⚫︎";
    color: var(--green);

}*/
.page-id-87 .msg_box_5 ul {
    padding-left: 0;
}
.page-id-87 .faq h4 {
    border-bottom: solid 1px #e3e3e3;
}
.page-id-87 .faq article div {
    border-bottom: solid 2px #e3e3e3;
}
.page-id-87 .faq .a {
    display: none;
}
.page-id-87 .faq .q {
    position: relative;
}
.page-id-87 .faq .q::after {
    content: "▼";
    position: absolute;
    margin-right: 0.5rem;
    display: inline-block;
    background-color: var(--green);
    color:#fff;
    clip-path: circle();
    right:0;
    padding: 0.5rem;
}
.page-id-87 .faq .q.open::after {
    content: "▲";
}

.page-id-87 .faq .q span {
    color:var(--green);
    font-size: 2rem;
    font-weight: var(--black);
}
.page-id-87 .faq .a span {
    color:var(--orange);
    font-size: 2rem;
    font-weight: var(--black);
}
/****************************************/
.page-id-155 table {
    width: 100%;
    display: none;
}
.page-id-155 table tr:nth-child(1) td {
    border-top: solid 1px #e3e3e3;
}
.page-id-155 #activity ul,
.page-id-155 #organization ul {
    list-style: url(./images/contact_03.png);
}
.page-id-155 .activity_icon {
    position: absolute;
    right: 0;
    bottom: 0;
}

/****************************************/
.page-id-77 h2 {
    text-align: left;
}
.page-id-77 h3.msg_title {
    margin: 30px 0 0 0;
}
.page-id-77 h4 {
    color: #000;
    display: flex;
}
.page-id-77 h4::before {
    content: url(./images/list_icon_04.png);
    margin-right:0.5rem;
}
.page-id-77 .msg_cnts ul {
    list-style: url(./images/contact_03.png);
}
.page-id-77 #method .msg_cnts {
    display: block;
}
.page-id-77 #method .msg_cnts p {
    text-align: left;
}
.page-id-77 #method .msg_cnts a {
    display: inline-block;
}
.page-id-77 #method .msg_cnts span {
    width: 20rem;
}
.page-id-77 #method .msg_cnts .account_info {
    background: #fff;
}
.page-id-77 #method .msg_cnts .account_info table th {
    color: var(--green);
    background: #fff;
    width: 4rem;
    padding: 0 0.5rem;
    border-bottom: solid 1px #d0ece2;
}
.page-id-77 #method .msg_cnts .account_info table td {
    background: #fff;
    border:none;
    padding: 0;
    border-bottom: solid 1px #d0ece2;
}
.page-id-77 #method .msg_cnts .account_info table tr:nth-child(1) th,
.page-id-77 #method .msg_cnts .account_info table tr:nth-child(1) td {
    border-top: solid 1px #d0ece2;
}
.page-id-77 #lead img {
    position: absolute;
    right: 0;
    bottom: 0;
}


/***************************************************/
/**                                               **/
/** SP                                            **/
/**                                               **/
/***************************************************/

@media screen and ( max-width:1199px) {
    .pc {display: none;}

    .has-submenu {
        position: relative;
    }
    .has-submenu::after {
        position: absolute;
        content: "▶︎";
        right: 0.2rem;

    }
    .submenu {
        display: none;
        margin-left: 2rem;
        padding-left: 0;
    }
    .submenu.active {
        display: block;
    }
/*    .submenu li {margin-left: 2rem;}*/
    body {
        font-size: 4vw;
    }
    section {
        padding-bottom: 5vw;
    }

    h1 {
        font-size: 6vw;
        padding-top: 10vw;
    }
    h2 {
        font-size: 4.3vw;
    }
    h3 {
        font-size: 3.8vw;
    }
    h4 {
        font-size: 3.8vw;
    }
    header {
        background-image: url("./images/header_bk_sp.png");
        height: 11.82222vw;
        background-size: 100vw;
        position: fixed;
        width: 100%;
        z-index: 1000;
    }
    button {
        width: 100%;
        max-width: 450px;
        font-size: 3vw;
    }
    button a {
        width: 90%;
        max-width: 450px;
    }
    button img {
        width: 100%;
    }
    .btn_orange {
        padding: 1rem 1rem;
    }
    .btn_green {
        font-size: 4.5vw;
    }

    .wrapper {
        width: 85%;
        padding: 5vw 10% 5vw 5%;
        margin: 0 auto;
    }
    .breadcrumbs .wrapper {
        padding: 0 4vw 0 0;
        display: table-cell;
        vertical-align: middle;
        line-height: 1.2;
        width: 98vw;
    }
    .breadcrumbs {
        display: table-cell;
        vertical-align: middle;
        padding: 1vw 3%;
    }
    .header-inner {
        width: 92.889%;
        padding: 0 3.556%;
    }
    .header-logo {
        width: 45%;
        max-width: 315px;
    }
    .header-logo img {
        width: 100%;
    }
    .g-navi {
        width: 8vw;
        height: 9vw;
/*        background: #fff;*/
    }
    .g-navi:hover {
        cursor: pointer;
    }
    #guidance .buttons figure {
        width: 100%;
    }
    #guidance .buttons figure img {
        width: 100%;
    }
    #recruitment {
        padding: 20x 0 20px 0;
    }
    #recruitment .youtube {
        width: 100%;
        height: 58%;
    }
    .showAll {
        font-size: 4vw;
    }
    .three_btn, .four_btn, .two_btn {
        flex-wrap: wrap;
    }
    .three_btn a, .four_btn a, .two_btn a {
        width: 100%;
        margin-bottom: 20px;
    }
    .table_list {
        flex-wrap: wrap;
    }
    .table_list table {
        width: 100%;
    }
    .soudanin_lead img {
        width: 45%;
    }
    .header-sns-icons {
        position: absolute;
        right: 15vw;
    }
    .header-sns-icons img {
        height: 5vw;
        width: auto;
        margin-right: 0.8vw;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 100%;
        height: 100%;
        cursor: pointer;
      }
      
    .hamburger span {
        display: block;
        height: 3px;
/*        background-color: var(--green);*/
        background-color: #000;
        border-radius: 3px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .hamburger:after {
        content: "menu";
/*        color: var(--green);*/
        color:#000;
        font-size: 2.5vw;
        letter-spacing: 0.6vw;
        line-height: 0.5;
    }
      
      /* メニューのスタイル */
      .sp-menu {
        display: none;
        background-color: #f8f8f8;
        position: fixed;
        top: 13vw;
        right: 0;
        width: 75%;
        min-width: 250px;
        height: 100%;
        overflow-y: auto; /* メニュー部分のみスクロール可能に */
        z-index: 1001;
      }
      
      .sp-menu .main_menu {
        width: 100%;
      }

      .sp-menu > ul {
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: left;
        flex-wrap: wrap;
/*        margin-top: 13vw;*/

      }
      
      .sp-menu ul li {
        padding: 15px;
        line-height: 1rem;
        width: 100%;
      }
      
      .sp-menu ul li a {
        text-decoration: none;
        color: #333;
        border-left:none;
      }
      
      .sp-menu.active {
        display: block;
      }
      
      /* ハンバーガーが開いたときのアニメーション */
      .hamburger.active span:nth-child(1) {
        transform: translateY(2vw) rotate(45deg);
      }
      
      .hamburger.active span:nth-child(2) {
        opacity: 0;
      }
      
      .hamburger.active span:nth-child(3) {
        transform: translateY(-2vw) rotate(-45deg);
      }
      
      /* グレーアウト用のオーバーレイ */
      .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        display: none;
        z-index: 1000; /* メニューの下に配置 */
      }
      
      .overlay.active {
        display: block;
      }
      
      /* スクロール無効化 */
      .no-scroll {
        overflow: hidden;
      }
    
    #kv {
        background-image: url("./images/main_img_sp.png");
        background-position-x: center;
        background-position-y: 11.822222vw;
        height: 88vw;
        background-size: 100vw;
    
    }
    #kv .wrapper {
        padding-top: 11.822222vw;
    }
    #kv h2 {
        margin: 0;
        color: #317d39;
        padding-top: 11vw;
        line-height: 10vw;
        font-size: 6vw;
        margin-left: 5%;
    }

    #kv h3 {
        margin: 0;
        text-align: center;
        color: #ff7701;
        margin-top: 2vw;
        font-size: 5vw;
        margin-left: 5%;
    }

    #kv p {
        margin: 5vw 0 0 0;
        text-align: center;
    }
    #kv img {
        width: 40vw;
        margin-left: 5%;
    }
    #guidance .buttons .banner {
        width: 95%;
        margin: 0 auto 3vw auto;
        border-radius: 15px;
/*        background-position-x: center;*/
/*        background-size: cover;*/
    }
    #guidance .buttons .banner p {
        font-size: 3.5vw;
        line-height: 1.5;
    }
    #guidance .buttons .banner button a {
        font-size: 15px;
    }

    #guidance div.lead {
        font-size: 3.8vw;
        width: 100%;
    }
    .tel_list .jp_img {
        width: 30%;
        right: 0;
        bottom: -20vw;
    }


    .msg_box_1 {
        width: 100%;
        margin: 2vw auto;
    }
    h3.msg_title {
        margin-top: 0;
    }
    .page-id-200 h2 {
        font-size: 4.5vw;
    }
    .page-id-200 .ml_05 {
        margin-left: 0.5rem;
    }
    .page-id-200 .lead ul {
        padding-left: 0;
    }
    .page-id-200 .entire_tels article img {
/*        position: absolute;*/
/*        right: 0;*/
        top: 0;
        width: 30%;
    }
    .page-id-200 .entire_tels article p {
        position: relative;
        z-index: 10;
    }
    .page-id-200 .msg_title img {
        width: 8vw;
    }

    .page-id-200 .msg_box_2 {
        width: 100%;
        flex-wrap: wrap;
        padding: 0.5rem;
    }
    .page-id-200 .msg_box_2 .cnts_left {
        width: 100%;
    }
    .page-id-200 .msg_box_2 .cnts_right {
        width: 100%;
    }
    .page-id-200 .msg_box_2 .cnts_left p {
        text-indent: 0;
        margin-left: 0;
    }
    .page-id-200 .msg_box_3 {
        width: 100%;
        padding: 0.5rem;
    }
    .page-id-200 .msg_box_3 h5 {
        font-size: 4vw;
    }

    .page-id-200 .msg_box_3 p {
        text-indent: 0;
        margin-left: 0;
    }
    .page-id-200 .internet_soudan p.cnts_lead {
        margin-bottom: 70%;

    }
    .page-id-200 .internet_soudan img {
/*        position: absolute;*/
        width: 50%;
        right: 25%;
        top: 42vw;

    }
    .page-id-200 .msg_box_4 {
        width: 98%;
        padding: 1%;
    }
    .page-id-200 .msg_box_4 div {
        display: flex;
        flex-wrap: wrap;
    }
    .page-id-200 .msg_box_4 div a {
        width: 100%;
        background-position: 0.5rem;
    }
    .page-id-200 .izoku_support div.pdf_link {
        width: 90%;
        margin: 5%;
        top: 35%;
    }
    .page-id-200 .izoku_support div.pdf_link img {
        width: 100%;
    }
    .page-id-200 .izoku_support p {
        margin-bottom: 100%;
    }

    .area_tel_list {
/*        table-layout: fixed;*/
        width: 100%;
    }
    .area_tel_list td {
        padding: 0 0.5rem;
    }
    .area_tel_list td:nth-child(1) {
        width: 5%;
    }
    .area_tel_list td:nth-child(2) {
        width: 25%;
    }
    .area_tel_list td:nth-child(3) {
        width: 40%;
    }
    .area_tel_list td:nth-child(4) {
        width: 30%;
    }

    .counselor_voice {
        width: 100%;
    }
    .counselor_voide td:nth-child(1) {
        width: 35%;
    }
    .counselor_voice td:nth-child(2) {
        width: 65%;
        padding: 0.5rem 0;
    }

    .page-id-87 .msg_box_5 {
        width: 98%;
        padding: 1%;
    }
    .page-id-87 #introduction article {
        padding-bottom: 25vw;
    }
    .page-id-87 img.h3_over {
        width: 50%;
        right:25%;
        bottom: -10vw;
    }
/*    .page-id-87 #introduction img {
        width: 50%;
        right:25%;
        bottom: -10vw;
    }*/
    .page-id-77 .ml_05 {
        margin-left: 0.5rem;
    }
    .page-id-77 #lead article {
        padding-bottom: 25vw;
    }
    .page-id-77 #lead img {
        width: 50%;
        right: 25%;
        bottom: -10vw;
    }
    .page-id-77 dd {
        margin-left: 0;
    }
    .page-id-77 .account_info {
        width: 92%;
        padding: 4%;
    }
    .page-id-77 .bank_transfer .account_info {
        margin-bottom: 5vw;
    }
    .page-id-155 .area_list {
        width: auto;
    }
    .page-id-155 #activity article {
        padding-bottom: 30vw;
    }
    .page-id-155 .activity_icon {
        width: 30%;
        right: 35%;
        bottom: -15vw;
    }
    .page-id-87 .example li{
        font-weight: var(--bold);
        text-indent: -2.8rem;
        padding-left: 2.8rem;
    }

    .right_flag {
        top:150px;
        font-size: 0.8rem;
        padding: 0.2rem;
        height:10rem;
    }
    .btn_orange {
            font-size: 16px;
    }
    .to_top {
        font-size: 0.8rem;
        padding: 0.2rem;
        height:5rem;
    }
    p.with_img {
        display: flex;
        flex-flow: column-reverse;
    }
    p.with_img img {
        width: 60%;
        margin-left: 20%;
        margin-top: 20px;
    }
    ul.circle_arrow {
        padding-left: 0;
    }
    ul.circle_arrow li {
        background-position: 0 1.5vw;
        background-size: 4vw;
        padding-left: 7vw;
    }
    .area_list::after {
        padding: 0.3rem;
        font-size: 0.8rem;
    }
    #activity_link,
    #learn_link,
    #ad_link,
    #system_link {
        position: absolute;
        top: -10vw;
    }

    iframe {
        width: 100%;
        margin-left: 0;
    }


}


/***************************************************/
/**                                               **/
/** PC                                            **/
/**                                               **/
/***************************************************/



@media screen and (min-width:1200px) {
    .sp {display: none;}

    header {
        background-position-x: center;
        background-position-y: top;
        height: 175px;
        position: fixed;
        width: 100%;
        z-index: 1000;
/*        background-size: 100vw;*/
    }
    nav ul.main_menu > li > a {
        border-left: solid 1px #a9a692;
    }
    h1 {
        padding-top: 150px;
        background-position-y: 150px;
    }
    h3 {
        margin-top: 90px;
    }
    .submenu {
        display: none; 
        position: absolute;
        background: #fff5b7;
        z-index:100;
        padding-right: 1.5rem;
    }
    .subment li {
        padding: 0 0 0 1.5rem;
    }
    .submenu li a {
        padding: 0;
    }
    .submenu.active {
        display: block; 
    }
      
    .wrapper {
        width: 1150px; 
        padding: 0 25px; 
        margin: 0 auto;
    }
    .header-link a {
        font-size: 14px;
    }
    .breadcrumbs {
        margin-top: 25px;
        font-size: 14px;
    }
    
    .footer_sitemap_inner .col {
        width: 23%;
    }
    #kv {
        background-image: url("./images/main_img.jpg");
        background-position-x: center;
        background-position-y: 175px;
        background-repeat: no-repeat;
        height: 555px;
        padding-top: 175px;
/*        background-size: 100vw;*/
    }

    #kv h2 {
        margin: 0;
        color: #317d39;
        padding-top: 130px;
        line-height: 70px;
        font-size: 50px;
    }

    #kv h3 {
        margin: 0;
        text-align: center;
        color: #ff7701;
        margin-top: 10px;
        font-size: 42px;
    }

    #kv p {
        margin: 10px 0 0 0;
        text-align: center;
    }
    #guidance .buttons .banner {
        width: 550px;
        margin-bottom: 45px;
    }
    #guidance .buttons .banner button a {
        font-size: 20px;
    }

    #recruitment {
        padding: 65px 0 80px 0;
    }
    .sns_info {
        padding: 40px;
        height: 485px;
        margin-bottom: 200px;
    }

    .trademark {
        margin-top: 140px;
        margin-bottom: 80px;
    }
    .three_btn, .four_btn, .two_btn {
        margin-bottom: 80px;
    }
    .btn_green {
        text-align: center;
        width: 25rem;
    }
    .btn_orange {
        font-size: 24px;
    }
    .one_btn {
        width: 25rem;
        margin: 30px auto;
    }
    div.youtube_s {
        width: 750px;
        height: 420px;
        margin: 0 auto;
    }
    .soudanin_lead {
        width: 750px;
        font-size: 28px;
    }

    .tel_list .jp_img {
        width: 25%;
        right: 0;
        bottom: -140px;
    }


    /** 相談先のご案内 **/
    .page-id-200 h2 {
        padding-top: 50px;
        margin: 0 auto 40px auto;
    }
    .page-id-200 article {
        padding-bottom: 60px;
    }
    .page-id-200 .msg_box_1 {
        margin-bottom: 0px;
    }
    ul.circle_arrow li {
        background-position: 0 center;
        background-size: 1rem;
        padding-left: 2rem;
    }
    
    div.bank_transfer > .account_info {
        width: 40%;
    }

    .with_img img {
        margin-left: 20px;
        margin-right: 20px;
    }
    #sitemap_link {
        position: absolute;
        top: -120px;
    }
    #activity_link,
    #learn_link,
    #ad_link,
    #system_link {
        position: absolute;
        top: -175px;
    }
    .page-id-77 #method .msg_cnts .account_info table th {
        width: 6rem;
    }
    .page-id-77 #method .msg_cnts .account_info table td {
        padding: 0 1rem;
    }
    .page-id-155 .area_list {
        width: auto;
    }
    .page-id-87 .example li{
        font-weight: var(--bold);
    }


}

