/*
 Theme Name: FFCC HP Jpn Theme ver.1.0
 Theme URI: 
 Author: Taiki Yamamoto
 Author URI: 
 Description: 福井自由キリスト教会のホームページ用の日本語テーマです！
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: ffcc-hp-jpn-theme
*/

@font-face {
    font-family: 'SmartFontUI';
    src: url('<?php echo get_template_directory_uri(); ?>/fonts/SmartFontUI.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
	font-family: 'Mamelon-3-Hi-Regular';
	src: url('<?php echo get_template_directory_uri(); ?>/fonts/Mamelon-3-Hi-Regular.otf') format('opentype');
	font-weight: normal;
    font-style: normal;
}

@font-face {
	font-family: 'Mamelon-4-Hi-Regular';
	src: url('<?php echo get_template_directory_uri(); ?>/fonts/Mamelon-4-Hi-Regular.otf') format('opentype');
	font-weight: normal;
    font-style: normal;
}

@font-face {
	font-family: 'Montserrat-Regular';
	src: url('<?php echo get_template_directory_uri(); ?>/fonts/Montserrat-Regular.ttf') format('truetype');
	font-weight: normal;
    font-style: normal;
}

html {
	font-size: 100%;
	height: 100%
}

* {
	box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

img {
	max-width: 100%;
	height: auto;
}


/* ヘッダーのスタイル */
header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
	display: flex; /* ロゴとnavを横並べ */
	width: 100%;
	height: 100px;
	padding: 0 2%;
	align-items: center;
	justify-content: space-between;
}


.web-title a {
	height: 80px;
	text-decoration: none;
	display: flex;
}


header nav {
	display: flex;
	align-items: center;
}


.header_navigation {
	margin: 0 0 0 auto;
}

nav a:hover {
	text-decoration: none;
}

nav ul {
	list-style-type: none;
	display: flex;
}

nav li {
	font-family: 'SmartFontUI';
	margin-left: 30px;
}

nav li a {
	text-decoration: none;
	color: black;
	transition : all 0.3s;
}

nav li a:hover {
	color: #A9D18E;
	transition : all 0.3s;
}

.online-button a {
	margin-left: 30px;
	width: 150px;
	height: 80px;
}

.online_button_img {
	transition: 0.3s;
}

.online_button_img:hover {
	opacity: 0.6;
	filter: brightness(110%);
	transition: 0.3s;
}


footer {
	position: sticky;
	top: 100vh;
	width: 100%;
	height: 100px;
    background-color: #2D2D2D;
	color: white;
}