@charset "UTF-8";
/* フォント */
// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 200 to 900

.noto-serif-jp-<uniquifier> {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
// <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 100 to 900

.noto-sans-jp-<uniquifier> {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
/* 共通部分 */
:root{
  --black:#242424;
  --white:#fff;
  --gray:#b3b3b3;
  --textcolor:#333333;
}
*,::before,::after{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  font-family:"Noto Serif JP", serif;
  line-height:1.7;
  color: var(--textcolor);
  background:url("../image/background2.jpg");
  background-repeat: repeat;
  background-position: center;
  background-size: cover;
  background-color:rgba(244, 245, 255, 0.3);
  background-blend-mode:lighten;
}
img {
  max-width:100%;
  height: auto;
}
a {
  color: var(--graycolor);
  text-decoration-line: none;
  display: block;
  font-family: "Zen Maru Gothic", serif;
  font-weight: 500;
  font-style: normal;
  text-align: center;
}

.top_button>li:nth-child(5){
  background-color: var(--black);
  color: var(--white);
  /* transform: translateY(1.5px);
  box-shadow: none; */
}
.top_button > li:nth-child(5):before{
  border-left: 1.5em solid var(--white);
}

/* 会社情報 */
h3{
  display: flex;
  align-items: center;
  width: 100%;
  margin:4% 0;
  font-size: clamp(14px,2.5vw,32px);
  font-weight: 800;
}
#area_all>h3{
  margin-top: 8%;
}
h3::after{
  content: "";
  display: block;
  background: var(--black);
  width: 20%;
  height: 1px;
  flex-grow: 1;
  margin-left: 1em;
}

#number{
  display: flex;
  flex-direction: column;
}
.number_wrap{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 3%;
  grid-row-gap: 2%;
  grid-column: 1/3;
}
.number_item{
  background-color: var(--white);
  border: 1px solid #333;
  box-shadow: 0px 4px 3px rgba(0, 0, 0, 0.25);
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.number_item:nth-child(3) {
  grid-column-start: 1;
  grid-column-end: 3;
}

.area_kakuchi{
  margin: 4% 0;
}
.area_kakuchi>h4{
  letter-spacing: .1em;
  text-decoration: underline; 
  text-decoration-thickness: 0.5em; 
  text-decoration-color: #b3b3b371; 
  text-underline-offset: -0.2em; 
  text-decoration-skip-ink: none; 
  padding-bottom: .2em;
  font-size: clamp(12px,2vw,24px);
}
.area_wrap{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

.area_kyoten {
  position: relative; /* オーバーレイを中央に配置するために必要 */
  width: 49%;
  display: flex;
  background-color: var(--white);
  border: 1px solid #333;
  box-shadow: 0px 4px 3px rgba(0, 0, 0, 0.25);
  margin: 1% 0;
  padding: 2% 1.5%;
  cursor: pointer;
  overflow: hidden; /* オーバーレイがはみ出さないようにする */
  transition-duration: .4s;
}

.area_kyoten::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 半透明の黒いオーバーレイ */
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.area_kyoten:hover::before {
  opacity: 1;
}

.area_kyoten:hover .area_text {
  position: relative;
  z-index: 2;
}

.area_kyoten:hover::after {
  content: "Googleマップを見る ▶";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  font-size: clamp(12px,1.75vw,20px);
  z-index: 2;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
}


.area_kyoten:nth-child(odd){
  margin-right: 1%;
}
.area_kyoten:nth-child(even){
  margin-left: 1%;
}
.area_image{
  width: 40%;
  display: flex;
  align-items: center;
}
.area_text{
  width: 55%;
  margin-left: 3%;
  font-family: "Noto Serif JP", serif;
  text-align: justify;
  color: var(--black);
}
.area_text>h5{
  font-size: clamp(8px,1.5vw,20px);
}
.area_text>p{
  font-size: clamp(8px,1.25vw,18px);
}
.toriatsukai_parts{
  margin: 2% 0;
  background-color: var(--white);
  border: 1px solid #333;
  box-shadow: 0px 4px 3px rgba(0, 0, 0, 0.25);
  margin: 5% 0;
  padding: 2% 1.5% 2% 2.75%;
}
.toriatsukai_parts>h4{
  padding-bottom: 1.5%;
  font-size: clamp(8px,1.5vw,20px)
}
.toriatsukai_nakami{
  width: 100%;
  display: flex;
}
.toriatsukai_nakami>div{
  width: 30%;
  max-width: 350px;
}
.toriatsukai_nakami>p{
  width: 60%;
  margin-left: 5%;
  font-size: clamp(8px,1.25vw,18px);
}
.toriatsukai_big{
  font-weight: 800;
}

/* タブレット・モバイル */
@media(max-width:600px){
  .area_kyoten{
    flex-direction: column;
  }
  .area_image{
    width: 100%;
  }
  .area_text{
    order: -1;
    margin-left: 0;
    margin-bottom: 2%;
    width: 100%;
  }
  .toriatsukai_all{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2%;
    justify-content: ;
    width: 100%;
  }
  .toriatsukai_nakami>div{
    width: 100%;
  }
  .toriatsukai_nakami>p{
    width: 100%;
    margin: 0;
  }
  .toriatsukai_nakami{
    margin-bottom: 3%;
    flex-direction:column;
  }

}