/*  使えるフォントとして、"めもわーる"を追加  */
@font-face {
    /*   適用させるフォント名 → 間違っていると反映されないので注意  */
    font-family: "Alex Brush";
    /*   .otf, .ttfの拡張子がついているファイルがフォントファイルである。   */
    /*   フォントファイルが何処場所にあるのか : パスを書いてあげる   */
    src: url(AlexBrush-Regular.ttf);
}
/*  使えるフォントとして、"めもわーる"を追加  */
@font-face {
    /*   適用させるフォント名 → 間違っていると反映されないので注意  */
    font-family: "PlaypenSans";
    /*   .otf, .ttfの拡張子がついているファイルがフォントファイルである。   */
    /*   フォントファイルが何処場所にあるのか : パスを書いてあげる   */
    src: url(PlaypenSans-VariableFont_wght.ttf);
}

.info-list {
    padding: 0 10px 10px 10px;
}

/*全て共通：hideエリアをはじめは非表示*/
.hide-area {
    display: none;
}

/*全て共通：モーダルのボタンの色を変更したい場合*/
.modaal-close:after,
.modaal-close:before {
    background: #ccc;
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before {
    background: #666;
}

/*確認を促すモーダル：タイトルの色を変更したい場合*/
#modaal-title {
    font-size: 1.2rem;
    text-align: center;
    margin: 0 0 20px 0;
}

/*動画表示のモーダル：余白を変更したい場合*/
.modaal-video .modaal-inner-wrapper {
    padding: 0;
}
p.privacy {
    margin: 0;
    padding: 0;
    font-weight: 500;
    font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "Sawarabi Mincho", "HG明朝E",
        "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

/*個人情報のメインリスト*/
ol.privacypolicy {
    counter-reset: list;
    list-style-type: none;
    position: relative;
    /*font: 14px/1.6 'Mv Boli', 'arial narrow', sans-serif;*/
    /*font-size: 14px;
    font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "Sawarabi Mincho", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;*/
    /*padding: 1.2em;*/
    margin-left: auto;
    margin-right: auto;
    /*background:#F2EFE7;
    -webkit-box-shadow: 0 0 40px rgba(0, 0, 0, 0.2) inset,0 0 4px rgba(0, 0, 0, 0.2) ;
    -moz-box-shadow: 0 0 40px rgba(0, 0, 0, 0.2) inset,0 0 4px rgba(0, 0, 0, 0.2) ;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.2) inset,0 0 4px rgba(0, 0, 0, 0.2) ;*/
    width: 85%;
}
ol.privacypolicy:after {
    content: "CIJ hokuden"; /* 右下の文字 */
    position: absolute;
    bottom: 8px;
    right: 1.2em;
    font-size: 12px;
    color: #bbb;
}
ol.privacypolicy li {
    position: relative;
    padding: 0 5px 0 50px;
    /* margin: 7px 0 10px 0px;*/
    font-weight: 800;
    font-size: 16px;
    /*border-bottom:dashed 1px #ccc;*/
    color: #333;
}

ol.privacypolicy li:first-child {
    margin-top: 0;
}
/*ol.privacypolicy li:last-child{
   margin-bottom:20px;
}*/
ol.privacypolicy li:before {
    counter-increment: list;
    content: counter(list) ",";
    position: absolute;
    left: 15px;
    /* font-size:1.2em;*/
    font:
        18px/1.6 "Mv Boli",
        "arial narrow",
        sans-serif;
    top: 20px;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

/*個人情報の丸リスト*/
ol.policy {
    counter-reset: list;
    list-style-type: none;
    font:
        14px/1.6 "arial narrow",
        sans-serif;
    padding: 0;
    margin-right: 40px;
}
ol.policy li {
    position: relative;
    padding: 0 5px 0 40px;
    margin: 7px 0 10px 30px;
    font-weight: bold;
    font-size: 14px;
    border-bottom: dashed 1px #999;
}
ol.policy li:before {
    counter-increment: list;
    content: counter(list);
    position: absolute;
    left: 0;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    color: #666;
    background: #fff;
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    top: 50%;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.cp_link {
    padding: 0.1em 0.3em;
    /*background-image: linear-gradient(to right, rgba(0,0,0,0) 50%, rgba(255,152,0,1) 50%);*/
    background-position: 0 0;
    background-size: 200% auto;
    transition: 0.3s;
    color: #ff9800;
}
.cp_link:hover {
    background-position: -100% 0;
    color: #fff;
}

/* font-family */

.heading {
    font-family: "Alex Brush", cursive;
    font-size: 5vw;
    font-weight: normal;
    color: #182578;
    animation-delay: 0.3s;
}

@media screen and (max-width: 960px) {
    .heading {
        font-size: 3.5rem;
    }
}
@media screen and (max-width: 480px) {
     #message h2.heading {
        font-size: 2.5rem;
    }
}
/* message */

#message {
    position: relative;
    padding: 0 0 0 100px;
    margin-top: 100px;
    /*margin-bottom: 100px;*/
    padding-bottom: 150px;
}

#message h2 {
    position: absolute;
    left: 50%;
    z-index: 2;
}

.message-area {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row-reverse;
}

.message-img {
    /* background:url("../img/works/6.jpg") no-repeat center;
    background-size: cover;*/
    height: 600px;
    width: 52%;
    border: 2px solid #182578a8;
}

.message-content {
    display: flex;
    justify-content: justify;
    padding: 150px 50px 0 0;
    width: 41%;
}

.message-box {
    display: block;
    flex-direction: row-reverse;
    justify-content: center;
}
/*縦書き*/ /*
.message-content h3,
.message-content p,
.message-content .message-btn{
   -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;    
    text-orientation: upright;
    height: 20em;
    letter-spacing: 0.1em;
}*/

