html, body, div, span, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,abbr, address, cite, code,del, dfn, em, img, ins, kbd, q, samp,small, strong, sub, sup, var,b, i,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, figcaption, figure,footer, header, hgroup, menu, nav, section, summary,time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
    box-sizing: border-box;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
    color: black;
    text-decoration: none;
}

ul {
	padding: 20px;
}

.pc {
	display: block;
}

.tb, .sp {
	display: none;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}
body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    width: 100%;
}

img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wrap{
    letter-spacing: .05em;
    color: #333;
    overflow: hidden;
}

header {
    width: 100%;
    margin: auto;
    position: fixed;
    top: 0;
    background-color: #fff;
    box-shadow: 0 5px 10px -6px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    height: 80px
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
}
.container .top-logo{
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
    margin-right: 20px;
}
header ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    align-items: center;	
}
header a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}
.toggle-menu {
    display: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #FFFFDD;
    text-align: center;
    z-index: 9999;
}

.toggle-menu li {
    padding: 15px 0;
}

.toggle-menu a {
    text-decoration: none;
    color: #000;
    font-size: 1.2rem;
}
.menu-button {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.menu-bar {
    display: block;
    width: 30px;
    height: 3px;
    background-color:black;
    margin-bottom: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
#top-wrapper {
    width: 100%;
    margin: auto;
    position: relative;
}
#top-wrapper div {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 85vh;
    text-align: center;
    background-image: url("https://tk-webpage.com/wp-content/themes/case_1/images/top.jpg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.menu-section {
    margin: 20px auto;
    padding: 60px 20px;
}
.menu-title{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin-bottom: 40px;
    line-height: 1.4;
}
.card-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: auto;
}
.menu-card {
    flex: 1 1 300px;
    max-width: 320px;
    min-width: 250px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 24px 20px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.menu-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.menu-card .session-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 16px;
}
.menu-card p {
    font-size: 0.95rem;
    line-height: 1.4;
}
.blog-section {
    padding: 80px 20px;
    background-color: #fff;
    text-align: center;
}

.blog-title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin-bottom: 40px;
    line-height: 1.4;
}

.blog-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-card {
    width: 30%;
	position: relative;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: #333;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.blog-card h3 {
    font-size: 1rem;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-align: left;
    line-height: 24px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.blog-card img.session-img {
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    border-radius: 12px 12px 0 0;
    object-fit: cover;
}

.blog-card .post-date {
	font-size: 0.8rem;
    line-height: 1.5;
    bottom: 10px;
    right: 10px;
}

.blog-card .post-category {
    font-size: 0.95rem;
    line-height: 1.5;
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 3px;
    background-color: #fbee47;
}
#about-wrapper {
    width: 100%;
    background-color: #fbee47;
    padding: 90px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#about-wrapper .container {
    margin: 0 auto;
    max-width: 900px;
}
#about-wrapper h1 {
    text-align: center;
    font-size: 2rem;
    color: #333;
}
.about-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 0 auto 40px 0;
	flex-wrap: wrap;  
}

.about-img {
    max-width: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 160px;
    height: 160px;
    border-radius: 50%;
}
.about-text {
    flex: 1;
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    padding-top: 10px;
}
.about-text p {
    margin-bottom: 1.5em;
}

.footer {
    background-color: #333;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
}
.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.footer-text {
    margin: 0;
    font-size: 0.9rem;
}
.sns-links {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
}
.sns-icon img {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}
.sns-icon{
	display:flex;
	justify-content:center;
	align-items:center;
}
.sns-icon p{
	color:white;
}
.sns-icon:hover p{
	opacity:0.5;
}
.sns-icon:hover img{
    transform: scale(1.2);
}

/* Norton AutoFill の余計な枠非表示 */
#norton-idsafe-field-styling-divId {
    display: none;
}

/* lazy block */
.img-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px; /* 画像の間隔 */
}

/* デフォルトは複数用（2列） */
.img-gallery img {
  flex: 1 1 calc(50% - 16px);
  max-width: calc(50% - 16px);
  height: auto;
}

.single img {
	max-width: calc(70%);
}

