/**************************
general - all
***************************/

* {
    font-family: 'Noto Sans JP', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #eeeeee;
    color: #222;
    font-size: 14px;
}

hr {
    border-width: 1px 0 0 0;
    border-style: solid;
    border-color: #ccc;
}

div#services,
div#about {
    max-width: 1080px;
    width: 80%;
    margin: 0 auto 40px auto;
    padding: 10px 10px;
}

p.text-center {
    text-align: center;
}

.white-wrapper {
    background-color: #fff;
    width: 100%;
    margin: 0px auto;
}

.fadeIn {
    animation-name: fadeInAnime;/*1で解説*/
    animation-fill-mode:backwards;/*2で解説*/
    animation-duration:2s;/*3で解説*/
    animation-iteration-count:initial;
    animation-timing-function:ease;/*5で解説*/
    animation-delay: 0.1s;/*6で解説*/
    animation-direction:normal;/*7で解説*/
    }
    
    /*1で解説*/
    @keyframes fadeInAnime{
      0% {
        opacity: 0;
      }
    
      100% {
        opacity: 1;
      }
    }

/********** Headlines **********/

h2.box-title {
    text-align: center;
    margin-bottom: 4px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 800;
}

p.h2_english {
    margin-top: 0px;
    text-align: center;
    color: #00A0E9;
    letter-spacing: 0.6em;
    text-transform: uppercase;
    font-size: 0.7em;
    font-weight: 600;
}

p.h2_english_white {
    margin-top: 0px;
    text-align: center;
    color: #fff;
}

/****************************************
general - header
****************************************/

.nav-list {
    text-align: center;
    padding: 10px 0;
    margin: 0 auto;
    font-size: 14px;
}

.nav-list-item {
    list-style: none;
    display: inline-block;
    margin: 0 20px;
}

.nav-list-item a:hover {
    border-bottom: 2px solid #1C1F88;
}

h2 {
    letter-spacing: 3px;
    font-size: 24px;
}

/****************************************
general - hero
****************************************/
div#hero {
    display: flex;
    flex-wrap: wrap;
    max-width: 1040px;
    width: 80%;
    margin: 20px auto 100px auto;
    padding: 0px 20px 0px 20px;
    /* background-color: white; */
}

.hero_bottom_hr {
    max-width: 1080px;
    width: 80%;
    margin: 60px auto 40px auto;
}

div#hero h2 {
    letter-spacing: 1px;
    padding: 10px 10px 5px 10px;
    line-height: 1.75;
    margin: 10px 0 0 0;
}

div#hero h2 rt {
    color: #00A0E9;
}

.hero-left {
    flex: 1;
    display: table;
}

#hero p {
    font-size: 14px;
    color: #555;
    line-height: 150%;
    letter-spacing: 2px;
}

.slogan-big{
    font-size:120%;
}

.hero-left .slogan {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.slogan span {
    display: inline-block;
    white-space: nowrap;
}

.slogan p.tagline {
    padding: 0 50px 0 50px;
}

.hero-right {
    flex: 1;
    text-align: center;
    padding:0;
    margin:0;
}

.dots {
    background-image: radial-gradient(circle at center, #00a0e9 20%, transparent 20%);
    /* 点の色とサイズ調整 */
    background-position: top right;
    /* 点の位置 */
    background-repeat: repeat-x;
    /* 横方向に繰り返し */
    background-size: 1em 0.3em;
    /* 点の間隔とサイズ調整 */
    padding-top: .4em;
    /* 縦方向の位置調整 */
}

/****************************************
general - service
****************************************/

#service_contact {
    padding: 30px;
    background: #1C1F88;
    color: #fff;
    text-align: center;
    line-height: 1.75;
}

a.service_contact_button {
    transition: 0.4s;
    background: #fff;
    color: #1C1F88 !important;
    padding: 16px 20px 16px 20px;
    margin: 0 auto 14px auto;
    max-width: 300px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: block;
    letter-spacing: 2px;
}

a.service_contact_button:hover {
    background-color: #bec0f2;
}

#service-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 40px 0 40px 0;

}

