styles.css•6.75 kB
/* グローバルスタイル */
:root {
--primary-color: #0066cc;
--secondary-color: #004d99;
--accent-color: #ff9900;
--text-color: #333333;
--light-gray: #f5f5f5;
--dark-gray: #666666;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Helvetica Neue', Arial, sans-serif;
line-height: 1.6;
color: var(--text-color);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* ヘッダースタイル */
.header {
background-color: white;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
}
.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
max-width: 1200px;
margin: 0 auto;
}
.logo h1 {
font-size: 1.8rem;
color: var(--primary-color);
}
.nav-menu {
display: flex;
list-style: none;
}
.nav-menu li {
margin-left: 2rem;
}
.nav-menu a {
text-decoration: none;
color: var(--text-color);
font-weight: 500;
transition: color 0.3s;
}
.nav-menu a:hover {
color: var(--primary-color);
}
/* ヒーローセクション */
.hero {
background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../assets/hero-bg.jpg');
background-size: cover;
background-position: center;
height: 100vh;
display: flex;
align-items: center;
text-align: center;
color: white;
margin-top: 60px;
}
.hero-content {
width: 100%;
padding: 0 20px;
}
.hero-content h2 {
font-size: 3.5rem;
margin-bottom: 1rem;
}
.hero-content p {
font-size: 1.5rem;
margin-bottom: 2rem;
}
.cta-button {
display: inline-block;
padding: 1rem 2rem;
background-color: var(--accent-color);
color: white;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
transition: background-color 0.3s;
}
.cta-button:hover {
background-color: #e68a00;
}
/* セクション共通スタイル */
.section {
padding: 5rem 0;
}
.section-title {
text-align: center;
font-size: 2.5rem;
margin-bottom: 3rem;
color: var(--primary-color);
}
/* 企業情報セクション */
.about-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
text-align: center;
}
.about-item {
padding: 2rem;
background-color: var(--light-gray);
border-radius: 10px;
transition: transform 0.3s;
}
.about-item:hover {
transform: translateY(-5px);
}
.about-item i {
font-size: 2.5rem;
color: var(--primary-color);
margin-bottom: 1rem;
}
/* 事業内容セクション */
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.service-card {
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
transition: transform 0.3s;
}
.service-card:hover {
transform: translateY(-5px);
}
.service-card img {
width: 100%;
height: 200px;
object-fit: cover;
}
.service-card h3 {
padding: 1.5rem;
color: var(--primary-color);
}
.service-card p {
padding: 0 1.5rem 1.5rem;
color: var(--dark-gray);
}
/* 社内リソースセクション */
.resources-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}
.resource-item {
background: white;
padding: 2rem;
border-radius: 10px;
text-align: center;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
transition: transform 0.3s;
}
.resource-item:hover {
transform: translateY(-5px);
}
.resource-item i {
font-size: 2.5rem;
color: var(--primary-color);
margin-bottom: 1rem;
}
.resource-link {
display: inline-block;
margin-top: 1rem;
padding: 0.5rem 1rem;
background-color: var(--primary-color);
color: white;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
}
.resource-link:hover {
background-color: var(--secondary-color);
}
/* 採用情報セクション */
.careers-content {
text-align: center;
}
.careers-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-top: 2rem;
}
.career-position {
background: white;
padding: 2rem;
border-radius: 10px;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.position-link {
display: inline-block;
margin-top: 1rem;
padding: 0.5rem 1rem;
background-color: var(--primary-color);
color: white;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
}
.position-link:hover {
background-color: var(--secondary-color);
}
/* お問い合わせフォーム */
.contact-container {
max-width: 600px;
margin: 0 auto;
}
.contact-form {
background: white;
padding: 2rem;
border-radius: 10px;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.form-group {
margin-bottom: 1.5rem;
}
.form-group label {
display: block;
margin-bottom: 0.5rem;
color: var(--text-color);
}
.form-group input,
.form-group textarea {
width: 100%;
padding: 0.8rem;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 1rem;
}
.form-group textarea {
height: 150px;
resize: vertical;
}
.submit-button {
display: block;
width: 100%;
padding: 1rem;
background-color: var(--primary-color);
color: white;
border: none;
border-radius: 5px;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.3s;
}
.submit-button:hover {
background-color: var(--secondary-color);
}
/* フッター */
.footer {
background-color: #333;
color: white;
padding: 4rem 0 2rem;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}
.footer-section h3 {
margin-bottom: 1rem;
}
.social-links a {
color: white;
font-size: 1.5rem;
margin-right: 1rem;
transition: color 0.3s;
}
.social-links a:hover {
color: var(--accent-color);
}
.footer-bottom {
text-align: center;
padding-top: 2rem;
border-top: 1px solid rgba(255,255,255,0.1);
}
/* レスポンシブデザイン */
@media (max-width: 768px) {
.nav-container {
flex-direction: column;
text-align: center;
}
.nav-menu {
margin-top: 1rem;
flex-direction: column;
}
.nav-menu li {
margin: 0.5rem 0;
}
.hero-content h2 {
font-size: 2.5rem;
}
.hero-content p {
font-size: 1.2rem;
}
.section-title {
font-size: 2rem;
}
}