html 
{
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #1A1A1A;
  background-color: #1A1A1A;
  
}

p
{
  padding: 0.5rem;
  margin: 0;
  text-align: center;

}

th
{
  text-align: center;
  padding-right: 1rem;
}

td
{
  text-align: left;
}


h2
{
  padding: 0;
  margin: 0;
}

a
{
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  text-decoration: none;
  color: #1A1A1A;
}

img
{
  display: block;
  margin: 0;
  padding: 0;
}

body
{
  margin: 0;
  padding: 0;
}

header
{
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  background-color:rgb(38,38,38,85%);
  width: 100%;
  height: 3rem;
  padding: 0;
  margin: 0;
  transition: opacity 0.5s ease;
  z-index: 1000;
}

header a:hover,.navi_item:hover
{
  opacity: 0.5;
}
h1 img
{
  padding: 0;
  margin: 0;
  height: 2rem;
  margin-left: 2rem;
}

.section-tittle,.subpage-tittle
{
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 3rem;
  text-align: center;
  margin: 0;
  padding: 0;
  line-height: 1
}

.sub-tittle
{
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  text-align: center;
  line-height: 1;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.chapter-tittle
{
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.25em 0.5em;/*上下 左右の余白*/
  background: transparent;/*背景透明に*/
  border-left: solid 5px #4E3629
;
  margin-left: 1rem;
}

.title-center
{
  width: 100%;
  text-align: center;
}
.link-button-preset
{
  text-align: center;
}
.link-button-preset a
{
  display: inline-block;
  padding: 0.5rem 1rem 0.5rem 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  background-color: #4E3629;
  color: #FFFFFF;
  transition: background-color 0.3s ease;
}

.link-button-preset a:hover
{
  color: #4E3629;
  background-color: transparent;
}

a.navigation-item-pc,a.navigation-item-sp
{
  color: #d7d7d9;
  display: flex;
  text-align: center;
  align-items: center;
  gap: 0.5rem;
}

a.navigation-item-pc:hover,a.navigation-item-sp:hover
{
  opacity: 0.5;
}

.navigation-container-pc
{
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-right: 2rem;
}

.navigation-container-sp
{
  display: none;
}

.hero-image
{
  padding-top: 3rem;
  width: 100%;
}
.hero-image img
{
  width: 100%;
  object-fit: cover;
  height: auto;
}

.hero-image-tab,.hero-image-sp
{
  display: none;
}

.background-preset
{
  margin: 0 auto;
  padding: 0.5rem;
  margin: 0;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.about-container
{
  background-color: #FFFFFF;
}

.about-text
{
  width: 600px;
  max-width: 80%;
  margin: 0 auto;
  margin-top: 0.5rem;
}

.works-container
{

  background-color:#F5F3EE;
}

.works-flex-container
{
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 2rem;
}

.works-item
{
  width: 600px;
}

.works-item img
{
  width: 70%;
  height: auto;
  margin: 0 auto;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.works-text
{
  width: 80%;
  margin: 0 auto;
}

.contact-container
{
  background-color:#EAE7E1;
  align-items: center;
  text-align: center;
}

.news-container
{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  justify-items: center;
  padding: 0;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
  background-color:#F5F3EE;
}

.new-topic
{
  color: red;
}

.footer-navigation-container
{
  width: 100%;
  background-color:  #2C2C2C;
  margin: 0 auto;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  gap: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sns-navigation img
{
  width: 125px;
  height: auto;
  margin-bottom: 0.5rem;
}

.footer-navi
{
  margin: 0 auto;
}

.sns-navigation
{
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0 auto;
  margin-top: 1rem;
}

.sns-navigation a
{
    transition: opacity 0.5s ease;
}

.footer-navi a
{
  display: block;
  color: #E2E2E2;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
  transition: opacity 0.5s ease;
}

.footer-navi
{
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.footer-navi a:hover,.sns-navigation a:hover
{
  opacity: 0.5;
}

footer
{
  background-color:black;
  width: 100%;
  height: 100px;
  color: #E2E2E2;
  align-content: center;
}


@media (max-width: 768px)
{
  html {
    font-size: 14px; /* タブレット */
  }

  .hero-image-tab
  {
    display: block;
  }

  .hero-image-pc,.hero-image-sp
  {
    display: none;
  }


  header
  {
    justify-content: center;
    margin: 0 auto;
  }
  .navigation-container-pc
  {
    display: none;
  }

  .navigation-container-sp
  {
    display: flex;
    width: 100%;
    background-color:rgb(38,38,38,85%);
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    height: 3rem;
    align-content: center;
    margin: 0 auto;
    padding-bottom: 20px;
  }

  .navigation-item-sp img
  {
    width: 1.5rem;
    height: 1.5rem;
  }

  .navigation-item-sp
  {
    margin: auto;
  }

  .hero-image-tab
  {
    display: block;
  }

  .hero-image-pc,.hero-image-sp
  {
    display: none;
  }


}

@media (max-width: 480px)
{

  html
  {
    font-size: 12px;
  }

  .hero-image-sp
  {
    display: block;
  }

  .hero-image-tab,.hero-image-pc
  {
    display: none;
  }

  .sns-navigation
{
  flex-direction: column;
}

}