.service-box-item {
    width: calc(100% / 3 - 48px);
    min-width: 300px;
    margin: 0px 10px;
    line-height: 2;
}

.service-box-item h3 {
    text-align: center;
    white-space: nowrap;
    color: #555;
}

.service-box-img-wrapper {
    height: 200px;
    display: flex;
    justify-content: center;
    background: #fff;
    align-items: center;
    padding: 0 14px 0 14px;
    margin: 0 auto;
}

.service-box-img {
    width: 100%;
    max-width: 200px;
}

.service-box-item ul {
    color: #00A0E9;
}

.service-box-item ul span {
    color: #222;
}

/****************************************
general - works
****************************************/

div#works {
    background-color: #fff;
    max-width: 1080px;
    width: 80%;
    margin: 10px auto;
    padding: 10px 0px 10px 0px;
    line-height: 1.5;
}

#works-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    justify-content: center;
    line-height: 1.75;
}

#works-container-left {
    flex: 0 0 20%;
    min-width: 200px;
    text-align: center;
    margin-top: 20px;
}

.__work-item-image {
    width: 100%;
}


/****************************************
general - about
****************************************/
#about div.company-mission {
    margin: 40px auto 0 auto;
    text-align: center;
}

#about table {
    margin: 20px auto;
}

#about p {
    margin: 0 auto;
    line-height: 1.75;
}

table,
th,
td {
    border: 1px solid #ccc;
    border-collapse: collapse;
}
/* tr:nth-child(odd) {
   background-color: #fff;
 } */

th,
td {
    padding: 0.7em;
}

#ceo-profile {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    justify-content: center;
    align-items: center;
}

#ceo-avatar {
    flex: 0 0 20%;
    min-width: 200px;
    text-align: center;
    margin-top: 20px;
}

img.avatar {
    border-radius: 50%;
    width:140px;
    background-color: #ffffff;
    padding:10px;
}


#history {
    line-height: 1.75;
}

#history ul {
    color: #00A0E9;
}

#history ul span {
    color: #222;
}

#history h3 {
    margin: 5px 0 0 0;
    padding: 0;
}

p.ceo-title {
    color: #868686;
    font-size: 90%;
    padding-bottom: 5px;
}

p.ceo-name {
    font-size: 120%;
    font-weight: 600;
    letter-spacing: 4px;
    color: #1C1F88;
}

/****************************************
general - contact
****************************************/
div#contact {
    background: #1C1F88;
    color: #fff;
    width: 80%;
    margin: 0px auto 40px auto;
    padding: 20px 20px 40px 20px;
    line-height: 1.75;
    text-align: center;
}

#contact p.contact_message {
    max-width: 600px;
    margin: 30px auto 10px auto;
}

div#contact a {
    color: #fff;
}

#contact .h2_english_white {
    text-align: center;
    color: #fff;
    letter-spacing: 0.6em;
    text-transform: uppercase;
    font-size: 0.7em;
    font-weight: 600;
}

a.button_white {
    transition: 0.4s;
    background: #ffffff;
    padding: 16px 20px 16px 20px;
    margin: 0 auto 14px auto;
    max-width: 300px;
    border-radius: 50px;
    color: #1C1F88 !important;
    font-weight: 600;
    text-decoration: none;
    display: block;
    letter-spacing: 1px;
}

a.button_white:hover {
    background-color: #bec0f2;
}

/****************************************
general - footer
****************************************/

footer {
    width: 100%;
    padding: 15px 0;
    margin: 0 auto;
    text-align: center;
    background-color: #fff;
    font-size: 70%;
}


/**************************
***************************
Responsive
***************************
***************************/


