/* CSS Document */

@font-face {
	font-family: 'APJapanesefont';
	src: url('../fonts/apjapanesefont.eot'); /* IE 9 Compatibility Mode */
	src: url('../fonts/apjapanesefont.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
		 url('../fonts/apjapanesefont.woff2') format('woff2'), /* Super Modern Browsers */
		 url('../fonts/apjapanesefont.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
		 url('../fonts/apjapanesefont.ttf') format('truetype'); /* Safari, Android, iOS */
		 /*url('../../fonts/apjapanesefont.svg#apjapanesefont') format('svg');  Chrome < 4, Legacy iOS */
	font-display: swap;
}

.pc-none {
  display: none;
}

@media all and (min-width: 0px) and (max-width: 767px) {
  body {
    padding-top: 116px;
    /* padding-bottom: calc(75px + 25px); */
    padding-bottom: calc(75px + 100px);
  }
  #bg {
    padding: 10px 0;
    width: 100%;
  }
  .pc-none {
    display: inherit;
  }
}


#header {
  background-image: url(../images/bg-header_top.png);
}

@media all and (min-width: 0px) and (max-width: 767px) {
  #header {
    background-image: none;
  }
}
/*--------------------------------------*/
#catch {
  width: 900px;
  height: 100px;
  margin: 0px auto 0px auto;
  padding: 0px;
  background-image: url(../images/top/catch.png);
  position: relative;
}

@media all and (min-width: 0px) and (max-width: 767px) {
  #catch {
    width: 100%;
    background-image: none;
    height: auto;
  }
}

/*Staff Twitter*/

.stafft {
  position: absolute;
  left: -72px;
  top: -76px;
  display: inline-block;
}

@media all and (min-width: 0px) and (max-width: 767px) {
  .stafft {
    display: none;
  }
/*  .stafft {
    top: -25px;
    left: 0;
  }
  .stafft,
  .stafft a {
    width: 80px;
    height: auto;
  }
  .stafft a img {
    width: 100%;
    height: auto;
  }*/
}


/*�^���\�^���\�D�^���\�^���\���^?*/

p.catch {
  display: block;
  width: 900px;
  height: 100px;
}

p.catch span {
  display: none;
}

@media all and (min-width: 0px) and (max-width: 767px) {
  p.catch {
    width: 100%;
    height: auto;
  }
  p.catch span {
    display: block;
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
  }
}

/* right pop */

/*
#pop {
  position: relative;
  top: -560px;
  left: 800px;
  width: 283px;
  height: 285px;
  background-image: url(../images/top/bt-pop.gif);
  text-indent: -9999px;
  z-index: 2;
}

#pop a:link,
#pop a:visited {
  display: block;
  width: 283px;
  height: 485px;
  background-image: url(../images/top/bt-pop.gif);
}
*/


/* grobalmenu ���^���\ */

div#gl-menu {
  clear: both;
  width: 800px;
  height: 30px;
  padding: 0 0px;
  margin: 0 0 0 80px;
  margin-right: -100px!important;
}

#fevoritesbox {
  box-sizing: border-box;
  width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  /* justify-content: flex-end; */
  justify-content: center;
  gap: 30px;
  position: relative;
}

#fevoritesbox div a {
  display: flex;
}

#fevoritesbox div img {
  width: 100%;
}

@media all and (min-width: 0px) and (max-width: 767px) {
  div#gl-menu {
    width: 100%;
    height: auto;
  }

  #fevoritesbox {
    width: 100%;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    padding: 0 20px;
  }

  #fevoritesbox div img {
    height: 35px;
  }

  #fevoritesbox div:last-child {
    display: none;
  }
}


/* �^���\�^���\�^? */

