/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme for Astra
Author: Your Name
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/
/* IoT本舗：トップ互換（HTMLブロック用） */
.iothonpo-home .iothonpo-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.iothonpo-home .iothonpo-section{
  padding: 56px 0;
}

.iothonpo-home .iothonpo-center{ text-align:center; }

.iothonpo-home .iothonpo-h2{
  margin: 0 0 24px 0;
  font-weight: 700;
}

.iothonpo-home .iothonpo-h3{
  margin: 0 0 16px 0;
  font-weight: 700;
}

.iothonpo-home .iothonpo-h4{
  margin: 10px 0 6px 0;
  font-weight: 700;
}

.iothonpo-home .iothonpo-link{ text-decoration: none; }

.iothonpo-home .iothonpo-grid{
  display: grid;
  gap: 24px;
}

.iothonpo-home .iothonpo-grid--3{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.iothonpo-home .iothonpo-card{
  padding: 40px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.iothonpo-home .iothonpo-media{
  display: block;
  border-radius: 12px;
  overflow: hidden;
  margin: 10px 0 16px 0;
}

.iothonpo-home .iothonpo-img{
  width: 100%;
  height: auto;
  display: block;
}

.iothonpo-home .iothonpo-text{
  margin: 0;
  line-height: 1.7;
}

.iothonpo-home .iothonpo-lead{
  margin: 0 auto 28px auto;
  max-width: 760px;
  line-height: 1.8;
}

.iothonpo-home .iothonpo-iconbox{
  padding: 40px;
  border-radius: 14px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  text-align: center;
}

.iothonpo-home .iothonpo-icon{
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ast-global-color-0, #1a73e8);
  color: var(--ast-global-color-5, #ffffff);
  margin: 0 auto 8px auto;
  font-size: 18px;
}

/* Tablet以下：3カラム→1カラム、padding縮小 */
@media (max-width: 1024px){
  .iothonpo-home .iothonpo-card,
  .iothonpo-home .iothonpo-iconbox{
    padding: 20px;
  }
  .iothonpo-home .iothonpo-grid--3{
    grid-template-columns: 1fr;
  }
}

/* 商品タイトルを黒に固定 */
.iothonpo-home .iothonpo-h3 a,
.iothonpo-home .iothonpo-h3 a:visited,
.iothonpo-home .iothonpo-h3 a:hover,
.iothonpo-home .iothonpo-h3 a:active {
  color: #000 !important;
  text-decoration: none;
}

