@charset "UTF-8";
/* =====================
	平喜酒造のこだわりページ
 ======================= */

/** ------------------------ commitment ------------------------ **/
.commitment {
  margin-bottom: 7.81%;
}

.commitment::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -100;
  background-image: url(../img/common/bg-paint05.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center 70em;
}

.commitment .page-header .page-ttl {
  writing-mode: vertical-rl;
  flex-direction: column-reverse;
  align-items: flex-start;
  row-gap: 0.75em;
  bottom: auto;
  left: auto;
  top: 14.86%;
  right: 0;
}

.commitment .page-header .page-ttl .ja-ttl {
  line-height: 1.3;
}

.commitment .page-header .page-ttl .eng-ttl {
  font-size: 50%;
  line-height: 2;
  letter-spacing: 0.15em;
  transform: translateY(3%);
}

.commitment .wrapper.commitment-content {
  overflow: visible;
}

.commitment .lead-txt {
  font-size: 150%;
  line-height: 2.33;
  text-align: center;
  margin-bottom: 21%;
}

.commitment .commitment-ttl {
  font-size: 400%;
  font-weight: normal;
  line-height: 1;
  text-align: center;
  margin-bottom: 12%;
}

.commitment .commitment-item {
  width: 81.25%;
  display: flex;
  justify-content: center;
}

.commitment .commitment-item:nth-child(odd) {
  margin-right: auto;
}

.commitment .commitment-item:nth-child(even) {
  margin-left: auto;
  flex-direction: row-reverse;
}

.commitment .commitment-item + .commitment-item {
  margin-top: 7.81%;
}

.commitment .commitment-item-img {
  flex: 0 0 50vw;
  margin-right: auto;
}

.commitment .commitment-item-img img {
  width: 100%;
}

.commitment .commitment-item-txt-box {
  flex: 1;
  max-width: 38.46%;
  padding-top: 3.21%;
  position: relative;
}

.commitment .commitment-item-ttl {
  width: max-content;
  font-size: 300%;
  font-weight: normal;
  line-height: 1.67;
  background-color: var(--c_white);
  box-shadow: 5px 5px 0 var(--c_accent2);
  margin-bottom: 7.5%;
  position: relative;
}

.commitment .commitment-item:nth-child(odd) .commitment-item-ttl {
  padding: 0.33em 0.5em 0.3em 1.33em;
  left: -16.62%;
}

.commitment .commitment-item:nth-child(even) .commitment-item-ttl {
  padding: 0.33em 1.33em 0.3em 0.5em;
}

.commitment .commitment-item-txt {
  font-size: 150%;
  line-height: 2;
}

.commitment .commitment-item:nth-child(odd) .commitment-item-txt {
  margin-left: 8.33%;
}

.commitment .commitment-item:nth-child(even) .commitment-item-txt {
  margin-right: 8.33%;
}

/** -------------------- タブレット -------------------- **/
@media (max-width: 1280px) {
  /** ------------------------ commitment ------------------------ **/
  .commitment .page-header .page-ttl .ja-ttl {
    font-size: 5.21vw;
  }

  .commitment .commitment-item-ttl {
    font-size: 3.13vw;
  }

  .commitment .commitment-item-txt {
    font-size: 1.56vw;
  }
}

/** -------------------- スマホ -------------------- **/
@media (max-width: 699px) {
  /** ------------------------ commitment ------------------------ **/
  .commitment {
    margin-bottom: 50px;
  }

  .commitment::before {
    background-position: center 46em;
  }

  .commitment .page-header .page-ttl .ja-ttl {
    font-size: 25px;
  }

  .commitment .page-header .page-ttl .eng-ttl {
    font-size: 12px;
  }

  .commitment .lead-txt {
    font-size: 20px;
    text-align: left;
    margin-bottom: 100px;
  }

  .commitment .commitment-ttl {
    font-size: 25px;
  }

  .commitment .commitment-item {
    width: 100%;
    flex-direction: column;
    row-gap: 25px;
  }

  .commitment .commitment-item:nth-child(even) {
    flex-direction: column;
  }

  .commitment .commitment-item + .commitment-item {
    margin-top: 100px;
  }

  .commitment .commitment-item-img {
    flex: initial;
    margin: 0;
  }

  .commitment .commitment-item-txt-box {
    flex: initial;
    max-width: none;
    padding-top: 0;
  }

  .commitment .commitment-item-ttl {
    font-size: 25px;
    margin: 0 auto 25px;
  }

  .commitment .commitment-item:nth-child(odd) .commitment-item-ttl {
    left: auto;
  }

  .commitment .commitment-item-txt {
    width: 90%;
    font-size: 20px;
  }

  .commitment .commitment-item:nth-child(odd) .commitment-item-txt,
  .commitment .commitment-item:nth-child(even) .commitment-item-txt {
    margin: 0 auto;
  }
}
