/*
Theme Name: mm
*/
@charset "utf-8";

@font-face {
    font-family: 'M+ 1c heavy';
    src: url('../fonts/mplus-1c-heavy.eot');
    src: url('../fonts/mplus-1c-heavy.eot?#iefix') format('embedded-opentype'),
    url('../fonts/mplus-1c-heavy.woff') format('woff'),
    url('../fonts/mplus-1c-heavy.ttf') format('truetype');
  }

  @font-face {
    font-family: 'M+ 1m regular';
    src: url('../fonts/mplus-1m-regular.eot');
    src: url('../fonts/mplus-1m-regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/mplus-1m-regular.woff') format('woff'),
    url('../fonts/mplus-1m-regular.ttf') format('truetype');
  }

body {
    color: #333;
    font-size: 16px;
    font-family: 'M+ 1m regular',"メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, sans-serif;
    background: url('../images/white-background.png') repeat;
    background-size: auto;

}
header {
    width: 100%;
    height: 850px;
    border-bottom: 1px solid #f8fafb;
    box-shadow: 0 15px 35px 0 #ededed;
    box-sizing: unset;
    position: relative;
}
header h1 {
    margin: 0 auto;
    text-align: center;
}

header h1 img.header-bg {
    max-height: 850px;
    object-fit: cover;
    width: 100%;
    min-height: 850px;
}

header h1 img.logo {
    position: absolute;
    max-height: 1980px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

div.scroll {
    display: block;
    margin: -45px auto 0;
    text-align: center;
    position: relative;
}
div.scroll a {
    padding-top: 80px;
    font-size: 150%;
    text-decoration: none;
  }
  div.scroll a:link,
  div.scroll a:visited {
    color: #fff;
  }
div.scroll a span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-left: -18px;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sdb 2s infinite;
    animation: sdb 2s infinite;
    opacity: 0;
    box-sizing: border-box;
    margin-top: -90px;
}
div.scroll a span:nth-of-type(1) {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}
div.scroll a span:nth-of-type(2) {
    top: 16px;
    -webkit-animation-delay: .15s;
    animation-delay: .15s;
}
div.scroll a span:nth-of-type(3) {
    top: 32px;
    -webkit-animation-delay: .3s;
    animation-delay: .3s;
  }
@-webkit-keyframes sdb {
   0% {
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
}
@keyframes sdb {
    0% {
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
}

.marker {
    text-shadow: 0 3px 5px rgba(163, 226, 252, .6);  /* 微妙ににじんだ感じを出すため（さほど明示的ではない） */
    line-height: normal;  /* このnormalの指定が、可変文字サイズ取得やクロスブラウザのために重要！ */
    font-weight: bold;
    background: linear-gradient(rgba(0,0,0,0) 60%, rgba(163, 226, 252, .6) 0);
}
.marker::before, .marker::after {
    display: inline-block;  /* 高さを持たせるためにインラインブロックに */
    content: "\A";     /* 改行を入れて高さを発生させる */
    white-space: pre;  /* 改行を入れて高さを発生させる */
    width: 0.41em; /* この数字が出てくる理由は後述 */
    clip-path: inset(1px 0); /* はみ出し部分をトリミング */
    transform-origin: bottom left;  /* トランスフォームの起点を左下隅に。重要！ */
    transform: skewX(-20deg) translateX(-0.41em);  /* 「平行四辺形」の幅の分ずらす */
    background: linear-gradient(rgba(0,0,0,0) 60%, rgba(163, 226, 252, .6) 0); /* 本要素と同じ指定 */
}
.marker::after {
    filter: blur(.03em);  /* 終端のにじみの演出 */
    transform: skewX(-20deg); /* マーカー右端の平行四辺形の移動は不要 */
    background: linear-gradient(rgba(0,0,0,0) 60%, rgba(163, 226, 252, .95) 0); /* 背景色の透明度を少し濃い目に */
}

section#wrapper {
    margin: 0 auto;
    text-align: center;
}

section#wrapper h2 {
    margin: 1.5em auto;
    text-align: center;
    font-size: 210%;
    font-family: "M+ 1c heavy";
}

section#wrapper p {
    margin-top: 2em;
    font-size:18px;
    line-height: 1.8em;
    text-align: left;
    text-align: justify;
}

section#wrapper .notice {
    margin-top: -90px;
}
section#wrapper .notice p {
    text-align: center;
    color: red;
    font-size: 130%;
}

