* {
  margin: 0;
}
body {
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #00bcd4;
}
h1 {
  height: 80px;
}
h1 img {
  height: 100%;
}
.insta {
  padding: 10px;
}
iframe {
  height: 100vh;
}
.topcont {
  display: flex;
}
.menu {
  width: 20%;
}
.contents {
  width: 80%;
  padding: 1em;
}

.menu ul {
  width: 200px;/*メニューの幅*/
  margin: 0;
  padding: 0;
  list-style-type: none;
  background-color: #eeeeee;
}
.menu li a {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  color: #000000;
  transition: all .3s;
}
.menu li {
  text-align: center;
}
.menu li:last-child {
  border-bottom: none;
}
.menu li a.active {
  color: #ffffff;
  background-color: #da3c41;
}
.menu li a:hover:not(.active) {
  color: #ffffff;
  background-color: #1b2538;
}

.cp_container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2つのカラムを設定 */
  grid-template-rows: auto;
  gap: 20px; /* ブロック間の隙間 */
}
.cp_carditem {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4; /* 4行分のスペースを占めるように調整 */
  gap: 10px; /* 子要素のブロック間の隙間 */
}
/* 以下ブロックの装飾 */
.cp_carditem {
  border-radius: 5px;
  overflow: hidden;
  min-width: 200px;
  background: #fff;
  filter: drop-shadow(2px 2px 3px #ededed);
}
.cp_img {
  line-height: 0;
}
.cp_img img{
  max-width: 100%;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
}
.cp_carditem h2 {
  font-size: 130%;
  padding: 0 20px 0;
  margin: 0;
  color: #48494e;
}
.cp_carditem p {
  padding: 0 20px 0;
  margin: 0;
  color: #8a8a8f;
}
.cp_button {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2em;
  background: #2a4df4;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  margin: 0 20px 20px;
  transition: all .3s;
}
.cp_button::before{
  content: '';
  width: 10px;
  height: 10px;
  background: #fff;
  clip-path: polygon(0 0,0 100%,60% 50%);
}
.cp_button:hover {
  background: #203bc1;
}
@media only screen and (max-width: 520px){
  h1 {
    height: 50px;
  }
  .topcont {
    flex-direction: column;
  }
  .menu, .contents {
    width: 100%;
}
}