/* ========================================
おはV素材屋さん
style.css
======================================== */

/* ---------- Base ---------- */

* {
  box-sizing: border-box;
  }

html {
scroll-behavior: smooth;
}

body {
margin: 0;
color: #514958;
background: #fffafd;
font-family:
-apple-system,
BlinkMacSystemFont,
"Hiragino Kaku Gothic ProN",
"Yu Gothic",
Meiryo,
sans-serif;
line-height: 1.7;
}

a {
color: inherit;
text-decoration: none;
}

button {
font-family: inherit;
}

.sp-only {
display: none;
}

/* ---------- Header ---------- */

.site-header {
position: sticky;
top: 0;
z-index: 100;
background: rgba(255, 250, 253, 0.94);
border-bottom: 1px solid #f2e8ef;
backdrop-filter: blur(10px);
}

.header-inner {
width: min(1180px, calc(100% - 40px));
height: 76px;
margin: auto;

display: flex;
align-items: center;
justify-content: space-between;

}

.logo {
display: flex;
align-items: center;
gap: 10px;
}

.logo-icon {
width: 42px;
height: 42px;
display: grid;
place-items: center;
background: #ffe58e;
border-radius: 50%;
font-size: 22px;
}
.logo-icon img {
border-radius: 50%;
width: inherit;
}


.logo strong {
display: block;
font-size: 16px;
line-height: 1.2;
}

.logo small {
display: block;
margin-top: 3px;
color: #b6a9b3;
font-size: 10px;
letter-spacing: 1.5px;
}

.nav {
display: flex;
gap: 32px;
font-size: 13px;
font-weight: bold;
}

.nav a {
transition: color .2s;
}

.nav a:hover {
color: #e78faf;
}

.menu-button {
display: none;
}

/* ---------- Hero ---------- */

