/* ========================================
   コラム専用CSS
======================================== */

/* =====================================================
   記事タイトル
===================================================== */

.wp-article-header {
  margin: 0 0 50px;
  padding-bottom: 24px;
  border-bottom: 2px solid #e5e5e5;
}

.wp-article-header h1 {
  font-family: "游明朝", "Yu Mincho", "游明朝体", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "MS P明朝", "MS 明朝", serif;
  margin: 0;
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  color: #333;
}

@media screen and (max-width: 767px) {

  .wp-article-header {
    margin-bottom: 30px;
  }

  .wp-article-header h1 {
    font-size: 28px;
  }

}

/* =====================================================
   セクションタイトル
===================================================== */
.section-title {
  padding: 1em 1em !important;
  margin-bottom: 20px;
}

/* =====================================================
   テーブル共通
===================================================== */

.column-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
}

.column-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #d6d6d6;
  background: #fff;
  font-size: 15px;
  line-height: 1.7;
}

.column-table th,
.column-table td {
  border: 1px solid #d6d6d6;
  padding: 14px 12px;
  vertical-align: top;
}

.column-table th {
  font-weight: 700;
  text-align: left;
}

.column-table img {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
}

.column-table span {
  display: block;
  font-weight: 600;
  color: #333;
}

/* =====================================================
   のし紙のデザインを選ぶ
===================================================== */

.column-table--mizuhiki-list {
  min-width: 860px;
}

.column-table--mizuhiki-list th {
  background: #333;
  color: #fff;
}

.column-table--mizuhiki-list th:first-child,
.column-table--mizuhiki-list td.num {
  width: 48px;
  text-align: center;
}

.column-table--mizuhiki-list th:nth-child(2) {
  width: 38%;
}

.column-table--mizuhiki-list th:nth-child(3),
.column-table--mizuhiki-list th:nth-child(4) {
  width: 31%;
}

.column-table--mizuhiki-list img {
  margin: 0 auto 8px;
}

@media screen and (max-width: 767px) {
  .column-table-wrap {
    margin: 20px 0;
  }

  .column-table {
    font-size: 14px;
  }

  .column-table th,
  .column-table td {
    padding: 12px 10px;
  }

  .column-table img {
    max-width: 220px;
  }

  .column-table--mizuhiki-list {
    min-width: 760px;
  }
}

/* =====================================================
   水引の種類と色
===================================================== */

.column-table--knot-detail th{
  width:30%;
  background:#fff;
  font-weight:700;
}

.column-table--knot-detail td{
  width:70%;
}

.column-knot-images{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-bottom:14px;
}

.column-knot-images img{
  width:100%;
  max-width:250px;
  margin:0 auto;
}

.column-knot-title{
  margin-top:10px;
  font-weight:700;
  font-size:16px;
  line-height:1.6;
}

.column-table--knot-detail p{
  margin:0 0 18px;
}

.column-table--knot-detail p:last-child{
  margin-bottom:0;
}

@media screen and (max-width:767px){

  .column-table--knot-detail,
  .column-table--knot-detail tbody,
  .column-table--knot-detail tr,
  .column-table--knot-detail th,
  .column-table--knot-detail td{
    display:block;
    width:100%;
  }

  .column-table--knot-detail tr{
    margin-bottom:24px;
  }

  .column-table--knot-detail th{
    border-bottom:none;
    text-align:center;
  }

  .column-table--knot-detail td{
    border-top:none;
  }

  .column-knot-images img{
    max-width:280px;
  }

  .column-knot-title{
    text-align:left;
  }

}

/* =====================================================
   用途別のし紙一覧表
===================================================== */

.column-table--noshi-list {
  min-width: 900px;
}

.column-table--noshi-list th {
  background: #333;
  color: #fff;
}

.column-table--noshi-list th:nth-child(1) {
  width: 12%;
}

.column-table--noshi-list th:nth-child(2) {
  width: 24%;
}

