@charset "UTF-8";
/* CSS Document */


/* ホバー　枠光る */
.snip1252 {
  color: #fff;
  position: relative;
  float: left;
  min-width: 310px -60px;
  max-width: 310px;
  width: 100%;
  color: #ffffff;
  text-align: left;
  font-size: 16px;
}
.snip1252 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}
.snip1252 img {
  max-width: 100%;
  vertical-align: top;
}
.snip1252 i {
  position: absolute;
  bottom: 0px;
  right: 15px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  font-size: 3em;
  line-height: 1em;
  opacity: 0;
  -webkit-transition: all 0.4s cubic-bezier(0.6, -0.8, 0.735, 0.045);
  transition: all 0.4s cubic-bezier(0.6, -0.8, 0.735, 0.045);
}
.snip1252 a {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 1;
  display: block;
}
.snip1252 a:before,
.snip1252 a:after {
  width: 1px;
  height: 0;
  background-color: #ffffff;
}
.snip1252 a:before {
  right: 0;
  top: 0;
}
.snip1252 a:after {
  left: 0;
  bottom: 0;
}
.snip1252:before,
.snip1252:after,
.snip1252 a:before,
.snip1252 a:after {
  position: absolute;
  content: '';
  background-color: #288F9A;
  z-index: 1;
  -webkit-transition: all 0.4s ease-in;
  transition: all 0.4s ease-in;
  opacity: 0.8;
}
.snip1252:before,
.snip1252:after {
  height: 1px;
  width: 0%;
}
.snip1252:before {
  top: 0;
  left: 0;
}
.snip1252:after {
  bottom: 0;
  right: 0;
}
.snip1252:hover img,
.snip1252.hover img {
  opacity: 0.8;
}
.snip1252:hover a:before,
.snip1252.hover a:before,
.snip1252:hover a:after,
.snip1252.hover a:after {
  height: 100%;
}
.snip1252:hover i,
.snip1252.hover i {
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  opacity: 0.7;
}
.snip1252:hover:before,
.snip1252.hover:before,
.snip1252:hover:after,
.snip1252.hover:after {
  width: 100%;
}
.snip1252:hover:before,
.snip1252.hover:before,
.snip1252:hover:after,
.snip1252.hover:after,
.snip1252:hover a:before,
.snip1252.hover a:before,
.snip1252:hover a:after,
.snip1252.hover a:after {
  opacity: 0.1;
}

/* topタイトル */
.kl-title{
    text-align: center;
	font-size: 12px;
	margin-bottom: 20px;
	font-weight: 800;
}


/* パソコンの画像 */

.k-logo-box {
    padding: 5px 20px 5px
}
.k-text-box {
    margin-top: 20px;
    padding: 70px 60px 40px 0;
}
/* 縦書き */
.tate {
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}
.kutouten {
    float: none;
    margin: 0;
    position: relative;
    left: 0.7em;
    top: -0.7em;
}
.tate-box {
    margin-top: 20px;
    padding: 20px 60px 40px 0;
    max-height: 400px;
	height: auto;
    position: absolute;
    right: 0;
    line-height: 1.9;
    letter-spacing: 0.2em;
}
.tate-box-m {
    margin-top: 20px;
    padding: 20px 60px 40px 0;
    max-height: 400px;
    position: absolute;
    right: 0;
    line-height: 1.9;
    letter-spacing: 0.2em;
}
.tate-box-l {
    margin-top: 20px;
    padding: 30px 0 20px 0;
    height: 350px;
    right: 0;
    line-height: 1.9;
    letter-spacing: 0.2em;
    margin-left: 30px;
}

@media only screen and (max-width: 750px) {
.tate-box {
	padding-top: 30px;
    margin-top: 20px;
	margin-left: 80px;
    height: 500px;
    text-align: left;
    position: relative;
    line-height: 2.2;
    letter-spacing: 0.2em;
	float: left;
}
	.tate-box-m {
		padding-top: 30px;
    margin-top: 20px;
    height: 600px;
    text-align: left;
    position: relative;
    line-height: 1.9;
    letter-spacing: 0.2em;
	float: left;
}
.tate-box-l {
    margin-top: 20px;
    padding-top: 30px;
    height: 600px;
    position: relative;
    right: 0;
    line-height: 1.9;
    letter-spacing: 0.2em;
}
}