.hero {
overflow: hidden;
background:
radial-gradient(circle at 85% 30%, #fff2b8 0, #fff2b800 20%),
linear-gradient(135deg, #fff7fa, #fffdf4);
}

.hero-inner {
width: min(1180px, calc(100% - 40px));
min-height: 520px;
margin: auto;
display: flex;
align-items: center;
justify-content: space-between;
}

.hero-text {
padding: 70px 0;
}

.hero-label,
.section-label {
color: #e58aa8;
font-size: 11px;
font-weight: 800;
letter-spacing: 2.5px;
}

.hero h1 {
margin: 18px 0;

color: #4d4652;
font-size: clamp(38px, 5vw, 62px);
line-height: 1.3;
letter-spacing: -.04em;

}

.hero h1 span {
color: #e58aa8;
}

.hero p {
margin-bottom: 30px;

color: #837984;
font-size: 15px;

}

.hero-button {
display: inline-flex;
align-items: center;
gap: 20px;
padding: 13px 20px 13px 24px;
color: #fff;
background: #e58aa8;
border-radius: 999px;
box-shadow: 0 8px 20px rgba(229, 138, 168, .25);
font-size: 13px;
font-weight: bold;
transition: transform .2s, box-shadow .2s;
}

.hero-button:hover {
transform: translateY(-2px);
box-shadow: 0 12px 25px rgba(229, 138, 168, .3);
}

.hero-button span {
width: 28px;
height: 28px;
display: grid;
place-items: center;
background: #fff;
color: #e58aa8;
border-radius: 50%;
}

/* Hero illustration */

.hero-decoration {
position: relative;
width: 470px;
height: 400px;
}

.hero-card {
position: absolute;
left: 80px;
top: 65px;
width: 300px;
height: 300px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: #fff;
border: 10px solid #fff4f7;
border-radius: 35px;
box-shadow: 0 25px 60px rgba(90, 70, 80, .12);
transform: rotate(4deg);
}

.hero-card span {
color: #e58aa8;
font-size: 16px;
font-weight: bold;
}

.hero-card strong {
margin: 8px 0;
color: #59505c;
font-size: 42px;
line-height: 1;
letter-spacing: 2px;
text-align: center;
}

.hero-card small {
color: #b6a9b3;
font-size: 12px;
}

.sun {
position: absolute;
right: 20px;
top: 5px;

color: #f6c948;
font-size: 55px;

animation: float 4s ease-in-out infinite;

}

.cloud {
position: absolute;
color: #fff;
font-size: 60px;
filter: drop-shadow(0 8px 8px rgba(90,70,80,.08));
}

.cloud-1 {
left: 20px;
top: 40px;
}

.cloud-2 {
right: 10px;
bottom: 25px;
}

@keyframes float {
0%, 100% {
transform: translateY(0);
}

50% {
    transform: translateY(-10px);
}

}

/* ---------- Sections ---------- */

.section-inner {
width: min(1180px, calc(100% - 40px));
margin: auto;
}

.category-section,
.materials-section,
.about-section,
.creator-section {
padding: 90px 0;
}

.category-section {
background: #fff;
}

.section-heading {
display: flex;
justify-content: space-between;
align-items: end;
margin-bottom: 35px;
}

.section-heading h2 {
margin: 5px 0 0;

color: #4d4652;
font-size: 30px;
letter-spacing: -.03em;

}

.section-heading p {
margin: 0;
color: #a59ba5;
font-size: 13px;
}

/* ---------- Category ---------- */

.category-list {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 15px;
}

.category-item {
padding: 25px 15px;
display: flex;
flex-direction: column;
align-items: center;
background: #fffafd;
border: 1px solid #f2e7ed;
border-radius: 18px;
transition: transform .2s, box-shadow .2s;
}

.category-item:hover {
transform: translateY(-4px);
box-shadow: 0 10px 25px rgba(90,70,80,.08);
}

.category-icon {
margin-bottom: 8px;
font-size: 28px;
}

.category-item strong {
font-size: 13px;
}

.category-item small {
margin-top: 3px;
color: #b7adb6;
font-size: 10px;
}

/* ---------- Materials ---------- */

.materials-section {
background: #fff8fb;
}

.material-heading {
margin-bottom: 20px;
}

.more-link,
.text-link {
color: #df82a3;
font-size: 12px;
font-weight: bold;
}

.filter {
display: flex;
gap: 8px;
margin-bottom: 30px;
flex-wrap: wrap;
}

.filter-button {
padding: 8px 17px;
color: #9c919b;
background: #fff;
border: 1px solid #eee2e9;
border-radius: 999px;
cursor: pointer;
font-size: 11px;
}

.filter-button.active,
.filter-button:hover {
color: #fff;
background: #e58aa8;
border-color: #e58aa8;
}

/* Material cards */

.material-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
}
.material-grid.grid4 {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 25px;
}
.material-card {
overflow: hidden;
background: #fff;
border: 1px solid #f0e6eb;
border-radius: 18px;
box-shadow: 0 5px 20px rgba(80,60,70,.04);
}

.material-image {
position: relative;
aspect-ratio: 1 / 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
overflow: hidden;
}

.material-image::after {
}

.image-pink {
background: #f9dce7;
}

.image-blue {
background: #d9ebf7;
}

.image-yellow {
background: #faedb9;
}

.image-purple {
background: #e4d9f1;
}

.image-green {
background: #dcebdc;
}

.image-orange {
background: #f8dcc5;
}

.image-text {
color: rgba(255,255,255,.85);
font-size: 30px;
font-weight: 900;
line-height: .95;
letter-spacing: 2px;
text-align: center;
}

.image-text img{
width: 100%;
}
.material-image small {
margin-top: 12px;
color: rgba(80,70,80,.55);
font-size: 11px;
font-weight: bold;
}

.material-info {
min-height: 80px;
padding: 14px 16px;
display: flex;
justify-content: space-between;
align-items: center;
}

.material-info h3 {
margin: 0 0 3px;
color: #5a525c;
font-size: 13px;
}

.material-info span {
color: #aaa0aa;
font-size: 10px;
}

.download-button {
width: 38px;
height: 38px;
display: grid;
place-items: center;
color: #df82a3;
background: #fff2f6;
border-radius: 50%;
font-size: 17px;
}

/* ---------- About ---------- */

.about-section {
background: #fff;
}

.about-box {
display: flex;
align-items: center;
gap: 50px;
padding: 55px;
background: #fff7fa;
border-radius: 25px;
}

.about-icon {
width: 120px;
height: 120px;
flex: 0 0 120px;
display: grid;
place-items: center;
color: #e58aa8;
background: #fff;
border-radius: 50%;
font-size: 45px;
}

.about-box h2 {
margin: 8px 0 15px;
color: #514955;
font-size: 27px;
line-height: 1.5;
}

.about-box p {
max-width: 650px;
color: #8f858e;
font-size: 13px;
}

/* ---------- Creator ---------- */

.creator-section {
padding-top: 30px;
background: #fff;
}

.creator-card {
display: flex;
align-items: center;
gap: 25px;

max-width: 700px;
margin: auto;
padding: 30px;
border: 1px solid #f1e5eb;
border-radius: 20px;
}

.creator-avatar {
width: 80px;
height: 80px;
flex: 0 0 80px;
display: grid;
place-items: center;
background: #fff1b7;
border-radius: 50%;
font-size: 36px;
}

.creator-avatar img {
border-radius: 50%;
width: inherit;
}

.creator-info h2 {
margin: 3px 0 5px;
color: #544c56;
font-size: 18px;
}

.creator-info p {
margin: 0 0 8px;
color: #938893;
font-size: 12px;
}

/* ---------- Footer ---------- */

.site-footer {
padding: 45px 0;
color: #aaa0aa;
background: #514955;
}

.footer-inner {
width: min(1180px, calc(100% - 40px));
margin: auto;
display: flex;
align-items: center;
justify-content: space-between;
}

.footer-logo {
color: #fff;
font-size: 13px;
font-weight: bold;
}

.footer-links {
display: flex;
gap: 25px;
font-size: 11px;
}

.footer-links a:hover {
color: #fff;
}

.site-footer p {
margin: 0;
font-size: 10px;
}

/* ========================================
Terms / Text Page
======================================== */

.terms-section {
padding: 80px 0 100px;
background: #fff8fb;
}

/* ---------- Page Header ---------- */

.terms-header {
margin-bottom: 45px;
text-align: center;
}

.terms-header h1 {
margin: 8px 0 12px;
color: #4d4652;
font-size: 36px;
letter-spacing: -.04em;
}

.terms-header p {
margin: 0;
color: #9a9099;
font-size: 13px;
line-height: 1.9;
}

/* ---------- Content ---------- */

.terms-content {
width: min(820px, 100%);
margin: auto;
padding: 55px 65px;
background: #fff;
border: 1px solid #f0e5eb;
border-radius: 22px;
box-shadow: 0 8px 30px rgba(80, 60, 70, .04);
color: #756c75;
font-size: 13px;
line-height: 2;
background-color: #fff;
}

.terms-content a {
color: #ff3333;
}

.terms-content > p:first-child {
margin-top: 0;
}

/* ---------- Headings ---------- */

.terms-content h2 {
margin: 55px 0 20px;
padding-bottom: 10px;
color: #514955;
border-bottom: 2px solid #f5dce6;
font-size: 20px;
line-height: 1.5;
}

.terms-content h2:first-of-type {
margin-top: 45px;
}

.terms-content h3 {
position: relative;
margin: 30px 0 8px;
padding-left: 15px;
color: #5b535c;
font-size: 15px;
line-height: 1.6;
}

.terms-content h3::before {
content: "";
position: absolute;
left: 0;
top: .45em;
width: 5px;
height: 1em;
background: #e58aa8;
border-radius: 999px;
}

/* ---------- Paragraph ---------- */

.terms-content p {
margin: 0 0 18px;
}

/* ---------- List ---------- */

.terms-content ul {
margin: 15px 0 20px;
padding: 18px 25px 18px 43px;
background: #fff9fb;
border-radius: 12px;
}

.terms-content li {
margin: 3px 0;
padding-left: 3px;
}

/* ---------- Notice ---------- */

.terms-note {
margin: 25px 0;
padding: 20px 25px;
background: #fff5f8;
border-left: 4px solid #e58aa8;
border-radius: 0 12px 12px 0;
}

.terms-note strong {
display: block;
margin-bottom: 5px;
color: #d9799b;
}

.terms-note p {
margin: 0;
}

/* ---------- OK Box ---------- */

.terms-ok {
display: flex;
gap: 12px;
align-items: flex-start;
margin: 25px 0;
padding: 18px 22px;
background: #f7fbf5;
border: 1px solid #e1efdc;
border-radius: 12px;

}

.terms-ok span {
width: 24px;
height: 24px;
flex: 0 0 24px;
display: grid;
place-items: center;
color: #fff;
background: #9bc78e;
border-radius: 50%;
font-size: 13px;
font-weight: bold;
}

.terms-ok p {
margin: 0;
}

/* ---------- Footer Message ---------- */

.terms-footer {
margin-top: 60px;
padding-top: 35px;
text-align: center;
border-top: 1px solid #f0e5eb;
}

.terms-footer p {
margin-bottom: 4px;
color: #df82a3;
font-size: 14px;
font-weight: bold;
}

.terms-footer span {
color: #aaa0aa;
font-size: 11px;
}


/* ========================================
Responsive
======================================== */

@media (max-width: 800px) {

.terms-section {
    padding: 55px 0 70px;
}

.terms-header {
    margin-bottom: 30px;
}

.terms-header h1 {
    font-size: 30px;
}

.pc-only {
    display: none;
}

.terms-content {
    padding: 35px 25px;
    border-radius: 17px;
    font-size: 13px;
    line-height: 1.9;
}

.terms-content h2 {
    margin-top: 45px;
    font-size: 18px;
}

.terms-content h3 {
    font-size: 14px;
}

.terms-content ul {
    padding: 15px 18px 15px 35px;
}

.terms-note,
.terms-ok {
    padding: 16px 18px;
}

}


/* ---------- Responsive ---------- */

@media (max-width: 800px) {

.header-inner {
    height: 65px;
    width: calc(100% - 30px);
}

.nav {
    display: none;
}

.menu-button {
    display: block;

    padding: 8px;

    color: #665c66;
    background: none;
    border: 0;

    font-size: 20px;
}

.hero-inner {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
}

.hero-text {
    padding: 55px 0 20px;
}

.hero h1 {
    font-size: 42px;
}

.sp-only {
    display: block;
}

.hero-decoration {
    width: 100%;
    height: 300px;
}

.hero-card {
    left: 50%;
    top: 15px;
    width: 230px;
    height: 230px;
    transform: translateX(-50%) rotate(4deg);
}

.hero-card strong {
    font-size: 32px;
}

.sun {
    right: 5%;
    top: 0;
    font-size: 42px;
}

.cloud-1 {
    left: 5%;
    top: 20px;
    font-size: 45px;
}

.cloud-2 {
    right: 3%;
    bottom: 10px;
    font-size: 45px;
}

.category-section,
.materials-section,
.about-section,
.creator-section {
    padding: 60px 0;
}

.section-inner {
    width: calc(100% - 30px);
}

.section-heading {
    display: block;
}

.section-heading p {
    margin-top: 10px;
}

.section-heading h2 {
    font-size: 25px;
}

.category-list {
    grid-template-columns: repeat(2, 1fr);
}

.category-item:last-child {
    /*grid-column: span 2;*/
}

.material-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}


.material-info {
    min-height: 70px;
    padding: 10px;
}

.material-info h3 {
    font-size: 11px;
}

.material-info span {
    font-size: 9px;
}

.download-button {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.about-box {
    display: block;
    padding: 35px 25px;
}

.about-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    font-size: 30px;
}

.about-box h2 {
    font-size: 22px;
}

.creator-card {
    padding: 22px;
}

.footer-inner {
    flex-direction: column;
    gap: 18px;
}

}

