/* ヘッダー */
.home_top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    gap: 15px;
    width: 100%;
    height: 100%;
}

.home_top #icon_space {
    margin-bottom: 25px;
}

.home_top h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100px;
    top: 0;
    font-size: 25px;
    color: #FAF2E9;
    background: rgba(150, 0, 50, 0.9);
}

.home_top p {
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
}

.specialemphasis {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin: 0 auto;
}

.specialemphasis li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    width: 200px;
    height: 200px;
    padding: 15px;
    text-align: center;
    background: linear-gradient(45deg, #fff564, transparent);
    border-radius: 100%;
}
/* ヘッダー */

/* キュリオステーション豊中店の魅力 */
#curio_attract {
    position: relative;
    margin: 0 auto;
    margin-top: 150px;
    padding-top: 150px;
    padding-bottom: 100px;
    z-index: 50;
    background: url(../image/curio_attract_background.jpg);
    background-size: cover;
    background-position: bottom;
}

#curio_attract h1 {
    width: min(900px, 90%);
    margin: 0 auto;
    margin-bottom: 50px;
    padding: 25px;
    font-size: 50px;
    line-height: 3.8rem;
    text-align: center;
    color: #f55;
    background: rgba(255,255,255,0.5);
    box-shadow: 0px 0px 20px 20px rgba(255,255,255,0.5);
    border-radius: 15px;
}

#curio_attract div {
    width: min(1200px, 90%);
    margin: 0 auto;
}

#curio_attract div span {
    font-size: 35px;
    font-weight: 800;
    color: #f55;
}

section#curio_introduction {
    margin: 150px auto;
    padding-bottom: 150px;
}

section#curio_introduction article {
    width: min(1200px, 95%);
    margin: 0 auto;
    margin-bottom: 150px;
    border-bottom: 10px dotted #960032;
}

section#curio_introduction article:nth-child(4) {
    margin-bottom: 0px;
}

section#curio_introduction h2 {
    position: relative;
    padding: 10px;
    margin: 15px auto;
    font-size: 25px;
    font-weight: 300;
    text-align: center;
    border-bottom: 10px solid #960032;
}

section#curio_introduction h2::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    bottom: -35px;
    left: 50%;
    border-style: solid;
    border-width: 15px 15px 15px 15px;
    border-color: #960032 transparent transparent transparent;
}

section#curio_introduction h3 {
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 25px;
    padding-left: 50px;
    font-size: 22px;
    font-weight: 400;
    line-height: 3rem;
    color: #fff;
    background: #960032;
    border-radius: 10px;
}

section#curio_introduction h3::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    left: 10px;
    background: #fff;
    border-radius: 100%;
}

.img_and_text {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

.text_box {
    width: min(700px, 100%);
    padding: 25px;
}

.img_and_text figure {
    position: relative;
    width: min(500px, 100%);
    margin-top: 25px;
}

.img_and_text figure::before {
    content: '';
    position: absolute;
    width: 50%;
    height: 50px;
    top: -25px;
    left: 25%;
    transform: skewY(-1.2deg);
    background: rgba(255,255,255,0.5);
}

.img_and_text figure img {
    border: 10px solid #fff;
}

section#curio_introduction article:nth-child(even) div {
    flex-direction: row-reverse;
}

.remarks {
    color: #960032;
    font-size: 18px;
    line-height: 1.5rem;
}

.img_and_text a {
    color: #960032;
    font-size: 26px;
}

.img_and_text a:hover {
    color: #f55;
}
/* キュリオステーション豊中店の魅力 */

/* お客様の声 */
section#customers_voice {
    position: relative;
    margin: 150px auto;
    padding: 150px 0;
    z-index: 50;
    color: #425742;
    background: url(../image/customers_voice_background.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: bottom;
}

section#customers_voice h2 {
    width: min(1200px, 95%);
    margin: 0 auto;
    font-size: 50px;
    font-weight: 800;
    line-height: 4rem;
    text-align: center;
}

