@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;500;700;900&family=Sora:wght@400;700&display=swap");

:root {
  --primary: #0d6efd;
  --dark: #21252f;
  --body: #888;
  /* --orange: rgb(221, 155, 94); */
  --box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

body {
  font-family: "sora", serif;
  line-height: 1.7;
  color: var(--dark);
  font-size: 17.5px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-4 {
  color: var(--dark);
  font-weight: 400;
}

a {
  color: var(--dark);
  text-decoration: none;
}

img {
  width: 100%;
}

.navbar {
  box-shadow: var(--box-shadow);
  
}
 /* --toggler: rgb(225, 255, 255,1); modify*/ 
.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(51, 51, 51, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.logo {
  width: 160px;
}

.navbar .nav-link {
  font-size: 14px;
  font-weight: 600;
}

.navbar .nav-link {
  color: #000 !important;
}

.btn {
  padding: 14px 18px;
  border-width: 2px;
  border-radius: 0;
}

.hero {
  background-image: url(./img/cover_am01.jpg);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  z-index: 4;
  
}

.hero::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(37, 39, 71, 0.4); 
   z-index: -1;
}

.hero2 {
  background-image: url(./img/cover_am02.jpg);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  z-index: 4;
  
}

.hero2::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(37, 39, 71, 0.3); 
   z-index: -1;
}


.hero3 {
  background-image: url(./img/cover_am03.jpg);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  z-index: 4;
  
}

.hero3::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(37, 39, 71, 0.4); 
   z-index: -1;
}



/* fade-in  */ 
.fade-in-bottom {
  opacity: 0;
  animation-name: fadein-bottom;
  animation-duration: 3.0s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}
@keyframes fadein-bottom {
  0% {
     opacity: 0;
     transform: translateY(20px);
  }
  100% {
     opacity: 3;
     transform: translateY(0);
  }
}


/* layout */

section {
  padding-top: 120px;
  padding-bottom: 100px;
}

.card-effect {
  box-shadow: var(--box-shadow);
  background-color: #fff;
  padding: 25px;
  transition: all 0.35s ease;
}

.card-effect:hover {
  box-shadow: none;
  transform: translateY(5px);
}

.iconbox {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: white;
  font-size: 32px;
  border-radius: 100px;
  flex: none;
}

.service {
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.service::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  background-color: var(--primary);
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0;
  transition: all 0.4s ease;
}

.service:hover h5,
.service:hover p {
  color: white;
}

.service:hover h4,
.service:hover p {
  color: white;
}

.service:hover .iconbox {
  background-color: #fff;
  color: var(--primary);
}

.service:hover::after {
  opacity: 1;
  top: 0;
}

/* features section */
.col-img {
  background-image: url(./img/cover1.jpg);
  background-position: center;
  background-size: cover; /* しそ巻き梅漬け */
  min-height: 500px;
}

.col-img2 {
  background-image: url(./img/cover2.jpg);
  background-position: center;
  background-size: cover; /* 〆にしん漬け */
  min-height: 500px;
}

.col-img3 {
  background-image: url(./img/cover3.jpg);
  background-position: center;
  background-size: cover; /* なんばん味噌。 */
  min-height: 500px;
}

.col-img4 {
  background-image: url(./img/cover4.jpg);
  background-position: center;
  background-size: cover; /* 赤あぶ漬け。 */
  min-height: 500px;
}

.col-img5 {
  background-image: url(./img/cover5.jpg);
  background-position: center;
  background-size: cover; /* わらびたまり */
  min-height: 500px;
}

.col-img6 {
  background-image: url(./img/cover6.jpg);
  background-position: center;
  background-size: cover; /* 白菜漬け */
  min-height: 500px;
}


.col-img10 {
  background-image: url(./img/cover10.jpg);
  background-position: center;
  background-size: cover; /* 山菜漬け */
  min-height: 500px;
}

.col-img11 {
  background-image: url(./img/cover11.jpg);
  background-position: center;
  background-size: cover; /* その他漬物 */
  min-height: 500px;
}

.project {
  position: relative;
  overflow: hidden;
}

.project .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(37, 39, 71, 0.7);
  padding: 30px;
  display: flex;
  align-items: flex-end;
  transition: all 0.4s ease;
  opacity: 0;
 }

.project img {
  transition: all 0.4s ease;
}

.project:hover .overlay {
  opacity: 1;
}

.project:hover img {
  transform: scale(1.1);
}

.team-member img {
  width: 125px;
  height: 125px;
  border-radius: 100px;
}



.social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons a {
  width: 34px;
  height: 34px;
  background-color: var(--primary);
  border: 2px solid var(--primary);
  color: #fff;
  /* iのアイコンをaの中で中央揃えしてるみたい。
  １つの要素に対して中央に寄せるときに親要素に
  flexを付ける場合もある。 */
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  margin-left: 5px;
  transition: all 0.4s ease;
}

.social-icons a:hover {
  color: var(--primary);
  background-color: transparent;
}

form input.form-control {
  height: 56px;
}

form .form-control {
  border: transparent;
  border-radius: 0;
 
}



.footer-top {
  padding-bottom: 90px;
  padding: 90px;
  background-color: var(--success);
}

.footer-top a {
  color: var(--body);
}

.footer-top a:hover {
  color: #fff;
}

#iburininjin{
  padding-top: 60px;
  margin-top: -60px
}

#hanazushi{
  padding-top: 60px;
  margin-top: -60px
}

#nataduke{
  padding-top: 60px;
  margin-top: -60px
}

#sansaiduke{
  padding-top: 60px;
  margin-top: -60px
}

#other{
  padding-top: 60px;
  margin-top: -60px
}

#features1{
  padding-top: 100px;
  margin-top: -100px
}