/* div#stream {
  width: 370px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

p.onairoff {
  width: 90px;
  height: 29px;
  background-image: url(../images/top/onair_off.jpg);
  text-indent: -9999px;
}

p.onairon {
  width: 90px;
  height: 29px;
  background-image: url(../images/top/onair_on.jpg);
  text-indent: -9999px;
}

p.stream {
  width: 259px;
  height: 44px;
  background-image: url(../images/top/bt-stream_d.gif);
  text-indent: -9999px;
}

p.stream a:link,
p.stream a:visited {
  display: block;
  width: 259px;
  height: 44px;
  background-image: url(../images/top/bt-stream.gif);
}

p.stream a:active,
p.stream a:hover {
  background-image: none;
}

@media all and (min-width: 0px) and (max-width: 767px) {
  div#stream {
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
  }
  p.onairoff,
  p.onairon {
    width: calc(30% - 15px);
    height: 100%;
    max-width: 90px;
    max-height: 29px;
    margin-right: 15px;
    background-size: contain;
  }
  p.stream {
    width: 70%;
    height: 100%;
    max-width: 259px;
    max-height: 44px;
    display: block;
    background-size: contain;
  }
  p.stream a {
    width: 100%;
    height: 100%;
  }
  p.stream a:link,
  p.stream a:visited {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 259px;
    max-height: 44px;
    background-size: contain;
  }
} */

/* movie */

/* div#movie {
  width: 380px;
  height: 44px;
}

p.movie {
  width: 377px;
  height: 44px;
}

p.movie a {
  display: block;
  width: 377px;
  height: 44px;
  background-image: url(../images/top/bt-movie_d.gif);
}

p.movie a:hover {
  text-indent: -9999px;
}


@media all and (min-width: 0px) and (max-width: 767px) {
  div#movie {
    display: none;
  }
} */


/* top */

#top {
  width: 900px;
  /*height: 1240px;*/
  margin: 0 auto;
  /*background-image: url(../images/top_bg.png);*/
}

#topbox {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background-image: url(../images/top_bg01.png);
}

@media all and (min-width: 0px) and (max-width: 767px) {
  #top {
    width: 100%;
    height: auto;
    margin: 0 auto;
    background-image: none;
  }
  #topbox {
    width: 100%;
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
  }
}
/* video-area */

#topbox #left {
  width: 500px;
  height: 430px;
}

#video-area {
  width: 500px;
  height: 315px;
  position: relative;
}

#video-area video {
  position: relative;
  width: 480px;
  height: 284px;
  left: 16px;
  top: 19px;
  z-index: 0;
}

#video-area #ico {
  position: absolute;
  width: 218px;
  height: 110px;
  top: -50px;
  left: -36px;
}

#video-area .recruitinfo-link {
  width: 153px;
  height: 101px;
  position: absolute;
  z-index: 10;
  top: -5px;
  right: 110px;
}
#video-area .recruitinfo-link > a {
  display: block;
}
#video-area .recruitinfo-link > a > img {
  width: 100%;
  height: auto;
}
#video-area .recruitinfo-link::after {
  content: url(../images/anime.gif);
  display: block;
  position: absolute;
  top: -7px;
  right: -7px;
}

#video-area .recruitinfo-link > a:hover {
  opacity: 0.8;
}
/* �^�{���\�^���\ */
.list-ellipse {
  width: 252px;
  height: 50px;
  margin: 3px auto 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  top: 47px;
  left: -40px;
  transform: rotate(-14deg);
}

.list-ellipse-item {
  width: 80px;
  height: 50px;
  border-radius: 50%;
  padding: 2px;
  position: relative;
}

/*�^���\�^���\�^���\�^���\*/
.list-ellipse-item::after {
  content: url(../images/anime.gif);
  display: block;
  position: absolute;
  top: -7px;
  right: -7px;
}

