/*--------------------------------------------------------------
 LP style
----------------------------------------------------------------*/

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Noto+Serif+JP:wght@300;400;500;600;700&display=swap");

/*reset --------------------------------*/
html,
body {
  width:100%;
}
html,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,p,blockquote,th,td{
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  outline: 0;
}
table {
  border: none;
  border-collapse: collapse;
  border-spacing: 0;
}
fieldset,img {
  border: 0;
}
img {
  border: none;
  vertical-align: bottom;
}
svg {
  vertical-align: bottom;
}
a,a:focus {
  outline: none;
}
address,caption,cite,code,dfn,em,strong,th,var{
  font-style: normal;
  font-weight: normal;
}
ol,li{
  list-style: none;
}
br{
  letter-spacing: 0;
}

input, select, textarea {
  vertical-align: middle;
}

q:before,q:after {
	content: '';
}
abbr,acronym {
  border: 0;
  font-variant: normal;
}
sup {
  vertical-align: text-top;
}
sub {
  vertical-align: text-bottom;
}

/*--------------------------------------------------------------
 food-ma
----------------------------------------------------------------*/
:root {
  --text-color: #2D2D2D;
  --text-hover: #6A6A6A;
  --main-font: "Noto Serif JP", serif;
  --font-size: 16px;
  --weight-normal: 500;
  --weight-bold: 600;
  --weight-extrabold: 700;
  --color-navy: #27335B;
  --color-gold: #CEA809;
  --color-blue: #125395;
  --color-deepgold: #A5880C;
  --color-deepnavy: #192344;
  --background: #EFEFEF;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}
html,body {
  box-sizing: border-box;
  width:100%;
  font-family: var(--main-font);
  font-weight: var(--weight-normal);
  line-height: 1.8;
  font-size: var(--font-size);
}
body {
  background: var(--background);
  color: var(--text-color);
}
.lp-page {
  display: grid;
  grid-template-rows: 1fr auto;/*ヘッダーがfixedで浮いているため2カラム計算*/
  grid-template-columns: 1fr;
  min-height: 100vh;
  min-width: 1100px;
  @media screen and (max-width: 768px) {
    min-width: 100%;
  }
}
.contents__wrap {
  width: 1100px;
  margin: 0 auto 80px;
  padding: 0 15px;
  @media screen and (max-width: 768px) {
    width: 100%;
    margin-bottom: 60px;
  }
}
a {
  text-decoration:none;
  color: var(--text-color);
  &:visited {
  color: var(--text-color);
  }
  &:hover {
    color: var(--text-hover);
  }
  &.imgHover:hover {
    opacity: 0.8;
  }
}
.btn--square {
  display: block;
  padding: 10px 15px;
  border-radius: 3px;
  cursor: pointer;
  img {
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
  }
  &:visited,
  &:hover{
  color: #FFF;
  }
}
.btn--gold {
  background: var(--color-gold);
  box-shadow: 2px 2px 0px 0px #827127;
  color: #FFFFFF;
  &:hover {
    background: var(--color-deepgold);
  }
}
.btn--navy {
  background: var(--color-navy);
  box-shadow: 2px 2px 0px 0px #6A6A6A;
  color: #FFFFFF;
  &:hover {
    background: var(--color-deepnavy);
  }
}
.btn-img--hover {
  &:hover {
    opacity: 0.8;
  }
}
.headline  {
  position: relative;
  padding-bottom: 20px;
  margin-bottom: clamp(2.5rem, 0.711rem + 7.63vw, 4.375rem);
  font-size: clamp(1.625rem, 0.194rem + 6.11vw, 3.125rem);
  text-align: center;
  &::after {
    display: block;
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 50px;
    height: 3px;
    margin-right: -15px;
    background: var(--text-hover);
    content: "";
  }
}
.image--full {
  width: 100%;
}
.show_pc {
  @media screen and (max-width: 768px) {
    display: none;
  }
}
.show_sp {
  display: none;
  @media screen and (max-width: 768px) {
    display: block;
  }
}
header {
  position: fixed;
  z-index: 99;
  width: 100% ;
  min-width: 1100px;
  background: var(--background);
  @media screen and (max-width: 768px) {
    min-width: 100%;
  }
}
#food-ma, #medical-ma,#animal-ma {
  .header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    padding:8px 15px;
    margin:0 auto;
  }
  .header__logo {
    img {
      width: 530px;
      @media screen and (max-width: 768px) {
        width: 270px;
      }
    }
  }
  .header__btn {
    font-size: 22px;
    img {
      width: 20px;
    }
    @media screen and (max-width: 768px) {
      padding: 5px 8px;
      font-size: 16px;
      img {
        margin-right: 0;
        width: 25px;
      }
    }
  }
}
.lp-contents {
  padding-top: 78px;
  @media screen and (max-width: 768px) {
    padding-top: 50px;
  }
}
.mv {
  img{
  width: 100%;
  height: auto;
  }
  .mv__image {
    width: 100%;
  }
}
.consultation {
  position: relative;
  top: -30px;
  margin-bottom: 50px;
  @media screen and (max-width: 768px) {
    margin-bottom: 30px;
  }
  .consultation__inner {
    display: flex;
    justify-content: space-between;
    gap: 70px;
    width: 90%;
    margin: 0 auto;
    padding: 40px 30px 80px;
    border-radius: 3px;
    background: url('../../img/lp/food-ma/bg_cta-btn.png'),linear-gradient(90deg, rgba(255, 249, 210, 1), rgba(206, 168, 9, 1));
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    border: 5px solid var(--color-gold);
    text-align: center;
    @media screen and (max-width: 768px) {
      display: block;
      padding: 20px 20px 50px;
    }
  }
  .consultation__btn {
    font-size: clamp(1.5rem, 0.844rem + 2.8vw, 2.188rem);
  }
  .consultation__sale,
  .consultation__buying{
    width: 100%;
    span {
      font-size: clamp(1.125rem, 0.648rem + 2.04vw, 1.625rem);
      font-weight: var(--weight-bold);
      color: var(--color-gold);
    }
  }
  .consultation__buying{
    span {
      color: var(--color-navy);
    }
  }
  .consultation__sale{
    span {
      color: var(--color-gold);
    }
    @media screen and (max-width: 768px) {
      margin-bottom: 30px;
    }
  }
}
.case {
  background: url('../../img/lp/food-ma/bg_case.png') no-repeat center bottom / cover;
  padding-bottom: clamp(3.75rem, 2.557rem + 5.09vw, 5rem);
  .contents__wrap {
    margin-bottom: 0;
  }
  .case__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    border-radius: 3px;
  }
  .case__item {
    background: #fff;
    padding: 20px;
  }
  .case__img {
    aspect-ratio: 3/2;
    margin-bottom: 20px;
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
  .case__title {
    font-size: clamp(1.125rem, 0.886rem + 1.02vw, 1.375rem);
    font-weight: bold;
    margin-bottom: 10px;
  }
  .case__detail {
    .detail__wrap {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      width: 100%;
      padding: 10px 0;
      border-bottom: 1px dotted var(--text-hover);
      &:last-child {
        border: none;
      }
    }
    dt {
      width: 80px;
      padding: 2px 10px;
      margin-right: 15px;
      border-radius: 3px;
      background: var(--color-blue);
      color: #FFF;
      text-align: center;
      @media screen and (max-width: 768px) {
        width: 70px;
      }
    }
  }
  .case__btn {
    display: block;
    width: 70%;
    margin: 0 auto;
    @media screen and (max-width: 768px) {
      width: 100%;
    }
  }
}
.problem {
  padding-top: clamp(3.125rem, 1.932rem + 5.09vw, 4.375rem);
  padding-bottom: clamp(3.75rem, 2.557rem + 5.09vw, 5rem);
  background: #FFF;
  text-align: center;
  .contents__wrap {
    margin-bottom: 0;
  }
  .problem__headline {
    margin: 0 auto 40px;
    font-size: 66px;
    line-height: 1.2;
    text-align: center;
    color: var(--color-blue);
    span {
      background: linear-gradient(transparent 80%, #DDE2F3 30%);
      }
    @media screen and (max-width: 768px) {
      font-size: clamp(1.5rem, 0.248rem + 5.34vw, 2.813rem);
    }
  }
  .problem__image {
    .image--full {
      width: 85%;
    }
  }
}
.advantage {
  background: url('../../img/lp/food-ma/bg_advantage.png') no-repeat center top / cover;
  padding-bottom: clamp(3.75rem, 2.557rem + 5.09vw, 5rem);
  .contents__wrap {
    margin-bottom: 0;
  }
  .advantage__headline {
    padding: 20px 15px;
    margin-bottom: clamp(2.5rem, 0.711rem + 7.63vw, 4.375rem);
    background: rgba(39,51,91,0.6);
    border-top: 16px solid rgba(206,168,9,0.6);
    border-bottom: 16px solid rgba(206,168,9,0.6);
    text-align: center;
    font-size: 50px;
    color: #FFF;
    @media screen and (max-width: 768px) {
      border-top: 5px solid rgba(206,168,9,0.6);
      border-bottom: 5px solid rgba(206,168,9,0.6);
      font-size: clamp(1.25rem, 0.355rem + 3.82vw, 2.188rem);
    }
  }
  .advantage__list {
    margin-bottom: clamp(2.5rem, 0.711rem + 7.63vw, 4.375rem);
    .advantage__item {
      position: relative;
      padding-left: 30px;
      color: var(--color-navy);
      font-size: clamp(1.125rem, 0.409rem + 3.05vw, 1.875rem);
      font-weight: var(--weight-bold);
      &::before {
        display: block;
        position: absolute;
        top: 50%;
        left: 0;
        width: 10px;
        height: 10px;
        margin-top: -5px;
        border-radius: 50%;
        background: var(--color-navy);
        content: "";
      }
    }
  }
}

#advantage__popup {
  display: none;
  position: fixed;
  background: rgba(0, 0, 0, .6);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  div {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow-x: scroll;
    justify-content: center;
    align-items: center;
      @media screen and (max-width: 768px) {
        justify-content: left;
      }
    img {
      width: 97%;
      max-width: 1200px;
      max-height: calc(100vh - 30px);
      @media screen and (max-width: 768px) {
        width: 1000px;
      }
    }
  }
}
.advantage__image {
  cursor: pointer;
  width: 100%;
}
.solution {
  padding-bottom: clamp(3.75rem, 2.557rem + 5.09vw, 5rem);
  background: url('../../img/lp/food-ma/bg_solution.png') no-repeat center top / cover;
  color: var(--color-navy);
  text-shadow: 00px 3px 6px rgba(0, 0, 0, 0.4);
  text-align: center;
  .contents__wrap {
    margin-bottom: 0;
  }
  .solution__headline {
    padding: 10px 15px;
    margin-bottom: clamp(2.5rem, 0.711rem + 7.63vw, 4.375rem);
    background: var(--color-navy);
    color: #FFF;
    font-size: clamp(1.75rem, 0.438rem + 5.6vw, 3.125rem);
  }
  .solution__title {
    margin-bottom: 20px;
    font-size: clamp(1.375rem, 0.302rem + 4.58vw, 2.5rem);
  }
  .solution__text {
    margin-bottom: 50px;
    font-size: clamp(1rem, 0.165rem + 3.56vw, 1.875rem);
    font-weight: var(--weight-bold);
  }
  .solution__btn-wrap{
    display: flex;
    justify-content: center;
    gap: 100px;
    padding: 0 50px;
    @media screen and (max-width: 768px) {
      gap: 30px;
      padding: 0 20px;
    }
    .solution__btn-item {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 30px 15px;
      width: 100%;
      font-size: clamp(1.125rem, 0.529rem + 2.54vw, 1.75rem);
    }
  }
}
.contact-area {
  padding-bottom: clamp(3.75rem, 2.557rem + 5.09vw, 5rem);
  padding-top: clamp(2.5rem, 1.307rem + 5.09vw, 3.75rem);
  background: url('../../img/lp/food-ma/bg_cta.png') no-repeat center top / cover;
  text-align: center;
  color: #FFF;
  .contact-area__headline {
    font-size: clamp(1.625rem, 0.194rem + 6.11vw, 3.125rem);
    margin-bottom: 30px;
    @media screen and (max-width: 768px) {
     margin-bottom: 15px;
    }
  }
  .contents__wrap {
    margin-bottom: 0;
  }
  .contact-area__text {
    font-size: clamp(1.25rem, 0.057rem + 5.09vw, 2.5rem);
  }
  .contact-area__deco {
    width: 90%;
    margin-bottom: 40px;
  }
  .contact-area__detail {
    font-size: clamp(1rem, 0.284rem + 3.05vw, 1.75rem);
    .detail__deco-text {
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      &::before,
      &::after {
        position: relative;
        background-color: #FFF;
        border-radius: 3px;
        content: "";
        height: 3px; 
        width: 30px; 
      }
      &::before {
        margin-right: 10px;
        transform: rotate(60deg);
      }
      &::after {
        margin-left: 10px;
        transform: rotate(-60deg);
      }
    }
  }
  .contact-area__btn-item {
    margin: 0 auto;
    padding: 30px 15px;
    width: 70%;
    font-size: clamp(1.125rem, 0.529rem + 2.54vw, 1.75rem);
    background: #FFF;
    box-shadow: 2px 2px 0px 0px #6A6A6A;
    color: var(--color-blue);
    &:hover {
      background: var(--color-deepnavy);
    }
  }
}
.company {
  padding-top: clamp(3.125rem, 1.336rem + 7.63vw, 5rem);
  .company__outline {
    margin: 0 auto;
    max-width: 800px;
  }
  .company__inner{
    display: flex;
    padding: 30px 15px;
    width: 100%;
    border-bottom: 1px dotted var(--text-hover);
    font-size: 20px;
    @media screen and (max-width: 500px) {
      display: block;
      padding: 20px 15px;
      font-size: 18px;
    }
    dt {
      width: 200px;
      @media screen and (max-width: 768px) {
        width: 150px;
      }
      @media screen and (max-width: 500px) {
        margin-bottom: 10px;
        font-weight: var(--weight-extrabold);
      }
    }
  }
}
footer {
  background: #FFF;
  font-size: 15px;
  text-align: center;
  .footer__inner {
    padding: 20px 15px 10px;
    margin-bottom: 0;
    .footer__menu {
      display: flex;
      justify-content: center;
      gap: 30px;
      margin-bottom: 20px;
      @media screen and (max-width: 768px) {
        display: block;
      }
      li{
        position: relative;
        &::after {
          position: absolute;
          top: 10px;
          right: -15px;
          width: 1px;
          height: 10px;
          background: var(--text-hover);
          content: "";
          
        }
      }
    }
  }
  .footer__logo {
    display: block;
    max-width: 400px;
    margin: 0 auto 20px;
  }
  .footer__copy {
    font-size: 12px;
  }
}
.fix-btn {
  display: block;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: clamp(5rem, 1.444rem + 15.17vw, 11.875rem);
  height: clamp(5rem, 1.444rem + 15.17vw, 11.875rem);
  background: url('../../img/lp/food-ma/btn_mail_hover.svg') no-repeat center center / cover;
  content: url('../../img/lp/food-ma/btn_mail.svg');
  z-index: 99;
  &:hover {
    content: "";
  }
}
