
@import url("../css/reset.css");
@import url("../css/hb-menu.css");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredericka+the+Great&display=swap');


/* 全体の設定
------------------------------------------------------------*/
body {
  -webkit-text-size-adjust: 100%;/* スマホ横向き時に文字サイズを変えない */
  font-size: 1em;
  line-height: 1.9em;
  background: #f0f0f0;
  font-family: "Noto Sans JP","Montserrat","游ゴシック",YuGothic,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;
}
a:link{
  text-decoration: none;
  /*color: #fff;*/
  color: inherit;
}


/* コンテナ
------------------------------------------------------------*/
#container {
  overflow: hidden;
}
.contentwrap {
  max-width: 1024px;
  margin: 0 auto;
}
.content {
  margin: 0 auto;
  width: 90%;
}


/* 各ページタイトル
------------------------------------------------------------*/
.titlewrap {
  padding: 150px 0 40px 0;
}
.title1 h3 {
  font-size: 1.4em;
  font-weight: lighter;
  margin-bottom: 5px;
}
.title1 {
  border-bottom: solid 3px #696969;
  position: relative;
}
.title1:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px red;
  bottom: -3px;
  width: 50%;
}
.title2 {
  font-weight: lighter;
  color: #696969;
  text-align: right;
  letter-spacing: 10px;
}
.title2:first-letter {
  font-size: 1.3em;
}


/* トップページ
------------------------------------------------------------*/
.slider {
  position:relative;
  z-index: 1;
  /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
  height: 100vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}

/*　背景画像設定　*/
/* 横向きの場合のスタイル */
@media screen and (orientation: landscape) {
  .slider-item01 {
    background:url(../img/topimg1.jpg);
  }
  .slider-item02 {
    background:url(../img/topimg2.jpg);
  }
  .slider-item03 {
    background:url(../img/topimg3.jpg);
  }
}
/* 縦向きの場合のスタイル */
@media screen and (orientation: portrait) {
  .slider-item01 {
    background:url(../img/topimg1-sp.jpg);
  }
  .slider-item02 {
    background:url(../img/topimg2-sp.jpg);
  }
  .slider-item03 {
    background:url(../img/topimg3-sp.jpg);
  }
}

.slider-item {
  width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
  height:100vh;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
  background-repeat: no-repeat;/*背景画像をリピートしない*/
  background-position: center;/*背景画像の位置を中央に*/
  background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}

/*　画像上文字とロゴの設定　*/
.toptextwrap {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}
.tuningandrepair{
  margin-bottom: 20px;
}
.circle{
  display: inline-block;
  text-align:center;
  width: 210px;
  height: 210px;
  line-height: 75px;
  border: solid 3px rgba(255, 255, 255, 0.3);
  padding-top: 25px;
  border-radius: 50%;
}

