/* フォントファイルの定義 */ @font-face { font-family: 'KsoKaisho'; src: url('../../assets/fonts/KsoKaisho.woff') format('woff'); font-weight: normal; font-style: normal; } @font-face { font-family: 'EnKaiSho'; src: url('../../assets/fonts/DF-EnKaiSho-W10.woff') format('woff'); font-weight: normal; font-style: normal; } body { margin: 0; } #main { width: 100%; margin: 0; .sp { display: none; } .contents_top { img { width: 100%; } } .contents_theme { width: 980px; margin: 50px auto; .theme_title { text-align: center; font-size: 30px; font-weight: bold; margin-top: 20px; } .theme_text { width: 800px; padding: 30px; margin: 0 auto; line-height: 1.7; text-align: center; font-size: 18px; } } .contents_goal { padding: 30px 0; .contents_header { width: 90%; max-width: 980px; margin: 30px auto; background: linear-gradient(to bottom, #E70012, #FCBF53); border-radius: 10px; color: #ffffff; .title { font-family: 'Helvetica LT Narrow', sans-serif; font-size: 5.5rem; font-weight: bold; margin: 0; text-align: center; letter-spacing: 1rem; -webkit-text-stroke: 2.5px #ffffff; span { font-size: 4.5rem; } } } h4 { font-size: 4rem; // font-weight: bold; text-align: center; margin: auto; text-align: center; font-family: 'EnKaiSho', sans-serif; background: linear-gradient(to bottom, #fffbc3, #f9f253); -webkit-background-clip: text; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1px #056b37; } .goal_box { width: 90%; max-width: 980px; margin: 30px auto; img { width: 100%; margin: 20px 0; } p { font-size: 1.7rem; padding: 40px 60px; -webkit-text-stroke: 1px #000000; span { color: #E70012; -webkit-text-stroke: 1px #E70012; } } } } .contents_photo { padding: 30px 0; .photo_items { width: 90%; max-width: 980px; margin: 30px auto; display: flex; justify-content: space-around; img { width: 30%; height: auto; } } } .theme_img { width: 980px; margin: 50px auto; display: flex; justify-content: center; .img_box { display: flex; justify-content: center; margin: 10px; img { width: 22%; height: auto; padding: 10px; } } } } @media (max-width: 768px) { #main { .sp { display: block; } .contents_top { margin-top: 80px; } .contents_theme { width: 100%; margin: 10px auto; .theme_title { font-size: 24px; } .theme_text { width: 90%; padding: 20px 0; font-size: 16px; text-align: left; } .theme_img { display: block; width: 100%; text-align: center; margin: 10px auto; .img_box { display: block; text-align: center; img { width: 40%; margin: 3px; } } } } .contents_goal { padding: 10px 0 30px 0; .contents_header { margin: 20px auto; border-radius: 5px; .title { font-size: 1.8rem; letter-spacing: 0.5rem; -webkit-text-stroke: 1px #ffffff; span { font-size: 1.5rem; } } } h4 { font-size: 1.7rem; } .goal_box { margin: 10px auto; img { margin: 10px 0; } p { font-size: 1rem; padding: 10px; -webkit-text-stroke: 0.5px #000000; span { color: #E70012; -webkit-text-stroke: 0.5px #E70012; } } } } .contents_photo { padding: 10px 0 30px 0; .photo_items { width: 90%; max-width: 980px; margin: 0px auto; display: flex; justify-content: space-around; img { width: 30%; height: auto; } } } } }