@charset "ytf-8";

/* global */

body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  font-family: 'Abhaya Libre', serif;
  font-family: 'Noto Serif JP', serif;
}
ul {
  list-style-type: none;
}
li {
  font-size: 20px;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
p {
  color: #555;
  font-size: 18px;
}
.inner {
  max-width: 1080px;
  margin: 0 auto;
}
.title {
  font-size: 30px;
}
.sub-title {
  font-size: 20px;
}
.mini-p {
  font-size: 12px;
}

.target {
  opacity: 0;
  transform: translateY(50px);
  transition: 1s;
}
.is-active {
  transform: translateY(0);
  opacity: 1;
}

figure.hover-parent {
  width: 250px;
  height: 175px;
  position: relative;
  margin-bottom: 30px;
  overflow: hidden;
}
  figcaption.hover-mask {
  width: 250px;
  height: 175px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  color: #fff;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 30px;
}


/* ===================================================
Header
=================================================== */


header {
  width: 100%;
  background-color: transparent;
  position: fixed;
  display: flex;
  z-index: 1;
  backdrop-filter: blur(20px);
  padding-bottom: 20px;
}
.header {
  color: #fff;
  transition: color 0.4s ease-out;
}
header ul {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 14px;
}
.menu li {
  position: relative;
  float: left;
}
.menu li a {
  display: block;
  width: 220px;
  padding: 10px;
}
.down a:hover {
  background: linear-gradient(155deg, #fefecf 30%, #ffcff9 60%, #ffcaca 90%);
}
.menu li:hover > ul {
  display: block;
}
.menu ul {
  display: none;
  position: absolute;
  top: 38px;
  width: 240px;
}
.menu li:hover > ul {
  display: block;
}
.menu li a {
  display: block;
  width: 220px;
  padding: 10px;
  /* webkit-transition-duration: 0.3s; */
  -moz-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.nav {
	display: inline-block;
	transition: all .3s ease 0s;
	text-decoration: none;
  color: #fff;
}
.nav:hover {
	cursor: pointer;
	transform: scale(1.2);
}

/* スクロールしたらヘッダーメニューのフォントカラー変更 */
.headerColorScroll {
  color: #333;
}

/* ham-menu PC時のスタイル */

header ul.sp-menu {
  padding-top: 72px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100vh;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  background: rgba(255,255,255,0.95);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s linear;
}
header ul.sp-menu li {
  margin-bottom: 24px;
}
.sp-menu li a:link {
  color: #333;
}
.sp-menu li a:visited {
  color: #333;
}
header ul.sp-menu.is-active {
  pointer-events: auto;
  opacity: 1;
}


/* ===================================================
1stview
=================================================== */

.top-bx {
  overflow: hidden;
}
.top-view {
  display: flex;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  background: url(../image/topview01.jpg) top center / cover no-repeat;
  border-radius: 0 0 1000px 1000px/ 0 0 150px 150px;
  margin: 0 -30px 100px;
  position: relative;
}
.top-view h2 {
  margin-left: 420px;
  font-size: 32px;
  color: #F0F0F0;
}
.top-view p {
  color: #fff;
  font-size: 14px;
  writing-mode: vertical-rl;
  padding-left: 30px;
}
.top-view ul li {
  margin-top: 30px;
}
.top-view ul {
  position: absolute;
  bottom: 160px;
  right: 120px;
}
.ins-line {
  position: absolute;
  bottom: 205px;
  right: 145px;
}


.catch02 {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  line-height: 48px;
  margin-bottom: 100px;

}

/* ===================================================
Works
=================================================== */

#works .title {
  max-width: 100%;
  text-align: center;
  background-image: url(../image/title-deco01.png);
  background-position: 55% 50%;
  background-size: contain;
  padding: 80px 0 100px 0;
  margin-bottom: 30px;
}
#sub-title01 {
  max-width: 100%;
  text-align: center;
  background-image: url(../image/subtitle-deco01.png);
  background-position: 51.5% 0;
  background-size: contain;
  font-size: 24px;
  padding: 30px 0 20px 0;
  margin-bottom: 20px;
}
#works .hanshin {
  display: flex;
  align-items: center;
  margin-bottom: 200px;
}
#works .hanshin p {
  max-width: 30%;
  margin: 0 auto;
  text-align: center;
  font-size: 20px;
  line-height: 3;
}

