@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/


@media (min-width: 960px){
    .sp_only{
        display: none;
    }
}
@media (max-width: 959px){
    .pc_only{
        display: none;
    }
}

.inlineblock > span{
    display: inline-block;
}

h2{
    text-align: center;
    position: relative;
    padding: 20px;
    color: #134194;
}
h2:before, h2:after { 
    content:'';
    width: 20px;
    height: 40px;
    position: absolute;
    display: inline-block;
}
h2:before {
    border-left: solid 3px #134194;
    border-top: solid 3px #134194;
    top:0;
    left: 0;
}
h2:after {
    border-right: solid 3px #134194;
    border-bottom: solid 3px #134194;
    bottom:0;
    right: 0;
}

h3{
    border-top: 2px #134194 solid;
    border-bottom: 2px #134194 solid;
    padding: 10px;
    text-align: center;
    margin-bottom: 10px !important;
}
h4{
    text-align: center;
    margin-top: 20px !important;
    margin-bottom: 10px !important;
    border-bottom: 2px #134194 solid;
}
h5{
    text-align: center;
    line-height: 1.5em;
}
h6{
    margin: 20px 0 10px;
}
p{
    margin-bottom: 20px !important;
}

/* Header */

.-txt .c-headLogo__link{
    font-size: 18px;
}

.l-header__customBtn.sp_,
.l-header__menuBtn.sp_{
    display: none;
}
.l-header__logo{
    margin: auto;
}



/* メインビジュアル */
.main_image{
    font-family: "Zen Old Mincho", serif;
    font-weight: bold;
    padding: 150px 0 !important;
    position: relative;
}
.main_image h2{
    font-size: 35px !important;
}
.main_image .swell-block-fullWide__inner h2,
.main_image .swell-block-fullWide__inner div{
    filter: drop-shadow(0 0 3px rgba(19, 65, 148, 0.8));
}

.main_image::after{
    content: "";
    position: absolute;
    background: url('https://nagasaki-kaiyou.com/wp-content/uploads/2024/12/main_human.png');
    background-repeat: no-repeat;
    background-size: 100%;
    display: block;
    width: 600px;
    height: 450px;
    bottom: 0;
    right: 0;
    z-index: 1;
}

@media (max-width: 1099px){
    .main_image::after{
        width: 400px;
        height: 300px;
    }
}

.main_image p{
    font-size: 18px;
}



ol.list_caution{
    list-style: none;
    counter-reset: number;
    color: #fff;
    max-width: 600px;
    background: rgba(238,123,54,0.6);
    padding: 15px 20px;
    border-radius: 20px;
    margin: auto;
    font-size: 12px;
    font-family: initial;
}
ol.list_caution li {
    position: relative;
    padding-left: 40px;
}

ol.list_caution li:not(:last-child){
    margin-bottom: 10px;
}
ol.list_caution li::before {
    counter-increment: number;
    content: '※' counter(number);
    position: absolute;
    left: 0;
}


.main_theme{
    width: 100vw;
    background: #fff;
    position: relative;
    left: 50%;
    transform: translate(-50%);
}

.main_theme .wp-block-group__inner-container{
    padding: 20px;
}

.main_theme .wp-block-group__inner-container,
.main_title .swell-block-fullWide__inner{
    max-width: 800px;
    margin: auto;
}



/* 講演 */

.kouen_blocklist > .swell-block-columns__inner > .swell-block-column{
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
}
.kouen_blocklist > .swell-block-columns__inner > .swell-block-column p{
    margin-bottom: 10px !important;
    line-height: 1.5em;
}
.kouen_blocklist > .swell-block-columns__inner > .swell-block-column img{
    border-radius: 10px;
}

.kouen_blocklist > .swell-block-columns__inner > .swell-block-column .swell-block-columns{
    margin: 20px;
}


.orange_midashi{
    display: inline-block;
    background: #ED7700;
    color: #fff;
    font-weight: bold;
    border: none;
    padding: 5px 20px;
    margin: 0 !important;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50px;
    top: -15px;
    min-width: 40px;
}