.single-works {
	padding: 10px;
}

.single-works h1 {
	font-size: 32px;
    font-weight: 600;
    line-height: 60px;
	margin: 80px 0 40px;
}

.single-works p {
	    line-height: 30px;
	margin-bottom: 30px;
}


/*過去の実績一覧*/
.works-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.works-item {
    color: rgb(51, 51, 51);
}

.works-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 5px !important;
}

.works-item h3 {
	font-size: 16px;
	    margin: 16px 0 10px;
}

.works-item p {
	font-size: 14px;
	line-height: 20px;
}

.img-text-item {
	margin-bottom: 80px;
}


/*ヘッダーメニュー*/
.submenu {
display: none;
  position: absolute;
  left: -80px;
  list-style: none;
  margin: 0;
  z-index: 1000;
  width: 240px;
  padding: 20px;
  line-height: 30px;
  background: #FFFFDD;
}

.has-submenu {
  position: relative;
}

.submenu li {
  padding: 8px 16px;
  white-space: nowrap;
}

.submenu li a {
  color: #333;
  text-decoration: none;
}

.contact-btn {
	background: #FBEE47;
    padding: 10px 15px;
    border-radius: 30px;
}

span.marker {
    background: linear-gradient(transparent 50%, #fbee47 50%);
}

.note-post {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media screen and (max-width: 1020px) {	
	.blog-card {
		width: 47%;
	}
}

@media screen and (max-width: 768px) {	
	.pc {
	display: none;
}
	
	.tb {
	display: block;
}
	
.single-works h1 {
font-size: 24px;
        line-height: 40px;
	margin: 60px 0 40px;
}
	
	.achievements-title {
        font-size: 24px;
        line-height: 40px;
    }

    .nav-links{
        display: none;
    }
    .menu-button {
        display: flex;
        z-index: 1000;
    }
    .toggle-menu {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 20px;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 80vh;
        padding-top: 84px;
        transition: right 0.4s ease-in-out;
    }
    .toggle-menu.show {
        right: 0;  /* 右からスライドダウン */
        z-index: 800;
    }
    .menu-button.open .menu-bar:nth-child(1) {
        top: 10px;
        transform: translateY(6px) rotate(-40deg);
    }
    .menu-button.open .menu-bar:nth-child(2) {
        /*真ん中の線を消す*/
        opacity: 0;
    }
    .menu-button.open .menu-bar:nth-child(3) {
        /*下の線を左斜めにする*/
        top: 22px;
        transform: translateY(-6px) rotate(41deg);
    }
    #top-wrapper div {
        height: 75vh;
    }
    .menu-section,.blog-section{
        margin: 0 auto;
    }
    .menu-title{
        font-size: 1.5rem;
    }
    .card-container{
        gap: 70px;
    }

    #about-wrapper h1{
        font-size: 1.5rem;
    }
	
	.blog-card h3 {
		font-size: 14px;
	}
	
.post-date {
	font-size: 0.6rem;
}
	.blog-container {
    gap: 20px;
}
	
	
.works-item h3 {
	font-size: 14px;
}

.works-item p,
	.sns-icon p{
	font-size: 12px;
}
	
	.works-list {
    grid-template-columns: repeat(2, 1fr);
}
	
	.img-gallery {
  flex-direction: column;
}

.img-gallery img {
  width: 100%;
  height: auto;
}
	
.img-gallery img {
    max-width: calc(100% - 16px);
}

.single img {
	max-width: calc(100%);
}
	
	.submenu {
  background: #fff;
}

}

@media screen and (max-width: 500px) {
	.tb {
	display: none;
}
	
	.sp {
	display: block;
}
		
	.note-post {
		padding: 10px;
	}
	
	    .blog-container {
        gap: 14px;
    }
	
}


/* 過去実績のページネーション */
.pagination {
  text-align: center;
  margin: 30px 0;
}
.pagination a,
.pagination span {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 4px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
}
.pagination .current {
  background: #FBEE47;
  color: #333;
  border-color: #FBEE47;
}
.pagination a:hover {
  background: #f0f0f0;
}