.hover {
  cursor: pointer;
  position: relative;
}
.hover-maskright {
  align-items: center; /* テキストの中央揃え */
  background: rgba(225, 225, 225, 0.5); /* マスクの色(黒の50%) */
  bottom: 0;
  color: #fff; /* テキストの色 */
  display: flex; /* テキストの中央揃え */
  height: auto;
  justify-content: center; /* テキストの中央揃え */
  left: 0;
  opacity: 0; /* 最初は透明(非表示) */
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity .6s ease; /* ゆっくりopacityのみへ変化させる */
  width: 100%;
  border-top-right-radius: 95px;
}
.hover-maskright:hover {
  opacity: 1; /* hoverしたら透過しない(表示させる) */
}
.hover-maskright p {
  width: 80%; /* テキストを横幅いっぱいにならないようにする */
}
.hover-maskleft {
  align-items: center; /* テキストの中央揃え */
  background: rgba(225, 225, 225, 0.5); /* マスクの色(黒の50%) */
  bottom: 0;
  color: #fff; /* テキストの色 */
  display: flex; /* テキストの中央揃え */
  height: auto;
  justify-content: center; /* テキストの中央揃え */
  left: 0;
  opacity: 0; /* 最初は透明(非表示) */
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity .6s ease; /* ゆっくりopacityのみへ変化させる */
  width: 100%;
  border-top-left-radius: 95px;
}
.hover-maskleft:hover {
  opacity: 1; /* hoverしたら透過しない(表示させる) */
}
.hover-maskleft p {
  width: 80%; /* テキストを横幅いっぱいにならないようにする */
}

#works .webschool {
  display: flex;
  align-items: center;
  margin-bottom: 200px;
}
#works .webschool p {
  max-width: 30%;
  margin: 0 auto;
  text-align: center;
  font-size: 20px;
  line-height: 3;
}
#works .kaga {
  display: flex;
  align-items: center;
  margin-bottom: 200px;
}
#works .kaga p {
  max-width: 30%;
  margin: 0 auto;
  text-align: center;
  font-size: 20px;
  line-height: 3;
}


.container01 {
  margin: 0 auto 200px;
  max-width: 100%;
  width: 100%;
}
.slick-img01 img {
  height: auto;
  opacity: .3;
  transform: scale(.7);
  transition: opacity .5s, transform .5s;
  width: 100%;
}
.slider01 .slick-center img {
  opacity: 1;
  transform: scale(1);
}


#sub-title02 {
  max-width: 100%;
  text-align: center;
  background-image: url(../image/subtitle-deco02.png);
  background-position: 51.5% 0;
  background-size: contain;
  font-size: 24px;
  padding: 30px 0 25px 0;
  margin-bottom: 20px;
}
#works .hana {
  display: flex;
  align-items: center;
  margin-bottom: 200px;
}
#works .hana p {
  max-width: 30%;
  margin: 0 auto;
  text-align: center;
  font-size: 20px;
  line-height: 3;
}
#works .hana img {
  border-top-right-radius: 95px;
}

#works .careesta {
  display: flex;
  align-items: center;
  margin-bottom: 200px;
}
#works .careesta p {
  max-width: 30%;
  margin: 0 auto;
  text-align: center;
  font-size: 20px;
  line-height: 3;
}
#works .careesta img {
  border-top-left-radius: 95px;
}