.list-ellipse-item a {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(#fff, rgba(255, 255, 255, 0) 40%);
}

.link-btn:hover {
  text-decoration: none;
}

.btn-ttl {
  color: #ffffff;
  font-weight: bold;
  font-size: 18px;
  line-height: 1;
}


.list-ellipse .btn-ttl {
  text-shadow: 1px 2px 3px #000000;
}

.list-ellipse .btn-ttl.emphasis {
  font-size: 24px;
  margin-top: 1px;
}

/*�^���\�^���\��*/
.marble-print {
  background: linear-gradient(#196479, #1498d9 70%, #d2f3fa);
  box-shadow: 0 2px 4px rgba(0, 56, 81, 0.5);
}

.marble-print:hover {
  background: linear-gradient(#145567, #155ccc 70%, #85c6ef);
  box-shadow: 0 2px 2px rgba(0, 56, 81, 0.9);
}

/*�^�z���\�^���\���^���\�^?*/
.marble-hp {
  background: linear-gradient(#26ad85, #4db294 70%, #c3f2e2);
  box-shadow: 0 2px 4px rgba(14, 89, 66, 0.5);
}

.marble-hp:hover {
  background: linear-gradient(#0f986f, #0d986f 70%, #47d6a6);
  box-shadow: 0 2px 2px rgba(14, 89, 66, 0.9);
}


/*DVD*/
.marble-dvd {
  background: linear-gradient(#cf4176, #eb4480 70%, #fa938c);
  box-shadow: 0 2px 4px rgba(156, 74, 74, 0.5);
}

.marble-dvd:hover {
  background: linear-gradient(#dd0958, #fc0860 70%, #ff655c);
  box-shadow: 0 2px 2px rgba(156, 74, 74, 0.9);
}


@media all and (min-width: 0px) and (max-width: 767px) {
  #topbox #left {
    margin-top: 50px;
    width: 100%;
    height: auto;
  }
  #video-area {
    width: 100%;
    height: auto;
    max-width: 500px;
    max-height: 315px;
    margin: 0 auto 10px;
    padding: 7px;
    background-color: #E6DEBB;
    box-sizing: border-box;
  }
  #video-area video {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
  }
  #video-area #ico {
    position: absolute;
    width: 44%;
    max-width: 318px;
    height: auto;
    top: -50px;
    left: 0;
  }
  #video-area #ico span img {
    width: 100%;
    height: 100%;
  }
  .list-ellipse {
    display: none;
  }
  #video-area .recruitinfo-link {
    width: 115px;
    top: -50px;
    right: 7px;
  }
}


/* about */

#about p.free {
  width: 350px;
  height: 100px;
  margin-top: 5px;
}

#about p.free a {
  display: block;
  width: 490px;
  height: 100px;
  background-image: url(../images/top/txt-tsp.png);
}

#about p.free a:hover {
  text-indent: -9999px;
}

@media all and (min-width: 0px) and (max-width: 767px) {
  #about p.free {
    width: 100%;
    height: auto;
    max-width: 490px;
    max-height: 100px;
    margin: auto;
    padding: 5px;
    box-sizing: border-box;
  }
  #about p.free a {
    width: 100%;
    height: 100%;
    background-size: cover;
  }
  #about p.free a img {
    width: 100%;
    height: 100%;
  }
}


/* topics */

#topics {
  width: 380px;
  height: 310px;
  padding-top: 70px;
  padding-left: 20px;
  position: relative;
}

@media all and (min-width: 0px) and (max-width: 767px) {
  #topics {
    width: 100%;
    max-width: 500px;
    height: auto;
/*    margin-top: 125px;*/
    margin-top: 240px;
    padding: 10px;
    background-image: url(../images/top/topics_bg.png);
    background-size: cover;
    background-position:top center;
    z-index: 0;
  }
}

/*�^���\�^���\�^���\�^�����^���\*/

p.comparison {
  width: 180px;
  height: 80px;
  top: -66px;
  right: -8px;
  display: block;
  position: absolute;
}

p.comparison a {
  display: block;
  width: 180px;
  height: 80px;
  background-image: url(../images/top/bt-comparison_o.gif);
}

p.comparison a:hover {
  text-indent: -9999px;
}

@media all and (min-width: 0px) and (max-width: 767px) {
  p.comparison {
/*    top: -145px;*/
    top: -235px;
    right: 50%;
    margin-right: -108px;
  }
/*  p.comparison {
    width: 40%;
    height: 18%;
    min-width: 180px;
    min-height: 80px;
    position: inherit;
    order: 3;
  }
  p.comparison a {
    width: 100%;
    height: 100%;
    background-size: cover;
  }
  p.comparison a img{
    width: 100%;
    height: 100%;
  }*/
}


#topics {
  position: relative;
}

#topics h2.system {
  width: 248px;
  height: 74px;
  margin: 0 0 12px 40px;
  font-weight: bold;
  text-indent: -9999px;
  background-image: url(../images/top/txt-system.png);
}

#topics p.fullname {
  width: 195px;
  height: 15px;
  text-indent: -9999px;
  background-image: url(../images/top/txt-fullname.png);
  margin-left: 62px;
}

