FE_Dev / server /lib /templates /template-generator.html
GitHub Actions
Deploy from GitHub Actions [dev] - 2025-10-31 07:28:50
68f7925
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{{COMPANY_TITLE}}</title>
<style>
/* 基本スタイル */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family:
'YuGothic', 'Yu Gothic Medium', 'Yu Gothic', -apple-system, BlinkMacSystemFont, 'Roboto', 'Meiryo',
sans-serif;
line-height: 1.6;
color: #333;
background-color: #ffffff;
}
/* ヘッダー */
.header {
position: fixed;
top: 0;
left: 0;
width: 100%;
background: #fff;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
z-index: 1000;
padding: 15px 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 24px;
font-weight: bold;
color: #333;
}
.header-icons {
display: flex;
align-items: center;
gap: 20px;
}
.icon {
font-size: 20px;
cursor: pointer;
}
.hamburger {
display: flex;
flex-direction: column;
gap: 4px;
cursor: pointer;
}
.hamburger span {
width: 25px;
height: 3px;
background: #333;
transition: all 0.3s ease;
}
/* ヒーローセクション */
.hero-section {
margin-top: 70px;
padding: 50px 20px;
background: #f8f9fa;
}
.hero-container {
max-width: 1200px;
margin: 0 auto;
text-align: center;
}
.hero-title {
font-size: 48px;
font-weight: bold;
margin-bottom: 30px;
line-height: 1.2;
}
.hero-image-container {
margin: 30px 0;
}
.hero-image-frame {
position: relative;
display: inline-block;
max-width: 600px;
width: 100%;
}
.image-upload-container {
position: absolute;
top: 10px;
right: 10px;
z-index: 10;
}
.upload-button {
background: rgba(0, 0, 0, 0.7);
color: white;
border: none;
padding: 8px 16px;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
}
.upload-button:hover {
background: rgba(0, 0, 0, 0.8);
}
#imageUpload {
display: none;
}
.hero-image {
width: 100%;
height: auto;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* 機能 */
.features {
margin: 40px 0;
}
.features-container {
display: flex;
justify-content: center;
gap: 30px;
flex-wrap: wrap;
}
.feature-item {
display: flex;
align-items: center;
gap: 10px;
background: white;
padding: 20px 30px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.feature-number {
font-size: 24px;
font-weight: bold;
color: #06c755;
}
.feature-text {
font-size: 16px;
}
/* CTA */
.cta-section {
margin-top: 40px;
}
.cta-subtitle {
font-size: 16px;
color: #666;
margin-bottom: 10px;
}
.cta-button {
background: #06c755;
color: white;
border: none;
padding: 15px 40px;
font-size: 18px;
font-weight: bold;
border-radius: 30px;
cursor: pointer;
transition: all 0.3s ease;
}
.cta-button:hover {
background: #05a647;
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(6, 199, 85, 0.3);
}
/* フッター */
.footer {
background: #333;
color: white;
padding: 50px 20px 20px;
}
.back-to-top {
text-align: center;
margin-bottom: 30px;
}
.back-to-top button {
background: #555;
color: white;
border: none;
padding: 10px 20px;
border-radius: 4px;
cursor: pointer;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
}
.footer-logo {
text-align: center;
margin-bottom: 30px;
}
.footer-logo img {
height: 60px;
filter: brightness(0) invert(1);
}
.social-icons {
display: flex;
justify-content: center;
gap: 20px;
margin-bottom: 30px;
}
.social-icon {
font-size: 24px;
color: white;
}
.footer-nav {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.footer-nav-link {
color: white;
text-decoration: none;
display: flex;
justify-content: space-between;
align-items: center;
}
.footer-links {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
margin-bottom: 20px;
font-size: 14px;
}
.footer-link {
color: #ccc;
text-decoration: none;
}
.copyright {
text-align: center;
font-size: 14px;
color: #ccc;
padding-top: 20px;
border-top: 1px solid #555;
}
/* セクション共通 */
.innovation-section,
.ai-power-section,
.awards-section,
.global-strategy,
.usage-flow-section,
.product-details-section,
.simulation-section,
.special-offer-section,
.pricing-section,
.testimonials-section,
.media-coverage-section,
.comparison-section,
.staff-section,
.store-info-section,
.use-cases-section,
.generic-section {
padding: 60px 20px;
}
/* 各セクションのスタイル */
.innovation-container,
.ai-power-container,
.awards-container,
.global-strategy-container,
.usage-flow-container,
.product-details-container,
.simulation-container,
.special-offer-container,
.pricing-container,
.testimonials-container,
.media-coverage-container,
.comparison-container,
.staff-container,
.store-info-container,
.use-cases-container,
.generic-container {
max-width: 1200px;
margin: 0 auto;
}
/* タイトル共通 */
.innovation-title,
.ai-power-main-title,
.awards-main-title,
.global-strategy-title,
.usage-flow-title,
.product-details-title,
.simulation-title,
.special-offer-title,
.pricing-title,
.testimonials-title,
.media-coverage-title,
.comparison-title,
.staff-title,
.store-info-title,
.use-cases-title {
font-size: 36px;
font-weight: bold;
text-align: center;
margin-bottom: 40px;
}
/* カードスタイル */
.innovation-item,
.strategy-card,
.flow-step,
.product-detail-item {
background: white;
padding: 30px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
margin-bottom: 30px;
}
/* 画像スタイル */
.innovation-image,
.strategy-image,
.flow-image,
.product-detail-image {
width: 100%;
height: auto;
border-radius: 8px;
margin-bottom: 20px;
}
/* 番号スタイル */
.innovation-number,
.flow-number {
font-size: 48px;
font-weight: bold;
color: #06c755;
margin-bottom: 20px;
}
/* サブタイトル */
.innovation-subtitle,
.strategy-subtitle,
.flow-subtitle,
.product-detail-subtitle {
font-size: 24px;
font-weight: bold;
margin-bottom: 15px;
}
/* テキスト */
.innovation-text,
.strategy-text,
.flow-text,
.product-detail-text {
font-size: 16px;
line-height: 1.8;
color: #666;
}
/* 注釈 */
.strategy-note,
.flow-note {
font-size: 14px;
color: #999;
margin-top: 10px;
}
/* ベネフィット */
.ai-benefits {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
margin-bottom: 30px;
}
.benefit-item {
display: flex;
align-items: flex-start;
gap: 15px;
}
.benefit-icon {
font-size: 24px;
color: #06c755;
flex-shrink: 0;
}
.benefit-text {
font-size: 16px;
line-height: 1.6;
}
/* 権威付け */
.awards-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
}
.award-item {
text-align: center;
}
.award-wreath {
width: 150px;
height: 150px;
margin: 0 auto 20px;
background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
position: relative;
box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}
.award-title {
font-size: 18px;
font-weight: bold;
color: #333;
}
.award-description {
font-size: 14px;
color: #666;
line-height: 1.6;
}
/* フロー */
.usage-flow-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
}
/* 特別オファー */
.special-offer-card {
background: linear-gradient(135deg, #06c755 0%, #05a647 100%);
color: white;
padding: 40px;
border-radius: 15px;
text-align: center;
box-shadow: 0 10px 30px rgba(6, 199, 85, 0.3);
}
.special-offer-intro {
font-size: 24px;
font-weight: bold;
line-height: 1.5;
}
/* レスポンシブ */
@media (max-width: 768px) {
.hero-title {
font-size: 32px;
}
.features-container {
flex-direction: column;
align-items: center;
}
.footer-nav {
grid-template-columns: 1fr;
}
.ai-benefits,
.awards-content,
.usage-flow-content {
grid-template-columns: 1fr;
}
}
</style>
</head>
<body>
<header class="header">
<div class="logo">{{COMPANY_NAME}}</div>
<div class="header-icons">
<div class="icon">🔍</div>
<div class="icon"></div>
<div class="hamburger">
<span></span>
<span></span>
<span></span>
</div>
</div>
</header>
<!-- /.header -->
<!-- Hero Section -->
<section class="hero-section">
<div class="hero-container">
<h1 class="hero-title">{{HERO_MAIN_COPY}}</h1>
<div class="features">
<div class="features-container">{{HERO_FEATURES}}</div>
</div>
<div class="cta-section">
<p class="cta-subtitle">{{CTA_MICRO_COPY}}</p>
<button class="cta-button">{{CTA_BUTTON_TEXT}}</button>
</div>
</div>
</section>
<!-- /.hero-section -->
<!-- Content Sections Start -->
{{CONTENT_SECTIONS}}
<!-- Content Sections End -->
{{AUTHORITY_SECTION}}
<footer class="footer">
<div class="back-to-top">
<button onclick="scrollToTop()" aria-label="ページトップへ戻る">
<span>&#9650;</span>
</button>
</div>
<div class="footer-content">
<div class="social-icons">
<a href="#" aria-label="Facebook"
><div class="social-icon">f</div></a
>
<a href="#" aria-label="YouTube"
><div class="social-icon"></div></a
>
<a href="#" aria-label="LinkedIn"
><div class="social-icon">in</div></a
>
</div>
<div class="footer-nav">
<div class="footer-nav-item">
<a href="#" class="footer-nav-link"
>サービス <span class="arrow">&#10095;</span></a
>
</div>
<div class="footer-nav-item">
<a href="#" class="footer-nav-link"
>ナレッジ <span class="arrow">&#10095;</span></a
>
</div>
<div class="footer-nav-item">
<a href="#" class="footer-nav-link"
>イベント&セミナー <span class="arrow">&#10095;</span></a
>
</div>
<div class="footer-nav-item">
<a href="#" class="footer-nav-link"
>採用 <span class="arrow">&#10095;</span></a
>
</div>
<div class="footer-nav-item">
<a href="#" class="footer-nav-link"
>ニュース <span class="arrow">&#10095;</span></a
>
</div>
<div class="footer-nav-item">
<a href="#" class="footer-nav-link"
>サステナビリティ <span class="arrow">&#10095;</span></a
>
</div>
<div class="footer-nav-item">
<a href="#" class="footer-nav-link"
>会社情報 <span class="arrow">&#10095;</span></a
>
</div>
<div class="footer-nav-item">
<a href="#" class="footer-nav-link"
>お問い合わせ <span class="arrow">&#10095;</span></a
>
</div>
</div>
<div class="footer-links">
<a href="#" class="footer-link">サイトマップ</a>
<a href="#" class="footer-link">個人情報保護方針</a>
<a href="#" class="footer-link">特定個人情報基本方針</a>
<a href="#" class="footer-link">ご利用にあたって</a>
</div>
<div class="copyright">
Copyright© All Rights Reserved.
</div>
</div>
</footer>
<!-- /.footer -->
<script>
// js-プレフィックスによるイベント処理
// ハンバーガーメニューのアニメーション
document
.querySelector('.hamburger')
.addEventListener('click', function () {
this.classList.toggle('active');
const spans = this.querySelectorAll('span');
if (this.classList.contains('active')) {
spans[0].style.transform = 'rotate(45deg) translate(5px, 5px)';
spans[1].style.opacity = '0';
spans[2].style.transform = 'rotate(-45deg) translate(7px, -6px)';
} else {
spans[0].style.transform = 'none';
spans[1].style.opacity = '1';
spans[2].style.transform = 'none';
}
});
// ヒーロー画像の変更機能
function changeHeroImage(event) {
const file = event.target.files[0];
if (file) {
const reader = new FileReader();
reader.onload = function (e) {
document.getElementById('heroImage').src = e.target.result;
};
reader.readAsDataURL(file);
}
}
// スムーススクロール
document
.querySelector('.cta-button')
.addEventListener('click', function (e) {
e.preventDefault();
alert('お問い合わせフォームを開きます');
});
// ページトップへスクロール
function scrollToTop() {
window.scrollTo({
top: 0,
behavior: 'smooth',
});
}
// ページロード時のアニメーション(簡略版)
window.addEventListener('load', function () {
const animatedElements = document.querySelectorAll(
'.hero-title, .hero-image-frame, .feature-item',
);
animatedElements.forEach((element, index) => {
element.style.opacity = '0';
element.style.transform = 'translateY(30px)';
setTimeout(() => {
element.style.transition = 'all 0.8s ease';
element.style.opacity = '1';
element.style.transform = 'translateY(0)';
}, index * 200);
});
});
</script>
</body>
</html>