/* ---------- Small smartphone ---------- */

@media (max-width: 420px) {

.hero h1 {
    font-size: 36px;
}

.material-grid {
    grid-template-columns: 1fr 1fr;
}

.material-image .image-text {
    font-size: 22px;
}

.category-item {
    padding: 20px 10px;
}

}



/* ========================================
Search Form
======================================== */

.search-box-section {
padding: 75px 0 65px;
background:
    radial-gradient(circle at 15% 30%, #fff1b8 0, #fff1b800 16%),
    radial-gradient(circle at 85% 70%, #f9dce8 0, #f9dce800 20%),
    #fff8fb;
}

/* ---------- Search Box ---------- */

.search-box {
position: relative;
width: min(760px, 100%);
margin: auto;
padding: 45px 55px 35px;
background: #fff;
border: 1px solid #f1e5eb;
border-radius: 28px;
box-shadow: 0 15px 45px rgba(80, 60, 70, .07);
text-align: center;
}

/* ---------- Icon ---------- */

.search-box-icon {
position: absolute;
right: 32px;
top: 25px;
width: 46px;
height: 46px;
display: grid;
place-items: center;
background: #fff5b9;
border-radius: 50%;
font-size: 20px;
transform: rotate(8deg);
}

/* ---------- Title ---------- */

.search-box-title h1 {
margin: 6px 0 8px;
color: #4d4652;
font-size: 30px;
letter-spacing: -.04em;
}

.search-box-title p {
margin: 0 0 25px;
color: #a097a0;
font-size: 12px;
}

/* ---------- Form ---------- */

.material-search {
display: flex;
gap: 10px;
align-items: stretch;
}

/* ---------- Input ---------- */

.search-input-wrap {
position: relative;
flex: 1;
display: flex;
align-items: center;
}

.search-input-icon {
position: absolute;
left: 18px;
z-index: 1;

color: #d5cbd2;
font-size: 23px;
line-height: 1;
}

.search-input-wrap input {
width: 100%;
height: 54px;
padding: 0 45px;
color: #5c535d;
background: #fffafd;
border: 2px solid #f0e5eb;
border-radius: 16px;
outline: none;
font-family: inherit;
font-size: 13px;
transition:
    border-color .2s,
    box-shadow .2s,
    background .2s;
}

.search-input-wrap input::placeholder {
color: #c3b9c1;
}

.search-input-wrap input:focus {
background: #fff;
border-color: #e7a0b7;
box-shadow: 0 0 0 4px rgba(231, 160, 183, .12);
}

/* ---------- Clear ---------- */

.search-clear {
position: absolute;
right: 15px;
width: 25px;
height: 25px;
display: grid;
place-items: center;
color: #aaa0aa;
background: #eee8ec;
border-radius: 50%;
font-size: 16px;
line-height: 1;
transition: .2s;
}

.search-clear:hover {
color: #fff;
background: #e58aa8;
}

/* ---------- Submit ---------- */

.search-submit {
height: 54px;
display: flex;
align-items: center;
gap: 15px;
padding: 0 10px 0 20px;
color: #fff;
background: #e58aa8;
border: 0;
border-radius: 16px;
box-shadow: 0 7px 18px rgba(229, 138, 168, .22);
cursor: pointer;
font-family: inherit;
font-size: 12px;
font-weight: bold;
transition:
    transform .2s,
    box-shadow .2s,
    background .2s;
}

.search-submit strong {
width: 34px;
height: 34px;
display: grid;
place-items: center;
color: #e58aa8;
background: #fff;
border-radius: 50%;
font-size: 16px;
}

.search-submit:hover {
background: #df7e9f;
transform: translateY(-2px);
box-shadow: 0 10px 23px rgba(229, 138, 168, .28);
}

.search-submit:active {
transform: translateY(0);
}

/* ---------- Keywords ---------- */

.search-keywords {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 7px;
margin-top: 20px;
color: #aaa0aa;
font-size: 10px;
}

.search-keywords a {
padding: 4px 10px;
color: #a58d98;
background: #fff7fa;
border: 1px solid #f3e6ec;
border-radius: 999px;
transition: .2s;
}

.search-keywords a:hover {
color: #fff;
background: #e58aa8;
border-color: #e58aa8;
}

/* ========================================
Search Result
======================================== */

#materials {
padding-top: 70px;
}

/* ========================================
Responsive
======================================== */

@media (max-width: 800px) {

.search-box-section {
    padding: 50px 0 45px;
}

.search-box {
    padding: 38px 20px 28px;
    border-radius: 22px;
}

.search-box-icon {
    right: 20px;
    top: 20px;
    width: 38px;
    height: 38px;
    font-size: 16px;
}

.search-box-title h1 {
    font-size: 26px;
}

.search-box-title p {
    font-size: 11px;
}

.material-search {
    flex-direction: column;
    gap: 8px;
}

.search-submit {
    width: 100%;
    justify-content: space-between;
}

.search-keywords {
    margin-top: 17px;
}

}

/* ========================================
Pagination
======================================== */

.pagination {
display: flex;
justify-content: center;
align-items: center;
gap: 15px;
margin-top: 55px;
}

/* ---------- Prev / Next ---------- */

.page-button {
min-width: 120px;
height: 44px;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
color: #df82a3;
background: #fff;
border: 1px solid #f0dfe7;
border-radius: 999px;
font-size: 11px;
font-weight: bold;
transition:
    color .2s,
    background .2s,
    border-color .2s,
    transform .2s,
    box-shadow .2s;
}

.page-button span {
font-size: 16px;
line-height: 1;
}

.page-button:hover {
color: #fff;
background: #e58aa8;
border-color: #e58aa8;
transform: translateY(-2px);
box-shadow: 0 7px 18px rgba(229, 138, 168, .2);
}

/* ---------- Disabled ---------- */

.page-button.disabled {
color: #cfc7cd;
background: #faf8f9;
border-color: #eee8eb;
cursor: default;
}

.page-button.disabled:hover {
color: #cfc7cd;
background: #faf8f9;
border-color: #eee8eb;
transform: none;
box-shadow: none;
}

/* ---------- Page Numbers ---------- */

.page-number {
display: flex;
align-items: center;
gap: 5px;
}

.page-number a,
.page-current {
width: 38px;
height: 38px;
display: grid;
place-items: center;
border-radius: 50%;
font-size: 11px;
font-weight: bold;
}

/* Normal */
.page-number a {
color: #a69ca4;
background: transparent;
}

.page-number a:hover {
color: #df82a3;
background: #fff0f5;
}

/* Current */
.page-current {
color: #fff;
background: #e58aa8;
box-shadow: 0 5px 12px rgba(229, 138, 168, .2);
}

/* ========================================
Responsive
======================================== */

@media (max-width: 600px) {

.pagination {
    gap: 8px;
    margin-top: 40px;
}

.page-button {
    min-width: 44px;
    width: 44px;
    height: 44px;
    padding: 0;
}

.page-button strong {
    display: none;
}

.page-number {
    gap: 2px;
}

.page-number a,
.page-current {
    width: 34px;
    height: 34px;
}

}


/* ========================================
   Material Detail Card
======================================== */

.material-detail-card {
    display: flex;
    align-items: stretch;
    gap: 45px;
    margin-bottom: 60px;
    padding: 35px;
    background: #fff;
    border: 1px solid #f0dfe7;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(120, 80, 100, .05);
}

/* 左側の画像 */
.material-detail-image {
    width: 30%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff8fb;
    border-radius: 20px;
    padding: 20px;
    overflow: hidden;
}

.material-detail-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
}