#topics p.tsp {
  width: 200px;
  height: 67px;
  margin: 0 0 0px 60px;
}

#topics p.tsp a {
  display: block;
  width: 200px;
  height: 67px;
  background-image: url(../images/top/bt-tsp.png);
}

#topics p.tsp a:hover {
  text-indent: -9999px;
}

#topics p.conversation {
  width: 330px;
  height: 145px;
  margin-left: 0px;
  padding-top: 25px;
  background-image: url(../images/ico-movie.gif);
/*  background-position: 264px 10px;*/
  background-position: 220px 10px;
}

#topics p.conversation a {
  display: block;
  width: 330px;
  height: 145px;
  background-image: url(../images/bt-shachomovie_o.gif);
}

#topics p.conversation a:hover {
  text-indent: -9999px;
}

#topics h3 {
  text-indent: 0px;
  padding-bottom: 5px;
  line-height: 1em;
  font-size: 10px;
}

#topics #ico {
  position: absolute;
  z-index: 2;
  top: -60px;
  left: -15px;
}

#topics #anime {
  position: absolute;
  top: 20px;
  right: 65px;
}

#topics #ico-tsp {
  position: absolute;
  z-index: 2;
  top: 85px;
  right: -60px;
}

#topics .tsp-box {
  z-index: 2;
  bottom: 0;
  right: -60px;
  position: absolute;
  display: block;
  width: 124px;
  height: 190px;
}

.label {
  position: relative;
  width: 124px;
  height: 55px;
  border-radius: 1px;
  color: #454545;
  transform: rotate(3deg);
  cursor: pointer;
  display: block;
  background-image: url(../images/top/anime_tsp.gif);
  background-position: top right;
  background-repeat: no-repeat;
  padding-top: 30px;
}

.label-txt:after{
  position: absolute;
  content: '';
  right: 4px;
  bottom: 4px;
  border-width: 0 0 12px 12px;
  border-style: solid;
}

@keyframes flashobject {
  0%,100% {
    background: #f8c8ca;
  }
  50% {
    background: #f27379;
  }
}

@keyframes flashhuman {
  0%,100% {
    background: #bdfce8;
  }
  50% {
    background: #519f88;
  }
}


#topics #tsp-object .label-txt {
  border-left: solid 12px #a50008;
  animation: flashobject 1s linear infinite;
  margin-bottom: 15px;
}

#topics #tsp-human .label-txt {
  border-left: solid 12px #198362;
  animation: flashhuman 1s linear infinite;
}

#topics #tsp-object .label-txt:after {
  border-color: #a50008 rgba(0, 0, 0, 0) #a50008;
}

#topics #tsp-human .label-txt:after {
  border-color: #198362 rgba(0, 0, 0, 0) #198362;
}

.label .label-txt {
  color: #000;
  text-shadow: 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff;
  font-weight: bold;
  text-align: center;
  font-size: 14px;
  width: 114px;
  height: 35px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  box-shadow: 0 0 5px #000000;
  padding: 10px 0;
}

.label .label-txt .emphasis {
  font-weight: bold;
  font-size: 16px;
  display: block;
  text-align: center;
  width: 100%;
  line-height: 1.2;
}

.label:hover {
  text-decoration: none;
}

#topics #guidemovie {
  text-align: left;
}

@media all and (min-width: 320px) and (max-width: 767px) {
  #topics h2.system {
    margin: 50px auto 15px;
  }
  #topics p.fullname {
    margin: auto;
  }
  #topics p.tsp {
    margin: auto;
  }
  #topics p.conversation {
    width: 100%;
    height: auto;
    max-width: 312px;
    max-height: 145px;
    margin: 0 auto;
  }
    #topics p.conversation a{
    width: 100%;
    height: auto;
    max-width: 312px;
    max-height: 145px;
    background-size: cover;
  }
  #topics p.conversation img{
    width: 100%;
    height: auto;
  }
  #topics #ico {
    position: absolute;
    width: 38%;
    max-width: 210px;
    height: auto;
    top: -50px;
    left: 0;
  }
  #topics #ico a img {
    width: 100%;
    height: 100%;
  }
  #topics #anime {
    right: 15px;
    top: -20px;
  }
  #topics #ico-tsp {
    display: none;
  }
  #topics .tsp-box {
    width: 100%;
    height: 85px;
    top: -145px;
    /* top: -195px; */
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  .label {
    width: 43%;
    height: 55px;
    transform: rotate(-1deg);
  }
  .label .label-txt {
    width: calc(100% - 12px);
    height: 35px;
    font-size: 14px;
  }
  .label .label-txt .emphasis {
    font-size: 15px;
  }
  #topics #tsp-object {
    margin-bottom: 0;
  }
}

