@charset "utf-8";

.main{
  margin-bottom:0;
}

.arrow-btn.bottom{
  margin:0;
}

/* 下向き矢印 */
.arrow-btn.bottom .arrow-btn__arrow {
  transform: translate(-50%, -50%) rotate(90deg);
}


.arrow-btn.bottom:hover .arrow-btn__arrow {
  transform: translate(-50%, -50%) rotate(90deg);
}


.lower-anker{
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 4rem;
  justify-content: center;
}

.philosophy,
.concept,
.brand,
.greeting,
.info{
  padding-top:7.5rem;
}

.philosophy img{
  aspect-ratio:1345/426;
  object-fit: cover;
}

.philosophy-txt{
  margin-top:3rem;
  writing-mode: vertical-rl;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5%;
  font-size:clamp(0.875rem, 0.792rem + 0.28vw, 1.125rem);
}

.philosophy-txt h3{
  font-weight:bold;
  line-height: 2;
  letter-spacing: 10px;
  font-size:clamp(1.25rem, 1rem + 0.83vw, 2rem);
}

.concept-wrap{
  display:flex;
  justify-content: space-around;
  align-items: flex-start;
}

.concept-item{
  position:relative;
  width:47.5%;
  text-align:center;
  max-width:480px;
}

.concept-item > *{
  position:relative;
  z-index:10;
}