.toptext-tuning {
  font-family: 'Fredericka the Great', cursive;
  font-size: 3.5em;
  color: #fff;
  margin-bottom: -30px;
  font-weight: lighter;
}
.toptext-repair {
  font-family: 'Fredericka the Great', cursive;
  font-size: 3.5em;
  color: #fff;
  margin-top: -40px;
  font-weight: lighter;
}
.and {
  display: flex;
  align-items: center; /* 垂直中心 */
  justify-content: center; /* 水平中心 */
  color: #fff;
  font-size: 2.5em;
  font-family: 'Fredericka the Great', cursive;
}
.and:before, .and:after {
  border-top: 1px solid;
  content: "";
  width: 1.8em; /* 線の長さ */
}
.and:before {
  margin-right: 0.2em; /* 文字の右隣 */
}
.and:after {
  margin-left: 0.2em; /* 文字の左隣 */
}
.topwrapper{
  position: relative;
}
.toptextwrap img {
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* ハンバーガーメニュー内アイコン　*/
.menuicon {
  display: flex;
  justify-content: center;
}
.menuicon img {
  margin: 10px 10px 0;
}

/* トップメニュー　*/
.topmenu a {
  color: #000;
}
.topmenuwrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.menuicon {
  margin-top: 10px;
  font-size: 1.8em;
}
.topmenu {
  width: 25%;
  background: orange;
  text-align: center;
  padding-bottom: 10px;
}
.topmenu:nth-child(odd) {
  background: darkorange;
}

/* メニュー文字横の線　html<h3 class="title-border">　*/
.title-border {
  display: flex;
  align-items: center;
}
.title-border:before,
.title-border:after {
  border-top: 1px solid;
  content: "";
  flex-grow: 1;
}
.title-border:before {
  margin-right: 0.5rem;
}
.title-border:after {
  margin-left: 0.5rem;
}

/* メニュー IE専用表示（横線なし）　*/
@media (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .title-border {
    display: block;
    align-items: center;
  }
  .title-border:before,
  .title-border:after {
    border: none;
    content: "";
    flex-grow: none;
  }
  .title-border:before {
    margin-right: none;
  }
  .title-border:after {
    margin-left: none;
  }
}


/* ピアノ工房Klangeについて
------------------------------------------------------------*/
.messagewrap {
  position: relative;
}
.messagebgr {
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 20em 10em 0;
  border-color: transparent #c0c0c0 transparent transparent;
  z-index: 1;
  right: 0;
  transition: all 0.5s linear;
  transform: translateX(80px);
  opacity: 0;
}
.messagebgr.active {
  transform: translateX(0);
  opacity: 0.3;
}
.messagebgl {
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10em 0 0 20em;
  border-color: transparent transparent transparent #c0c0c0;
  z-index: 1;
  bottom: 0;
  transition: all 0.5s linear;
  transform: translateX(-80px);
  opacity: 0;
}
.messagebgl.active {
  transform: translateX(0);
  opacity: 0.3;
}


/* メッセージ背景のアニメーションここから */
@keyframes message-faderight {
  from {
    transform: translate(0,0);
  }
  to {
    transform: translate(-80px,0);
  }
}
@keyframes message-fadeleft {
  from {
    transform: translate(0,0);
  }
  to {
    transform: translate(80px,0);
  }
}
@keyframes message-fadeIn { /*animetion-nameで設定した値を書く*/
  0% {opacity: 0} /*アニメーション開始時は不透明度0%*/
  100% {opacity: 0.3} /*アニメーション終了時は不透明度100%*/
}
/* メッセージ背景のアニメーションここまで */

/* メッセージ中身のレイアウト */
.messagebox {
  line-height: 40px;
  position: relative;
  z-index: 2;
  margin: 0 auto;
  width: 75%;
  padding: 50px 0;
}
.box27wrap {
  margin-top: 4em;
}
.box27 {
  width: 80%;
  position: relative;
  margin: 0 auto;
  padding: 1.5em 1.5em;
  border: solid 3px darkorange;
}
.box27 .box-title {
  position: absolute;
  display: inline-block;
  top: -37px;
  left: -3px;
  padding: 5px 15px;
  height: 35px;
  line-height: 25px;
  font-size: 17px;
  background: darkorange;
  color: #ffffff;
  font-weight: bold;
  border-radius: 5px 5px 0 0;
}

.box27 p:nth-child(2) {
  font-weight: bold;
}
.box27 p:nth-child(3) {
  font-weight: bold;
  margin-bottom: 10px;
}


/* ピアノ調律・修理
------------------------------------------------------------*/
.subtitle {
  text-align: left;
  display: inline-block;
  border: solid 1px #000;
  padding: 3px 15px 5px;
  margin-bottom: 15px;
}
.servicewrap {
  text-align: center;/*下向き矢印の位置*/
  margin: 10px 0 40px 0;
}
.servicewrap i {
  color: gray;
  font-size: 2em;
  padding-top: 10px;
  padding-bottom: 10px;
}
.servicewrap-2 {
  display: flex;
}
.servicetext {
  width: 60%;
  margin-left: 50px;
  text-align: left;
}
.text1 {
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 1.1em;
}
.text2 {
  border-top: dotted 2px #bebebe; 
}
.servicewrap i {
  color: gray;
  margin-left: auto; 
  padding-top: 20px;
  padding-bottom: 20px;
}

.telandmail {
  font-weight: bold;
}


/* 料金表
------------------------------------------------------------*/
.price {
  display: block;
  margin: 0 auto;
  width: 75%;
  padding-bottom: 50px;
}
.price table {
  border-collapse: collapse;
  border: none;
  width: 100%;
  text-align: center;
}
.price table th {
  background: #ffd900;
  padding: 5px;
  border: solid 2px #f0f0f0;
}
.price table td {
  background: #e5e5e4;
  padding: 10px;
  border: solid 2px #f0f0f0;
}
.attention p{
  font-size: small;
  text-align: left;
  line-height: 1.5em;
}
.attention  p:nth-child(1) {
  margin-top: 10px;
}
.priceoffwrap {
  text-align: center;
  margin: 10px 0 60px 0;
}
.off2 {
  font-size: 1.5em;
  vertical-align: -2.5px;
}
.priceoff {
  display: inline-block;
  position: relative;
  padding: 0 50px 2px;
  font-weight: bold;
  background: darkorange;/*背景色*/
}
.priceoff:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 10px transparent;
  border-right: solid 20px rgb(149, 158, 155);/*折り返し部分*/
}
.priceoff:after {
  position: absolute;
  content: '';
  top: 100%;
  right: 0;
  border: none;
  border-bottom: solid 10px transparent;
  border-left: solid 20px rgb(149, 158, 155);/*折り返し部分*/
}


