@charset "utf-8";
/* CSS Document */

/* 全体の設定
–––––––––––––––––––––––––––––––––––––––––––––––––– */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{
    margin:0;
    padding:0;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f8f8f8;
    line-height: 1.6;
 }

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

a{
	text-decoration: none;
}

a:hover, .active{
	text-decoration: none;
}

ol,ul{
    list-style:none;
}

header {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
 }
header h1 {
    font-size: 2.5em;
    margin: 0;
    color: #D5451B;
    letter-spacing: 2px;
 }
header p {
    font-size: 1.1em;
    margin-top: 10px;
    color: #666;
 }



/* 共通の設定
================================================== */

img{
	max-width: 100%;
	height: auto;
}
section{
	clear:both;
}
.margin_bottom_50 {
  margin-bottom: 50px;
}



/*ヘッダー
================================================== */
.content {
    max-width: 700px;
    width: 100%;
    position: relative;
    margin: 0 auto;
    padding: 0 2rem;
}
.logo {
    width: 200px;
    margin: 10px auto 30px;
}
.row {
    display: flex;
    flex-direction: column;
    padding: 0;
    text-align: center;
}
.col {
    display: block;
    flex: 1 1 auto;
    margin-left: 0;
}
.header {
	display: flex;
    flex-direction: row;
    width: 100%;
    padding:0;
}
.header-box {
	margin-left: auto;
	margin-top: 8px;
}
.contact-button {
	padding: 1rem;
	border: 2px solid var(--base-color);
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 1rem 0 0 0;
}
nav li {
	flex: auto;
    font-size: 0.9rem;
}
nav li a {
    color: #000;
}
nav a:hover {
    background-color: var(--back-color);   
}
nav a {
    padding: 0.5rem;
}

@media only screen and (min-width: 766px) {
    
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}



/* ヒーローエリア
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.hero-image {
    max-width: 1300px;
    width: 100%;
    height: auto;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
 }
.hero-image h2{
    text-align: center;
    font-size: 2rem;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    padding-top: 30px;
 }

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
 }
.section {
    padding: 60px 0;
    background-color: #fff;
    margin-top: 20px;
 }
.section-title {
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
    position: relative;
 }
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: #D5451B;
    margin: 10px auto 0;
 }
.section-subtitle {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 80px;
    position: relative;
    letter-spacing: 10px;
 }
.intro-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1em;
    line-height: 35px;
 }
.feature-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 50px;
 }
.feature-item {
    flex-basis: calc(33% - 20px);
    text-align: center;
    padding: 20px;
 }
.feature-item h3{
    margin-bottom: 10px;
 }
.feature-item img {
    max-width: 250px;
    width:100%;
    margin-bottom: 15px;
 }
.product-grid {
    display: grid;
    width: 90%;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 0 auto;
 }
.product-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
    transition: box-shadow 0.3s;
 }
.product-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
 }
.product-card img {
    width: 100%;
    object-fit: cover;
 }
.product-info {
    padding: 15px;
 }
.product-info h3 {
    margin: 0 0 10px;
    font-size: 0.9em;
 }
.product-info p {
    margin: 0;
    color: #888;
 }
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #D5451B;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s;
 }
.cta-button:hover {
    background-color: #9F5255;
 }


    


/* PCのみ
================================================== */

@media(max-width:788px){
.pc{
    display: none !important;
}
}
    
/* SPのみ
================================================== */

@media(min-width:789px){
.sp{
    display: none !important;
}
}



/* ここからスマホ用 */

/*ヘッダー
================================================== */
@media only screen and (max-width: 768px){
.content {
    position: relative;
    max-width: 670px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}
.row {
    display: flex;
    flex-direction: row;
    width: 100%;
}
.logo {
    width: 150px;
    margin: 0;
} 
.col {
    width: 100%;
    margin:0;
} 
.header {
	flex-direction: column;
}
.header #open,#close  {
    position: absolute;
    top: 0;
    right: 0;
}
nav ul {
	flex-direction: column;
    margin-top: 20px;
}
nav li {
	flex: 1 0 auto;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 20px;
}
nav li a {
    width: 100%;
    text-decoration: none;
    text-align: center;
}
nav a {
    padding: 0.5rem;
}
nav a:hover {
    background-color: var(--back-color);   
}
#open {
    display: block;
    background:url("../images/button.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
}
#close  {
    display: block;
    background:url("../images/button2.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
}

#navi {
    display: none;
}
    
    
/* ヒーローエリア
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.hero-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
 }
.hero-image h2{
    text-align: center;
    font-size: 1.8rem;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    padding-top: 30px;
 }

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
 }
.section {
    padding: 60px 0;
    background-color: #fff;
    margin-top: 20px;
 }
.section-title {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 40px;
    position: relative;
 }
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: #D5451B;
    margin: 10px auto 0;
 }
.section-subtitle {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 80px;
    position: relative;
    letter-spacing: 10px;
 }
.intro-text {
    text-align: left;
    max-width: 700px;
    font-size: 0.9em;
    margin: 0 auto 40px;
    padding: 0 30px;
    line-height: 25px;
 }
.feature-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin-top: 50px;
 }
.feature-item {
    flex-basis: calc(33% - 20px);
    padding: 5px;
 }
.feature-item img {
    width:150px;
    margin-bottom: 15px;
 }
.feature-item h3{
    text-align: center;
    font-size: 1.1em;
    margin: 0 auto 10px;
 }
.feature-item p{
    text-align: left;
    font-size: 0.9em;
    margin: 0 auto;
 }
.product-grid {
    display: grid;
    width: 90%;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 0 auto;
 }
.product-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
    transition: box-shadow 0.3s;
 }
.product-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
 }
.product-card img {
    width: 100%;
    object-fit: cover;
 }
.product-info {
    padding: 15px;
 }
.product-info h3 {
    margin: 0 0 10px;
    font-size: 0.9em;
 }
.product-info p {
    margin: 0;
    color: #888;
 }
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #D5451B;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s;
 }
.cta-button:hover {
    background-color: #9F5255;
 }
}