/*
    Theme Name: zon-hp
    Author: zon
*/

*,
*::before,
*::after {
  box-sizing: border-box;
  padding:0;
  margin:0;
}

html {
    background-color:#000000f9;
}

body {
    color:#ffffff;
    font-family: "Kaisei Decol", serif;
    font-weight: 500;
    font-style: normal;
}

a {
    display:block;
    text-decoration:none;
    color:#ffffff;
}

h3 {
    font-size: 2rem;
}

.sec_span {
    display: block;
    font-size: 1.25rem;
    font-weight: bold;
    margin-top: 10px;
}

.wrap {
    max-width:1200px;
    margin:0 auto;
}

.sec-flex {
    display:flex;
    gap:40px;
    margin-bottom:60px;
}

/* h2のタイトル（共通） */
.title {
    margin-top:60px;
}

.sec_title {
    font-size: 3rem;
    margin-bottom: 100px;
    -webkit-box-reflect: below -15px -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, .5));
}

.span-title {
    display: block;
    font-size: 1.5rem;
    margin-top: 100px;
    margin-bottom: 20px;
}

img {
    max-width: 100%;
}

li {
    list-style: none;
}

.page_top_btn {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-weight: bold;
    padding: 0.7em;
    text-align: center;
    background: rgb(255, 0, 0);
    color: #fff;
    z-index:30;
}

.page_top_btn:hover {
    background: rgba(118, 1, 1, 0.8);
    color: rgb(255, 255, 255, 0.8);
}

header {
    width: 100%;
    display: flex;
    justify-content:space-between;
    align-items:center;
    position: relative;
}

.humburger {
    display:none;
}

#header .flex_box {
    display:flex;
    justify-content:space-between;
    align-items:center;
}

#header img {
    width: 15%;
    height: auto;
    margin:5px;
    margin-left:20px;
}

#header ul {
    display:flex;
    justify-content:flex-end;
}

#header ul li{
    font-size:1.5rem;
    padding:20px;
    font-family:"Noto Sans";
    font-weight: bold;
}

#header ul li a {
    display:block;
    line-height:1;
}

.top_img {
    margin-bottom:500px;
}

.top_img img{
    width:100%;
    height:1000px;
    object-fit:cover;
    object-position:center;
}

#pr {
    margin-bottom: 300px;
}

#pr .Career_box {
    position:relative;
}

#pr .CB_text {
    position:absolute;
    top:35%;
    left:6%;
}

#pr .CB_text h1 {
    font-size:3rem;
}

#pr .CB_text p {
    font-size:20px;
    margin-top:20px;
    line-height:1.8;
}

#plan_link {
    position:relative;
    margin-bottom: 300px;
}

.text_item {
    width:50%;
    height:820px;
    padding:50px 40px 20px;
    font-size:2rem;
    text-align:left;
    border:2px solid #fff;
    border-radius:30px;
}

.p_title {
    display:block;
    font-size:2.25rem;
    font-weight: bold;
    font-family:"Noto Sans";
    padding-bottom: 20px;
}

.p_item {
    font-size:14px;
    color:yellow;
}

.asure {
    width:100%;
    height: auto;
    margin: auto;
    margin-bottom:50px;
    border: 1px solid yellow;
    padding:20px;
}

.asure_text {
    font-size: 3rem;
    padding-left:15px;
}

.asure_text {
    line-height: 1;
}

.asure_text span {
    font-size:12px;
}

.asure-flex {
    display:flex;
    justify-content:space-around;
}

.asure-flex img {
    width:60%;
    height: auto;
    object-fit:contain;
}

.explanation_text p{
    margin-top:15px;
    font-size:14px;
    text-align:center;
}

.first_p{
    font-size:24px;
    margin-top: 80px;
}

.last_p{
    position:relative;
    font-size:20px;
    margin-top: 80px;
}

.last_p ::before {
    position: absolute;
    content:"";
    width: 0;
    height: 0;
    top:5px;
    border-left: 10px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}


#plan_link .d-flex {
    justify-content: space-between;
}