/* 中古ピアノ販売
------------------------------------------------------------*/
.usedpianotablewrap {
  margin-top: 20px;
  margin-left: 30px;
}
.usedpianotablewrap h3 {
  margin-bottom: 5px;
}
.usedpianotablewrap table{
  border-spacing: 0;
  line-height: 1.3em;
  text-align: left;
  border-left: solid 5px #000;
  margin-bottom: 5px;
}
.usedpianotablewrap th{
  padding-left: 10px;
}
.usedpianotablewrap td{
  padding-left: 20px;
}
.usedpianotablewrap p{
  line-height: 1.3em;
}

/* スライダーの設定　*/
.slide-box-wrap {
  margin :0 auto;
  display: flex;
}
.slide-box-wrap {
  padding-bottom: 50px;
}
.slide-box-wrap:last-child {
  padding-bottom: 0;
}

/* slide-box */
.slide-box {
  width: 60%;
  position: relative;
  margin: 0;
  padding: 0;
}

/* slide */
.slide {
  position: relative;
  margin: 0;
  padding: 0;
}
.slide .item {
  position: relative;
  height: 100%;
}
.slide .item a {
  display: block;
}
.slide .item::before {
  display: block;
  padding-top: 60%;/*スライダーの高さ*/
  content: "";
}
.slide .item .image {
  position: relative;
  overflow: hidden;
}
.slide .item img {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  width: 100%;
}
.slide > .slick-list,
.slide > .slick-list > .slick-track,
.slide > .slick-list > .slick-track > .slick-slide > div {
  position: relative;
  height: 100%;
}

