/* ======common===== */
@media (max-width: 768px){
    .sp-none{
        display: none;
    }
    #g-nav{
        background-color: #caaacd;
    }
    #g-nav li{
    border-radius: 60px;
    border: 1px solid #ffffff;
    background-color: #41b8d54d;
    }
    .onebox .aboutme-img{
    border-radius: 66px 0 66px 0;
    }
}

body{
    background: #caaacd;
    margin:0;
}
a{
    text-decoration: none;
    font-family: YakuHanJP_Narrow, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", sans-serif;
}
li{
    list-style: none;
}
p{
    font-family: YakuHanJP_Narrow, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", sans-serif;
    font-size: 13px;
    width: auto;
    line-height: 2em;
    margin-bottom: 32px;
    text-align: justify;
    letter-spacing: 0.1em;
}
h2{
    /*margin-left: 10px;*/
    /*margin-left: -36px;*/
    margin-left: -20px;
    margin-bottom: 0;
    font-family: "Quicksand", sans-serif;
    /*font-family: "Chewy", system-ui;*/
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 30px;
}
.onebox .ttl-mark{
    width: 30px;
    padding-right: 8px;
}
h3{
    margin: 0;
    font-family: YakuHanJP_Narrow, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.15em;
    padding: 8px 0 16px;
}
.contents-subttl{
    margin-left: 4px;
    margin-top: 0px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.all-detail{
    clear: both;
    width: 180px;
    height: 65px;
    margin: 0 auto;
}
#works .all-detail{
    margin: -30px auto 0 auto;
}
.all-detail p{
    padding-top: 20px;
    margin-left: 80px;
    color: #37383C;
}
.all-detail span{
    border-radius: 20px;
    height: 1px;
    position: absolute;
    background-color: #37383C;
}
.all-detail span:nth-of-type(1) {
    width: 20px;
    margin-top: 33px;
    margin-left: 23px;
}
.all-detail span:nth-of-type(2) {
    width: 8px;
    transform: translateY(30px) translateX(36px) rotate(45deg);
}
circle{
    width: 65px;
    height: 65px;
    border-radius: 50%;
    position: absolute;
}
#works-circle{
    border: 1px solid #84B5C5;
}
#aboutme-circle{
    border: 1px solid #84B5C5;
}
#page-02{
    margin-top: 12px;
}
#page-03{
    margin-top: 0;
}
#page-04{
    margin-top: 0;
}
#page-05{
    margin-top: 60px;
}
/*---header---*/
section {
    display: flex;
}
.one {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 70vh;
    /*min-height: 100vh;*/
    padding: 20px;
}
.bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: all 0.5s ease 0s;
    z-index: -1;
}
.show .bg {
    opacity: 1;
}
.bg._01 {
    background-color: #caaacd;
    /*background-image: url("https://125naroom.com/demo/img/itukanokotonokoto01.jpg");*/
}
.bg._02 {
    background-color: #c8e4ff;
    /*background-image: url("img/prism.png");*/
}
.bg._03 {
    background-color: #c8e4ff;
    /*background-image: url("https://125naroom.com/demo/img/itukanokotonokoto03.jpg");*/
}
.bg._04 {
    background-color: #f9f7f0;
    /*background-image: url("https://125naroom.com/demo/img/itukanokotonokoto04.jpg");*/
}
.bg._05 {
    background-color: #FAC2AC;
    /*background-image: url("https://125naroom.com/demo/img/itukanokotonokoto05.jpg");*/
}
.onebox {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 0;
    /*background: #ffffff;*/
}
.onebox img {
    width: 100%;
    height: auto;
    vertical-align: top;
    margin-bottom: 24px;
}