section#customers_voice p {
    width: min(1200px, 95%);
    margin: 0 auto;
    text-align: center;
}

section#customers_voice ul {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: min(1200px, 95%);
    margin: 0 auto;
    margin-top: 40px;
}

section#customers_voice p:nth-child(4) {
    margin-top: 100px;
}

.sticky_note_style {
    position: relative;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
    background:
    repeating-linear-gradient(90deg,
    hsla(196,0%,79%,0.06) 0px, hsla(196,0%,79%,0.06) 1px,
    transparent 1px, transparent 96px),
    repeating-linear-gradient(0deg, 
    hsla(196,0%,79%,0.06) 0px, hsla(196,0%,79%,0.06) 1px,
    transparent 1px, transparent 96px),
    repeating-linear-gradient(0deg, 
    hsla(196,0%,79%,0.09) 0px, hsla(196,0%,79%,0.09) 1px,
    transparent 1px, transparent 12px),
    repeating-linear-gradient(90deg, 
    hsla(196,0%,79%,0.09) 0px, hsla(196,0%,79%,0.09) 1px,
    transparent 1px, transparent 12px),
    linear-gradient(90deg, 
    rgb(255,255,255),rgb(255,255,255));
}

.sticky_note_style {
    width: 350px;
    height: 350px;
    padding: 10px;
    margin: 10px 5px;
    line-height: 2.5rem;
}

.rounded_button_style {
    position: absolute;
    color: #fff;
    border-radius: 15px;
    background:
     repeating-linear-gradient(135deg, 
     rgba(0,0,0,0.03) 0px, rgba(0,0,0,0.03) 2px,
     transparent 2px, transparent 4px),
     linear-gradient(0deg, 
     rgb(18, 105, 233),rgb(166, 255, 155));
}

.rounded_button_style {
    margin-top: 15px;
    padding: 5px 10px;
    right: 5px;
    bottom: 10px;
    line-height: 1rem;
    font-size: 16px;
}

section#customers_voice .details_link a {
    width: 150px;
    line-height: 1rem;
    z-index: 99;
    text-align: center;
    color: #141;
    background: rgba(170,255,170,0.5);
    border: 2px solid #5c5;
}

section#customers_voice .details_link a::before {
    background: #8e8;
}

section#customers_voice .details_link a:hover {
    color: #141;
}
/* お客様の声 */

/* 新着情報 */
section#news_field {
    width: min(1200px, 95%);
    margin: 0 auto;
    padding: 150px 0;
    line-height: 3rem;
    text-align: center;
}

section#news_field h2 {
    width: min(500px, 95%);
    margin: 0 auto;
    font-size: 30px;
    font-weight: bold;
    line-height: 3rem;
    color: #3286ed;
    border-bottom: 1px solid;
}

#blog_filed {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 50px;
}

    /* ブログ記事表示用 */
.content_pack {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: min(100%, 380px);
    margin: 5px auto;
    border: 1px solid #9ac1f0;
}

.content_pack table {
    width: 90%;
    margin: 0 auto;
    line-height: 2rem;
}

.content_pack table th {
    width: 14%;
    border-bottom: 1px solid #79584A;
}

.content_pack table td {
    line-height: 3rem;
}

.content_pack img {
    object-fit: cover;
    width: 100%;
    max-width: 300px;
    height: 225px;
}