/* photomenu */

#photomenu {
  width: 900px;
  margin: 0 auto;
  background-image: url(../images/top_bg03.png);
}

#photomenu ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 150px;
  /* padding: 0 35px; */
  padding: 0 80px;
}

#photomenu li {
  width: 160px;
  height: 104px;
}

#photomenu li a {
  display: block;
  width: 160px;
  height: 104px;
}

#photomenu li.blog {
  margin-right: 0;
}

#photomenu li.guide a:hover {
  background-image: url(../images/top/bt-guide_o.jpg);
}

#photomenu li.knowhow a:hover {
  background-image: url(../images/top/bt-knowhow_o.jpg);
}

#photomenu li.varietown a:hover {
  background-image: url(../images/top/bt-varietown_o.jpg);
}

#photomenu li.company a:hover {
  background-image: url(../images/top/bt-company_o.jpg);
}

#photomenu li.blog a:hover {
  background-image: url(../images/top/bt-blog_o.jpg);
}

#photomenu li a:hover {
  text-indent: -9999px;
}

@media all and (min-width: 0px) and (max-width: 767px) {
  #photomenu {
    width: 100%;
    height: auto;
    max-width: 500px;
    margin: -20px auto 0;
    position: relative;
  }
  #photomenu ul {
    /* width: calc(100% - 30px);
    padding: 10px 15px 5px; */
    width: calc(100% - 60px);
    padding: 10px 30px 5px;
    height: auto;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    /* align-items: flex-start;
    justify-content: space-between; */
    align-items: center;
    justify-content: center;
    background-image: url(../images/top/photomenu_bg_s.png);
    background-size: cover;
  }
  /* #photomenu ul::after {
    content: "";
    display: block;
    width: 32%;
    height: auto;
    max-width: 160px;
    max-height: 104px;
    margin: 5px 0;
  } */
  #photomenu li {
    float: inherit;
    /* width: 32%; */
    width: calc(50% - 15px);
    height: auto;
    max-width: 160px;
    max-height: 104px;
    /* margin: 5px 0; */
    margin: 5px;
  }
  #photomenu li a {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 160px;
    max-height: 104px;
    background-size: contain;
  }
  #photomenu li a img {
    width: 100%;
    height: auto;
  }
  .tsptitle {
    text-align: center;
  }
}

/* bottom */

#bottom {
  width: 900px;
  margin: 0 auto;
  margin-top: -2px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  background-image: url(../images/top_bg04.png);
}

@media all and (min-width: 0px) and (max-width: 767px) {
  #bottom {
    width: 100%;
    margin: 0 auto;
    background-image: url(../images/top/link_subbtn_bk.gif);
    background-size: contain;
    background-position: center top;
  }
}

/* memo left */

#memo01 {
  width: 355px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 105px 0 10px 85px;
}

#memo01 p.left {
  width: 115px;
  text-align: center;
}

#memo01 p.center {
  width: 110px;
  text-align: center;
}

#memo01 p.right {
  width: 125px;
  text-align: center;
}

#memo01 p a {
  font-weight: bold;
  font-size: 11pt;
  color: #663300;
  line-height: 1.2em;
}

#memo01 p a:hover {
  text-decoration: underline;
}

@media all and (min-width: 0px) and (max-width: 767px) {
  #memo01 {
    width: calc(100% - 20px);
    max-width: 500px;
    margin: 5px auto;
    height: auto;
    padding: 10px 5px;
  }
  #memo01 p {
    transform:rotate(-1deg);
    box-shadow: 1px 1px 4px rgba(0,0,0,0.8);
  }
  #memo01 p a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-size: cover;
    cursor: pointer;
    text-align: center;
  }
  #memo01 p a:hover {
    background-color: rgba(242, 13, 13, 0.2);
    text-decoration: none;
  }
  #memo01 p.left,
  #memo01 p.center,
  #memo01 p.right {
    width: 32%;
    height: 75px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../images/top/link-btn-bk.jpg);
    background-position: center;
    background-size: cover;
  }
  #memo01 p a {

  }
}