/*--language-switch---*/
.language-switch{
    left: 20px;
    padding: 7px 0;
    width: 50px;
    height: 51px;
    display: inline-block;
    position: absolute;
    top: 0;
    right: 10px;
    margin: 0;
    z-index: 2;
    background: #3B0065;
    font-weight: bold;
    font-family: YakuHanJP_Narrow, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", sans-serif;
}
.language-switch:after{
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    height: 0;
    width: 0;
    margin-top: -1px;
    border-left: 25px solid #3B0065;
    border-right: 25px solid #3B0065;
    border-bottom: 10px solid transparent;
}
.language-switch span{
    color: white;
    margin-left: 12px;
    letter-spacing: 0.2em;
}
.language-switch-en span:nth-of-type(1){
    margin-bottom: 5px;
}
.language-switch-en span:nth-of-type(2){
    border-top: 1px solid #ffffff;
    font-size: 10px;
    padding: 6px 3px 0 3px;
    margin: 29px 0px 0px -28px;
    position: absolute;
}
.language-switch-jp span:nth-of-type(1){
    border-bottom: 1px solid #ffffff;
    font-size: 10px;
    padding: 6px 3px 6px 3px;
    margin: 29px 0px 0px 14px;
    /*position: absolute;*/
}
.language-switch-jp span:nth-of-type(2){
    margin-top: 19px;
    margin-left: -26px;
    padding-top: 10px;
    position: absolute;
}
#main-logo-img{
    width: 75%;
    max-width: 380px;
    position: absolute;
    margin-top: -100px;
    left: 50%;
    transform: translateX(-50%);
}
#main-img{
    width: 84%;
    max-width: 345px;
    display: block;
    margin: 48px auto 0 auto;
    /*left: 50%;
    transform: translateX(-50%);*/
}
#sub-logo-top-img{
    width: 55%;
    max-width: 200px;
    margin-left: -40px;
    margin-top: 32px;
}
#sub-logo-bottom-img{
    width: 80%;
    max-width: 300px;
    margin-right: -40px;
    margin-top: -26px;
    float: right;
}

/*--scroll--*/
.scroll{
	/*max-width: 400px;
	width: 5px;*/
	margin: 23% auto 0 auto;
	/*padding: 0 30px;*/
}
.scroll p img{
    transform: rotate(90deg);
    /*margin-top: 0;
    margin-left: 23px;
    margin-bottom: 24px;*/
    color: #fff4f0;
    width: 24px;
    margin: 0 auto;
    /*display: block;*/
    left: 50.5%;
    position: absolute;
    transform: translateX(-50%);
}
/*.scroll p::after{
content: '';
    position: absolute;
    top: 46.5px;
    left: 51px;
    width: 10px;
    height: 10px;
    background: #fff4f0;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
}*/
.scroll li{
    /*線の起点とするためrelativeを設定*/
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
	list-style: none;
	/*padding:0 0 10px 0;*/
}
.scroll dl{
	margin:0 0 20px 3em;
}
/*絶対配置で線を設定*/
.border-line {
    /*線の位置*/
    position: absolute;
    /*left: 0.2em;*/
    top: 60px;
    width: 1px;
    height: 0;
    background: #fff4f0;
    border-radius: 50%;
    transition-duration: 2800ms;
    left: 50%;
    transform: translateX(-50%);
}
/*========= ナビゲーションのためのCSS ===============*/
#g-nav{
    position: fixed;
    z-index: 999;
    top: 0;
    right: -120%;
    width: 100%;
    height: 100vh;
   /* background: #43977E;*/
    transition: all 0.6s;
    /* background: #41B8D5; */
   /*background-color: #caaacd;*/
}
/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    right: 0;
}
/*ナビゲーションの縦スクロール*/
#g-nav.panelactive {
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:53%;
    left:50%;
    transform: translate(-50%,-50%);
    padding-left: 0;
}

/*リストのレイアウト設定*/

#g-nav li{
    text-align: center;
    /*border-radius: 60px;
    border: 1px solid #ffffff;
    background-color: #41b8d54d;*/
    /*box-shadow:  8px 8px 16px #e6b29e,
             -8px -8px 16px #ffd2ba;*/
    padding: 0 20px;
    margin: 30px 0;
}
#g-nav li a{
  color: #ffffff;
  text-decoration: none;
  padding:10px;
  display: block;
  /*text-transform: uppercase;*/
  letter-spacing: 0.1em;
  font-weight: bold;
  font-family: YakuHanJP_Narrow, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", sans-serif;
}



/*========= ボタンのためのCSS ===============*/
.openbtn{
    position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
    top: 10px;
    right: 3%;
    cursor: pointer;
    width: 50px;
    height:50px;


    opacity: 0;
}
  
/*×に変化*/  
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #666;
    width: 45%;
}
.openbtn span:nth-of-type(1) {
  top:15px; 
}
.openbtn span:nth-of-type(2) {
  top:23px;
}
.openbtn span:nth-of-type(3) {
  top:31px;
}
.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}
.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}
.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}
.openbtn.panelactive{
    position:fixed;
    z-index: 99;
    top: 0;
   /* width:94.7%;
    height: 100vh;*/
   /* background-color: #e4c1be;*/
   opacity: 1;
 
}
.openbtn.show{
    animation: showAnim 1s linear forwards;/* 消えるようにする */
}
@keyframes showAnim {
    100% {opacity: 1;}
}
.gnav-ttl{
    display: block;
}
.gnav-ttl img{
    top:0;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
}
#gnav-sub-logo-top-img{
    width: 24%;
    float: left;
    top: 75px;
    left: 36%;
}
#gnav-main-logo-img{
    width: 38%;
    margin-top: 13%;
}
#g-navsub-logo-bottom-img{
    width: 32%;
    float: left;
    right: 0px;
    left: 60%;
    margin-top: 27%;
}