.post_content {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 400px;
    padding: 2%;
    line-height: 2.5rem;
    background: 
    repeating-linear-gradient(148deg, 
    hsla(54,0%,87%,0.12) 0px, hsla(54,0%,87%,0.12) 1px,
    transparent 1px, transparent 4px,
    hsla(54,0%,87%,0.12) 4px, hsla(54,0%,87%,0.12) 5px,
    transparent 5px, transparent 7px,
    hsla(54,0%,87%,0.12) 7px, hsla(54,0%,87%,0.12) 8px),
    repeating-linear-gradient(119deg, 
    hsla(54,0%,87%,0.12) 0px, hsla(54,0%,87%,0.12) 1px,
    transparent 1px, transparent 4px,
    hsla(54,0%,87%,0.12) 4px, hsla(54,0%,87%,0.12) 5px,
    transparent 5px, transparent 7px,
    hsla(54,0%,87%,0.12) 7px, hsla(54,0%,87%,0.12) 8px),
    repeating-linear-gradient(0deg, 
    hsla(54,0%,87%,0.15) 0px, hsla(54,0%,87%,0.15) 0px,
    transparent 0px, transparent 1px,
    hsla(54,0%,87%,0.15) 1px, hsla(54,0%,87%,0.15) 4px,
    transparent 4px, transparent 5px,
    hsla(54,0%,87%,0.15) 5px, hsla(54,0%,87%,0.15) 8px),
    repeating-linear-gradient(90deg, 
    hsla(54,0%,87%,0.15) 0px, hsla(54,0%,87%,0.15) 0px,
    transparent 0px, transparent 1px,
    hsla(54,0%,87%,0.15) 1px, hsla(54,0%,87%,0.15) 4px,
    transparent 4px, transparent 5px,
    hsla(54,0%,87%,0.15) 5px, hsla(54,0%,87%,0.15) 8px),
    linear-gradient(90deg, 
    rgb(251,251,251),rgb(251,251,251));
}

.post_content p {
    line-height: 1.5rem;
    text-align: left;
}

.post_date,
.category_url a {
    display: flex;
    justify-content: flex-end;
    padding-right: 10px;
    font-size: 16px;
    color: #FAF2E9;
    background: 
    linear-gradient(45deg, 
    rgb(144, 100, 159) 0%, rgb(144, 100, 159) 24%,
    rgb(112, 112, 163) 24%, rgb(112, 112, 163) 28%,
    rgb(79, 124, 166) 28%, rgb(79, 124, 166) 40%,
    rgb(47, 136, 170) 40%, rgb(47, 136, 170) 84%,
    rgb(14, 148, 173) 84%, rgb(14, 148, 173) 100%),
    linear-gradient(0deg, 
    rgb(144, 100, 159) 0%, rgb(144, 100, 159) 24%,
    rgb(112, 112, 163) 24%, rgb(112, 112, 163) 28%,
    rgb(79, 124, 166) 28%, rgb(79, 124, 166) 40%,
    rgb(47, 136, 170) 40%, rgb(47, 136, 170) 84%,
    rgb(14, 148, 173) 84%, rgb(14, 148, 173) 100%),
    linear-gradient(135deg, rgb(144, 100, 159) 0%, 
    rgb(144, 100, 159) 24%,rgb(112, 112, 163) 24%, 
    rgb(112, 112, 163) 28%,rgb(79, 124, 166) 28%, 
    rgb(79, 124, 166) 40%,rgb(47, 136, 170) 40%, 
    rgb(47, 136, 170) 84%,rgb(14, 148, 173) 84%, 
    rgb(14, 148, 173) 100%),
    linear-gradient(90deg, 
    rgb(79, 35, 157),rgb(43, 171, 222)); 
    background-blend-mode:overlay,overlay,overlay,normal;
}

.content_link {
    color: #3286ed;
}

.holiday_red {
    position: relative;
    width: 30px;
    height: 30px;
    color: #FAF2E9;
    z-index: 5;
}

.holiday_red::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    right: calc(calc(100% - 30px)/2);
    top: 0.5rem;
    z-index: -1;
    background: #f05050;
    border-radius: 50%;
}
    /* ブログ記事表示用 */

#blog_filed .content_pack:nth-child(n + 2) {
    border: 1px solid #cf182b;
}

