@charset "UTF-8";

/*
=====================================================================
特定非営利活動法人 ひびきの杜 共通 css
=====================================================================
*/


/* ============================================================================================== */
[data-ruby] {
  position: relative;
}

[data-ruby]::before {
  content: attr(data-ruby);
  position: absolute;
  top: -2em;
  left: 0;
  right: 0;
  margin: auto;
  font-size: 0.5em;
}

a:hover img{
    opacity: 0.5;
}

/* ============================================================================================== */
@media screen and  (min-width:769px) {

body{
  min-width: 1100px;
}

.pc{
  display: block;
}

.sp{
  display: none;
}

/**
 * Btn
 */
#picupNavi{
  position: fixed;
  top: 165px;
  right: 0;

}

#btnIg{
  margin-bottom: 20px;
}

#btnIg,
#btnNetshop{
  
}

#btnIg a,
#btnNetshop a{
  writing-mode: vertical-rl;
  display: block;
  color: #fffbe9;
  font-size: 1.4rem;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  padding: 10px;
  letter-spacing: 0.1em;
  box-sizing: border-box;
  width:45px;
}

#btnIg a{
  background: #ea5614;
}

#btnNetshop a{
  background: #469f5a;
}

#btnIg a:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 0 7px 0;
  background: url(../img/union/icon_ig.png) no-repeat;
  background-size: contain;
  vertical-align: top;
}

#btnNetshop a:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 0 7px 0;
  background: url(../img/union/icon_shop.png) no-repeat;
  background-size: contain;
  vertical-align: top;
}

#btnIg a:hover,
#btnNetshop a:hover{
  opacity: 0.8;
}

/**
 * Header
 */
 #header{
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
 }

 #header h1{
  width: 250px;
}

 #header #logo{
  width: 250px;
}

 #gMenu{
  display: flex;
  justify-content: space-between;
}

 #gMenu ul{
  width: 580px;
  display: flex;
  justify-content: space-between;
  font-size: 1.6rem;
}

#gMenu ul li{
  letter-spacing: 0.1em;
  font-weight: 500;
}

#gMenu a:hover{
  color: #ccc;
}

/* HigthMin */
#header.HeightMin{
  width: 100%;
  position: fixed;
  z-index: 999;
  height:auto;
  animation: DownAnime 0.5s forwards;
  background: rgba(255,251,233,.95);
  align-items: center;
  padding: 10px 30px;
}

#header.HeightMin h1{
  width: 160px;
}

#header.HeightMin #logo{
  width: 160px;
}

#header.HeightMin #gMenu ul{
  padding: 0;
  align-items: center;
}

#header.HeightMin #btnApply{
  width: 90px;
  margin: 0;
}

@keyframes DownAnime{
  from {
  opacity: 0;
  transform: translateY(-150px);
  }
  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/**
 * contents
 */
#contents .column{
  display: flex;
  justify-content: space-between;
}

/* footer */
#footer{
  background: #fff;
  padding: 80px 0 40px;
}

#contactArea{
  width: 1100px;
  margin: 0 auto 80px;
}

#contactArea h2{
  text-align: center;
  margin-bottom: 40px;
}

#contactArea h2 img{
  height: 55px;
  width: auto;
}

#contactArea p{
  text-align: center;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  line-height: 160%;
  margin-bottom: 40px;
}

#infoWrap{
  border: 2px solid #3e3a39; 
  padding: 40px;
  margin-bottom: 30px;
  border-radius: 10px;
}

#infoWrap p{
  margin: 0;
  font-size: 3.4rem;
}

#infoWrap p span{
  font-size: 2.2rem;
}

#infoWrap p em{
  padding: 0 35px;
}

#infoWrap p#mail img{
  height:47px;
  width:auto;
}

#footer p.open{
  font-size:2.4rem;
}

#footer p#add br,
#footer p.open br{
  display: none;
}

#footer p.open b{
  border-bottom: 8px solid #ffe56d;
}

#footerLink{
  margin-bottom: 80px;
}

#footerLink ul{
  font-size: 1.6rem;
  text-align: center;
  font-weight: 500;
}

#footerLink ul li{
  display: inline-block;
  margin-right: 40px;
  letter-spacing: 0.1em;
}

#footerLink ul li:last-child{
  margin-right: 0;
}

#footerLink ul li a:hover{
  color: #ccc;
}

#copy{
  font-size: 1.4rem;
  text-align: center;
}

a[href*="tel:"] {
pointer-events: none;
cursor: default;
text-decoration: none;
}

}

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

.pc{
  display:none;
  }

.sp{
  display:block;
  }



/**
 * Btn
 */
#picupNavi{
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  font-size: 1.3rem;
  width: 100%;
}

#btnIg,
#btnNetshop{
  width: 50%;
}

#btnIg a,
#btnNetshop a{
  display: block;
  color: #fffbe9;
  padding: 15px 10px;
  letter-spacing: 0.1em;
  text-align: center;
  line-height: 100%;
}

#btnIg a{
  background: #ea5614;
}

#btnNetshop a{
  background: #469f5a;
}

#btnIg a:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 8px 0 0;
  background: url(../img/union/icon_ig.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
}

#btnNetshop a:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 8px 0 0;
  background: url(../img/union/icon_shop.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
}


/**
 * Header
 */
 #header{
  padding:20px;
  margin-bottom: 15px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
}

 #header h1{
  width: 45%;
}

 #header #logo{
  width: 45%;
}

#gspMenu{
  width:40px;
}

/* HigthMin */
#header.HeightMin{
  width: 100%;
  position: fixed;
  z-index: 999;
  height:auto;
  animation: DownAnime 0.5s forwards;
  background: rgba(255,251,233,.95);
  padding:15px 20px;
}

#header.HeightMin h1{
  width: 35%;
}

#header.HeightMin #logo{
  width: 35%;
}


@keyframes DownAnime{
  from {
  opacity: 0;
  transform: translateY(-150px);
  }
  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/* footer */
#footer{
  background: #fff;
  padding: 60px 0 110px;
}

#contactArea{
  width: 90%;
  margin: 0 auto 60px;
}

#contactArea h2{
  text-align: center;
  margin-bottom: 20px;
}

#contactArea h2 img{
  height: 38px;
  width: auto;
}

#contactArea p{
  text-align: center;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  line-height: 160%;
  margin-bottom: 20px;
}

#infoWrap{
  border: 2px solid #3e3a39; 
  padding: 10px;
  margin-bottom: 30px;
  border-radius: 10px;
}

#infoWrap p{
  margin: 0;
  font-size: 1.6rem;
}

#infoWrap b{
  display: block;
  font-size: 1.6rem;
}

#infoWrap p span{
  font-size: 1.2rem;
}

#infoWrap p em{
  display: none;
}

#infoWrap p#mail img{
  height:23px;
  width:auto;
}

#footer p.open{
  font-size:1.7rem;
  line-height: 200%;
}

#footer p.open b{
  border-bottom: 4px solid #ffe56d;
}

#footerLink{
  margin-bottom: 60px;
}

#footerLink ul{
  font-size: 1.4rem;
  text-align: center;
  border-top: 1px solid #ccc;
  font-weight: 500;
}

#footerLink ul li{
  display: block;
  letter-spacing: 0.1em;
  border-bottom: 1px solid #ccc;
}

#footerLink ul li a{
  display: block;
   padding: 20px 0 10px;
}

#footerLink ul li a:hover{
  color: #ccc;
}

#copy{
  font-size: 1.2rem;
  text-align: center;
}

}