/************************** desktop only ***************************/
@media screen and (min-width: 960px) {

    /****************************************
        desktop - header
    ****************************************/
    header {
        width: 100%;
        padding: 15px 0;
        margin: 0 auto;
        text-align: center;
        background-color: #fff;
        box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.2);
    }

    header a {
        color: #000;
        text-decoration-line: none;
        font-weight: 600;
        line-height: 30px;
        letter-spacing: 2px;
    }

    a.header_contact_button {
        background: #1C1F88;
        color: #fff;
        padding: 10px 25px 10px 25px;
        border-radius: 50px;
        transition: 0.5s;
    }

    a.header_contact_button:hover {
        background: #4347b0;
        border: none;
    }

    /****************************************
        desktop - hero
    ****************************************/

    img.hero {
        max-width: 600px;
        min-width: 450px;
        width: 100%;
    }

    /****************************************
        desktop - works
    ****************************************/

    #works {
        width: 800px !important;
        padding-bottom: 80px !important;
    }

    #works-container-right {
        flex: 5;
        min-width: 500px;
        max-width: 100%;
        padding-left: 20px;
    }

    /****************************************
        desktop - about
    ****************************************/

    #history {
        background-color: #fff;
        padding: 1em;
        padding: 18px 32px;
        margin: 1.5em 0 1.5em 15px;
        flex: 5;
        min-width: 500px;
        max-width: 100%;
        position: relative;
        display: inline-block;
    }

    #history:before {
        content: "";
        position: absolute;
        top: 50%;
        left: -30px;
        margin-top: -15px;
        border: 15px solid transparent;
        border-right: 15px solid #fff;
    }

}

/************************** tablet only ***************************/
@media screen and (max-width: 959px) {

    /****************************************
        tablet - header
    ****************************************/
    header {
        width: 100%;
        padding: 15px 0;
        margin: 0 auto;
        text-align: center;
        background-color: #fff;
        box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.2);
    }

    header a {
        color: #000;
        text-decoration-line: none;
        font-weight: 600;
        line-height: 30px;
    }

    a.header_contact_button {
        background: #1C1F88;
        color: #fff;
        padding: 10px 20px 10px 20px;
        border-radius: 50px;
        text-decoration: none;
        font-size: 80%;
        font-weight: 600;
    }

    a.header_contact_button:hover {
        background: #4347b0;
    }

    /****************************************
        tablet - hero
    ****************************************/

    div#hero {
        padding-top: 20px !important;
        margin-bottom: 40px;
    }

    div#hero h2 {
        line-height: 1.75;
    }

    img.hero {
        min-width: 400px;
        width: 100%;
    }

    /****************************************
        tablet - about
    ****************************************/

    #history {
        position: relative;
        display: inline-block;
        margin: 1.5em 0;
        padding: 18px 32px;
        font-size: 14px;
        background: #fff;
    }

    #history:before {
        content: "";
        position: absolute;
        top: -30px;
        left: 50%;
        margin-left: -15px;
        border: 15px solid transparent;
        border-bottom: 15px solid #fff;
    }

}

/************************** mobile only ***************************/
@media screen and (max-width: 480px) {

    /****************************************
        mobile - header
    ****************************************/

    header {
        width: 100%;
        padding: 15px 0;
        margin: 0 auto;
        text-align: center;
        background-color: #fff;
        box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.2);
    }

    header a {
        color: #000;
        text-decoration-line: none;
        font-weight: 600;
        line-height: 40px;
    }

    a.header_contact_button {
        background: #1C1F88;
        color: #fff;
        padding: 10px 25px 10px 25px;
        border-radius: 50px;
    }

    a.header_contact_button:hover {
        background: #4347b0;
    }

    /****************************************
        mobile - hero
    ****************************************/
    .service-box-item {
        margin-bottom: 40px;
    }

    div#hero {
        padding-top: 20px !important;
    }

    div#hero h2 {
        line-height: 1.75;
    }

    img.hero {
        min-width: 200px;
        width: 100%;
    }

    .slogan .tagline span {
        white-space: initial;
    }

}