#sub-title03 {
  max-width: 100%;
  text-align: center;
  background-image: url(../image/subtitle-deco03.png);
  background-position: 51.5% 0;
  background-size: contain;
  font-size: 24px;
  padding: 30px 0 25px 0;
  margin-bottom: 20px;
}
#works .marc {
  display: flex;
  align-items: center;
  margin-bottom: 200px;
}
#works .marc p {
  max-width: 30%;
  margin: 0 auto;
  text-align: center;
  font-size: 20px;
  line-height: 3;
}
#works .marc img {
  border-top-right-radius: 95px;
}
#works .hops {
  display: flex;
  align-items: center;
  margin-bottom: 200px;
}
#works .hops p {
  max-width: 30%;
  margin: 0 auto;
  text-align: center;
  font-size: 20px;
  line-height: 3;
}
#works .hops img {
  border-top-left-radius: 95px;
}
#works .goods {
  display: flex;
  align-items: center;
  margin-bottom: 200px;
}
#works .goods p {
  max-width: 30%;
  margin: 0 auto;
  text-align: center;
  font-size: 20px;
  line-height: 3;
}
#works .goods img {
  border-top-right-radius: 95px;
}
#sub-title04 {
  max-width: 100%;
  text-align: center;
  background-image: url(../image/subtitle-deco03.png);
  background-position: 51.5% 0;
  background-size: contain;
  font-size: 24px;
  padding: 30px 0 25px 0;
  margin-bottom: 20px;
}
#works .movie {
  display: flex;
  align-items: center;
  margin-bottom: 200px;
}
#works .movie p {
  max-width: 30%;
  margin: 0 auto;
  text-align: center;
  font-size: 20px;
  line-height: 3;
}
#works iframe {
 border-top-right-radius: 95px;
 width: 700px;
 height: 420px;
}

/* ===================================================
Gallery
=================================================== */

#gallery .title {
  max-width: 100%;
  text-align: center;
  background-image: url(../image/title-deco02.png);
  background-position: 44% 0;
  background-size: contain;
  padding: 100px 0 60px 0;
  margin-bottom: 30px;
}

.slider02 img {
  width: 100%;
  height: 100%;
}
.slider03 img {
  width: 100%;
  height: 50vw;
  object-fit: cover;
}
.slider03 {
  margin-bottom: 80px;
}


#gallery {
  margin-bottom: 300px;
}
#gallery .btn-viewall {
  background-image: url(../image/button-deco.png);
  background-size: contain;
  background-position: right;
  padding: 35px 25px 35px 60px;
  max-width: 1080px;
  margin: 0 auto;
  text-align: end;
}


/* ===================================================
About
=================================================== */

#about .sp_only {
  display: none;
}
#about .title {
  max-width: 100%;
  text-align: center;
  background-image: url(../image/title-deco03.png);
  background-position: 54% 0;
  background-size: contain;
  padding: 100px 0 60px 0;
  margin-bottom: 30px;
}
#about .bg-color {
  background-color: #F0F0F0;
  max-width: 100%;
  height: 80vh;
  position: relative;
  margin-bottom: 280px;
}
#about .about-img {
  position: absolute;
  max-width: 1080px;
  left: 25%;
  bottom: 10%;
  border: 15px solid #fff;
  border-bottom: 50px solid #fff;
}
#about ul {
  position: absolute;
  width: 420px;
  right: 14%;
  top: 10%;
}
#about ul li {
  margin-bottom: 20px;
}
#about .about-line {
  position: absolute;
  left: 20%;
  top: 8%;
}
#about .about-name p {
  position: absolute;
  top: 10%;
  left: 29%;
  font-size: 28px;
}
#about .btn-readmore {
  background-image: url(../image/button-deco.png);
  background-size: contain;
  background-position: right;
  padding: 35px 20px 35px 60px;
  font-size: 14px;
  position: absolute;
  bottom: -135px;
  right: 300px;
}


/************************************
** 比較棒グラフ
************************************/
.ub-bar-graph{
  margin:0 auto 2rem !important;
  padding:2em !important;
  color: #333;
}

.ub-bar-graph dl > div{
  margin: 0 auto 2.5em !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 26px;
  font-size: 0.8rem;
  position:relative;
  box-shadow: 0 3px 5px rgba(0,0,0,.03);
}
.ub-bar-graph dl > div:last-child{
  margin: 0 !important;
}
.ub-bar-graph dl > div dt{
  background:#fbd366;
  border-right: 2px solid #fff;
}
.ub-bar-graph dl > div .ub-bar-graph__em{
  background:#6cd2d8;
}
.ub-bar-graph dl > div dd{
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex:1;
  margin:0 !important;
  font-size:1em;
  background:#dfe6e8;
}
.ub-bar-graph dl > div dt > span,.ub-bar-graph dl > div dd > span{
  position:absolute;
  z-index: 1;
  color:#333;
  font-size: 1em;
  line-height: 1.5;
}
.ub-bar-graph dl > div dt > .ub-bar-graph__content{
  left:0px;
  top:-20px;
}
.ub-bar-graph dl > div dd >  .ub-bar-graph__value{
  right:5px;
  top:5px;
}