#blog_filed .content_pack:nth-child(n + 2) .post_date,
#blog_filed .content_pack:nth-child(n + 2) .category_url a {
    background: 
    linear-gradient(45deg, 
    rgb(255,169,75) 0%, rgb(255,169,75) 24%,
    rgb(255,114,114) 24%, rgb(255,114,114) 28%,
    rgb(166,79,116) 28%, rgb(166,79,116) 40%,
    rgb(170,47,97) 40%, rgb(170,47,97) 84%,
    rgb(255,25,160) 84%, rgb(255,25,160) 100%),
    linear-gradient(0deg, 
    rgb(255,75,103) 0%, rgb(255,75,103) 24%,
    rgb(255,114,114) 24%, rgb(255,114,114) 28%,
    rgb(166,79,116) 28%, rgb(166,79,116) 40%,
    rgb(170,47,97) 40%, rgb(170,47,97) 84%,
    rgb(255,25,160) 84%, rgb(255,25,160) 100%),
    linear-gradient(135deg, 
    rgb(255,75,103) 0%, rgb(255,75,103) 24%,
    rgb(255,114,114) 24%, rgb(255,114,114) 28%,
    rgb(166,79,116) 28%, rgb(166,79,116) 40%,
    rgb(170,47,97) 40%, rgb(170,47,97) 84%,
    rgb(255,25,160) 84%, rgb(255,25,160) 100%),
    linear-gradient(90deg, 
    rgb(255,141,225),rgb(211,19,19)); 
    background-blend-mode:overlay,overlay,overlay,normal;
}

#blog_filed .content_pack:nth-child(n + 2) .content_link {
    color: #cf182b;
}
/* 新着情報 */

/* パソコン出張サービスもあります */
section#on_site_service {
    margin: 200px auto;
    padding: 150px 0;
    background: url(../image/onSiteService_background.jpg);
    background-attachment: fixed;
    background-size: cover;
}

section#on_site_service h2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 700px;
    margin: 20px auto;
    font-size: 35px;
    font-weight: 800;
    text-align: center;
}

.compact_button_style {
    padding: 3px 15px;
    font-size: 16px;
    color: #FAF2E9;
    line-height: 1.5rem;
    background: linear-gradient(#EAB9B4,#f05050);
    border-radius: 50px;
    box-shadow: 1px 2px 3px #b12b2b;
}

.service_overview {
    width: min(1050px, 95%);
    margin: 50px auto;
    margin-bottom: 50px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 0px 20px 0px rgba(255, 255, 255, 0.8);
    border-radius: 15px;
}

section#on_site_service 
.enclosure_line_style {
    position: relative;
    width: min(600px, calc(100% - 45px));
    margin: 50px auto;
    padding: 25px 50px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
}

section#on_site_service 
.enclosure_line_style::before,
section#on_site_service 
.enclosure_line_style::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -5;
    border: 1px dotted #fff;
}

section#on_site_service 
.enclosure_line_style::before {
    left: 5px;
    top: 5px;
}

section#on_site_service 
.enclosure_line_style::after {
    right: 5px;
    bottom: 5px;
}

.extra_service {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: min(750px, 95%);
    margin: 50px auto;
    padding: 25px;
    background: #FAF2E9;
    border-radius: 15px;
}

.extra_service::before {
    content: '';
    position: absolute;
    top: -10px;
    border-style: solid;
    border-width: 0px 15px 15px 15px;
    border-color: transparent transparent #FAF2E9 transparent;
}

.achievements_service {
    margin: 0 auto;
}

.achievements_service h3 {
    width: 100%;
    padding: 25px;
    font-size: 30px;
    font-weight: 600;
    color: #FAF2E9;
    background: #101050;
    text-align: center;
}

.achievements_service table {
    width: min(700px, 95%);
    margin: 50px auto;
    line-height: 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
}

.achievements_service table th,
.achievements_service table td {
    position: relative;
    border: none;
    border-bottom: 1px solid #79584A;
}

