@charset "utf-8";

/* Greetings page styles */
#greetings {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px 24px;
}

#greetings .inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 36px;
  align-items: start;
}

#greetings .titType1 {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

#greetings .titType1 h4 {
  font-size: 30px;
  font-weight: 500;
  color: #333;
  padding-left: 30px;
  background: url(../img/tit-type1-front.png) no-repeat 0 50%;
  background-size: 18px auto;
}

#greetings .textBox dt {
  font-size: 32px;
  line-height: 1.4;
  font-weight: 500;
  color: #333;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
}
#greetings .textBox dt strong { color: #dc000c; }
#greetings .textBox dd {
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: -0.045em;
  color: #555;
}

#greetings .imgBox {
  position: sticky;
  top: 20px;
}

#greetings .imgBox img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

#greetings .imgBox .text {
  text-align: right;
  margin-top: 12px;
  font-size: 18px;
  color: #333;
}
#greetings .imgBox .text strong {
  font-size: 24px;
  letter-spacing: -0.045em;
  font-weight: 500;
}

@media screen and (max-width: 1200px) {
  .__pc { display: none !important; }
  .__ta { display: block !important; }
  .__mo { display: none; }

  #greetings { padding: 0 10px 20px; }

  #greetings .inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  #greetings .titType1 { margin-bottom: 0; }
  #greetings .titType1 h4 {
    font-size: 22px;
    padding-left: 25px;
    background-size: 15px auto !important;
  }

  #greetings .textBox dt {
    line-height: 1.45;
    margin-bottom: 16px;
    font-size: 24px;
  }
  #greetings .textBox dd { font-size: 15px; line-height: 1.75; }
  #greetings .imgBox { position: static; max-width: 420px; }
  #greetings .imgBox .text { margin-top: 10px; font-size: 14px; }
  #greetings .imgBox .text strong { font-size: 20px; }
}

@media screen and (max-width: 767px) {
  #greetings .textBox dt { font-size: 21px; }
  #greetings .textBox dd { font-size: 14px; line-height: 1.7; }
  #greetings .imgBox { max-width: 100%; }
}