/*--page-02----*/
.msg{
    margin-top: 140px;
    font-size: 19px;
    font-weight: bold;
    color: #fb7360;
}
strong{
    font-size: 23px;
    padding: 0 4px;
}
.msg-txt{
    color: #fb7360;
}
.onebox .msg-txt-img{
    display: block;
    width: 45%;
    max-width: 180px;
    margin: 32px auto 0 auto;
}




/*========= 流れるテキスト ===============*/
/*左右のアニメーション*/
.blur{
	animation-name:blurAnime;
	animation-fill-mode:forwards;
}

@keyframes blurAnime{
  from {
	filter: blur(10px);
	transform: scale(1.02);
	opacity: 0;
  }

  to {
	filter: blur(0);
	transform: scale(1);
	opacity: 1;
  }
}
 
.blurTrigger{
    opacity: 0;
}
.blurTrigger-01{
    animation-delay:500ms;
    animation-duration:1500ms;
}
.blurTrigger-02{
    animation-delay:1500ms;
    animation-duration:1000ms;
}
/* フェードインさせる要素 */
.block {
    opacity: 0; /* 最初は非表示にしておく */
    transition: all 2s; /* 動きを滑らかに */
}
/* フェードイン用のクラス */
.fadeIn {
    opacity: 1;
}
/*.contents-ttl::before{
    display: inline-block;
    width: 45%;
    height: 50px;
    background-image: url("img/diamond.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
}*/
#works h2{
    color: #37383C;
}
.onebox .works-info img{
    max-width: 440px;
    display: block;
    margin: 0 auto 18px auto;
}
.works-tag::before{
    content: "#";
    top: 1px;
    left: 0;
    width: auto;
    height: 26px;
}
.works-tag{
    font-size: 10px;
    color: #84B5C5;
    font-size: 12px;
    font-family: "Albert Sans", sans-serif;
    letter-spacing: 0.15em;
    padding-top: 32px;
}
#works h3{
    color: #2a7660;
}
.works-info-txt{
    margin-bottom: 16px;
}
.works-info-detail{
    font-size: 13px;
    letter-spacing: 0.08em;
   /* display: inline-block;*/
    border-bottom: solid 0.8px #fb7360;
    padding-bottom: 3px;
    padding-right: 12px;
    position: relative;
    transition: all 0.4s;
    float: right;
}
.works-info-detail a{
    color: #fb7360;
    font-weight: bold;
}
.works-info-detail span{
    border-radius: 20px;
    height: 1px;
    position: absolute;
    background-color: #fb7360;
}
.works-info-detail span:nth-of-type(1) {
    width: 10px;
    margin-top: 8px;
    margin-left: 3px;
}
.works-info-detail span:nth-of-type(2) {
    width: 5px;
    transform: translateY(6px) translateX(8px) rotate(45deg);
}
.works-info{
    margin-bottom: 120px;
}

/*-----aboutme-----*/
#aboutme{
    margin-top: 100px;
}
.aboutme-name{
    font-size: 28px;
}
#aboutme h2, #aboutme h3, #aboutme p{
    color: #2a7660;
    clear: both;
}
/*.aboutme-name::after{
    content: "";
    display: inline-block;
    width: 45%;
    height: 50px;
    background-image: url("img/name-bgimg.png");
    background-position: center;
    background-size: contain;
    background-repeat:  no-repeat;
    transform: translateY(6px) translateX(-40px) rotate(-25deg);
}*/
.onebox .aboutme-img{
    width: 85%;
    max-width: 320px;
    display: block;
    margin: 0 auto;
    /*left: 50%;
    transform: translateX(-50%);*/
    /*border-radius: 61% 39% 16% 84% / 57% 72% 28% 43%;
    animation: fluid-anim 20s infinite;*/
}
/*@keyframes fluid-anim {
    0%    { border-radius: 65% 35% 55% 45% / 55% 50% 55% 45%; }
    12.5% { border-radius: 60% 75% 40% 80% / 70% 70% 60% 65%; }
    25%   { border-radius: 55% 95% 65% 90% / 75% 65% 85% 70%; }
    37.5% { border-radius: 60% 40% 50% 45% / 60% 40% 60% 40%; }
    50%   { border-radius: 55% 95% 65% 90% / 75% 65% 85% 70%; }
    62.5% { border-radius: 60% 40% 50% 45% / 60% 40% 60% 40%; }
    75%   { border-radius: 60% 75% 40% 80% / 70% 70% 60% 65%; }
    87.5% { border-radius: 40% 60% 55% 45% / 50% 60% 40% 50%; }
    100%  { border-radius: 65% 35% 55% 45% / 55% 50% 55% 45%; }
}*/
.onebox .aboutme-img-bg{
    width: 51%;
    max-width: 200px;
    margin-top: -51px;
    margin-right: -24px;
    margin-bottom: -17px;
    float: right;
    /*transform: translateY(6px) translateX(122px) rotate(-37deg);*/
}