/* memo right */

#memo02 {
  width: 350px;
  height: 90px;
  padding: 60px 80px 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#memo02 p.recruit {}

#memo02 p.recruit a {
  font-size: 11pt;
  font-weight: bold;
}

p.greeting {
  width: 234px;
  height: 83px;
}

p.greeting a {
  display: block;
  width: 234px;
  height: 83px;
  background-image: url(../images/top/bt-greeting.png);
}

p.greeting a:hover {
  text-indent: -9999px;
}


@media all and (min-width: 0px) and (max-width: 767px) {
  #memo02 {
    width: calc(100% - 20px);
    height: auto;
    max-width: 500px;
    margin: 0 auto;
    padding: 10px;
  }
  #memo02 p.recruit {
    width: 33%;
    height: 70px;
    /*box-sizing: border-box;*/
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../images/top/link-btn-bk.jpg);
    background-position: center;
    background-size: cover;
    box-shadow: 1px 1px 6px rgba(0,0,0,0.8);
    transform:rotate(-1deg);
    text-align: center;
  }
  #memo02 p.recruit a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-size: cover;
    cursor: pointer;
    text-align: center;
  }
  #memo02 p.recruit a:hover {
    background-color: rgba(242, 13, 13, 0.2);
    text-decoration: none;
  }
  p.greeting {
    width: 65%;
    height: auto;
    max-width: 234px;
    max-height: 83px;
  }
  p.greeting a {
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../images/top/bt-greeting.png);
    background-size: cover;
    cursor: pointer;
  }
  p.greeting a img{
    width: 100%;
    height: 100%;
  }
}

/* server�^�j�ւ�\�^���\ */
/*
#header {
  width:900px;
  height:170px !important;
  margin:0 auto;
  padding:30px 0;
  background-image:url(../images/bg-header.png);
}

p.comment {
  width:720px;
  font-size:11pt;
  border:2px solid #fc0;
  color:#fc0;
  margin:15px auto;
  padding:5px;
}*/

#header h1.ttl {
  left: 240px;
  width: 240px;
}

#contTxt {
  background: #211111;
  margin: 0 auto;
  width: 770px;
  padding: 20px;
}

#contTxt h2,
#contTxt p {
  color: #fff;
  font-size: 10px;
}

@media all and (min-width: 0px) and (max-width: 767px) {
  #contTxt {
    background: #211111;
    margin: 0 auto;
    width: auto;
    padding: 20px;
  }
}

/* �^���W�^���\�^? */

.floating-button-wrapper {
  position: fixed;
  z-index: 100;
  top: 225px;
  right: 10px;
}

.floating-button-wrapper * {
  box-sizing: border-box;
  font-family: "Noto Sans Japanese", sans-serif;
}

.floating-link {
  display: block;
  position: absolute;
  z-index: 103;
  width: 200px;
  height: 120px;
  border-radius: 10px;
}

.floating-button {
  z-index: 500;
}

.floating-balloon {
  display: block;
  position: absolute;
  z-index: 102;
  top: -100px;
  left: -50px;
  animation-name: balloon-rotate;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes balloon-rotate {
  0% {
    transform-origin: 90px bottom;
    transform: rotate(0deg);
  }
  50% {
    transform-origin: 90px bottom;
    transform: rotate(15deg);
  }
  100% {
    transform-origin: 90px bottom;
    transform: rotate(0deg);
  }
}

.floating-photo-01 {
  display: block;
  position: absolute;
  z-index: 101;
  top: 30px;
  left: -75px;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}

.floating-photo-01.hover {
  top: 50px;
  left: -125px;
  opacity: 1;
  visibility: visible;
  transition: all .3s;
}

.floating-photo-02 {
  display: block;
  position: absolute;
  z-index: 101;
  top: -15px;
  left: -75px;
  opacity: 0;
  visibility: hidden;
  transition: all .4s;
}

.floating-photo-02.hover {
  top: -25px;
  left: -125px;
  opacity: 1;
  visibility: visible;
  transition: all .4s;
}

.fixed-button-wrapper {
  display: none;
}


/* footer */

#footer {
  height: 97px;
  padding-top: 114px;
  background-position: center top;
}

