@charset "UTF-8";
:root {
  --width-overall: 910px;
}

.item-box {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  border: 1px solid #ccc;
  padding: 16px;
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
}

.item-image {
  width: 300px;
  flex-shrink: 0;
}

.item-image img {
  width: 100%;
  height: auto;
  display: block;
}

.item-content {
  flex: 1;
  margin-left: 16px;
  display: flex;
  flex-direction: column;
}

.item-content h3 {
  margin-top: 0;
  font-size: 1.2em;
  color: #333;
}

.item-content p {
  margin: 8px 0;
  color: #444;
  line-height: 1.6;
}
.item-button{
	margin: 0;
	padding: 0;
}
.item-button  a{
  width: 100%;
  display: block;
  background-color: #009688;
  text-decoration: none;
  color: #fff;
  text-align: center;
  padding: 12px;
  margin: 0;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.item-button img{
  display: none;
}

.item-button a:visited{
  color: #fff;
  text-decoration: none;
}

.item-button a:hover {
  background-color: #00796b;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transform: scale(1.01);
}

.item-pr {
  text-align: center;
  font-size: 0.8em;
  color: #555;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .item-box {
    flex-direction: column;
    align-items: center;
  }

  .item-image {
    width: 100%;
    margin-bottom: 16px;
  }

  .item-content {
    margin-left: 0;
    width: 100%;
  }
}