@charset "UTF-8";

/* --- Wrapper & Container --- */
.ed-wrapper {
    width: 100%;
    background-color: #FFFFFF;
    font-family: 'Noto Sans JP', sans-serif;
    color: #444A4D;
    display: flex;
    justify-content: center;
    padding-top: 200px;
    padding-bottom: 160px;
}

.ed-container {
    width: 100%;
    max-width: 780px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* --- Header Meta --- */
.ed-header-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
	transition: opacity 0.75s, translate 0.75s;
	opacity: 0;
	translate: 0 16px;
}

.ed-header-meta.slideIn {
  opacity: 1;
  translate: 0 0;
}

.ed-date {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.08em;
    color: #4D9EE8;
    line-height: 1;
}

.ed-category {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px 18px;
    background: #4D9EE8;
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    letter-spacing: 0.08em;
    line-height: 1;
}

/* --- Main Title --- */
.ed-main-title {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.4;
    color: #444A4D;
    margin-top: 0;
    margin-bottom: 40px;
    transition: clip-path 1s;
    transition-delay: 0.5s;
    clip-path: inset(0 100% 0 0);

}
.ed-main-title.showFromLeft {
    clip-path: inset(0);
}

/* --- Images --- */
.ed-main-image-container,
.ed-content-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.ed-main-image,
.ed-content-image {
    width: 100%;
    max-width: 712px;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
	
	transition: opacity 0.75s, translate 0.75s;
	opacity: 0;
	transition-delay: 0.5s;
	translate: 0 16px;
}

.ed-main-image.slideIn {
  opacity: 1;
  translate: 0 0;
}

.ed-content-image.slideIn {
  opacity: 1;
  translate: 0 0;
}

.ed-main-image img,
.ed-content-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Content Typography --- */
.ed-post-content {
    width: 100%;
	transition: opacity 0.75s, translate 0.75s;
	opacity: 0;
	transition-delay: 0.8s;
	translate: 0 16px;
}

.ed-post-content.slideIn {
  opacity: 1;
  translate: 0 0;
}


/* --- Paragraphs --- */
.ed-post-content p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: #444A4D;
    margin-bottom: 20px;
}

/* --- Link Styles --- */
.ed-link {
    font-weight: 700;
    color: #4D9EE8;
    text-decoration: underline;
    letter-spacing: 0.03em;
}

/* --- Emphasis Text (Bold, Blue, No Pointer) --- */
.ed-post-content .ed-text-emphasis {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    color: #4D9EE8;
    letter-spacing: 0.03em;
    display: inline;
}

/* --- External Link (Regular, Blue, Pointer) --- */
.ed-post-content .ed-external-link {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    color: #4D9EE8;
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.3s;
}

.ed-post-content .ed-external-link:hover {
    opacity: 0.7;
    text-decoration: none;
    color: #4D9EE8;
}

/* --- Headings --- */
.ed-h2-group {
    display: flex;
    align-items: flex-start;
    width: 100%;
    min-height: 84px;
    padding: 3px 0;
    border-bottom: 3px solid #4D9EE8;
    margin-top: 60px;
    margin-bottom: 24px;
    box-sizing: border-box;
    gap: 10px;
}

.ed-h2-group h2 {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.5;
    color: #444A4D;
    margin: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.ed-h3-group {
    position: relative;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 24px;
}

.ed-h3-group h3 {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.7;
    color: #444A4D;
    margin: 0 0 10px 0;
}

.ed-h3-underline {
    width: 100%;
    height: 3px;
    background: #EDEDED;
    position: relative;
}

.ed-h3-underline::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 85px;
    height: 3px;
    background: #4D9EE8;
}

.ed-post-content h4 {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.7;
    color: #444A4D;
    margin-top: 30px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    padding-left: 15px;
    position: relative;
}

.ed-post-content h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #4D9EE8;
}

/* --- Basic Lists (UL/OL) --- */
.ed-post-content ul:not(.ed-list-flex):not(.ed-list-sub):not(.ed-list-sub-nested),
.ed-post-content ol:not(.ed-list-flex):not(.ed-list-sub):not(.ed-list-sub-nested) {
    margin-bottom: 40px;
    padding-left: 0;
    list-style: none;
}

/* --- Unordered List (UL) - Blue Dots --- */
.ed-post-content ul:not(.ed-list-flex):not(.ed-list-sub):not(.ed-list-sub-nested) li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: #444A4D;
}

.ed-post-content ul:not(.ed-list-flex):not(.ed-list-sub):not(.ed-list-sub-nested) li::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 11px;
    width: 6px;
    height: 6px;
    background-color: #4D9EE8;
    border-radius: 50%;
}

