@charset "UTF-8";

html {
    font-size: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #333;
    background-color: #fdfdfd;
    margin: 0;
}

body h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 0px;
    top: 0;
    left: 0;
    box-shadow: #4e4e4e 0px 1px 10px 1px;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

ul,
ol {
    list-style: none;
    margin: 0 20px;
    padding: 0;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: #707070;
    text-decoration: none;
}

a:hover {
    opacity: 0.7;
    /* color: #f4f4f4; */
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 5px;
}

.wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ----------------------------------------------
    Header
---------------------------------------------- */
#header {
    position: sticky;
    background-color: #fdfdfd;
    opacity: 0.9;
    box-shadow: #707070 0px 0px 10px 0px;
    top: 0;
    z-index: 100;

    padding: 0px 20px 0px 20px;
    margin-bottom: 10px;
    border-bottom: 2px solid #333;
}

#header .logo {
    max-width: 200px;
    line-height: 0;
}

#header .logo a {
    display: block;
}

#header .navi {
    display: flex;
    align-items: center;
}

#header .navi li {
    font-size: 16px;
    margin-left: 40px;
}

#header .navi img {
    width: 80px;
}

/* ----------------------------------------------
    Mainvisual
---------------------------------------------- */
.mainvisual {
    position: relative;
    width: auto;
    /* background setting */
    /* background: radial-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1)); */
    /* background-image: url('../img/image_background.png');
    background-color: rgba(#fff, 0.7);
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center; */

    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}

.mainvisual::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 15px 30px #fdfdfd;
}

.mainvisual img.backimg {
    opacity: 0.5;
    animation: fadeIn 0.5s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 0.5;
    }
}

.mainvisual img.logoletter {
    filter: drop-shadow(3px 3px 3px #dbdbdb);
    width: 50%;
    position: absolute;
    top: 25%;
    left: 37%;
    /* transform: translate(-50%, -50%); */
    animation: fadeup 1.5s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@keyframes fadeup {
    0% {
        transform: translateY(20%);
        opacity: 0;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 1.5;
        transform: translateY(0);
    }
}

/* ----------------------------------------------
    Section
---------------------------------------------- */
.bzdescription dt {
    position: relative;
    padding-left: 1.5em;
    background: url('../img/capsule.png') left 0px top 3px no-repeat;
    background-size: 30px auto;
}

.bzdescription dd {
    font-size: 1.4rem;
    line-height: 1.5;
    margin: 0 0 1em 0;
    padding: 0 0 0 1.5em;
}


/* ----------------------------------------------
    contact
---------------------------------------------- */
.contact {
    position: relative;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
    /* justify-content: space-between; */
}

.contact .contact_method {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-right: 20px;
    padding: 10px;
    border: 2px solid #333;
    border-radius: 10px;
}

.contact .contact_method .line {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
    padding: 10px;
}

.contact .contact_method .line img {
    width: 180px;
    height: auto;
}

.contact .contact_method .mail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
    padding: 10px;
}

/* .contact .contact_method .mail::before {
    content: "";
    display: inline-block;
    width: 100px;
    height: 100px;
    background-image: url('../img/icon_tegami.png');
    background-size: contain;
    vertical-align: middle;
} */

.contact .contact_method .mail img {
    width: 200px;
    height: auto;
}

.contact .contact_method .mail a {
    position: relative;
    width: 200px;
    text-align: center;
    font-weight: bold;
    outline: none;
}

.contact .contact_method .mail a:hover {
    color: #555555;

}

.contact .contact_method .mail a::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    bottom: -5px;
    background: #333;
    /* border: 1px, solid, #182000; */
    /* border-bottom: 2px, solid, #182000; */
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
}

.contact .contact_method .mail a:hover::after {
    content: "";
    visibility: visible;
    opacity: 1;
    transition: 0.5s;
}

/* ----------------------------------------------
    end_main
---------------------------------------------- */
.end_main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 5px;
    margin-bottom: 10px;
    /* border-bottom: 2px solid #333; */
}

/* ----------------------------------------------
    footer
---------------------------------------------- */
footer {
    /* background-color: #7a7a7a; */
    background-image: linear-gradient(top, #fdfdfd, 20%, #7a7a7a);
    background-image: linear-gradient(to bottom, #7a7a7a, 25%, #fdfdfd);
    color: #333;
    text-align: center;
    font-size: 1.2rem;
    padding: 10px 20px 10px 20px;
    margin-bottom: 20px;
}

footer a {
    width: 50px;
}


/* ----------------------------------------------
    Media Queries
---------------------------------------------- */
@media screen and (max-width: 768px) {
    body {
        font-size: 1.4rem;
        line-height: 1.4;
    }

    h1 {
        font-size: 1.6rem;
    }

    .wrapper {
        max-width: 100%;
        padding: 0 10px;
    }

    #header {
        padding: 5px 10px 5px 10px;
        margin-bottom: 5px;
        height: auto;
    }

    #header .logo {
        max-width: 140px;
    }

    #header .navi li {
        font-size: 12px;
        margin-left: 20px;
    }

    #header .navi img {
        width: 40px;
    }

    .bzdescription dt {
        background-size: 25px auto;
    }

    .bzdescription dd {
        font-size: 1.2rem;
        line-height: 1.4;

    }

    .contact .contact_method {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 10px;
    }

    .contact .contact_method .line img {
        width: 150px;
        height: auto;
    }

    .contact .contact_method .mail {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 10px;
    }

    footer{
        padding: 5px 10px 5px 5px;
        margin-bottom: 0px;
    }
}

/* @media screen and (max-width: 600px){
    nav ul{
        display: block;
    }

    nav ul li{
        margin: 0.5rem 0;
    }
} */

/* ----------------------------------------------
    Clearfix
---------------------------------------------- */
/* .clearfix::after{
    content: "";
    display: table;
    clear: both;
}  */

/*  The above code is the CSS code for the project. It is a simple CSS code that styles the project. 
 Step 6: Create the JavaScript File 
 The JavaScript file will be used to create the functionality of the project. 
 Create a new file and name it  main.js . 
 Add the following code to the file: */