.achievements_service table td::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    left: 0;
    bottom: -0.3rem;
    background: #79584A;
    transform: rotate(45deg);
}
/* パソコン出張サービスもあります */

/* 問題集 */
#exercise_books {
    width: 100%;
    margin: 100px auto;
    padding: 150px 0;
}

#exercise_books .details_link a {
    width: 200px;
    line-height: 1rem;
}
/* 問題集 */

/* 講座 */
article.event_space {
    width: 100%;
    padding: 100px 0;
	background-color: #fefefe;
	background-image:
		linear-gradient(30deg, #DDDDDD 12%, transparent 12.5%,
			transparent 87%, #DDDDDD 87.5%, #DDDDDD), 
		linear-gradient(150deg, #DDDDDD 12%, transparent 12.5%,
			transparent 87%, #DDDDDD 87.5%, #DDDDDD), 
		linear-gradient(30deg, #DDDDDD 12%, transparent 12.5%,
			transparent 87%, #DDDDDD 87.5%, #DDDDDD),
		linear-gradient(150deg, #DDDDDD 12%, transparent 12.5%,
			transparent 87%, #DDDDDD 87.5%, #DDDDDD),
		linear-gradient(60deg, #DDDDDD77 25%, transparent 25.5%,
			transparent 75%, #DDDDDD77 75%, #DDDDDD77),
		linear-gradient(60deg, #DDDDDD77 25%, transparent 25.5%,
			transparent 75%, #DDDDDD77 75%, #DDDDDD77);
	background-size: 48px 84px;
	background-position: 0 0, 0 0, 24px 42px, 24px 42px, 0 0, 24px 42px;
}

.event_space p {
	padding: 15px 0;
    line-height: 1.8rem;
}

.event_space div {
	display: flex;
	flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    width: min(1200px, 95%);
    margin: 0 auto;
    padding: 50px 0;
    background: rgba(255, 255, 255, 0.8)
}
.event_space .line_style {
	width: 100%;
    padding: 15px 0;
    line-height: 1.5rem;
    color: rgb(250, 233, 242);
    background: rgb(221, 0, 0);
}

.event_space ul {
    width: min(700px, 95%);
    margin: 30px auto;
}

.event_space ul li {
    position: relative;
    margin-left: 35px;
    line-height: 1.8rem;
}

.event_space ul li::before {
    content: "●";
    position: absolute;
    margin-right: 5px;
    left: -30px;
    color: rgb(238, 0, 170);
}

.event_space .details_link a {
    width: 250px;
    margin: 25px auto;
    padding: 0px 25px;
    z-index: 50;
    line-height: 3rem;
    color: rgb(250, 233, 242);
    background: rgb(221, 0, 0);
    border: none;
    transition: 0.5s;
}

.event_space .details_link a::before {
    background: #e0a;
}
/* 講座 */

/* 768px以下 */
@media screen and (max-width:768px) {
    .home_top h1 {
        position: absolute;
		top: auto;
        bottom: 0;
        font-size: min(25px, 6vw);
    }

    .text_box {
        padding: 0;
    }

    #free_trial h3 {
        font-size: 30px;
    }
}

@media screen and (max-width:768px) and (max-height:990px) {
    header {
        min-height: 990px;
        height: min(calc(100vh + 315px), 990px);
    }

    .eye_catching {
        height: 100%;
    }

    .home_top {
        justify-content: flex-start;
    }
	
	.specialemphasis {
        flex-direction: column;
		justify-content: center;
		gap: 15px;
        padding-top: 65px;
	}
}

@media screen and (max-height:585px) {
    .home_top {
        padding-bottom: 100px;
    }

    .home_top h1 {
        position: absolute;
		top: auto;
        bottom: 0;
    }

    .specialemphasis {
		justify-content: center;
		gap: 15px;
        padding-top: 65px;
	}
}
