* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    width: calc(100vw - calc(100vw - 100%));
    overflow-x: hidden;
    font-family: "Murecho", sans-serif;
    font-size: 20px;
    color: #500;
    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;
}

h1,h2,h3,h4,h5,h6 {
    font-family: "Rampart One", sans-serif;
    color: #f50;
}

/* header、footer */
header, 
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    text-align: center;
}

header {
    color: #fee;
    background: #d00;
}

footer{
    color: #fee;
    background: #d00;
}

/* リンクボタン */
.details_link a {
    display: flex;
    justify-content: space-evenly;
    position: relative;
    width: 250px;
    margin: 25px auto;
    padding: 0 25px;
    z-index: 50;
    line-height: 3rem;
    text-decoration: none;
    color: #fee;
    background: #d00;
    transition: all 0.5s;
}

.details_link a::before {
    content:'';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    z-index: -50;
    background: #f22;
    transition: all 0.5s;
}

.details_link a:hover {
    transition: all 0.5s;
}

.details_link a:hover::before {
    height: 0;
    transition: all 0.5s;
}

/* リスト装飾 */
ul li {
    position: relative;
    margin-left: 35px;
    line-height: 1.8rem;
}

ul li::before {
    content: '\025cf';
    position: absolute;
    margin-right: 5px;
    left: -30px;
    color: #d00;
}

/* 全体 */
section.landing_page {
    display: flex;
    flex-direction: column;
    align-items: center;
}

article {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-evenly;
}

/* ファーストビュー */
section.first_view {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    width: min(1200px, 95%);
    min-height: calc(100vh - 100px);
    margin: 25px auto;
    padding: calc(5% - 50px) 0;
    border-radius: 10px;
    background-image: repeating-linear-gradient(45deg, rgb(255,255,255) 0px, rgb(255,255,255) 10px,transparent 10px, transparent 11px),repeating-linear-gradient(135deg, rgb(255,255,255) 0px, rgb(255,255,255) 10px,transparent 10px, transparent 11px),linear-gradient(90deg, hsl(256,7%,84%),hsl(256,7%,84%));
}

h1.title_heading {
    margin: 0 auto;
    padding: 25px 0;
    font-size: min(70px, 15vw);
    font-weight: 600;
    line-height: 4rem;
    text-align: center;
}

section.first_view h2 {
    font-size: min(10vw, 50px);
    font-weight: 800;
    margin-bottom: 15px;
    text-align: center;
}

section .text_area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 800px;
    margin: 50px auto;
}
 
section .text_area strong {
    display: flex;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
    line-height: 2.5rem;
}

section ul {
    margin: 25px auto;
}

/* 講座内容 */
article.course_content {
	justify-content: center;
    position: relative;
    width: 100%;
	min-height: 100vh;
    margin: 0 auto;
    padding: 50px 0;
    background: rgba(240, 0, 0, 0.5);
}

article.course_content h2 {
    padding: 25px;
    font-size: min(50px, 12vw);
    text-align: center;
    color: #fee;
}

/* キュリオステーション豊中の宣伝 */
article.ad_style {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 50px 0;
    background: rgba(50, 0, 0, 0.8);
}

article.ad_style h2 {
    display: flex;
    justify-content: center;
    position: relative;
    width: min(700px, 95%);
    margin-bottom: 15px;
    padding: 25px 0;
    font-size: min(45px, 10vw);
    color: #fee;
}

article.ad_style h3 {
    position: relative;
    width: min(700px, 95%);
    margin-top: 50px;
    padding: 5px 0;
    font-size: min(35px, 6.5vw);
    color: #eef;
    text-align: center;
    border: 1px solid;
}

article.ad_style h3::before, 
article.ad_style h3::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 45px;
    top: 0;
    background:
     linear-gradient(45deg,
      #fee 10%, rgba(0,0,0,0)10%, 
      rgba(0,0,0,0) 50%, #fee 50%, 
      #fee 60%, rgba(0,0,0,0) 60%);
    background-size: 10px 10px;
}

article.ad_style h3::before {
    left: 0;
    border-right: 1px solid #fee;
}