.column-table--noshi-list th:nth-child(3) {
  width: 48%;
}

.column-table--noshi-list th:nth-child(4) {
  width: 16%;
}

.column-noshi-item {
  text-align: center;
}

.column-noshi-item img {
  width: 100%;
  max-width: 180px;
  height: auto;
  margin: 0 auto 6px;
  border: 1px solid #ddd;
}

.column-noshi-item a {
  display: inline-block;
  color: #0066cc;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.5;
}

.column-noshi-item a:hover {
  opacity: 0.75;
}

@media screen and (max-width: 767px) {
  .column-table--noshi-list {
    min-width: 820px;
  }

  .column-noshi-item img {
    max-width: 160px;
  }
}

/* =====================================================
   お歳暮を贈る時期
===================================================== */

.column-gift-timing {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.column-gift-timing__text {
  flex: 1;
}

.column-gift-timing__text p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.8;
}

.column-gift-timing__text strong {
  font-weight: 700;
}

.column-gift-timing__text .red {
  color: #e60012;
}

.column-gift-timing__text .blue {
  color: #1b63b8;
}

.column-gift-timing__image {
  width: 300px;
  flex-shrink: 0;
}

.column-gift-timing__image img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 767px) {

  .column-gift-timing {
    display: block;
    margin: 24px 0;
  }

  .column-gift-timing__text h2 {
    font-size: 22px;
  }

  .column-gift-timing__image {
    width: 100%;
    max-width: 320px;
    margin: 20px auto 0;
  }

}

/* =====================================================
   どんなのし紙をかける
===================================================== */

.column-noshi-explain {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin: 32px 0;
}

.column-noshi-explain__text {
  flex: 1;
}

.column-noshi-explain__text h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #003a5c;
}

.column-noshi-explain__text p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.8;
  color: #003a5c;
}

.column-noshi-explain__text strong {
  font-weight: 700;
}

.column-noshi-explain__text .red {
  color: #e60012;
}

.column-noshi-explain__text .blue {
  color: #1b63b8;
}

.column-noshi-explain__image {
  width: 360px;
  flex-shrink: 0;
}

.column-noshi-explain__image img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 767px) {

  .column-noshi-explain {
    display: block;
    margin: 24px 0;
  }

  .column-noshi-explain__text h3 {
    font-size: 17px;
  }

  .column-noshi-explain__text p {
    font-size: 14px;
  }

  .column-noshi-explain__image {
    width: 100%;
    max-width: 360px;
    margin: 20px auto 0;
  }

}

/* =====================================================
   お歳暮として贈ってはいけないもの
===================================================== */

.column-ng-gift {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin: 32px 0;
}

.column-ng-gift__text {
  flex: 1;
}

.column-ng-gift__text h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: #003a5c;
}

.column-ng-gift__text p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.75;
  color: #003a5c;
}

.column-ng-gift__text strong {
  color: #1f7fd0;
  font-weight: 700;
}

.column-ng-gift__image {
  width: 300px;
  flex-shrink: 0;
}

.column-ng-gift__image img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 767px) {

  .column-ng-gift {
    display: block;
    margin: 24px 0;
  }

  .column-ng-gift__text h3 {
    font-size: 16px;
  }

  .column-ng-gift__text p {
    font-size: 14px;
  }

  .column-ng-gift__image {
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0;
  }

}

/* =====================================================
   賞状の発症
===================================================== */

.column-history {
  margin: 40px 0;
}

.column-history-title-main {
  margin: 0 0 40px;
  font-size: 20px;
  font-weight: 700;
  color: #222;
}

.column-history-list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.column-history-item {
  display: grid;
  grid-template-columns: 130px 40px 1fr;
  column-gap: 0;
  position: relative;
}

.column-history-year {
  grid-column: 1;
  padding-right: 28px;
  text-align: right;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: #222;
}