/* slide-navigation */
.slide-navigation {
  line-height: 0;
  position: relative;
  margin: 0;
  padding: 0;
}
.slide-navigation .item {
  position: relative;
  cursor: pointer;
}
.slide-navigation .item .image {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
.slide-navigation .item .image::before {
  display: block;
  padding-top: 60%;/*サムネイルの高さ*/
  content: "";
}
.slide-navigation .item .image::after {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  opacity: 0.5;
  background: #000;
}
.slide-navigation .slick-current .image::after {
  opacity: 0;
}
.slide-navigation .item .image {
  position: relative;
  overflow: hidden;
}
.slide-navigation .item .image img {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  width: 100%;
}

/* slick */
.slick-vertical .slick-slide {
  border: 0 solid transparent;
}


/* インフォメーション
------------------------------------------------------------*/
/* インフォメーション見出し */
.infomidashi{
  position: relative;
  padding: 0 1em 0.25em 1em;
  border-bottom: solid 2px black;
  font-weight: lighter;
  font-size: 1.3em;
  margin: 40px 0;
}
.infomidashi:nth-child(1) {
  margin-top: 0;
}
.infomidashi:before{
  content: '';
  position: absolute;
  top: -7px;
  width: 2px;
  height: -webkit-calc(100% + 14px);
  height: calc(100% + 14px);
  background-color: red;
}
.infomidashi:before {
  left: 7px;
}
.infomidashi:after {
  right: 7px;
}
.infomidashi h3 {
  font-weight: lighter;
}

/* 調律師紹介 */
.profile {
  display: flex;
}
.infowrap {
  margin: 0 auto;
  width: 80%;
}
.profname {
  display: flex;
  margin-bottom: 10px;
}
.marker {
  display: inline-block;
  background: linear-gradient(transparent 60%,#f9ff52 0%);
  font-size: 1.2em;
}
.markerside {
  margin-left: 20px;
  color: #555;
}
.marker_sns {
  display: inline-block;
  background: linear-gradient(transparent 60%,#f9ff52 0%);
  font-size: 1em;
}
.fusen {
  font-size: 95%;
  margin-left: 20px;
  margin-bottom: 20px;
  display: inline-block;
  color: #000;
  position: relative;
  padding: 15px 16px;
  background: #add8e6;
  line-height: 1.5em;
  transform: rotate(-3deg);
}
.fusen p:nth-child(1) {
  padding-bottom: 5px;
  border-bottom : dotted 2px #fff;
}
.fusen p:nth-child(2) {
  padding-top: 5px;
}

/*　テープ枠 */
.kakomi-tape3 {
   position:relative;
   display: inline-block;
   padding: 25px 30px 25px 30px;
   color: #000; /* 文字色 #555555*/
   background-color: #e8ddbd;
   box-shadow: inset 0 0 40px rgba(204, 186, 136,1);
}
.title-tape3 {
   position: absolute;
   top: -15px;
   left: 10px;
   padding: 4px 20px;
   color: #555555; /*タイトル色*/
   font-weight: bold;
   background-color: rgba(255,255,255,.4);
   border-left: 2px dotted rgba(0,0,0,.1);
   border-right: 2px dotted rgba(0,0,0,.1);
   box-shadow: 0 0 5px rgba(0,0,0,0.2); 
   transform: rotate(-5deg);
}

/* プロフィール写真 */
.profilephoto {
  padding-top: 20px;
  margin: 0 auto;
  width: 500px;
  height: auto;
}
#information a{
  display: inline;
  color: #000;
}

/* SNS */
.sns {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}
.snsiconwrap {
  display: inline-block;
}
.snsicon p {
  font-weight: bold;
}
.snsicon img {
  margin: 0 auto;
}
.insta {
  padding: 15px 0 10px;
}
.blog {
  padding-top: 5px;
}
.sns a{
  word-break: break-all;
}

/* 事業所概要 */
/* 事業所概要テーブルのレイアウト　*/
.tbl-01 th {
  width: 150px;
  text-align: left;
  padding-bottom: 15px;
}
.tbl-01 td {
  line-height: 1.5em;
  padding-bottom: 15px;
}
.square {
  color: darkorange;
}
.telcolor {
  color: royalblue;
  font-weight: bold;
}

/* googlemap */
.map {
  clear: both;
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  margin-top: 30px;
  margin-bottom: 10px;
}
.map iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}


/* トップに戻るボタン
------------------------------------------------------------*/
.pagetop {
  padding-bottom: 30px;
  max-width: 50px;
  margin-left: auto;
  margin-right: 20px;
}
.pagetop i {
  padding-top: 15px
}
.pagetop a {
  display: block;
  z-index: 999;
  border-radius: 30px;
  width: 50px;
  height: 50px;
  background-color: darkorange;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}
.pagetop a:hover {
  text-decoration: none;
  opacity: 0.7;
}


/* フッター
------------------------------------------------------------*/
.footer {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px; 
  margin-top: 10px; 
  background: #000;
  box-shadow: 0px -10px 0px 0px rgb(255, 140, 0);
}
.footermenuwrap {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}
.footermenu {
  display: flex;
}
.footermenu li {
  border-right: solid 1px #fff;
  color: #fff;
  padding-right: 15px;
  padding-left: 15px;
  margin-bottom: 15px;
 }
 .footermenu li:first-child {
  padding-left: 0;
}
 .footermenu li:last-child {
  border: none;
}
.footer img {
  display: inline;
  max-width: 278px;
  max-height: auto;
}
.small {
  font-size: small;
  color: #fff;
}
.footericon img {
  margin-top: 10px;
  margin-bottom: 10px;
}
.footericon img:nth-child(1) {
  margin-right: 10px;
  margin-left: 10px;
}



/* レスポンシブ設定
------------------------------------------------------------*/
/*横幅1024px以下
------------------------------------------------------------*/
@media screen and (max-width: 1024px) {
.contentwrap {
  max-width: 95%;
  }



/*横幅925px以下
------------------------------------------------------------*/
@media screen and (max-width: 925px) {
  .title2 {
    letter-spacing: 5px;
  }
  .titlewrap {
    max-width: 95%;
    margin: 0 auto;
    padding: 90px 0 25px 0;
  }

  /* トップメニュー　*/
  .topmenu {
    width: 50%;
  }
  .topmenu:nth-child(3) {
    background: orange;
  }
  .topmenu:nth-child(4) {
    background: darkorange;
  }

  /*ピアノ工房Klängeについて 925px以下*/
  .messagebox {
    width: 85%;
  }
  .box27 {
    width: 100%;
  }

  /*料金表　925px以下**/
  .price {
    width: 100%;
  }

  /* 中古ピアノ販売 925px以下　*/
  .slide-box-wrap {
    display: block;
    width: 70%;
  }
  .slide-box  {
    width: 100%;
  }
  .usedpianotablewrap {
    display: inline-block;
    margin-left: 20px;
    margin-top: 10px;
  }

  /* インフォメーション 925px以下 */
  /*　テープ枠 */
  .profile {
    display: block;
  }
  .kakomi-tape3 {
    display: block;
  }
  .fusen {
    top:-10px;
    margin-left: 150px;
  }
  .profilephoto {
    padding-top: 0;
    width: 85%;
  }

  /* フッター */
  .footermenuwrap {
    margin-top: 15px;
  }
  .footermenu {
    display: block;
  }
  .footermenu li {
    border: none;
    padding-right: 0;
    padding-left: 0;
  }
}


/*横幅700px以下
------------------------------------------------------------*/
@media screen and (max-width: 700px) {
  .tuningandrepair{
    margin-bottom: 5px;
  }
  .circle{
    width: 180px;
    height: 180px;
    line-height: 70px;
    padding-top: 18px;
  }
  .toptext-tuning {
    font-size: 3em;
  }
  .toptext-repair {
    font-size: 3em;
  }
  .and {
    font-size: 2em;
  }
  .and:before, .and:after {
    width: 1.9em; /* 線の長さ */
  }
  .and:before {
    margin-right: 0.2em; /* 文字の右隣 */
  }
  .and:after {
    margin-left: 0.2em; /* 文字の左隣 */
  }
  .toptextwrap img {
    max-width: 75%;
  }

  /* トップメニュー　*/
  .topmenu {
    width: 100%;
  }
  .topmenu:nth-child(3) {
    background: darkorange;
  }
  .topmenu:nth-child(4) {
    background: orange;
  }

/* ピアノ調律・修理　700px以下*/
  .servicewrap-2 {
    display: block;
  }
  .servicetext {
    width: 100%;
    margin: 0 auto;
  }
  .serviceimg{
    width: 50%;
    margin: 0 auto;
    padding-bottom: 10px;
  }
  .infomidashi{
    margin-left: 0;
  }

  /* 事業所概要 700px以下 */
  .tbl-01 th,
  .tbl-01 td {
    border-bottom: none;
    display: inline-block;
    width: 100%;
  }
  .tbl-01 th {
    padding-bottom: 0px;
  }

  /*　テープ枠 700px以下 */
  .kakomi-tape3 {
    margin-top: 20px;
    margin-left: 0px;
  }

  /* トップに戻るボタン　700px以下 */
  .pagetop {
    margin-right: 10px;
  }
}


/*横幅480px以下
------------------------------------------------------------*/
@media screen and (max-width: 480px) {

  /* ピアノ調律・修理 */
  .priceoff {
    padding-right: 0;
    padding-left: 0;
    display: block;
  }

  /* 中古ピアノ販売 480px以下　*/
  .slide-box-wrap {
    width: 100%;
  }
  .usedpianotablewrap {
    margin-left: 0;
  }

  /* インフォメーション
  ------------------------------------------------------------*/
  /* 調律師紹介 */
  .infowrap {
    width: 100%;
  }
  .profname {
    display: block;
  }
  .markerside {
    margin-left: 0;
  }

  /*　テープ枠 */
  .fusen {
    top:-10px;
    margin-left: 50px;
  }
  .profilephoto {
    width: 100%;
  }

  /* 事業所概要*/
  .companywrap {
    margin-left: 15px;
  }
}