@charset "utf-8";
/*子ページをボタンレイアウトにする場合のcss*/
.child_pagelist {
  display: grid;
  grid-template-columns: 1fr; /* スマホ等のデフォルトは1カラム */
  gap: 24px;
  list-style: none; /* リストの黒点を消す場合 */
  padding: 0;
  margin: 0;
}

.child_pagelist .child_pagelist__item {
  display: flex; /* 子の.linkbtnをたかさ揃えやmargin-top:auto等に合致させるため */
}

@media screen and (min-width: 900px) {
  .child_pagelist {
    grid-template-columns: repeat(2, 1fr); /* 900px以上で3カラム */
  }
}
@media screen and (min-width: 1280px) {
  .child_pagelist {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 1920px) {
  .child_pagelist {
    grid-template-columns: repeat(4, 1fr);
  }
}

.linkbtn {
color: var(--color-black2);
background: #FAF7F1;
align-self: flex-start;
margin-top: auto;
padding: 16px 64px 16px 24px;
font-size: 16px;
position: relative;
display: flex;
align-items: center;
width: 100%;
min-width: 0;
min-height: 44px;
height: 100%;
background: #e3f7ff;
text-decoration: none;
white-space: normal;
border-radius: 100vh;
overflow-wrap: anywhere;
font-size: calc(15px + (16px - 15px) * var(--fluid-progress));
}


.linkbtn:before {
content: '';
width: 24px;
height: 24px;
position: absolute;
right: 15px;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
border-radius: 100vh;
background: #fff;
}
.linkbtn::after {
content: "";
position: absolute;
right: 24px;
top: 50%;
width: .45em;
height: .45em;
border-top: 2px solid currentColor;
border-right: 2px solid currentColor;
transform: translateY(-50%) rotate(45deg);
}


/*サムネイル画像を表示する場合のcss*/
.child_page_list {
display: flex;
flex-direction: column;
gap:calc(16px + (40px - 16px) * var(--fluid-progress));
padding: calc(16px + (32px - 16px) * var(--fluid-progress));
border-radius: 20px;
border: 1px solid #ddd;
}
.child_page_list_item{flex-flow: column; display: flex;}
@media (width >= 900px) {.child_page_list_item{flex-flow: row; gap: 24px; display: flex;}
.child_page_image{width: 50%; max-width: 100%;}
}
/* 管理画面の「記事一覧の画像比率」と対応 */
.child_page_image.ratio-square {
	aspect-ratio: 1 / 1;
}

.child_page_image.ratio-4-3 {
	aspect-ratio: 4 / 3;
}

.child_page_image.ratio-3-2 {
	aspect-ratio: 3 / 2;
}

.child_page_image.ratio-16-9 {
	aspect-ratio: 16 / 9;
}

.child_page_image.ratio-3-4 {
	aspect-ratio: 3 / 4;
}

.child_page_image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.child_page_content{gap: calc(16px + (24px - 16px) * var(--fluid-progress)); flex-flow: column; display: flex;}
@media (width >= 900px) {.child_page_content{justify-content: center;}
}
.child_page_title{font-size: calc(20px + (22px - 20px) * var(--fluid-progress)); font-weight: 700;}
.child_page_list_item{gap:24px;}
.child_page_image{margin:0;min-width:0;}
.child_page_content{min-width:0;overflow-wrap:anywhere;}
@media(min-width:900px){
.child_page_list_item{display:grid;align-items: flex-start;
grid-template-columns: minmax(0, 40%) minmax(0, 1fr);}
.child_page_image{width:100%;}
.child_page_list_item:has(> .child_page_image:only-child){grid-template-columns:minmax(0,1fr);}
.child_page_image:only-child{grid-column:1;}
}
.child_page_content .gt-button {
    margin-top: inherit;
}

