﻿@charset "UTF-8";

body {
	margin: 0 auto;
	max-width: 1000px;
	font-family: Arial, serif;
	background-color: #f7dc6f;
	color: #333333;
}

* {
	box-sizing: border-box;
}

h1,h2,h3,h4 {
	font-family: Georgia, serif;
	text-align: center;
	color: #ff5733;
}

a {
	text-decoration: none;
	color: #333333;
}

a:hover {
	text-decoration: underline;
	color: #aed6f1;
}

h1 a:hover {
	text-decoration: none;
	color: #aed6f1;
}

nav ul {
	list-style-type: none;
	display: flex;
	justify-content: center;
	padding: 0;
}

nav ul li {
	margin: 0 25px;
}

#container {
	display: flex;
	justify-content: space-evenly;
	border-top: 1px solid #ff5733;
	border-bottom: 1px solid #ff5733;
	padding: 25px 0 0 0;
}

#main {
	width: 80%;
	margin: 0 10px 0 0;
}

.main_about {
	display: flex;
	justify-content: space-evenly;
}

figure {
	width: 300px;
}

.img_area {
	max-width: 300px;
	height: 200px;
	background-color: #ffffff;
}

#main ul {
	list-style-type: none;
	padding: 0;
}

#main ul li {
	border-top: 1px dotted #ff5733;
	padding: 10px  0;
	margin: 0 25px;
}

#main ul li a {
	font-weight: bold;
}

#sub {
	width: 20%;
}

footer {
	text-align: center;
	padding: 0 0 25px 0;
}

footer ul {
	list-style-type: none;
	padding: 0;
	display: flex;
	justify-content: center;
}

footer ul li {
	margin: 0 25px;
}

footer div {
	margin: 25px 0;
}

.img_area02 {
	width: 200px;
	height: 150px;
	background-color: #fff;
}

.sns_area {
	display: flex;
	justify-content: center;
}

.img_area03 {
	width: 50px;
	height: 50px;
	background-color: #fff;
	margin: 0 10px;
}

/* メディアここから */

@media (max-width: 768px) {
    nav {
	margin: 0;
    }

    nav ul {
        flex-direction: row;
        align-items: center;
        gap: 10px; /* リスト間の余白 */
    }

    #container {
        flex-direction: column;
        align-items: center; /* 中央揃え */
    }

    #main, #sub {
        width: 100%; /* 幅を100%に設定 */
        margin: 0 auto; /* 余白をなくす */
	padding: 10px;
    }

    .main_about {
	display: flex;
	flex-direction: column;
	align-items: center;
    }

    footer ul {
        flex-direction: column;
        align-items: center;
        gap: 10px; /* リスト間の余白 */
    }

    .sns_area {
	display: flex;
	justify-content: center;
    }
}

/* レスポンシブここまで */

