@charset "UTF-8";

/*
Theme Name:
Theme URI:
Author:			O-GOE
*/

@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho+B1&display=swap');

/* --------------------------------------------------------------------------------
	main
-------------------------------------------------------------------------------- */
main{
  width: 100%;
  position: relative;
  padding-top: 120px;
}
.breadcrumb__wrap{
  max-width: 1728px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 2%;
  box-sizing: content-box;
}
.breadcrumb__cntbox{
  width: 100%;
}
.breadcrumb__cntbox a{
  color: #999;
  font-weight: bold;
  line-height: 1em;
}
.breadcrumb__cntbox a:hover{
  opacity: 0.5;
}
.breadcrumb__cntbox span{
  padding: 0 1em;
  color: var(--color-or1);
}
.mainmenu__wrap{
  width: 100%;
  margin-top: 8%;
}
.mainmenu__wrap{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.main__ttlbox{
  width: 20%;
}
.main__ttlbox h2{
  font-size: 2.4rem;
  line-height: 1em;
  font-weight: bold;
}
.main__ttlbox h3{
  font-size: 11rem;
  line-height: 1em;
  font-family: 'Teko', sans-serif;
  color: var(--color-or1);
  margin-top: 10px;
}
.main__menubox{
  width: 78%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding-bottom: 28px;
}
.main__menubox ul{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}
.main__menubox ul li{
  width: 150px;
  border-bottom: 2px solid #333;
}
.main__menubox ul li a{
  width: 150px;
  display: block;
  padding-bottom: 8px;
  position: relative;
}
.main__menubox ul li a::before{
  position: absolute;
  bottom: 8px;
  right: 0;
  font-family: 'Font Awesome 6 Free';
	content: '\f107';
  font-size: 1.6rem;
  line-height: 1em;
  font-weight: 900;
  color: var(--color-or1);
  transition: 0.5s;
}
.main__menubox ul li a:hover{
  opacity: 0.5;
}
.mainmenu__no{
  line-height: 1em;
  font-family: 'Teko', sans-serif;
  color: var(--color-or1);
}
.mainmenu__txt{
  line-height: 1em;
  font-weight: bold;
  color: #333;
  margin-top: 3px;
}
.main__imgbox{
  width: 100%;
  height: 60vh;
  background: url(../images/about/about-topimg.jpg) no-repeat;
  background-position: bottom;
  background-size: cover;
  margin-top: 2%;
  border-radius: 10px;
}
/* --------------------------------------------------------------------------------
	共栄商会とは
-------------------------------------------------------------------------------- */
.about__ttlwrap{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.about__ttlbox{
  width: 35%;
}
.about__catchwrap{
  width: 60%;
}
.about__catchbox{
  width: 100%;
  font-size: 2.5rem;
  line-height: 1.5em;
  color: var(--color-or1);
  font-weight: 900;
}
.about__txtbox{
  width: 100%;
  line-height: 1.8em;
  margin-top: 25px;
}
.about__listitem{
  width: 100%;
  background-color: rgba(234, 108, 0, 0.1);
  padding: 50px 10% 30px 10%;
  position: relative;
  margin-top: calc(5% + 25px);
  border-radius: 10px;
}
.about__listttl{
  width: 200px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1em;
  background-color: var(--color-or1);
  color: #fff;
  border-radius: 10px;
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}
.about__listitem ul{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 15px 1em;
}
.about__listitem ul li::before{
  content: '●';
  color: var(--color-or1);
}
.about__cntbox{
  width: 100%;
  margin-top: 5%;
}
.about__imgbox{
  width: 100%;
  height: 230px;
  margin-top: 5%;
}
.about__imgbox img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* --------------------------------------------------------------------------------
	代表挨拶
-------------------------------------------------------------------------------- */
.msg__mainbox{
  width: 100%;
  height: 60vh;
  background: url(../images/about/msg-president.jpg) no-repeat;
  background-position: center;
  background-size: cover;
  margin-top: 2.5%;
}
.msg__maincnt{
  width: 100%;
  height: 60vh;
  position: relative;
}
.msg__catch{
  font-size: 3rem;
  line-height: 2em;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 30%;
}
.msg__name{
  font-weight: bold;
  position: absolute;
  left: 0;
  bottom: 10%;
}
.msg__name span{
  font-size: 3rem;
  margin-left: 1em;
}
.msg__cntbox{
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5%;
}
.msg__catchtxt{
  width: 100%;
  font-size: 2.5rem;
  line-height: 1.5em;
  color: var(--color-or1);
  font-weight: bold;
}
.msg__cnttxt{
  width: 100%;
  line-height: 2em;
  margin-top: 1.5%;
}
/* --------------------------------------------------------------------------------
	経営理念
-------------------------------------------------------------------------------- */
.phil__cntbox{
  width: 100%;
  font-size: 3.5rem;
  line-height: 1.8em;
  text-align: center;
  font-family: 'Shippori Mincho B1', serif;
  margin-top: 3%;
}
.phil__imgwrap{
  width: 100%;
  background: linear-gradient(180deg, #fff 0%, #fff 45%, #eee 45%, #eee 100%);
  margin-top: 5%;
  padding-bottom: 5%;
}
.phil__imgbox{
  width: 100%;
  height: 400px;
}
.phil__imgbox img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
/* --------------------------------------------------------------------------------
	会社概要
-------------------------------------------------------------------------------- */
.cp__ttlbox{
  width: 30%;
}
.cp__cntwrap{
  width: 70%;
  background-color: #fff;
}
.cp__cntwrap ul{
  width: 100%;
}
.cp__cntwrap ul li{
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.cp__cnt_l{
  width: 20%;
  text-align: center;
  padding: 15px 0;
  line-height: 1.8em;
  border-bottom: 3px solid var(--color-or1);
  font-weight: bold;
}
.cp__cnt_r{
  width: 80%;
  padding: 15px 10px;
  line-height: 1.8em;
  border-bottom: 3px solid #333;
}
.cp__cnt_r span{
  margin-right: 1em;
}
.cp__cnt_r a{
  color: var(--color-or1);
  text-decoration: underline;
}
.cp__cnt_r a:hover{
  opacity: 0.5;
}
.cp__cnt_r a i{
  margin-left: 0.5em;
}
.cp__cntwrap ul li:first-child .cp__cnt_l{
  border-top: 3px solid var(--color-or1);
}
.cp__cntwrap ul li:first-child .cp__cnt_r{
  border-top: 3px solid #333;
}
/* --------------------------------------------------------------------------------
	沿革
-------------------------------------------------------------------------------- */
.hist__cntwrap{
  width: 70%;
}
.hist__cntwrap ul{
  width: 100%;
}
.hist__cntwrap ul li{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 3%;
}
.hist__year{
  width: 15%;
  text-align: center;
  line-height: 1em;
  font-family: 'Teko', sans-serif;
  font-size: 2rem;
  color: #fff;
}
.hist__year p{
  padding: 5px 0 2px 0;
  background-color: var(--color-or1);
  border-radius: 50px;
}
.hist__cnt{
  width: 80%;
  line-height: 1.8em;
}

@media screen and (min-width: 835px) and (max-width: 1365px) {
  main{
    padding-top: 100px;
  }
  .main__menubox ul li{
    width: 120px;
  }
  .main__menubox ul li a{
    width: 120px;
  }
}
@media screen and (min-width: 0px) and (max-width: 834px) {
  /* --------------------------------------------------------------------------------
  	main
  -------------------------------------------------------------------------------- */
  main{
    padding-top: 70px;
  }
  .mainmenu__wrap{
    width: 100%;
    margin-top: 15%;
  }
  .main__ttlbox{
    width: 100%;
  }
  .main__ttlbox h2{
    font-size: 2rem;
  }
  .main__ttlbox h3{
    font-size: 8rem;
    margin-top: 10px;
  }
  .main__menubox{
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 8%;
    padding-bottom: 0;
  }
  .main__menubox ul{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px 0;
  }
  .main__menubox ul li{
    width: 45%;
  }
  .main__menubox ul li a{
    width: 100%;
  }
  .main__imgbox{
    width: 100%;
    height: 230px;
    margin-top: 10%;
  }
  /* --------------------------------------------------------------------------------
  	共栄商会とは
  -------------------------------------------------------------------------------- */
  .about__ttlwrap{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .about__ttlbox{
    width: 100%;
  }
  .about__catchwrap{
    width: 100%;
    margin-top: 8%;
  }
  .about__catchbox{
    width: 100%;
    font-size: 2rem;
  }
  .about__txtbox{
    width: 100%;
    line-height: 1.8em;
    margin-top: 15px;
  }
  .about__listitem{
    width: 100%;
    background-color: rgba(234, 108, 0, 0.1);
    padding: 40px 5% 20px 5%;
    position: relative;
    margin-top: calc(10% + 18px);
  }
  .about__listttl{
    width: 150px;
    height: 36px;
    font-size: 2rem;
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  }
  .about__listitem ul{
    width: 100%;
    gap: 10px 1em;
  }
  .about__cntbox{
    width: 100%;
    margin-top: 8%;
  }
  .about__imgbox{
    width: 100%;
    height: 150px;
    margin-top: 8%;
  }
  .about__imgbox img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* --------------------------------------------------------------------------------
  	代表挨拶
  -------------------------------------------------------------------------------- */
  .msg__mainbox{
    width: 100%;
    height: 300px;
    margin-top: 8%;
    background: url(../images/about/msg-president_sp.jpg) no-repeat;
    background-position: top;
    background-size: cover;
  }
  .msg__maincnt{
    width: 100%;
    height: 500px;
    position: relative;
  }
  .msg__catch{
    width: 100%;
    font-size: 2rem;
    text-align: center;
    position: absolute;
    top: 330px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  }
  .msg__name{
    width: 100%;
    font-weight: bold;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  }
  .msg__name span{
    font-size: 2rem;
  }
  .msg__cntbox{
    width: 100%;
    margin-top: 10%;
  }
  .msg__cntbox:first-of-type{
    margin-top: calc(10% + 200px);
  }
  .msg__catchtxt{
    font-size: 1.8rem;
  }
  .msg__cnttxt{
    line-height: 2em;
    margin-top: 3%;
  }
  /* --------------------------------------------------------------------------------
  	経営理念
  -------------------------------------------------------------------------------- */
  .phil__cntbox{
    width: 100%;
    font-size: 2.5rem;
    margin-top: 10%;
  }
  .phil__imgwrap{
    width: 100%;
    background: linear-gradient(180deg, #fff 0%, #fff 35%, #eee 35%, #eee 100%);
    margin-top: 12%;
    padding-bottom: 15%;
  }
  .phil__imgbox{
    width: 100%;
    height: 150px;
  }
  /* --------------------------------------------------------------------------------
  	会社概要
  -------------------------------------------------------------------------------- */
  .cp__ttlbox{
    width: 100%;
  }
  .cp__cntwrap{
    width: 100%;
    margin-top: 8%;
  }
  .cp__cnt_l{
    width: 5em;
    line-height: 1.5em;
  }
  .cp__cnt_r{
    width: calc(100% - 5em);
    line-height: 1.5em;
  }
  .cp__cnt_r span{
    margin-right: 0;
  }
  /* --------------------------------------------------------------------------------
  	沿革
  -------------------------------------------------------------------------------- */
  .hist__cntwrap{
    width: 100%;
    margin-top: 10%;
  }
  .hist__cntwrap ul li{
    width: 100%;
    margin-top: 5%;
  }
  .hist__year{
    width: 30%;
  }
  .hist__year p{
    padding: 5px 0 2px 0;
    background-color: var(--color-or1);
    border-radius: 50px;
  }
  .hist__cnt{
    width: 100%;
    line-height: 1.5em;
    margin-top: 2%;
  }

}