.message-content h3 {
    font-size: 1.5rem;
    line-height: 2.5;
}

_:-ms-lang(x)::-ms-backdrop,
.message-content h3 {
    /*IE11用ハック*/
    width: 30%;
}

.message-content p {
    line-height: 2.5;
    margin: 0 50px 0 0;
}

_:-ms-lang(x)::-ms-backdrop,
.message-content p {
    /*IE11用ハック*/
    width: 60%;
}

_:-ms-lang(x)::-ms-backdrop,
.message-content .message-btn {
    /*IE11用ハック*/
    width: 10%;
}

@media screen and (max-width: 1280px) {
    .message-content h3 {
        line-height: 2;
        margin: 0 0 0 10px;
    }

    .message-content p {
        line-height: 3;
        margin: 0 0 0 20px;
    }
}

@media screen and (max-width: 1000px) {
    .message-content p {
        line-height: 2;
    }
}

@media screen and (max-width: 768px) {
    #message {
        padding: 0 30px;
    }

    #message h2 {
        position: relative;
        right: inherit;
        top: 40px;
    }
    .message-img,
    .message-content {
        width: 100%;
    }

    .message-img {
        height: 40vh;
    }

    .message-content {
        padding: 50px 0 0 0;
    }

    .message-content h3,
    .message-content p,
    .message-content .message-btn {
        -ms-writing-mode: lr-tb;
        -webkit-writing-mode: horizontal-tb;
        writing-mode: horizontal-tb;
        height: inherit;
        margin: 0 0 50px 0;
    }

    _:-ms-lang(x)::-ms-backdrop,
    .message-content h3,
    _:-ms-lang(x)::-ms-backdrop,
    .message-content p,
    _:-ms-lang(x)::-ms-backdrop,
    .message-content .message-btn {
        /*IE11用ハック*/
        width: 100%;
    }

    .message-content h3 {
        text-align: center;
        font-size: 1.2rem;
    }

    .message-box {
        display: block;
    }

    .message-box .btn {
        padding: 10px;
        display: block;
    }
}

@media screen and (max-width: 430px) {
    .message-img {
        height: 20vh;
    }
}

@media screen and (max-width: 370px) {
    .message-content p br {
        display: none;
    }
}

/* contact */

#contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    /*margin: 50px auto 150px; */
    margin: 0 auto 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

#contact .contact-img {
    width: 70%;
    min-height: 500px;
    background: url("../img/works/3.jpg") no-repeat center;
    background-size: cover;
}

#contact .contact-area {
    width: 30%;
    text-align: center;
}

#contact .contact-area a {
    color: #555;
    text-decoration: none;
    outline: none;
    font-size: 1.1em;
}
@media screen and (max-width: 1190px) {
    #contact .contact-img {
        width: 60%;
    }
    #contact .contact-area {
        width: 35%;
    }
}

@media screen and (max-width: 768px) {
    #contact .contact-img {
        width: 48%;
    }
    #contact .contact-area {
        width: 48%;
    }
}

@media screen and (max-width: 600px) {
    #contact .contact-img,
    #contact .contact-area {
        width: 100%;
    }
    #contact .contact-img {
        margin: 0 0 50px 0;
    }
}

#contact .contact-area h2 {
    font-size: 1.3rem;
    margin: 0 0 10px 0;
}

#contact .contact-area dt {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
}

#contact .contact-area dd {
    font-size: 0.8rem;
    margin: 0 0 30px 0;
}

/*== ボタン共通設定 */
.btn {
    /*アニメーションの起点とするためrelativeを指定*/
    position: relative;
    overflow: hidden;
    /*ボタンの形状*/
    text-decoration: none;
    display: inline-block;
    border: 1px solid #555; /* ボーダーの色と太さ */
    padding: 10px 50px;
    text-align: center;
    outline: none;
    /*アニメーションの指定*/
    transition: ease 0.7s;
    margin: 20px auto 0;
}

/*ボタン内spanの形状*/
.btn span {
    position: relative;
    z-index: 3; /*z-indexの数値をあげて文字を背景よりも手前に表示*/
    color: #333;
    font-size: 1.5em;
}

.btn:hover span {
    color: #fff;
}

/*== 背景が流れる（中央から外） */

.bgcenterout:before {
    content: "";
    /*絶対配置で位置を指定*/
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    /*色や形状*/
    background: #333;
    width: 100%;
    height: 100%;
    /*アニメーション*/
    transition: transform 0.5s cubic-bezier(0.8, 0, 0.2, 1) 0s;
    transform: scale(0, 0);
    transform-origin: center;
}

/*hoverした際の形状*/
.bgcenterout:hover:before {
    transform: scale(1, 1);
}

.mask-landscape h3 {
    font-size: 7vw;
    font-weight: 800;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    font-family: "PlaypenSans";
}

.mask-landscape {
    background: url("../img/font_clip.jpg") center;
    background-size: contain;
    background-clip: text;
    margin-bottom: 50px;
    margin-top: 50px;
    -webkit-background-clip: text;
    color: transparent;
    display: table;
    width: 100%;
    filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.3));
}

.Contact_box {
    width: 100%;
    margin: auto;
    max-width: 1400px;
    position: relative;
    padding-bottom: 200px;
    margin-top: 150px;
}
.Contact_box img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.Contact_box_in h3 {
    font-size: 1.5em;
}
.Contact_box_in {
    position: absolute;
    top: 300px;
    width: 100%;
}
.Contact_box_in ul {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-around;
    justify-content: space-around;
}
.Contact_box_in li {
    background-color: rgba(255, 255, 255, 0.942);
    width: 40%;
    text-align: center;
    padding: 50px 10px;
    /* box-shadow: 0 0 10px #3333333e;*/
}