.column-history-line {
  grid-column: 2;
  position: relative;
}

.column-history-line::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #d9d9d9;
}

.column-history-line::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: #777;
  border-radius: 50%;
}

.column-history-content {
  grid-column: 3;
  padding: 0 0 56px 0;
}

.column-history-item:last-child .column-history-content {
  padding-bottom: 0;
}

.column-history-title {
  margin: 0 0 18px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  color: #222;
}

.column-history-text p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.9;
  color: #333;
}

.column-history-text p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {

  .column-history-title-main {
    margin-bottom: 24px;
    font-size: 18px;
  }

  .column-history-item {
    grid-template-columns: 24px 1fr;
  }

  .column-history-year {
    grid-column: 2;
    grid-row: 1;
    padding: 0 0 8px;
    text-align: left;
    font-size: 14px;
  }

  .column-history-line {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .column-history-line::before {
    left: 6px;
  }

  .column-history-line::after {
    left: 0;
    top: 4px;
  }

  .column-history-content {
    grid-column: 2;
    grid-row: 2;
    padding-bottom: 36px;
  }

  .column-history-title {
    font-size: 24px;
  }

  .column-history-text p {
    font-size: 14px;
  }

}

/* =====================================================
   賞状の種類テーブル
===================================================== */

.column-table--certificate-type {
  min-width: 920px;
}

.column-table--certificate-type th {
  width: 72px;
  background: #333;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .12em;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

.column-table--certificate-type td {
  width: calc((100% - 72px) / 2);
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.column-table--certificate-type strong {
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .column-table--certificate-type {
    min-width: 860px;
  }

  .column-table--certificate-type th {
    width: 64px;
    font-size: 18px;
  }

  .column-table--certificate-type td {
    font-size: 14px;
  }
}

/* =====================================================
   賞状の書体の選び方
===================================================== */

.column-font-guide {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin: 32px 0;
}

.column-font-guide__text {
  flex: 1;
}

.column-font-guide__text h3 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: #003a5c;
}

.column-font-guide__text p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

.column-font-guide__text strong {
  font-weight: 700;
}

.column-font-guide__text .red {
  color: #e60012;
}

.column-font-guide__text .blue {
  color: #1b63b8;
}

.column-font-guide__image {
  width: 420px;
  flex-shrink: 0;
}

.column-font-guide__image img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (max-width:767px){

  .column-font-guide{
    display:block;
    margin:24px 0;
  }

  .column-font-guide__text h3{
    font-size:22px;
  }

  .column-font-guide__text p{
    font-size:14px;
  }

  .column-font-guide__image{
    width:100%;
    max-width:420px;
    margin:20px auto 0;
  }

}

/* =====================================================
   賞状用紙の使い分け、雲あり雲なし
===================================================== */

.column-paper-type {
  display: flex;
  gap: 40px;
  margin: 36px 0;
}

.column-paper-card {
  flex: 1;
}

.column-paper-card__title {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: #003a5c;
}

.column-paper-card__image {
  margin-bottom: 16px;
}

.column-paper-card__image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #cfcfcf;
}

.column-paper-card__text {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  color: #003a5c;
}

@media screen and (max-width:767px){

  .column-paper-type{
    display:block;
    margin:24px 0;
  }

  .column-paper-card{
    margin-bottom:32px;
  }

  .column-paper-card:last-child{
    margin-bottom:0;
  }

  .column-paper-card__title{
    font-size:22px;
  }

  .column-paper-card__text{
    font-size:16px;
  }

}

/* =====================================================
   額縁の選び方サイズ表
===================================================== */

.column-size-tables {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px;
  margin: 32px 0;
}

.column-table--certificate-size {
  width: 100%;
}

.column-table--certificate-size th {
  background: #333;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.column-table--certificate-size th,
.column-table--certificate-size td {
  padding: 14px 16px;
}

.column-table--certificate-size td {
  font-size: 16px;
  line-height: 1.6;
}

@media screen and (max-width: 767px) {
  .column-size-tables {
    display: block;
  }

  .column-size-tables .column-table-wrap {
    margin-bottom: 24px;
  }

  .column-table--certificate-size {
    min-width: 520px;
  }
}

/* =====================================================
   包み方：画像・YouTube 2カラム
===================================================== */

.column-wrap-sample {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin: 32px 0;
}

.column-wrap-card__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #003a5c;
}

.column-wrap-card__media {
  margin-bottom: 12px;
}

.column-wrap-card__media img {
  display: block;
  width: 60%;
  height: auto;
}

.column-wrap-card__youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.column-wrap-card__youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.column-wrap-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #003a5c;
}