.__label{
    font-size: 15px !important;
}


/*テーブル*/

.post_content td, .post_content th{
    border-top: #134194 1px solid;
}
.post_content table:not(.cform) tr:last-child > td,
.post_content table:not(.cform) tr:last-child > th{
    border-bottom: #134194 1px solid;
}
.cform{
    max-width: 800px !important;
    margin: auto;
}
.cform th,
.cform td{
    border-top: none;
    background: #fdfdfd;
    border-left: none;
    margin: 10px 0;
    padding: 15px 0;
}
.cform td{
    max-width: 600px;
}
.cform td input{
    margin: 2px;
}
@media screen and (max-width: 1023px){
.cform th,
.cform td{
    display: block;
}
}
.cform th::before{
    background-color: #fdfdfd !important;
}
.wp-dark-mode-active .cform th::before{
    background-color: #242525 !important;
}
.cform tr:last-child > td{
    border-bottom: none;
}
.cform button,
.cform input,
.cform select,
.cform textarea{
    border: none;
}
.cform input{
    padding: 10px 5px;
    width: 100%;
}
.cform label input{
    width: initial;
}
.cform .required{
    transform: translateY(35%);
}
.cform td:last-child,
.cform th:last-child{
    border-right: none;
}
.form_button{
    margin-top: 40px;
    text-align: center;
}
.submit-btn{
    position: relative;
    display: block;
    width: 100%;
    max-width: 500px;
    left: 50%;
    transform: translateX(-50%);
}
.submit-btn input{
    position: relative;
    width: 100%;
    background: #134194;
    color: #fff;
    font-weight: bold;
    padding: 10px;
    border-radius: 30px;
}
.submit-btn input:hover{
    background: #134194;
}
.form_button p{
    text-align: center;
    width: 100%;
    max-width: 500px;
    display: inline-block;
    margin: 20px auto;
}
.form_button p input{
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    background: #C4C4C4;
    color: #fff;
    font-weight: bold;
    padding: 10px;
    border-radius: 30px;
}
.mwform-tel-field input[type="text"]{
    width: 30%;
}
.text_width100{
    width: 100px;
    display: inline-block;
}
.text_width100 > input{
    width: 100%;
}
.checkbox_flex{
    display: flex;
    flex-wrap: wrap;
}
@media screen and (min-width: 1024px){
    .checkbox_flex span{
        width: 32%;
    }
}
@media screen and (max-width: 1023px){
    .checkbox_flex span{
        width: 50%;
    }
}
@media screen and (max-width: 600px){
    .checkbox_flex span{
        width: 100%;
    }
}
.mw_wp_form .checkbox_flex .horizontal-item + .horizontal-item{
    margin-left: 0px;
}


/* フッターを下につける */
#body_wrap{
    min-height: 100vh;
    position: relative;
    padding-bottom: 100px;
    box-sizing: border-box;
}

footer{
    width: 100%;
    color: #fff;
    text-align: center;
    padding: 10px 0;

    position: absolute !important;
    bottom: 0;
}







.general_discussion .swell-block-columns__inner .swell-block-column{
    padding: 20px;
    background: rgba(255,255,255,0.6);
}
.general_discussion p{
    line-height: 1.8rem !important;
}
.general_discussion .midashi{
    margin-bottom: 15px;
}
h5.h5_general_discussion{
    position: relative;
    font-size: 18px;
    font-weight: bold;
}
h5.h5_general_discussion:before,
h5.h5_general_discussion:after{
    content: "▼";
    padding: 0 5px;
    color: var(--color_link);
}

.top #content{
    padding-top: 0 !important;
}


.link_img a{
    border: 1px #134194 solid;
    border-radius: 50px;
    padding: 2px;
}
.link_img img{
    width: 80%;
    max-width: 300px;
}

.link_img a::after{
    content: url("https://nagasaki-kaiyou.com/2024/wp-content/uploads/2025/11/arrow-up-right-from-square-solid.svg");
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-left: 20px;
}