section.pattern1,
section.pattern2 {
    padding: 100px 0 200px;
    clear: both;
}
section.pattern2 {
    background-image: url("../images/polaroid-background.png");
    background-repeat: repeat;
    background-position: top left;
    background-size: auto;
    padding: 40px 0 ;
}

.section01 h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    text-align: center;
}

.section01 h3::before,
.section01 h3::after {
	content: '';
	width: 3px;
	height: 40px;
	background-color: #333;
}

.section01 h3::before {
	margin-right: 30px;
	transform: rotate(-35deg)
}
.section01 h3::after {
	margin-left: 30px;
	transform: rotate(35deg)
}

.section02 {
    max-width: 1020px;
    margin: 100px auto 130px;
    text-align: left;
}

h3 {
    font-size: 160%;
    font-family: "M+ 1c heavy";
    margin-top: 50px;;
}

.section02 h3 {
    font-size: 200%;
}

.section02 h3 span {
    font-size: 150%;
}

.section03 {
    max-width: 1020px;

    margin: 0 auto;
    text-align: center;
}

.section03 ul {
    width: 100%;
    max-width: 1020px;
    margin-bottom: 400px;
}

.section03 ul li {
    width: 323px;
    float: left;
    height: auto;
    margin-right: 25px;
}

.section03 ul li:last-child {
    margin-right: 0;
}

.section03 ul li h3 {
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding-right: 12px;
}
.section03 ul li.small h3 {
    background: url('../images/s-header.jpg') no-repeat top left;
}
.section03 ul li.medium h3 {
    background: url('../images/m-header.jpg') no-repeat top left;
}
.section03 ul li.professional h3 {
    background: url('../images/l-header.jpg') no-repeat top left;
}

.section03 ul li p {
    margin: -1px -1px 0 !important;
    padding: 5px 35px 5px 17px;
}
.section03 ul li.small p {
    background: url(../images/s-line.jpg) repeat-y;
}
.section03 ul li.medium p {
    background: url(../images/m-line.jpg) repeat-y;
    margin: -1px 0 0 !important;
}
.section03 ul li.professional p {
    background: url(../images/l-line.jpg) repeat-y;
    margin: -1px 0 0 !important;
}

.section03 ul li div {
    height: 20px;
    margin: -1px -1px 0;
}
.section03 ul li.small div {
    background: url(../images/s-footer.jpg) no-repeat;
}
.section03 ul li.medium div {
    background: url(../images/m-footer.jpg) no-repeat;
    margin: -1px 0 0 !important;
}
.section03 ul li.professional div {
    background: url(../images/l-footer.png) no-repeat;
    margin: -1px 0 0 !important;
}

