/* メインビジュアルとロゴ */
.mainVisual {
  position: relative;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  width: 100%;
  /* padding-top: 750px; */
  height: 0;
  padding-top: 45%;
}
.mainVisual p{
  position: absolute;
  text-shadow: 1px 1px 3px var(--myShadowColor);
  color: white;
  top: 200px;
}

/* 出張撮影　左右にゆらゆら動くアニメ */
.location-img {
  position: absolute;
  top: 60%;
  max-width: 200px;
  right: 5%;
  transform: rotate(-5deg);
  animation: locImg 4s;
  animation-iteration-count: infinite;
}
@keyframes locImg
{
  from{transform: rotate(-5deg); }
  50%{ transform: rotate(5deg); }
  to{ transform: rotate(-5deg); }
}

/* メインロゴ */
.logo-img {
  /* top:720px; */
  top: 100%;
  max-width: 600px;
  width: 60%;
}
.logo-img:hover {
  opacity: 0.8;
}
/* メニュー周り */
.menu {
  margin-bottom: 30px;
}
.menu-button {
  position: relative;
  margin-left: -20px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}
.menu-icon{
  position: relative;
  width: 140px;
  border-right: dashed 1px #ccc;
  text-align: center;
}
.menu-icon:hover p{
  transform: scale(1.1);
}
.menu-icon img {
  opacity: 0.6;
  width: 50%;
}
.menu-icon p {
  position: absolute;
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 3rem;
  top: 5px;
  width: 100%;
}
/*　ネット販売サイトへ飛ぶボタン */
.buy_button {
  margin-left: 30px;
  border-radius: 10px;
  padding: 10px 15px;
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 2.4rem;
  background-color: var(--myAccentColor2);
  border: solid 3px var(--myAccentColor2);
  box-shadow: 0px 5px 0px rgb(119, 69, 28);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}
.buy_button:hover, .buy_button:visited:hover {
  background-color: white;
  color: var(--myAccentColor2);
}
.buy_button:visited {
  color: white;
}
.buy_button:active {
  box-shadow: none;
  transform: translateY(5px);
}
.buy_button img{
  width: 20%;
}
.menu-cart-button::before {
  padding-right: 10px;
}
.facebook, .facebook:visited {
  display: inline-block;
  margin-left: 10px;
  margin-top: 10px;
  padding: 0px 15px;
  font-size: 1.6rem;
  line-height: 2.6rem;
  background-color: #3B5998;
  border: solid 3px #3B5998;
  border-radius: 10px;
  box-shadow: 0px 5px 0px rgb(21, 26, 75);
  color: white;
  transition: 0.3s;
}
.menu-fb-button {
  margin-right:10px;
}
.facebook:hover {
  color: #3B5998;
  background-color: white;
}
.facebook:active{
  box-shadow: none;
  transform: translateY(5px);
}
.model-banner {
  display: block;
  margin: auto;
  margin-bottom: 100px;

}
.model-banner img{
  width: 100%;
  border-radius: 10px;
}
.model-banner:hover {
  opacity: 0.8;
}

/* はじめのご挨拶 */
.first {
  position: relative;
  background-color: var(--myAccentColor);
  /* height: 250px; */
  color: white;
  padding-top: 40px;
  padding-bottom: 40px;
  margin-bottom: 100px;
}

.first-back {
  display: block;
  position: absolute;
  width: 19%;
  bottom: 35px;
  transform: rotate(-15deg);
}
.first-pic {
  display: block;
  position: absolute;
  width: 20%;
  max-width: 300px;
  transform: rotate(-3deg);
  bottom: -10px;
}
.first h2 {
  text-align: right;
  font-size: 2.4rem;
  border-bottom: solid 10px rgb(250, 248, 54);
  margin-left: 45%;
}
.first-text {
  position: relative;
  text-align: right;
  padding-top: 20px;
  font-size: 1.8rem;
  line-height: 3.5rem;
}
/* お知らせ */
.info-contents {
  background-color: white;
  height: 300px;
  box-sizing: border-box;
  border-radius: 50px;
  margin-top: 30px;
  margin-bottom: 150px;
  padding: 30px 50px;
  overflow-y: scroll;
}
.info-row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: dotted 1px rgb(223, 223, 223);
  color: var(--myFontColor);
  font-size: 1.8rem;
}
.info-desc {
  width: 100%;
  margin-bottom: 5px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.info-date {
  margin-right: 15px;
}
.info-category {
  margin-right: 10px;
  border: 1px solid var(--myFontColor);
  border-radius: 100px;
  padding: 0 10px;
  font-size: 80%;
}
.info-img {
  width: 150px;
  height: 82.25px;
  object-fit: contain;
  margin-right: 15px;
  box-sizing: border-box;
}
.info-text {
  width: 80%;
}
.info-text a {
  border-bottom: dashed 1px var(--myFontColor);
}
/* .press {
  color: var(--myAccentColor2);
} */
.media {
  color: var(--myAccentColor2);
  border-color: var(--myAccentColor2);
}
/* 各見出し */
.title {
  padding-top: 30px;
  margin-top: -30px;
  text-align: center;
  font-size: 3rem;
  color: var(--myFontColor);
  line-height: 3rem;
}
.title-eng {
  display: block;
  font-weight: 400;
  font-size: 2.4rem;
  margin-bottom: 10px;
}
.title img {
  width: 50px;
  margin-bottom: 15px;
}
/* 事業内容 */
/* 各サービスのデザイン */
.service-wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 50px auto 150px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.service-contents {
  position: relative;
  width: 45%;
  height: 400px;
}
.service-contents:hover {
  transform: scale(1.1);
}
.service-contents img { width: 100%; }

.service-leaf {
  position: absolute;
  width: 100%;
  max-width: 300px;
  height: auto;
}
.service-leaf a{
  display: block;
  height: 100%;
}
.left-leaf {
  right: -10px;
  bottom: 0px;
}
.right-leaf {
  left: -10px;
  bottom: 0px;
}
.leaf-sub {
  position: absolute;
  width: 100%;
  top: 20%;
  left: 0;
  right: 0;
  text-align: center;
}
.sub-right {
  left: -10px;
}
.leaf-sub h4 {
  color: white;
  font-size: 2.4rem;
  text-shadow: 1px 1px 0px var(--myShadowColor);
}
.leaf-sub p {
  font-size: 1.4rem;
  line-height: 2rem;
}

/* 会社概要 */
.company-table {
  min-width: 50%;
  margin-bottom: 10px;
  border-style: none;
  color: var(--myFontColor);
}
.company-table th, .company-table td{
  text-align: left;
  padding-top: 20px;
  font-size: 1.6rem;
  border-bottom-style: dashed;
  border-left-style: none;
  border-right-style: none;
  border-top-style: none;
}
.company-table th {
  padding-right: 15px;
}
.company-map iframe{
  width: 450px;
  height: 100%;
  border-radius: 20px;
}
.service-anime {
  opacity : 0;
  transition: 1s;
  transform: scale(0.8);
}
.anime-section {
  opacity : 0;
  transition: 2s;
  transform: translateY(20px);
}
