*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #f5f5f0;
    color: #333;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.al-page {
    --al-green: #3A5F2C;
    --al-green-light: #4A7A38;
    --al-white: #FFFFFF;
    --al-offwhite: #F5F5F0;
    --al-text: #333333;
    --al-text-sub: #666666;
    --al-border: #E0E0E0;
}

/* ─── Header Banner ─── */
.al-header {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.al-header .pw-header {
    padding: 10px 0 ;
    background-color: #FFF;
    margin-bottom: 15px;
}

.al-header .pw-header h1{
    margin: 0 auto;
    max-width: 1100px;
    text-align: left;
    background-color: #FFF;
}

.al-header .pw-header h1 img{
    max-width: 250px;
    height: auto;
}

.al-header > img {
    display: block;
    width: 100%;
    max-width: 1100px;
    height: auto;
    margin: auto;
}

@media (max-width: 767px) {
    .al-header .pw-header {
        margin-bottom: 0;
    }
    .al-header .pw-header h1{
        text-align: center;
    }
    .al-header .pw-header img {
        width: 150px;
    }
}

/* ─── Main Content ─── */
.al-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {

    .al-content {
        grid-template-columns: 1fr 320px;
        grid-template-areas:
            "description description"
            "main sidebar";
    }
    .al-description { grid-area: description; }
    .al-main        { grid-area: main; }
    .al-sidebar     { grid-area: sidebar; }
}

.al-description { margin: 0; }

/* ─── Section Heading ─── */
.al-section-heading {
    font-family: "Noto Serif JP", serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--al-text);
    padding-left: 16px;
    border-left: 4px solid var(--al-green);
    margin-bottom: 4px;
}

/* ─── Article List ─── */
.al-articles {
    display: flex;
    flex-direction: column;
}

.al-article-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--al-border);
    text-decoration: none;
    color: inherit;
}

.al-article-item:hover {
    background: var(--al-offwhite);
}

.al-article-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 72px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--al-green) 0%, var(--al-green-light) 100%);
}

.al-article-thumb:has(img) {
    background: none;
}

.al-article-thumb img {
    width: 100%;
    height: auto;
}

.al-article-thumb-text {
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.al-article-body {
    flex: 1;
    min-width: 0;
}

.al-article-date {
    display: block;
    font-size: 12px;
    color: var(--al-text-sub);
    margin-bottom: 6px;
}

.al-article-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--al-text);
}

.al-article-item:hover .al-article-title {
    color: var(--al-green);
}

/* ─── Sidebar ─── */
.al-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.al-sidebar-section h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--al-text);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--al-green);
    margin-bottom: 16px;
}

.al-fb-embed {
    width: 320px;
    height: 300px;
    margin: 0 auto;
    border: 1px solid var(--al-border);
    border-radius: 8px;
    background: var(--al-offwhite);
    overflow: hidden;
}

.al-fb-embed iframe {
    border: none;
    overflow: hidden;
    width: 100% !important;
    min-width: 0 !important;
    height: 300px;
}

.al-fb-btn {
    display: block;
    width: 100%;
    text-decoration: none;
}

.al-fb-btn .al-fb-banner{
    max-width: 100%;
}

.al-fb-btn:hover {
    opacity: 0.9;
}
.al-line-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: #06C755;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.al-line-btn:hover {
    opacity: 0.9;
}

.al-yt-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.al-yt-item {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    line-height: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.al-yt-item .al-yt-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.al-yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.al-yt-item:hover .al-yt-play {
    background: rgba(255, 0, 0, 1);
}

.al-yt-play::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 16px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
}

.al-yt-item iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
    display: block;
}

/* ─── Responsive ─── */
@media (max-width: 767px) {
    .al-article-thumb {
        width: 80px;
        height: 58px;
    }
}


/* pager */
.pageselect {
  margin:30px auto 50px;
  text-align: center;

  .page-numbers {
    background-color: #FFF;
    border: 1px solid #C9C9C9;
    padding: 8px 0;
    text-align: center;
    margin-right: 4px;
    font-size: 14px;
    width: 38px;
    color: $text-color;
    text-decoration: none;
    display: inline-block;
    transition: all .25s;
    margin-bottom: 10px;
  }

  .btn_next, .btn_prev {
    color: $text-color;
    display: inline-block;
    background-color: #FFF;
    border: 1px solid #C9C9C9;
    text-decoration: none;
    font-size: 14px;
    transition: all .25s;
    margin-bottom: 10px;
  }

  .btn_next{
    background: url("/assets/img/arrow_r_w-black.svg") 80% center no-repeat #FFF;
    background-size: 6px;
    padding: 8px 26px 8px 12px;
  }

  .btn_next:hover {
    background: url("/assets/img/arrow_r_w.svg") 80% center no-repeat #FFF;
    background-size: 6px;
    }

  .btn_prev{
    background: url("/assets/img/arrow_l_w-black.svg") 20% center no-repeat #FFF;
    background-size: 6px;
    margin-right: 8px;
    padding: 8px 12px 8px 26px;

  }
  .btn_prev:hover {
    background: url("/assets/img/arrow_l_w.svg") 20% center no-repeat #FFF;
    background-size: 6px;

    }
  .page-numbers:hover,
  .btn_prev:hover,
  .btn_next:hover {
    background-color: var(--al-green);
    border-color: var(--al-green);
    color: #fff;
    opacity: 1;
  }

  .current {
    background-color: #C9C9C9;
    border: 1px solid #C9C9C9;
    color: #FFF;
  }
}


/* footer */
#footer .inner {
    width: 1080px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}

div#SPfooter{
	display:none;
}

@media screen and (max-width: 767px) {

	div#PCfooter {
		display: none;
	}
	
	div#SPfooter{
		display:block;
	}
	
    footer.sp {
        padding: 10px 0;
        text-align: center;
        display: block;
        line-height: 1.2;
        font-size: 10px;
    }
}