.ed-post-content ul:not(.ed-list-flex):not(.ed-list-sub):not(.ed-list-sub-nested) ul {
    margin-top: 10px;
    margin-bottom: 0;
    padding-left: 20px;
}

/* --- Ordered List (OL) - Blue Numbers (01.02.03...) --- */
.ed-post-content ol:not(.ed-list-flex):not(.ed-list-sub):not(.ed-list-sub-nested) {
    counter-reset: ed-counter;
}

.ed-post-content ol:not(.ed-list-flex):not(.ed-list-sub):not(.ed-list-sub-nested) li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 10px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: #444A4D;
    counter-increment: ed-counter;
}

.ed-post-content ol:not(.ed-list-flex):not(.ed-list-sub):not(.ed-list-sub-nested) li::before {
    content: "0" counter(ed-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #4D9EE8;
    line-height: 1.7;
    width: 35px;
}

/* --- Quote Section (SVG Icons) --- */
.ed-quote-container {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 40px 80px;
    background: #EFF7FA;
    border-radius: 5px;
    margin: 40px 0;
}

.ed-quote-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.ed-quote-content p {
    margin: 0;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.7;
    color: #444A4D;
}

.ed-quote-source {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.7;
    text-decoration: underline;
    color: #4D9EE8;
    display: inline-block;
}

.ed-quote-icon-top,
.ed-quote-icon-bottom {
    position: absolute;
    width: 20px;
    height: 15px;
    background-repeat: no-repeat;
    background-size: contain;
}

.ed-quote-icon-top {
    left: 20px;
    top: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='15' viewBox='0 0 20 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 15L5 0H10L5 15H0ZM10 15L15 0H20L15 15H10Z' fill='%23C3E3F2'/%3E%3C/svg%3E");
}

.ed-quote-icon-bottom {
    right: 20px;
    bottom: 20px;
    transform: rotate(180deg);
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='15' viewBox='0 0 20 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 15L5 0H10L5 15H0ZM10 15L15 0H20L15 15H10Z' fill='%23C3E3F2'/%3E%3C/svg%3E");
}

/* --- List Container Resets -- */
.ed-list-flex,
.ed-list-sub,
.ed-list-sub-nested {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- Main List (Level 1) --- */
.ed-list-flex {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    margin-bottom: 40px;
}

/* --- List Item Row (Base) --- */
.ed-list-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
}

/* --- Level 2 Indentation --- */
.ed-list-indent {
    padding-left: 40px;
    box-sizing: border-box;
}

/* --- Number Column --- */
.ed-list-num {
    width: 35px;
    box-sizing: border-box;
    padding-right: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.7;
    color: #4D9EE8;
    flex-shrink: 0;
}

/* --- Text Column --- */
.ed-list-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: #444A4D;
    flex-grow: 1;
}

/* --- Sub List (Level 2: Dots) --- */
.ed-list-sub {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
    width: 100%;
}

/* --- Sub List Item Row --- */
.ed-list-sub-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
}

/* --- Dot Wrapper --- */
.ed-list-dot-wrap {
    width: 22px;
    box-sizing: border-box;
    padding-top: 11px;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 8px;
}

/* --- Dot Shape --- */
.ed-list-dot {
    display: block;
    width: 6px;
    height: 6px;
    background: #4D9EE8;
    border-radius: 50%;
}

/* --- Nested Sub List --- */
.ed-list-sub-nested {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    padding-left: 32px;
    box-sizing: border-box;
}

.ed-list-text .ed-list-sub,
.ed-list-text .ed-list-sub-nested {
    margin-bottom: 0;
}

/* --- Back Button --- */
.ed-back-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px 60px 12px 20px;
    gap: 30px;

    width: 250px;
    height: 58px;

    margin: 40px auto 0;

    background: #FFFFFF;
    border: 4px solid #4D9EE8;
    border-radius: 16px;

    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
	transition: opacity 0.75s, translate 0.75s;
	opacity: 0;
	transition-delay: 0.5s;
	translate: 0 16px;
}

.ed-back-btn.slideIn {
  opacity: 1;
  translate: 0 0;
}

/* --- Image Wrapper --- */
.ed-arrow-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    background: #FFFFFF;
    border-radius: 50%;
    transform: scaleX(-1);
}

/* --- Arrow Image --- */
.ed-arrow-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* --- Button Text --- */
.ed-btn-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0.05em;
    color: #4D9EE8;
}

/* --- Hover Effects --- */
.ed-back-btn:hover {
    background-color: #4D9EE8;
}

.ed-back-btn:hover .ed-btn-text {
    color: #FFFFFF;
}

.ed-back-btn:hover .ed-arrow-img-wrap {
    background-color: #FFFFFF;
}


@media (max-width: 1200px) {
    .ed-wrapper {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .ed-container {
        max-width: 335px;
    }
}