/* ===================================================
Contact
=================================================== */

#contact .title {
  max-width: 100%;
  text-align: center;
  background-image: url(../image/title-deco04.png);
  background-position: 45% 0;
  background-size: contain;
  padding: 50px 0 90px 0;
  margin-bottom: 30px;
}
#contact .bg-img {
  max-width: 100%;
  height: 100vh;
  background-image: url(../image/contact.png);
  background-size: contain;
  position: relative;
  margin-bottom: 160px;
}
#contact .contact-txt p {
  position: absolute;
  font-size: 22px;
  line-height: 3;
  right: 46%;
  top: 20%;
}
#contact .btn-sendmail {
  background-image: url(../image/button-deco.png);
  background-size: contain;
  background-position: right;
  padding: 35px 22px 35px 60px;
  font-size: 14px;
  position: absolute;
  right: 35%;
  bottom: 44%;
}

/* ===================================================
Footer
=================================================== */

footer {
  margin-bottom: 30px;
}
footer p {
  text-align: center;
}


/* ===================================================
responsive
=================================================== */

@media screen and (max-width:768px) {

/* ハンバーガーメニュー */
header ul.menu {
  display: none;
}
.ham-menu {
  display: inline-block;
  cursor: pointer;
  position: fixed;
  right: 56px;
  top: 36px;
  z-index: 10;
  width: 40px;
  height: 24px;
}
.ham-line {
  position: absolute;
  transition: 0.3s;
  width: 100%;
  height: 2px;
  background-color: #ccc;
}
.sp-menu li a {
  padding: 12px 48px;
}
.line-top {
  top: 0;
}
.line-middle {
  top: calc(50% - 1px);
}
.line-bottom {
  bottom: 0;
}
.ham-menu-active > .line-top {
  top: calc(50% - 1px);
  transform: rotate(45deg);
}
.ham-menu-active > .line-middle {
  width: 0;
  height: 0;
}
.ham-menu-active > .line-bottom {
  top: calc(50% - 1px);
  transform: rotate(-45deg);
}
/* ハンバーガーメニューEND */

header {
  padding-bottom: 0;
}
.hover-maskright {
  display: none;
}
.hover-maskleft {
  display: none;
}

.top-view h2 {
  margin-left: 20%;
}
.top-view ul {
  right: 10%;
  bottom: 8%;
}
.ins-line {
  right: 14%;
  bottom: 15.5%;
}


/* はんしんベーカリー */
#works .hanshin {
  flex-direction: column;
  text-align: center;
  margin-bottom: 80px;
}
#works .hanshin img {
  width: 90%;
  border-radius: 5.12821vw;
}
#works .hanshin p {
  line-height: 2rem;
  margin: 20px auto;
}

/* ウェブスクール */
#works .webschool {
  flex-direction: column-reverse;
  text-align: center;
  margin-bottom: 80px;
}
#works .webschool img {
  width: 90%;
  border-radius: 5.12821vw;
}
#works .webschool p {
  line-height: 2rem;
  margin: 20px auto;
}

/* 加賀温泉 */
#works .kaga {
  flex-direction: column;
  text-align: center;
  margin-bottom: 160px;
}
#works .kaga img {
  width: 90%;
  border-radius: 5.12821vw;
}
#works .kaga p {
  line-height: 2rem;
  margin: 20px auto;
}

/* Hana */
#works .hana {
  flex-direction: column;
  text-align: center;
}
#works .hana img {
  width: 90%;
  border-radius: 5.12821vw;
}
#works .hana p {
  line-height: 2rem;
  margin: 20px auto;
}

/* キャリスタ */
#works .careesta {
  flex-direction: column-reverse;
  text-align: center;
  margin-bottom: 80px;
}
#works .careesta img {
  width: 90%;
  border-radius: 5.12821vw;
}
#works .careesta p {
  line-height: 2rem;
  margin: 20px auto;
}