#footer p.inquiry {
  margin: 3px 0 30px 186px;
}



@media screen and (max-width:1100px) {
  .floating-button-wrapper {
    display: none;
  }

  .boshu-link.fixed-button-inner {
    display: none;
  }


  .fixed-button-wrapper {
    box-sizing: border-box;
    display: block;
    position: fixed;
    z-index: 100;
    bottom: 0;
    width: 100%;
    height: 75px;
    padding: 10px;
    background-color: #3a1d0b;
  }

  .fixed-button-wrapper * {
    box-sizing: border-box;
  }

  .fixed-button-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    height: 100%;
    margin: auto;
  }

  .fixed-text {
    width: 50%;
    height: auto;
    margin-right: 5%;
  }

  .marble-square {
    position: relative;
    width: 90%;
    height: 100%;
    padding:3px;
    text-align: center;
    border-radius: 5px;
    background-color: rgb(58, 88, 0);
  }
  .marble-square:hover {
    text-decoration: none;
    opacity: 0.8;
  }
  .marble-square-inner {
    color: #fff;
    display: flex;
    font-weight: bold;
    /* font-size: 5.5vw; */
    font-size: clamp(1.5rem, 0.7978rem + 2.2472vw, 1.875rem);
    text-shadow: 0px 0px 11px rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
    padding:12.5px 10px 10px;
    border-radius: 3px;
    /* border-top-left-radius: 2.5px;
    border-top-right-radius: 2.5px; */
    /* background: linear-gradient(#8fc31f 0%, rgba(58, 88, 0, 1) 100%); */
    background: linear-gradient(#51710f, #9bc837 85%, #e6f0c8);
  }
  .marble-square-inner::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(#fff, transparent 20%);
    border-top-left-radius: 2.5px;
    border-top-right-radius: 2.5px;
    top: 0;
  }
  .marble-square-inner img {
    width: 100%;
    height: auto;
    max-width: 220px;
  }
}

  /*お問合せ*/

  /*募集*/
/*
  .fixed-button-wrapper {
    box-sizing: border-box;
    display: block;
    position: fixed;
    z-index: 100;
    bottom: 0;
    width: 100%;
    height: 75px;
    padding: 10px;
    background-color: #055;
  }

  .fixed-button-wrapper * {
    box-sizing: border-box;
  }

  .fixed-button-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    height: 100%;
    margin: auto;
  }

  .fixed-text {
    width: 50%;
    height: auto;
    margin-right: 5%;
  }

  .marble-square {
    position: relative;
    width: 40%;
    height: 100%;
    padding: 3px;
    text-align: center;
    border-radius: 5px;
    background-color: rgba(140, 20, 40, 1)
  }

  .marble-square-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 10px;
    border-top-left-radius: 2.5px;
    border-top-right-radius: 2.5px;
    background: linear-gradient(rgba(190, 80, 100, 1) 0%, rgba(140, 20, 40, 1) 100%);
  }
  .marble-square-inner img {
    width: 100%;
    height: auto;
    max-width: 220px;
  } */


/* Add 2023.02.16 */

#reason {
  /*padding: 50px 70px;*/
  height: 528px;
  background-image: url(../images/top_bg02.png);
}

.reason_inner {
  padding: 100px 70px 50px;
}

#reason h2 {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 30px;
  border-radius: 35px;
  background: linear-gradient(#be5064, #8c1428);
}

#reason ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

#reason ul li img {
  width: 100%;
  height: auto;
}

@media all and (min-width: 0px) and (max-width: 767px) {
  #reason {
    padding: 40px 20px;
    background-color: #ecece7;
  }

  #reason h2 {
    height: 50px;
    padding: 0 20px;
  }

  #reason ul {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    margin-top: 10px;
  }
}


/* 2023.03.02 */