/*---contact---*/
#contact h2, #contact p{
    color: #551A8B;
}
.onebox .contact-img{
    width: 75%;
    max-width: 275px;
    display: block;
    margin: -12px auto 0 auto;
}
.contact-btn{
    width: 240px;
    height: 30px;
    border-radius: 30px;
    background-color: white;
    /*text-align: center;*/
    margin: 32px auto;
    padding: 5px 0;
    font-size: 14px;
    border: 1px solid #551A8B;
}
.contact-btn a{
    font-weight: bold;
    padding-top: 4px;
    display: block;
}
.contact-btn-jp a{
    margin-left: 39px;
    color:#551A8B;
}
.contact-btn-en a{
    margin-left: 41px;
    color:#551A8B;
}
.contact-btn span{
    border-radius: 20px;
    height: 1px;
    position: absolute;
    background-color: #37383C;
}
.contact-btn span:nth-of-type(1) {
    width: 18px;
    margin-top: 11px;
    margin-left: 7px;
}
.contact-btn span:nth-of-type(2) {
    width: 8px;
    transform: translateY(9px) translateX(18px) rotate(45deg);
}

/*---footer---*/
footer{
    bottom: 0px;
    position: relative;
}
footer p{
    text-align: center;
    /*position: absolute;*/
    color: white;
}

/*=====*/
@media (min-width: 769px){
    .pc-none{
        display: none;
    }
    .onebox{
        max-width: 700px;
    }
    /*--language-switch---*/
    .language-switch{
        left: 10%;
        position: fixed;
        z-index: 1000;
    }
    .language-switch:after{
        left: 0;
    }
    #g-nav{
        /*position: fixed;
        width: 100%;*/
        height: 100px;
        left: 0;
    }#g-nav ul{
        display: flex;
        top: 30px;
    }
    #g-nav ul{
        width: 560px;
        margin: 0 auto;
        /* position: absolute; */
        border-bottom: 1px solid #fcf3dd;
        top: 40px;
        /*background: yellow;*/
        cursor: not-allowed;
        padding: 0 6%;
        /* transform: translate(-50%, -50%);*/
    }
    #g-nav li a {
    color: #fcf3dd;
    }
    #main-logo-img{
        max-width: 600px;
    }
    #sub-logo-top-img{
        margin-top: 12%;
        margin-left: 6%;
    }
    #main-img{
        margin-top: 0;
    }
    #sub-logo-bottom-img{
        margin-top: -37px;
        margin-right: 6%;
    }
    .scroll{
        margin-top: 13%;
    }
    .border-line{
        left: 53%;
    }
    .onebox .aboutme-img-bg{
        margin-right: 100px;
        margin-top: -161px;
        position: absolute;
    }

    /* スクロールしたらヘッダーメニューのフォントカラー変更 */
    #g-nav a.headerColorScroll {
        color: #ff6347;
        transition: color 0.4s ease-out;
    }
    #g-nav ul.headerColorScroll {
        border-bottom: 1px solid #ff6347;
        transition: color 0.4s ease-out;
    }
    .onebox .aboutme-img{
       /* width: 70%;
        max-width: 320px;*/
        position: absolute;
        border-radius: 66px 0 66px 0;
        z-index: 1;
    }
    #aboutme h2,#aboutme h3,#aboutme p {
        width: 340px;
        float: right;
    }
    #aboutme h2 img{
        margin-left: -8px;
    }
    .onebox .aboutme-img-bg {
        margin-right: 100px;
        margin-top: 400px;
        right: 4%;
    }
    .onebox .aboutme-img-bg-en{
        margin-top: 500px;
    }
    .all-detail p{
        position: absolute;
        margin-top: 0;
    }
    #aboutme .all-detail{
        padding-top: 20px;
    }


}