/*flow*/
/* /flow */
  .flow {
    padding: 0;
    max-width: 1020px;
    margin: 0 auto 100px;
    text-align: left;
  }

  li {
    list-style-type: none;
  }
  dd {
    font-size: 110%;
    margin-left: 0;
  }
  .flow {
    padding-left: 120px;
    position: relative;
  }
  .flow::before {
    content: "";
    width: 15px;
    height: 100%;
    background: #eee;
    margin-left: -8px;
    display: block;
    position: absolute;
    top: 0;
    left: 175px;
  }
  .flow > li {
    position: relative;
  }
  .flow > li:not(:last-child) {
    margin-bottom: 8vh;
  }
  .flow > li .icon {
    font-size: 110%;
    color: #fff;
    background: rgb(107,144,219);
    background: -moz-linear-gradient(left, rgba(107,144,219,1) 0%, rgba(102,213,233,1) 100%);
    background: -webkit-linear-gradient(left, rgba(107,144,219,1) 0%,rgba(102,213,233,1) 100%);
    background: linear-gradient(to right, rgba(107,144,219,1) 0%,rgba(102,213,233,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6b90db', endColorstr='#66d5e9',GradientType=1 );
    padding: 8px 20px;
    display: block;
    position: absolute;
    top: 0;
    left: -120px;
    z-index: 100;
  }
  .flow > li .icon::after {
    content: "";
    border-style: solid;
    border-width: 5px 0 5px 10px;
    border-color: transparent transparent transparent #66d5e9;
    position: absolute;
    top: 50%;
    left: 100%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  .flow > li dl {
    padding-left: 130px;
    position: relative;
  }
  .flow > li dl::before,
  .flow > li dl::after {
    content: "";
    display: block;
    position: absolute;
    top: 25px;
  }
  .flow > li dl::before {
    width: 10px;
    height: 10px;
    margin-top: -4px;
    background: #6b90db;
    border-radius: 50%;
    left: 50px;
  }
  .flow > li dl::after {
    width: 50px;
    border-bottom: 1px dashed #999;
    position: absolute;
    left: 60px;
  }
  .flow > li dl dt {
    font-size: 28px;
    font-weight: 600;
    color: rgb(107,144,219);
    margin-bottom: 1vh;
    padding-top: 8px;
  }
/* /flow */

/* works */
.slider {
    max-width: 1020px;
    min-height: 500px;
    margin: 0 auto;
    padding: 20px;
}
.slider div.work {
    display: table;
}
.slider div.work div {
   float:left;
   width: 490px;
   display: table-cell;
   vertical-align: middle;
}
.slider div.work h4 {
    text-align: left;
    border-bottom: 1px solid #ccc;
    font-size: 150%;
    font-family: "M+ 1c heavy";
    padding-bottom: 8px;
    margin-top: 40px;
    margin-bottom: 0;

}

/* /works */

/* form */
form {
    text-align: left;
    font-size: 1.5em;
    max-width: 800px;
    margin: 0 auto 100px;
}

div.question-section {
    display:table;
    margin-bottom: 1.5em;
}

div.form-head {
    display: table-cell;
    width: 8em;
    padding-top:13px;
    font-weight: bold;
}

input[type=text] {
    padding: 1px 10px;
    max-width: 30em;
    width: 26em;
    display: table-cell;
    line-height: 2.5em;
    border: 2px solid #ededed;
    border-radius: revert;
    font-size: 18px;
}

input[type=email] {
    padding: 1px 10px;
    max-width: 30em;
    width: 26em;
    display: table-cell;
    line-height: 2.5em;
    border: 2px solid #ededed;
    border-radius: revert;
    font-size: 18px;
}
textarea {
    padding: 10px 10px;
    display: table-cell;
    line-height: 1.5em;
    width: 26em;
    max-width: 30em;
    border: 2px solid #ededed;
    border-radius: revert;
    font-size: 18px;
}

.form-head span {
    color: red;
    font-size: 70%;
    font-weight: normal;
    margin-top: 0px;
    display: block;
}

input[type=checkbox] {
    display: none;
}
.checkbox03 {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 14px 40px 5px;
    position: relative;
    width: auto;
    margin-bottom: 0.7em;
}
.checkbox03::before {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    content: '';
    display: block;
    height: 22px;
    left: 5px;
    margin-top: -8px;
    position: absolute;
    top: 50%;
    width: 22px;
}
.checkbox03::after {
    border-right: 6px solid #d8701c;
    border-bottom: 3px solid #d8701c;
    content: '';
    display: block;
    height: 20px;
    left: 11px;
    margin-top: -11px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: rotate(45deg) translate3d(0,2px,0) scale3d(.7,.7,1);
    transition: transform .2s ease-in-out, opacity .2s ease-in-out;
    width: 12px;
}
input[type=checkbox]:checked + .checkbox03::before {
    border-color: #666;
}
input[type=checkbox]:checked + .checkbox03::after {
    opacity: 1;
    transform: rotate(45deg) scale3d(1,1,1);
}

input[type=radio] {
    display: none;
}
.radio03 {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 5px 20px 0 30px;
    position: relative;
    width: auto;
}
.radio03::before {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    content: '';
    display: block;
    height: 16px;
    left: 5px;
    margin-top: -8px;
    position: absolute;
    top: 50%;
    width: 16px;
}
.radio03::after {
    background: #d8701c;
    border-radius: 50%;
    content: '';
    display: block;
    height: 10px;
    left: 9px;
    margin-top: -4px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: scale3d(.3,.3,1);
    transition: transform .2s ease-in-out, opacity .2s ease-in-out;
    width: 10px;
}

input[type=radio]:checked + .radio03::before {
    border-color: #666;
}

input[type=radio]:checked + .radio03::after {
    opacity: 1;
    transform: scale3d(1,1,1);
}

section#wrapper input[type=submit] {
    padding: 16px;
    text-align: center;
    width: 100%;
    background-color: #6e5236;
    color: #fff;
    font-size: 100%;
    background: rgb(107,144,219);
    background: -moz-linear-gradient(left, rgba(107,144,219,1) 0%, rgba(102,213,233,1) 100%);
    background: -webkit-linear-gradient(left, rgba(107,144,219,1) 0%,rgba(102,213,233,1) 100%);
    background: linear-gradient(to right, rgba(107,144,219,1) 0%,rgba(102,213,233,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6b90db', endColorstr='#66d5e9',GradientType=1 );

}

section#wrapper input[type=submit]:hover {
    opacity: 0.8;
    box-shadow: 0 1px 2px 0 #eee;
}

div.screen-reader-response {
    display: none;
}

span.wpcf7-not-valid-tip {
    display: block;
    color: red;
    max-width: 26em;
}

div.wpcf7-response-output {
    display: block;
    padding: 10px;
    margin-top: 30px;
    text-align: center;
    font-weight: bold;
}
/* /form */

/* footer */
footer {
 background-color: #ededed;
 height: 120px;
 display: table;
 width: 100%;
 text-align: center;
 padding: 5em auto 5em;
}

footer p {
    background-color: #ededed;
    height: 80px;
    display: table-cell;
    vertical-align: middle;
    font-size: 1.5em;
}

#back-top a{
    position: fixed;
    right:20px;
    bottom:10px;
    transition: 1s;
}
 #back-top a:hover{
    opacity: 0.75;
}

/* footer */

  .sp-visual {
      display: none;
  }

/* animation */

.section01 img{
	opacity : 0;
	visibility: hidden;
	transition: 2s;
	transform: translateY(50px);
}
.section01 img.active{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.section01 h3{
	opacity : 0;
	visibility: hidden;
	transition: 2s;
	transform: translateY(50px);
}
.section01 h3.active{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.section02 h3{
	opacity : 0;
	visibility: hidden;
	transition: 2s;
	transform: translateY(50px);
}
.section02 h3.active{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.section02 p{
	opacity : 0;
	visibility: hidden;
	transition: 2s;
	transform: translateY(50px);
}
.section02 p.active{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.section03 ul{
	opacity : 0;
	visibility: hidden;
	transition: 2s;
	transform: translateY(50px);
}
.section03 ul.active{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.section04 .flow{
	opacity : 0;
	visibility: hidden;
	transition: 2s;
	transform: translateY(50px);
}
.section04 .active{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.section06 form {
	opacity : 0;
	visibility: hidden;
	transition: 2s;
	transform: translateY(50px);
}
.section06 form.active{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
/* /animation */


/**********************************************
   for SmartPhone  -480px
**********************************************/

@media screen and (max-width: 480px) {
    body,html {
        margin: 0;
    }
    .sp-visual {
        display: block;
    }

    section#wrapper p {
        font-size: 16px;
        margin-top: 0;
    }

    img {
        width: 100%;
      }

    header  {
        display: none;;
    }

    div.scroll a {
        font-size: 125%;
    }
    section#wrapper {
        max-width:480px;
        margin: 0;
        padding: 0 10px;
    }

    section#wrapper .notice {
        margin-top: -70px;
    }

    section#wrapper .notice p {
        font-size: 110%;
        line-height: 1.2;
        text-align: left;
    }

    section.pattern1, section.pattern2 {
        padding: 100px 0 100px;
    }

    .section02 {
        margin: 0;
        padding: 0 10px;
    }

    section#wrapper h2 {
        font-size: 140%;
    }

    .section01 h3,
    .section02 h3 {
        font-size: 140%;
        margin-top:0;
    }

    .section02 h3:last-child {
        margin-top: 40px !important;
    }

    .section03 ul {
        margin-bottom: 0;
        margin-left: -8px;
    }
    .section03 ul li {
        margin-right:0;
        margin: 0 auto;
        margin-right:0;
    }
    .section03 ul li {
        float: none;
    }
    .section03 ul li p {
        padding: 5px 35px 5px 15px;
    }

    .section05 {
        display: none;
    }
    .section06 {
        margin-top: -100px;
    }

    form {
        width: 100%;
        font-size: 16px;
    }

    input[type=text] {
        width: 12em;
        line-height: 1.5em;
    }
    div.question-section {
        margin-bottom: 1.2em;
    }
    div.form-head {
        width: 100%;
    }
    section#wrapper input[type=email] {
        width: 12em;
    }

    section#wrapper textarea {
        width: 12em;
    }
    section#wrapper input[type=submit] {
        font-size: 120%;
        margin-top: 20px;
    }
    span.wpcf7-not-valid-tip {
        font-size: 80%;
    }
    .section06 form {
        padding: 0 10px;
    }

    .flow > li .icon {
        font-size:70%;
    }
    .flow::before {
        left: 124px;
    }
    .flow > li dl {
        padding-left: 60px;
    }
    .flow > li dl::before {
        left: 0;
        margin-top: -11px;
        width: 8px;
        height: 8px;
    }
    .flow > li dl::after {
        left: 10px;
        margin-top: -7px;
        width: 40px;
    }

    .flow > li dl dt {
        font-size: 22px;
        padding-top: 4px;
    }


    footer p {
        font-size: 100%;
        padding: 20px 13px;
        display: block;
    }

}


