/* Machida Shoten LP / CSS */

/* ===== Base ===== */
.lp-machida{
  --lp-red: #b5000f;
  --lp-red-dark: #8e000b;
  --lp-text: #111;
  --lp-muted: #666;
  --lp-border: #e7e7e7;
  --lp-bg: #fff;
  --lp-max: 880px;
  --lp-radius: 0px;
  --lp-shadow: 0 10px 25px rgba(0,0,0,.12);
  color: var(--lp-text);
  background: var(--lp-bg);
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.75;
}

.lp-machida *{ box-sizing: border-box; }
.lp-machida img{ max-width: 100%; height: auto; display: block; }

.lp-container{
  width: min(var(--lp-max), calc(100% - 40px));
  margin: 0 auto;
}

/* Typography */
.lp-h2{
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: .02em;
  /*text-align: center;*/
  margin: 0 0 18px;
}
.lp-h3{
  font-size: clamp(24px, 2vw, 22px);
  font-weight: 800;
  margin: 18px 0 10px;
}
.lp-text{
  font-size: 16px;
  color: var(--lp-text);
  text-align: left;
}
.lp-bold{ font-weight: 800; }
.lp-ul{
  margin: 10px 0 0;
  padding-left: 1.2em;
}
.lp-ul li{ margin: 6px 0; color: #222; }

.lp-section{
  padding: 120px 0;
}
@media (max-width: 640px){
  .lp-section{ padding: 64px 0; }
}

/* ===== Hero ===== */
.lp-hero{
  position: relative;
  min-height: 80vh;
  overflow: hidden;
}
.lp-hero__bg{
  position: absolute;
  inset: 0;
  background-image: url("../img/partner_gift/overseas-partner/hero-pc.jpg"); /* 差し替え */
  background-size: cover;
  background-position: center;
}
@media (max-width: 820px){
  .lp-hero__bg{
    background-image: url("../img/partner_gift/overseas-partner/hero-sp.jpg"); /* 差し替え */
  }
}
.lp-hero__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.28) 55%, rgba(0,0,0,.18) 100%);
}
.lp-hero__inner{
  position: relative;
  z-index: 1;
  min-height: 80vh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 40px 0;
}
.lp-hero__logo{
  width: min(120px, 80%);
  margin: 0 auto 16px;
}
.lp-hero__logoImg{
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.35));
}
.lp-hero__lead{
  margin: 0 0 6px;
  color: #fff;
  font-weight: 700;
  letter-spacing: .08em;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.lp-hero__title{
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: .08em;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
@media (max-width: 820px){
  .lp-hero__title{
    font-size: 28px;
  }
}
.lp-hero__sub{
  margin: 10px 0 0;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

/* ===== Intro ===== */
.lp-intro__inner{
  text-align: left;
}
.lp-intro__title{
  font-size: 23px;
  margin-bottom: 24px;
}
.lp-intro .lp-text{
  /**/
  margin: 0 auto;
  color: #222;
}
.lp-intro .lp-text p{ margin: 0 0 10px; }

/* ===== Red band ===== */
.lp-band{
  background: linear-gradient(90deg, var(--lp-red-dark), var(--lp-red));
  padding: 18px 0;
}
.lp-band__inner{
  text-align: center;
}
.lp-band__text{
  margin: 0;
  color: #fff;
  font-weight: 800;
  letter-spacing: .12em;
  font-size: 32px;
}
@media (max-width: 820px){
  .lp-band__text{
    margin: 0;
    color: #fff;
    font-weight: 800;
    letter-spacing: .12em;
    font-size: 23px;
  }
}

/* ===== Brand ===== */
.lp-brand__inner{
  display: grid;
  gap: 18px;
  /*justify-items: center;*/
}
.lp-brand__badge{
  width: 230px;
  margin-top: -6px;
  margin: 0 auto;
  margin-bottom: 40px;
}
.lp-brand__grid{
  width: 100%;
  /**/
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.lp-brand__figure{
  /*border-radius: var(--lp-radius);*/
  overflow: hidden;
  border: 1px solid var(--lp-border);
  background: #fff;
}
.lp-brand__content{
  width: 100%;
  /**/
  text-align: left;
}
.lp-brand__content .lp-text{ color: #222; }
.lp-brand__content p{ margin: 0; }

@media (max-width: 700px){
  .lp-brand__grid{ grid-template-columns: 1fr; }
  .lp-brand__badge{ width: 250px; }
}

.lp-brand--oil .lp-brand__badge{
  width: 250px;
  max-width: 40%;
}

/* ===== Support lead ===== */
.lp-supportLead__box{
  /**/
  margin: 0 auto 22px;
  /*text-align: center;*/
}
.lp-supportLead__line{
  margin: 0;
  font-size: 13px;
  color: #222;
}
.lp-supportLead__title{
  position: relative;
  padding-bottom: 14px; /* 線との間隔 */
  margin-top: 22px;
  text-align: center;
  font-size: 26px;
}
.lp-supportLead__title::after {
  content: "";
  display: block;
  width: 64px;              /* 線の長さ */
  height: 3px;              /* 線の太さ */
  background-color: #b5000f;/* 赤 */
  margin: 12px auto 0;      /* 中央配置 */
}

/* ===== Support items ===== */
.lp-support{
  padding-top: 10px;
}
.lp-supportItem{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--lp-border);
}
.lp-supportItem--reverse{
  grid-template-columns: .85fr 1.15fr;
}
.lp-supportItem--reverse .lp-supportItem__text{ order: 2; }
.lp-supportItem--reverse .lp-supportItem__media{ order: 1; }

.lp-supportItem__text{
  position: relative;
  padding-left: 62px;
}
.lp-supportItem__num{
  font-family: 'Roboto', sans-serif;
  position: absolute;
  top: -24px;
  left: 0;
  font-size: 84px;
  font-weight: 900;
  color: var(--lp-red);
  line-height: 1;
  font-style: italic;
}
@media (max-width: 820px){
  .lp-supportItem__num{
    top: 0px;
  }
}
.lp-supportItem__title{
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .02em;
}
.lp-supportItem__media{
  border-radius: var(--lp-radius);
  overflow: hidden;
  border: 1px solid var(--lp-border);
  background: #fff;
}

@media (max-width: 820px){
  .lp-supportItem,
  .lp-supportItem--reverse{
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .lp-supportItem__text{ padding-left: 62px; }
  .lp-supportItem--reverse .lp-supportItem__text,
  .lp-supportItem--reverse .lp-supportItem__media{
    order: initial;
  }
}

/* ===== Global ===== */
.lp-global__lead{
  text-align: center;
  margin: 0 auto 64px;
  color: #222;
}
.lp-global__map{
  
  margin: 0 auto 24px;
}
.lp-global__photos{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 auto 18px;
  
}
.lp-global__photo{
  border-radius: var(--lp-radius);
  overflow: hidden;
  border: 1px solid var(--lp-border);
  background: #fff;
}
.lp-global__list{
  
  margin: 0 auto;
}
@media (max-width: 700px){
  .lp-global__photos{ grid-template-columns: 1fr; }
}

/* ===== Business ===== */
.lp-business__inner{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: start;
}
.lp-business__text p{ margin: 0 0 10px; }
.lp-business__media{
  border-radius: var(--lp-radius);
  overflow: hidden;
  border: 1px solid var(--lp-border);
  background: #fff;
}
@media (max-width: 820px){
  .lp-business__inner{ grid-template-columns: 1fr; }
}

/* ===== Table ===== */
.lp-company__tableWrap{
  
  margin: 0 auto;
}
.lp-table{
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--lp-border);
  background: #fff;
}
.lp-table th,
.lp-table td{
  border: 1px solid var(--lp-border);
  padding: 12px 14px;
  vertical-align: top;
}
.lp-table th{
  width: 28%;
  background: #f6f6f6;
  font-weight: 800;
}
@media (max-width: 640px){
  .lp-table th{ width: 34%; }
  .lp-table th, .lp-table td{ padding: 10px 10px; }
}


/* Small helpers */
.lp-img--shadow{ box-shadow: var(--lp-shadow); }

/* PCのみ改行 */
.br-pc {
  display: inline;
}

/* SPのみ改行 */
.br-sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .br-pc {
    display: none;
  }
  .br-sp {
    display: inline;
  }
}

/* PC：中央寄せ / SP：左寄せ */
.align-pc-center-sp-left {
  text-align: center;
}

@media screen and (max-width: 768px) {
  .align-pc-center-sp-left {
    text-align: left;
  }
}

.yamamo_line_btn a {
    width: 50%;
    margin: 1.3em auto 1em;
    background: #3EA73C;
    padding: 1em;
    display: block;
    text-align: center;
    border-radius: 0.5em;
    box-shadow: 0 3px 0 #197f17;
    transition: .1s;
    position: relative;
    text-decoration: none;
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
}

.yamamo_line_btn a::after {
    position: absolute;
    top: 44%;
    margin-top: -6px;
    right: 10px;
    z-index: 2;
    display: block;
    content: '';
    color: #fff;
    width: 0;
    height: 0;
    border-left: 5px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

@media screen and (max-width: 820px) {
    .yamamo_line_btn a {
        width: 80% !important;
    }
}

.contact-table2 {
  color: var(--lp-text);
}

@media screen and (max-width: 820px) {
    .contact-table th, .contact-table td, .contact-table2 th, .contact-table2 td {
        display: block;
        text-align: left;
    }
}