.column-wrap-card__text a {
  color: #1b63b8;
  font-weight: 700;
  text-decoration: none;
}

.column-wrap-card__text a:hover {
  opacity: .75;
}

@media screen and (max-width: 767px) {
  .column-wrap-sample {
    display: block;
    margin: 24px 0;
  }

  .column-wrap-card {
    margin-bottom: 32px;
  }

  .column-wrap-card:last-child {
    margin-bottom: 0;
  }
}

/* =====================================================
   包み方手順
===================================================== */

.column-wrap-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 56px;
  margin: 32px 0;
}

.column-wrap-step {
  text-align: center;
}

.column-wrap-step__image {
  margin: 0 0 14px;
}

.column-wrap-step__image img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
}

.column-wrap-step__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #003a5c;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .column-wrap-steps {
    grid-template-columns: 1fr;
    gap: 32px;
    margin: 24px 0;
  }

  .column-wrap-step__text {
    font-size: 14px;
  }
}

/* =====================================================
   関連商品
===================================================== */

.column-product-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 40px 0;
  align-items: stretch;
}

.column-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
}

/* 画像エリアの高さを統一 */
.column-product-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 16px;
  overflow: hidden;
  background: #fff;
}

.column-product-card__image a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.column-product-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 商品名の高さを4行分に統一 */
.column-product-card__title {
  min-height: calc(1.6em * 4);
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: #003a5c;
  text-align: left;

  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

/* 説明文の高さを統一 */
.column-product-card__text {
  min-height: calc(1.8em * 6);
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  text-align: left;

  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

/* ボタンをカード下部に揃える */
.column-product-card__btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 220px;
  min-height: 52px;
  margin: auto auto 0;
  padding: 0 24px;
  border-radius: 8px;
  background: #5b8ff7;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}

.column-product-card__btn:hover {
  background: #3d73e0;
  color: #fff;
  transform: translateY(-2px);
}

.column-product-card__btn::after {
  display: none;
}

@media screen and (max-width: 991px) {
  .column-product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  .column-product-list {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 24px 0;
  }

  .column-product-card__title {
    min-height: auto;
    font-size: 18px;
    -webkit-line-clamp: initial;
  }

  .column-product-card__text {
    min-height: auto;
    font-size: 14px;
    -webkit-line-clamp: initial;
  }
}

/* =====================================================
   ボタン
===================================================== */
.column-btn-wrap {
  display: flex;
  justify-content: center;
  margin: 60px 0;
}

.column-red-btn {
  font-family: "游明朝", "Yu Mincho", "游明朝体", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "MS P明朝", "MS 明朝", serif;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 580px;
  min-height: 64px;
  padding: 16px 34px;
  border:1px solid #888;
  border-radius: 10px;
  background: #fff;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: all .3s ease;
}

.column-red-btn:hover {
  background: #888;
  color: #fff;
  transform: translateY(-2px);
}

.column-red-btn::after {
  display: none;
}

@media (max-width: 767px) {

  .column-btn-wrap {
    margin: 24px 0;
  }

  .column-red-btn {
    max-width: 100%;
    min-height: 56px;
    padding: 14px 24px;
    font-size: 16px;
  }

}