/*****   navigation  ****/
#header {
    height: 80px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 100;
    /*background-color:rgba(0, 0, 0, 0.3);*/
    /*background-color: rgba(0, 0, 0, 0.3);*/
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
}

#header.scroll {
    background: none;
    background-color: #31b2ad;
    z-index: 100;
    opacity: 1.0;
    box-shadow: 0 5px 15px 0 #ccc;
    box-sizing: unset;
}

.archive #header,
.single #header,
.page #header {
    background: none;
    background-color: #31b2ad;
    z-index: 100;
}

.header-logo img {
    max-width: 200px;
    width: 20vw;
}

.main-nav {
    display: flex;
    font-size: 1.0rem;
    list-style: none;
    align-items: center;
}

.main-nav li {
    margin-left: 2vw;
}

.main-nav a {
    color: #ffffff;
}

.main-nav a:hover {
    color: #ffc0cb;
}

.main-nav img {
    width: 20px;
}

@media (min-width:601px) {
    .hamburger-menu {
        display: none;
    }
}

@media (max-width:701px) {

/* ハンバーガーメニュー
  ------------------------------*/
    .normal-nav {
        display: none;
    }

    .nav-hidden {
        display: none;
    }

    .closebtn {
        display: none;
    }

    .home .front-image {
        min-height: 700px;
        padding: inherit;
        position: relative;
    }

    .header-logo img {
        width: 150px;
        padding: 15px 0 0 20px
    }

    #header {
        display: block;
        width: 100%;
        justify-content: normal;
        height: 65px;
    }

    #header.scroll {
        box-shadow: none;
        ;
    }

    /* ハンバーガーメニュー　ココまで
    ------------------------------*/


    /*　ハンバーガーボタン　*/
    .hamburger {
        display: block;
        position: fixed;
        z-index: 13;
        right: 13px;
        top: 12px;
        width: 42px;
        height: 42px;
        cursor: pointer;
        text-align: center;
        -webkit-transition: 0.5s all;
        -moz-transition: 0.5s all;
        transition: 0.5s all;
    }

    .hamburger span {
        display: block;
        position: absolute;
        width: 30px;
        height: 2px;
        left: 6px;
        background: #fff;
        color: #fff;
        font-weight: normal;
    }

    .hamburger span:nth-child(1) {
        top: 10px;
    }

    .hamburger span:nth-child(2) {
        top: 20px;
    }

    .hamburger span:nth-child(3) {
        top: 30px;
    }

    /* ナビ開いてる時のボタン */
    .hamburger.active {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }

    .hamburger.active span:nth-child(1) {
        top: 16px;
        left: 6px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .hamburger.active span:nth-child(2) {
        top: 16px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
        color: #31b2ad;
        z-index: -1;

    }

    .hamburger.active span:nth-child(3) {
        opacity: 0;
    }

    nav.globalMenuSp {
        position: fixed;
        z-index: 2;
        top: 0;
        left: 0;
        color: #000;
        background: #fff;
        text-align: center;
        transform: translateX(100%);
        transition: all 0.6s;
        width: 100%;
    }

    nav.globalMenuSp ul {
        background: #31b2ad;
        margin: 0 auto;
        padding: 0;
        width: 100%;
    }

    nav.globalMenuSp ul li {
        list-style-type: none;
        padding: 0;
        width: 100%;
        border-bottom: 1px solid #fff;
    }

    nav.globalMenuSp ul li:last-child {
        padding-bottom: 0;
        border-bottom: none;
        display: flex;
        justify-content: space-evenly;
    }

    nav.globalMenuSp ul li:hover {
        background: #ddd;
    }

    nav.globalMenuSp ul li a {
        display: block;
        color: #fff;
        padding: 1em 0;
        text-decoration: none;
    }

    /* このクラスを、jQueryで付与・削除する */
    nav.globalMenuSp.active {
        transform: translateX(0%);
    }

}