/*-------���[�_��-------*/
.modalArea {
  display: none;
  position: fixed;
  z-index: 101; /*�T�C�g�ɂ���Ă����̐��l�͒��� */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modalBg {
  width: 100%;
  height: 100%;
  background-color: rgba(30,30,30,0.9);
}

.modalWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  overflow: hidden;
  /* padding: 10px 30px; */
  /* background-color: #fff; */
}
.modalContents > img {
  width: 100%;
  height: auto;
}
.closeModal {
  position: absolute;
  bottom: 10px;
  right: 10px;
  cursor: pointer;
  padding: 13px;
  line-height: 1;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}


/* �ȉ��{�^���X�^�C�� */
#openModal {
  cursor: pointer;
}


.banners {
  position: fixed;
  top: inherit;
  right: 0;
  z-index: 101;
  bottom: 75px;
}

.banners p {
  margin: 10px;
}

@media all and (min-width: 0px) and (max-width: 767px) {
  .banners {
    height: 75px;
    bottom: 95px;
  }
  .banners p {
    height: 75px;
  }
  .banners p a {
    display: block;
    height: 75px;
  }
  .banners p a > img {
    width: auto;
    height: 100%;
  }
}

@media print {

  /*print�œK�p������e*/
  .banners {
    display: none;
  }
}

/* バリエの今日この頃 */
.today {
  width: 867px;
  background-image: url(../images/bg-contents.png);
}
.today_inner {
  padding: 60px 50px 10px;
}
.today_bottom {
  background-color: #211111;
}
.article-list {
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.article-item a {
  text-decoration: none!important;
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
}
.article-item a:hover {
  opacity: .8;
}
.article-item a::before, 
.article-item a::after {
  content: '';
  position: absolute;
  top: 50%;
}
.article-item a::before {
  width: 40px;
  height: 40px;
  background-color: #094;
  border-radius: 50%;
  right: 0;
  transform: translateY(-50%);
}
.article-item a::after {
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  right: 16px;
  transform: translateY(-50%) rotate(-45deg);
}
.thumbNailWrap {
  width: 160px;
  margin-bottom: 10px;
  box-shadow: 5px 5px 10px rgba(0,0,0,.4);
}
.thumbNailWrap img {
  width: 100%;
}
.article-item-detail {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.article-item-date span {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 16px;
}
.newMark {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 10px;
  color: #fff;
  background-color: #d8134a;
  text-transform: uppercase;
  padding: 0.25em 0.5em;
  margin-right: 1em;
}
.article-item_headding {
  display: flex;
  align-items: center;
}
.article-item-title {
  font-size: 16px;
  font-weight: 500;
}
.today_heading {
  position: relative;
  padding: 1.5rem 2rem;
  color: #fff;
  border-radius: 10px;
  background: #094;
  font-family: 'APJapanesefont';
  font-weight: 700;
  font-size: 36px;
}
.today_heading::after {
  position: absolute;
  bottom: -9px;
  left: 1em;
  width: 0;
  height: 0;
  content: '';
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #094 transparent transparent transparent;
}
.today_link {
  text-align: right;
}
.today_link a {
  display: inline-block;
  font-weight: 700;
  font-size: 16px;
}

/* バリエの今日この頃 リンクボタン */
.today_btn {
  position: absolute;
  top: calc(-50% - 65px);
  left: -5%;
}
.today_btn_deco {
  width: 66px;
  height: 60px;
  position: absolute;
  top: -10px;
  left: -15px;
  z-index: 1;
  animation: loop_anime 0.8s linear infinite;
}
@keyframes loop_anime {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-15deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
.today_btn_deco img {
  width: 100%;
  height: auto;
}
.today_btn a {
  font-family: 'APJapanesefont';
  font-weight: 700;
  line-height: 1;
  position: relative;
  display: inline-block;
  padding: 0.5rem 2rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  border-radius: 0.5rem;
  color: #fff;
}
.today_btn a:hover {
  text-decoration: none!important;
}
a.btn-malformation {
  font-size: 2.2rem;
  padding: 1.5rem 2rem;
  color: #fff!important;
  border-radius: 100% 80px / 80px 100%;
  background-color: #094;
}
a.btn-malformation:hover {
  color: #fff!important;
  border-radius: 60% 80% / 100% 80%;
}