.concept-item::before{
  content:"";
  position: absolute;
  aspect-ratio:1/1;
  z-index:1;
  width:130%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background:url(https://nagomi-aichi.jp/system_panel/uploads/images/20261008201610770155.png) no-repeat center/contain;
}

.concept-item:last-child::before{
  background:url(https://nagomi-aichi.jp/system_panel/uploads/images/20261008201610340819.png) no-repeat center/contain;
}

.concept-item h3{
  font-size:clamp(1.125rem, 1rem + 0.42vw, 1.5rem);
  margin:0px 0 1.5rem;
}

.concept-item img{
  aspect-ratio:484/237;
  object-fit: cover;
  margin-bottom:1.5rem;
}

.concept-item img + p{
  text-align:left;
  padding-bottom:2rem;
  border-bottom:1px solid #000000;
}


.brand .concept-wrap{
  justify-content: space-between;
  align-items: stretch;
}

.brand .concept-item{
  width:30%;
  border:1px solid #626262;
  padding:1rem;
  text-align:left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brand .concept-item img{
  aspect-ratio:1/1;
}

body:has(.greeting) .brand .concept-item::before{
  display:none;
}

.brand .concept-item h3{
  font-size:clamp(2.5rem, 2.083rem + 1.39vw, 3.75rem);
  line-height: 1;
  margin-bottom:8px;
}

.brand .concept-item h3 strong{
  display: block;
  margin-bottom:8px;
  font-weight:400;
  font-size:clamp(0.875rem, 0.75rem + 0.42vw, 1.25rem);
}

.brand .concept-item h3 + p{
  font-size:clamp(0.75rem, 0.708rem + 0.14vw, 0.875rem);
  color:#626262;
  margin-bottom:1.5rem;
}

.brand .concept-item .arrow-btn{
  margin:2rem auto 0;
}

.greeting-wrap{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 4rem;
  border-bottom: 1px solid;
}

.greeting-wrap > img{
  width:32%;
}

.greeting-txt{
  width:100%;
}

.greeting-name{
  margin-bottom:2rem;
}

.greeting-name p:nth-child(2){
  font-size:clamp(1.25rem, 1rem + 0.83vw, 2rem);
  line-height: 1;
  margin: 4px 0;
}

.greeting-name p:nth-child(3){
  font-size:14px;
  color:#626262;
}

.greeting-txt h3{
  font-size:clamp(1rem, 0.917rem + 0.28vw, 1.25rem);
  margin-bottom:20px;
  font-weight:bold;
}

.info-wrap{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom:5rem;
}

.info-item{
  width:47.5%;
}

.info{
  margin-bottom:10rem;
}

.info h3{
  font-size:18px;
  margin-bottom:1rem;
  font-weight:500;
}

.info-list{
  display: flex;
  padding: 20px 0;
  border-bottom: 1px solid;
}

.info-list p:first-child{
  width:30%;
}

.info-list p:last-child{
  width:70%;
  padding-left:1rem;
}

.info-bottom{
  display: flex;
  gap:8px;
}

.info-bottom img{
  width:calc((100% - 1rem ) / 3 );
  aspect-ratio: 442 / 300;
  object-fit: cover;
}

.news{
  padding:5rem 0;
  background: url(https://nagomi-aichi.jp/system_panel/uploads/images/20261007184935991885.png) no-repeat center / cover;
}

.news-right {
  width: calc(100% - 250px);
}


@media screen and (max-width: 1400px) {
  .concept-wrap{
    justify-content: space-between;
  }
  .concept-item::before{
    width:115%;
  }
}

@media screen and (max-width: 1279px) {
  .news-contents{
    gap: 3rem;
  }
  .news-left,
  .news-right{
    width:100%;
  }
  .news-left .lower-title {
    margin-bottom: 1rem;
  }
  .news-left .arrow-btn{
    margin: 0rem 0 0 auto;
  }
  .brand .concept-wrap{
    flex-wrap: wrap;
    gap: 3rem 5%;
    justify-content: center;
  }
  .brand .concept-item{
    width:47.5%;
  }
}


@media screen and (max-width: 1024px) {
  .info-wrap{
    flex-direction: column;
    gap: 3rem;
  }
  .info-item {
    width: 100%;
  }
  .lower-anker{
    gap: 2rem 2rem;
    justify-content: flex-start;
    max-width: 600px;
    margin: 0 auto 0 10%;
  }
  .concept .concept-wrap{
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
  }
  .greeting-wrap{
    flex-direction: column;
    gap: 2.5rem;
  }
  .greeting-wrap > img {
    width: 100%;
    max-width: 400px;
  }
  .greeting-txt{
    width: 100%;
  }
  .concept-item{
    width:100%;
  }
  .info-list p:first-child {
    width: 25%;
  }
  .info-list p:last-child {
    width: 75%;
  }
}


@media screen and (max-width: 767px) {
  .lower-anker {
    gap: 1rem 1rem;
    margin: 0 auto 0 5%;
  }
  .lower-anker .arrow-btn{
    min-width: 140px;
    width: 100%;
    gap: 0px;
    max-width: 200px;
  }
  .lower-anker .arrow-btn__icon{
    width: 30px;
    height: 30px;
  }
  .concept, .brand, .greeting, .info {
    padding-top: 3rem;
  }
  .philosophy{
    padding-top: 1rem;
  }
  .philosophy-txt{
    writing-mode: horizontal-tb;
    gap: 1rem;
    text-align: center;
  }
  .philosophy-txt h3 {
    line-height: 1.5;
    letter-spacing: 5px;
  }
  .philosophy img {
    aspect-ratio: 1345 / 800;
  }
  .brand .concept-item{
    width:100%;
  }
  .brand .concept-item h3 + p{
    margin-bottom: 0.5rem;
  }
  .brand .concept-item .arrow-btn {
    margin: 1rem auto 0;
  }
  .greeting-name {
    margin-bottom: 1rem;
  }
  .greeting-wrap{
    padding-bottom: 2rem;
  }
  .info-bottom{
    flex-direction: column;
  }
  .info-bottom img{
    width:100%;
  }
  .info {
    margin-bottom: 4rem;
  }
  .news {
    padding: 3rem 0;
    background:url(https://nagomi-aichi.jp/system_panel/uploads/images/20261014154443643184.png) no-repeat center/cover;
  }
  .lower-anker{
    display:none;
  }
}