/* 説明 */
.about-kyoulogo {
    background: #F5F4F4;
	color: #6A6A6A;
	padding: 40px 50px 20px 50px;
}

/* スマフォ画像 */
@media only screen and (max-width: 750px) {
.k-logo-box {
    padding: 5px 20px 0px
}
.k-text-box {
    margin-top: 20px;
    padding: 0px 20px 40px;
}
}


.number{
	padding-top: 9%;
}
/* スマフォ画像 */
@media only screen and (max-width: 750px) {
.number{
	padding-top: 4%;
	    letter-spacing: 0.08em;
	font-size: 12px
}
}


/* 日常ロゴ */
.nitijyou-tex{
	line-height: 1.5em;
	padding: 20px 30px 10px;
	box-shadow: 1px 1px 4px #A8A8A8;
	background: #FFFFFF;
	text-align: center;
	margin-bottom: 20px;
}
#nitijyou{
	background-image: url(../matt-a/img/nitijyou/back.jpg);
	background-size:auto 100%;/*この場合は幅が自動設定*/
	background-size:cover;
	background-attachment: fixed;
}
@media only screen and (max-width: 750px) {
#nitijyou{
 display: block;
      background: url(../matt-a/img/nitijyou/back.jpg) 50% 100%;
      background-size: cover;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      -webkit-transform: translate(0, 0);
      transform: translate(0, 0);
}
}

/* お名前ロゴ */
#onamae{
	background-image: url(../matt-a/img/onamae/back.jpg);
	background-size:auto 100%;/*この場合は幅が自動設定*/
	background-size:cover;

}



.lb {
    display: flex;
    position: fixed;
    width:  100%;
    height: 100%;
    top: 0;
	left: 0;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,.7);
    opacity: 0;
    transition: .3s opacity ease;
    z-index: -1;
}

.lb img {
	max-width:  800px;
    max-height: 100%!important;
    transform: scale(.7);
    transition: .4s transform ease;
    pointer-events: none;
	    margin-left: auto;
	margin-right: auto;
}

.lb:target {
    opacity: 1;
    z-index: 103;
}

.lb:target img {
    transform: scale(1);
}


/* スマフォ */
@media only screen and (max-width: 750px) {
.lb img {
	max-width:  100%!important;
    height: auto;
    transform: scale(.7);
    transition: .4s transform ease;
    pointer-events: none;
	    margin-left: auto;
	margin-right: auto;
}
}

/* なんちゃって閉じるボタン（いらない場合は消す） */
.lb::before,.lb::after {
    display: block;
    position: fixed;
    content: "";
    width: 24px;
    height:3px;
    top: 24px;
    right: 12px;
    background: #fff;
    border-radius: 4px;
}
.lb::before {
    transform: rotate(-315deg);
}
.lb::after {
    transform: rotate(315deg);
}
/* 丸・線透明 */
.b-g{
	padding: 30px;
	-moz-background-clip: padding;
	-webkit-background-clip: padding;
	background-clip: padding-box;
	background-color: #ffffff;  /* 背景の設定 */
	border: 5px solid rgba(0,0,0,0.1);  /* ボーダーの設定 */
	border-radius: 50%;  /* 角丸 */
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
}
/* スマフォ */
@media only screen and (max-width: 750px) {
.b-g{
	padding: 10px;
	-moz-background-clip: padding;
	-webkit-background-clip: padding;
	background-clip: padding-box;
	background-color: #ffffff;  /* 背景の設定 */
	border: 5px solid rgba(0,0,0,0.1);  /* ボーダーの設定 */
	border-radius: 50%;  /* 角丸 */
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
}
}
/* 言霊ロゴ */
#kotodama{
	background-image: url(../matt-a/img/kotodama/back.jpg);
	background-size:auto 100%;/*この場合は幅が自動設定*/
	background-size:cover;
	background-attachment: fixed;
}
@media only screen and (max-width: 750px) {
#kotodama{
 display: block;
      background: url(../matt-a/img/kotodama/back.jpg) 50% 100%;
      background-size: cover;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      -webkit-transform: translate(0, 0);
      transform: translate(0, 0);
}
}
.k-waku{
  padding: 10px;
	background: rgba(255, 255, 255,0.1);
	
}
/* 祈りロゴ */
#inori{
	background-image: url(../matt-a/img/inori/back.jpg);
	background-size:auto 100%;/*この場合は幅が自動設定*/
	background-size:cover;
	background-attachment: fixed;
}