article.ad_style h3::after {
    right: 0;
    border-left: 1px solid #fee;
}

article.ad_style .emphasis_letter {
    position: relative;
    width: min(700px, 95%);
    padding: 20px;
    line-height: 1.8rem;
    color: #fee;
    background: rgba(255,255,255,0.2);
    border: 10px double;
}

article.ad_style .emphasis_letter::before, 
article.ad_style .emphasis_letter::after {
    content: '';
    position: absolute;
    border-style: solid;
}

article.ad_style .emphasis_letter::before {
    bottom: 0;
    left: 0;
    border-width: 15px 15px 15px 0px;
    border-color: transparent transparent #fee transparent;
}

article.ad_style .emphasis_letter::after {
    top: 0;
    right: 0;
    border-width: 15px 0px 15px 15px;
    border-color: #fee transparent transparent transparent;
}

article.ad_style ul {
    width: min(700px, 95%);
    margin: 15px auto;
    color: #fee;
}

article.ad_style ul li::before {
    content: '\06DE';
    color: #fee;
}

.site_introduction {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    z-index: 100;
}

.site_introduction h4 {
    width: 100%;
    margin: 30px auto;
    color: #fee;
}

.site_tile_contents p {
    margin: 25px auto;
    text-align: center;
}

.site_introduction p a {
    padding: 15px;
    text-decoration: none;
    color: #fee;
    background: rgba(255,255,255,0.5);
    border: 2px solid #fee;
    border-radius: 5px;
    transition: all .5s;
}

.site_introduction p a:hover {
    background: rgba(255,255,255,0);
    transition: all .5s;
}
/* 講座詳細 */
article.course_details {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(850px, 95%);
    margin: 100px auto;
    padding: 25px;
    background: rgba(255,255,255,0.8);
}

article.course_details h2 {
    margin-top: 50px;
    font-weight: 800;
    font-size: min(35px, 10vw);
}

article.course_details h3 {
    font-weight: 800;
    font-size: min(30px, 8vw);
}

article.course_details h4 {
    font-size: 25px;
    padding-top: 25px;
    padding-left: 20px;
}


article.course_details ul:nth-child(2) {
    margin-top: 25px;
}

/* 装飾 */
.square_style_group {
    display: flex;
    position: relative;
    gap: 50px;
    margin: 25px auto;
}

.square_style {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    z-index: 1;
    color: #eef;
    background: #d00;
    border-top-left-radius: 20px;
    border-top-right-radius: 60px;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 50px;
}

.square_style::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    z-index: -1;
    background: #fcc;
    border-top-left-radius: 55px;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 60px;
    border-bottom-left-radius: 30px;
    opacity: 0.8;
}

.features_text {
    display: flex;
    position: relative;
    width: min(700px, 95%);
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 25px;
    padding: 15px;
    background: #eef;
    border: 1px solid #a00;
}

.features_text span {
    position: absolute;
    padding: 5px;
    top: -30px;
    left: 50px;
    font-weight: 600;
    line-height: 1.1rem;
    background: #eef;
    border: 1px solid #a00;
    border-radius: 0 5px 0 0;
}

.features_text::before {
    content: '特徴';
    position: absolute;
    padding: 5px;
    top: -30px;
    left: 0;
    color: #eef;
    background: #a00;
    border-radius: 5px 0 0 0;
}

.text_box {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    gap: 15px;
    width: min(750px, 95%);
}

.text_box strong {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 200px;
    margin: 5px 0;
    padding: 5px 0;
    top: 20px;
    color: #eef;
    background: #d00;
    border-radius: 10px;
}

.lesson_text {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 25px;
    width: 95%;
    margin: 0 auto;
    padding: 10px 0;
    border-top: 2px solid #d00;
}

.blank_space_text {
    margin-top: 25px;
}

/* 画像調整 */
.img_adjustment {
	display: flex;
    justify-content: space-around;
}

/* 768以下 */
@media screen and (max-width:768px) {
    article.ad_style h3::before, 
    article.ad_style h3::after {
        width: 2%;
        height: 100%;
    }   

}