/* Marc */
#works .marc {
  flex-direction: column;
  text-align: center;
  margin-bottom: 80px;
}
#works .marc img {
  width: 90%;
  border-radius: 5.12821vw;
}
#works .marc p {
  line-height: 2rem;
  margin: 20px auto;
}

/* Hops */
#works .hops {
  flex-direction: column-reverse;
  text-align: center;
  margin-bottom: 80px;
}
#works .hops img {
  width: 90%;
  border-radius: 5.12821vw;
}
#works .hops p {
  line-height: 2rem;
  margin: 20px auto;
}

/* Goods */
#works .goods {
  flex-direction: column;
  text-align: center;
  margin-bottom: 80px;
}
#works .goods img {
  width: 90%;
  border-radius: 5.12821vw;
}
#works .goods p {
  line-height: 2rem;
  margin: 20px auto;
}

/* Movie */
#works .movie {
  flex-direction: column;
  text-align: center;
  margin-bottom: 100px;
}
#works .movie p {
  line-height: 2rem;
  margin: 20px auto;
}
#works iframe {
  width: 90%;
  border-radius: 5.12821vw;
}
/* ギャラリー */
#gallery {
  margin-bottom: 200px;
}
/* about */
#about .about-line {
  display: none;
}
#about .bg-color {
  height: 80vh;
}
#about .about-img {
  left: 6%;
}
#about .about-name p {
  left: 16%;
  top: 82%;
  font-size: 20px;
}
#about ul {
  width: 360px;
  right: 2%;
  top: 8%;
}
#about ul li {
  margin-bottom: 2px;
  font-size: 6px;
  line-height: 1.8rem;
}
#about .btn-readmore {
  right: 6%;
}
/* contact */
#contact .contact-txt p {
  font-size: 18px;
  right: 36%;
  top: 10%;
}
#contact .btn-sendmail {
  right: 6%;
  bottom: 38%;
}
#contact .bg-img {
  margin-bottom: 0;
}


}


/* ===================================================
responsive
=================================================== */
@media screen and (max-width:376px) {
p {
  font-size: 16px;
  line-height: 2rem;
}
.ins-line {
  right: 16%;
  bottom: 15.5%;
}
.top-view h2 {
  margin-left: 24%;
}
#sub-title01 {
  max-width: 70%;
  margin: 0 auto 20px;
}
#sub-title02 {
  max-width: 70%;
  margin: 0 auto 20px;
}
#sub-title03 {
  max-width: 70%;
  margin: 0 auto 20px;
}
#sub-title04 {
  max-width: 70%;
  margin: 0 auto 20px;
}
#works .title {
  max-width: 70%;
  padding: 80px 0 100px 0;
  margin: 0 auto;
}
#works .kaga {
  margin-bottom: 80px;
}
.container01 {
  margin: 0 auto 120px;
}
#works .hana {
  margin-bottom: 100px;
}
#gallery .title {
  max-width: 70%;
  margin: 0 auto;
  padding: 70px 0 60px 90px;
}
#gallery {
  margin-bottom: 100px;
}
#about .title {
  max-width: 64%;
  padding: 86px 0 60px 0;
  margin: 0 auto;
}
#about .about-img {
  display: none;
}
#about .sp_only {
  display: block;
  padding-top: 12px;
  margin-left: 220px;
}
#about .about-name p {
  left: 4%;
  top: 8%;
  font-size: 16px;
}
#about ul {
  width: 280px;
  right: 2%;
  top: 20%;
}
#about .bg-color {
  height: 100vh;
}
#about ul {
  width: 360px;
  right: 2%;
  top: 20%;
}
#contact .title {
  max-width: 70%;
  text-align: center;
  background-image: url(../image/title-deco04.png);
  background-position: 45% 0;
  background-size: contain;
  padding: 30px 0 90px 0;
  margin: 0 auto;
}
#contact .bg-img {
  max-width: 100%;
  max-height: 280px;
  background-image: url(../image/contact.png);
  background-size: cover;
  background-position: center;
  margin-bottom: 240px;
}
#contact .contact-txt p {
  font-size: 18px;
  right: 24%;
  top: 32%;
}
#contact .btn-sendmail {
  right: 6%;
  bottom: -50%;
}
}