/* 右側 */
.material-detail-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 10px 10px 0;
}

.material-detail-info .section-label {
    margin-bottom: 8px;
}

.material-detail-info h1 {
    margin: 0 0 20px;
    color: #514850;
    font-size: 28px;
    line-height: 1.5;
}

.material-detail-info p {
    margin: 0;
    color: #827780;
    font-size: 14px;
    line-height: 2;
}
.material-detail-info p a {
    color: #ff3333;
}

/* ダウンロードボタン */
.material-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-width: 220px;
    margin-top: auto;
    padding: 15px 22px;
    color: #fff;
    background: #e58aa8;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 8px 18px rgba(229, 138, 168, .2);
    transition: .2s;
}

.material-download strong {
    color: #fff;
    font-size: 18px;
    line-height: 1;
}

.material-download:hover {
    color: #fff;
    background: #d97898;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(229, 138, 168, .28);
}

/* スマホ */
@media (max-width: 800px) {

    .material-detail-card {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 45px;
        padding: 20px;
        border-radius: 22px;
    }

    .material-detail-image {
        width: 100%;
        min-height: 250px;
        max-height: 400px;
        padding: 15px;
    }

    .material-detail-image img {
        max-height: 360px;
    }

    .material-detail-info {
        padding: 0 5px 5px;
    }

    .material-detail-info h1 {
        font-size: 23px;
        margin-bottom: 15px;
    }

    .material-detail-info p {
        font-size: 13px;
        line-height: 1.9;
    }

    .material-download {
        width: 100%;
        margin-top: 25px;
    }
}