#plan_link .d-flex span {
    display: block;
    margin-top:150px;
    font-size:3rem;
    font-family:"Impact";
    color:#a3a2a2;
}

.Difficulty_text {
    color:red;
}

.Y_int {
    display: inline-block;
    overflow: hidden;
}

.Y_int img {
    display: block;
    transition-duration: .5s;
}

.Y_int img:hover {
    transform: scale(1.1);
}

.col-12 {
    margin-bottom:30px;
    border: 2px solid #fff;
}

.d-flex {
    display:flex;
    justify-content:flex-start;
    gap:0 20px;
}

.d-flex a {
    display: block;
    line-height:0 ;
}

.d-flex img {
    object-fit:contain;
    border: 2px solid #fff;
}

#iframe-container {
    margin-bottom: 200px;
}

#contact {
   margin-bottom: 60px; 
}

#contact .footer_text {
    font-size:3rem;
    text-align: center;
}


.fadein{
    opacity:0;
    transform:translate(0, 50px);
    transition:all 2s;
}

.fadein.active{
    opacity:1;
    transform:translate(0,0);
}

@media screen and (max-width: 768px){

    .wrap {
        max-width:400px;
    }

    header {
        display: block;
        position:relative;
        z-index:20;
    }

    header ul {
        display: flex;
        flex-direction: column;
    }

    #header img {
        width: 8%;
        height: auto;
        margin-top:10px;
        margin-left:20px;
    }

    .globalMenuSp {
        width: 100%;
        background-color :#0000005b;
        color: #fff;
        opacity: 0;
        text-align: center;
        transform: translateY(30%);
        transition: 3s;
    }

    .globalMenuSp.slide {
        opacity : 100%;
        transform: translateY(0%);
    }

    .page_top_btn:hover {
        display:none;
    }

    .top_img img {
        width:100%;
        height:auto;
        object-fit: contain;
        position:absolute;
        top:8%;
        z-index:10;
    }

    .sec_title {
        font-size: 40px;
        margin-bottom: 80px;
        -webkit-box-reflect: below -15px -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, .5));
    }

    .humburger {
        display:block;
        width:42px;
        height:42px;
        position:absolute;
        top:12px;
        right:20px;
        cursor: pointer;
    }

    .humburger span {
        width: 30px;
        height: 2px;
        background-color: #fff;
        position: absolute;
        left: 5px;
        transition: 1s;
    }

    .humburger span:nth-child(1) {        
        top: 9px;
    }

    .humburger span:nth-child(2) {        
        top: 19px;
    }

    .humburger span:nth-child(3) {        
        top: 29px;
    }

    .humburger.active span:nth-child(1){
        transform:rotate(-45deg);
        top:19px;
    }
    .humburger.active span:nth-child(2),
    .humburger.active span:nth-child(3){
        transform:rotate(45deg);
        top:19px;
    }

    .sec-flex {
        display: flex;
        flex-direction: column;
    }

    .top_img {
        margin-bottom: 240px;
    }

    #pr {
        margin-bottom: 150px;
    }

    #pr .Career_box {
        position:relative;
    }

    #pr .CB_text {
        position:absolute;
        top:30%;
        left:6%;
    }

    #pr .CB_text h1 {
        font-size:30px;
    }

    #pr .CB_text p {
        font-size:8px;
    }

    #plan_link {
        margin-bottom: 200px;
    }

    .span-title {
        display: block;
        font-size: 1rem;
        margin-top: 100px;
        margin-bottom: 20px;
    }

    #plan_link .explanation_text p {
        margin-top: 15px;
        font-size: 11px;
        text-align: center;
    }

    .first_p{
        width:80%;
        font-size:24px;
        margin-top: 80px;
        white-space: nowrap;
    }

    #pr_form {
        margin-bottom: 200px;
    }

    .text_item {
        width: 100%;
        height:700px;
    }

    .ex_t_second {
        display: none;
    }

    .hope {
        padding: 40px;
    }

    .send {
        margin-top: 48px;
        border-radius: 10px;
        padding: 15px 25px;
    }

    #contact .footer_text {
    font-size:2rem;
    text-align: center;
}
}