html, body {
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 1px;
    white-space: normal;
    line-height: 28px;
    /* overflow: hidden; */
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}

ul, li {
    margin: 0;
    padding: 0;
    list-style: none;
}

dl, dt, dd {
    margin: 0;
    padding: 0;
}

main {
    display: none;
    padding: 0 16px;
}

.footer-fixed {
    min-height: 95vh;
    position: relative;
    padding-bottom: 44px;
}

.container {
    max-width: 980px;
    margin-top: 64px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 32px;
    left: 0;
    right: 0;
}

h1 {
    margin-bottom: 32px;
}

div.flex-row {
    display: flex;
    padding: 4px 0;
}

div.flex-item:nth-child(1) {
    width: 88px;
}

div.flex-item > div.flex-row {
    padding: 0;
}

div.flex-item > div.flex-row div.flex-item:nth-child(1) {
    width: auto;
    padding-right: 50px;
}

div.flex-item > div.flex-row div.flex-item:nth-child(2) {
    padding-left: 16px;
}

ul.list-contents {

}

ul.list-contents li {
    padding: 4px 0px;
    padding-left: 22px;
    position: relative;
}
 
ul.list-contents li:before {
    content: "";
    position: absolute;
    top: 12px;
    left: 0;
    width: 12px;
    height: 12px;
    background-color: #298154;
}

.container dl {
    margin-top: 16px;
}

.container dl dd {
    margin-left: 30px;
}

/* footer {
    width: 100%;
    bottom: 0;
    padding: 16px 0px;
    display: flex;
    justify-content: center;
} */
footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 8px 0px;
    display: flex;
    justify-content: center;
}
#copyright {
    display: inline-block;
    font-size: 12px;
}

.dir-col {
    flex-direction: column;
}

#philosophy,
#projects {
    margin-top: 64px;
}

/*** ヘッダー画像 ***/
header .logo-img {
}

header .logo-img-new {
    width: 48px;
    position: absolute;
    left: 20px;
    top: 20px;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 88px;
}

/*** ナビゲーションボタン ***/

.menu{
    height: 20px;
    position: fixed;
    right: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    z-index: 99;
    cursor: pointer;
    border-radius: 100%;
    border: #fff solid 2px;
}
.menu__line{
    background: #fff;
    display: block;
    height: 2px;
    position: absolute;
    transition:transform .3s;
    left: 10px;
    right: 10px;
}
.menu__line--top {
    top: 12px
}
.menu__line--center{
    top: 20px;
}
.menu__line--bottom{
    top: 28px;
}
.menu__line--top.active{
    top: 20px;
    transform: rotate(45deg);
}
.menu__line--center.active{
    transform:scaleX(0);
}
.menu__line--bottom.active{
    top: 20px;
    transform: rotate(135deg);
}

/*** ナビゲーション ***/
.gnav {
    background: rgba(0,0,0,0.8);
    display: none;
    height: 100%;
    position: fixed;
    width: 100%;
    z-index: 98;
    top: 0;
}
.gnav__wrap {
    align-items: center;
    display: flex;
    height: 100%;
    position: absolute;
    width: 100%;
}
.gnav__menu {
    position: absolute;
    left: calc(50% - 100px);
    width: 274px;
}
.gnav__menu__item {
    margin: 24px 0 24px 100px;
    opacity: 0;
}
.gnav__menu__item a {
    color: #fff;
    font-size: 2em;
    font-weight: bold;
    text-decoration: none;
    transition: .5s;
}
.gnav__menu__item a:hover {
    color: #666;
}

/*** フォーム ***/
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

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

.content-wrapper {
   min-height: 100%;
   position: relative;
}

#contact h1 {
    text-align: center;
}

.contact-form {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
}

.contact-form .form-field {
    position: relative;
    margin: 32px 0;
}

.contact-form .input-text {
    display: block;
    width: 100%;
    height: 40px;
    border-width: 0 0 2px 0;
    border-color: #b5b5b5;
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
    background: transparent;
    color: #fff;
    box-sizing: border-box;
}

.contact-form .input-text:focus {
    outline: none;
}

.contact-form .input-text:focus + .label,
.contact-form .input-text.not-empty + .label {
    top: -24px;
    font-size: 12px;
}

.contact-form .label {
    position: absolute;
    left: 12px;
    top: 12px;
    font-size: 14px;
    line-height: 26px;
    font-weight: 400;
    color: #b5b5b5;
    cursor: text;
    transition: top 0.2s ease-in-out, font-size 0.2s ease-in-out
}
   
.contact-form .submit-btn,
.contact-form .back-btn {
    display: inline-block;
    background-color: #fff;
    color: #000;
    letter-spacing: 2px;
    font-size: 16px;
    line-height: 24px;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.contact-form .submit-btn {
    background-color: #00b31e;
    color: #fff;
    margin-left: 16px;
}

.contact-complete-msg {
    font-size: 24px;
    font-weight: 400;
    line-height: 40px;
    text-align: center;
    padding-top: 48px;
}

.note {
   position: absolute;
   left: 0;
   bottom: 10px;
   width: 100%;
   text-align: center;
   font-size: 16px;
   line-height: 21px;
}
   
.note .link {
    color: #888;
    text-decoration: none;
}

.note:hover {
    text-decoration: underline;
}

.contact-form textarea.input-text {
    resize: none;
    border-width: 0 2px 2px 0;
    padding-top: 6px;;
}

#main-word-wrapper {
    padding-top: 168px;
    text-align: center;
}

#svg-main-word {
    width: 400px;
    max-width: 100%;
}

#svg-main-word .cls-1 {
    fill-opacity: 0;
    stroke-opacity: 1;
    transition: fill-opacity 2s, stroke-opacity 2s;
    fill: none;
    stroke: #fff;
    stroke-width: 0px;
}
#svg-main-word.start .cls-1 {
    stroke-width: 2px;
}

#svg-main-word.done .cls-1 {
    fill-opacity: 1;
    fill: #fff;
    stroke-opacity: 0;
}

img.img-projects {
    max-width: 100%;
    width: 320px;
    margin-top: 16px;
}

img.company-name {
    position: absolute;
    top: 342px;
    left: 0;
    right: 0;
    margin: auto;
    opacity: 0;
}

@media (max-width: 540px){
    html, body { 
        font-size: 13px;
    }
    a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
        color: #fff;
    }
    h1 {
        font-size: 22px;
    }
    .container {
        padding: 0px;
        /* padding-bottom: 64px; */
        margin-top: 32px;
    }

    #copyright {
        font-size: 9px;
    }
    .dir-col {
        flex-direction: column;
    }
    header .logo-img {
        width: 184px;
    }
    header .logo-img-new {
        width: 40px;
    }
    a.menu {
        transform: scale(0.8);
        transform-origin: top right;
    }
    #svg-main-word {
        width: 240px;
    }
    img.img-projects {
        width: 240px;
        margin-top: 16px;
    }
    div.flex-div {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #main-word-wrapper {
        padding-top: 190px;
    }
}   